No rewards.npy file in hopper

Hi sir,
how can we generate the rewards.npy file for the hopper_10000 file ?

Dear @debajoy,
You should open a related issue in the dedicated dropo repo, as the random-envs repo is not involved and does not contain offline data.
Regarding your question, the offline data used by DROPO doesn't contain the reward information, as it's not needed. I'd say you have two options:

(recommended) you just create a new offline dataset of N transitions yourself, by running a previously trained oracle policy on the target domain (or semi-converged, or even random).
you can replay the offline trajectories by starting from the same state and executing the same actions. The nominal Hopper dynamics parameters have been used to collect the trajectories.

A sample script for collecting offline data could look something like this:
states = []
next_states = []
actions = []

max_n_transitions = 500

env = gym.make('RandomHopper-v0')
state = env.reset()

for i in range(max_n_transitions):

	action = env.action_space.sample()

	states.append(state)
	actions.append(action)  # random action

	state, reward, done, info = env.step(action)
	next_states.append(state)

	if done:
		print('Exited early')
		break


problem when Run on Android Phone

I have succesfully run Ha-bridge on Windows 10. Now I want to run it on an old Android Phone.
I have followed the introduction of the Wiki Run on Android Phone (https://github.com/bwssytems/ha-bridge/wiki/Run-on-Android-Phone)
I have use Linux deploy installed a Ubuntu.
But at last step when i lunch the ha-bridge-4.5.6.jar, there is an error. The information is below. Is there anyone know what should I do to solve this. Thanks in advance.

android@localhost:~$ java -jar /home/android/habridge/ha-bridge-4.5.6.jar
2017-09-06 22:59:44,012 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge (v4.5.6) starting....
2017-09-06 22:59:44,202 [main] INFO  com.bwssystems.HABridge.BridgeSettings - reading from system properties
2017-09-06 22:59:44,237 [main] INFO  com.bwssystems.HABridge.BridgeSettings - Adding <IP_ADDRESS> as our default upnp config address.
2017-09-06 22:59:44,243 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge initializing....
2017-09-06 22:59:45,030 [main] INFO  com.bwssystems.HABridge.SystemControl - System control service started....
2017-09-06 22:59:45.151:INFO::Thread-0: Logging initialized @3699ms
2017-09-06 22:59:45,690 [main] INFO  com.bwssystems.HABridge.util.UDPDatagramSender - Initializing UDP response Socket...
2017-09-06 22:59:45,703 [main] INFO  com.bwssystems.HABridge.util.UDPDatagramSender - UDP response Seocket initialized to: 50000
2017-09-06 22:59:45,725 [main] INFO  com.bwssystems.HABridge.plugins.harmony.HarmonyHome - Harmony Home created. No Harmony devices configured.
2017-09-06 22:59:45,740 [main] INFO  com.bwssystems.HABridge.plugins.NestBridge.NestHome - Nest Home created. No Nest configured.
2017-09-06 22:59:45,748 [main] INFO  com.bwssystems.HABridge.plugins.hue.HueHome - Hue passthru Home created. No Hue passtrhu systems configured.
2017-09-06 22:59:45,756 [main] INFO  com.bwssystems.HABridge.plugins.hal.HalHome - HAL Home created. No HAL devices configured.
2017-09-06 22:59:45,763 [main] INFO  com.bwssystems.HABridge.plugins.mqtt.MQTTHome - MQTT Home created. No MQTT Clients configured.
2017-09-06 22:59:45,792 [main] INFO  com.bwssystems.HABridge.plugins.hass.HassHome - HomeAssistant Home created. No HomeAssistants configured.
2017-09-06 22:59:45,799 [main] INFO  com.bwssystems.HABridge.plugins.exec.CommandHome - Command Home for system program execution created.
2017-09-06 22:59:45,836 [Thread-0] INFO  spark.webserver.JettySparkServer - == Spark has ignited ...
2017-09-06 22:59:45,848 [Thread-0] INFO  spark.webserver.JettySparkServer - >> Listening on <IP_ADDRESS>:80
2017-09-06 22:59:45.891:INFO:oejs.Server:Thread-0: jetty-9.3.z-SNAPSHOT
2017-09-06 22:59:46,274 [Thread-0] ERROR spark.webserver.JettySparkServer - ignite failed
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:384)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at spark.webserver.JettySparkServer.ignite(JettySparkServer.java:131)
at spark.SparkInstance.lambda$init$0(SparkInstance.java:341)
at java.lang.Thread.run(Thread.java:745)

anybody any idea？

So the error says you do not have permission to open port 80 on your device. Not sure how you are starting the ha-bridge, but either some other application is using port 80 or you need to run this as root as you do not have permission.

Thank you very much for your reply. The problem have been solved by change the user to root.  Thank you!


Update polars>=0.18.3

Codecov Report
Patch and project coverage have no change.

Comparison is base (486ebee) 100.00% compared to head (a50a5c8) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #152   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          702       702
  Branches       173       173
=========================================
  Hits           702       702

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Allow search in markdown previews

I would love to be able to search through a markdown preview:
Now we are able to search through the actual file where we type, but sometimes you just want to have the preview in fullscreen mode and search for any occurrence in the actual markdown preview.
If I'm showing the documentation to a partner I would rather use the full markdown preview rather than the raw code, and from there it would be useful to have the ability to search for text.

If I open a markdown preview I can search through it - Ctrl+F.  What are you using to try to search in the preview?

I can search in the actual code window but not in the preview window. I'm using the same CTRL+F command but it doesn't pop up an input to search.

Here is a video prove of what I try to say
I can CTRL+F in the .md file but not in the created by vscode markdown preview.

Does this reproduce in the latest VS Code insiders build with all extensions disabled?
Also please fill int he issue template

In the latest VSCode insiders build with any extension installed it does work as expected:

I can successfully search code in the actual markdown preview! 😄

This suggests that either an extension or custom keybinding is causing this. Please try reviewing your extensions first and filing an issue against which ever one causes this

maybe that was it. Sorry for the inconvenience!


Issue 502 fix async

Overview
This is an update of PR #451. If fixes the async keyword and the usage of the new FileStorageBuilder.
Related Issue / Discussion
Fix #502
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ x] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[ x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

@davidcaron @tomkralidis ok to merge to master?
Not sure if everything is fixed but it worked with the Emu WPS.

Coverage remained the same at 75.132% when pulling 255d2f25be3a5a93dbb46c4cd6e4d6e3e32cac6f on cehbrecht:issue-502-fix-async into f2704c8be835cabc25368ada65147fa1beb79cc0 on geopython:master.

@tomkralidis thanks for quick response :)


fix: Virtual Machine Image should keep track with LH BackingImage's DiskFileStatusMap

Problem:
VirtualMachineImages do not keep in sync with LH BackingImage's DiskFileStatusMap
Solution:
VirtualMachineImages should update the status if there is no ready file in LH BackingImage's DiskFileStatusMap
Related Issue:
#6894
Test plan:

Preparing a v1.3.2 Harvester cluster
Creating two images
Upgrading Harvester to v1.4.0-rc4
Existing images should be in an active state
Creating new images successfully

This is not needed, as we apply another solution https://github.com/harvester/harvester/pull/6938


Feature request: translation of the "FAQ" page

Hello,
Currently, in the french version, all the website is displayed in french except this "FAQ" page.
This is hardcoded in website/app/views/faq.scala.html.
Regards,
Charles

I'll try to translate it in the next 2 weeks. Thanks for the remark.
Regards,
Antoine


Fix for exceptions.  Hot patch to v0.7.2.

This is a fix for v0.7.2 for the exception issue.  I am posting to to address the issue with the released version.   It should be mergable with the current master with some minor adjustments.
Fixes #605

Thanks. Do you think this also applies for exceptions with just one argument, e.g. a message string?
Approved in any case.
Am 12. März 2020 02:55:15 MEZ schrieb Karl Nelson<EMAIL_ADDRESS>
@Thrameos requested your review on: jpype-project/jpype#611 Fix for
exceptions.  Hot patch to v0.7.2..
--
You are receiving this because your review was requested.
Reply to this email directly or view it on GitHub:
https://github.com/jpype-project/jpype/pull/611#event-3121131746

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Yes.  It applies to all.  The pattern had a bug that was creating a bogus exception and then trashing it thus requiring a no argument ctor.  Not sure how i missed this one, except that i faulted by depending too much on java implementations that all met the requirement.

Hi,
Thanks for fixing this indeed very annoying issue. We'll be happy if it could be released quickly in a 0.7.3 :)
Thanks

I anticipate another release near the end of the month.   I am currently working on my 30 pull requests in 30 nights bug fiesta as we increase our coverage from a very sad 50% to near 90% if I can accomplish it.  I hope that will meet your needs.  (Please also all thank our reviewer marscher)

I've been following a bit your recent work, and indeed you seem to be progressing greatly towards 0.8, which is of particular interest for us because we are trying to optimize the Java/Python memory transfers (well Kotlin/Python to be precise ^^).
But increasing the coverage and improving the stability is also a must have !
Great job, thanks!

@Thrameos do we still have an option to perform memory transfers without making copies available, e.g. nio buffers. I think that jparrays are now always taking copies, right?

Yes.  You can create a direct buffer to a byte array.   But the sort is a bit more complex as we have three separate transfer paths each with different buffering patterns depending on what you want to do.

You can construct a memoryview and then ask the memory view to convert to a bytebuffer it should create a shared memory space which can be used for direct transfer.   This is not really intended as a buffering technique but rather was intended to allow the JNI to map shared memory pages.  As it gives you a ByteBuffer rather than an array on the other side, you have to copy it on Java side if you want to do anything with it.   Currently this pattern is a bit counter intuitive to use and we didn't have a test until last month.  I should make this path much more intuitive but making an autoconversion from memory view to Java ByteBuffer so that this can be triggered without special handling.  Second we can make use the to support file sharing of Python files to Java files which we currently only have very basic support.

JNI does not support anything other than bytes to be shared using direct byte buffers.  Therefore, rather than trying to do mixed behaviors all arrays do a copy on bytes we use the same patterns for all array types.   The type of copy is selected based on the support from the JNI.    This gets us to the two other patterns in the code.

When doing copies from Python to Java from a memory view we have a different pattern.  We use GetPrimitive locking on transfers from memory views to arrays.   Those should in principle make no more than one copy because you write directly into the Java memory space.  But the JNI controls if it is single/double buffered depending on its state.  Other transfers use GetElements/Release which has the down side that it is a double buffer copy most of the time.   Once to the memory area where JNI does staging and then again to the Java space.   I can try to remove the double copy by updating the pattern accordingly in a few places.

Returns from JNI to Python are a different story.  As the Python API does not specify how long it intends to keep the buffer transfers must be made using GetElement/Release pattern which will perform double buffer copies unless the JNI supports pinning.

Most of this is outside the control of the programmer.  The JNI decides if it wants to support pinning for individual arrays and it can change its mind at any time between get and release calls.  Therefore, we support whatever is going on transparently.  If we can guarantee a short lock period we can use the more aggressive Primitive locking commands.
Does that clear things up?   (or do you have a feature request that where an alternative pattern may be possible.)

Just checked #630, that's some efficient bug report handling :D
Maybe for this discussion on memory copies I can describe the way we use JPype, it should be a pretty standard use case: we have a data library coded in Kotlin, but as it is used by a wide variety of users, we also provide Python bindings so users can stay in their preferred environment. Data caches are on the Kotlin side, when called from Python we return a double[], which is made available in Python through a Numpy array. The problem of course is the copy done to convert the double[] to the jparray. I thought it would be possible to keep the data in direct buffers in Kotlin, then just transfer the memory address, and wrap it somehow with Numpy, but I'm not sure how this corresponds to what you are describing above...

Unfortunately, JVM does not support pinning unconditionally thus we can't just map an array from the JVM into the address space of Python and use it for numpy.   We can provide high efficiency methods for transferring memory to and from the JVM.  But as far as I am aware there is no way to make numpy arrays wrap directly.
It may be possible to make a read only numpy array point to a double[].   I haven't investigated it in depth.  An unpinned array can't be modified and written back more than once (I tried a few times on that front).  So it is pretty limited.

I don't understand, I'm not talking about pinning, which I understand would not be possible (I don't even see how it would properly work with all the different GC): I plan to allocate the caches out of the heap, so they don't move, and I'm handling their life-cycle on the Kotlin side so Python could safely access the pointer?

The concept of just transfer a "memory address" is pinning if you mean transfer by from JVM to Python in which np.array is backed by JVM.   The specific calls in JNI are in
https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html#wp17314
There is another call getPrimitiveArrayCritical which tries to operated even without pinning support, but is not supposed to traverse a frame boundary.  That would be a "memory address" type transfer but it is very limited.
If I am not understanding your question you will need to be a bit more explicit about what you are thinking about "wrap it somehow with Numpy".
I work primarily on a numerical library myself so I have worked a lot on this pattern but it is always possible that I have missed something.   If I can make read only numpy arrays then it would be possible to pass the array without one of the copies (possibly all if JVM is nice enough to pin it)
Obviously the other type of transfer is shared memory using direct buffers.  But Java does not support a cast operator so the copy ends up in Kotlin rather than in Python.  So no real savings in that route.

BTW you can handle cross VM reference counting with the RefQueue.   Just tell Kotlin that it is managing a Python object by adding the Python object to the lifespan of a Java Object.   It will add an additional that is removed when the object is GCed.   The only place where we can't support is when you have a true reference loop where something is both holding a Java ptr and that is a holding a Python pointer.
To keep that from happening the exposed API only supports reference queuing on arrays, buffers and proxies.   I may have to reconsider when I have Python objects mapped into Java space.  ( Will be fun when I have to traverse.)

I'm talking about memory allocated out of the heap using Unsafe.allocateMemory/freeMemory. This returns the "real" memory address of the reserved memory block, not some gc-managed heap pointer. This is what I would pass to Python, just a long, not the memory content itself, so I don't see why you are talking about JNI array calls ? This method is not "managed" by the JVM (and its GC), it's a direct system call, so the JVM doesn't have anything to do nor anything to pin (but of course I have the responsability to call free).

Well the only support that I have currently is JVM or Python controlled memory.  I am not aware of support for managing Unsafe memory as that is not something I can see from either the JVM or Python.
I can certainly support additional assuming someone is willing to support the work for testing.  Often people ask me about other JVM using languages like Kotlin or Scala, and when you so it is necessary to point me to the relevant docs or I will automatically assume that it is the same as Java.  Hence the sideways answer as it must a be a language feature that I am not aware of.

jdk.internal.misc.Unsafe is a "standard" JDK feature. It's what is used behind the scene when you call ByteBuffer.allocateDirect, which creates a small object implementing ByteBuffer and just holding the memory address. The allocated memory is freed when the ByteBuffer is collected, using the Cleaner class. It's often used when you have a few long-lived large buffers with critical performance requirements. Not being handled by the GC can be an advantage for performance (same as accessing your process memory with a pointer), but creating/destroying them is much slower, you have to be very careful about freeing, you may end up with memory fragmentation, etc. Usual GC pros and cons :)
The memory region is allocated in the process memory space, but using a malloc() system call, so it's outside the heap (which is considered by the system as a large allocated memory block). Anything in the same process can access it, which includes the Python which runs the JVM.
I didn't check, but I'm pretty sure there must be a way to wrap this allocated memory in a Numpy array, that's why I was asking if you had already investigated that direction :)

Googling "Numpy malloc" gives me pages like https://stackoverflow.com/questions/25102409/c-malloc-array-pointer-return-in-cython, because obviously Cython has the same questions, of how to wrap a malloc-allocated memory region in a numpy array. Seems pretty straightforward, but I'm not a Cython expert, I'll have to ask the guy in my team who is :)

Ah you are talking about internal functions.   They are hard to deal with as the Java module system prevents me from talking to them directly.  (I had a similar issue with caller sensitive which is also an internal API.)  But if I can figure out how to get the pointer, it can be wrapped directly.  Two minor issues that would need to be handled.

First it needs a closure like memory handling so that it is clear how keep it alive until the numpy array drops.  I haven't looked into that issue.
Second I currently am not supporting linking against the numpy api.  I would need to build two extension modules so that you can use the numpy api directly or some way of dynamically linking which is very painful.  (Cry,  I just got that stuff removed. Sob.)

Looking at postings on Unsafe... yeah it is as bad as I thought.  You have to manually start the JVM with stuff module protection disarmed or it will prevent access.  It is doable, but that is again something better left to with Project Panama is included.

Yes, I know you removed the Numpy linking, but it did seem cleaner that way, so I support it :)
About Unsafe, that's why I quoted "standard", because it's definitely not some usual Java classes, contrary to what Panama aims to do. But it's internally called everywhere, including in the direct ByteBuffers, so I wouldn't call it unsupported either.
In my case, I don't really need some dedicated JPype functions, I can just return the memory address as a long and call the Numpy wrapping myself, but I was wondering if there was a simpler more Java/JPype way of doing it... because passing memory buffers without copies is certainly a critical requirement for many Python/Java projects.

Looking at postings on Unsafe... yeah it is as bad as I thought. You have to manually start the JVM with stuff module protection disarmed or it will prevent access. It is doable, but that is again something better left to with Project Panama is included.

No, I think the module issue is something else: this class used to be sun.misc.Unsafe, and was moved to jdk.internal.misc with JDK9/Jigsaw (some wanted to simply remove it, but the perf-critical Java world rebelled), so now you can't access it unless you have a properly modularized project. It's annoying the first time you have to do it, but it's not limited to Unsafe, it's really just the initial pain of modules :)

Okay I will need some more consideration.   Making custom wrappers is pretty easy internally.   But I don't have a good way of registering externally defined C++ extension wrappers that would make it easy for what you would like to have.   We have "magic" wrappers like "org.jpype.Proxy" which do things like take an long and unpack it to a Python object.   We would just need to generalize it and link it to an np.array to support it.
The process is currently define a class as "special" in Java org.jpype.manager.TypeManager then placing the custom converter in native/common/jp_typefactory.  You can add custom converters and JNI methods to support exotic access to the object.   If it has to have additional presence on Python it requires either a C module in pyjp_ or it would require backdoor access (like talking to statistics in reference queue.)
Does that make it more clear?

(BTW once we drop Java 8 support it would be great is some sends a PR to help get our internal stuff to be a proper module.)

I have an idea (perhaps a not a good one).  It is pretty doubtful that I can do the required work to get you access to Unsafe right now because the amount of APIs, security layers, etc.   But what I can do is get you an API on the Java side to call MemoryView.create(long memory, int dims, int[] shape, char type, Object owner).   You stuff in your unsafe long (by whatever vodo was required to get it), and the corresponding information and I will get you an object that magically transforms into a memory view on the Python side.   We can then ask numpy to wrap it and therefore provide full access to shared space.  I will hold a Global reference to the owner so long as Python has the view object checked out.   We may need a bit of work on the memory management but I think it would satisfy the basic requirements.

I think we can make it simpler by just using Buffer: on the Java side you have some wrapper which would just hold the Buffer and shape, then in Python you should be able to properly create the memory view.

You can use the Buffer type to determine the data type (for instance DoubleBuffer -> double64).
If it's a heap buffer you would do your usual JNI array calls (with Buffer.array() which gives access to the internal array to avoid an additional copy)
If it's direct buffer (Buffer.isDirect() to know, then Buffer.base() to retrieve the low-level DirectByteBuffer) then you extract the address.
Not sure what you should do for mmaped buffers, maybe just retrieve the file descriptor and provide a Python memory view based on it...
Buffers are not the most recent interface, but their API is pretty clean, and handles read-only mode, slicing, marking, flipping, etc, so additional requests can be easily done.

This way seems very Java-natural, with all the dirty and difficult operations hidden behind the standard java Buffer classes, and pretty straightforward in JPype. What do you think?

It unfortunately has to be a special type rather than Java standard type.   We don't want to magic wrapper something that use is likely to use.   Buffers are often used in normal programming and thus we can't have a user we working with a Buffer for normal programming and have it magically change to the memory view.
Just to be clear what the conversion process is: Every time we get an Java object back from a method or field we check for the C++ wrapper class using the object type.  In most cases this wrapper class just creates a Python wrapper object that holds reference to the Java object.  But some are "special" (Number, Box types, Throwable, String, Array) which builds a Python wrapper which is derived from a different Python base object (so it can have Python required behaviors like can be caught).  These still obey all the rules of the normal wrappers but they have a little extra.  But it can also be "magic" such as org.jpype.proxy.JPypeProxy which instead probes the object to retrieve a jlong that it reinterpret casts to pointer and thus can return the Python object rather and any type of wrapper.  Magic wrappers completely hide the Java object from Python as once the conversion process is done the handle to the Java object is lost (thus preventing reference loops and other bad things.)  In the case of the proxy object which is an invocation handler pointing back to Python and being a foreign element to Java, this make perfect sense.  Thus if you have some object which is foreign to Java (say an Unsafe buffer from a native C library), then the magic wrapper can unpack it to C internals rather than just a reference back Java.
I can make buffers memory viewable like arrays pretty easily (though you can do that already by calling memoryview(buffer.array() but that will again be read only access because of JNI limits.  DirectBuffers that are shared (read and write) are currently support, but only if the memory was created on the Python side.  To really support a please take this object and create a memory view in Python from Java, we would need a marker that something has an Unsafe access and some way to retrieve the point, shape, and datatype if you want to be able to get direct access, and it must not be a class that is usable for other purposes so that it doesn't matter if we can't get a handle to it.
But if you have some Java code that can pull off that stunt with a regular buffer, then we do have another option.  While I can't magic wrap a normal Java type (as it hides the Java object making it inaccessible to Python) I can always add utility functions to create a view on the Python side.  It would require explicit action on the users part to get to the view, but it would serve much the same function.
I hope this clears things up.

I didn't say we should directly pass the Buffer, I said we should have a small wrapper class, with the buffer and some metadata including the shape: it wouldn't interfere with those who want to work with Buffers as today (because you are right we don't want any magic on standard Java types), but it solves all use cases, it's almost no work on the Java side (since it's reusing the existing Buffers), and the Python side can do the necessary magic to make it appear as a memory view.
The solution with utility functions on the Python side, taking a Java Buffer and shape, also looks good, it's similar to what I was going to do on my side (retrieve pointer + shape in Python, then wrap it as a memory view or directly to a numpy array).

Do you have some code that will get the void* pointer from a Buffer?   I thought that Buffers can have many types of backers.

Okay it looks like the JNI call GetDirectBufferAddress may give what is needed.  I will run some tests to see if I can create a float buffer that is backed by direct access.

I believe I have enough information to implement a Buffer which will create a memory view on request.   Estimated effort will be 8 hours.   Lets see how this goes.

Wow that was quick!
Let me have a look, keep you posted (not much time available today) :)

I asked someone in my team to test, and it looks good on buffers!
But your buffer2 branch crashes, as it does on the master (was working on 0.7.1/2): https://github.com/Thrameos/jpype/issues/43

Thanks I will look it over this evening (9 hr from now)


flutter test foo/bar crashes if test/ directory is missing

The flutter test tool checks that there's a test/ directory only in the case of there being no arguments. If there are arguments, it doesn't. But it still tries to change to that directory and then crashes if it's not there.

I need to fix this as part of fixing the tree.


GRUB bootloader after installing NixOS.

Issue description
@srhb
Specially for noob like me, It would be great to add in the manual How to boot into your other sytems, if you have any , after installing NixOS. Otherwise NixOS will overide the existing bootloader and you may have hard time to know how deal with that if you don't have enough experience with boot/GRUB stuff.
So I think something like this would be great:
12. If you Already have any system running on your machine before installing NixOS, you may want to get back/boot on them after you finish installing/testing NixOS. So to do that, It's very easy, just add boot.loader.grub.useOSProber = true; in your configuration.nix file.

I'd go so far as to say maybe this should be on by default. Are there any downsides?

@michaelpj I think that's a good idea, but in that case, the recommendation of using systemd-boot for UEFI installs doesn't really work out and should be changed as well.

Fixed in #30911


How to use transaction without throw?

In the example, script use throw err when something not success. But its breaking my apps. Anyone have reference how to use transaction without throw.
Thanks

Which example you are pointing to. Can you be more specific?

I use example from this repo documentation.
connection.beginTransaction(function(err) {
  if (err) {
    throw err;
  }
  connection.query('INSERT INTO posts SET title=?', title, function(error, results, fields) {
    if (error) {
      return connection.rollback(function() {
        throw error;
      });
    }

    var log = 'Post ' + results.insertId + ' added';

    connection.query('INSERT INTO log SET data=?', log, function(error, results, fields) {
      if (error) {
        return connection.rollback(function() {
          throw error;
        });
      }
      connection.commit(function(err) {
        if (err) {
          return connection.rollback(function() {
            throw err;
          });
        }
        console.log('success!');
      });
    });
  });
});

I try to change the above code to promises and when error happen the transaction never rollback. But the problem has been resolved, inspired by this https://github.com/mysqljs/mysql/issues/1668#issuecomment-287519992
I'm never know when use two connection.query the query run separate. So i change the code to use connection.getConnection and everything ok. I think the documentation not mention it.
Thanks before

I'm not sure I understand the question / issue. If you don't want it to throw, then just change the code to do something different. Can you be more specific?

Sorry my bad, i dont know what happen with my code. Some weeks a go my code not work and now work without problem.
Lets say i have two tables:

tbl_antrian_panggil
tbl_history

id_loket
id_user
nomor_antrian
waktu_mulai

1
1
1
2017-06-04 17:08:37

id_loket
id_user
nomor_antrian
waktu_mulai
waktu_selesai

I want to copy  tbl_antrian_panggil row to tbl_history with additional info and delete tbl_antrian_panggil row after the copy successfully. So i use this code
var mysql = require('mysql');
var Q = require('q');

var connection = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: '',
    database: 'antrian'
});

connection.beginTransaction(function() {
    Q.npost(connection, 'query', [
        'INSERT INTO tbl_history(id_loket, id_user, nomor_antrian, waktu_mulai, waktu_selesai) '+
        'SELECT id_loket, id_user, nomor_antrian, waktu_mulai, NOW() FROM tbl_antrian_panggil'
    ])
    .then(function() {
        return Q.npost(connection, 'query', ['DELETE FROM tbl_antrian_panggil LIMIT 1']);
    })
    .then(function() {
        return Q.npost(connection, 'commit');
    })
    .then(function() {
        console.log('success');
    })
    .catch(function(error) {
        console.log(error);
        connection.rollback();
    });
});

Gotcha. Yea, it looks like you're doing it using Q. If you were wondering what that would look like as callbacks:
var async = require('async');
var mysql = require('mysql');

var connection = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: '',
    database: 'antrian'
});

connection.beginTransaction((err) => {
  if (err) throw err;
  async.series([
    (next) => connection.query('INSERT INTO tbl_history(id_loket, id_user, nomor_antrian, waktu_mulai, waktu_selesai) SELECT id_loket, id_user, nomor_antrian, waktu_mulai, NOW() FROM tbl_antrian_panggil LIMIT 1', next),
    (next) => connection.query('DELETE FROM tbl_antrian_panggil LIMIT 1', next),
    (next) => connection.commit(next)
  ], (err) => {
    if (err) connection.rollback();
    else console.log('success');
  });
});


Fixed all occurrences of "opcaity"

Due in part to my incompetence and Atom's auto-complete feature I managed to misspell every occurrence of the word "opacity" inside of the prop defaultOpacity. The prop was working correctly as long as the user set "defaultOpcaity" instead of "defaultOpacity". I have fixed this and everything is working as it should. I'll be sure to double check for things like this in the future.
Sorry for the inconvenience!

No problem :)


[BUG] invalid wasb credentials taking 13-14 minutes to execute

Describe the bug
invalid wasb credentials taking 13-14 minutes to execute. from 5.x this issue is happening. till 5.0.0 its working as expected
Exception or Stack Trace
Getting correct error but it is taking time
To Reproduce
Steps to reproduce the behavior:
Code Snippet
   public static void main(String[] args) {
// Replace with your Azure Storage account name and key
String accountName = "";
String accountKey = "";
// Replace with the path you want to access
    String wasbPath = "";
    Configuration conf = new Configuration();
    // Set the configuration for Azure Blob Storage
    conf.set("fs.azure", "org.apache.hadoop.fs.azure.NativeAzureFileSystem");
    conf.set("fs.azure.account.key." + accountName + ".blob.core.windows.net", accountKey);
    long startTime = 0;
    try {
        startTime = System.currentTimeMillis();
        // Get the FileSystem object
        FileSystem fs = FileSystem.get(new URI(wasbPath), conf);

        // Create a Path object for the file
        Path path = new Path(wasbPath);

        // Check if the file exists
        if (fs.exists(path)) {
            // Read the file
            BufferedReader br = new BufferedReader(new InputStreamReader(fs.open(path)));
            String line;
            while ((line = br.readLine()) != null) {
                System.out.println(line);
            }
            br.close();
        } else {
            System.out.println("File does not exist");
        }

        // Close the FileSystem object
        fs.close();
    } catch (Exception e) {
        long endTime = System.currentTimeMillis();
        long executionTimeInMillis = endTime - startTime;
        double executionTimeInMinutes = executionTimeInMillis / (1000.0 * 60.0);
        System.out.println("Execution time: " + executionTimeInMinutes + " minutes");
        e.printStackTrace();
    }
}``

Expected behavior
It should fail immediately
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: [e.g. iOS]
IDE: [e.g. IntelliJ]
Library/Libraries:

<dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-common</artifactId>
      <version>3.2.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-azure</artifactId>
      <version>3.2.2</version>
      <exclusions>
        <exclusion>
          <groupId>com.microsoft.azure</groupId>
          <artifactId>azure-storage</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

Storage dependency
com.microsoft.azure azure-storage 5.1.0  - Java version: 11
If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

verbose dependency tree (mvn dependency:tree -Dverbose)
exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

@ibrahimrabab @ibrandes @kyleknap @seanmcc-msft  Just wanted to follow up on this..Any update on the reported issue pls??

@ibrahimrabab , by chance any update on whats the plan for this reported issue?


feat: add superprofile integration with fauna

Add

Mutation API to upsert users to Fauna on user login/signup
MVP superprofile UI

Reference

GraphQL schema can be found within assets/rc4community-schema.graphql.

Functions
Fauna UpsertUser function
Query(
  Lambda(
    ["uid", "email", "displayName", "phoneNumber", "photoURL"],
    Let(
      {
        user: Match(Index("getByEmail"), Var("email")),
        upsert: If(
          Exists(Var("user")),
          Update(Select(["ref"], Get(Var("user"))), {
            data: {
              displayName: Var("displayName"),
              phoneNumber: Var("phoneNumber"),
              photoURL: Var("photoURL")
            }
          }),
          Create(Collection("User"), {
            data: {
              uid: Var("uid"),
              email: Var("email"),
              displayName: Var("displayName"),
              phoneNumber: Var("phoneNumber"),
              photoURL: Var("photoURL")
            }
          })
        )
      },
      Var("upsert")
    )
  )
)

Roles

@RonLek  are you going to add the "simplified key-value abstraction version" on this PR?   Or elsewhere?  Thanks.

@Sing-Li will be adding the abstracted version here itself. Working on this.

Merging to unblock @Dnouv . Will push the abstracted version on a separate branch.


lago-619 enabling recollateralization on mainnetFork

What's the purpose of your PR?

[ ] Fixing a bug
[ ] A new Feature
[ ] Techdebt
[ ] General Task

What your PR is all about?
Any special instructions for the reviewer?

@AndrzejGisWideLab please fix the broken tests, we cannot merge the PR right now since it's broken


HIVE-2509: Skip Konflux builds when possible

This copies the golang (Re2)regular expression S that we use in prow[0] and leverages the fact that according to [1] on-cell-expression has a special "files.all" value that contains a list of all the added/modified/removed/renamed files. It also says that you can use CEL[2] expressions on those. Thus, we should only run the build if all the files in "files.all" do not match the aforementioned regular expression S.
[0] https://github.com/openshift/release/blob/ee0afebfe1ca88b8c35426120cb175fc8d989ffc/ci-operator/jobs/openshift/hive/openshift-hive-master-presubmits.yaml#L83
[1] https://pipelinesascode.com/docs/guide/authoringprs/
[2] https://github.com/google/cel-spec/blob/master/doc/langdef.md#macros

/retitle HIVE-2509: Skip Konflux builds when possible

Tried to test this out, but we're going to need to wait until it merges.
Try; iterate if necessary.
/lgtm

Validated via #2285. Thanks @celebdor!


Basic auth for backend ssl service.

I have an ingress setup with the nginx ingress controller version 0.90beta2 and I can't seem to make basic auth work on this interface.  It seems to go right past  as if no authorization attempt is being made.  i have a docker registry v2 running in the cluster via a real cert ( not self signed).  Works just fine.  It is fronted by an ingress.
Here is my ingress:
   90	---
    91	apiVersion: extensions/v1beta1
    92	kind: Ingress
    93	metadata:
    94	  name: kube-registry
    95	  namespace: kube-system
    96	  annotations:
    97	    kubernetes.io/ingress.class: "nginx"
    98	    ingress.kubernetes.io/ssl-passthrough: "true"
    99	    ingress.kubernetes.io/secure-backends: "true"
   100	    ingress.kubernetes.io/auth-type: basic
   101	    #the auth-secret has to come from a file called "auth"
   102	    ingress.kubernetes.io/auth-secret: registry-auth
   103	    ingress.kubernetes.io/auth-realm: "Authentication Required - for the registry"
   104	spec:
   105	  rules:
   106	  - host: registry.ops.example.com
   107	    http:
   108	      paths:
   109	      - path: /
   110	        backend:
   111	          serviceName: kube-registry
   112	          servicePort: 443
   113	  tls:
   114	  - hosts:
   115	    - registry.ops.example.com

Logs from the nginx controller look "normal" nothing to really report.  I've logged on to the container and this is the generated config.  At least a snippet of it
 server {
        server_name registry.ops.tropo.com;
        listen [::]:80 proxy_protocol;
        listen 442  ssl http2;
        # PEM sha: 146d6a1a176900b4af00faf1b177c82d6c7b39ae
        ssl_certificate                         /ingress-controller/ssl/system-snake-oil-certificate.pem;
        ssl_certificate_key                     /ingress-controller/ssl/system-snake-oil-certificate.pem;

        more_set_headers                        "Strict-Transport-Security: max-age=15724800; includeSubDomains; preload";
        location / {
            set $proxy_upstream_name "kube-system-kube-registry-443";

            port_in_redirect off;

            # enforce ssl on server side
            if ($scheme = http) {
                return 301 https://$host$request_uri;
            }
            auth_basic "Authentication Required - for the registry";
            auth_basic_user_file /etc/ingress-controller/auth/kube-system-kube-registry.passwd;
            proxy_set_header Authorization "";

            client_max_body_size                    "1m";

            proxy_set_header Host                   $host;

            # Pass Real IP
            proxy_set_header X-Real-IP              $remote_addr;

            # Allow websocket connections
            proxy_set_header                        Upgrade           $http_upgrade;
            proxy_set_header                        Connection        $connection_upgrade;

            proxy_set_header X-Forwarded-For        $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Host       $host;
            proxy_set_header X-Forwarded-Port       $pass_port;
            proxy_set_header X-Forwarded-Proto      $pass_access_scheme;

            # mitigate HTTPoxy Vulnerability
            # https://www.nginx.com/blog/mitigating-the-httpoxy-vulnerability-with-nginx/
            proxy_set_header Proxy                  "";

            # Custom headers

            proxy_connect_timeout                   5s;
            proxy_send_timeout                      60s;
            proxy_read_timeout                      60s;

            proxy_redirect                          off;
            proxy_buffering                         off;
            proxy_buffer_size                       "4k";

            proxy_http_version                      1.1;
            proxy_pass https://kube-system-kube-registry-443;
        }
    }

Oh and I've checked this file:
auth_basic_user_file /etc/ingress-controller/auth/kube-system-kube-registry.passwd;
does exist and is valid.

@snoby what happens if you send the traffic direct to your ingress? Maybe you should disable proxy_protocol to do this.
curl -vi INGRESS_IP -H 'Host: registry.ops.tropo.com' and
curl -vi https://INGRESS_IP:442 -H 'Host: registry.ops.tropo.com'

@snoby if you add ingress.kubernetes.io/ssl-passthrough: "true" you cannot use the auth annotations. Any connection in port 443 will be send to the pod. If you remove that then the auth annotation will start working.

@aledbf  - I just realized what you said digging into the nginx.conf.  The basic auth configuration was put in the port 80 and 442 server block not in the 443 server block.  Is there a reason for this?  or is this a bug?

So I tried to put in whitelisting, that doesn't work either when the back end service is ssl.  Looks like I"m losing a lot of functionality.

@snoby if you add ingress.kubernetes.io/ssl-passthrough: "true" you cannot use the auth annotations. Any connection in port 443 will be send to the pod. If you remove that then the auth annotation will start working.

@aledbf  It'll be good to add a warning in the controller when one annotation conflict with another one.

indeed for those of us with only an elementary understanding of how the ingress and nginx works that would save a lot of time.

https://github.com/kubernetes/ingress/issues/492


Javascript engine is returned as null when com.linkedin.drelephant.ut…

…il.UtilsTest.testGetParam() is run
with code coverage. Turns out to be an sbt issue as noted here.
http://stackoverflow.com/questions/20168226/sbt-0-13-scriptengine-is-null-for-getenginebyname-javascript
Note:

All tests passed post this fix with and without code coverage
Application started without any issues

+1, thanks.
As we discussed, please send out a patch to include the code coverage analysis.

Added code coverage along-with. Please review.

+1, thanks Ragesh.
Updating how to run the code coverage analysis in the wiki would be helpful.


Migrate Tables testsuite to new test proxy infra

Engsys team and our friend @scbedd worked on a new test proxy infra for all repos (for curious people the code is here, but it's not necessary to read it for this issue).
This means we are moving away from "azure-devtools" and the VCRPy integration to use the new system. This implies a few changes in the code for tests on each packages:

Change the inheritance from AzureTestCase to the new class
This may imply changing some "self.assertXXX" to assert keyword, since assertXXXX will become unavailable.
Rewrite as necessary the sanitizers (if any) of that package in call to the test proxy\
Record the tests with the new system (and remove the old recordings)
Investigate any "live only tests" if any to see if they would work with the new system

Onboarding documentation is being written right now by @mccoyp. Given this document will be new, this is open to feedback and feedback should be done. @mccoyp will also present the onboarding documentation on August 12th to the SDK team.
Work is done when tests are running entirely under the new testsystem, and there is no usage anywhere of AzureTestCase in the Tables testsuite, will all live pipeline green.
Tables SDK is here:
https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables

@YalinLi0312 please check out the branch integrate-proxy. @seankane-msft made a bunch of progress on this. @mccoyp picked up after is working on keyvault tests with this same effort.

Fixed.


fixing blocksleft for GUI.

Description
Fix GUI upon syncing block the display of block left.
Checklist

[ ] 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)
[ ] My code follows the code style of this project.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] CHANGELOG is updated.

Thanks @yenkhoon


I know it's still not done, but is it possible to starting modding with this one already? The extra features hooked me up.

Yes, using the source code should be just fine. You can always report bugs here


Issuing credits to Vitalik

Issue 492788 credits to @vbuterin.

 Follow up
On Tuesday, 27-Feb-24 22:30:35 UTC by Gov4Git dev
Could not issue 492788 credits to member @vbuterin. Reopen the issue to retry.
Because: file does not exist


Platform/Gtk: set MainWindow for size

These changes are necessary for having access to MainWindow in MauiGtkApplication. Initially, this field was always null and was never set. We needed access to MainWindow to do manual operations like resize on it because the applications might want to specify custom size of the window.

Sorry for closing, @jsuarezruiz or @lytico can you review?


npm i -g tiktok-scraper not working/supported

I have been following the step-by-step instructions on the Bellingcat site. All the steps had worked so far except n 16, but I was still able to get the correct version number displayed through sudo n 16. However, when I enter npm i -g tiktok-scraper, it states that it cannot run the program because Request has been deprecated. When I tried following the directions on the GitHub page, I got this error: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'.
Is there some way around this issue?
For context, I have a Mac book Air and had Python 3 installed before starting the tutorial. I have no real coding/computer science experience, so I don't really know how to troubleshoot. Thanks!

When I tried following the directions on the GitHub page, I got this error: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'.

Was this error produced when trying to run the pip install -r requirements.txt command?
If so, you'll want to make sure that you're doing so from the root folder of this project, since that is where the requirements.txt file is located.
In your terminal or command prompt, use the cd command to change directories to where you have cloned this repo. For example, cd ./tiktok-hashtag-analysis
Let me know if you need help figuring out where you cloned the repo to, and I can give you some more specific info on how to use cd to change to that directory.

Switched to a non-broken, Python-language scraper. This problem should be addressed in the most recent version of the tool. Let me know if you're still experiencing problems running the tool.


Display the Floating Bar on the current page - instead of new tab

Would be great to not have to create new tab just to search. If the extension could run on the existing page, that would be great.

That would be pretty cool. The Super URL Bar has an option to "Always open websites in a new tab when using url bar":

This sounds like it would be similar, with some minor changes:

Pressing Ctrl+T wouldn't immediately spawn a new tab, but just focus the URL bar with a clean input
Typing anything in and hitting Enter would open the URL in a new tab

Otherwise:

Simply focusing the URL bar by clicking on it or hitting the shortcut (default: F6) would simply change the current tab

Then it would function almost like a Command Palette.
Speaking of which, a Command Palette would be a pretty awesome addition to Zen, but that's for another repo :sweat_smile:


Custom style as process argument

Now the user should be able to pass custom style to import-sort process simply with:
$ import-sort input.js -s custom-style.js output.js
or
$ import-sort-input.js --style custom-style-js output.js
So, this should close #1.

Hi @renke,
did you have time to review this?

I will test and merge it later this day! I was a bit busy in the last days.
Thanks for your effort.
On Wed, Dec 9, 2015 at 10:15 AM, Andrea Ascari<EMAIL_ADDRESS>wrote:

Hi @renke https://github.com/renke,
did you have time to review this?
—
Reply to this email directly or view it on GitHub
https://github.com/renke/import-sort/pull/2#issuecomment-163157861.

Hi @ascariandrea
I merged your branch and also published a new minor version.
By the way, would you share your custom style module? Maybe we can include it as additional built-in style or at least use it as an example for other people to learn from.


IMDB API

Add call to IMDB API to populate information about the specific movie selected from Disney character

Successfully merged update to main


[PT-BR] Add support for HassListAddItem

[PT-BR] Add HassGetWeather
[PT-BR] Add HassNevermind

@luyzfernando08 Hi, at first glance, there's no newline character at the end of the tests/pt-br/_fixtures.yaml file.
If you're developing on your machine, it's a good idea to create a test environment with the script/setup command, which is available in the repository.
Then, you can use the script/lint command to fix the files, ensuring there's no unnecessary whitespace and that the file's format is correct.
Finally, you can test with the script/test command.
If all these are done, it should pass here as well.

@luyzfernando08 Hi, at first glance, there's no newline character at the end of the tests/pt-br/_fixtures.yaml file.
If you're developing on your machine, it's a good idea to create a test environment with the script/setup command, which is available in the repository. Then, you can use the script/lint command to fix the files, ensuring there's no unnecessary whitespace and that the file's format is correct. Finally, you can test with the script/test command. If all these are done, it should pass here as well.

Thank you for your help.


Times do not update when single digit hours/minutes.

Times do not update in the date input when clicking the up/down arrows on the time setter when the hours or minutes are in single digits.
Expected Behavior

Clicking the up and down arrows should consistently force an update of the time.
Current Behavior

When the hours or minutes are in single digits (1-9), the time is not updated unless you manually type in a leading 0.
Possible Solution

Either force an update to the value on the up/down arrow clicks or have values less than 10 display with a leading zero (could be an easier fix).
Steps to Reproduce (for bugs)

Set the time to 10:30.
Click hour down. Time stays 10:30.
Click the minute down, time sets to 9:29.
Set time to 10:10.
Click hour down. Time stays 10:10.
Click minute down, time stays 10:10.
Click minute down until you reach 55, time sets to 9:55.

Context

Your Environment

Version used: v2.2.8
Browser Name and version: Chrome 55.0.2883.87 m
Operating System and version (desktop or mobile): Windows 7
Link to your project: n/a

I believe this is resolved in v2.2.9
See https://chmln.github.io/flatpickr/#example-datetime

Well, what do you know? Fixed. Thanks for the speedy response!

@gregorytoddsmith welcome :+1:
and thanks for reporting the issue


Doesn't work...

found 0 vulnerabilities
hoobs@hoobs:/home/hoobs/.hoobs/etc $
hoobs@hoobs:/home/hoobs/.hoobs/etc $
hoobs@hoobs:/home/hoobs/.hoobs/etc $ npm fund
<EMAIL_ADDRESS>+-- https://github.com/sponsors/feross
|   --<EMAIL_ADDRESS>-- https://github.com/sponsors/epoberezkin
`--<EMAIL_ADDRESS>

????

The install just fails.  Says 2 funds missing.

Both using code or the ui


Staging

#53
#77

Coverage increased (+0.6%) to 97.411% when pulling fe94078fca7bf1af2f510e5ed1501633fd97c5a0 on staging into 1d69342ba3629755f5f9d161255c565d21053a9e on master.


Bump to v0.10.0

:D

Sorry, I didn't see there were open PRs to bump the version. Just released v0.10.0 and v0.10.1


Make the profile creation/edit page look pretty

Make it look better
Consider if the list of fields we have are the correct ones.

There's a broader question about whether this is the correct list of fields for us to be getting, but at a basic level this could look a lot prettier.
This is 100% HTML and CSS, so this could be a great task for somebody who feels relatively visual design-y.
I think this should probably have text descriptions for each field. I'm happy to help jam on these.

i can take a stab at this one!

Awesome! :D

Just to call out explicitly: this now looks great (🎉) but still needs a pass on which fields are the correct ones, and writing longer-form descriptions for what they are.

i can take another pass at this -- i think the fields are right for the most part, but i may try renaming "Description" to "Bio" or something like that. i'd never played a MUD before, so i initially thought "Description" meant a physical description of my character in the game lol

No, you had it 100% right for description — not described at all in the current form, but I was imagining people would describe how their avatars look in the space :)
I think I'd like to take this, if you don't mind. I have some specific thoughts about the least-confusing way to present this to folks I'd like to toy with.

I tried framing this as a "name badge", and added some descriptions to each field. Thoughts?

Other things on my mind:

Right now, we auto-add your Twitter handle to your bio. We probably want to let people add their own handle instead of just the one they logged in with, maybe?
There's room for a lot of other fun fields (e.g. their "character class", in Alexei's parlance from last year). I'm not sure how much whimsy we should add vs them just adding more fields for people to fill out.

I actually prefer the auto-add your Twitter handle - less things for the end user to type, since we're requiring Twitter login anyway unless someone actually changes the authentication options.
I am very biased pro-Alexei here, I did love the 'character class' from last year, I think it'd be a fun nod and a good way to make conversation - but I do wonder if it'd be a bit hard to describe on our limited amount of space for folks who didn't see her talk last year. Indeed, one of the fun things about it last year was that it came organically from what inspired people at the con - if we can change it mid-flight like that reacting to this year's content, that'd be ideal.
Also relatedly - do we want to make pronouns required?

My assumption was that we should prepopulate the Twitter field, rather than either have it be blank or (as it currently is) automatically forcibly set to whatever you logged in as.
Yeahhh, I think the character classes is a lot like the "it's set at GitHub" thing in that this is fun for old-timers and baffling for anyone new.
Right now, no fields are required. I think it's important that pronouns be optional — this can be confusing and scary for questioning folks, and even the act of writing "ask me" or something like that can be a lot. That runs the risk of some asshole cis dudes not putting anything in, but that's a social problem to solve.

a few thoughts:

i think for privacy reasons, it'd be nice if we made it optional to display your Twitter handle. even though we require Twitter for login, some folks might not want to display it
if we were to allow people to add a Twitter handle that they didn't log in with, would we require them to authenticate that handle? otherwise people could just add Twitter handles that don't belong to them / potentially try to impersonate someone else
small UI thing - you might want to try giving the field descriptions a smaller font-weight or maybe a subtler color. the visual hierarchy is a bit confusing to me at the moment

Yeah, absolutely agree about making it optional to display your Twitter handle. My thought was that if we just prepopulate a normal text field with whatever you've logged in as, just letting people delete it is probably fine?

I think I'm not particularly worried about authenticating handles? Most online spaces that let you enter social media handles

Re: both of those previous points: maybe I'm wrong and we should just say "here's your Twitter handle you logged in as, do you want to display it publicly or not?"

Ahh, good call on the visual hierarchy. I'm happy to take a stab at that tonight, but also happy if you want to clean things up. I hope the changes I made don't feel like I was stepping on the toes of your earlier work! Absolutely not my intention, but apologies if that ended up happening regardless.

my vote would be for "here's your Twitter handle you logged in as, do you want to display it publicly or not?"
and omg no worries at all!! i absolutely did not think that what i previously pushed was gonna be the final product. also y'all know much more about the history / intent of this space than i do 😅  i'm just happy to contribute

Ahh, good catch, thanks!

I fixed scrolling as suggested, happy to call this done for the purposes of the preview.


GM is unable to split coin distribution from loot sheet

Bug:
When clicking the Split button on a loot sheet, coinage is not split among the designated actors and an error pops up "No active character for user".
Notes:
The flow does work for a player if that player is set to Owner for the loot sheet.
Also note, any modification to the coin manually by the GM generates the same error "No active character for user", but the coin change is accepted.

Fixed in 2.1.2


text/html stacktraces

Stacktraces could use <display> or other handy tags to hide likely irrelevant info when displayed in html environments.
Could use other markup to make the errors a bit easier to read, too.

I'm not familiar with those environments, though that sounds like a useful idea! I think it's beyond the scope of what I want to do here, though I'll keep this open so the idea is out there. :-)

I'm going to close this as not in scope for this package. The intent is to make REPL usage easier. Other display pathways can do their own thing, or build on top of this.


No remoteAddress and remotePort fields in the request.socket member

To comply with http IncomingMessage specification https://nodejs.org/api/http.html#http_http_incomingmessage , essentially, with socket specs, it would nice to implement that.

I added a pull:
https://github.com/molnarg/node-http2/pull/123


Add universal parameters

Add universal parameters (format), including HTML and CSV to all endpoints.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 96.26866% with 5 lines in your changes missing coverage. Please review.

Project coverage is 98.65%. Comparing base (cc063eb) to head (b6b9f49).

Files
Patch %
Lines

src/Endpoints/Responses/ResponseBase.php
73.33%
4 Missing :warning:

src/Endpoints/Responses/Indices/Candles.php
66.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #12      +/-   ##
============================================
- Coverage     99.56%   98.65%   -0.92%
- Complexity      132      167      +35
============================================
  Files            37       40       +3
  Lines           459      520      +61
============================================
+ Hits            457      513      +56
- Misses            2        7       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: (c sshnpd) username and --list-devices bug

closes #1115
- What I did

Updated C Daemon's use of atSDK to a commit hash with compounding namespace atkey fix

- How I did it

Notice that the namespace before is .vps but now it is .vps.sshnp. The latter is correct.

- How to verify it
Before (this is current implementation of trunk on how the username is stored on device atSign):
C Daemon (Ubuntu):
[DEBG] 2024-07-09 14:37:55.055047 | connection |        SENT: "update:ttr:-1:ccd:true:isEncrypted:true:ivNonce:/hNQGn92PwC54ZfawOc6HA==:@soccer0:username.vps@soccer99 AB4dwzWuDYlfz4dA1PSacg=="
[DEBG] 2024-07-09 14:37:55.093833 | connection |        RECV: "data:533"

v5.5.0 M2 Air SSHNP Client:
As expected, the username is not shared.
Error : Remote username record not shared with the client

Stack Trace: #0      SshnpdChannel.resolveRemoteUsername.<anonymous closure> (package:noports_core/src/sshnp/util/sshnpd_channel/sshnpd_channel.dart:161)
#1      _rootRunUnary (dart:async/zone.dart:1407)
#2      _CustomZone.runUnary (dart:async/zone.dart:1308)
#3      _FutureListener.handleError (dart:async/future_impl.dart:181)
#4      Future._propagateToListeners.handleError (dart:async/future_impl.dart:859)
#5      Future._propagateToListeners (dart:async/future_impl.dart:880)
#6      Future._completeError (dart:async/future_impl.dart:660)

AFTER
C Daemon (This PR contains fix to compounding namespacing.)
[DEBG] 2024-07-09 14:40:46.111179 | connection |        SENT: "update:ttr:-1:ccd:true:isEncrypted:true:ivNonce:9WMJlltq4nxzUOq+VHuLQA==:@soccer0:username.vps.sshnp@soccer99 wbyrVsvUJf5+9JEzzMZSAw=="
[DEBG] 2024-07-09 14:40:46.148773 | connection |        RECV: "data:543"

- Description for the changelog
fix: (c sshnpd) username and --list-devices bug

Also fixed --list-devices
See:
v5.5.0 M2 Air SSHNP Client
➜  v5.5.0 ./sshnp -f @soccer0 -t @soccer99 -d vps -i ~/.ssh/id_ed25519 -r @rv_eu --list-devices
Searching for devices...
Active Devices:
  vps - v0.1.0 (core vc0.1.0)
  - allowedServices: localhost:22 localhost:3389
Inactive Devices:
  No devices found

C Daemon ping response
DEBG] 2024-07-09 14:58:50.063101 | sshnpd | Released the atclient lock
[DEBG] 2024-07-09 14:58:50.064922 | sshnpd | Received message of type: 1
[DEBG] 2024-07-09 14:58:50.065064 | sshnpd | Notification value received: ping
[DEBG] 2024-07-09 14:58:50.067312 | sshnpd | Executing handle_ping
[DEBG] 2024-07-09 14:58:50.077937 | connection |        SENT: "noop:0"
[DEBG] 2024-07-09 14:58:50.113603 | connection |        RECV: "data:ok"
[DEBG] 2024-07-09 14:58:50.114342 | connection |        SENT: "llookup:shared_key.soccer0@soccer99"
[DEBG] 2024-07-09 14:58:50.151154 | connection |        RECV: "data:GRluAnPbZML0MVUCoq/MWwv0ZVZyRNigrKoeMyn2pZxBujbfPk+KAoGmOmwvEJGsYuplAKZLLreV3QcQxHxUaHQ/weWwXMrgaogJkUlSt99fUAl/vZmK0hG31tnyJ4suEQTJHAUlmc09fy1mLlP/oBZuRLijL9aH0XirGsd7wAoFFuNNaKwhN0Lx8mVjrQNqq4uY39pJuMWAPebLG6uNQk6PZX8GQ9tu15YGerJqRJUsVrXVkPq3jNmRMaMjZWbluz/bzD7b7BK207WqiMv938awGD0qfixPjVg8gY2kY+8uMMXYlVe8eZz4C0LC/egFeEXJkidY2FeNCeJ8oIMtgQ=="
[DEBG] 2024-07-09 14:58:51.010310 | connection |        SENT: "noop:0"
[DEBG] 2024-07-09 14:58:51.045828 | connection |        RECV: "data:ok"
[DEBG] 2024-07-09 14:58:51.047782 | connection |        SENT: "notify:update:messageType:key:priority:low:strategy:all:ttln:86400000:ttl:10000:isEncrypted:true:ivNonce:8LRQiiE0MfqyWq2UiG24kQ==:@soccer0:heartbeat.vps.sshnp@soccer99:DoJ5GxoBb3VIBwJldOvz5YsH0vXmjnCsZKAa7JWJc7sU2DV+WBMicEydeZWB5td2meH8yWz03pZRfqLpN8ZOB2bit4zt2894C1wd8NshJ0Jwi2LAYZzK93CNGc2qbCk97RyFzzpOtHf30NECtVnwHPskUpxANdysMVqB6B7PYECljfIocUV2aJWwc5zBQ0t4lShk1fhh/g4WW29XupElOugJJ9guoZdHPeEtQypNcFpUc9aBHFzXAE2frhlDgRx8OA1isKmjyayA22nASofxKhcu0z1xCwrBxA6cZZWOmu8="
[DEBG] 2024-07-09 14:58:51.098865 | connection |        RECV: "data:3e23aef0-c98d-4105-a7e7-75aa5eefc12c"
[DEBG] 2024-07-09 14:58:51.100711 | PING RESPONSE | Released the atclient lock

Waiting for https://github.com/atsign-foundation/at_c/pull/334 to be merged then I will request reviews here


Yolink hub

Hello.
I recently purchased a Yolink smart motorized valve. I am wondering if I also need to purchase the Yolink hub for it to function through the Yolink app? Or can I use a Hoobs hub/homebridge plugin instead? Newbie here so I apoligize.

All Yolink devices require the Yolink hub to operate.  This plugin will not work without that.


fix(links): fix Learn More broken link

This commit adds Docs link to the external links constant (links.ts) and uses the added link in the homepage and NetworkSwitcher sections. fixes #301

@hanifbirgani Please contact me on Discord.


Added dark-light mode toggling button

Here is the video demonstration of how the button works.
iBlog - Heaven for bloggers.webm

@RishabhJain0721 make it a toggle button


39 Add IP::addr (partial)

@nhemingway did you try running the tests with ./tests.sh tclsh? it seems there is an issue related to recursion?
self-referential recursion in "unknown" for command "uplevel"
    while executing
"uplevel 1 {::namespace current}"
    (autoloading "uplevel")
    (procedure "::unknown" line 30)
    invoked from within
"uplevel 1 [list ::source -encoding utf-8 $langfile]"
    (procedure "::msgcat::m


Fix broken bounds checks

As #387 explains, we have some bounds checks that should rather be checks for equality, unless we want to allow our Arrays to over-allocate memory, e.g. for SIMD purposes or similar.
This pull request replaces all GKO_ENSURE_IN_BOUNDS by equivalent or more strict GKO_ASSERT_EQ

@upsj I forgot to point you towards the How to merge entry in our wiki.
Usually, the first step is to rebase against develop (so all your changes appear behind one another), followed by writing the commit message, which is described in the already mentioned "How to merge" wiki entry. Here, the most important parts are that the title should be descriptive and to always include the full link to the PR page at the very end (usually with Related PR: <link>).

Some tests are failing due to changing to GKOASSERT_EQ, the ASSERT_THROW in tests should have a different value.

There were two types of failures: Mismatching exception types as @tcojean mentioned and some bounds checks indeed need to use GKO_ENSURE_IN_BOUNDS as they concern submatrices of dense matrices.


Update AutoRest C# version to 3.0.0-beta.20240404.1

Update AutoRest C# version to 3.0.0-beta.20240404.1

Why, at least for Key Vault, is a method being added that's not even called? Or is it a static interface implementation with a generic return parameter? Linking these somehow to a changelog or something in Azure/autorest.csharp would help.

It will be called on the later phase of consolidation project. HLC Rest Clients will call these to serialize/deserialize models.


Fix capitalization for OS X

☺

This was fixed by #283 which now generates the titles from the headings instead of the filename.


[WIP] require Java 11 [WIP]

This has a number of pre-requisites, and this PR as is today does not work.
As other PRs get merged over the coming days & weeks, we'll eventually be able to get this to pass.

This has a number of pre-requisites

including #608, and possibly https://github.com/radcortez/openjpa-gradle-plugin/issues/8 (although strangely I didn't run into that issue; curious).

(although strangely I didn't run into that issue; curious)

Hey @vorburger. Are you referring to the :enhance issue? Or the :metamodel issue? Apologies for the confusion between the two.
The :enhance issue that I referred to here and the :metamodel issue that I referred to here, are separate issues — though on the same plugin — discovered under separate scenarios.
I discovered the :enhance issue immediately after I cloned the fineract project. The very first thing I did as a sanity check, was run gradle check on the project. That failed, producing this stack trace. However, I proceeded with myapi/implementation changes regardless, by working around that. I simply excluded the problematic task with gradle -x :enhance ... whenever I needed to build the project.
After I was finished, I was still curious why the :enhance task had failed. So I investigated by creating a simple, stripped-down standalone project that only applied the com.radcortez.gradle:openjpa-gradle-plugin:3.0.0. That simple project did not include any of the other dependencies that fineract has.
It was under that scenario that I discovered the radcortez plugin's :metamodel issue.  Here's the stack trace I encountered in that scenario.
The reason you have not encountered the :metamodel issue in the fineract project, might be because of some admixture of all of the dozens of different dependencies in the fineract project. Could it be that some combination of dependencies in fineract are masking or eliminating the radcortez plugin issue? Or maybe because of other development environment-related differences?

This has a number of pre-requisites

including #608, and possibly radcortez/openjpa-gradle-plugin#8

most importantly, this will require #525 to get done first, which we should focus on... @lingalamadhukar what I did when I started this PR was locally merge #525 into it (I just didn't want to push that onto this PR), then the problems re. OpenJPA you describe above are gone (for me). Sorry if this wasn't made clear enough here.
So what I'd like to do is finish up #525 without Java 11, and only then get back to this. As for the other purely Java 11 related point you raised over in #525, some feedback:

how weird that I didn't hit this...

P.S. @vorburger , The apache#609 CI failure is most likely due to the last change to fineract-provider/gradle/wrapper/gradle-wrapper.properties being four+ years ago. Version 2.10 of the wrapper needs to be updated to at least 5.2.x I believe.

Nah, that's solved by the 2nd commit currently on this PR which switches Travis CI to build using Java 11 instead of 8.

Note to self: Once this actually works, the ./Dockerfile needs to be updated for Java 11 as well.

@awasum this one won't pass the Travis CI build, and requires more work from me (when I have time).

From what I see from the docker-compose.yaml file, the docker instance only creates the databases but does not populate them with sample data(Well atleast I think that's what it does) but I have the feeling that the server needs sample data in the DB inorder to connect/load properly. Not sure if I'm right about this

Maybe, we put this up for GSOC or Outreachy. Is this big enough to cover a 3 months internship by a student? @vorburger

See: https://issues.apache.org/jira/browse/FINERACT-846

Hey, folks what is the status on this ,I would like put some time on it @awasum

In first instance I failed with below errors
> Task :compileIntegrationTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :spotbugsIntegrationTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :spotbugsMain
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :spotbugsTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/Users/maektwain/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.5.9/4222eafca660d01a44682c3fe4c629005728973/groovy-2.5.9.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

I don't think this is an issue because of JAVA 11
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/testNotificationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS

@maektwain ..Go ahead..If you can fix it soonest...we can look for something else to put up for GSoC or Outreachy 2020. Do you want to maybe mentor this project?

@vorburger Shouldn't we moving for independent gradle rather then shipping one with the repo.

@vorburger Shouldn't we moving for independent gradle rather then shipping one with the repo.
Another thing in the future also if we move ahead with other version of the JAVA we should ship it feature like
gradle upgradeDependency

So, I could build the solution but without tests so we need to workaround upgrading tests dependencies @awasum could you help

No, removing the Gradle wrapper is bad idea; it's useful to have the
"official" (tested) version in a project, this saves many headaches. Anyone
locally can still try use another Gradle version, of course. Also, this had
nothing to do with Java 11 and this PR.
Using gradle upgradeDependency seems interesting. But the best way to
contribute to open source is not to post this as a comment on an existing
PR, but to just go ahead and try it, in a small new PR, focused on changing
just the minimum possible, and then evolve, step by step. If it passes the
build, we'll review and merge it.
Re. helping to continue the work here, I propose you start a separate PR,
based on this. If it passes the build, we'll review and merge it. And  you
obviously cannot just disable all tests, no - that wouldn't be any fun...
;-)

#820 by @ptuomola is picking this up... I'll close this PR when that is merged.


Modal-Collapse conflict

When I use a Modal both inside and outside a collapse, the second one does not work if the collapse is not shown.
https://codepen.io/alessandrovecchi/pen/pZpPbb
How can i fix it?

NB. In my project I use the modal to open the "privacy policy" whenether is needed

That's because you've twice the same modal, with the same id, see my CodePen:
https://codepen.io/Johann-S/pen/zLpdZr?editors=1000#0
It works well

oops... 😳


Add Bumper

Summary
What: Wonder if it's worth adding a bumper (bumper script used by Drash) to Dmm? (lol)
Why: Keeps dependencies up to date
Acceptance Criteria

[ ] Add bumper script

Example Pseudo Code (for implementation)
Could have the bumper just run from mod.ts directory

Do it 😄


#M19. Simplify and speed-up rendering scores

Description

Use custom SQL query to pre-aggregate scores instead of looping through all scores
Use pandas to speed up calculations

Accidentially closed previous PR: https://github.com/Code-Institute-Community/ci-hackathon-app/pull/177
Pull request type

[x] #M01 (Miscellaneous User Story #01)
[ ] #P02 (Participant User Story #02)
[ ] #S03 (Staff User Story #03)
[ ] #A04 (Admin User Story #04)
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Related Issue
#176
Configuration instructions

Update requirements using pip install -r requirements.txt

Testing

All tests passing (apart from broken tests for the custom Slack provider which have not been working from the start

Addressed all changes made in PR: #177
Merging this PR.


Kwxm/cost model r test improvements 2

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

This adds tests for he new builtins in the code which tests that the Haskell versions of the R models give results approximately equal to the results got by running the R models directly. I added a bit of Template Haskell that made it a bit easier to add new tests.
I also looked into SCP-1956, which has to do with some problems that were happening a long time ago when these tests were running in CI.  See  the comments there for more on this.  I think we'll just have to put up with the problem and run the tests manually.

Oops, I found a mistake in the model for verifySignature.  I'll have to fix that before merging.

I've had to disable the test for verifySignature: see SCP- 3025 and SCP-3038


Stop the process

Hi there!
I need to check CSV's headers before process it in order to know it's delivering the correct data. In order to do that, it will be very useful the new 'header' event that will be released soon.
But, in case it would not deliver the correct information, I need to stop the process. Is there a way to stop the async events on json, on csv, etc?
And BTW, do you have any deadline for 1.1.8?
Thank you.

Sorry, I've resolved this with #127
Still waiting for #141 :)


Include platform (hardware-lag) commands in eos_l3ls_evpn

Issue Type

Template enhancement
Role enhancement
Documentatin enhancement (avd.sh)

Is your feature request related to a problem? Please describe.
Let's add this, as this should be mandatory in any design with R series.
platform:
  sand:
    lag:
      hardware_only: true

Would make sense to have it under
platform_settings:
  - platforms: [ 7800R3, 7500R3, 7500R, 7280R3, 7280R2, 7280R ]
    tcam_profile: vxlan-routing
    **lag_hardware_only: true**
    reload_delay:
      mlag: 780
      non_mlag: 1020

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Else have to get this with custom stuff, which I think it's important to have there as a default in any design.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Merged #591

Merged #591


Update container images to those that support the ARM architecture

Fixes #317

@rieckpil any idea why Wildfly is failing here?
https://github.com/KyleAure/microshed-testing/blob/d5d1212bbe33ada93a548f329a223edc1d33e58a/sample-apps/wildfly-app/src/test/java/org/example/app/WildFlyIT.java#L41-L47
We got a 404 at the endpoint http://<IP_ADDRESS>:32956/myservice/app/people
But I see in the logs that the server has started:
    00:17:44,323 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 78) WFLYUT0021: Registered web context: '/myservice' for server 'default-server'
    00:17:44,373 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "myservice.war" (runtime-name : "myservice.war")
    00:17:44,402 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
    00:17:44,405 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://<IP_ADDRESS>:9990/management
    00:17:44,405 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://<IP_ADDRESS>:9990
    00:17:44,408 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 30.0.0.Final (WildFly Core 22.0.1.Final) started in 2317ms - Started 365 of 587 services (322 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml

@KyleAure nice work


Large data issue

I have a geojson which includes more than 1 million polygon. I need your advice on how to efficiently to render the polygon in MKMapView? Thanks.

@zhouhao27 you could use GEOSwift/GEOS to help with finding the intersecting polygons.
Depending on your requirements, it can be the case that you should provide the map tiles, instead of drawing polygons. The solution for your problem will depend on the specific requirements and constraints.
To get more help on your specific problem, I'd suggest asking this question on StackOverflow.

Closing this due to inactivity.
Sent with GitHawk


Add merge requested automation to gitops policy

Only real way to test this is to merge and disable the action and try it out.


How I can use this for each user?

How i can show only the queryset for each user?
each user just can query their data not all user can query other user data
Hope you understand me

@AhmedSalam22 This application allows SQL queries to be ran against a database. You might consider that the opposite of restricting access to data.
If you want to restrict access to data, this probably isn't the application you really want.

@marksweb  Thank you so much


Update DDGSearch Tool Results

Thank you for contributing to LangChain!

[x] Update DDGSearch Tool Results: "tools: update return object"

[x] PR message: Update ddg_search -> tool.py -> DuckDuckGoSearchResults class's run method

Description: Update ddg_search -> tool.py -> DuckDuckGoSearchResults class's run method to include json results.
Issue: n/a
Dependencies: nil
Twitter handle: n/a

[x] Add tests and docs: n/a

[x] Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.

i dont think its right for this tool to return both in a dict. if anything, should be a feature flag you can toggle. the result of this tool is usually passed to an LLM, so seeing a json and string representation doesnt make a lot of sense

Can I add a toggle feature if that's the case? An additional argument can be passed to specify json or string, default being string.
I need the json data in an Agent application I am building.


[VL] Remove batch size limit

Remove the batch size limitation as Velox pipeline can produce large outputs against the configured batch size.
See issue https://github.com/apache/incubator-gluten/issues/5307 and PR #5326
Velox issue: https://github.com/facebookincubator/velox/issues/9540

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5446_time.csv
log/native_master_04_17_2024_9b3f59a1c_time.csv
difference
percentage

q1
36.04
36.61
0.562
101.56%

q2
23.90
24.12
0.216
100.90%

q3
38.64
37.01
-1.626
95.79%

q4
39.91
38.03
-1.885
95.28%

q5
69.38
70.92
1.539
102.22%

q6
7.38
5.81
-1.564
78.80%

q7
84.55
86.12
1.566
101.85%

q8
88.14
82.86
-5.281
94.01%

q9
121.83
123.45
1.623
101.33%

q10
44.02
45.70
1.677
103.81%

q11
20.63
20.35
-0.285
98.62%

q12
26.12
28.15
2.031
107.78%

q13
55.21
54.46
-0.749
98.64%

q14
18.55
17.88
-0.672
96.38%

q15
32.82
30.69
-2.132
93.51%

q16
12.46
14.00
1.536
112.32%

q17
102.77
101.27
-1.493
98.55%

q18
142.85
143.83
0.974
100.68%

q19
13.50
13.61
0.111
100.82%

q20
26.91
27.86
0.955
103.55%

q21
287.04
285.86
-1.180
99.59%

q22
14.79
14.42
-0.370
97.50%

total
1307.46
1303.01
-4.446
99.66%


⚠ Jenkins Plugins Artifactory has degraded performance

In 3c856dd, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1396 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6ac11d7 after 48 minutes.


Volume.value overflow slider range after controller play or resume

Hi,
So I try recently to use 2 controllers at once, 1 for video and the other one for the audio, because I need video with a different audio played in the background.
So far I use as UI only the video controller, and only initialize the audio one.
For the video controller, I use custom controls (took it from the example folder in this repository) to handle every aspect of the status of the player, because I need that audio and video go in sync and if I stop the video also the audio need to stop.
So I use _meeduPlayerControllerVideo.onPlayerStatusChanged.listen to handle the PlayerStatus changes, completed with a switch statement to handle the 3 condition: pause, playing and complete, where for each i give to the audio controller the option to pause() or play().
Now the problem happen when I change the volume and pause and play again the video.
Only if the volume is different to 1.0 or 0.0, and only after paused and play the video.
When I play again the video, the slider value that is for reference the value of the audio controller _meeduPlayerControllerAudio.volume.value is outside the range of the slider or 0.0 <= value <= 1.0, and it's exactly 100 times the original value of the controller.
So if previously I have 0.695456145615 as my _meeduPlayerControllerAudio.volume.value after pausing and play again, this value became 69.5456145615, and the slider overflow.
I solve the problem for play and pause by adding a variable on the onChanged: (double value) of the slider that save the slider value when it changes, and use it in the switch statement using a function to override the 100x time value with this variable.
But now the problem, re-present when I try to set a new data source for the Audio using another stream.
Same problem, so if I have 0.0 or 1.0 as volume no effect, and it set the new Data source with no problem, but if I change the volume and is in between 0.0 and 1.0 the slider have 100x the real value of the _meeduPlayerControllerAudio.volume.value and the widget overflow by 90000 pixel.

The media_kit volume is 0 to 100
The original code was optimized 0 to 1
I will re optimize the code to use volume ranges from 0 to 100
Do you think that will be easy for you to integrate?

can you test on github? it should be fixed
  flutter_meedu_media_kit:
    git: https://github.com/zezo357/flutter_meedu_media_kit
    path: package/

I think it is better an optimization because I need to re call a function every time, the control change in some way or another, and the problem is those are the only 2 cases I see, but I think, that it could be occurring in other instance too.
I try the git fix and get you feedback.

I think it is better an optimization because I need to re call a function every time, the control change in some way or another, and the problem is those are the only 2 cases I see, but I think, that it could be occurring in other instance too.
I try the git fix and get you feedback.

test the github one and let me know
i am keeping the ranges 0 to 1 for now

I tested the git repository, and it's working, either when play and pause and when I change the stream.
But I see that when the video player starts the slider value, so the _meeduPlayerControllerAudio.volume.value is set to 0.0 but I hear the volume as it is 1.0.
I also try to force it at the start to go to actually 1.0 but doesn't move.

I double-check the _meeduPlayerControllerAudio.volume.value it's actually 1.0, but the slider still starts from 0.0.
I don't touch the slider value, either the code for the slider, so I think the problem is in the MeeduPlayerController when use setting controlsStyle: ControlsStyle.custom, but I'm not sure.

I also see from the enabledOverlays: const EnabledOverlays(volume: true) from the MeeduPlayerController, that the overlay of the volume is not 0.0 but 0.01 so I think it's as before a problem with the media_kit volume that is from 0 to 100, because is 100x the value that should be.

I really don't get the audio and video thing , but I am trying to keep the video_player and media_kit interfaces the same
In case people want to switch to any of those packages, I don't want migration harder on people
Anyway let me know the problems as points and if you can provide example code that would be a great help to see which problem and if I was able to fix it

Solve the issue with last GitHub update.


release-2.1 branch: migrate from net7 to net8

net7 EOL is coming  soon (May 14, 2024).
It looks like we need to release version 2.1.2 that only migrates 2.1.1 from net7 to net8.

Fixed as requested.

Looks good, thanks!

@cameronwhite can you assign Milestone 2.1.2 to this issue also?


gha: update to use oidc

jira: https://redpandadata.atlassian.net/browse/PESDLC-1732
changes in this PR:

cleanup github workflow syntax
update github workflows to latest action versions
use oidc to retrieve secrets

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: andrewhsu:x: snyk-botYou have signed the CLA already but the status is still pending? Let us recheck it.


[Updated PR#1534]  UTCDateTime conversion now includes milliseconds

This PR was recreated from #1534
Currently laravel-mongodb strips out the millisecond value of the datetime when retrieving records or querying mongo. This PR fixes the date conversion to include the millisecond part of the date. The PR also saves created_at and updated_at with millisecond precision now.
This PR only works for PHP7 and above as I couldn't find anywhere specifying that PHP5 is supported, and travis is only testing on PHP7.
Co-Authored-By: @Flambe

@Giacomo92 resolve conflicts please

@Giacomo92 Thank you for getting this up to date!


Derive PartialOrd and Ord on Hex

For when you don't care about how the hexes are ordered, just that you can put them in a BTreeMap.

We cannot have a default Ord/PartialOrd just for that, implementing these traits means that Hex can now be compared to others using >, >=, <, <=. Which does not make sense for coordinates.
For example glam does not derive Ord for IVec2.
If implementing these traits in a wrapper is too painful we could either merge #147 or enable this PR under a non default feature flag


Define list of authors

People involved in the project proposal and people involved in the alert list (Action A.1.4 I think it is)

Authors of the alert list here below included in the same order as it appears in the deliverable:

Name
ORCID

Etienne Branquart

Tim Adriaens
https://orcid.org/0000-0001-7268-4200

Sander Devisscher
https://orcid.org/0000-0003-2015-5731

Bram D’hondt
https://orcid.org/0000-0002-1330-1457

Luc Denys

Antoine Dumortier

Adrien Latli
https://orcid.org/0000-0001-6640-5930

Jo Packet
https://orcid.org/0000-0001-5590-323X

Kevin Scheers
https://orcid.org/0000-0002-4756-4247

Sonia Vanderhoeven
https://orcid.org/0000-0002-6298-5373

Romain Willeput

Other people to include as responsible of the mapping to DwC

Name
ORCID

Damiano Oldoni
https://orcid.org/0000-0003-3445-7562

Peter Desmet
https://orcid.org/0000-0002-8442-8025

People from project proposal not included in the alert list authors we should include as well?

Indeed, it's A.1.4
A.1.4 Drafting of Belgian alert lists of IAS
Alert lists are defined as lists of alien species not yet present or with very limited distribution that pose a
threat to biodiversity, and for which dedicated surveillance and monitoring are recommended to foster
prompt response in the case of arrival and spread (Genovesi et al 2010). These lists are essential for a
proactive response towards IAS, including both early detection and rapid response. RIPARIAS will draft alert
lists for invasive aquatic plants, riparian plants and crayfish in screening existing IAS lists from neighbouring
countries and results from European horizon scanning exercises . The chances of arrival, establishment,
spread and biodiversity impact in Belgium will be considered. Training will be provided to managers and field
workers (E.2) which will lead to increased surveillance for those species in the project area (C.1). In case alert
list species are detected they will be eradicated in the 3 river basins (C.2 and C.3) even if they are not yet
listed at EU level.
I think we should also include Xavier as representative of the lead partner and he took initiative to keep a list for the project. In terms of order, think you can just use author order of the alert list as you listed above and put Xavier and yourselves in alphabetically.
Here are some missing ORCIDs

Name
ORCID

Luc Denys
https://orcid.org/0000-0002-1841-6579

Xavier Vermeersch
https://orcid.org/0000-0003-1752-8226

This is the ordered list of authors. I used the alert list order and I added:

Xavier Vermeersch as last author (instead of second from last) due its coordinating role  and so it earns the last position
myself in alphabetical order
Peter Desmet almots alphabetically (as last one of the authors starting with a D to avoid putting him before Sander, Bram and Luc, who delivered important work for the list

Name
ORCID

Etienne Branquart

Tim Adriaens
https://orcid.org/0000-0001-7268-4200

Sander Devisscher
https://orcid.org/0000-0003-2015-5731

Bram D’hondt
https://orcid.org/0000-0002-1330-1457

Luc Denys
https://orcid.org/0000-0002-1841-6579

Peter Desmet
https://orcid.org/0000-0002-8442-8025

Antoine Dumortier

Adrien Latli
https://orcid.org/0000-0001-6640-5930

Damiano Oldoni
https://orcid.org/0000-0003-3445-7562

Jo Packet
https://orcid.org/0000-0001-5590-323X

Kevin Scheers
https://orcid.org/0000-0002-4756-4247

Sonia Vanderhoeven
https://orcid.org/0000-0002-6298-5373

Romain Willeput

Xavier Vermeersch
https://orcid.org/0000-0003-1752-8226

@timadriaens, please let me know if you prefer to change it.

Thanks @timadriaens. Here the list authors as you want:

Name
ORCID

Etienne Branquart

Tim Adriaens
https://orcid.org/0000-0001-7268-4200

Peter Desmet
https://orcid.org/0000-0002-8442-8025

Sander Devisscher
https://orcid.org/0000-0003-2015-5731

Bram D’hondt
https://orcid.org/0000-0002-1330-1457

Luc Denys
https://orcid.org/0000-0002-1841-6579

Antoine Dumortier

Adrien Latli
https://orcid.org/0000-0001-6640-5930

Damiano Oldoni
https://orcid.org/0000-0003-3445-7562

Jo Packet
https://orcid.org/0000-0001-5590-323X

Kevin Scheers
https://orcid.org/0000-0002-4756-4247

Sonia Vanderhoeven
https://orcid.org/0000-0002-6298-5373

Xavier Vermeersch
https://orcid.org/0000-0003-1752-8226

Romain Willeput