intersection issue

I am getting the following error with intersection in version 1.6.2 that was not happening in version 1.15.17.
Expected behavior:
In [1]: import shapely

In [2]: shapely.__version__
Out[2]: '1.5.17.post1'

In [3]: from shapely.geometry import Polygon, LineString

In [4]: bits = LineString([(1,1), (1,3)]).intersection(Polygon([(0,0), (2,0), (2,2), (0,2)]))

In [5]: list(bits.coords)
Out[5]: [(1.0, 1.0), (1.0, 2.0)]

Actual behavior:
In [1]: import shapely

In [2]: shapely.__version__
Out[2]: '1.6.2'

In [3]: from shapely.geometry import Polygon, LineString

In [4]: bits = LineString([(1,1), (1,3)]).intersection(Polygon([(0,0), (2,0), (2,2), (0,2)]))
No handlers could be found for logger "shapely.geos"
---------------------------------------------------------------------------
TopologicalError                          Traceback (most recent call last)
<ipython-input-4-e86c844044b5> in <module>()
----> 1 bits = LineString([(1,1), (1,3)]).intersection(Polygon([(0,0), (2,0), (2,2), (0,2)]))

/Users/dfolch/anaconda2/envs/gisprog3/lib/python2.7/site-packages/shapely/geometry/base.pyc in intersection(self, other)
    618     def intersection(self, other):
    619         """Returns the intersection of the geometries"""
--> 620         return geom_factory(self.impl['intersection'](self, other))
    621
    622     def symmetric_difference(self, other):

/Users/dfolch/anaconda2/envs/gisprog3/lib/python2.7/site-packages/shapely/topology.pyc in __call__(self, this, other, *args)
     68             err = TopologicalError(
     69                     "This operation could not be performed. Reason: unknown")
---> 70             self._check_topology(err, this, other)
     71         return product
     72

/Users/dfolch/anaconda2/envs/gisprog3/lib/python2.7/site-packages/shapely/topology.pyc in _check_topology(self, err, *geoms)
     37                     "Likely cause is invalidity of the geometry %s" % (
     38                         self.fn.__name__, repr(geom)))
---> 39         raise err
     40
     41

TopologicalError: This operation could not be performed. Reason: unknown

Mac OSX 10.12.6
Shapely version 1.6.2 installed from conda-forge

I can't reproduce this with Shapely 1.6.2 from PyPI.
>>> import shapely
>>> shapely.__version__
'1.6.2.post1'
>>> from shapely.geometry import LineString, Polygon
>>> LineString([(1,1), (1,3)]).intersection(Polygon([(0,0), (2,0), (2,2), (0,2)]))
<shapely.geometry.linestring.LineString object at 0x1022409e8>
>>> LineString([(1,1), (1,3)]).intersection(Polygon([(0,0), (2,0), (2,2), (0,2)])).wkt
'LINESTRING (1 1, 1 2)'

1.6.2.post1 is only a repackaging of 1.6.2, there aren't any code changes.
I'm 99.9% sure this is a conda-forge packaging issue and will close. We can reopen if I'm wrong.


Using an I2C controller with ex_lcd

Currently the ex_lcd docs only show an example for using through GPIO, and the config requires many GPIO pins to be configured although an I2C controller would not require as many pins to be used. How would one go about interacting with an LCD screen through an I2C controller using the ex_lcd library, or is that even considered / possible?
Apologies if the issue is outside of scope or otherwise silly. I'm far from familiar when it comes to hardware, but love the ex_lcd library already.

Hey there, I am also interested in using I2C to control an LCD display - specifically the 1602 backpack.
I've found a python implementation of a driver here which will serve as a good reference for implementing it.
I can have a stab at creating it today/tomorrow - let's see how well I do :)

Thanks for the update and for the link to the driver @astutecat ! I also had the 1602 in mind when I created this issue. If you happen to advance on this front over the coming days (or whenever you find the time), I'll be more than happy to test things out and help out any way I can :)

I made some progress, mainly figuring my way around how the LCD receives commands. This is also a useful reference, it includes a C++ implementation of the driver which appears to be a bit more comprehensive - http://www.geeetech.com/wiki/index.php/Serial_I2C_1602_16×2_Character_LCD_Module
more to follow, hoping to get some actual coding done this weekend

Hey @astutecat , a belated thanks for the follow-up. Have you happened to make any further progress on this in the past months?

I also invested some time into this and I think I have a working piece of code. In the end I decided its not really worth the time and abandoned the I2C interface. Essentially, I2C is doing the same thing as the normal 4-bit mode of the LCD module. The only difference is that one has to write a full byte to the I2C "port". The first 4 bits are the 4 bits to be sent to the device, the last 4 bits are flags for EN, RS and so on. So when sending data, you wouldn't first set high on the RS GPIO port, but simply set the relevant RS bit when sending the data. pulse_en also works slightly different.
As I said, I didn't test my code… it compiles and when comparing it to the Python implementation, it looks like it should work.
If anyone wants to invest more time, here is what I have so far: https://gist.github.com/Strayer/c2b6c39f6939b4d14b7f66d25e5807eb


README typo

Hey man,
Sorry but I had a mistake in README.
Check things you need.
Wrote things tou need.
Sorry,
Bye.

Fixed. Thanks

❤


Support (or advice) for JSON schema

I currently have validated nested JSON schema. I know simple-schema doesn't support JSON schema, but I wonder if you've given it thought?  Consider it a feature request -- you are already so close.
Any advice on converting JSON schema to simple schema?  My fantasy is that you'll say, "Oh use the --something option to use json-schema," or "use the conversion script in the repo."

It has been suggested before but there is currently no support. I would like to explore it eventually, but until I have time, I'd say it's a good opportunity for someone else to make a wrapper package. When I looked into it before, there were enough differences in the small details that it added up to a rather large project.

I wouldn't expect it to be easy.   If you send me some samples of the JSON Schema you have, I can make an attempt to make it work for your cases.  I also would welcome any help with the package since I'm pretty new to JavaScript.

@fullflavedave Have you made any progress on creating a JSON schema package that works with simple schema? I looked at your public repositories but didn't see anything obvious. If you haven't I'll start working on one.

@bshamblen:  I started on a local package but only completed enough for a quick prototype for my team's needs before priorities changed.  I'm not sure any of it will be useful to you, but I'll check into github what I have so far.  I need to get back to this in a couple of weeks, so any contributions are very appreciated.  My initial thoughts that I vetted with @aldeed were:

Create a JSONSchema package and include a JSONSchema.prototype.toSimpleSchema() method for using the existing collection2 package as is.
Add a Mongo.Collection.prototype.attachJSONSchema(new JSONSchema()) method to the collection2 package.  This new method would just call JSONSchema.toSimpleSchema() and call the existing Mongo.Collection.attachSchema() method in collection2.

And @aldeed responded with this:
I had in mind JSONSchema.toSimpleSchema(), but there’s no reason you couldn’t add the attachJSONSchema prototype function, too, I guess.
I’m interested to see how it goes. I can mention it in the readme if you get it working. Since some of the SS features don’t relate to JSONSchema (custom, autoValue, etc.) there may need to be an easy way to provide some extended options that will be added to the converted schema.

@fullflavedave Thanks getting the ball rolling. Please let me know when you've made your project public and I'll take a look at it.

@bshamblen Here is my very basic start for a package so far:  https://github.com/fullflavedave/meteor-json-schema
As you can see, the transformation from JSONSchema to SimpleSchema is pretty lame (just take everything from properties), but this is mainly due to my total lack of knowledge of JSONSchema.  Just a proof of concept for me.
A working test/example is in json-schema-tests.js.

@bshamblen How is this effort going?  I’m about to dive back into generating forms/pages from backend-produced JSON, and I wanted to check in with you before I did anything.
Thanks,
Dave

@fullflavedave In the interest of getting it done as quickly as possibly I basically started from scratch, and published the package to Atmosphere a few weeks ago.
It currently supports most of the basic validation options that map to SimpleSchema's built in validation. It doesn't support a definitions block with multiple schemas or $refs to internal/external schemas, but the basic functionality is there for a single schema.
Ideally it would parse any JSON schema document and return a dictionary of schemas (one for each definition item), but I didn't have time to get it done before I had to move on to the next task.
My main use for this was to take a JSON schema document, which is generated by our API server, to automatically generate a form (using Autoform), and post the data to our API server in the Autoform onSubmit hook.

@bshamblen That's great -- I'll take a look and hopefully use it.

Amazing stuff @bshamblen!
To anyone else watching this thread, I just sent a pull request adding support for internal JSON refs: https://github.com/Yodata/meteor-json-simple-schema/pull/1
My company will be using this feature in production - many thanks to all who have contributed to let us get from the JSON schemas we use internally to full autoforms-powered GUI!

What about doing the opposite transformation - from SimpleSchema to JSON-Schema? Has anybody worked on this by any chance?

I was just asking for this... SimpleSchema --> JsonSchema and then the npm world of JSON schema becomes available to us, like this https://github.com/json-schema-faker/json-schema-faker


Connection to Postgres on MacOS X fails with non standard port

Hi.
thank you for the great work you are doing here!
Not sure if I identified the source of the problem but I guess with Version 3 there could be a problem with parsing the connection string: Connection to Postgres on MacOS X fails with non standard port
Tested it with users without password etc. and nothing worked until I downgraded to the latest 2 version where I can specify the db port manually.
to connect I tried the string: postgres://postgres@localhost:6001/testdb
Error I got: can't connect to the database. In the db log file no entry was found for wrong authentification. pg_hba is probably correct as old version and pgadmin are able to connect.

What is the username/password of your authenticator role? (--db-role/--db-pass in the previous format I believe)
Those values go in the connection string like so: postgres://role:pass@localhost:6001/testdb or they can be omit with postgres://localhost:6001/testdb to use the defaults.

Hi. yes tried it with<EMAIL_ADDRESS>then remove the password and tried with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>. Then created a login and db for default user and tried without user and password... always the same problem. Server log doesn't show any activity at all

Ok cool, that wasn't entirely clear from the OP and postgres as a user name is generic, forgive me for checking 😊
Could you show me the exact statement you typed with all the other parameters? Both for when it works with 2.x and what you expect to work in 3.x. I need more information to help debug 😐
Also, what does PostgREST output? The help text?

Hi
So what works is (pg_hba localhost is on "trust" level):
localhost on mac 6001 port
./postgrest:old_0.2.12 -d petr -P 6001 -U petr -a petr -p 4001 --v1schema public
or remote host on pc default port
./postgrest_old_0.2.12 -d postgres -P 6001 -U postgres -a postgres -p 3001 --v1schema public --db-host <IP_ADDRESS>
What doesn't:
./postgrest postgresql://localhost:6001/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgresql://localhost:6001/petr" in connection info string\n","message":"Can't connect to the database"}
./postgrest postgresql://petr@localhost:6001/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgresql://petr@localhost:6001/petr" in connection info string\n","message":"Can't connect to the database"}
./postgrest postgresql://petr:@localhost:6001/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgresql://petr:@localhost:6001/petr" in connection info string\n","message":"Can't connect to the database"
./postgrest postgres://petr:@localhost:6001/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgres://petr:@localhost:6001/petr" in connection info string\n","message":"Can't connect to the database"}
/postgrest postgres://petr@localhost:6001/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgres://petr@localhost:6001/petr" in connection info string\n","message":"Can't connect to the database"}
Petr-Beless-MacBook-Pro-6:downloads petr$
./postgrest postgres://localhost:6001/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgres://localhost:6001/petr" in connection info string\n","message":"Can't connect to the database"}
Petr-Beless-MacBook-Pro-6:downloads petr$
./postgrest postgres://localhost/petr -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgres://localhost/petr" in connection info
string\n","message":"Can't connect to the database"}
./postgrest postgres://localhost:6001/ -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgres://localhost:6001/" in connection info string\n","message":"Can't connect to the database"}
./postgrest postgres://localhost:6001 -p 4001 -a petr  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after "postgres://localhost:6001" in connection info string\n","message":"Can't connect to the database"}
PC default port:
./postgrest<EMAIL_ADDRESS>-p 4001 -a postgres  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after<EMAIL_ADDRESS>in connection info string\n","message":"Can't connect to the database"}
./postgrest<EMAIL_ADDRESS>-p 4001 -a postgres  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after<EMAIL_ADDRESS>in connection info string\n","message":"Can't connect to the database"}
/postgrest<EMAIL_ADDRESS>-p 4001 -a postgres  -s public
WARNING, running in insecure mode, JWT secret is the default value
Listening on port 4001
postgrest: {"details":"missing "=" after<EMAIL_ADDRESS>in connection info string\n","message":"Can't connect to the database"}

what version of postgresql are you running? it should be above 9.3

Hi
It is newest version (9.4)
Regards
Petr
2015-11-30 21:14 GMT+01:00 Ruslan Talpa<EMAIL_ADDRESS>
what version of postgresql are you running? it should be above 9.3
—
Reply to this email directly or view it on GitHub
https://github.com/begriffs/postgrest/issues/394#issuecomment-160747130.

I still think there is something with the configuration of your db.
That error your get comes from postgresql lib.
can you try connecting to the db using psql with the same connection stirng?
http://www.postgresql.org/docs/9.4/static/app-psql.html

I couldn't reproduce the error, the following string should work: postgrest postgres://petr@localhost:6001/petr -p 4001 -a petr -s public.
Postgres connection strings can be in two types: one the URI format we recommend and two a key=value format separated by spaces. Because of the missing "=" part I can tell postgres is trying to parse the key/value format. For more info about both formats, the Postgres docs have a great explanation. @ruslantalpa is right, the error is coming from the Postgres library. It is a formatting issue.
Here is my best guess to what the error is, you are using a local ./postgrest binary, so is there any possibility you are transforming the parameters in any way? I tried the following:
postgrest " postgres://petr@localhost:6001/petr" -p 4001 -a petr -s public (notice the space in the URI string) and sure enough I got your error.

In case it helps, I am using the following (0.3.1) and it works flawlessly (using socket, no password, on linux)
postgrest -- postgresql:///petr?user=petr --schema public --anonymous petr

Thanks for all the help. Tried with psql and he doesn't like to connect without a password even pg_hba is set to trust => will sort out the connection of psql first and hopefully the other problem disappears... will check tomorrow

@pbel78 any progress debugging this?

Hi. I'm not 100% sure but my best guess is that on the Mac having the issue there are several version of postgres installed (9.1,9.2 and 9.4). As postgrest is working on my PC to connect to the 9.4 db on the Mac I close the issue as I believe that my mac maybe confuses some libararies he is using. Will verify that when I got more time but for now I close the issue. Thank you for everybody that helped to point me to the rigth direction.

pbel, u can use the following command:
postgrest  "host=localhost dbname=postgres port=6001" -p 4001 -a petr -s public


Port to net standard

Creation of project in .net standard.
Link the files from Telepathy project to TelepathyStandard project.
Upgrade in Nunit version and addition of test adapter in the tests project.

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #29   +/-   ##
======================================
  Coverage    81.9%   81.9%
======================================
  Files           8       8
  Lines         326     326
  Branches       20      20
======================================
  Hits          267     267
  Misses         48      48
  Partials       11      11

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 e53905d...0a6f661. Read the comment docs.

@paulpach what do you think about this one?
my knowledge of .net / c# is a bit limited

@Mun1z   doesn't this break the assembly for .Net 3.5?

@paulpach  It does not break, as it is a new standard .NET type project added in the solution, this project uses the same project classes in .net 3.5, they only have advantages, with this new standard .Net project now you can use telepathy in projects type .net core, .net standard, xamarin and any other with .net 4.x. in addition to maintaining compatibility with earlier versions using 3.5.

Call me crazy,  but is it not just a matter of
msbuild.exe MyProj.proj /p:TargetFrameworkVersion=netstandard2.0

Also,  why is nunit update in this pull request?  what does that have to do with .net update?

No @paulpach , .net standard is not a new version of the .net framework, it is a different framework, just like .net core, the .net standard it was created for code compatibility between .net applications and .net core applications, when we have developed .net libraries now we have to take into account all the different .net frameworks.
I do not know if you know but a few years ago .net was rewritten to be multiplatform, it is called .net core, the .net core besides being multiplatform it is also about 10 times faster than the old .NET, sometimes the perfomance is the same as that of c ++.
As it is a different framework then .net core does not support old .net nor the reverse, so microsoft created the .net standard to perform this code sharing between different .net frameworks.
A standard .NET library will work on the old .NET, .net core, unity, xamarin, blazor, mono, and any other frameworks that use C #, f #, q #, any microsoft technology. that's god's stuff.

@Mun1z  what about multi target https://oren.codes/2017/01/04/multi-targeting-the-world-a-single-project-to-rule-them-all/
also read this:  https://markheath.net/post/supporting-net-standard-and-net-35
all we would need to do is add this to the .csproj file:
<TargetFrameworks>netstandard2.0;net35</TargetFrameworks>
and I still don't understand what nunit update is doing here.

Okay @paulpach , I'm at work now but once I get home I'm testing the csproj approach, I really did not know it might work, the unit test only worked on my machine when I updated the packages so it went up together.

The multi-target branch has been merged.   It should now support .netstandard2.0  I am going to close this as not necessary anymore.   Feel free to reopen if I missed something


Update to 0.8.2

Bugfix release: use correct AWC station_url.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Tried updating ES in hook, internal server error

Hi there, I'm working on integrating elasticsearch using this library and the example (https://github.com/Meteor-NY/devshop-elasticsearch). I have a hook that looks like this:
VolunteerProfiles.after.insert((userId, doc) => {
  console.log("[VolunteerProfiles.insert.hook]", doc)
  ES.insert(doc, {fieldsToInclude: FIELDS_TO_INCLUDE});

  console.log("[VolunteerProfiles.insert.hook] ...Adding record to ElasticSearch");
});

However when I insert a new doc, e.g. VolunteerProfiles.insert({interests: "Bike jumping, skydiving, political research, Javascript programming"}) I have the following errors in Meteor:
[VolunteerProfiles.insert.hook] { interests: 'Bike jumping, skydiving, political research, Javascript programming', _id: 'DaFmuaNKFqtEzrnKy' }
Exception while invoking method '/volunteer-profiles/insert' Error: [mapper_parsing_exception] failed to parse

And here's what it says in the ElasticSearch log:
[DEBUG][action.index             ] [Clea] failed to execute [index {[volunteers][profile][DaFmuaNKFqtEzrnKy], source[{"interests":"Bike jumping, skydiving, political research, Javascript programming","_id":"DaFmuaNKFqtEzrnKy"}]}] on [[volunteers][1]]
[...]
Caused by: java.lang.IllegalStateException: Mixing up field types: class org.elasticsearch.index.mapper.core.StringFieldMapper$StringFieldType != class org.elasticsearch.index.mapper.internal.IdFieldMapper$IdFieldType on field _id

Unfortunately I'm a bit stumped by this. It looks like it has to do with the _id mapping and the dynamic type detection of Elastic.

Hi was able to resolve this by manually modifying the packages script to remove the doc._id field, where you have this
alanning_elasticsearch.js file in package folder
Before:
// create a document in Elastic Search
self.EsClient.index({
index: config.index,
type: config.type,
id: doc._id,
body: doc
});
After:
doc.listing_id = doc._id.toString();
delete doc._id;
// create a document in Elastic Search
self.EsClient.index({
  index: config.index,
  type: config.type,
  id: doc.listing_id,
  body: doc
});

Just troubleshooting so the proper thing will be to modify the package so that in insert or update into elastic search, it renames the field _id into another field when saving the body (Elasticsearch throws this error because it uses a field called _id internally as well)


32d will not connect to bluetooth with out reset button when powered by anything but micro usb (IDFGH-1797)

-wemos D1 pin d4 connecting to a D 32 with pin 16 and the power from the
D 32 is coming off the 3.3 V and ground on the d1 when we powered that way with the USB being plugged into the D1 we cannot make a connection to a Bluetooth speaker without pressing the reset button on the d32. then something from pressing the reset does someting and then it will connect to a bluetooth speaker,
we have allso tried connecting from the 5v to the boards and it wont connect either.  it will only work and make a bt connection when we connect to the d32 with micro usb
i attached code
however if I power in through the usb on the D 32 and then power the d1 from the D 32 from 3.3v and ground i could connect to a Bluetooth speaker not requiring the reset button to be pushed which is what we need as we can not access the board normally so pushing the reset button is not an option
3.0main.txt

naten2.txt
i attached serial monitor
here is the data from serial monitor on the d32 here is what we did
i load code on d32
then load our code on d1   only connection between the 2 is on pin 16 on d32
our device connects to speaker but no sound
then i press our test button on our config page our light works but no sound
then i press the reset button on the d 32 the d32 disconnects and reconnects to the speaker
then i press our test button on our config page and it works both the light and sound play
so it is something to do when i press reset on the d32 that fixes the code issue?
i attached it here


Update README.md

correct dockler.sh position which is in the sparkler-core position
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Is this related to an already existing issue on sparkler?
If so, mention that issue by referencing its number here.
Will it close an existing issue?
Say 'Closes #IssueNum' here.
How was this patch tested?
We are particularly interested in unit tests, integration tests, manual tests you did to ensure that the patch works as expected, so briefly describe them.
Please review
https://github.com/USCDataScience/sparkler/blob/master/.github/CONTRIBUTING.md before opening a pull request.

Thank you @berkarcan


UX Researcher: Research user needs for first time experience on CMS

Logging in
Walkthrough/tool tips
Navigation

Blocker for #333 + #334


Stack Overflow while writing OGG

If write long frames to ogg, python will crash without any traceback or info. After faulthandler enabled, it will give "Windows fatal exception: stack overflow"
Environments: Windows 10, Python 3.10.8
import faulthandler
import soundfile
import numpy as np

faulthandler.enable()

def work():
    f = soundfile.SoundFile("random.ogg", "w", 44100, 1)
    data = np.random.randn(600000)
    f.write(data)

work()

Oddly, while reduced to 500000, it will run successfully probabilistically or give "access violation".
While python Crashed, the output ogg truncated at 4KB.
For the stack limit of Windows dll call, a solution is to run in a new Thread.
import threading

threading.stack_size(16777216)
t = threading.Thread(target=work)

t.start()
t.join()

I can't confirm whether other problems related to ogg write crashes are also this reason. I think it is possible to add instructions in the documentation or provide other thread wrapping methods.

Thank you for the bug report. However, I'm afraid you'll have to create the bug report in libsndfile, the C library soundfile is built upon. Segfaults are not generally caused by soundfile, but usually somewhere in the OGG decoder inside libsndfile.


Support the class option for directives

Per https://docutils.sourceforge.io/docs/ref/rst/directives.html#common-options , any directive with content allows a class option that adds custom classes to the directive's DOM element.
We rely on this in some parts of the Symfony documentation, it would great to add support for this option.

Failing test on Symfony's docs-builder tests
https://github.com/wouterj/symfony-docs-guides/actions/runs/4713936115/jobs/8359959701
5) SymfonyDocsBuilder\Tests\HtmlIntegrationTest::testBlocks with data set "code-blocks/terminal.rst" ('/home/runner/work/symfony-doc...al.rst', '/home/runner/work/symfony-doc...l.html')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 # Civilization for DOS - my first computer game!
\n

\n

\n
-
\n
+
\n

\n

1
\n

$git branch -D sessions-in-db ||true
\n

\n

'

/home/runner/work/symfony-docs-guides/symfony-docs-guides/lib/docs-builder/tests/integration/HtmlIntegrationTest.php:29```

We do support the class attribute, however the templates have to output the class attribute. You think the responsibility should lie with the template or somewhere else? However in some output formats classes do not make sense?
See for example these tests in https://github.com/phpDocumentor/guides/tree/main/tests/Integration/tests/class-directive

Yes, the .. class:: directive works as expected (although we need to update most default directive templates in this library to use node.classes). The :class: option is not yet implemented.
See e.g. this failing test case: https://github.com/phpDocumentor/guides/compare/main...wouterj:guides:issue-302 (this option should work on almost all directives)
I discovered you already worked on a PR to add support for this option in #257


Transaction card updates

Description
The transaction card design has been updated. This PR updates the component to match these changes.

Removes dropdown
Adds option to add a link to the name through name_href attribute
Renames product element and attributes to related_property
Adds option to add a link to the related_property through related_property_href attribute
Adds transaction_state section (replaces dropdown)
Adds name_tag (rails) NameTag (react) to allow for heading element to be set and not be hard-coded. Will default to h4.

Screenshots

Before
After

Test notes
REACT:

Visit: http://localhost:4100/?path=/story/sage-transactioncard--default
Verify dropdown is no longer available
Verify link is added to the name
Verify link is added to the related_property
Verify transaction_state text displays in place of dropdown
Verify product-related naming is updated to related_property (elements and attributes)
Adjust controls to ensure things work as expected.

RAILS:

Visit http://localhost:4000/pages/object/transaction_card
Verify dropdown is no longer available
Verify link is added to the name
Verify link is added to the related_property
Verify transaction_state text displays in place of dropdown
Verify product-related naming is updated to related_property (elements and attributes)

Estimated impact

[ ] (LOW) Removes dropdown, adds an optional link to name and related_property, and adds new transaction_state text for Transaction Card. This component is not currently in use and these changes are being made in preparation for work to begin during the next cycle.

Related

@Isabelleplatt - I've made the adjustments for the transaction card. Just mentioning it here since there is no official Jira ticket.
cc: @kimjaej

One thing @pixelflips might want to also be able to link the offer name as that is currently available in the view.

One thing @pixelflips might want to also be able to link the offer name as that is currently available in the view.

@cmcfadzean does having that as an optional attribute work for your case? Meaning that it could be both a link and also not a link? Also, I noticed you refer to offer and not product... should we update that naming as well?

One thing @pixelflips might want to also be able to link the offer name as that is currently available in the view.

@cmcfadzean does having that as an optional attribute work for your case? Meaning that it could be both a link and also not a link? Also, I noticed you refer to offer and not a product... should we update that naming as well?

Great questions. I would suggest that optional is terrific. I would also suggest we make the naming more generic so the component could be used for other uses if necessary. ( Technically it is the offer tho not the product )

Great questions. I would suggest that optional is terrific. I would also suggest we make the naming more generic so the component could be used for other uses if necessary. ( Technically it is the offer tho not the product )

@cmcfadzean ok awesome, I will adjust right away. thanks for the info! stay tuned and I'll let you know when it's updated.

@kimjaej there will be a couple of additional changes applied to the transaction card. See convo above. I will let you know as soon as these are completed. Should be quick.
cc: @Isabelleplatt

@Kajabi/ux-devs based on some additional design updates needed I am going to request another review. thanks in advance!

@kimjaej I have just merged in the updates for the transaction card. Let me know if any questions come up. The latest adjustments should be available after this week's Sage version bump. All details are listed above, but you could always bridge your local version with the develop branch if needed sooner.
cc: @Isabelleplatt


add tqdm to dependencies

Codecov Report

Merging #53 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
+ Coverage   88.51%   88.58%   +0.07%
==========================================
  Files          31       31
  Lines        1367     1367
==========================================
+ Hits         1210     1211       +1
+ Misses        157      156       -1

Impacted Files
Coverage Δ

scvi/metrics/clustering.py
95.55% <0%> (+2.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Cleaning up to use SIS Guest.

Now uses SIS Guest.
Cleaned up some magic numbers.
Needs the csv thinger added. (very technical term)

Just gonna :+1: and merge this in, then I'm gonna start working on this so you can do testing things.


Use specific exceptions instead of wrapped into RuntimeException

Current coverage is 83.02% (diff: 85.31%)

Merging #247 into master will increase coverage by 0.82%

@@             master       #247   diff @@
==========================================
  Files           164        165     +1
  Lines          6078       6044    -34
  Methods           0          0
  Messages          0          0
  Branches        619        610     -9
==========================================
+ Hits           4996       5018    +22
+ Misses          969        915    -54
+ Partials        113        111     -2

Powered by Codecov. Last update 7ec66cb...2f23923

@armiol we can probably add this PR into 0.7.0, but I've already advanced the version to 0.7.1.
It's up to you to decide.

@alexander-aleksandrov review the refactorings in this PR.


[FLINK-22318][table] Support RENAME column name for ALTER TABLE state…

code review

Please do not use "git merge" to rebase branches, otherwise the changes is hard to track. Please use "git rebase" instead. IntelliJ IDEA provide an easy tool to do git rebase, you can find the tool via VCS -> Git -> Rebase.

@wuchong   done

Can you help rebase the master branch and resolve the conflicts?

The author has not responded for some time, I will take over this issue. This PR will be closed.

Thanks for the contribution @todd5167 , let's continue the work in #19329


Add examples folder

[ ] Hello world
[ ] Multiple bundles (e.g.: cli.js -> dist/cli/ and main.js -> dist/main)

Would also be good to add examples for programmatic use and TypeScript support 😎
Can get started on a PR for these

What's the optimal way to do multiple bundles? Programmatic?
Would there ever be a day where ncc takes a glob to build? (e.g. ncc build *.js or ncc build {cli,main}.js)

@maxbeatty looks like there is a little bit of talk about supporting multiple entry points in #113. As of now, I believe the only way to support multiple bundles right now would either be:
ncc build a.js -o dist
ncc build b.js -o dist

or with a custom build script using the ncc Node API:
const path = require('path')
const ncc = require('@zeit/ncc')

// Whatever options you want. This is an example.
const options = {
  minify: true,
  sourceMap: true,
  watch: false,
}

Promise.all([
  ncc(path.resolve('./a.js'), options),
  ncc(path.resolve('./b.js'), options),
])
  .then(([a, b]) => {
    // Builds succeeded!
    // You can write the code and sourcemaps to disk or whatever you'd like to do here.
    console.log(a.code)
    console.log(a.assets)
    console.log(a.map)
  })
  .catch((err) => {
    // There was an error in one of the builds.
    console.error(err)
  })

(where a.js and b.js live in the folder you are running the script from. Those sorts of file paths would need to be updated to suit your needs.)
I think examples for programmatic use (both for one entry point and multiple entry points) would be welcome additions to this repo to help guide people in understanding what options are available / best practices are around multiple bundles + programmatic use. 👍


My bitcoins are gone from my account

I had over $800 in bitcoin in my Copay wallet and it shows my balance as zero today. I have not made any purchases or transferred it.  I need someone to find out where my money is.

Had the same issue. Just checked my wallet, money is back. Time to find a new wallet..

Just clear your cache in advanced settings and funds will return

I updated my phones iOS and it was fixed

@zylosz
we have developed our own hardware for cracking all versions of bitcoin wallet password with superfast speed
and if you still has problem I can help you run it. you can find my contact details on my profile
or you can send me message in telegram: @johnjames333 or gmail<EMAIL_ADDRESS>


Cleanup unneeded debug messages in team controller

Description of your changes

Fixes #
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

thanks for the cleanup!


[VS Code] Starting collaboration session: Object reference not set to an instance of an object.

LiveShareLogs.zip

Error:
Starting collaboration session: Object reference not set to an instance of an object.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
1.0.18

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.33.0

platformName
Linux

platformVersion
4.15.0-47-generic

Could you provide some more information about what you were doing when this happened? Does this consistently happen for you? What's the effect of this? Are you unable to share?

Closing due to inactivity. Please reopen if you can provide us with more info.


Roe 2275 remove entity poc

Update to allow remove entity flag to be passed to the api as a field.

dist folder changes shouldn't be part of the PR.

dist folder removed


remove parallel effect

i want to remove parallex effect on header while scrolling down it should behave like tableview header, Any help would be appreciated.

if found it
segmentPager.bounce = false
sorry for inconvience

@ajaysinghthakur Thanks for the question and solution.


[PL-49306] Update delegate release notes with new expiration policy - breaking change

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: Update delegate release notes with new expiration policy - breaking change, update kb pl faq
Jira/GitHub Issue numbers (if any): PL-49306
Preview links/images (Internal contributors only): preview building

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66297c640acff614fc857d47--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6633982a1c731513014d2d29--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66339d0ca526c916d61986f2--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66354ae4822f9453201cb1ff--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66354afc692e0851cdf68323--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://663677c18807c024cfabd84d--harness-developer.netlify.app


impl JackHandler for FnMut + Send + 'static

Most JackHandlers are probably just going to be an implementation of the process method. It would be convenient to allow users to pass a closure as a JackHandler.

Took a stab at it #26
Why does it need the static?
If my model of lifetimes is correct, then the port's would also need to be static in this case.

Yes, the ports should also need to be static in order to ensure soundness.
It's the whole "mem::forget is stable" thing. If you call mem::forget on a Client, the client's registered callbacks will continue to be triggered for the duration of the process (unless you manually deregister them later on). Therefore, any resources used in the callback must be valid for the 'static lifetime.

To give an example, here's a modified version of the playback_capture example that demonstrates this unsoundness:
 let x = 5;
 let x_ref = &x;
 let process_callback =
         ProcessClosure::new(move |ps: &jack::ProcessScope| -> jack::JackControl {
             // x_ref must still be valid here!
             let closure_x = *x_ref;
             out_a.data(ps).buffer().clone_from_slice(in_a.data(ps).buffer());
             out_b.data(ps).buffer().clone_from_slice(in_b.data(ps).buffer());
             jack::JackControl::Continue
         });
 // Activate the client, which starts the processing
 let active_client = client.activate(process_callback).unwrap();
 mem::forget(active_client);
 // Client is forgotten but not deregistered, stack pops up and x is lost
 // Callback then dereferences x_ref and gains access to stack garbage

Fixed in #26


Develop

Resolved #14 #15 #16

Coverage increased (+2.5%) to 54.043% when pulling a7b87fa9971b6e8b0dbae29162209278fd04ed44 on develop into a9233796034bf25ec1379d4d65a8ee3b3cc566a1 on master.


fixed formulas in p02-c07

fixed formulas

@smolix - Steffen's made a pass over much of your P02-C07. Since you're the owner of this notebook, can you vet / merge the changes?

Unfortunately the two changes are an inline $$ ... $$ equation and a $x'$ to $x^'$ change. Both are not ideal for LaTeX. Rejecting PR for this reason. Thanks for the other PRs, though!!!


Add mark step before computing model hash

This PR adds a xm.mark_step() right before moving the model weighs to the CPU following @aws-rhsoln suggestion in #301 .
@aws-rhsoln since we do not do any forward pass prior to that, is this xm.mark_step() going to do anything? At this point no graph was recorded.

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!


fix: add config values for external service information

Description
Add wallet information settings to the services service
Why
Those values got introduced to be display as provider information.
Issue
Ref: #459
Corresponding Backend PR
https://github.com/eclipse-tractusx/portal-backend/pull/1081
Checklist

[x] I have performed a self-review of my changes
[x] I have successfully tested my changes
[x] I have added comments in the default values.yaml file with helm-docs syntax ('# -- ') if relevant for installation
[x] I have commented my changes, particularly in hard-to-understand areas

Hi @Phil91 | @evegufy
Corresponding backend PR (https://github.com/eclipse-tractusx/portal-backend/pull/1081) has been merged so, I guess this configuration PR also needs to be merged. Thanks


Add the ability to execute a python script in virtual environments

Pre-review checklist

[X] I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
[X] I've added or updated automated unit tests to verify correctness of my new code.
[N/A] I've added or updated integration tests to verify correctness of my new code.
[X] I've confirmed that my changes are working by executing CLI's commands manually.
[X] I've confirmed that my changes are up-to-date with the target branch.
[N/A] I've described my changes in the release notes.
[X] I've described my changes in the section below.

Changes description
Added a utility method to execute a python script in a virtual environment. This a building block for an upcoming native applications feature.
Testing
I tested the logic on both Windows and Mac using a manually written driver and a combination of different python versions installed globally, conda environment and venv environments. Also added unit tests to cover 100% of the logic.

Can we add two tests:

blocking versions < 3.8 (and making this minimum python version a constant somewhere)
testing when the underlying script fails somehow (e.g. InterpreterError)

As discussed, we're not blocking python versions here. As for errors, I added a test that simulates a non-zero exit code. However, if the script fails to execute, that happens in a subprocess so there is nothing to catch. Same with bad command line args or anything like that. The exceptions are raised for timeouts, but I meant for those to propagate (they might be retryable on the client side), or when check_returncode is called, but that's in client code if at all. The sandboxing logic does not need to (or want to) call that.


Virtualmin Filemanager uses homedir twice when navigating

Hi,
in Virtualmin/Webmin when working a restricted virtualserver admin File Manager uses home directory twice (e.g. /home/example.com/home/example.com/public_html) rather than just /home/example.com/public_html. This does not happen when switching to a different theme.
I'm currently running on CentOS 7.5.1804, Usermin 1.741, Webmin 1.900 and Virtualmin 6.04.
Please excuse me if I missed something to workaround this issue, someone else having this issue too?
Regards,
Andreas

Hi, Andreas!
What do you mean by uses twice ? It opens the tab on each new reload? Could you please provide the screenshot?

No, the File Manager does not open new tabs, but it tries to access wrong (non-existent) directories when browsing inside a home directory of a virtual server.
I'm attaching a screenshot showing an error message in a red box. The home directory of the virtual server is set to /home/example.com, but File Manager tries to access /home/example.com/home/example.com.
.
This issue is only arising when working with the virtual server's admin account. When working with the Virtualmin root account I don't see that issue. Just in case it helps: virtual server admin uses chroot.
-Andreas

Do you have steps to reproduce it? I have logged in as server-owner and everything seems to work as expected?

The only way to reproduce it is actually first create a directory, then delete it using console (or by other means) and then going back to File Manager will return this error.
It's not a bug but a feature.


Live: Fix data.history() call's date range

Coverage decreased (-0.01%) to 86.02% when pulling 1f7c51b0041a3c17edb400754b923cfcafb460b8 on tibkiss:fix/history_in_live into d6170d70fffe97e584c286ffae6fb8a97f238027 on zipline-live:master.


OLS-617: Add alert runbooks as a RAG content source

Description
Switch to the rag-content image with the alert runbooks added to it as per OLS-617.
Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue # https://issues.redhat.com/browse/OLS-617
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/approve

/unhold

/lgtm


Video content disposition

Purpose
Like we did in #504 we stop changing the video content-type in a lambda and override the content-disposition response header to force the download and to change the file name using the video title.
Proposal

[x] allow to forward querystring to S3 bucket in cloudfront configuration
[x] use the response-content-disposition querystring to override the content-disposition header
[x] stop changing video content-type in lambda-complete

This PR will not be merged. We choose to implement an other way how download are done in #508


test: fatal :add testcase

This is an integration testcase for fatal. It tests
the situation when smp is configed. Fatal can be invoked on
different core.
Signed-off-by: Ying ming<EMAIL_ADDRESS>

Can this be folded into an existing SMP test please?

I have put this testcase into tests/kernel/smp because we classify testcases in this directory are integration test and  testcases in tests/kernel/fatal/exception are module test.


Pub/Sub with Astronomy

I guess that Astronomy is agnostic of the Pub/Sub system i.e. if we create a doc in the client, and save it with doc.save(), then to access the saved data, we need to subscribe to a publication that permits access to the information we just saved.
Is that correct?

This happens specially with data injected by behaviours such as the timeStamp.

@jagi how do you handle pub/sub with astronomy?

@PolGuixe Astronomy does not change anything about publication. You can use either Class.find() and Collection.find(). Both return Mongo cursor. There is nothing special about the timestamp behavior that you should take into account when working with pub/sub. The only difference is the softremove behavior when you should use Class.find() to only publish non-softremoved documents.


PR to fix security alerts by checkov

Description
This PR was created to fix the following security alerts;

fix: CKV2_AWS_30 #"Ensure Postgres RDS as aws_db_instance has Query Logging enabled"
fix: s3 import exampleCKV_AWS_145: "Ensure that S3 buckets are encrypted with KMS by default"
fix: s3 import exampleCKV_AWS_18: "Ensure the S3 bucket has access logging enabled"
fix: s3 import exampleCKV2_AWS_6: "Ensure that S3 bucket has a Public Access block"
fix: s3 import exampleCKV_AWS_19: "Ensure all data stored in the S3 bucket is securely encrypted at rest"
fix: s3 import exampleCKV_AWS_144: "Ensure that S3 bucket has cross-region replication enabled"
fix: mssql example CKV_AWS_157: "Ensure that RDS instances have Multi-AZ enabled"
fix: mssql example CKV_AWS_16: "Ensure all data stored in the RDS is securely encrypted at rest"
feat: use s3 module to create the bucket in example.

Features/Fixes/Patches/Changes list:
Please check the CHANGELOG.md
Checklists:

PR Owners Checklist:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked there aren't open Pull Requests of upstream or parallel code that will cause conflicts?
[x] Have you updated the CHANGELOG.md?
[x] Have you updated the README.md(s)?
[x] OWNER: Does your submission pass?

[ ] Pre-commit (attach logs/print screen to this PR)
[x] Checkov/terrascan (attach logs/print screen to this PR)
[x] Terraform resources examples build/destroy successfully with Terraform 0.14.11 minimum?

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully run tests with your changes locally?
[ ] First PR? Have you deleted ## How to use this template... from the root .README.md?

PR Reviewers Checklists?

[ ] Are all your comments/changes resolved?
[ ] Are you happy with the OWNER checklists and additional information provided?
[ ] Does your review tests pass?

[ ] Terraform resources examples build/destroy successfully with Terraform 0.14.11 minimum?

BTW, received this message: │ Warning: Argument is deprecated │  │   with module.rds_vpc.aws_vpc.main, │   on .terraform/modules/rds_vpc/main.tf line 16, in resource "aws_vpc" "main": │   16:   enable_classiclink                   = var.enable_classiclink │  │ With the retirement of EC2-Classic the enable_classiclink attribute has been deprecated and will be removed in a future version. │  │ (and one more similar warning elsewhere)

I think we could have a similar way of deployment "toggle" for OptionGroup and ParameterGroup, let me explain:
Right if we want to create an option group we need to set the boolean to true. With parameter groups this is not the case. I think it'll be better if we have a consistent way of deploying these two assets.
My point is, there is no a variable like create_option_group for the parameter group. The option group is created when that value is set to true, and the parmaeter group when length(var.parameter_group) > 0 ? 1 : 0.

No example uses Parameter Group

No example uses Parameter Group

@mariomerco  this has been captured in changelog to be included in a future release

BTW, received this message:
│ Warning: Argument is deprecated
│
│   with module.rds_vpc.aws_vpc.main,
│   on .terraform/modules/rds_vpc/main.tf line 16, in resource "aws_vpc" "main":
│   16:   enable_classiclink                   = var.enable_classiclink
│
│ With the retirement of EC2-Classic the enable_classiclink attribute has been deprecated and will be removed in a future version.
│
│ (and one more similar warning elsewhere)

This is was as a result of using an older version of vpc module. I have updated it to use the latest version @mariomerco

Rejected


how to transfer a event/fact in tflowchart

as the demo code:
`
with flowchart('expense'):
with stage('input'):
to('request').when_all(c.first<<(m.subject == 'approve') & (m.amount <= 1000))
to('deny').when_all(c.first<<(m.subject == 'approve') & (m.amount > 1000))
with stage('request'):
    @run
    def request(c):
        print('requesting approve')

    to('approve').when_all(m.subject == 'approved')
    to('deny').when_all(m.subject == 'denied')
    # reflexive condition: if met, returns to the same stage
    to('request').when_all(m.subject == 'retry')

with stage('approve'):
    @run
    def approved(c):
        print('expense approved')

with stage('deny'):
    @run
    def denied(c):
        print('expense denied')

post('expense', {'subject': 'approve', 'amount': 100})
post('expense', {'subject': 'retry'})
post('expense', {'subject': 'approved'})
post('expense', {'sid': 1, 'subject': 'approve', 'amount': 100})
post('expense', {'sid': 1, 'subject': 'denied'})
post('expense', {'sid': 2, 'subject': 'approve', 'amount': 10000})
`
I want transfer first event's value to "approve" stage,  so I add "c.first" in line 3 and 4. "request" stage can get the value about first events,  but I have no idea how to thransfer this value and to the next stage("approved").  I have tried lots of methods, but not work, even decalre a outer variable.

Hi, thanks for asking the question. Inside the @run function of the 'approve' stage you can access the event that triggered the transition:
    with stage('approve'):
        @run
        def approved(c):
            print('expense approved {0}'.format(c.first.amount))


User defined metadata for uploaded S3 products

🗒 Summary
This PR enhances the DUM service to include several user-defined metadata fields with the pre-signed URLs returned to the client. These user-defined fields become associated with the uploaded file once in S3, and can be viewed from the console:

This branch also adds inclusion of the MD5 digest of an uploaded file with the pre-signed URL, so that AWS can validate the integrity of uploaded files automatically at time of ingest to S3.
⚙ Test Data and/or Report
Unit test suite has been updated to accommodate changes to the request payload structure.
New features have been tested in MCP dev environment to verify user-defined metadata is now associated to uploaded S3 objects.
♻ Related Issues

Resolves #87
Resolves #50

@jordanpadams Tagging you on this so you can confirm that the screenshot provided above contains all the user-defined metadata you are (currently) looking for.

@collinss-jpl just to confirm, the last modified date is from the file on the file system prior to upload, correct?

@collinss-jpl just to confirm, the last modified date is from the file on the file system prior to upload, correct?

That is correct. Perhaps the name should be something like local_last_modified so as not be confused with the S3 last modified time, which AWS manages itself

@collinss-jpl looks great! Thanks!


multiple intermittent test failure on ARC

My suspicion is that these are all related to the patch which sets nsim_isa_host_timer=1
tests/kernel/lifo/lifo_usage/kernel.lifo.usage
===================================================================
starting test - test_timeout_threads_pend_on_lifo
 thread (q order: 2, t/o: 0, lifo 0x800000c4)

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/lifo/lifo_usage/src/main.c:141: test_multiple_threads_pending: (data->timeout_order not equal to ii)
 *** thread 2 woke up, expected 1

FAIL - test_timeout_threads_pend_on_lifo
===================================================================

tests/kernel/workq/work_queue/kernel.workqueue
===================================================================
starting test - test_delayed_resubmit
Starting delayed resubmit test
 - Submitting delayed work
 - Waiting for work to finish
 - Resubmitting delayed work
 - Resubmitting delayed work
 - Resubmitting delayed work
 - Resubmitting delayed work
 - Resubmitting delayed work
 - Checking results

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/workq/work_queue/src/main.c:119: check_results: (num_results not equal to num_tests)
*** work items finished: 5 (expected: 6)

FAIL - test_delayed_resubmit
===================================================================
starting test - test_delayed_resubmit_thread
Starting delayed resubmit from coop thread test
 - Waiting for work to finish
 - Resubmitting delayed work with 1 ms
 - Resubmitting delayed work with 1 ms
 - Resubmitting delayed work with 1 ms
 - Resubmitting delayed work with 1 ms
 - Resubmitting delayed work with 1 ms
 - Resubmitting delayed work with 1 ms
 - Running delayed test item 1
 - Checking results

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/workq/work_queue/src/main.c:119: check_results: (num_results not equal to num_tests)
*** work items finished: 7 (expected: 1)

FAIL - test_delayed_resubmit_thread
===================================================================
starting test - test_delayed_cancel
Starting delayed cancel test
 - Cancel delayed work from preempt thread
 - Waiting for work to finish
 - Cancel delayed work from coop thread
 - Checking results

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/workq/work_queue/src/main.c:119: check_results: (num_results not equal to num_tests)
*** work items finished: 7 (expected: 0)

FAIL - test_delayed_cancel
===================================================================

tests/cmsis_rtos_v2/portability.cmsis_rtos_v2
===================================================================
starting test - test_event_flags_isr

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/cmsis_rtos_v2/src/event_flags.c:27: thread1: (flags & FLAG1 not equal to FLAG1)

FAIL - test_event_flags_isr
===================================================================
starting test - test_thread_flags_no_wait_timeout

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/cmsis_rtos_v2/src/event_flags.c:43: thread2: (flags & FLAG2 not equal to 0)

FAIL - test_thread_flags_no_wait_timeout
===================================================================

tests/kernel/sched/schedule_api/kernel.sched
===================================================================
starting test - test_slice_scheduling
A
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

B
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

C
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

D
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

E
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

F
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

G
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

H
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

I
    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

    Assertion failed at /home/apboie/projects/zephyr2/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

FAIL - test_slice_scheduling
===================================================================

Fixed by applying Wayne's patch to remove host clock


sign-in: Show proper error for deactivated user.

Show a clear error message when a user tries to sign in with
a deactivated account.
Fixes #4757

Codecov Report

Merging #5463 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5463      +/-   ##
==========================================
- Coverage   86.55%   86.51%   -0.04%
==========================================
  Files         430      430
  Lines       53043    53046       +3
  Branches     2066     2066
==========================================
- Hits        45912    45894      -18
- Misses       7131     7152      +21

Impacted Files
Coverage Δ

zerver/tests/test_decorators.py
99.53% <100%> (ø)
:arrow_up:

zerver/forms.py
96.15% <100%> (+0.07%)
:arrow_up:

zerver/tornado/ioloop_logging.py
46.66% <0%> (-46.67%)
:arrow_down:

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 23dc32a...06cf859. Read the comment docs.

Merged!  Thanks @umairwaheed!

I think this will break login for MIT Zephyr users who have a mirror dummy.  This check should probably add and not user_profile.is_mirror_dummy.  Search for is_mirror_dummy is zerver/views/registration.py to see the code path.
@umairwaheed can you take care of fixing that issue and adding a test?


[EOEPCA/IAM] Setup CI/CD Pipeline to deploy IAM BB into EOEPCA reference Cluster (Argo CD)

Images are available here: https://byud8gih.c1.de1.container-registry.ovh.net/eoepca


Make "it" unambiguous

It wasn't clear whether "it" referred to async_threshold or async_threshold_window.

Thanks!


ServiceNow Fields | Resolution_code & Resolution_notes

Change the close_code and close_notes in the payload for auto-resolution to the new required_field names.

complete
Tested with ServiceNow Washington DC

Resolution_code and Close_Notes


feat(gamification): add postgres database

Description
I added dependency of postgresql data base
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings
[x] My branch is sync with development branch
[x] I have follow conventional commit
[x] My pull request name follow standard and have related labels

assignee: @dehghani-reza
Reviewer: @dehghani-reza @DanialMehrabi94

@amirfathi37 are we going to remove h2 in this pull request or its going to remove in other pull request?


SINGA-405 Add How to Release instructions

According to the Apache project maturity model:

RE50: The release process is documented and repeatable to the extent that someone new to the project is able to independently generate the complete set of artifacts required for a release.

ASF projects provide a page in the documentation for the release instructions. For example, see  SystemML and SkyWalking.
This pull request proposes a draft for SINGA release instructions. Please feel free to comment or update this draft as needed.

Thank you for merging the PR. It will be useful also if the website is updated.
Please note these instructions was only a draft and it may need to improve in future. For example, by separating the process of releasing a Release Candidate from releasing a final Release.


Bytes

Add support for Python bytes (= ogórek.Bytes) and []byte (= Python's bytearray).
Please see details in the individual patches.
Thanks beforehand,
Kirill
/cc @kisielk, @dgryski

I've added package-level documentation which describes how to use ogórek, mapping between Python and Go types, and other things: https://github.com/kisielk/og-rek/pull/57/commits/996a072467b219a7115782573c046e9d4cd62da6.

Looks good. Can you just move the global doc into a separate doc.go file with nothing else in it?

Yes, sure, I've amended documentation patch correspondingly: https://github.com/kisielk/og-rek/pull/57/commits/90cc987005c1631513fa698e8a66b2b817a95737 .


:bug: fix crash of Tarpaulin workflow

So far, the Tarpaulin workflow always crashed when a PR from a fork was raised against this repository.  This change shall fix this problem.

At least the checkout works, now...


Double click events not being called after deleting tray icon and creating it again

Specifications
Electron.NET CLI version: 23.6.1
Electron.NET API version: 23.6.1

.NET Core version: 6.0
Node.JS version: 18
Build target: Windows
Error description
I was trying to create a tray icon so that when the user closes the window it would be possible to show the window again by double clicking the tray icon.
I wanted to show the tray icon only when the window is hidden, so I would have to keep destroying and creating the tray icon again.
I noticed that the first time I closed the window the tray icon would work without any problems, but when I tried a second time it wouldn't work anymore.
The code I was using:
private readonly WindowManager _winMgr;

// ...

private void OnTrayIconDoubleClick(TrayClickEventArgs args, Rectangle rect)
    {
        Electron.Tray.Destroy();
        _winMgr.BrowserWindows.First().Show();
        _winMgr.BrowserWindows.First().Focus();
    }

public void CloseWindow()
    {
        _winMgr.BrowserWindows.First().Hide();

        Electron.Tray.Show("");

        Electron.Tray.OnDoubleClick -= OnTrayIconDoubleClick;
        Electron.Tray.OnDoubleClick += OnTrayIconDoubleClick;
    }

Steps to Reproduce:

Create tray icon
Assign a double click event
Delete the tray icon
Create tray icon again
Done. The double click event will not be called from now on.

Workaround for now
I actually found a workaroud for this (which I'm using right now), but it would be nice to have a permanent fix.
When analysing the code for the double click event, I noticed that it only registers the double click event when the _doubleClick event is null, and it does not make _doubleClick null again when the Destroy method is called.
The OnDoubleClick event code:
        /// <summary>
        /// macOS, Windows: Emitted when the tray icon is double clicked.
        /// </summary>
        public event Action<TrayClickEventArgs, Rectangle> OnDoubleClick
        {
            add
            {
                if (_doubleClick == null)
                {
                    BridgeConnector.Socket.On<dynamic>("tray-double-click-event" + GetHashCode(), (result) =>
                    {
                        var args = ((JArray)result).ToObject<object[]>();
                        var trayClickEventArgs = ((JObject)args[0]).ToObject<TrayClickEventArgs>();
                        var bounds = ((JObject)args[1]).ToObject<Rectangle>();
                        _doubleClick(trayClickEventArgs, bounds);
                    });

                    BridgeConnector.Socket.Emit("register-tray-double-click", GetHashCode());
                }
                _doubleClick += value;
            }
            remove
            {
                _doubleClick -= value;

                if (_doubleClick == null)
                    BridgeConnector.Socket.Off("tray-double-click-event" + GetHashCode());
            }
        }

The Destroy code:
public async Task Destroy()
        {
            await BridgeConnector.Socket.Emit("tray-destroy");
            _items.Clear();
        }

So I tried my luck using reflection and setting the _doubleClick property to null in the CloseWindow method, and as expected it worked as a charm.
public void CloseWindow()
    {
        _winMgr.BrowserWindows.First().Hide();

        FieldInfo field = typeof(Tray).GetField("_doubleClick",
            BindingFlags.NonPublic | BindingFlags.Instance)!;

        field!.SetValue(Electron.Tray, null);

        Electron.Tray.Show("");

        Electron.Tray.OnDoubleClick -= OnTrayIconDoubleClick;
        Electron.Tray.OnDoubleClick += OnTrayIconDoubleClick;
    }

Conclusion
So that is it.
I'm not entirely sure if this is happening to other events such as the click event, but it might aswell be happening to them, and it would be nice to check it out too

After some more digging and debugging, I found out the real reason this was happening.
The problem was that I was assigning a non-static method present in the controller to the OnDoubleClick event.
The controller will have a new instance created with every request, so it will be impossible to remove the OnTrayIconDoubleClick because it is located in another instance.
Hence, the _doubleClick event will never be null and the socket will never listen to the double click again.


could this dataset applied for x-ray deep denoising？

Mentioned in the article: "This work is dedicated for fluorescence microscopy denoising where the images are corrupted by Poisson-Gaussian noise; in particular,Poisson noise, or shot noise, is the dominant noise source"
Due to the lack of dataset in x ray field（not in medical x-ray field），I want use this dataset for training. So could this dataset applied for x-ray deep denoising？
In addition ,the dataset URL cannot be opened in mainland China,
hope for your reply!

Hello,
If X-ray data are truly Poisson-noise dominated, then I think it is possible to use our dataset for training.
Please consider using VPN to download our dataset.
Thank you!

Thank you vary much!

Hello,
If X-ray data are truly Poisson-noise dominated, then I think it is possible to use our dataset for training.
Please consider using VPN to download our dataset.
Thank you!

Thank you vary much!


Run 2 scripts at once

Is it possible to run 2 scripts at once? And then i mean, can i run 2 scripts with 2 different accounts?

You can easily just open two terminals or open two terminals from different copies of the bot.

@ohld, thanks for ya fast reply! I'm gonna give it a try.

try this:
from multiprocessing import Pool
pool = Pool(2)
pool.starmap([your function here],[paraForAcc1,paraForAcc2])


SharePoint JSOM and REST implementation for retrieving more than 5000 (ListViewThresholdLimit) items

This solution implements the JSOM and REST for retrieving the List items more than 5000 as ListViewThreshold limit.

Thx Anil, looks good and nice add-on for the one you submitted earlier.

Hi @VesaJuvonen , i  have noticed that in the Office dev patterns and practices page the link for my solution is wrong and also under monthly releases October is repeated twice.

Updated now - thx for the note.


feature: Admins should be able to delete comments

Not able to reproduce this!

@hkirat the logic is already implemented for the same.

is this still a problem @hkirat?

Can I try


Profiling and statistics

Create a new subpackage that tracks peers, providing information on how often they make requests etc.
This can then be used to "select" peers, or to block those that are abusing. Throttles are helpful but not effective at stopping abuse, tweaking needed.

Kinda not needed any more, at least not as essential as I once thought it was.
Perhaps in the future.


fix(CLI): ensuring that read ledger entries match up with ledger keys

What
Previously it was assumed that <key1, key1_expiration> returned with <LedgerEntry_1, LedgerEntry_expiration>, but this isn't always the case and it was causing flaky tests.
Why
This PR ensures that the ledger keys are matched with their expiration. This allows any ordered returned from the RPC.
Known limitations
[TODO or N/A]

@willemneal I'm not sure if this would be needed in light of https://github.com/stellar/soroban-tools/pull/916. What do you think ?

@leighmcculloch I think that https://github.com/stellar/soroban-tools/pull/916 conflicts with this one.

close in favor of #1021


feat: New repository for an ACME provider (Let's Encrypt)

This PR is for the creation of a repository for a Pulumi ACME provider (Let's Encrypt)
https://github.com/vancluever/terraform-provider-acme

@dbeattie71 welcome to the Pulumiverse community! Reach out if you need any help working out your ACME provider.


API bug: cycles with a slash in them

According to the doco, curl https://endoflife.date/api/freebsd/releng/14.0.json should work to get info for FreeBSD 14.0. Instead it returns { "message": "Product not found" } with status code 404.
These work as expected:

curl https://endoflife.date/api/freebsd.json
curl https://endoflife.date/api/devuan.json
curl https://endoflife.date/api/devuan/5.json

so it appears that the problem is when the $cycle parameter has a slash in it.

The script that generates the JSON files replaces slashes with dashes in the output filenames, so the correct file name for releng/14.0 is https://endoflife.date/api/freebsd/releng-14.0.json
This should be documented in the OpenAPI schema.


Remove non-organic YouTube search results

What website(s) would this filter apply to?
YouTube
What content should be blocked?
For You, Previously Watched, People Also Watched, and other irrelevant drivel in the search results.
What options should be offered?
The only difference is the text string at the end, adding/removing lines as needed is an easy enough task. Might not be compatible with different languages
Did you write a custom uBlock filter already?
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/for you/i))
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/previously watched/i))
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/related to your search/i))
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/channels new to you/i))
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/From related searches/i))
www.youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Learning related/i))
! Removes "People also search for"
www.youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope

Additional notes
No response

Hello @RianQuenlin, thanks for your idea!
Unless there's really no other way, I prefer to avoid matching on displayed strings (with :has-text or other operators), because:

this breaks the rules if the display language is different from yours
these rules usually break more often

What about removing all shelves?
www.youtube.com##ytd-search ytd-item-section-renderer ytd-shelf-renderer:style(border: 2px dashed red !important)
www.youtube.com##ytd-search ytd-item-section-renderer ytd-horizontal-card-list-renderer:style(border: 2px dashed red !important)

The :style() operator adds a red border, to test the scoping of the rules, remove it to hide the matching elements.

New template is available at https://letsblock.it/filters/youtube-search-cleanup, thanks again for the idea!


Fix GH-952: OGM returns empty result if query results contains nodes and rels with same native id

Description
This PR fixes GH-952
All existing tests are green via Maven.
There is still one issue with the newly created test - when ran separately it works but when ran together with the other tests, it currently fails as it's quite hard to set up the required test data when not starting with a clean Neo4j. I will think of a solution for that. However I wanted to already create the PR so you can let me know what you think about the fix.
Types of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

CLA
Signed.

The test for this issue/fix needs a clean Neo4j so that native ids for relationships and nodes start from 0 and are given consecutively without gaps within the test.
To work around this, I added a separate surefire execution to the integration-tests pom.xml so that this test gets its own JVM and own test container.
From my side the fix + test are ready - let me know what you think.

Oh man… Thanks for that, looks great. I'll merge away and probably polish afterwards.


[Question]: Llamaindex supports Tapas or TaBERT to aim question answering for tabular data extraction?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
i want to wander how to use llamaindex  llm models as tapas? Please let know is there a support or plan to include TAPAS or TaBERT for tabular data extraction question answering purpose?

@iriye no plan for this currently -- but would love a PR if you had something in mind 🤔 I'm not sure what the flow would look like tbh


LWJGL 3 Android support

Description
Hello,
It would be incredibly useful to have Android support for LWJGL 3, specifically for the vulkan/gles support. Having a single rendering engine to maintain is much simpler than attempting to maintain both a desktop version and an android version for GLES, and for Vulkan the lwjgl branch from 2017 is the only example I have found with android vulkan using java.
What would be required to get Android support in the main branch?
Perhaps there are pieces of what is required that I can assist with.
Thanks,
Trevor

Hey @tlf30,

What would be required to get Android support in the main branch?

Not much. However, it would not be a good experience because of how much LWJGL relies on MemoryUtil, MemoryStack and the struct classes for performance.
I don't have Android development experience, but one thing I learned from the 2017 tests was that Android... is not Java. LWJGL has been designed to work great with server-class JVMs, i.e. Hotspot and JVMs that compete with Hotspot. Unfortunately, almost every piece of knowledge and intuition I have about how Hotspot behaves does not seem to be applicable to Android. It felt like Android support would require a completely different LWJGL core module and overall design. Or actually, it felt like high-performance Java code is not even a thing on Android. You're supposed to write GUI stuff in Java and anything performance sensitive (e.g. a Vulkan renderer) in native code with the NDK.
I hope I'm wrong. In any case, I would not be comfortable (or even interested) to resume work on Android support, without the help of a person with deep knowledge of the Android ecosystem, how the available VM(s) work, what the best practices are for performance, how to get the most out of the available hardware, etc. Does such a person exist?

Hmm, unfortunately I'm afraid I do not have that deep of an understanding of what is going on under the hood in Android. I feel that you are correct though, it does appear that the intent is high performance code running in native and UI.
If someone is interested in helping with the low level components, I am more than happy to help with building the CI pipeline and packaging, along with any examples or demos.

iirc @orange451 did something with a mobile UI, but it wasn't android(?)

For my little mobile UI thing, I ended up writing a middle-layer that pipes LWJGL classes/functions in to GLFM library, so I can still use LWJGL for desktop, maybe you can do that for your android thing?

Yes, this is something that I worked on for a hobby project. I use abother project called MiniJVM which is a custom JVM that works on windows, Mac, Linux, iOS, and android. It also has bindings to NanoVG and GLFM. I wrote some middle-layer code to pipe lwjgl functions to it so I can deploy my desktop application with lwjgl and my mobile app with MiniJVM. See my project JadeFX for more information.
However this means you give up any libraries not supported by MiniJVM, such as Assimp, which can be very important
Sent from my iPhone

On Jan 11, 2022, at 7:05 PM, SWinxy @.***> wrote:

iirc @orange451 did something with a mobile UI, but it wasn't android(?)
For my little mobile UI thing, I ended up writing a middle-layer that pipes LWJGL classes/functions in to GLFM library, so I can still use LWJGL for desktop, maybe you can do that for your android thing?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

Hi @Spasi, I have to agree that JVM and Android VM are not same thing, but both support Java language.
I believe that Android VM performance shouldn't be a problem for custom renderer.
Is there any way to convince you that it is possible to add LWJGL support for Android?

Hello,
I'm also interested in the support for Android on the main branch.
Even a version which is not super performant would be great :). Mobile devices these days are so powerful that for most indie projects it doesn't matter. If there is such an option I would be happy to help in some way.

Even if the initial performance is poor, it doesn't have to stay poor forever:

If there would be a working LWJGL android example, it would be easy for other people to do some modifications and experiment with the performance, and they might report a more efficient solution. (I have some interest in Android myself since many VR devices run Anroid, so I might even try this myself in the future.)
The Android VM might evolve over time in our advantage.

I agree, if we could get some form of a 'preview' feature for android in the master branch where it is understood that it will not be included in any upcoming release, then it opens android development for people to being working on optimizing it.
I'm not sure if it would be possible, or perhaps there are already mechanisms in place (I have not check), to implement a feature as a preview feature that is not enable by default? I understand that implementing android required a couple changes to the core in the vulkan branch. I'm not sure if other platforms are impacted by those changes. If android could be packaged in such a way that it can be implemented without major impacts to other releases while it is in the 'preview' stage, then that would be great.
@Spasi let me know your thoughts. If you are willing, perhaps we can get a checklist of the steps needed to get the initial implementation in master.

I will never support vulkan the colors look off to me. I do agree you need android support but for opengl

@jredfox That's not really relevant to this issue but just to make it clear: Fundamentally, there is no visual difference between programs rendered using OpenGL and Vulkan. If you're observing color differences, the most likely cause is your configuration. If you want to debug your problem, you could start from one of the demo applications and tweak the code according to your needs. However, this issue is not the place to discuss this. Instead, if you need support it's better to use Discussions or the LWJGL forum.

I will never support vulkan the colors look off to me. I do agree you need android support but for opengl

@jredfox That's not really relevant to this issue but just to make it clear: Fundamentally, there is no visual difference between programs rendered using OpenGL and Vulkan. If you're observing color differences, the most likely cause is your configuration. If you want to debug your problem, you could start from one of the demo applications and tweak the code according to your needs. However, this issue is not the place to discuss this. Instead, if you need support it's better to use Discussions or the LWJGL forum.

it is relevent because A: did you read I was requesting adroid support for opengl
B: vulkan is flawed in it's current state due to the fact I have seen countless games and pictures and compare them to any other graphics engine even of the same game and the colors look way different.

@jredfox You already have OpenGL ES support in Android, so what's your problem?

@jredfox  are you trolling? The API is different because desktops and mobiles have a completely different range of functionality, you can't and won't ever be able to use OPENGL on Android because it just won't work.

Google it. “context compability missing” difference between the two “stripped away a lot of things and optimized for mobile devices” “missing features like drawing polygons” this tells me it’s not remotely the same and won’t work.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Michał @.>
Sent: Tuesday, February 8, 2022 10:19 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [LWJGL/lwjgl3] LWJGL 3 Android support (Issue #715)
@jredfoxhttps://github.com/jredfox are you trolling? The API is different because desktops and mobiles have a completely different range of functionality, you can't and won't ever be able to use OPENGL on Android because it just won't work.
—
Reply to this email directly, view it on GitHubhttps://github.com/LWJGL/lwjgl3/issues/715#issuecomment-1032802374, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKJBMJBZR2VG5VCALEMPMLU2E7ANANCNFSM5LVCC6WA.
You are receiving this because you were mentioned.Message ID: @.***>

OpenGL basically has everything that OpenGL ES has, but more. OpenGL ES excludes the stuff that is difficult to implement for non-desktop devices.
And it sounds like you either have a bad Vulkan graphics driver or unorthodox color format support.

One concern for adding Android support is about who will maintain it. Publishing it with the expectation that someone will maybe fix it is optimistic. It's such a different platform to Windows, Mac, or Linux. If Spasi does publish one, I doubt he would want to maintain it.
As I see it, it's either publish a rotting Android version or publish nothing at all.

Android could be added as 'experimental' and not included in any release, just like the bullet bindings were. This will give us time to figure out if we can make the bindings better, or if we want to remove them.
I can see about getting the latest master building for android using the old android branch as an example.

That is called GLFM ( mobile version of GLFW3 ) but it is still in development and it doesn't have features like embedded images and fonts. I think better we use SDL2 because SDL2 has already supported for mobile.

jMonkeyEngine has a memory allocator implementation for android that works well (fast enough). I will look at what they are doing, perhaps some inspiration can be taken from there. From the vulkan side, I have been playing with it, Definitely doable.

@Spasi, would it be possible to re-add the android surface and extensions in vulkan-gen? Not asking for full support, just the vulkan handles. Only asking for the patch file be updated to include the android parts. I know full well that these require underlying support from the core that is missing in order to use things like the android surface on Android.
This will make it much simpler when attempting to query device information for Android support and implementing support for Android later on.
I think the important ones for now are the surface and the external memory android hardware buffer.
Just a thing that would be nice to have.
Thanks,
Trevor
PS: it also may not hurt to have other platform's handles as well, especially if they are just enum values. Thoughts?

Hey @tlf30,
The next snapshot will include the following extensions:

VK_ANDROID_external_memory_android_hardware_buffer
VK_EXT_directfb_surface
VK_KHR_android_surface
VK_KHR_xcb_surface

Great, thank you @Spasi

well if you only feed the gpu, like its supposed to work, then being a bit slow does not matter on the cpu side.
check out how jogamp jogl does the fiddling.


Fix w.r.t. coq/coq#10441.

Not backwards compatible, but could be made so with a bit of work. Questions about this below.
I have trouble understanding the design choices underlying ext-lib, maybe the changes of this PR are not the right ones.

First, it seems that the Polymorphic qualifier is used a lot, where the polymorphic universe option could be set instead. Is that a conscious design choice, or is it a remnant of the time when universe polymorphism was still very experimental? This forces me to put polymorphic attributes on sections.
Some sections are willingly mixing polymorphic and monomorphic data, seemingly. Is that on purpose? I had to extrude them.

I will take a look at this. I think pretty much everything should be universe polymorphic.

@ppedrot With this annotation, does this mean that we don't need Polymorphic in front of the definitions? Perhaps that is still needed for backwards compatibility?

Nope, the current semantics for the attribute (which was introduced by coq/coq#10441, before that would just error) is that it makes the section polymorphic, but it doesn't set the polymorphic flag inside the section so you still have to put it by hand.

If you want backward compatibility, you'd have to wrap the Section / End block with a Set / Unset polymorphis.

@gmalecha the PR now implements the behaviour you described, i.e. Polymorphic Section Foo sets universe polymorphism locally to the section. If you wish, and if you don't care about backwards compatibility either, we can also remove the Polymorphic qualifiers in front of definitions inside polymorphic sections.

@gmalecha do you want a backward compatible solution or are you OK with this one?

Please merge now

Sorry, I've had a very busy last two weeks. I will merge now, but I will need to address the backwards compatibility issue. I haven't personally moved to the 8.10 betas and this makes ExtLib unusable for me.

What reasons are there to prefer these annotations over a global Set Universe Polymorphism. at the top of each file as #45 started to do?

@ppedrot @SkySkimmer Would setting Universe Polymorphism everywhere be a suitable alternative to these flags? As Gregory said, everything should be polymorphic anyway, and my awfully limited understanding is that these flags are more useful when the global option is not set.
I would really like at least one last release of coq-ext-lib that is still compatible with 8.8 and 8.9. Another desirable thing is for the master branch to remain compatible with at least the latest stable version of Coq, as otherwise it discourages contributions from non-Coq-dev people, so it would be nice to know whether there are any backwards compatible alternatives to this patch in coq-ext-lib, or why not if there is none. (it's not clear from reading coq/coq#10441 which assumes you know in detail how sections currently handle universes)

You should be able to revert since https://github.com/coq/coq/pull/10798 was merged actually. The restriction introduced by coq/coq#10441 and removed in https://github.com/coq/coq/pull/10798 will not appear in any released version.

That's reassuring, thanks a lot!


Expose az sender Close()

Expose AzSender Close()
After calling SetAzSender(), we want to be able to close the previous underlying AzSender connection to avoid taking up the connection quota.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

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

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
976

Relevant Lines:
1094

💛  - Coveralls


Is there a way to swipe over cell content view?

Currently on swipe the buttons push the cell content view aside, is there a way to pin the cell content view to it's original position and have the buttons swiped on top of it?
Thanks.

In the delegate just set MGSwipeSettings onlySwipeButtons property to YES


Demo Link is Dead

The demo link goes to a dead site.

Is this going to get fixed?

check here: https://mattlewis92.github.io/angular-bootstrap-calendar

Thanks, but isn't that with angular? i was looking for the jquery version. I think i've found a working link here: http://www.columbia.edu/cu/questscholars/calendar.html

Here is too (hosted by me) http://bootstrap-calendar.eivissapp.com/


fix add crudtrait to crud

fixes #181
This is the same script snippet used in devtools Add Crud Trait button.
We should probably extract this bit of code to some place where it could be re-used by both devtools button and generators command.
For now they have the same code 👍

Also, I don't like that this adds an empty line after CrudTrait. Feels like we're introducing dirt to the model. Let's fix that. We can easily add the USE statement after "namespace + line break" then if that doesn't exist, add it after "namespace without line break".

Also... this just came to me. Why do we completely change how this is done?
If the problem we're trying to fix is "when adding CrudTrait to User model, it adds to the commented line"... why don't we check for that? If the line is commented, then add to the next line. Wouldn't that be simpler and keep all the benefits of the solution we had before?

All of the above fixed. 👍

This still adds an empty line after the CrudTrait:


Problem with cuda following installing virtual environment

GaNDLF Version
 0.0.17-dev
Version information of the GaNDLF package in the virtual environment.
Desktop (please complete the following information):

Running Linux, cuda 11.2

How did you install GaNDLF
Please provide all steps followed during installation.
conda create -n venv_gandlf python=3.8 -y
conda activate venv_gandlf
pip install gandlf

I've ran the following:
python /home/GaNDLF/gandlf_run -c /home/config.yaml -i /home/data.csv -m /home/unet_best.pth.tar -t False -d cuda

And I get this error:
Traceback (most recent call last):
...
OSError: /home/.conda/envs/venv_gandlf/lib/python3.8/site-packages/nvidia/cublas/lib/libcublas.so.11: symbol cublasLtGetStatusString, version libcublasLt.so.11 not defined in file libcublasLt.so.11 with link time reference

I then tried using pip install -e . but the same issue occurred.

I am running 0.0.17-dev. I have tried setup both with and without using "pip install gandlf" and have gotten the same error.

This is the output of
-->python ./gandlf_verifyInstall
Successfully built GANDLF
Installing collected packages: GANDLF
Attempting uninstall: GANDLF
Found existing installation: GANDLF 0.0.17.dev0
Uninstalling GANDLF-0.0.17.dev0:
Successfully uninstalled GANDLF-0.0.17.dev0
Successfully installed GANDLF-0.0.17.dev0
GaNDLF is ready. See https://mlcommons.github.io/GaNDLF/usage