can't run example using cudanet

I try to run the example from neon page using cudanet:
neon --gpu cudanet examples/convnet/i1k-alexnet-fp32.yaml
I have no problems with cuda in other frameworks (e.g., Torch) but here I get a following error :
WARNING:neon.util.persist:deserializing object from:  examples/convnet/i1k-alexnet-fp32.yaml
WARNING:neon.datasets.imageset:Imageset initialized with dtype <type 'numpy.float32'>
2015-08-17 13:42:37,419 WARNING:neon - setting log level to: 20
Traceback (most recent call last):
File "/opt/anaconda/bin/neon", line 235, in
experiment, result, status = main()
File "/opt/anaconda/bin/neon", line 197, in main
device_id=args.device_id)
File "/opt/anaconda/lib/python2.7/site-packages/neon/backends/init.py", line 99, in gen_backend
raise RuntimeError("cudanet not found, can't run via GPU")
RuntimeError: cudanet not found, can't run via GPU
Could you be so kind to help me using your framework?

Did you see any warnings/issues when cc2 was installed?  Did you build it as part of neon, or separately?
One thing that may confirm whether the install was correct, or at least provide more info would be to run:
python
import cudanet

you need to make sure this works before you'll be able to run neon with this backend.

I used cuda-convnet2 from this repo: https://github.com/NervanaSystems/cuda-convnet2
I had no errors on building.
Import does not work in if I use "python"
import cudanet
ImportError: No module named cudanet
I tried to clarify the reason and I found out that importing is OK, if I use "python3" (my default python is 2.7 as I use Anaconda).
So, what about using neon with cudanet and python 2.7? Is it possible?

Yes python2.7 is definitely possible. It sounds like the cudanet backend was installed under python3 though if the import works there.
If you run: python --version
What does that show?  Also does it point to your anaconda Python?

Sorry for giving you not enough information before. I have checked python version is 2.7.10. and it point to my anaconda install. Moreover, my $PYTHONPATH variable is empty. So it seemed to me like a problem on your side.

Just so I'm clear, typing the following does not work:
python
import cudanet

but the following does:
python3
import cudanet

If this is correct, could you print the output from each of the following sequences of commands:

which python

/usr/bin/env python --version

python3
import cudanet
cudanet.__file__

Actually,  import does not work in python3 as well.
Previously, I have run this commands in cuda-convnet2 build folder. And it seems like python3 can import a folder not the module (but not python2).
So, the output you asked is:

which python: /opt/anaconda/bin/python

/usr/bin/env python --version: /Python 2.7.10 :: Anaconda 2.1.0 (64-bit)

python3
import cudanet
cudanet.file:
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'file'

If I run python3 and import cudanet in the folder which does not contain cudanet subfolder it outputs same as python2: ImportError: No module named 'cudanet'

Ok, that seems more realistic, so you must have had problems building cuda convnet2.  In that case, first make sure you have all the dependencies listed here: https://code.google.com/p/cuda-convnet2/wiki/Compiling
Then try following the cmake based compilation instructions described in README.md and let us know the output from the cmake and make install calls (the latter may require sudo on Linux).

It seems I have all the dependencies and I found nothing special in outputs listed below.
Here is a cmake output:
cmake ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /usr/local/cuda (found version "7.0")
-- Found PythonInterp: /opt/anaconda/bin/python (found version "2.7.10")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2.7")
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- Checking for [mkl - guide - pthread]
-- Checking for [mkl - guide - pthread] -- includes not found
-- Checking for [mkl_ia32 - guide - pthread]
-- Checking for [mkl_ia32 - guide - pthread] -- includes not found
-- Checking for [mkl_em64t - guide - pthread]
-- Checking for [mkl_em64t - guide - pthread] -- includes not found
-- Checking for [cblas - f77blas - atlas]
-- Checking for [cblas - f77blas - atlas] -- includes found
-- Looking for cblas_dgemm
-- Looking for cblas_dgemm - found
-- Checking for [cblas - f77blas - atlas] -- libraries found
-- CBLAS library found
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/cuda-convnet2/build
And sudo make install
Scanning dependencies of target cconv2_utilpy
[  3%] Building CXX object util/CMakeFiles/cconv2_utilpy.dir/src/matrix.cpp.o
Linking CXX shared library libcconv2_utilpy.so
[  3%] Built target cconv2_utilpy
[  7%] Building NVCC (Device) object nvmatrix/CMakeFiles/cconv2_nvmatrix.dir/src/./cconv2_nvmatrix_generated_nvmatrix_kernels.cu.o
[ 11%] Building NVCC (Device) object nvmatrix/CMakeFiles/cconv2_nvmatrix.dir/src/./cconv2_nvmatrix_generated_memory.cu.o
[ 14%] Building NVCC (Device) object nvmatrix/CMakeFiles/cconv2_nvmatrix.dir/src/./cconv2_nvmatrix_generated_nvmatrix.cu.o
Scanning dependencies of target cconv2_nvmatrix
Linking CXX shared library libcconv2_nvmatrix.so
[ 14%] Built target cconv2_nvmatrix
[ 18%] Building NVCC (Device) object cudaconv3/CMakeFiles/cconv2_cudaconv.dir/src/./cconv2_cudaconv_generated_weight_acts.cu.o
[ 22%] Building NVCC (Device) object cudaconv3/CMakeFiles/cconv2_cudaconv.dir/src/./cconv2_cudaconv_generated_conv_util.cu.o
[ 25%] Building NVCC (Device) object cudaconv3/CMakeFiles/cconv2_cudaconv.dir/src/./cconv2_cudaconv_generated_filter_acts.cu.o
[ 29%] Building NVCC (Device) object cudaconv3/CMakeFiles/cconv2_cudaconv.dir/src/./cconv2_cudaconv_generated_img_acts.cu.o
Scanning dependencies of target cconv2_cudaconv
Linking CXX shared library libcconv2_cudaconv.so
[ 29%] Built target cconv2_cudaconv
[ 33%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_util.cu.o
[ 37%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_actbroadcaster.cu.o
[ 40%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_data.cu.o
[ 44%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_layer_kernels.cu.o
[ 48%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_pyconvnet.cu.o
[ 51%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_weights.cu.o
[ 55%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_convnet.cu.o
[ 59%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_gradreducer.cu.o
[ 62%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_lr.cu.o
[ 66%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_reducepipeline.cu.o
[ 70%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_worker.cu.o
[ 74%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_copypipeline.cu.o
[ 77%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_memorysource.cu.o
[ 81%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_streambroadcast.cu.o
[ 85%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_cost.cu.o
[ 88%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_layer.cu.o
[ 92%] Building NVCC (Device) object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/./cconv2_ConvNet_generated_neuron.cu.o
Scanning dependencies of target cconv2_ConvNet
[ 96%] Building CXX object cudaconvnet/CMakeFiles/cconv2_ConvNet.dir/src/jpeg.cpp.o
Linking CXX shared library libcconv2_ConvNet.so
[ 96%] Built target cconv2_ConvNet
[100%] Building NVCC (Device) object cudanet/CMakeFiles/cconv2_cudanet.dir/src/./cconv2_cudanet_generated_cudanetmat.cu.o
Scanning dependencies of target cconv2_cudanet
Linking CXX shared library libcconv2_cudanet.so
[100%] Built target cconv2_cudanet
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libcconv2_utilpy.so
-- Installing: /usr/local/lib/libcconv2_nvmatrix.so
-- Removed runtime path from "/usr/local/lib/libcconv2_nvmatrix.so"
-- Installing: /usr/local/lib/libcconv2_cudaconv.so
-- Removed runtime path from "/usr/local/lib/libcconv2_cudaconv.so"
-- Installing: /usr/local/lib/libcconv2_ConvNet.so
-- Removed runtime path from "/usr/local/lib/libcconv2_ConvNet.so"
-- Installing: /usr/local/lib/libcconv2_cudanet.so
-- Removed runtime path from "/usr/local/lib/libcconv2_cudanet.so"

Ahh, so it's been a while since I've looked at the CC2 code, and the installation instructions in the README.md only cover the construction of the shared object libraries (that you successfully built into /usr/local/lib).  To get the python stuff in, you actually need to run one of the following:
If you have pip available in your anaconda distribution (may require a conda install pip first), you should be able to just go to the top-level checked out directory and issue:
sudo pip install .

Alternatively, the following should work too:
sudo python setup.py install

Sorry for not catching that earlier!  Give one of the above a go and let me know how you get on.

Thank you! It seems to work now but I had to downgrade to 0.8.2.


Actions (including accelerators) on files should be consistent between context menu in editor and context menu in solution explorer

For example:
Positive example:

I can right-click on a .R file in the editor and Source it. I can also right-click on a .R file in solution explorer and source it.

Negative example:

I can right click on a .rmd file in the editor and preview it as HTML or a .DOC. However, I cannot do the same thing by right-clicking on the .rmd file in solution explorer.

The keyboard accelerator for sourcing a file in the editor is CTRL+SHIFT+S. The keyboard accelerator for sourcing a file in solution explorer is CTRL+ALT+G.

Because Ctrl+Shift+S is 'Save All' in VS and Solution Explorer. Unfortunately, we cannot take over random globally defined shortcuts.

We can take over when editor is active (i.e. editor context) but not everywhere.


Spec: app-platform-operator (that manages per WC app-operators)

Wed, 28. Apr 2021 update from Ross:
We had a sync call between Batman and Ludacris earlier. 2 decisions coming from that.
The Release Channels part of this spec needs more discussion. I will create a fresh PR for this.
We will create a new "cluster-apps-operator" for managing workload cluster apps to replace cluster-operator.
See https://github.com/giantswarm/giantswarm/issues/16899
SIG Product will decide which team should implement.
I'm going to close this. Thanks for all the feedback. ❤

[ ] get SE feedback when preparing spec

Problem
Currently, the Resource for appcatalog, appcatalogEntry is located inside the app-operator.
Even though we only need this appCatalogEntry logic for control-plane apps, it's also running inside all recent app-operator pods for workload clusters as well. (e.g. app-operator-2-6-0 pod for AWS platform release 12.5.1)
We have two different controllers in app-operator (app, app catalog) but their concerns are totally different. Moreover, app-operator consumes lots of resources but we are not sure which controller uses much of that.
Solution
To make a unique app where we have appCatalog logic and to slim down the burden of the app-operator, I would like to propose the new appcatalog-operator.

@piontec Can you post your opinion on this issue?

Let's put it on hold until we resolve per-TC app-operator

As discussed in cycle planning, repurposed and renamed this issue.

As discussed in cycle planning, repurposed and renamed this issue.

@rossf7 will write down what he discussed w @piontec

@rossf7 will write down what he discussed w @piontec

@rossf7 has a half written PR.

Spec PR is ready for review https://github.com/giantswarm/giantswarm/pull/15630 and now also covers replacing the app related logic in cluster-operator.
After the Hive sprint the only logic left is related to managing apps. See https://github.com/giantswarm/cluster-operator/pull/1357
After discussion with @JosephSalisbury @kubasobon and @MarcelMue our preferred option is Batman moves this logic to app-platform-operator and we retire cluster-operator once its no longer used.
One issue is in cluster-operator we use the master branch for AWS but still need to support the legacy branch for Azure and KVM. This code is very old and means we need to repeat every change twice.
So it would be best not to merge the CAPI changes into master and use a feature branch in cluster-operator until app-platform-operator is ready. @JosephSalisbury @kubasobon Is that still OK?
cc @cokiengchiara @piontec @tomahawk28

Makes sense. The plan was not to merge the branch for now, but create one or more experimental releases from it. It can become a starting point for a new app-platform-operator repository somewhere along the way.

Great thanks @kubasobon and yes we'll definitely use the branch as the starting point for the new operator.

@rossf7 are these the next steps? :)

[ ] Create fresh PR for the Release Channels part of the spec (needs more discussion)
[ ] Create a new "cluster-apps-operator" for managing workload cluster apps to replace cluster-operator.
See #16899

Create a new "cluster-apps-operator" for managing workload cluster apps to replace cluster-operator.

This is nearly done. Just needs a new app-operator release. It's tracked in https://github.com/giantswarm/roadmap/issues/320

Create fresh PR for the Release Channels part of the spec (needs more discussion)

I don't want to continue with the Release Channels spec at this time. We don't have resource to work on it and it feels "far future" to me.


Support primitive view holder constructor parameters

This requires explicitly checking for constructor parameters
being primitive and converting the primitive class type to the
non-primitive class type before checking if it is assignable from
the type given to the factory method

Yep, makes sense- this change allows us to use the ReflectiveHolderFactory for ViewHolders that use primitives as arguments in their constructors. Thanks!


PaaS script should start dockerized Spark master + slave nodes

Done - https://rhiot.gitbooks.io/rhiotdocumentation/content/cloudplatform/paas.html .


If CPI can't be retrieved, the oracle crashes

 Authored by dependabot[bot]
Aug 28, 2023

Superseded by #9.


dataset download

Thanks for your work, I opened the dataset OneDrive link and could not display the page. Is there any other way to download the dataset please.

we have uploaded the dataset to https://onedrive.live.com/?authkey=!ANsGyoc5unMUeoI&id=A6517D3A92CD1536!110&cid=A6517D3A92CD1536
and https://pan.baidu.com/s/1Fz0KDpgp-_33BN8XTyQlBQ?pwd=5jny
Please check it, and thanks for your attention.

we have uploaded the dataset to https://onedrive.live.com/?authkey=!ANsGyoc5unMUeoI&id=A6517D3A92CD1536!110&cid=A6517D3A92CD1536 and https://pan.baidu.com/s/1Fz0KDpgp-_33BN8XTyQlBQ?pwd=5jny Please check it, and thanks for your attention.
Thanks for your reply, unfortunately I still can't access the OneDrive link for the dataset even though I've used a VPN. could it be shared with BaiduNetDisk?


Migration to change column type

I have a column
TextColumn get metric => text().nullable()();
that i want to convert to a foreign key column
IntColumn get metric =>
integer().nullable().customConstraint('NULL REFERENCES metrics(id)')();
@simolus3 how do I write a migration for this?

Unfortunately, sqlite does not provide a builtin mechanism for this that moor could expose. If you don't have triggers, views or indexes on the table, a simple way to alter it is to:

rename the old table
re-create your table
use an INSERT INTO SELECT to copy over existing data

In a migration, that could look like this:
onUprade: (Migrator m, int from, int to) async {
  if (conditionForMigration) {
    await customStatement('ALTER TABLE ${yourTable.actualTableName} RENAME TO tmp_old_table');
    await m.createTable(yourTable);
    await customStatement('''
      INSERT INTO ${yourTable.actualTableName} (first_column, second_column, metric, ...)
      SELECT first_column, second_column, CAST(metric AS INT), ... FROM tmp_old_table
   ''');
    await customStatement('DROP TABLE tmp_old_table');
  }
}

I'll add a method to the Migrator that will run the general 12-step change with an api that's easier to use.

In the next moor version, you will be able to just use
if (conditionForMigration) {
  await m.alterTable(TableMigration(
    yourTable,
    columnTransformer: {
      yourTable.metric: yourTable.metric.cast<int>(),
    },
  ));
}


[WIP] PT#139486261 - Update angular patternfly

https://www.pivotaltracker.com/story/show/139486261
PT outlines the progress, throwing up a wip for 👀

Ok mildly bad news, kinda blocked by a bug atm, documented here working on work arounds...

Never mind the above, we're good https://github.com/patternfly/angular-patternfly/pull/479

I'm pulling off wip on this... reasonably satisfied it'll go the distance... but will likely require a little bit of merge work once https://github.com/ManageIQ/manageiq-ui-service/pull/792 makes it in

@himdel @h-kataria would love some feedback, if you have a minute.
/cc @dclarizio @chessbyte @Fryguy

Working on getting some gif's up of minor visual changes brought by pf4

@serenamarie125 for your review

@Loicavenel FYSA

Related to this pr... I made this over here... https://github.com/patternfly/angular-patternfly/pull/481/files

From what i see, this looks great visually - thanks for doing this :)
I'm cc'ing @jeff-phillips-18 so he can take a look as well

@serenamarie125 not a problem! :)


Refactor the ABI Coder package

This issue should act as the epic with other issues spun off from here.
The goals of this refactor are to:

Reduce the coder touch points number of specific coder classes
Decouple encode / decode and length validation logic
Introduce a more functional approach (especially including any functionality covered by private methods)
Improve error handling eminating from coders to enable #1552
Rethink the public entry points for ABI Coder
Complete E2E testing for all supported types (could be based on #2466)
Deprecate JsonAbiOld
Deprecate UtxoIdCoder

If changes happen to coders so that they don't return the offset value anymore, we should also update the Interface.decodeLog and Interface.decodeFunctionResult methods accordingly. See #2514.

Closing in favor of:

https://github.com/FuelLabs/fuels-ts/issues/3031


Fix #3365

Information about radicals wasn't being passed to the InChI code correctly since it uses the MDL representation
This resolves that by being explicit about the number of implicit Hs on atoms that have radicals instead.

Will rdkit 3000 change the meaning of implicit hydrogens? :)

Will rdkit 3000 change the meaning of implicit hydrogens? :)

perhaps, but since this concerns the number of implicit hs from InChI's perspective that happily won't matter ;-)


Assets not published

Hi,
Looks like this version has the same issue as the other nova trumbowyg implementation, the fonts are expected to be in /fonts/vendor however they dont get published there and whatever the step is to do so is not in the readme.
Could you provide some info / update the readme with info on how you do this?
As an asside, the readme is also missing a note that you need to add a use statement (easy to miss if you're using an ide like phpstorm which adds them automatically).

The fonts SVG is in the dist/img folder and are loaded using the API to load the styles in src/FieldServiceProvider.php:20, this is intended for load CSS files but for me works for the images (hope they add a native way to add images)
Wondering if this is causing issues in your case, did you receive some kind of 404 in the requests?


Pr from fork/956

Codecov Report

Merging #958 (769111e) into develop (6b8c563) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #958      +/-   ##
===========================================
- Coverage    89.23%   89.22%   -0.01%
===========================================
  Files          141      141
  Lines        10554    10555       +1
===========================================
  Hits          9418     9418
- Misses        1136     1137       +1

Impacted Files
Coverage Δ

src/serac/infrastructure/input.cpp
81.41% <0.00%> (-0.53%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Refactoring AIProvider and handling errors

This PR is to prepare adding new providers, see https://github.com/jupyterlite/jupyterlab-codestral/issues/13#issuecomment-2456729648 for context.
Changes

The chat and completer providers are created every time a setting change, since some of them are not updating the config after init.
The AIProvider is embedded in the chat handler
If there is an error in the settings of the chat provider or while sending a message, the error message is displayed as a chat message.
We may want a better way to display errors (notification, header in the chat...).

We may want a better way to display errors (notification, header in the chat...).

AFAIK, the current implementation of the settings panel does not allow custom validator.
The only way I can see to display a warning / error message in the settings panel is to add it in the DOM directly.


How can rotate token on the beacon url  ?

In Physical web FAQ your are talking  about a rotating token on the beacon would constantly alter the URL.
Can someone explain to me how it's work ? can I use that with url shortener in my code ?
thank you very much

I rotating URL requires a custom beacon image. Nearly all beacons today just broadcast a fixed URL.

Ok thank you and where can we find doc or manufacturer about that ?
many thanks !

You can use uriio.com to create "rotating" (actually random) beacon URLs that redirect to your site. But to actually update an Eddystone beacon every time the URL "rotates", my guess is that you either:
a) need some support from the beacon manufacturer,
and/or
b) leave the beacon always connectable and use Eddystone-GATT to reconfigure it from a nearby control point.
For offline "URL rotations" you would need to come up with your own strategy and beacon firmware, similar to how EID works.

I agree with @adriancretu 's answer wrt doing everything through a server. If you'd like to have the beacon itself rotate the value, there are no beacon makers I know of that do that.

If you check those examples on physical website :
Restaurant buzzer, parking meter....
If I well understand, once someone get the url of the parking, or the restaurant and move away, he can continue to play with those services even if he not in the region of the beacon any more?
I'm looking hard to find out a solution to avoid this problem
google nearby notification
evothings with cordova beacons plugins
pyh.net
web-bluetooth...
but I still don't have find the good way,
I appreciate, if someone can help me...many thanks

Yes, WebBluetooth is the best way to solve this issue as you can connect to the beacon (or even just detect it) and only proceed if visible.
If you are working on much bigger scale, like a concert, you can use the location API to make sure you're nearby. That's clearly not perfect but it's quick and easy and effective.

Many many thanks for your answer ;)
Finally I won't touch url, no rotation token any more...
Can I use webBluetooth to get on demande EID emit from my beacon ? then send it (EID) to google proximity api, and check if match ?
if yes,
do you know, where can I find a demo, or example nearly similar, to show me how to do that ?
Thanks very much, I appreciate your help ! Have a good day ;)

At this time no. You can only open the web page from the URL coming from the beacon.

to be more clear, my webpage will be in free access through URL, no worry about  that
But I won't permit any change in my database with firebase auth and rules.
In order to give credential to token to my user, I just need to know if this one is close to my beacon when is calling my webpage.
And in my backend, I can reset this token by click, after that, the user must to move again to beacon to get a new token.
Webbluetooth seems to read/write any gatt informations, it's no possible to get EID to generate my own credential token ?

The approach we will take with our Beeem (https://beeem.co) platform for this problem is to geofence the rendering of the page to a specific store location. We'll have a feature update for this in a few months time.

No, the EID doesn't work that way. Eddystone-URL beacons broadcast just a URL. You can make your own version of a beacon that rotates a token (as some beacon makers already do, BKON is an example of this) or you can use Geo Locoation (as Beeem will apparently soon do).
We are close to releasing an Eddystone beacon image written in mbed and open source. It is fully compliant with all 4 frame types and should run on a variety of mbed capable beacons. If you feel energetic, you could use that to roll you own beacon type.
EID broadcasts a UUID that cryptographically rotates, that means you can't know how it's gong to rotate (or it would be useless) Even if you attached a URL to that EID using the Android Beacon API, you can't connect to that beacon as it doesn't follow the format needed by WebBluetooth (that requires a NAME parameter for you to select it at the moment)
This restriction with WebBluetooth may change in the future, it's just not possible right now.

Unless you have a follow up question, I'll close this for now


bugfix: asset type field name in couchdb index def

field name should be 'objectType'

@rijulaggarwal16 FYI this has been fixed now.


Fix patterns for revision collection names.

Patterns used to match spec and deployment revision collections were breaking changes that I was testing for #896. Here's the fix in a standalone PR.

@seaneganx thanks for the review - I'll proceed but @theganyo PTAL


ipw.estimate_population_outcome(Data_X, Data_a, Data_y) has some error.

Hello.
I want to check the causal effect.
My code is
from causallib.estimation import IPW
from sklearn.linear_model import LogisticRegression

learner = LogisticRegression(penalty="l1", C= 1, max_iter=500, solver='liblinear')
ipw = IPW(learner)
ipw.fit(Data_X, Data_a)
potential_outcomes = ipw.estimate_population_outcome(Data_X, Data_a, Data_y)
causal_effect = ipw.estimate_effect(potential_outcomes[1], potential_outcomes[0])
causal_effect

until ipw.fit(Data_X, Data_a), there is no problem.
But when I apply
potential_outcomes = ipw.estimate_population_outcome(Data_X, Data_a, Data_y)
there is an error "### /root/miniforge3/envs/python_3_9/lib/python3.9/site-packages/numpy/lib/function_base.py:550: RuntimeWarning: invalid value encountered in double_scalars
avg = np.multiply(a, wgt,"
and I check the ipw.compute_weights.
w = ipw.compute_weights(Data_X, Data_a)
This code doesn't have an error, but the values of w are all NaN.
0        NaN
1        NaN
2        NaN
3        NaN
4        NaN
..
What is the problem?

Hi, thanks for raising this question.
The code looks ok, so my guess is that there is some problem with the data and/or modeling. The error you're getting is probably due to the IP-weights being NaNs. In turn, this could result because you have very extreme propensity scores (close to 0 or 1), so when you take their inverse you essentially divide by zero - for which Numpy returns a nan.
So first thing I would do is to see if your data is too separable, resulting in extreme probabilities to be treated. Note that if that's the case you might have a positivity/overlap violation, that might render your resulted associations not causal.
You can use causallib's evaluation tools for that:
from causallib.evaluation import evaluate
ipw_evaluation = evaluate(ipw, Data_X, Data_a, Data_y)
ipw_evaluation.plot_weight_distribution()

Alternatively, if you are confident in your data, you can probably solve the extreme weights by clipping/trimming the propensity scores.
You can do that by adding, for example, IPW(learner, clip_min=0.001, clip_max=0.999).
Note that if you'll also add verbose=True, you'll get a print saying the proportion of observations that were clipped. Keep an eye on that. Ideally, this number should be low - the larger it is the more observations are affected by the caliper value and not their model-estimated probability, and if you clip too many of your dataset than your actual modeling (here LASSO) has less of an impact.

I'll take this nonresponsiveness as a good sign :-)
I'm doing some housekeeping so I'm closing this issue for now.
Feel free to re-open if needed.


Nested Form not visible in Edit Page

Hi Nathan,
I am having a Parent form but and one child form.
TemplateCode => Parent Form.
ChildTemplate => ChileForm.(This is a nested form which belongs to Parent Form)
Issue is while save record with no data in ChildTemplate, form is not getting displayed under edit page as it gets displayed in New Page.
So i just want a blank data to be appeared for ChildTemplate form when there is no data in ChildTemplate form so that user can enter records in edit mode.
Please Help.

Hi @apjanvekar, this is a good introduction, but very vague for me to help you find an error.
I do not understand the relations or the explicit behaviour that fails or is wanted.
Please show me the

actual associations and accepts_nested_attributes_for statements (check do you have a reject_if: :all_blank option?)
do you have relevant validations? that would block saving?
the views: do you correctly iterate over the associations

I am assuming you have an empty form that is displayed when creating a new TemplateCode, but if you do not fill any of the nested forms, the intermediate levels are not saved? Is that correct?

Closed due to inactivity.


Continue running jobs even if another job fails

I appreciated the default behavior.

The default behavior is to keep running independent jobs, but to cancel the other jobs in the matrix. This makes it consistent. I prefer this way, since you can find independent errors in multiple modules, instead of having to fix one error at a time.
Assuming there are no concurrency limits, what are the downsides of continuing?

Assuming there are no concurrency limits, what are the downsides of continuing?

None. However, there are concurrency limits and we already know how to reach them.
I hope queue will stay minute most of the time still.


Decouple DataModules from Models - GAN

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @nateraw! Thanks for opening this PR.

In the file pl_bolts/models/gans/basic/basic_gan_module.py:

Line 175:109: W291 trailing whitespace

Do see the Hitchhiker's guide to code style


How command handler invoked when we are using RabbitMq as a Bus

According to documentation, I have added following to send command using Bus
  .AddRabbitMQProvider()
  await _dispatcher.DispatchBusMessageAsync(command);
I have found it was storing message in rabbit MQ.
My question is what type of configuration I need to do to trigger CommandHandler.
Is there any sample that I can follow.
Expecting your help.
Thanks in advance.

You need to call _dispatch.SendAsync(command) in order to trigger the command handler and then as part of the command response return event(s) that implements eirher the IQueueMessage or ITopicMessage interfaces. When an event implements one of those interfaces is automatically dispatch to the message bus.

I'm planning to create a few diagrams to explain better how the flows work.

Brilliant idea!

@lucabriguglia
Thank you very much for your response. Yes, you are correct if I use _dispatch.SendAsync(command) then handler invoked and that is from in memory (meaning the same project).
If I would like to handle command through the bus then what things I need to do? I have used IBusQueueMessage to create message. When I am using _dispatcher.DispatchBusMessageAsync(command); it sends message to bus but handler was not invoked.
Does command handler invoked based on BusMessage or not? Or I need to write my own code to invoke handler by listening message from Bus?
Does Kledex only push message to bus and don't handle it?
Expecting your help.

@hasibul2363 yes you need to write your own code to handle the command (or an event). What Kledex does at the moment is just to put a message on the bus queue or topic (normally an event after the execution of a command handler). But thanks because this is a functionality that might be implemented.

Just published the first diagram in the README file.


No reaction after running tag file several times if kill it halfway - some ideas

Hi
I was trying to run tag file in pycharm by python code
os.system("tagui /Users/kkkkaaa/PycharmProjects/pj1/test.tag ")
The tag file inside is opening a url and some web automation.
But I forgot to add other s code in python, so I stop the execution , add back the code and close all cmd file. And run it again, and then the tagui become no reaction, cmd opened, START to listen input, but it become no input. The cmd file is keep opening ,but chrome opened.
This can happens randomly, the workaround is restart the windows

Hi @kan-cjis, when you try to kill the process halfway it might not exit cleanly. To do that, you can add in this step -
os.system('path_to_tagui_folder/src/end_processes')

The end_processes command on macOS/Linux, and the end_processes.cmd batch file on Windows, will help to clean up any remnant processes in memory, if you try to kill TagUI halfway during running.
Also, I've created this personal side project called RPA for Python, it is a wrapper around TagUI that exposes the RPA capabilities to the Python user. To install it, simple pip install rpa. That might be easier for you, since your starting point is in Python already, instead of trying to call tagui command from Python environment.
More info - https://github.com/tebelorg/RPA-Python

Adding on for more context and details, here's a video - https://www.youtube.com/watch?v=5JBpzarYBco

Backfilled with a remake video for completeness - https://www.youtube.com/watch?v=lT8oyXZX58U

Closing issue for now, but do ping us if anything!


[HackaDoc] Enable and view storage metrics

Enable and view storage metrics.

Hi @MaochenWang, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

@MaochenWang
Please update:
Need sentence-case titles
Next-steps section with links to next recommended articles.
Thanks!


Event fired twice

Describe the bug
Version: v1.3.0
I'm trying to add ViewContent event at mounted hook, but event just fired twice.
Not sure it's a bug or I miss something.
To Reproduce
Steps to reproduce the behavior:

add fbq ViewContent at mounted hook
reload the page
check the Facebook Pixel Helper or check the chrome debug tool network panel

Expected behavior
Event only fired once
Thank you for your time.

Never mind Cloudflare cause some weird issues
Plugin works perfectly


Avoid dirty editor after creating camel files using command from VS Code Language Support to create file

possibilities:

find a trick
support comments in files
modify file created by Camel JBang init

With kaoto next it doesn't mak eth efiles dirty anymore as the content is not modified until there is a real modification


XSS fuzz lists

Many of the XSS payload files are not directly consumable by fuzzing applications, such as Burp Intruder. I think it would be great if there were seperate fuzzing files to the discussion files. For example, Mario's XSS file is AWESOME and so advanced that it's akin to magic, but it takes a bit of work to use within tools.
How best to help you guys with this?

I agree, but the context in that file is advantageous. How about make a stand alone fuzzing version and commit with a comment that one is better consumed by Burp and the other used as a reference?

Yes please!

Yes, that's a good idea. We should mark files as tool-ready or something within the name of the list.

@danielmiessler @jhaddix I realize this issue is a little old, but I came across it today and thought the idea here is fabulous. I'd be happy to take a stab at this, that is, if you still want something. Is the solution you want really just make new fuzzing files that can be directly imported into tools (Burp and ZAP come to mind)?

Sounds like a good idea to me!

Great idea.

This is a great idea.

Yo I am taking this up, but while looking through the lists I seed some repeated strings, specially //["'`-->]]>]</div>

@g0tmi1k I think this can be closed

look at this Aviator software
look at this Aviator software that I had been trying to unlock for a very
long time, I did not receive
Le mar. 26 mars 2024 à 07:36, Mo Langning @.***> a
écrit :

@g0tmi1k https://github.com/g0tmi1k I think this can be closed
—
Reply to this email directly, view it on GitHub
https://github.com/danielmiessler/SecLists/issues/40#issuecomment-2019498653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5MEH2ODNJDJZ6NV4KCOPMDY2EJNXAVCNFSM4BR4RIR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRHE2DSOBWGUZQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


More than 3 channels of input data

I find this function for input "ImageInput"

color	Number of color channels (1 or 3). Defaults to 1

But my data have 7 channels.

That Op has several internal functions that don't really take color channels into account. You might be able to go ahead and use 7 but do a little patch here and there to get around the constraint to 1 or 3. As you're probably aware, you don't have to use that Op. You can make your own custom op that takes seven!
Just curious... what's in the other channels?

Thanks for ur reply.
I am implementing some online chinese character recognition paper. They use path signature as input.


FuturesContract expecting a symbol with format COIN/COIN/PERP

Is there a specific reason why on FuturesContract line 34 is requires parts to be at least of size 3?
Because for example, on FTX, the PERP contracts are always {COIN}-PERP (e.g. BTC-PERP) which will fail on this condition.

This logic likely needs to be more clever.


Random error when prefetching models

Describe the bug
I am seeing random errors when prefetch with ormar 0.20.1
Identified the bug in    translate_list_to_dict using a dict as a default argument
To Reproduce
translate_list_to_dict(["aa", "aa__inner", "bb"], default={})
(Note: this should be a complete and concise piece of code that allows reproduction of an issue)
Expected behavior
ret = {"aa": {"inner": {}}, "bb": {}}

https://github.com/collerek/ormar/pull/1382


When expanded can not drag to the bottom - panel returning to the top.

When panel expanded, I can't drag it to the bottom - panel stops and then returns back to the top, when I remove my finger. This occurs when I touch it at the top half. If I start dragging with touching it at the bottom half, then it will stop at the half way and then it will fall to the bottom. How can I make it draggable without such "sticking" to the top?

This is working as intended, if you fling, the panel will not stick to the top. it's a much more natural interaction. What your desire is not supported.


[icode] TestICodeEventHandler_HandleMetaCreatedEvent Error

func TestICodeEventHandler_HandleMetaCreatedEvent 함수 fail남

#This issue is merged pull request(#783)

This issue is merged pull request(#783)

This issue is merged pull request(#783)

This issue is merged pull request(#783)


Ternimal Error

Showing This Errors Please Give Solution

I didn't find any clickers for macos. This only works on Windows

to fix your trouble check this click
maybe this will solve your problem.

to fix your trouble check this click maybe this will solve your problem.

Dnt try this at home: he tries to run this powershell silently on your machine. SCRIPT: https://javierlopez.eu/adapt/kingdom

It works now, try it in v2

На MacOS запустилось с этой версией mouse (pip install mouse==0.5.0). Но не находит окна: "Blum window not found! Please open it, and restart the program."


Fetch RPC provider from the SDK

Overview
As followup of https://github.com/gnosis/safe-apps-sdk/issues/254 we need to cleanup the manual configuration of RPC endpoints for each chain. We should get this information using the Apps SDK detecting the WebApp current network
Goals

Remove chain dependency from TX-Builder and Drain Safe app

Requirements

[x] Create a PR in safe-react updating the communicator to return the complete chain configuration
[x] Upgrade types in safe-apps-sdk in case is necessary
[ ] Remove RPC endpoints from Tx-Builder and Drain Safe apps and get them from the SDK

Added https://github.com/gnosis/safe-apps-sdk/pull/264 PR

Added PR in safe-react:  https://github.com/gnosis/safe-react/pull/3164


Erperall/bugfix/fixes for zsh

All Submissions:

[YES] Have you followed the guidelines in our Contributing document?
[YES] Have you added an explanation of what your changes do and why you'd like us to include them?
[YES] I have updated the documentation accordingly.
[NA] I have added tests to cover my changes.
[YES] All new and existing tests passed.
[YES] My code follows the code style of this project.
[YES] I ran lint checks locally prior to submission.
[YES] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

What is the current behavior?

Issue Number: #106, #107
What is the new behavior?

Shebang loads bash interpreter in respective location for Linux and OSX.
The bash profile is now loaded properly for ZSH users to detect getopt installations.

Does this introduce a breaking change?

[NO]

@nmiodice Reopened PR after changing the branch name to better reflect the fix.

The discussion with Joe Long has concluded and he'll be implementing the changes into BashWizard.


chore: Remove support for the event fields supporting referencing/inheriting fields from global attributes.

Changes
Removes the option of an event body field from referencing / inheriting an existing global attribute and providing an optional alias within the event body.
This was discussed during the Event WG Sig meeting on August 9th.

Fixes #1341


[6.0] Error in Html Builder Table documention

Summary of problem or feature request
I think there is an error in documention at this page : https://yajrabox.com/docs/laravel-datatables/master/html-builder-table
The footer parameter (true) is in the attributes array parameter and should be outside, after the closing square bracket.
Code snippet of problem
Indeed, the line
{!! $html->table(['class' => 'table table-bordered', true]) !!}
should be
{!! $html->table(['class' => 'table table-bordered'], true) !!}
System details

Operating System
PHP Version 7.1.1
Laravel Version 5.4
Laravel-Datatables Version 6.0

Thanks for reporting. The docs repo is located here in case you want to contribute. Will update it later today. Thanks!

PR Merged. Thanks!


testing vs ollama mistral gives same speed results on llama2 7b

this is on linux with a 4090 comparing .
Running ollama run mistral "why is the sky blue?" vs the same prompt gives the same speed.
on llama7b should we expect faster results?

Jtoy hii is the issue we resolve after eod
Thank you
Tushar

Which is the commit? Is it already pushed?

And what is required to test it? Do we just recompile or do we need to reconvert weights?
Can we add the performance gains for llama2 7b  to the paper? It wasn’t clear when I read what expected gains we should expect.

Thank you for your feedback. In our previous tests, even if all of them were placed on the GPU, there was still a certain acceleration ratio for powertransfer. We will test the results you mentioned. Currently, I believe there may be some performance issues with the open-source version of the code

Is there anyway I can help test?

I will now provide some explanations. In fact, the target scenario for PowerInfer is the model size exceeds GPU VRAM. The currently open-sourced version of the code is not suitable for running entirely on GPU for inference. Moreover, the open-source code, for ease of trial use, is not the same as the code tested in the paper, and it introduces about a 10% performance decline.
The open-source version of PowerInfer has the following issues when the entire model is on the GPU:
There are synchronization issues between CPU and GPU. Even if the model is entirely on the GPU, the Feed-Forward Network (FFN) layer still requires synchronization between CPU and GPU, introducing significant synchronization overhead.
To facilitate the computations of the predictor, the current computation results of the predictor are stored on the CPU. This means that even if the model is on the GPU, some minor computations are still performed by the CPU.
Since our code has not been deeply optimized for models that can be entirely on the GPU, I have attempted to eliminate the above two overheads as much as possible on our internal PowerInfer code. Preliminary tests on a 4090 using llama-2-7B yielded the following results:
llama.cpp: 15.9 ms/token
PowerInfer: 12.67 ms/token
After further breakdown, I found that there are still some computations currently placed on the CPU, meaning some overheads have not been eliminated, preventing further improvement in PowerInfer.
And here is the result.

Currently, I am thinking whether to provide a testbed for those who wish to reproduce the results of our paper. Additionally, due to the unexpectedly high interest about the PowerInfer, please be patient as we work on further optimizing the code.

@YixinSong-e is it right to say that  llama2 7b might not good a speed up with this library? are there any new updates?

@jtoy
For now, PowerInfer only benefits in resource constrained scenarios, such as if the 7B model exceeds the GPU memory. For scenarios where the model can be placed in GPU VRAM, PowerInfer is still organizing the relevant code. Please wait for the next update, as we will optimize the 7B scale model when releasing releu regional 7b (in about two weeks). By the way, happy new year. :)

Has there been any improvement with these smaller models?


Read license type from an exported enterprise license csv

@droidpl Think this covers everything we discussed last week.
If I remove the consumed_licenses.csv file from the repo it removes the extra column, if it is there it adds the column.

@droidpl Looks like the ncc fix released this afternoon fixed the npm run pack issue.


props submitting not working

Props submitting not working, always is false.

I came across the same issue.

Please provide a working demo of your issue, and perhaps more details as well.

I'm facing the same issue. Basically I have various forms in my application, some with promise, some without it. Whether they have or not, the isSubmitting('form') comes always false.

@renanbandeira and do you mind providing a working demo of it?

So, I have this selector:
export const isLoading = () => createSelector(
  isSubmitting('settings'),
  isSubmitting('login'),
  isSubmitting('loadRoute'),
  (submittingSettings, submittingLogin, submittingLoadRoute) =>
  submittingSettings || submittingLogin || submittingLoadRoute
);

In my page, I have a mapDispatchToProps and I define it just like the others selectors I have. On render method, when I try to use it, it comes false everytime. Detail: this page is the root page that will render all the other pages. Basically I want to create a modal for everytime any form is submitting

I'm closing this issue as I cannot reproduce: go to http://redux-form.com/7.0.1/examples/simple/, open up dev tools, and submit the form. The submitting flag is set to true, and then undefined successively. Also probable dup of #1238.
@renanbandeira if you can come up with a sandbox reproduction of this issue we'll reinvestigate further.


Good for logging?

Hi I am currently looking for an embedded solution for logging; more specific, it would need to handle the logs of incoming mobile text messages (sms) in a Callback scenario. So whenever a person sends a message to our virtual number a post is made to an url. What then happens is further business logic, but I want to save the callback info (json object) into LiteDB. So it's insert only, and the read operations are more for diagnostics. "give me all messages between date x and date y for incoming number z". So I would need to add some indexes on number, date, etc.
So the data will only grow over time, maybe a million records per year.
Would LiteDB a good solution for this? Or should I create different tables per month for example?
Thanks for your advice!

Hi thanks for this. I just was a bit affraid of the "Few concurrent write operations" on the readme file. For logging of course they are all appends, no updates, so maybe that would OK then?

@stefandevo please take a look at serilog.sinks.litedb.
It uses a batch flushing mechanism.
I'd also sent a pull request to allow file rotation based on hour, minutes and days.
Right now, I'm looking if is feasible to create a Seq Like web app to embed in existing application.
Currently a blocker on my project is #711 as to be able to find/sort I need a number to filter and I should use Date.ToFileTime().

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


PostgreSQL.PostgreSQL version 15.2.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Closed this one, see #102349 instead.


.github: Debug code coverage

I've used https://github.com/marketplace/actions/debugging-with-ssh for debugging actions with alot of success :)

I'm pretty sure it's that the coverage reports go to a coverage dir, and that the codecov action wasn't smart enough to tell us the files were missing 😆 but i'll keep that ssh action for next time!

Hmm, well maybe not - trying with a checkout of the code in the job that uploads coverage since it might need to see the paths? 🤔


New package: ShaneDBSCAN v1.0.0

Registering package: ShaneDBSCAN
Repository: https://github.com/kchu25/ShaneDBSCAN.jl
Created by: @kchu25
Version: v1.0.0
Commit: 4c513678dda45cb9e83b4eb7b40bcf1fbec9c46f
Reviewed by: @kchu25
Reference: https://github.com/kchu25/ShaneDBSCAN.jl/commit/4c513678dda45cb9e83b4eb7b40bcf1fbec9c46f#commitcomment-147205529
Description: non-parametric clustering the quick way

Thank you for submitting your package! However, please make sure to add some documentation before registering. At the very least, that would be a description of the package's purpose and a small usage example in the README


node12 & node14 failed builds

https://launchpad.net/~openjs/+snap/node12
Same error that keeps on occurring, obviously they haven't fixed it. I'll try a re-run but am not going to persist on this I think.

Got some more failed builds from today's security releases.

node12 i386 https://launchpad.net/~openjs/+snap/node12/+build/1639031
node12 arm64 https://launchpad.net/~openjs/+snap/node12/+build/1639034
node14 amd64 https://launchpad.net/~openjs/+snap/node14/+build/1639036

That last one being a major concern since it'll be in quite heavy use. I've manually requested rebuilds https://launchpad.net/~openjs/+snap/node14
Same failure though, their problem, not sure I can do a whole lot about it. But I guess I'd better get googling again to see what the latest suggestions are - unless someone else wants to help?

got a node14 amd64 out of the rebuild


Beatiful Destroy

Consider making gems explode in a chain like way
We need to perform fireDestroy
Than add a new found fireDestroy to the list
When the first animation is done (isDrawing == false) we draw another one
The gameScreen gets isDrawing == fase only when the list is empty

Probably gonna leave it as it is


Updates to 100.5.0 runtime build, fixes permissions and identify bugs

Addresses the following bugs:
https://github.com/Esri/nearby-android/issues/81
https://github.com/Esri/nearby-android/issues/80
https://github.com/Esri/nearby-android/issues/77
https://github.com/Esri/nearby-android/issues/76
Biggest changes are to using the selection mechanic instead of replacing the symbol so it doesn't flutter when switching symbols.
The new permission flow should respect whatever the user decides - it will prompt one time with the snackbar, and then if the popups are denied by the user it will launch the app to a default location(downtown Portland). I added a flag so that when the places activity is navigated back to, it won't prompt them again.
Also bumps the runtime version to 100.5.0.

Tested these changes and can confirm that the permissions access (#76) and bottom sheet behavior (#77) have both been resolved.
@LDuncAndroid if you have suggestions for how to specifically repro #80, that would be helpful. I wasn't able to repro that behavior.
Likewise, the steps to repro #81 didn't cause the result you wrote about, so while I'm also not seeing that behavior either, I can't say for sure that this PR resolves it.

Hi @mikewilburn , it appears that the issues I have raised have been resolved in this PR.

Thanks @LDuncAndroid!


Add LICENSE info to README.md

Fixes #19

Add LICENSE info to README.md

@campoy Can you please review it?


Broken with latest nightly

Package names now have to use underscores rather than dashes.  IntoCow is feature gated.

Fixed with 737ea17e2d8913ca02cb40ede1708964dad61484. Thanks for filing an issue.


MQTT Image send, lost bytes

Hi,
I am trying to send a frame from an ESP32 cam to a Java server with this MQTT lib. I am able to capture the image, but when I try to send it over MQTT with this method  client.write(fb->buf, fb->len); it only sends some bytes (83224 bytes of the photo and 22950 bytes sent). I have tried too a loop over the bytes and send byte-per-byte with the same result.
for (int i = 0; i < fb->len; i++) {
   client.write(fb->buf[i]);
}

I have achieved it using this other method but it takes a lot of time to transmit the data:
client.publish_P("topic", fb->buf, fb->len, false);
Any ideas?

I am using mosquitto as broker, and on its logs this is what I see:
1556567535: Received PUBLISH from ESP32Client (d0, q0, r0, m0, 'home/orchard/watcher', ... (200055 bytes))<PHONE_NUMBER>: Sending PUBLISH to paho22444007144826 (d0, q0, r0, m0, 'home/orchard/watcher', ... (200055 bytes))<PHONE_NUMBER>: Received PUBLISH from ESP32Client (d0, q0, r0, m0, 'home/orchard/watcher', ... (3447 bytes))<PHONE_NUMBER>: Sending PUBLISH to paho22444007144826 (d0, q0, r0, m0, 'home/orchard/watcher', ... (3447 bytes))<PHONE_NUMBER>: Socket error on client ESP32Client, disconnecting.

The first call is with pùblish_P method, and all bytes are transmitted.

Second call is iterating over bytes:

` client.beginPublish("home/orchard/watcher",  buf_len, false);
size_t meison = 0;
static const size_t bufferSize = 4096;
static uint8_t buffer[bufferSize] = {0xFF};
while (buf_len) {
size_t copy = (buf_len < bufferSize) ? buf_len : bufferSize;
Serial.println(copy);
memcpy ( &buffer, &fb->buf[meison], copy );
client.write(&buffer[0], copy);
buf_len -= copy;
meison += copy;
}
client.endPublish();`
Seems some kind of socket error, but I dont know what could be. I tried to change some parameters like MQTT_MAX_TRANSFER_SIZE  but everytime the same behavior... :(

Fixed, MQTT_MAX_TRANSFER_SIZE does the trick. Thanks!

Bad luck, it seems that taken photos where too small enough to make the sending work... I am expecting the same behavior again... It seems that broker marks as finished the byte transfer, because I see the loop logging traces (still writing) and the broker already received the message:
1556578553: Received PUBLISH from ESP32Client (d0, q0, r0, m0, 'home/orchard/watcher', ... (4308 bytes))<PHONE_NUMBER>: Sending PUBLISH to paho34922439777099 (d0, q0, r0, m0, 'home/orchard/watcher', ... (4308 bytes))

I have changed Mosquitto for HiveMQ and same behavior

Hello there...
Same problem, cannot publish ESP32CAM photo to Mosquitto.
Did you get the solution for the problem?
Thanks
Paulo

Hi Paulo,
I have workarounded it by sending small images over MQTT, configuring the camera with the following values:
camera_config_t config;
...
  config.pixel_format = PIXFORMAT_JPEG;
  config.frame_size = FRAMESIZE_SVGA;
  config.jpeg_quality = 12;
...
esp_err_t err = esp_camera_init(&config);

With this parameters you get enough quality to send the images and not blocks the sending process. Images are 800x600 and its OK for me. But if anybody has a better solution, please share...

Hi,
Just replace in publish_P:
 for (i=0;i<plength;i++) {      rc += _client->write((char)pgm_read_byte_near(payload + i)); }
with:
    rc += _client->write(payload, plength);
For me the large-payload API is buggy. It doesn't generate a valid header. If you compare header generated by publish_P and beginPublish they are not the same.
Regards,


Something Went Wrong - Enter the Correct API URL

Dear Dev,
Firstly, thanks for your work on this API.
Since today, I have thie error when calling the API : "Something Went Wrong - Enter the Correct API URL". It occurs when I call from my javascript or Postman, and event in Firefox Browser directly. Everything was working fine prior today.
I hop you have any advice to fix the situation
Thank you by advance,
Regards

Hey, @YiffyC
I'm really sorry for the trouble happened to you.
I'm aware of this issue, This is due to some dependency updates.
Now fixed, Up and Running.
https://random-words-api.vercel.app/word

I'm gonna close this issue. Feel free to Reopen if you still face this issue.
Thanks :heart:


Is is possible to add new layer and import data from another image file ?

Is is possible to add new layer and import data from another image file ?
or change the image data of existing layer?

You can change existing PsdChannel.data numpy arrays and any other attributes of the layers, add or delete PsdLayer instances to/from the PsdLayers.layers list, and write the whole TiffImageSourceData instance back to a TIFF. There's no higher level API or additional documentation so you'll need to follow the Adobe specs and the source code. See also:
https://github.com/cgohlke/psdtags/blob/5e15d5cb6ea894b437248a9ff08b3c222a5b5ed6/psdtags/psdtags.py#L110-L114
https://github.com/cgohlke/psdtags/blob/5e15d5cb6ea894b437248a9ff08b3c222a5b5ed6/psdtags/psdtags.py#L138-L145
https://github.com/cgohlke/psdtags/blob/5e15d5cb6ea894b437248a9ff08b3c222a5b5ed6/psdtags/psdtags.py#L39-L44

I try append layers from another tif, but get error on write
from tifffile import imread, imwrite
import psdtags

isd = psdtags.TiffImageSourceData.fromtiff('input_2layer.tif')
res = psdtags.TiffImageResources.fromtiff('input_2layer.tif')

isd_layer3 = psdtags.TiffImageSourceData.fromtiff('layer3.tif')
res_layer3 = psdtags.TiffImageResources.fromtiff('layer3.tif')

isd.layers.layers = isd.layers.layers + isd_layer3.layers.layers

imwrite(
    'tmp_output.tif',
    isd,
    byteorder=isd.psdformat.byteorder,  # must match ImageSourceData
    photometric='rgb',  # must match ImageSourceData
    metadata=None,  # do not write any tifffile specific metadata
    extratags=[isd.tifftag(), res.tifftag()],
)

I try the second parameter of imwrite to
isd or isd.tobytes()
both not work

Yes, I follow the example on my first attempt to check multi layer tiff save, and that's successful.
But this time I add a new layer to the isd.layers.layers, and want to save the modified version.


feat: add options to MergeDir for use in achgateway

Option to read ValidateOpts in MergeDir
Accept/Skip files (and option to parse them as JSON)
Fixes for usage with achgateway (and others)

Codecov Report

Merging #1397 (efc6f9a) into master (000d598) will increase coverage by 0.44%.
The diff coverage is 67.96%.

:exclamation: Current head efc6f9a differs from pull request most recent head f5efa42. Consider uploading reports for the commit f5efa42 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1397      +/-   ##
==========================================
+ Coverage   84.03%   84.47%   +0.44%
==========================================
  Files          82       82
  Lines        8275     8349      +74
==========================================
+ Hits         6954     7053      +99
+ Misses        955      912      -43
- Partials      366      384      +18


Angular Chartjs plugin Changing bar chart width and height

Hello,
I am not sure if this can be done but I am write an angular page with chartjs. I have multiple dataset for a horizontalbar chart. I was able to get it to overlap but I would like to change one of the bar's width. To get the overlap, I used a plugin to change the bar's height as shown below in this link
!https://imgur.com/a/M2NmxkI
As you can see, both dataset are shown as bar starting from y=0 to y = some max value. I would like to change one of the bar's width to be narrow. The goal is to have a long bar and the other bar to be narrow and be placed at the max value. When I changed both the height and width of one of the bar, I get the following chart which is incorrect.
!https://imgur.com/a/kiKBPaZ
I am not sure why the bar suddenly was start from top of the chart. I think I may be not incorrectly setting the values.
Any help is appreciated.
import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';
import { Chart } from 'chart.js';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
title = 'barchart';
private chartRef
@ViewChild('myChart') set ref(ref: ElementRef) {
this.chartRef = ref;
}
ngOnInit() {
var data = {
labels: ["x1", "x2", "x3"],
datasets: [{
label: "First",
backgroundColor: 'rgba(255, 99, 132, 0.2)',
borderWidth: 1,
data: [10, 20, 30],
yAxesID : "y-axis-1",
},
{
label: "Second",
backgroundColor: 'rgba(255, 206, 86, 0.2)',
borderWidth: 1,
data: [5, 30, 35],
yAxesID : "y-axis-1",
}]
};
var options = {
  scales: {
    xAxes: [{
     stacked: false,
      display: true,
      barThickness: 70,
      ticks: {
        beginAtZero: true
      },
    }],
    yAxes: [{
     stacked: true,
      id: "y-axis-1",
      ticks: {
        beginAtZero: true
      },
    }]

  }
};

var canvas = <HTMLCanvasElement> document.getElementById("myChart");
var ctx = canvas.getContext("2d")

var myBarChart = new Chart(ctx, {

   plugins:[{
     afterDatasetsUpdate: function (chart) {
       Chart.helpers.each(chart.getDatasetMeta(0).data, function (rectangle, index) {

        rectangle._view.height = rectangle._model.height = 30;

        rectangle._view.width = rectangle._model.width = 10;

       });
   },
  }],
  type: 'horizontalBar',
 // type: 'bar',
  data: data,
  options: options
});

}
}

Please ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js


jsm-prometheus integration

@zekihan @ozlemmcokuk is the JSM API compatible with OpsGenie?

Hi @jkroepke
Actually the endpoints for Opsgenie and Jira Service Management are not the same. We are bringing alert&on-call capabilities to Jira Service Management natively, so we will have a new integration on Jira Service Management product which will use this plugin as in Opsgenie. The functionality can be seen the same at first but the capabilities of Jira Service Management is much wider than Opsgenie as a product, so having a dedicated plugin will serve for visibility for both products.

Hi @jkroepke
Is there anything that we need to do in this PR?

I don't know. I not a maintainer, I just had a questions, since we also having Jira and OpsGenie and we may play to merge them.

Hi @simonpasquier, @w0rm and @gotjosh
Could you please help us with our new integration? We are planning to release it in December. Please let us know if you have any comments about the PR. Thanks 🙏

Whats happens, if you enter the JSM endpoints on the OpsGenie integration?

@ozlemmcokuk
We ask the Jira support and they confirm that the API is equal to OpsGenie

Hello,
I am glad that the Incoming call integration is working as expected :slight_smile:
Regarding the Prometheus and Heartbeats, I would like to inform you that there are no changes to the API keys these integration will continue working as it is.
As a side note, I would like to inform you that the Incoming call routing and Heartbeat feature is available only with the Jira Service Management Premium plan.
I hope I was able to answer your queries, in case you need further assistance on this ticket, please revert would be happy to help!!
Best Regards,
Arjun Ganapathy
Atlassian Cloud Support

Efficiently, the existing OpsGenie Integration could be used for JSM which make the PR pointless for me. Maintain duplicate code make no sense.

Indeed if OpsGenie and JSM are just 2 sides of the same coin, I wouldn't create/maintain another integration.

Even though the JSM and OpsGenie integrations are currently the same, Atlassian has stated their intention that the JSM features are going to diverge from OpsGenie in the future, and they are encouraging customers to switch over to the JSM Ops API.
https://support.atlassian.com/jira-service-management-cloud/docs/start-shifting-from-opsgenie-to-jira-service-management/
So even if there is not currently a need for a separate JSM receiver in prometheus, there probably will be a need for it in the semi-near future.

So even if there is not currently a need for a separate JSM receiver in prometheus

At the moment, die OpsGenie can be used with JSM endpoints, too

We got a notice from Atlassian that they're deprecating the Opsgenie API in mid Febrary 2025 by making it read-only, and the migration documentation suggests moving to the JSM API as soon as possible. The JSM REST API doesn't seem compatible with the Opsgenie API (example), so it won't be possible to use the Opsgenie receiver with JSM.

@pharaujo we are using the JSM endpoints with the opsgenie receiver since 3 months in production.
In general, it's correct that the JSM API for alerts is different. However, if you are using the Prometheus integration in JSM, the API including API Key remains the same. You can seamless switch the configuration to
api_url: "https://api.atlassian.com/jsm/ops/integration/"

The heartbeat URL is completely different, but that not in scope of the notifier.


Add priority heap implementation using lists.

I know this is not an efficient way to do it but our repo was missing a priority queue implementation and I thought I might just just give it a try.

Pull Request Test Coverage Report for Build 220

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

Totals

Change from base Build 217:
0.0%

Covered Lines:
2674

Relevant Lines:
2936

💛  - Coveralls

I already did it: https://github.com/keon/algorithms/blob/master/heap/binary_heap.py

That implementation is with a heap which is a much more efficient way of implementing a priority queue however I think It's always a good idea to have different ways of implementing the same data structure. It just opens up your mind to so many different solutions. Just my two cents. @danghai

I thought it is the same algorithm. Priority queue require 2 popular method percolate down and percolate up. Your insert method looks like  percDown

Yep, mine is bubble down.

So it looks the same file that I give you

No, your implementation is based off of heap (binary structure). This one is on lists which is not the best in terms of running time but everything has its tradeoffs.

Could you point out the difference my way and your way?

The difference is what you use for implementation. Yours is heap which is a tree structure, this one is list. Here is a much more detailed explanation of implementation of PQ using heaps and lists.

It is the same! Binary tree structure explain the list/array store these number. Look your file, does it has binary tree structure?

The implementation that I have doesn't have binary tree structure. It is just a simple but terrible implementation of PQ. The idea is to have as many ways of implementing the same data structure.

Could you point out my binary tree structure in my code? :)

First of all, you have perc_down and perc_up methods and every time you add a new item, you have to swap items with parent node by either bubbling up or down. In my case, I am not doing that. Mine is just doing a simple comparison with no bubbling up or down. I said mine is doing bubbling down but I didn't explain that It's just a comparison. Bubbling up or bubbling down require comparison with the parent nodes.

So you give me this link: http://pages.cs.wisc.edu/~vernon/cs367/notes/11.PRIORITY-Q.html. And you implement base on it. Do you see and read these example for bubble Up/Down (percUP/Down)

That link contains the implementation of PQ using heaps.

Furthermore, your method delete is wrong because it miss percDown. Hopefully you know what I mean. I see it has the same data structure + the same algorithm. (It is just different that I use split these into function for clear). @goswami-rahul Could you review it?

Bubble down is used when you're implementing your PQ using a tree structure.

You mean your priority queue always stores increasing order (MiN priority queue)

Correct.

@danghai I think you got a little bit messed up between priority queues and max/min heaps :) Anyone can get confused here because priority queues almost everytime get implemented using heaps (for efficiency). However, the priority queue is just a data structure that stores a group of items and we can extract the min/max item based on the priority.
Your code achieves this by using the above binary heap data structure. (in O(log n) time),
while @SaadBenn did it here with just an array in which we can insert in O(n) keeping the array sorted, and get min/max in O(1) by returning the first/last element of the sorted array :)

So I guess we can merge now?

Excellent!! Merging it now.

@goswami-rahul @SaadBenn  I am not sure why you merge it, while he does not provide a unittest. Have you look review the code? For example: insert why return True in else? What does it mean self.data? He use data for what ? what is the test case? How do you know these method work?

@SaadBenn I read these book for a long time ago. Return true only for else. What about return value for this if condition: if self.size() == 0: , return what?

@goswami-rahul Can you please do another review? I'll make the adjustments. I'm sure you'll do an objective review. :)

@danghai Let's leave the review to goswami.


Fix join query incase of filter explosion during CNF conversion

Join query fix over #12314
JoinFilterAnalyzer expects CNF filters to be present in JoinFilterPreAnalysis if filter pushdown flag is enabled. So if there are too many CNF filters, we create a new JoinFilterPreAnalysis where the filter pushdown flag is disabled.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

@clintropolis looks like we still have a bunch of failing tests, any reason we merged this before tests passed?

@clintropolis looks like we still have a bunch of failing tests, any reason we merged this before tests passed?

ah, the jdk15 tests were flaking out due to a travis side issue, though they seem to have started passing again so maybe I should've re-ran them, my bad. The actual failing tests were coverage related due to code change being in 'processing', while tests were in 'sql', and since this fixed an issue with another change that was just merged I just went ahead and merged.


Improve experience when installing Remote Repositories without GitHub Repositories or Azure Repos

Declare Remote Repositories an extension pack
Display a modal on install

Verification:

Uninstall GitHub Repositories, Azure Repos, and Remote Repositories if you already have them
Install Remote Repositories
GitHub Repositories and Azure Repos should also be installed

Verified that GitHub Repositories and Azure Repos are also installed when not present.


Fix gen_time_attr_type_hash in ApiController

When the API config was changed to be a Config::Options,
Api::Settings.collections stopped responding properly to each_value

it now just returns nil and does not execute the block. Changing it
to each fixes the issue.

@miq-bot add-label bug, api
@miq-bot assign @abellotti
/cc @isimluk

LGTM :+1:
Side note: this is quite scary, though. Since the Config::Options are just an improved OpenStruct it handles each_value method call as an accessor like config[:each_value]. :feelsgood:
Config::Options.new.methods.include? :each_value

What if we would monkey patch Config::Options with def each_value raise; end and run the rspec's locally? Perhaps there is more places like this?

What if we would monkey patch Config::Options with def each_value raise; end and run the rspec's locally? Perhaps there is more places like this?

I don't see anything in a quick grep - a bigger problem is there could be a lot of things that Hash would respond to but which Config::Options does not, and it just swallows it. I think the remedy for this is having smaller more testable things. I should add a test for this - even if I can't test it directly

LGTM!!
Either trigger the raise on each_value for Config::Options, or just implement it, shouldn't take much. either way, that can be done in a separate PR.  Thanks !!


Compile and report an error ："___isPlatformVersionAtLeast", referenced from:

Code use @available Compile error
Undefined symbols for architecture arm64:
"___isPlatformVersionAtLeast", referenced from:

Need Build the Clang project  -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt"  Generate Clang  library such as  libclang_rt.ios.a


Chrome extension can't save "Default display option" setting

Hi,
Somehow the Default display option always returns to "Fast", it doesn't matter how many times you save your preferred option.

We will check the code to solve the issue.

Hi @0x84A, any update on this ?

@ja0b My extension works fine. Would you like to provide your chrome version info? And are you using chrome store's version?

@0x84A I'm using brave. Version 1.26.77 Chromium: 91.0.4472.164 (Official Build) (64-bit)


webview_flutter Unable to create JsDialog without an Activity

public final class WebViewFactory extends PlatformViewFactory {
  private final BinaryMessenger messenger;
  private final View containerView;

  WebViewFactory(BinaryMessenger messenger, View containerView) {
    super(StandardMessageCodec.INSTANCE);
    this.messenger = messenger;
    this.containerView = containerView;
  }

  @SuppressWarnings("unchecked")
  @Override
  public PlatformView create(Context context, int id, Object args) {
    Map<String, Object> params = (Map<String, Object>) args;
//    return new FlutterWebView(context, messenger, id, params, containerView);
    return new FlutterWebView(containerView.getContext(), messenger, id, params, containerView);
  }
}

@bineanzhou Please provide your flutter doctor -v output and webview_flutter version.
May be connected to #34853.

my ext
https://github.com/bineanzhou/webview_flutter_ext

@bineanzhou Please provide your flutter doctor -v output and webview_flutter version.
May be connected to #34853.

my ext
https://github.com/bineanzhou/webview_flutter_ext

Hi @bineanzhou
To better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Hi @bineanzhou
Without additional information, we are unfortunately not sure how to resolve this issue. We are
therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the
bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


QBO import- This app no longer meets our guidelines and standards

The connector is broken.  Intuit site says: This app no longer meets our guidelines and standards. It's no longer available and you can't connect to it. Reach out to the app developer for support.

Document details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b52fd22f-b904-40f3-85c6-46ece79ea03d
Version Independent ID: 16f1126b-14a4-2815-98e4-52e7becc6c22
Content: QuickBooks Online Data Migration Extension - Business Central
Content Source: business-central/ui-extensions-quickbooks-online-data-migration.md
Service: dynamics365-business-central
GitHub Login: @brentholtorf
Microsoft Alias: bholtorf

I reached out to the dev team who owns the QuickBooks data migration features and fortunately they've already fixed the issue. Everything should be working fine now.


Merge the schema and .github.io repositories for v1.1.0

This will help streamline the release process and will support a better understanding of what CFF is, i.e., what is being talked about when talking about CFF (the schema vs. the specs vs. the website vs. the concept, etc.).

[ ] Vet options (merge into .github.io vs. merge into this repository)
[ ] Merge
[ ] Streamline releases with CI support

OK, crazy plan below
what do you think about creating a cff-events and a cff-tooling in addition to the already existing citation-file-format? This would help declutter the repos. We could transfer existing repos as follows:

citation-file-format

should contain the result of some kind of merge of what is now

citation-file-format (this would then become the only repo in the github organization, if we go ahead with the changes below)

schema.yaml (what is now schema/CFF-Core/schema.yaml)
README.md (we should add a section to the readme that describes steps on how to make a new release)
(only add files here that we want to be part of a release on Zenodo
via GitHub-Zenodo automatic integration; this also means moving
away from the model where the repo includes old versions of the
specs, not sure at this point what the full implications of such a move
will be/whether there are important downsides)
some sort of 'guide to reading the schema'. probably similar content-wise
to the pdfs (e.g. https://citation-file-format.github.io/assets/pdf/cff-specifications-1.0.3.pdf).
Not sure what format is best suited for this, both as a source and as target format
(maybe markdown as source and pdf as target? Does that mean commiting the pdfs to git?)

schema
citation-file-format.github.io

cff-tooling (to be created)

cff-converter-python
doi2cff
cff-initializer-javascript
github2cff
soccs
ruby-cff
cff-reader-java

cff-events (to be created)

rse-18-hackday
cw19
future-event-1
future-event-n-1
future-event-n

Couple more remarks:

Perhaps irrelevant if we decide to merge repos, but I would be in favor of ditching the master + src dual branch setup in citation-file-format.github.io.
I would be in favor of having a /docs on master branch instead of a gh-pages branch in citation-file-format
Also, if we can avoid Travis pushing pdfs to the internets, I'd be in favor of that (might not be attainable if we want to generate pdfs, we'll see).

If we decide to merge repos, this link may come in handy https://stackoverflow.com/questions/1683531/how-to-import-existing-git-repository-into-another#answer-1684694 if we want to retain git history. I've used it for merging the 7 or so repositories that we used to have in https://github.com/research-software-directory/research-software-directory into 1 monorepo; there it worked except for the occasional glitch (in GitHub, not git).
After merging we should then proceed to enable GitHub-Zenodo integration, and make a release as-is (maybe call it 1.1.0-alpha) before commencing to remove/update stuff.

I made a draft PR https://github.com/citation-file-format/citation-file-format/pull/77 to see what merging would involve. First impression is it looks like it could make our lives simpler. Let me know what you think @sdruskat

Documenting this: We've decided to merge schema into c-f-f (done with #77 merge), and keep the .github.io repo for a simpler landing page (#76).

Leaving this open for a postponed decision on whether to have separate orgs for events and tooling.

Good with me. Note we have https://github.com/cff-events if we want (just sent @sdruskat an invite).

Created the cff-tooling org as well. We can always decide to ditch it, but I do feel it'll add better structure to the whole project. Invited @jspaaks as well.
Closing this.


chore: pin node and npm versions

SUMMARY
Lock node and npm to the latest versions as per discussions here.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

cc @mistercrunch @suddjian

Codecov Report

Merging #11646 (fb4c91e) into master (cf86889) will decrease coverage by 4.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11646      +/-   ##
==========================================
- Coverage   65.29%   61.19%   -4.11%
==========================================
  Files         873      422     -451
  Lines       42289    26284   -16005
  Branches     3964        0    -3964
==========================================
- Hits        27613    16084   -11529
+ Misses      14550    10200    -4350
+ Partials      126        0     -126

Flag
Coverage Δ

cypress
?

javascript
?

python
61.19% <ø> (-0.73%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
53.90% <0.00%> (-30.08%)
:arrow_down:

superset/db_engine_specs/presto.py
69.76% <0.00%> (-12.53%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/utils/celery.py
82.14% <0.00%> (-3.58%)
:arrow_down:

superset/examples/world_bank.py
97.10% <0.00%> (-2.90%)
:arrow_down:

superset/examples/birth_names.py
96.51% <0.00%> (-2.33%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/result_set.py
96.69% <0.00%> (-1.66%)
:arrow_down:

... and 459 more

Continue to review full report at Codecov.

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


Attach to the same remote session from different devices

Is there a way to attach to a specific vscode session like in tmux? When I work on different devices in the same remote project folder, the workspace layout and state seem to be device-specific. It would be perfect if I can always attach to the very same session and continue working from different devices seamlessly.

/duplicate https://github.com/microsoft/vscode/issues/113996


[zh]: Resync ephemeral-volumes.md

You can run the following command on the main branch to find out the changes to be synced:
./scripts/lsync.sh content/zh/docs/concepts/storage/ephemeral-volumes.md

Got it.

/lgtm
/approve

@zaunist oops... PR has a conflict, please rebase from the main branch

/label tide/merge-method-squash

/label tide/merge-method-squash

Thanks, but this PR  also requires lgtm label to merge.


Fix OpenGL extensions not always loading

Fix OpenGL extensions not loading in a specific Linux VM configuration (here).

Could you rebase this and resolve the conflict? Thanks! 🙂


can't find the repositories:analysing_pii_leakage

I have read the https://arxiv.org/pdf/2302.00539.pdf, and this paper memtion the presidio

so I find you.
However, the paper show the code is on :analysing_pii_leakage

I can not find the repository.

So could you tell me where can I find the repository:analysing_pii_leakage.

Hi @Ethan-Chen-plus, I'll try reaching out to the authors and check. This research was conducted by a different team at Microsoft.

Hi @omri374
Thanks!
I'm waiting for it. Could you tell me when can I get it?

Hi, this is WIP by the team. I'll update once I know more.

Hi, this is WIP by the team. I'll update once I know more.

Thanks a lot.

Hi @Ethan-Chen-plus. The repository is now available: https://github.com/microsoft/analysing_pii_leakage


ipodtouch0218: Watch cryptoFX

ipodtouch0218 requests the watch of the watch_keyword cryptoFX. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Vickel in Charcoal HQ


ASP.NET 5 - CookieHeaderValue.TryParse doesn't allow for non-standard System.Web.HttpServerUtility.FormatHttpCookieDateTime format

From @MerickOWA on August 11, 2016 22:59
I understand this is for the ASP.NET 5 and not core, but I'm not sure where else to post this issue.  If someone knows a better location, please advise and i'll close and move it.
The format generated by System.Web.HttpCookie when formated is non-standard, a mix between RFC1123 and RFC850 (At least as of .NET Framework 4.6.1)
The exact format string used is "ddd, dd-MMM-yyyy HH':'mm':'ss 'GMT'" as seen here
This doesn't quite match RFC1123 which is "ddd, d MMM yyyy H:m:s 'GMT'" as it uses dashes between the day, month, and year instead of spaces, but doesn't quite match RFC850 which is "dddd, d'-'MMM'-'yy H:m:s 'GMT'" as it uses a short day of the week instead of a longer form.
ASP.NET 5's CookieHeaderValue.TryParse has a list of allowable date formats when it calls DateTimeOffset.TryParseExact, however the one used by HttpCookie listed above isn't one of them.
dotnet core seems to avoid this issue by using an call to DateTime.TryParse instead a TryParseExact.
It is interesting to note however that this format isn't listed in listed/supported by dotnet core's HttpRuleParser.TryStringToDate either, but this isn't used by the Cookie class.
Copied from original issue: aspnet/Home#1711

Asp.Net 5 is now called Asp.Net Core 1. I'll move this to the correct repo.

Were you referring to
https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.Net.Http.Headers/SetCookieHeaderValue.cs
or
http://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Net.Http.Formatting/Headers/CookieHeaderValue.cs
?

Sorry I think my versioning is confused.  I'm referring to System.Net.Http.Headers.CookieHeaderValue from System.Net.Http.Formatting, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
I believe this is the version just prior to Asp.Net Core 1.  I realize that this might not be the most appropriate place, but I don't see a repo for the previous version.
Lowell

Ah i see from your link the repo is in aspnetwebstack.codeplex.com not on github.  I'll move this to there.

Sorry for all the confusion about where to post this issue.  I've moved it to https://aspnetwebstack.codeplex.com/workitem/2313


[ruby] Multi-threaded Parsing

Right now, the parsing process is executed serially. This issue is here for us to explore adapting ruby_ast_gen to parse using Thread.new and hopefully seeing this execute with no problems on Joern, with improved performance. gitlab is still "slow", but is at least completing now since the new parser

Progress on ruby_ast_gen https://github.com/joernio/ruby_ast_gen/pull/10


Disables auto-configuration by default to save 10% startup time

This disables auto-configuration, which implied unwrapping some Lazy
wiring.
As actuator doesn't have an entrypoint to load its classes when auto-
configuration is disabled, this cherry-picks ones we use. Unfortunately,
this creates a compile time dependency which we didn't have before on
actuator.. this trips up one of our tests. Maybe @dsyer knows a way
around this.
This achieved 10% quicker start using a relatively complex set of config. I intentionally used the most complex startup parameters to ensure everything works.
SELF_TRACING_ENABLED=true STORAGE_THROTTLE_ENABLED=true STORAGE_TYPE=elasticsearch java -jar zipkin.jar

Before, the best JVM time to ready was 3.162s and now it is 2.801.

PS I integration tested this in zipkin-gcp as mentioned.

rewrote the approach cc @anuraaga
TODO: unit tests including that the normal spring conditions still hold (ex disabling an endpoint by config eventhough we enabled it)

Not using Consumer seems fine but for enlightenment what's the cycle? All it does is call deny which is a static method and seems non-cyclical.

The cycle was in where we provided PrometheusMeterRegistry. The registry type was needed in call sites that themselves defined consumers. Consumers being required to configure the PrometheusMeterRegistry was the cycle.

yay it is green, which means our invoker tests work. This proves that actuator is not compile required anymore. I still have some tests to write and also need to double-check performance.

@dsyer I rewrote the rationale in the types to try and avoid saying that things are slow etc.

ps I would like to be honest while avoiding loaded terms. otherwise someone could blindly undo work as they dont understand the underlying problem. in hindsight, "classpath scanning" seems to be emotive. The main thing happening here is disabling autoconfiguration, but that is a what not a why. I suspect there is a way to phrase the why.. for example this stops having to weed through things discovered implicitly via the classpath. for example the factories are primarily discovered via the classpath which is why I used the term scanning though I admit I forgot that was a historical term for something more deep. at any rate some suggestion of a non scary way and also honest would be appreciated.

added tests to 100% coverage and moved rationale around with a note that someone can refactor later as they wish. Since tests are there, it should be possible to do the refactoring safely should one desire. As for me, I'm over budget on this so calling it a day.

some suggestion of a non scary way and also honest would be appreciated

I think the current wording ("disabling auto-configuration") works.
It might be a good idea to quantify the "significant improvements" though. The Github issue has the figure 10% in the title, and I think that's reasonable. Why not put it in the readme/rationale as well?

Also noteworthy: benchmark results indicate that Spring Boot 2.2 is not significantly faster for this "stripped down" version of the app, but only if launched from the main class. The JarLauncher (and hence probably the PropertiesLauncher that is used in the docker container for zipkin-server) is much faster in Spring Boot 2.2. If we are going to continue to use that, it would be worthwhile to upgrade Spring Boot Maven plugin, even if the underlying library is held back to 2.1 for now. (BTW I tested with 2.2 as a library as well - had to explicitly pin the version for actuator jars, but it worked.)

See #2841

since we don't support custom servers we can upgrade anything at any time. indeed worthwhile to check into the property loading.
PS The amount of time savings depends greatly on which configurations are used. Ad-hoc, the more the more savings, but I don't have a matrix. I will make a comment to such effect.
If only using the stock zipkin in-memory, you won't see anything much unless you set --zipkin.internal.actuator.enabled=false. Here's a best of 10 with it disabled:
Best of 10 this commit just java -jar zipkin.jar
1.854 seconds (JVM running for 2.578)

Best of 10 this commit java -jar zipkin.jar --zipkin.internal.actuator.enabled=false
1.681 seconds (JVM running for 2.434)

best in several for the elasticsearch use case mentioned in the description is about 120ms savings even with actuator left on.
It is still on plate to look at docker setup to see how much impact, but as there are still a lot of things from the startup bench talk still not implemented, will sync this for a bit. We can revisit things decoupled as we go along.

PPS the build from the skipActuator profile runs the same speed as skipping via the internal runtim parameter (Eventhough skipping compilation and inclusion reduces the size of the distribution)

going to merge this as there's much left to do and I think these lines of code now rank as some of the most analyzed in the repo :P


create transcriptions from office hours sessions

Describe the Feature
see title

https://v12.discordjs.guide/voice/receiving-audio.html#basic-usage
]https://openai.com/blog/whisper/

I've been looking around; a bot called Craig https://craig.chat/commands/#patreon-commands does something like this so definitely a good reference to have.
If the ECS is upgraded to handle Whisper, this could work fine. I think Whisper is a good choice for transcription because no matter the speed or quality of the audio, it seems to transcribe the audio pretty well. There is also the Google transcription service, now that I think about it.
Perhaps a new command could be introduced for admins called /event create (day, start time, end time, name), and then when the event starts, the bot will automatically join and record. That or /record and do something similar to Craig bot where there are controls to start stop (for admins) and then download transcription and stuff for all users.


Stackoverflow in terser plugin

Bug report

What is the current behavior?
ERROR in main.js from Terser
RangeError: Maximum call stack size exceeded

If the current behavior is a bug, please provide the steps to reproduce.
git clone https://github.com/mifopen/terser-webpack-plugin-bug.git
cd terser-webpack-plugin-bug
yarn install
yarn build

What is the expected behavior?
Should not crash =)
I have tried to turn off terser-webpack-plugin and minify it with the same version of terser and it works

Other relevant information:
webpack version: 4.35.0
Node.js version: 12.4
Operating System: macOS Mojave 10.14.5
Additional tools: yarn 1.17.0

Please open issue in terser repo https://github.com/terser-js/terser with reproducible example

@evilebottnawi Are you sure? As I said in the issue, I have tried terser alone and it works fine. Is terser-webpack-plugin supported by terser-js contributors?

Moreover, terser-js/terser repo's bug report guide requires terser cli options but the bug has happened inside webpack build only

I have tried to turn off terser-webpack-plugin and minify it with the same version of terser and it works

So problem in terser, we just pass your code in terser and return result from terser, double check your configuration, maybe you have old version of terser of have other minimizer too, a lot of projects use terser and no problem, so i think problem in terser(in some rare cases it is happens) or in your configuration

Please open issue in terser-webpack-plugin with reproducible test repo

@evilebottnawi Maybe you missed it, but I have already creat reproducible test repo https://github.com/mifopen/terser-webpack-plugin-bug and added it to steps to reproduce. So you can check very fast, that my configuration is really minimal
Ok, I will copy the issue to https://github.com/webpack-contrib/terser-webpack-plugin

Yes, recreate issue in terser-webpack-plugin, thanks, i will see problem in near future

I have the same issue. It's not clear why the issue is closed.