Please add support for ColdFusion

This? http://en.wikipedia.org/wiki/ColdFusion_Markup_Language#Syntax

It has been over a decade since I have worked with Cold Fusion, but I remember the language is really 3 languages:

CFScript
CFML
something else that I don't remember (maybe something that looks like C++ or Java)

Each of those are wildly different. CFScript resembles JavaScript syntax but uses more Java like grammars. CFML resembles XML.  @yrsengar try to enter a bunch of input into the Pretty Diff tool and really see if your input can get the tool to produce corrupt output.

Would be nice to have CFScript support.  Modern CFML script looks more like this: https://github.com/adamcameron/cfscript/blob/master/cfscript.md
With CFML tags reserved for view templates.
I've tested a few script CFC files on prettydiff and it seems to do a decent job.

CFML script looks like JavaScript except I noticed some operators, such as ?: that JavaScript does not have.  My concern there is that my JavaScript parser is extremely JavaScript centric and while it may sometimes do an arguably decent job of parsing any language C looking language ever language has a unique grammar.
Would you be able to post a gist of a CFC file so that I could see what it looks like.  I don't want you to get excited that Pretty Diff could solve your problems when in fact it may be corrupting your code.

Here are a few examples:
https://github.com/abramadams/wkhtml/blob/master/com/wkhtml/pdf.cfc
https://github.com/framework-one/fw1/blob/master/framework/one.cfc
https://github.com/Ortus-Solutions/commandbox/blob/master/src/cfml/system/services/ServerService.cfc
Thanks! (not that I'm excited.. just hopeful :)

My JavaScript parser is handling that code more accurately than I imagined.  I still do not feel confident to provide official support with my tool merely because I do not write in that language and I don't know what the potential error cases are.
I am willing to provide bug fixes and fulfill requests as they come along though.  Since I am not willing ColdFusion, but am willing to offer to unofficially offer assistance please change the settings in atom-beautify to allow Pretty Diff as the beautifier for ColdFusion on your local computer.  As you encounter problems open an issue on Github and I will examine the problem.
@Glavin001 can likely provide instructions on how to extend the settings to use Pretty Diff as your ColdFusion beautifier.

@prettydiff thanks for the update!  I'll try that locally, only not sure how to.  @Glavin001, I'd be forever grateful if you could provide instructions to extend the settings to use Pretty Diff for ColdFusion.

For @abramadams : Steps to add ColdFusion language and use Pretty Diff as default beautifier.

Add Language ColdFusion to Atom Beautify. Read How to add a Language in https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md#how-to-add-a-language for details.
Add ColdFusion support to Pretty Diff beautifier. See https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/prettydiff.coffee#L30 for beautifier's code. You can simply add ColdFusion: true and Atom Beautify will see that the Pretty Diff beautifier supports that language.
Determine which language performs best for ColdFusion using Pretty Diff. Go to http://prettydiff.com/ and play around with Auto detect default options. Remember which Pretty Diff supported language works best.
Properly handle the ColdFusion language and select the best Pretty Diff language to use. Go to https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/prettydiff.coffee#L57-L91 and add the language that you found worked best on http://prettydiff.com/
Read How to add a Beautifier for a Language step 4 for instructions on how to add test files. I insist that a simple test be added for a Pull Request to be merged :wink:.

Let me know if you have any questions :smile:. Thank you!

I just want to chime in that none of the beautifiers that exist really work well with coldfusion.
The presence of optional end tags tends to really mess things up.

Thanks for your feedback @finalcut . I recommend also following up with this issue on Pretty Diff: https://github.com/Glavin001/atom-beautify/issues/526

Thanks for the pointer @Glavin001  - it appears he has moved the actual work of implementation to Pretty Diff: #158  The issue you linked to is directly related to Atom support.

Oops. Good eye. Thanks for catching that.

I have published support for ColdFusion with version 1.16.1.

@prettydiff not sure if Atom Beautify will support it, yet. What lang would it be for Pretty Diff to beautify ColdFusion?
I think a Pull Request would need to be made, after reading over https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md
Or the user could switch their file grammar in Atom.

It would just be HTML to Pretty Diff.

is there anything I can do to help get this integrated/updated?

Yeah, actually, Glavin is really busy right now with school finals and some end of year projects at work.  If you add the support for the coldfusion file extensions and submit a pull request I am sure he would be happy to review it and merge it.
There are some pages in the wiki that might help like this one: https://github.com/Glavin001/atom-beautify/wiki/Add-an-unsupported-language-using-an-existing-beautifier

@finalcut : Yup, I'd recommend reading https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md and add support for ColdFusion to Pretty Diff's beautifier at https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/prettydiff.coffee
--
Update: Wow, @prettydiff is on the ball. Thanks! :smile:

Im working on the pull request now.  Thanks

just curious what the status of this is at this point thanks.

Closed by #717. Published to v0.28.23


Generic attribute / instanced draw mystery

Second day I am struggling with mysterious two-level bug, trying to make regl-line2d and regl-scatter2d work together.
The minimal test case:
'use strict'

const regl = require('regl')({
	extensions: ['angle_instanced_arrays']
})

let draw1 = regl({
	primitive: 'points',
	count: 1,

	vert: `
	precision highp float;

	attribute float size;
	attribute vec2 position;

	void main() {
		gl_Position = vec4(position, 0, 1);
		gl_PointSize = size;
	}

	`,
	frag: `
	void main() {
		gl_FragColor = vec4(0,0,1,1);
	}`,
	attributes: {
		position: {
			buffer: [0.5,0.5],
			divisor: 0
		},
		size: {
			buffer: [10],
			divisor: 1
		}
	}
})

let draw2 = regl({
	primitive: 'points',
	count: 1,
	frag: `
	  void main() {
	    gl_FragColor = vec4(1,0,0,1);
	  }
	`,

	vert: `
	  precision highp float;

	  attribute vec2 position;
	  attribute float size;
	  void main() {
	    gl_PointSize = size;
	    gl_Position = vec4(position, 0, 1);
	  }
	  `,

	attributes: {
	  position: [0,0],
	  size: {constant: 5}
	}
})

draw1()
draw2()

setTimeout(() => {
	draw1()
	draw2()
}, 200)

gives [.Offscreen-For-WebGL-0000000005E4B5E0]GL ERROR :GL_INVALID_OPERATION : glDrawArrays: attempt to draw with all attributes having non-zero divisors. That does not happen if we invoke only draw1() or draw2() separately.
Second part of the bug - if we disable instanced draw:
...
	attributes: {
		position: {
			buffer: [0.5,0.5],
			// divisor: 0
		},
		size: {
			buffer: [10],
			// divisor: 1
		}
	}
...

and call draw methods as
...
draw1()
draw2()

setTimeout(() => {
	draw1()
}, 200)
...

we get blank screen with all the data cleared.
Tried to dig regl code, but had hard time getting the whole concept at once.
@mikolalysenko hope for your assistance, that slows down progress in https://github.com/plotly/plotly.js/issues/949

@dfcreative funny enough - if you add a regl._refresh() right before you call draw1() and draw2() in that `setTimeout(), everything works as expected.

the issue appears to be the refresh proc for the procs environment found on the core object. The regl._refresh function wraps the refresh proc function call while also polling the viewport

it appears that this proc refreshes vertex attribute state based on some limits modifying any shared attributes in the context. this is likely the issue.

@mikolalysenko is it worth changing or augmenting the availability of the regl._refresh() function? It seems a workaround/fix needs to be implemented, more documentation around when to use the regl._refresh() function for more than an unsafe escape hatch, or by simply making this function "public" by and documenting the usefulness and purpose of this function

cc @dfcreative

@jwerle yeah, that helps, thanks! As for performance, it is ~0.15ms on my laptop, seems not expensive.

I had a similar issue with resizing FBOs on window resize event in a project. If a command is executed outside of regl.tick, regl.poll needs to be called between sets of draw commands. i.e.
draw1()
draw2()
setTimeout(() => {
  regl.poll()
  draw1()
}, 200)

@dfcreative does this fix the issue?


Improve Execute Optimisation tooltips

Yes - I can retrofit it (if that is the right phrase for fitting it to something newer rather than older). Will need to wait until tomorrow or Monday or something.

I converted the panels over. And I can fix things better in a PropertiesPanel. ExecuteJobs also has the Automatic menu which was replaced with choices instead of being hard coded in the menu there. Since I know the setting and all the data about it, I can alter the form pretty easily. It also registers the properties in the kernel.


dfs(n_jobs > 1) warning "Event loop was unresponsive in Nanny"

The full message
distributed.core - INFO - Event loop was unresponsive in Nanny for 91.74s.  This is often caused by long-running GIL-holding functions or moving large chunks of data. This can cause timeouts and instability.
repeats many times after dfs() execution.
I have a guess that I need to stop Cluster manually taking into account the fact that I use featuretoolsR wrapper and this could cause some problems.
Is there a way how to get a started Cluster in order to try to stop it?
Should I pass something special to dask_kwargs?

Hey @grayskripko , sorry about the late response.  Were you able to get more inight into this warning?
You can calculate features with an already started dask cluster by providing a dask_kwargs dictionary that has a 'cluster' entry in it.  The cluster entry should either be a reference to the cluster you started or a string with the address / ports of the cluster.
We are working on an alternate parallelization approach using Dask Dataframes, see #783

I don't remember. You can keep this issue as a reminder or close it


Module Leaflet requires main queue setup

Module Leaflet requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

@pavel-corsaghin @miallo
Sorry about that! I accidentally made a change to the package.json file by fault and intended to reset it to its original state, but I’m having some trouble doing so. Let me know if you’d like me to make any adjustments, or if there's a preferred way to revert the change. My apologies for the inconvenience!

@aoutmal1 could you please create a new PR for reverting it? Thank you!


[BUG] ClassCastException when testing with Spark 3.2.1-SNAPSHOT in k8s environment

Describe the bug
Benchmark queries are failing in SJC4 k8s cluster:
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD
        at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2301)
        at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1431)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2411)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2329)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
        at scala.collection.immutable.List$SerializationProxy.readObject(List.scala:527)

Steps/Code to reproduce bug
See benchmark runs in sjc4 cluster.
Expected behavior
Should work.
Additional context
N/A

I manually built the base Docker image containing Spark 3.2.0-rc6 and added the plugin jar, compiled against 3.2.0-rc6. I also built the plugin with Scala 2.12.15 to match Spark (not that it should matter, but wanted to rule this out). I did not add any Hadoop or AWS jars.
I then ran the CI job as usual, with cuDF and benchmark jars being pulled from artifactory, but not the plugin jar.
The ClassCastException still occurs in the executors. Here is the initial logging from executor startup, showing path information. Note that even though hadoop is referenced, there are no hadoop jars in the file system and I enabled classloader verbose logging and confirmed that no hadoop jars were loaded.
++ id -u
+ myuid=0
++ id -g
+ mygid=0
+ set +e
++ getent passwd 0
+ uidentry=root:x:0:0:root:/root:/bin/bash
+ set -e
+ '[' -z root:x:0:0:root:/root:/bin/bash ']'
+ SPARK_CLASSPATH=':/opt/spark/jars/*'
+ env
+ grep SPARK_JAVA_OPT_
+ sort -t_ -k4 -n
+ sed 's/[^=]*=\(.*\)/\1/g'
+ readarray -t SPARK_EXECUTOR_JAVA_OPTS
+ '[' -n /opt/spark/jars/rapids-4-spark_2.12-21.10.0-SNAPSHOT.jar:cudf-21.10.0-SNAPSHOT-cuda11.jar:/opt/spark/jars/rapids-4-spark-benchmarks_2.12-0.4.0-SNAPSHOT.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/hadoop-aws-3.2.0.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/aws-java-sdk-bundle-1.11.375.jar ']'
+ SPARK_CLASSPATH=':/opt/spark/jars/*:/opt/spark/jars/rapids-4-spark_2.12-21.10.0-SNAPSHOT.jar:cudf-21.10.0-SNAPSHOT-cuda11.jar:/opt/spark/jars/rapids-4-spark-benchmarks_2.12-0.4.0-SNAPSHOT.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/hadoop-aws-3.2.0.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/aws-java-sdk-bundle-1.11.375.jar'
+ '[' -z ']'
+ '[' -z ']'
+ '[' -n '' ']'
+ '[' -z ']'
+ '[' -z x ']'
+ SPARK_CLASSPATH='/opt/spark/conf::/opt/spark/jars/*:/opt/spark/jars/rapids-4-spark_2.12-21.10.0-SNAPSHOT.jar:cudf-21.10.0-SNAPSHOT-cuda11.jar:/opt/spark/jars/rapids-4-spark-benchmarks_2.12-0.4.0-SNAPSHOT.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/hadoop-aws-3.2.0.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/aws-java-sdk-bundle-1.11.375.jar'
+ case "$1" in
+ shift 1
+ CMD=(${JAVA_HOME}/bin/java "${SPARK_EXECUTOR_JAVA_OPTS[@]}" -Xms$SPARK_EXECUTOR_MEMORY -Xmx$SPARK_EXECUTOR_MEMORY -cp "$SPARK_CLASSPATH:$SPARK_DIST_CLASSPATH" org.apache.spark.executor.CoarseGrainedExecutorBackend --driver-url $SPARK_DRIVER_URL --executor-id $SPARK_EXECUTOR_ID --cores $SPARK_EXECUTOR_CORES --app-id $SPARK_APPLICATION_ID --hostname $SPARK_EXECUTOR_POD_IP --resourceProfileId $SPARK_RESOURCE_PROFILE_ID)
+ exec /usr/bin/tini -s -- /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -verbose:class -Dspark.driver.port=7078 -Dspark.driver.blockManager.port=7079 -Xms92160m -Xmx92160m -cp '/opt/spark/conf::/opt/spark/jars/*:/opt/spark/jars/rapids-4-spark_2.12-21.10.0-SNAPSHOT.jar:cudf-21.10.0-SNAPSHOT-cuda11.jar:/opt/spark/jars/rapids-4-spark-benchmarks_2.12-0.4.0-SNAPSHOT.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/hadoop-aws-3.2.0.jar:/opt/hadoop-3.2.0/share/hadoop/tools/lib/aws-java-sdk-bundle-1.11.375.jar:' org.apache.spark.executor.CoarseGrainedExecutorBackend --driver-url spark://CoarseGrainedScheduler@benchmark-runner-35312b7c3ca95272-driver-svc.default.svc:7078 --executor-id 1 --cores 4 --app-id spark-1b3a2327b62841369e786e6937988bdf --hostname <IP_ADDRESS> --resourceProfileId 0

I have only tested with q5 and q24a so far and both fail at stage 24 (the previous stages may be mostly data setup though).

If we use the aggregator jar then the issue goes away so it does seem classloader-related.

@andygrove please double-check that we don't have any overlap between the initial classpath as provided via spark.*.extraClassPath and the jars passed via --jars

the issue is potentially related that we fail to intercept  the resource profile classloader https://github.com/apache/spark/pull/27410


Add support for @Template annotation

Since all actions must be located in the Action directory, we lose native support for @Template annotation (I mean, the @Template annotation allows to not specify a template file, then it'll guess that a simple @Template annotation on a AppBundle\Controller\ExampleController::viewAction() should render AppBundle:Example:view.html.twig).
I had to override Symfony's TemplateGuesser for this to work, but I'm not sure it's the best solution.
class TemplateGuesser extends \Sensio\Bundle\FrameworkExtraBundle\Templating\TemplateGuesser {

    /**
     * Guesses and returns the template name to render based on the controller
     * and action names.
     *
     * @param array   $controller An array storing the controller object and action method
     * @param Request $request    A Request instance
     * @param string  $engine
     *
     * @return TemplateReference template reference
     *
     * @throws \InvalidArgumentException
     */
    public function guessTemplateName($controller, Request $request, $engine = 'twig')
    {
        $className = class_exists('Doctrine\Common\Util\ClassUtils') ? ClassUtils::getClass($controller[0]) : get_class($controller[0]);

        if (!preg_match('/Action\\\(.+)Action/', $className, $matchController)) {
            throw new \InvalidArgumentException(sprintf('The "%s" class does not look like a controller class (it must be in a "Action" sub-namespace and the class name must end with "Action")', get_class($controller[0])));
        }
        if (!preg_match('/^(.+)Action$/', $controller[1], $matchAction)) {
            throw new \InvalidArgumentException(sprintf('The "%s" method does not look like an action method (it does not end with Action)', $controller[1]));
        }

        $bundle = $this->getBundleForClass($className);

        if ($bundle) {
            while ($bundleName = $bundle->getName()) {
                if (null === $parentBundleName = $bundle->getParent()) {
                    $bundleName = $bundle->getName();

                    break;
                }

                $bundles = $this->kernel->getBundle($parentBundleName, false);
                $bundle = array_pop($bundles);
            }
        } else {
            $bundleName = null;
        }

        return new TemplateReference($bundleName, $matchController[1], $matchAction[1], $request->getRequestFormat(), $engine);
    }

}

<?php
# AppBundle/Action/ExampleAction.php

namespace AppBundle\Action;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Component\HttpFoundation\Request;

class ExampleAction {

    /**
     * @Route("/example", name="example")
     * @Template
     * @param Request $request
     */
    public function viewAction(Request $request) {
        // awesome code
    }

}

Or maybe would it be possible to store Actions in the Controller directory instead of their own?
I don't see any advantage to have both an Action and a Controller directory into the same bundle. You have to choose wether you use the standard MVC pattern, or the ADR pattern for gluing your views and your model. The directory name, in fine, doesn't matter at all.
Despite they don't obey the same design pattern, the "action" concept is pretty close to the "controller" concept (It looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck). Call them actions, I call them controllers.
Anyway, I played a little bit with this bundle, and it should definitely replace Symfony's standard controller architecture :)

Hi @bpolaszek, thanks for the report.
ADR terminology apart, the Action/ directory is basically used to avoid breaking existing third party bundles and "legacy" apps using the standard controller system: the bundle iterate over registered bundles (even third party ones line SonataAdmin or FOSUser providing their own controllers) and register all classes in the Action/ directory as services. If the default is Controller it will fail because standard controllers are not designed to be registered as a service and are already registered by the FrameworkBundle.
That being said, the directory where to store actions is now configurable: https://github.com/dunglas/DunglasActionBundle#configuration If you're sure that you'r app do not use "legacy" controllers, you can change it to the Controller directory (but I never tried it, maybe this will conflict with how FrameworkBundle registers standards controllers.
About the issue with @Template, ActionBundle should definitely include you're patched guesser (with some minor changes such as using the configured directory name and not requiring that methods end with Action as it's not the case for __invoke for instance). Are you motivated to work on a PR to add it? If you're out of time or not interested I'll do it.

Hello Kévin,
Thanks for your explanations. Everything is clearer now :)
Since I use, as many of us around here, the FOSUserBundle and the FOSRestBundle, it indeed may not be a good idea to consider Actions as Controllers.
I'd like to do a PR but I'm clearly out of time, and I'm not sure to do things right, since I never worked on an "exportable" bundle and I'm not comfortable with tests. So, I won't tell you, yeah, I'll do it, and finally don't, because I'll certainly struggle on things I'm not familiar with, and give up for priority reasons.
I'm also not sure if overriding the TemplateGuesser is the best option: it actually works, but I find this a bit tricky, and it may conflict with potential users who developed their own.
Perhaps another @Template annotation would be more framework-friendly?
You're the master :)
Last question, but not least: why are the action services named like action.Acme\AppBundle\Action\ExampleAction instead of something action.acme.app_bundle.action.example_action? It's a little uncommon to have antislashes and uppercase in service names.
Cheers,
Ben

For the naming convention, it's for 2 reasons:

The Symfony autowiring system use a similar one (autowired.The\Class\Name)
It's easier to debug (the service name is action. + paste the FQN here, no camelcase to snake case conversion + underscore replacement needed)

Everything's clear now.

please see https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues/398

BTW https://github.com/sensiolabs/SensioFrameworkExtraBundle/pull/398 is merged so this is fixed ;-)

Great!


[move core modules] Move PaymentRouter and ApprovedPayment from stdli…

…b into tests
These modules aren't needed in prod anymore, but they're still useful as tests. Delete the modules + relevant scripts from the stdlib and move them into a new smoke tests directory.

Motivation
Simplifying the standard library
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
Combined old tests for stdlib modules into single test file that works.

@bors-libra r=tzakian

:pushpin: Commit f8ed059 has been approved by tzakian

:hourglass: Testing commit f8ed0596d2f4dc6748645cf63c4f54e8cd7684b6 with merge 183e102c657f6f450767d3ca49eaa505ce4a1a9c...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: tzakian
Pushing 183e102c657f6f450767d3ca49eaa505ce4a1a9c to master...


Better type annotations for each_record()

This might be tricky, since each overload depends on the instance variables, so @overload can't be used here. This may require a small API restructure.

I don't think the Python type system is flexible enough to indicate that the return value of each_record() depends on the value of the fields argument. The most sensible option is therefore to have the return value be a TypedDict that contains all possible keys, since this is the most typical usage.
It might be possible to do some hackery where search becomes a generic method using the new Py3.12 generic methods syntax. But then to get the correct functionality, the user would have to pass in the entire return type dictionary, which misses the user friendliness. They could pass in a union T that includes all possible fields, which becomes the keys of the return dictionary dynamically (dict[T, Any]), but then we lose the specific types of the values themselves.


About prefuse android experience

Hi,
A great work!
Would you please share some experience about prefuse in android, such as performance, operationality, user interaction and data processing?
Thanks
Lyra Chord

data processing
Hello,
Thank you for having interest on AndroidPrefuse.
First of all AndroidPrefuse is on "alpha"-stage. It was an university
experiment to see if the portion of prefuse is easy on Android. And it is
only tested on a scatterplot.
I had to choices at the begining:

Implement prefuse from scratch in Android
Takeover Java AWT to AndroidPrefuse

Obviously it was easier to take the second choice and it was more
interesting as experiment.

such as performance, operationality, user interaction and data processing?
user interaction => same as in prefuse => but some  the user interactions
"parts" need to be implemented. I implemented only some of them, which were
needed for scatterplot
operationality and data processing => should be the same as in prefuse
performance => I had some performance issues at the scatter plot example.
But I could not  find where exactly the problem is.

Best Regards,
Dritan Latifi
2016-10-12 4:14 GMT+02:00 lyrachord<EMAIL_ADDRESS>
Hi,
A great work!
Would you please share some experience about prefuse in android, such as
performance, operationality, user interaction and data processing?
Thanks
Lyra Chord
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dritanlatifi/AndroidPrefuse/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AHWAYzrJFuif7Y6eDAi3gpHfFFbPgzK7ks5qzEKRgaJpZM4KUS2i
.


Xibo Cloud CDN Frankfurt/Germany - Upstream Maintenance

Our datacentre partner is moving one of our physical servers during this time. There should be no impact to service.


Grid ufunc refactor

The big PR to implement the internal refactoring suggested by @rabernat in #344. After this we won't need a parallel grid_ufunc_refactor_project branch any more.
Means that Grid no longer uses neighbour_binary_func at all (so _grid_func has been deleted). However Axis still does use  neighbour_binary_func - this will be removed in the next version (via #405).

[x] Closes #344
[x] Tests added (the whole of test_grid_ufunc.py)
[ ] Passes pre-commit run --all-files
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[x] New functions/methods are listed in api.rst

Something is going wrong with the pre-commit on the repo - it all passes locally for me, but on the CI mypy fails with
mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

xgcm/padding.py:395: error: Item "None" of "Optional[Dict[str, Tuple[int, int]]]" has no attribute "values"
xgcm/grid_ufunc.py:413: error: Unexpected keyword argument "include_extras" for "get_type_hints"
/home/runner/.cache/pre-commit/repoyno4hcj9/py_env-python3.8/lib/python3.8/site-packages/mypy/typeshed/stdlib/typing.pyi:633: note: "get_type_hints" defined here
xgcm/test/test_grid_ufunc.py:2: error: Module "typing" has no attribute "Annotated"
Found 3 errors in 3 files (checked 24 source files)

(which shouldn't be an error for python 3.9+), and black fails with all sorts of tiny and pointless changes.

Something is going wrong with the pre-commit on the repo

mypy error fixed by #480, but the black error is still there


Updated buttons to be rectangular. Updated UI for mark duplicates but…

Buttons are now rectangular. "Mark duplicate" buttons have new-ui style. "Mark duplicate" page uses fields-table css styling. The comparison table in the "mark duplicates" page is not new-ui but it didn't conform to the old UI either.

Thanks! Merged to new-ui branch.
@Jessie-Newman Do you have any remaining changes you want to make for short term? Otherwise we will review the latest UI, merge it to the master branch, and push it to production.

I don't have anything else.
On Tue, Jan 19, 2016 at 10:54 PM Hiroshi Ichikawa<EMAIL_ADDRESS>wrote:

Thanks! Merged to new-ui branch.
@Jessie-Newman https://github.com/Jessie-Newman Do you have any
remaining changes you want to make for short term? Otherwise we will review
the latest UI, merge it to the master branch, and push it to production.
—
Reply to this email directly or view it on GitHub
https://github.com/google/personfinder/pull/202#issuecomment-173078141.

Got it. Thanks!
2016年1月21日(木) 0:18 Jessie Newman<EMAIL_ADDRESS>
I don't have anything else.
On Tue, Jan 19, 2016 at 10:54 PM Hiroshi Ichikawa <
<EMAIL_ADDRESS>wrote:

Thanks! Merged to new-ui branch.
@Jessie-Newman https://github.com/Jessie-Newman Do you have any
remaining changes you want to make for short term? Otherwise we will
review
the latest UI, merge it to the master branch, and push it to production.
—
Reply to this email directly or view it on GitHub
<https://github.com/google/personfinder/pull/202#issuecomment-173078141
.

—
Reply to this email directly or view it on GitHub
https://github.com/google/personfinder/pull/202#issuecomment-173235106.


Add compatibility for React 15 RC1

This adds compatibility for React 15 RC1. The most painful/icky change is in retrieving the internal instance, which has a random number appended to its key.
There's also a hack to work around a bug in React 15 where warnings on ref and key are throwing for nodes with string types.

LGTM

wow, this is great!  Thanks for working on this.

I've updated this PR to address all of the feedback.

LGTM :+1:


Moving to a new FQDN, any advice?

Description
We have been happily running a Portus instance for over a year.  Requirements changed and we now need to move it into another network setup and this incurs in a DNS name change.
Apart from having to re-tag images in the registry as it's linked to its public URL, any other Portus-related advice you can give me?
Thanks in advance!

That's a good question :grin: Other than what you mentioned, I guess that changing configuration on your reverse proxy, changing the FQDN on your SSL certificates, making sure that the different containers trust this new host, etc.
Also, from the UI we don't allow the change of the registry hostname, so you'll have to update that on the DB directly, I guess (and we should probably support it...).
I think that's all.

Thanks @mssola!
I forgot about the registry hostname defined for portus, will write it down.  Not a nightmare to update it on the DB directly.
Will tell you if we find any quirk on monday when moving :grin:

We successfully migrated our network setup yesterday without any hassle.  No additional actions other than the ones stated above were needed.
:tada:


improve: make Input::on more maintainable

handle key event based on key's kind
if interactive validation fail, prevent mode switching. If submit validation fail, auto switch mode back to editing.

@kingwingfly We don't have good test coverage. I'm willing to keep the patch as minimal as possible without refactoring. Thus, I'd not merge this patch at this moment.

Okey. This PR mainly for this:

if interactive validation fail, prevent mode switching. If submit validation fail, auto switch mode back to editing.

If needing it in the future, consider this.

Of course yes.
I found these things should be reused in on:

interactively invalidate (submit and mode-switching need it)
mode switch (Tab to switch, validation failure auto switch)

So I make them methods on Input in this commit.

ESC switch to view mode, any key back, and this key will be input
Tab to indent
If default value exists, start at view mode
ESC quit if at view mode
validation failure prevent mode switching

@kingwingfly Thank you for your patience

@kingwingfly Thank you for your patience

You are welcome, I also need open source experience for better future and study opportunities.
Is is me who should be the one thanking you, not just for your cliclack's help in building my CLI tools, but also for teaching me how to thrive in the open source community!

#59
is better than this. So I closed this PR.


Update AVX512 intrinsics for MSVC compatibility

Hey guys, thanks for the great work on VVenC. I've just downloaded and compiled the latest commit and noticed the warning the build throws with the current MSVC version. I investigated where the problems are coming from and found this thread on the visual studio forum.
Specifically, please check the following post by Victor Tong: Post.
Seems the incompatibility stems from inconsistent AVX optimizations. The fix they propose seems not too difficult to implement. Maybe the code could be fixed as per the forum it is unlikely any future MSVC version will roll back this behaviour.

Dear zyrill. You can override the build problem as described in the Wiki using either the VVENC_OVERRIDE_COMPILER_CHECK CMake variable or override-compiler-check=1 makefile flag. Our problem is not related to the one you found, since we do not use AVX512 intrinsics. Either way, if we were, I would expect the compiler to throw an error and not start optimizing the whole file for AVX512, if appropriate compiler flags are not used.

Dear adamjw24. Thanks for the prompt reply and the help and explanation provided. You wrote the problems aren't related - which sounds like it's known where the issues with current MSVC versions are coming from. I'm curious, and if you had the leisure to explain, I'd be interested. Fully buy into your position btw. that compilers should show conservative behavior.

Please check: https://developercommunity.visualstudio.com/t/Invalid-AVX512-instructions-generated-wh/10521872


Add Windows cvar list

Current cvarlist.md -> cvarlist_linux.md
New Windows cvar list is cvarlist_win.md.

Thank you for your contribution to mastercomfig!

@Leo40Git Would it be possible for you to do a similar contribution for launch options? Just run the file listed there, and it'll let you select the Team Fortress 2 folder for scanning.

Sure, I can do that. Just gotta wait for GetLaunchOptions to get itself situated (...is it supposed to take a long time?

@Leo40Git Maybe you can instead select the bin folder and the tf/bin folder? And then isolate hl2.exe.

actually it's stuck on "RES2BATCH: extracting strings2.ex_"


Availability in anaconda channels?

Hi,
I couldn't find jupyter-scala via anaconda channels, but I thought I would ask just in case there are any plans to do so at some point. Thanks!

Hi,
It's not distributed via anaconda channels for now, although that would be nice if it was. I don't know enough of conda to setup that myself right now (I'm more used to the Java way of distributing binaries!), any help for that would be greatly appreciated.

Closing for now. Could be re-opened if I or anyone else feel like giving this a try.


SceneTreeTween hangs running game on reuse

Godot version
3.5.1 stable
System information
Linux
Issue description
If you try to use a SceneTreeTween again after it has finished in the same function, the tween object exists and is valid, you can call all the tween methods and everything appears to work, but nothing actually runs and you never get any signals.
If it is as designed to not allow this, then the tween should either null itself or all methods should raise an exception so code knows something has gone wrong.
In addition, where it says 'some code' if you put a: stop()
It gives the error 'tween still running you need to call stop()' (or words to that effect), even though it has obviously stopped.
Steps to reproduce

create a tween and start it
yield until finished
try to start again

Minimal reproduction project
n/a

The error says
Can't append to a Tween that has started. Use stop() first.

It doesn't say anything about Tween running. You need to call stop() to reset the "started" state.
Also be sure to read finished signal description.
On a last note, SceneTreeTweens aren't supposed to be reused. You can somewhat force it with stop(), because users requested it for whatever reason, but normally you should create a new tween for each new animation.
Closing, as the behavior is documented and you get clear errors.

No indication is invalid to use, no errors generated, literally nothing.
The object is still valid and pointing at something but it doesn't work
afterwards.
No documentation to state this either
On Sun, 29 Jan 2023, 12:30 am Tomek, @.***> wrote:

The error says
Can't append to a Tween that has started. Use stop() first.
It doesn't say anything about Tween running. You need to call stop() to
reset the "started" state.
Also be sure to read finished signal description.
On a last note, SceneTreeTweens aren't supposed to be reused. You can
somewhat force it with stop(), because users requested it for whatever
reason, but normally you should create a new tween for each new animation.
Closing, as the behavior is documented and you get clear errors.
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/71245#issuecomment-1407521738,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCERROUXIPRF7FOSVHP5X3WUW2YZANCNFSM6AAAAAATYPJQDA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Indeed there is no documentation. I had the same issue

@chucklepie Can you provide an example of there being no errors or other indication? As KoBeWi mentions, the code you provided does raise an error.

See https://github.com/godotengine/godot/pull/74258


Make GitHub Integration Work with Default Branches of Any Name

We currently assume a default "master" branch in quite a lot of our code. In a few places, we also check for "main", but it'd be good to make it so the whole system worked regardless of the default branch name.

I made a run at this a while back, but was deemed too risky a change. Here's the PR: https://github.com/microsoft/pxt/pull/8880


Outtake

Outtake includes all the systems required for scoring points by outputting game objects, including samples and specimens.

Initial claw revision (V1)

Clips onto specimen from wall
Potential for breakage along clip wall
Lack of auto-centering/funnel in front

Claw V2

improves life of repeated use
Reduces force for pulling down specimens
added funnel auto-centering

Claw V3

Improves down pull force
changes? (not sure if it's better or worse) lifespan

Claw V3 (old) Intial Tesiting
https://github.com/user-attachments/assets/c8df09ea-2396-4eb5-b9fa-038dab20cf89

noticed it didn't have enough down-force to pull it down
Noticed wear on joints/lines indicating wear after 50+ uses

Bucket is very reliant on the intake method and transfer, so further information on that is needed before proceeding with bucket design.
3 Options

Container + arm
Pros

simple

arm helps reach upwards towards bucket and increases speed

fast/reliable
Cons

questionable rule-breaking? (letting it go/ it flying/falling?)

programmers have to make macro/harder for driver to aim

questionable transfer

Container + flaps/tubing + arm

Pros

Same as above

Holds blocks for a few ms longer before releasing
Cons

same (without Rule breaking)

May need more force from the arm to release

Container + active release
Pros

simple

fast/reliable

easy to aim/control/less risk of drop/consistency
Cons

questionable transfer

slower than one with an arm

@GianBangayan need to document the use of the claw for outtake.  As in Ethan F's transfer claw

We decided to go with an active claw after discussing potential robot designs to aid in a faster and more consistent transfer.

Version 1 Claw, used 1 or 2 servos? was confused about power transfer from one arm to another, Didn't want to use gears.

Version 2 Claw, uses 1 servo, using a crankshaft to power both arms, entirely 3d printed, lack of mounting points

Version 3 Claw, better version 2 claw, servo is mounted to a metal bracket to the rest of the plastic structure, it's stronger overall and the plastic is lighter. Has a metal mounting point and can be connected to arm easily.


[Feature request] Option to disable remote fetch for cooking station

It would be nice being able to exclude cooking stations from the mechanic, so you don't end up using random meats that you were keeping for other recipes.

Already possible. Configure the yaml file.

How emabrrassing, I had completely overlooked the yaml existed...
Thank you.


dialect: 2.1.1 -> 2.2.0

Description of changes
Basic testing done by using all of the supported providers. All of them are fully working (except I have to use other Lingva Translate instances since the official instance fails for some reason).

https://github.com/dialect-app/dialect/releases/tag/2.2.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Do you want to maintain this? I don't use this anymore (I'm using pot instead).

Do you want to maintain this? I don't use this anymore (I'm using pot instead).

Sure.

Result of nixpkgs-review pr 273475 run on aarch64-linux 1

1 package built:

dialect

Builds and runs. Translation fails with the following error for me:
ERROR:root:Response has failed: TLS support is not available

On the other hand, the version in master and nixos-unstable doesn't even run at all on either of the two NixOS systems I tried:
$ nix run nixpkgs#dialect

(dialect:126985): dconf-WARNING **: 02:48:43.242: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(dialect:126985): dconf-WARNING **: 02:48:43.242: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
Traceback (most recent call last):
  File "/nix/store/y9rpsdpqay7w6j3g5bi5sfqk1j4kw6zn-dialect-2.1.1/share/dialect/dialect/main.py", line 54, in do_activate
    self.window = DialectWindow(
                  ^^^^^^^^^^^^^^
  File "/nix/store/y9rpsdpqay7w6j3g5bi5sfqk1j4kw6zn-dialect-2.1.1/share/dialect/dialect/window.py", line 129, in __init__
    self.setup()
  File "/nix/store/y9rpsdpqay7w6j3g5bi5sfqk1j4kw6zn-dialect-2.1.1/share/dialect/dialect/window.py", line 150, in setup
    self.load_translator(True)
  File "/nix/store/y9rpsdpqay7w6j3g5bi5sfqk1j4kw6zn-dialect-2.1.1/share/dialect/dialect/window.py", line 281, in load_translator
    on_loaded(True)  # Assume successful loading.
    ^^^^^^^^^^^^^^^
  File "/nix/store/y9rpsdpqay7w6j3g5bi5sfqk1j4kw6zn-dialect-2.1.1/share/dialect/dialect/window.py", line 251, in on_loaded
    self.dest_lang_selector.set_selected(self.dest_langs[0], notify=False)
                                         ~~~~~~~~~~~~~~~^^^
IndexError: list index out of range


Can't install requirements.txt for Linux

$ mbed --version
1.10.0

So, when creating a new project, the following occurs:
$ mbed new "test"
[mbed] Working path "/home/max/Documents" (directory)
[mbed] Creating new program "test (git)
[mbed] Adding library "mbed-os" from "https://github.com/ARMmbed/mbed-os" at branch/tag "latest"
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#7482462434d5cf718177653ef797547a976a7c5e"
[mbed] Auto-installing missing Python modules (hidapi, pywin32, wmi)...
[mbed] ERROR: Missing Python modules were not auto-installed.
       The Mbed OS tools in this program require the following Python modules: hidapi, pywin32, wmi
       You can install all missing modules by running "pip install -r requirements.txt" in "/home/max/Documents/test/mbed-os"
       On Posix systems (Linux, etc) you might have to switch to superuser account or use "sudo"
---

So I install the requirements with python2 and python3 to be sure. However, the marked packages are not installed because I'm using a Linux machine and these packages are thought for Windows/Mac.
sudo pip3 install -U -r test/mbed-os/requirements.txt
The directory '/home/max/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/max/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
 This is done for python2 and python3.
Installing these packages has no effect on the error messages. mbed-cli still refuses to fully create a new project. The only "fix" is to do it with mbed new --no-requirements.
Can you reproduce this problem under Linux? I'm using Ubuntu 18.10 on an x64 machine here.

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1379

We believe this issue has been fixed in Mbed CLI master, it requires a new release of the tool which we will be doing shortly https://github.com/ARMmbed/mbed-cli/pull/889

Given that the pull request was 3 months ago, when can a new package version of mbed-cli be expected? I just did a pip install -U mbed-cli and still got 1.10.0.

When it has been tested, which is our current highest priority.

This just broke our CI when upgrading to mbed 5.13. Temporary solution is to build mbed-cli directly from github repo:
sudo pip install -U git+https://github.com/ARMmbed/mbed-cli

a new release of the tool which we will be doing shortly #889

Must be one hell of testing phase if it takes 2 months to test 11 commits which includes a critical fix.

Thanks for your patience, mbed-cli has been released and should resolve this issue.


Prebuilt binary - timeformat problem

Hi,
we have problem with time format in prebuild binary.
The GUI don't show all connected clients - in opvn managment inteface they are connected.
We had upgrade binary to current version, but problem stil exist.
Here some logs:
Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Sat Nov 27 20:21:32 2021" as "2006-01-02 15:04:05": cannot parse "Sat Nov 27 20:21:32 2021" as "2006"
Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Fri Nov 26 14:43:22 2021" as "2006-01-02 15:04:05": cannot parse "Fri Nov 26 14:43:22 2021" as "2006"
Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Fri Nov 26 14:43:22 2021" as "2006-01-02 15:04:05": cannot parse "Fri Nov 26 14:43:22 2021" as "2006"
Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Fri Nov 26 23:55:03 2021" as "2006-01-02 15:04:05": cannot parse "Fri Nov 26 23:55:03 2021" as "2006"
Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Mon Nov 29 20:38:10 2021" as "2006-01-02 15:04:05": cannot parse "Mon Nov 29 20:38:10 2021" as "2006"
Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Sun Nov 28 22:55:25 2021" as "2006-01-02 15:04:05": cannot parse "Sun Nov 28 22:55:25 2021" as "2006"

Maybe we need to allow customizing time layout

Hello,
I have the same problem. I get the same error message. My server :
Ubuntu 20.04
Time zone : Europe/Prague

Hey,
root@openvpn:~# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
root@openvpn:~# y^C
root@openvpn:~# timedatectl
Local time: Thu 2022-01-20 16:30:47 CET
Universal time: Thu 2022-01-20 15:30:47 UTC
RTC time: Thu 2022-01-20 15:30:48
Time zone: Europe/Warsaw (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

Hi,
locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
timedatectl
Local time: Thu 2022-01-20 18:29:49 CET
Universal time: Thu 2022-01-20 17:29:49 UTC
RTC time: Thu 2022-01-20 17:29:50
Time zone: Europe/Prague (CET, +0100)
System clock synchronized: yes
NTP service: n/a
RTC in local TZ: no

I got this issue, too. Is there any workaround? @pashcovich

@isdzulqor @reneseifert @wojnas are you using openvpn server version 2.4?

yes - OpenVPN Version: OpenVPN 2.4.7

I think we have already fixed this problem and the changes have been made to the master branch, but we are still preparing a new release
@vitaliy-sn do you have any additional info about this problem?

I have OpenVPN 2.4.7 too.


Add support for Drizzle sqlite integer timestamp mode

Fixes #1628
Quite a simple thing to support, simply checks if Drizzle already returned a date for us and if so it skips the conversion.
I've tested this in an existing project I had using the Drizzle adapter with SQLite and it worked without issue.
Also added a small comment to explain when this might occur.

Yeah I was wondering if I could @AndriiSherman to confirm that using is() would be safe across different drizzle versions

Honestly might be smarter and safer to have export DrizzleSQLiteAdapter and DrizzleSQLiteAdapterTimestamp

Honestly might be smarter and safer to have export DrizzleSQLiteAdapter and DrizzleSQLiteAdapterTimestamp

Yea tbh I don't really mind the specific implementation. Whatever you think is best. Although if we do it like that I reckon they should probably share some logic where applicable. Want me to do a branch of it to see what it'd look like?

I don't really might code duplication that much but yeah can you do a quick prototype?

Yeah I was wondering if I could @AndriiSherman to confirm that using is() would be safe across different drizzle versions

is was designed specifically to check if an object is a Drizzle object and should work across monorepos, different versions of Drizzle, etc. We were using instanceof, but over a year ago, we switched to this helper.
And just to clarify, which different versions of Drizzle are you referring to?

@AndriiSherman Anything above 0.29.0

@LinusOP You can create a branch and probably just share the link here

@LinusOP You can create a branch and probably just share the link here

Here you go: https://github.com/LinusOP/lucia/tree/drizzle-sqlite-timestamp-separate
Bear in mind, threw this together super quick so very well might've missed something obvious


Update branch name

Fixed branch name, since easyCrystallography_Split has been already merged and deleted...

Note - this doesn't require any change in the toml file, which specifies the main branch of easyCore.


settings_runtime_commit lacks global and full subtree commit

settings_runtime_commit() is quite limited in functionality, and completely redundant with settings_commit_subtree()

does not handle global commit of all settings.
does not implement DYNAMIC settings

Suggested action is to replace it's implementation with just a call to settings_commit_subtree() which implements the full functionality needed on settings commit.

@hno-addiva thanks for the report. Would you be willing to open a Pull Request with your suggested fix?

@carlescufi should we port this to 3.2?

@carlescufi should we port this to 3.2?

No, let's get the PR merged first and then we'll see.


XS MAX 12.1 No tweak injection in Safari

Installed latest unc0ver on my 12.1 xs max, and there is no tweak injection in Safari. Everything is up-to-date and i got rocketbootstrap from rpetri.ch

I have the same issue. I noticed when I tried to theme it using both Eclipse and Noctis and nothing changed.

same issue here
3 tweaks installed:  batterynotch and batterypercentx and a safari tweak called safari plus for downloads
all of them dont work in safari
xs max ios 12.1.2

Same issue here on an iphone xs max 12.4


[Bug]:

Minecraft Version
1.19.2
Mod Loader and Version
Forge-43.2.3
Ad Astra! Version
1.11.9
Addon Mod Version (This Mod)
forge-1.19.2-1.7
The details
the game crashes when you join the world
https://crashy.net/leP5iuf0Vb2RGHkpsTvQ
https://bytebin.lucko.me/ypwGucb1Dn

Ok i had success for reproduce.
Some mods looks conflict with this mod.

Fixed version is released. Try check it.
https://www.curseforge.com/minecraft/mc-mods/ad-astra-giselle-addon/files/4311970


Merge develop on feature vsm

What does this PR do?
Merge develop onto feature/vsm to keep the latter up to date, and fix conflicts

Codecov Report

Merging #1615 (4d3eb76) into feature/vsm (758518d) will increase coverage by 0.42%.
The diff coverage is 89.94%.

@@               Coverage Diff               @@
##           feature/vsm    #1615      +/-   ##
===============================================
+ Coverage        83.37%   83.79%   +0.42%
===============================================
  Files              438      451      +13
  Lines            14832    15541     +709
  Branches          2232     2312      +80
===============================================
+ Hits             12365    13022     +657
- Misses            1880     1910      +30
- Partials           587      609      +22

Files Changed
Coverage Δ

...roid/core/internal/data/upload/NoOpDataUploader.kt
0.00% <0.00%> (ø)

...tadog/android/core/internal/persistence/Storage.kt
100.00% <ø> (ø)

...ain/kotlin/com/datadog/android/rum/CloseableExt.kt
90.91% <ø> (ø)

...lin/com/datadog/android/rum/resource/ContextExt.kt
83.33% <ø> (ø)

...com/datadog/android/rum/resource/InputStreamExt.kt
50.00% <ø> (ø)

...droid/rum/tracking/FragmentViewTrackingStrategy.kt
83.33% <ø> (+5.75%)
:arrow_up:

...om/datadog/android/telemetry/internal/Telemetry.kt
12.50% <0.00%> (-7.50%)
:arrow_down:

...sionreplay/material/MaskInputTabWireframeMapper.kt
0.00% <ø> (ø)

...d/sessionreplay/material/MaskTabWireframeMapper.kt
100.00% <ø> (ø)

.../com/datadog/android/sessionreplay/NoOpRecorder.kt
100.00% <ø> (ø)

... and 73 more

... and 19 files with indirect coverage changes


2521 Refactor CVE and Product Info Tables

🗣 Description

Refactor column names of cve and product_info tables to camel case
Rename product_info table to cpe
Remove redundant cpe_list column.
Update associated endpoints, joins, API calls, and tests

💭 Motivation and context
We recently added two new tables to house CVE and CPE data, cve and product_info. The table names follow a different naming convention than the rest of the codebase. For one thing they use snake case instead of camel case. This makes our APIs inconsistent and adds confusion to frontend development.
I renamed the product info table to cpe so that references to entries are more informative: cpe = single entry and cpes is a collection of entries. This isn't the case now with product_info being used as both singular and plural.
I also removed the cpe_list column since there is already a join table between cves and cpes coded into the db model.

🧪 Testing
Modified tests for API functionality. Manually tested Vulnerability Details page.

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

PR currently includes commits from #2352. I will mark this ready for review once #2352 is merged.

I've updated syncdb's populate method to include the cve and cpe tables to assist local development.


Game to add

Please Add Monster Hunter Stories 2: Wings Of Ruin

I have added the game(s) you requested in the most recent release: https://github.com/hobby-grade/Nintendo-Switch-Discord-Status/releases/tag/1.0.6
Thank you for checking out the project, reach out if you have any more suggestions!


Use project node modules instead of scoped addon node modules

This fixes the intermittent issue described in #94. When fixtable-ember is a child dependency of another addon inside of a larger application, the node_modules folder it references is incorrect. This always uses the project node_modules folder.

Hey @omarestrella - with @toddjordan's PR of moving to this.import do we still need to modify the nodeModulePath as in this PR?

We should use https://github.com/MyPureCloud/fixtable-ember/pull/105 instead.

Using https://github.com/MyPureCloud/fixtable-ember/pull/105 instead


Closes #28 Added data loader for HoASA

Please name your PR after the issue it closes. You can use the following line: "Closes #ISSUE-NUMBER" where you replace the ISSUE-NUMBER with the one corresponding to your dataset.
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script nusantara/nusa_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _NUSANTARA_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one NusantaraConfig for the source schema and one for a nusantara schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_nusantara --path=nusantara/nusa_datasets/my_dataset/my_dataset.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Tested and looks good to me too. Thank you for contributing, @rayendito.
However, if you check the file changes in your PR, it's shown there 9 files changed.
Could you help to fix so that you're only requesting to push your own code?
Thanks before!

ah yes my bad, but it should be fine now. sorry for the mess!😅


smq2Q_XY modelpack gates includes the CPhase gate

Describe the bug
The model pack smq2Q_XY includes the CPhase in the description and the gates, but it is not used in the germs or fiducials.
https://github.com/sandialabs/pyGSTi/blob/d27e4e688a64914a0b7aaec1de91aa56f7ce70c2/pygsti/modelpacks/smq2Q_XY.py#L20-L23
Also the smq2Q_XYI description contains a reference to the CPhase (and many some more modelpacks).
Expected behavior
I believe the smq2Q_XY should not contain any references to CPhase. And maybe the docstrings could be expanded to describe the model and its uses in more detail.
Environment (please complete the following information):

pyGSTi version [e.g. v<IP_ADDRESS>]: Current  master branch
python version [e.g. 3.7, 2.7]: Any
OS [e.g. OSX 10.14, Ubuntu 16.04 LTS]: Any

Closing as this has been addressed by #502, which has now been merged into develop.


much defaults. very commit. such happy.

Hmm, not planning to add any defaults. You can configure your own set now.


Choosing actions for reducer with regexp

Normally you write something like:
[SOME_ACTION_TYPE]: someActionTypeHandler,

So it picks a specific action type and handles it with specific reducer.
I'd like to be able to "catch" action types with regexp. For example, I want to handle every action type that ends with _DONE with a specific successReducer.
Don't see a way to do that with the current API. Should we implement something to enable such usecase?

Have you tried combineReducers? Less permissive than a refex, but more intentional.

Yes, but I'm looking for a more generic solution..
27.9.2017 23.59 "Victor Alvarez"<EMAIL_ADDRESS>kirjoitti:

Have you tried combineReducers? Less permissive than a refex, but more
intentional.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reduxactions/redux-actions/issues/246#issuecomment-332653528,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABilapHmBqxkCLhojvJQI6lyIPfreZTIks5smrc-gaJpZM4PmYuB
.

This is an important feature, I need it to create generic handlers that manages all actions with type ending in some name

@mslipper this should be done in the middleware in my opinion.

couldn't it be done in the handleAction, if the key of the map is a regex?
handleActions({
/^test/: (state, action) { ... }
})
this is a valid object, and it just means doing the check for regex type and executing the test, would be very simple, no?

haha... and 2 years later i come back wanting to do the same thing.. still no replies!? Is regex a thing yet?

I will close this issue, @mslipper answer seems like a valid solution.


bug: lang.python Extra fails to provide LSP features when root is not a git repo

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.1 | Build type: Release | LuaJIT 2.1.1713484068
Operating system/version
Linux 6.2.14-300.fsync.fc37.x86_64
Describe the bug
Python LSP features do not work in Python file(s) in an otherwise empty directory.
This is in current LazyVim (v12.38.2, 3dbace9), with lang.python enabled, and otherwise default LazyVim/starter config.
If you git init (or even just mkdir .git) inside the directory and try again, all features work as expected.
If you rm -rf ./.git, it stops working.
This issue was not present in an older setup (LazyVim v10.8.2, NVIM v0.9.1).
Additional context / observations / attempts:

Single lua file in directory: No LSP issues. Other languages not attempted.
vim.g.lazyvim_python_lsp = "basedpyright" in config/options.lua

Same behavior. Slightly different error messages.

vim.g.root_spec = { "cwd" } in config/options.lua

Same behavior.

:LazyRoot when .git present:
- [x] `/path/to/foobar` **(lsp)**
- [ ] `/path/to/foobar` **(.git, lua)**
- [ ] `/path/to/foobar` **(cwd)**

vim.g.root_spec = { "lsp", { ".git", "lua" }, "cwd" }

:LazyRoot when .git NOT present:
- [x] `/path/to/foobar` **(cwd)**

vim.g.root_spec = { "lsp", { ".git", "lua" }, "cwd" }

:LspInfo when .git present:
Client: pyright [...]
root directory:  /path/to/foobar

:LspInfo when .git NOT present:
Client: pyright [...]
root directory:  Running in single file mode.

Message spam in ~/.local/state/nvim/lsp.log when not working (no errors when working):
[ERROR][time] ...lsp/handlers.lua:623    'File or directory "/<default workspace root>" does not exist.'

Steps To Reproduce

Clone current LazyVim starter
Enable lang.python Extra (via :LazyExtras or in config/lazy.lua)
cd to an empty /path/to/foobar
nvim foobar.py (or nvim .) and write some Python code
Attempt to use LSP features, such as:

K (noice: "No information available")
[[ and ]] (does nothing)
<leader>cr (noice: "Nothing to rename")
<leader>cs (noice: "No results for symbols")
Code completion (only text and snippets)

Expected Behavior
Basic Python LSP features should work when editing any Python file.
Additional files adjacent to the Python file should not be required. Changes to LazyVim config (apart from enabling lang.python) should not be required.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
    { import = "lazyvim.plugins.extras.lang.python" },
  },
})

Alternatively, placing a pyrightconfig.json with following contents, adjacent to the Python file(s), also fixes it:
{
    "executionEnvironments": [
        {"root": "."}
    ]
}

Removing this file breaks it again.
Similarly, if you merely touch pyproject.toml, everything works as expected.
But the LSP should work without any of those things. And :LazyRoot does show the correct root when they are absent.

This seems to be a regression in pyright and subsequently basedpyright as well. Install the previous version of Pyright with :MasonInstall<EMAIL_ADDRESS>and you'll see it will behave correctly. Create an issue at the corresponding github repo as this can't be resolved here.

Thanks for the quick response!
I'd previously skimmed over the related basedpyright issue in this repo, but had prematurely dismissed it as unrelated. You're right, that seems to have the same root cause.
Still, :LazyRoot does identify the correct root in all cases. Is there no way LazyVim could tell (based)pyright to use that as it's workspace root, instead of allowing it to fall back onto its (currently broken) default behavior?
Would it not be reasonable to say that the editor should decide what the workspace root ought to be, rather than letting the LSP server figure it out on its own?

lsp from vim.g.root_spec just returns the root_dir or workspace folder the LSP client responds back. Corresponding code is here. There's no magic being done here. LazyVim only returns what pyright or basedpyright determines to be the root_dir. And also vim.g.root_spec is just used to determine the LazyRoot from what the client responds. The problem here is that the LSP features of both servers don't seem to be working in single_file mode in the latest version. That's not something that can be fixed here.

I see, makes sense. Feel free to close if issue is no longer useful.
And thanks again for the :MasonInstall<EMAIL_ADDRESS>solution; that seems to be the way to go until they fix it.


Consider removing 'make run' to avoid dev pitfalls

Some issues a contributor might run into hacking on the controller with make run

Lack of environment variables that would have been set by mig-operator on mig-controller pod lead to differing behavior from mig-operator based deploy. (e.g. default ExcludedResources list set via env var)

Web UI will fail in confusing ways due to lack of connection from Web UI to Discovery Service (local running controller discovery service won't be available via OpenShift routing system)

I suggest we consider removing make run and advising everyone to deploy through operator for behavioral consistency. I'd also be open to improving some of the above aspects if folks find make run valuable.

The downside of removing make run: it takes ~4 minutes for a build + push + update migrationcontroller + reconcile + restart pod cycle on my machine. This is not a very fast iteration time for quick changes.

Another point to add: all vars set by mig-operator for mig-controller should arguably be set into the mig-controller ConfigMap and not directly on the Pod, this way make run will continue to function as expected. We should do a round of changes to ensure that mig-operator is not settings vars directly on the mig-controller pod.

There are times where the 4 minute per-change hit would be a significant productivity hit. I'm thinking in particular when iterating over a series of small changes, making sure each small change has the desired effect, although not creating separate commits or updating the PR for each change.
Regarding explicit env vars vs. using a ConfigMap, the downside of using a ConfigMap is that if you update a variable in the ConfigMap, the deployment won't necessarily kick off a new pod since the Deployment yaml doesn't change, while with explicit env vars the pod will always restart on change. We had a problem with this at one point, where we then moved a ConfigMap into separate env vars in Spec. I'm not sure whether this has changed since then or not, though.

Removing make run also makes it more difficult to debug, since I can't attach a debugger to the controller running in a pod.

Regarding explicit env vars vs. using a ConfigMap, the downside of using a ConfigMap is that if you update a variable in the ConfigMap, the deployment won't necessarily kick off a new pod since the Deployment yaml doesn't change, while with explicit env vars the pod will always restart on change. We had a problem with this at one point, where we then moved a ConfigMap into separate env vars in Spec. I'm not sure whether this has changed since then or not, though.

We could overcome this by manually deleting the mig-controller Pod (or doing a rollout) if mig-operator performs a settings change to the configmap. This would be a really easy fix (check result of ansible task that sets configmap) and would allow for moving all env vars to configmap where they could be consumed by make run

Removing make run also makes it more difficult to debug, since I can't attach a debugger to the controller running in a pod.

I agree. I don't usually use a debugger but I know several folks on the team do and this would cause problems for that.

@mansam @sseago Proposed fix that will bring make run back in line with mig-operator behavior: https://github.com/konveyor/mig-controller/issues/616 , please review if you have thoughts.

Just to add one more argument in favor of keeping make run closer to the "operated" controller experience: It would be a whole lot harder to run tracing for performance tracking if I can't run the controller locally.

Closing, will use #616 as solution


update snntorch example

ipynb file has been added.
It follows the same syntax as the Norse tutorial, though an error is thrown at the following line:
# Save to file
nir.write("nir_model.nir", nir_model)

Note: I also had to pass in sample_data into the network to make it usable, which the Norse example does not have.

There's a type in the "Import a NIR graph to snTorch". Otherwise, LGTM!

fixed, lgtm, merging


When will workload identity by GA?

Is there any timeline when workload identity will be GA?
We really want this for our containers.
Also too bad that managed identities for ACI is also still in preview.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: efde8151-ca72-0ce1-271a-57a14a8c7ccd
Version Independent ID: f37efaf0-6573-6813-a3e4-3065e44666e4
Content: Tutorial - Use a workload identity with an application on Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/learn/tutorial-kubernetes-workload-identity.md
Service: container-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@hvoerman
Thanks for your feedback! We will investigate and update as appropriate.

@hvoerman
Thank you for your time and patience!
Unfortunately, we don't provide product release updates through our GitHub channels. For this, I'd recommend referring to our Azure Updates or Microsoft 365 Roadmap pages for this info.


Header covers content on smaller (tablet) resolutions

Header covers content on Huawei MediaPad M3 tablet which has 854x534 resolution (2560x1600 native), as presented on screenshot below. Also element are slightly too big. TileBoard is targeted to this type of devices, so maybe 'px' unit does not fit perfect.

There is a whole Wiki on how to configure different sizes, including mobile devices. Please take some time to read through it.
https://github.com/resoai/TileBoard/wiki


add plugin hook after block construction but before axial expansion

We need a Plugin hook at the time after Assembly construction and before any expansion.
The request is to have a hook that goes before the afterConstructionOfAssemblies hook, but also before the Axial Expansion:
https://github.com/terrapower/armi/blob/aa92cd31a618c3f74790973391f89ce65173ba9e/armi/reactor/blueprints/__init__.py#L343-L366
This arises because #1311 added a Parameter initialB10ComponentVol but this Parameter would be better in a Plugin. there is no Plugin hook for when the code needed to be called though. When this Plugin hook is created, we can move the Parameter to the Plugin.

probably not needed.


Running the opendatacon?

I see that there are several scripts in the install directory to run the opendatacon daemon.
When I run the init script I get the following error:
/etc/init.d/functions: No such file or directory
My assumption is that I have to do something else other than building and installing the opendatacon in order to be able to run it. What am I missing?

Which version/branch are you building, and what OS are you using?
The release versions require manual installation of the init script, and
I've only tested it on debian and redhat. It relies on opendatacon being
installed at /opt/ODC
If you're on develop, the ODCdaemon script and init script has actually
been deprecated, because opendatacon will now run naively as a daemon (or
service under windows). And it also uses cpack to generate installers, so
it's up to the user to create an init script if required.
I'll delete the deprecated scripts and add a task to look into
automatically installing an init script (this would match the windows
option of installing the service).
Thanks for your feedback.
Neil.
On Wed, Sep 21, 2016 at 4:45 AM, Rafael A. Rivera Soto <
<EMAIL_ADDRESS>wrote:

I see that there are several scripts in the install directory to run the
opendatacon daemon.
When I run the init script I get the following error:
/etc/init.d/functions: No such file or directory
My assumption is that I have to do something else other than building and
installing the opendatacon in order to be able to run it. What am I missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neilstephens/opendatacon/issues/9, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIoHZudLfcPfnXRKqduYFeR1r9EY-Gj1ks5qsCmsgaJpZM4KB-zG
.

By the way, I should have also said you can always run opendatacon from the command line.

Thanks for your reply Neil!
I am now attempting to run a simple opendatacon example. I used the DMC example provided as a template, this is a much smaller test case with only one DNP3 Master and one DNP3 outstation.
opendatacon
Connector
DNP3_Master
DNP3_Outstation
Log0
When I run the opendatacon, this is the output I get:
2016-09-21 11:13:00.70 - DEBUG - DNP3MasterPort - master: Setting point quality to COMM_LOST 2016-09-21 11:13:00.71 - DEBUG - outst_<IP_ADDRESS>:20001 - MonitorStateInit -> MonitorStateOpening 2016-09-21 11:13:18.872 - DEBUG - outst_<IP_ADDRESS>:20001 - MonitorStateOpening -> MonitorStateOpeningSuspending 2016-09-21 11:13:18.872 - WARN - outst_<IP_ADDRESS>:20001 - error: Operation aborted. 2016-09-21 11:13:18.872 - DEBUG - outst_<IP_ADDRESS>:20001 - Failed socket open, closing socket 2016-09-21 11:13:18.872 - DEBUG - outst_<IP_ADDRESS>:20001 - MonitorStateOpeningSuspending -> MonitorStateSuspended 2016-09-21 11:13:18.873 - DEBUG - outst_<IP_ADDRESS>:20001 - MonitorStateSuspended -> MonitorStateShutdown 2016-09-21 11:13:18.873 - DEBUG - mast_<IP_ADDRESS>:20000 - MonitorStateInit -> MonitorStateShutdown
Is there anything wrong in my configuration files?
It might be useful to know that when I run the DNP3Port_tests I get the following output:
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DNP3Port_tests is a Catch v1.3.2 host application.
Run with -? for options
DNP3PortEndToEndTestSuite - ConstructEnableDisableDestroy
/home/tmauser/opendatacon/tests/DNP3Port_tests/TestDNP3PortEndToEnd.cpp:30
/home/tmauser/opendatacon/tests/DNP3Port_tests/TestDNP3PortEndToEnd.cpp:68: FAILED:
REQUIRE( OPUT->GetStatus()["Result"].asString() == "Port enabled - link up (unreset)" )
with expansion:
"Port enabled - link down"
"Port enabled - link up (unreset)"
test cases: 3 | 2 passed | 1 failed
assertions: 8 | 7 passed | 1 failed
`
In the end, I would like to use the opendatacon to aggregate data from multiple DNP3 outstations, any advice that you could provide me to accomplish this would be extremely beneficial.
I thank you for your patience and responsiveness!

I tried the netcat command, no errors were reported. I also ran the opendatacon as superuser.
Here is a dump of my system-info:
ls.pci
lsb.release
proc.cpuinfo
proc.meminfo
proc.version
I am running this on a Debian 64 bit VM with virtualbox.

I just fixed the end-to-end DNP3 port unit test. Please check out the latest develop commit and rebuild.
If the unit test fails for you now, it's safe to say it will be due to the same error you're getting on your example config.
Thanks for your system info. Can you also tell me your compiler version? Also, if you run cpack ('make package' in your cmake build dir) and send me the generated installer, I can try running your build, which could rule out some things.
And vice-versa - give this build a go:
opendatacon-0.3.4-Linux-x86_64-Release.tar.gz
Cheers,
Neil.

I pulled the latest changes and the DNP3Port_tests are working perfectly. I then tried to run it with both my build and your build but it didn't work :(
GCC Version:
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
G++ Version:
g++ (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
My build:
opendatacon-0.3.4-Linux-x86_64-.tar.gz
I will try to start a clean vm later today and see if your build works there. Thank you so much for your help Neal!
Rafael Rivera-Soto

Alright, another status update. I did a clean reinstall of the Debian 64 bit VM and attempted to run the build once again but it doesn't seem to work :(
When I query the status of the master or outstation using the command line plugin, this is what I get:
odc DataPorts> Status master
master:
{
"Result" : "Port enabled - link down"
}
Perhaps I will try to install this locally on my MAC and see what happens.

I noticed you didn't have a build type set for your build (Release/Debug). This resulted in the opendnp3 libraries not being packaged.
So I set a default for that variable, and while I was at it, I tidied up all the cmake cache variables, so it should look simpler in a cmake gui now. I pushed it to the develop branch.
Now that we've eliminated the build itself being the cause of your problem, I'm going to close this issue. We can take further troubleshooting offline, and if it turns out to be a problem with opendatacon, we can open a new issue, or reopen this one.
Cheers,
Neil.

Rafael, I emailed the address listed on your github profile to continue troubleshooting.


Optimize Members indexes

Part of https://github.com/opencollective/opencollective/issues/3205
While looking at a slow query, I noticed that:

They're not indexed by TierId; yet this is widely used by req.loaders.Tier.contributorsStats on the collective page
We're currently indexing deleted entries, forcing queries to re-filter after getting the results

@kewitz Yes, I updated it to make sure it has the latest migrations included.


Expected speed for llama3-70b-instruct

Hello - I quantized Llama3-70B-Instruct with g128 (model here), and ran the benchmarking script on an L40s with the below command:
> export GLOBAL_BATCH_SIZE=4 NUM_GPU_PAGE_BLOCKS=100
> python qserve_benchmark.py --model $MODEL_PATH --benchmarking --precision w4a8kv4 --group-size 128

I get ~60 tokens/s, is this the expected throughput? I was hoping for a bit closer to llama2-70b at ~280 tokens/s.

Hi @ethxnp , thank you very much for your interests in QServe!
Yes. The expected throughput should be close to 280 tokens/sec. It might be slightly smaller since Llama3 models have a much larger vocabulary size.
The reason why you get ~60 tokens/s is that you have set the batch size to 4. To maximize the throughput, you'll need to take full advantage of the device's capacity. For example, on L40s, the max batch size for 70B models should be close to 24.


Poke the deployment dashboards

As an impatient deployer of things
I want to get fast feedback on the things that I deploy
So that I can take the appropriate action more promptly
I loooove these deployment dashboards, but I always find myself tweaking the
time and refresh intervals.  I haven't got time for a 1 minute refresh rate
when I'm deploying.
Also, I want more focus on the time around my deploy.  Having "today" as the
timescale means that we could be displaying between 9.5 hours and 17 hours of
metrics, most of which is fairly irrelevant to the user.  I usually tweak it to
be the last 30 mins, but 1 hour is also OK.

:+1: I do the same things.

👍

Thanks peeps


Update QueryResults#all docs and code example

The original docs were take from Logging and not adapted to Datastore.
Copy/Paste FTW!
[refs #692]

@blowmage Thanks for catching these lingering copy/paste docs errors.
@bmclean Thanks for the original catch.


Package compiled aar in NPM

As suggested in https://github.com/react-native-community/react-native-linear-gradient/issues/239.
TLDR; I think it would be great if instead of making the dev include the source code of the lib as a module in an android project, the lib would include the compiled artifact inside the NPM package.
This is already done by the react-native package (see http://facebook.github.io/react-native/docs/integration-with-existing-apps.html on Android) and offers multiple benefits, first of all it removes problems with different built tools versions between lib and app, avoids having to compile the code and in my experience worked much better with Android Studio (while the module approach would often fail the compilation because it wouldn't find the files in time).

Closing until questions in https://github.com/react-native-community/react-native-linear-gradient/pull/255 are answered.


New lobby 2.0.0

The new update:
https://board.en.ogame.gameforge.com/index.php/Thread/808737-OGame-accounts-are-becoming-a-Gameforge-account/
Seems to have broken the login process, at first glance it seems like the API is not accessible anymore, e.g. https://lobby-api.ogame.gameforge.com/users/me/accounts

I came to report same bug

we can use the same solution from flashover post on the golang version, in file /usr/lib/**/ogame/init.py replace every link containing "https://lobby-api.ogame.gameforge.com/"
to "https://lobby.ogame.gameforge.com/api/"

Thanks for reporting, I'll make a release to fix this.

The login is fixed in 1.3.0
https://github.com/alaingilbert/pyogame/commit/a69f44a8d7b7ace090b57a25f8966ff23852e0d6


--no-dev-dependencies flag is not honoured

When I run cargo crev verify --no-dev-dependencies I still get dev-dependencies listed.
Noting also that --no-dev-dependencies seems to be deprecated so the flag should not be needed.
`--no-dev-dependencies` is the default, is now ignored and will be removed in the future

Verification
I created a new crate and put this in the manifest (hex_lit is an arbitrary crate with zero dependencies).
[package]
name = "play"
version = "0.1.0"
edition = "2021"

[dependencies]
hex_lit = "0.1.1"

[dev-dependencies]
serde_json = "1.0"

And I get
cargo crev verify --no-dev-dependencies
`--no-dev-dependencies` is the default, is now ignored and will be removed in the future
`--no-dev-dependencies` is the default, is now ignored and will be removed in the future
status crate      version
none   itoa       1.0.5
none   serde      1.0.152
none   ryu        1.0.12
none   hex_lit    0.1.1
none   serde_json 1.0.91
local  play       0.1.0*
Some columns were hidden. Use one or more `--show-<column>` to print more details. Use `--help` for list of available columns and other options and help. Use `--show-all` to just display everything.

System details
$ cargo crev --version
cargo-crev 0.23.3

Built locally from: commit ac85fd536f068e9852f1f9c3d85b0d3dfb982163.
OS: Ubuntu 22.04.1 LTS

I could not get the cargo resolver to do what I want, and just disabled this flag temporarily. It should be possible somehow, but ATM I don't have time figure it out. :(

Ah no worries, thanks man. I'll leave this open for others to see - perhaps someone will solve it for you :)

Dirty hack: just delete all the dev dependencies from the manifest of the crate one is verifying.

I might have fixed it in https://github.com/crev-dev/cargo-crev/pull/581

Sick! Tested and confirmed!


[Bug]: Mattermost 5.9.0 MSI Silent Install not working anymore

Checks before filing an issue

[X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
[X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
[X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
[X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
[X] I have read the contribution guidelines.

Mattermost Desktop Version
5.9.0
Operating System
Windows 11 x64
Mattermost Server Version
9.5.1
Steps to reproduce
open an administative cmd an run the installation by "mattermost-desktop-5.9.0-x64.msi /qn"
Expected behavior
I've expect that the msiexec.exe starts in the background and run the installer itself.
Observed behavior
Try to deploy mattermost-desktop-5.9.0-x64.msi with the parameter /qn but nothing happens, no msiexec.exe process starts at all to begin an silent installation of Mattermost desktop.
Log Output
No log file available because the installation failed.

Additional Information
No response

@WebBuddha The correct command to run should be msiexec /i mattermost-desktop-v5.9.0-x64.msi /qn, can you try running that?

@WebBuddha The correct command to run should be msiexec /i mattermost-desktop-v5.9.0-x64.msi /qn, can you try running that?

The windows installer (msiexec) is still running, but mattermost wont be installed also.
We use the PSADT for your SCCM deployments at all and an the cmdlet is using the msiexec /i command in the background.

There should be something available in the logs for the MSI installer. I'm not sure how PSADT works internally, but perhaps it's passing different arguments that aren't supported by our MSI? As designed the MSI is supported to be used as per our documentation here: https://docs.mattermost.com/install/desktop-msi-installer-and-group-policy-install.html
If you can get some logs from msiexec (the switches to do so are here) I might be able to help further.

I can can confirm the problem as stated by @WebBuddha
There's nothing usefull in the logifle either.
I'va also tried to install by command line in an elevated CMD with /qb he seup starts, shows some progress bars and then simply quits, no errors, no messages are shown. When I start the MSI with a doubel cklick ther's no GUI comming up, just the same progress bars and then nothing.

I have the same problem.
I managed to install Mattermost by running msiexec with the current user (not as an admin).
The program is then installed in the user's Appdata.
As a result, I've switched from a computer GPO to a user GPO.
I am convinced that you had to be an administrator to install Mattermost.
I tried to install version 5.8.1 without admin rights and it failed.

Note that the program location changes : 5.8.1 in C:\Program Files\Mattermost (admin rights required), 5.9.0 in C:\Users\username\AppData\Roaming\Mattermost (without admin rights). I end up with two installed versions.

I've seen the same. Additionally, I have found running msiexec /a mattermost-desktop-v5.9.0-x64.msi /qn as an admin will install the application to C:\mattermost-desktop without generating an entry under Installed Apps. This has been the only way I've found to install v5.9.0 and have it accessible for all users on a system.

@cyberm8 To install for administrators, you'll need the ALLUSERS=1 parameter, see: https://docs.mattermost.com/install/desktop-msi-installer-and-group-policy-install.html#install-for-all-users
If you're trying to install under the admin account without this line, that could be why it's failing but the logs should reveal that.
The duplicate installer is expected, as we switched installer IDs between v5.8 and v5.9 so the newer one cannot overwrite the old one. For this upgrade, you'll have to install manually.
I've been able to run the installer on multiple machines:

Windows 10 VM x64
Windows 11 VM ARM64
Windows 11 bare-metal (also had never installed the MSI before)

All of those have performed the silent install correctly, so given that the installer works as expected and supported, and without logs I'm afraid there's not much else I can do, so I'm going to close this ticket.
Feel free to continue to comment if anyone has any ideas about how to resolve this.

silent_install.bat
@echo off
cls

echo Uninstall mattermost 5.8.1
call msiexec /x {E300F0C8-EA36-4C19-893C-AD1B79914B10} /qn
echo Returncode: %ERRORLEVEL%

echo Uninstall mattermost 5.9.0
call msiexec /x mattermost-desktop-5.9.0-win-x64.msi /qn
echo Returncode: %ERRORLEVEL%

echo Install mattermost 5.9.0
call msiexec /i mattermost-desktop-5.9.0-win-x64.msi ALLUSERS=1 /qn
echo Returncode: %ERRORLEVEL%

echo Create link for mattermost
echo Set objShell = CreateObject("WScript.Shell") > %TEMP%\CreateShortcut.vbs
echo Set objLink = objShell.CreateShortcut("C:\Users\Public\Desktop\Mattermost.lnk") >> %TEMP%\CreateShortcut.vbs
echo objLink.Description = "Mattermost" >> %TEMP%\CreateShortcut.vbs
echo objLink.TargetPath = "%ProgramFiles%\mattermost-desktop\mattermost.exe" >> %TEMP%\CreateShortcut.vbs
echo objLink.Save >> %TEMP%\CreateShortcut.vbs
cscript %TEMP%\CreateShortcut.vbs
del %TEMP%\CreateShortcut.vbs

echo Delete old pin in TaskBar
for /f "delims=" %%a in ('dir/b/ad-h "%SystemDrive%\Users\*"^|findstr/ixvc:"Public"') do (
	IF EXIST "%SystemDrive%\Users\%%a\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Mattermost.lnk" (
		del "%SystemDrive%\Users\%%a\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Mattermost.lnk"
	)
)

echo End

EXIT /B 0

I tried with ALLUSERS=1 and ALLUSERS=2, neither of it works,
Attached you'll find a log file from an deplyoment with ALLUSERS=1
The Deplyoment is run with the localsystem user.
MMinstall.log

@WB-RH saw this in your logs:
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �D�e�t�e�r�m�i�n�e�d� �t�h�a�t� �e�x�i�s�t�i�n�g� �p�r�o�d�u�c�t� �(�e�i�t�h�e�r� �t�h�i�s� �p�r�o�d�u�c�t� �o�r� �t�h�e� �p�r�o�d�u�c�t� �b�e�i�n�g� �u�p�g�r�a�d�e�d� �w�i�t�h� �a� �p�a�t�c�h�)� �i�s� �i�n�s�t�a�l�l�e�d� �p�e�r�-�u�s�e�r�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �P�R�O�P�E�R�T�Y� �C�H�A�N�G�E�:� �A�d�d�i�n�g� �M�S�I�I�N�T�E�R�N�A�L�I�N�S�T�A�L�L�E�D�P�E�R�U�S�E�R� �p�r�o�p�e�r�t�y�.� �I�t�s� �v�a�l�u�e� �i�s� �'�1�'�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �D�e�t�e�r�m�i�n�e�d� �t�h�a�t� �e�x�i�s�t�i�n�g� �p�r�o�d�u�c�t� �(�e�i�t�h�e�r� �t�h�i�s� �p�r�o�d�u�c�t� �o�r� �t�h�e� �p�r�o�d�u�c�t� �b�e�i�n�g� �u�p�g�r�a�d�e�d� �w�i�t�h� �a� �p�a�t�c�h�)� �i�s� �a� �d�u�a�l� �m�o�d�e� �p�a�c�k�a�g�e� �i�n�s�t�a�l�l�e�d� �i�n� �p�e�r�-�u�s�e�r� �m�o�d�e�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �P�R�O�P�E�R�T�Y� �C�H�A�N�G�E�:� �M�o�d�i�f�y�i�n�g� �A�L�L�U�S�E�R�S� �p�r�o�p�e�r�t�y�.� �I�t�s� �c�u�r�r�e�n�t� �v�a�l�u�e� �i�s� �'�2�'�.� �I�t�s� �n�e�w� �v�a�l�u�e�:� �'�1�'�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �P�R�O�P�E�R�T�Y� �C�H�A�N�G�E�:� �D�e�l�e�t�i�n�g� �A�L�L�U�S�E�R�S� �p�r�o�p�e�r�t�y�.� �I�t�s� �c�u�r�r�e�n�t� �v�a�l�u�e� �i�s� �'�1�'�.�
�

Is there an existing install either for a different user or the current one?

Hi
Indeed, there’s an older version 5.6.0 installed on our clients, before 5.9.0 we never had any trouble upgrading trough MSI, for us, this new behavior is not really a good change.
I never really understood, why anyone would want any software to be installed in a user’s context (unless absolutely necessary for it to work properly), al this ever does is create endless troubles for managed systems.
Best Regards
Roger Hungerbuehler
Workbooster GmbH
Obermülistrasse 85
8320 Fehraltorf
Switzerland
Phone:
+41 44 515 48 80
Direct:
+41 44 515 48 86
Helpline:
+41 44 515 48 83
Support:
<EMAIL_ADDRESS>Von: Devin Binnie @.>
Gesendet: Mittwoch, 28. August 2024 16:29
An: mattermost/desktop @.>
Cc: Roger Hungerbühler @.>; Mention @.>
Betreff: Re: [mattermost/desktop] [Bug]: Mattermost 5.9.0 MSI Silent Install not working anymore (Issue #3133)
@WB-RHhttps://github.com/WB-RH saw this in your logs:
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �D�e�t�e�r�m�i�n�e�d� �t�h�a�t� �e�x�i�s�t�i�n�g� �p�r�o�d�u�c�t� �(�e�i�t�h�e�r� �t�h�i�s� �p�r�o�d�u�c�t� �o�r� �t�h�e� �p�r�o�d�u�c�t� �b�e�i�n�g� �u�p�g�r�a�d�e�d� �w�i�t�h� �a� �p�a�t�c�h�)� �i�s� �i�n�s�t�a�l�l�e�d� �p�e�r�-�u�s�e�r�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �P�R�O�P�E�R�T�Y� �C�H�A�N�G�E�:� �A�d�d�i�n�g� �M�S�I�I�N�T�E�R�N�A�L�I�N�S�T�A�L�L�E�D�P�E�R�U�S�E�R� �p�r�o�p�e�r�t�y�.� �I�t�s� �v�a�l�u�e� �i�s� �'�1�'�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �D�e�t�e�r�m�i�n�e�d� �t�h�a�t� �e�x�i�s�t�i�n�g� �p�r�o�d�u�c�t� �(�e�i�t�h�e�r� �t�h�i�s� �p�r�o�d�u�c�t� �o�r� �t�h�e� �p�r�o�d�u�c�t� �b�e�i�n�g� �u�p�g�r�a�d�e�d� �w�i�t�h� �a� �p�a�t�c�h�)� �i�s� �a� �d�u�a�l� �m�o�d�e� �p�a�c�k�a�g�e� �i�n�s�t�a�l�l�e�d� �i�n� �p�e�r�-�u�s�e�r� �m�o�d�e�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �P�R�O�P�E�R�T�Y� �C�H�A�N�G�E�:� �M�o�d�i�f�y�i�n�g� �A�L�L�U�S�E�R�S� �p�r�o�p�e�r�t�y�.� �I�t�s� �c�u�r�r�e�n�t� �v�a�l�u�e� �i�s� �'�2�'�.� �I�t�s� �n�e�w� �v�a�l�u�e�:� �'�1�'�.�
�
�M�S�I� �(�s�)� �(�3�4�:�5�8�)� �[�0�9�:�0�3�:�2�1�:�9�8�5�]�:� �P�R�O�P�E�R�T�Y� �C�H�A�N�G�E�:� �D�e�l�e�t�i�n�g� �A�L�L�U�S�E�R�S� �p�r�o�p�e�r�t�y�.� �I�t�s� �c�u�r�r�e�n�t� �v�a�l�u�e� �i�s� �'�1�'�.�
�
Is there an existing install either for a different user or the current one?
—
Reply to this email directly, view it on GitHubhttps://github.com/mattermost/desktop/issues/3133#issuecomment-2315494971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKXQSZ32Y5S4IXNLWNIAS7LZTXNBLAVCNFSM6AAAAABM6DY75CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGQ4TIOJXGE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


[Bug] Unable to delete file: xxx/xxx/xxx.nfs1213221e1e12xxx

Search before asking

[X] I had searched in the issues and found no similar issues.

Java Version
8
Scala Version
2.12.x
StreamPark Version
2.12
Flink Version
1.14.6
deploy mode
remote
What happened
streampark采用k8s部署方式进行部署，然后将workspace挂载出来，使用的是aws的efs盘进行挂载，然后对 一个application重新导入jar包后，进行releas 就会报错
Error Exception
java.io.IOException: Unable to delete file: /opt/soft/streampark_workspace/workspace/100165/.nfs1b803841542467490000003f

Screenshots

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

这个有解决方案吗？


Always show currency codes

The result of buildpayment is admittedly confusing, but this PR should make it so frontend doesn't need to decipher as much.
worthDescription is still used for the "This is $0.20 USD" at the bottom of the build payment, request payment dialog.
But there are three new fields that should make it clearer:  displayAmountXLM, displayAmountFiat, sendingIntentionXLM.  They make the confirm dialog a lot easier to understand.
This also has a small fix for the chat message "worth" so that it has a currency code as well.
cc @malgorithms this fixes CORE-9325 which was marked high priority...requires releases to fix.

Shouldn't the command line also use these new fields? maybe a separate ticket?

CLI has different RPCs and currently doesn't show ambiguous data, so i'm not too concerned about it.
2018/10/25 15:53
1000 CLP (6.1736364 XLM)
zanderz -> patrick
Note: It was chilean pesos, amirite?

2018/10/26 11:42
0.1 USD (0.4308003 XLM)
chris -> patrick


Port controllers, routes, etc. to replicate existing functionality via package

All of these routes and controllers will be in the tipoff/bookings package. This package is just a layer on top of it and should require that package.

I deleted out the files that I think should live in the other packages. This package will require those packages. It may have some different controllers that live here and are exclusive for staff bookings. Let's get into that in a Zoom meeting next week. Thank you!