Idea for Showcase

Hi, I'm Mark. I've been a massive fan of Flutter/Dart for almost a year now. About a month ago, I started to work on Safe, a powerful tool for personal and community safety. We tried to use React-Native but Flutter was just way better for the job. I know you guys are currently trying to showcase cool projects built with Flutter. If you guys would like to showcase Safe, feel free to!
Reach out to me at<EMAIL_ADDRESS>

@markmusic2727
it would be nice if the flutter would be mentioned in your webisite or your press kit

@markmusic2727
It would be great if you could reach out / tweet this to Flutter's official handle https://twitter.com/FlutterDev.
This repo is used to keep track of bugs and feature requests for Flutter framework. I am going ahead and closing this from here.


Zend.Debug.CodeAnalyzer: soft deprecate the sniff

Description
See #58.
This commit soft deprecates the sniffs with a @deprecated annotation. This will get a mention in the changelog.
Hard deprecation will follow in a future 3.x minor as per #188.
Suggested changelog entry
Deprecated

The Zend.Debug.CodeAnalyzer sniff. The sniff will be removed in PHP_CodeSniffer 4.0.

Also see this comment confirming the deprecation as reasonable.

Rebased without changes before merge.


Fix parsing of <build_type> with conditionals

Moved from https://github.com/ros-infrastructure/superflore/pull/280 because the 2nd commit might have some impact on the ebuilds for gentoo.
@allenh1 @herb-kuta-lge please review and merge

It appears that the two commits were squashed as when the PR was merged.


Adding colleges

Good job @Yash-Parwani
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

SignIn / SignUp in ClueLess Website .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

https://www.clueless.tech/profile/admin/95875897
PR merged by Rajdip019


Modals / Improved Toasts

Modals similar to bootstrap

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Motivation 🔦

I feel that the Modal in bootstrap is more practical and easy to use than that of Material-UI

@JackS0001 Did you find a solution? What was the frustration about?

My guess is that you are looking for #24759 and #18098.

There is a complementary project for Dialog, for confirmation : https://github.com/jonatanklosko/material-ui-confirm.
For toaster you have notistack.
I didn't find one for info dialogs. I guess it should be the same logic, one provider, one hook.
It would be a good addition to material UI Framework. But I see that @mnajdova is helping notistack with breaking changes.


all keys in memory

Badger talks about keys being in-memory when doing key only iteration "It is several order of magnitudes faster than regular iteration, because it involves access to the LSM-tree only, which is usually resident entirely in RAM"
Obviously at some point there isnt enough memory, but is there some strategy for having "all" keys in memory in the skiplist structure. See issue on key compression as well.

The skiplist always is all memory. If we come up with a strategy for moving the values off to a value log then the skiplist will be able to be a lot larger before we require a flush.

Sure, but once it is flushed they are not in memory? I read the badger thing to mean that in general they tried to keep as many of the keys in memory at any one time, including after they have been flushed to disk.


Slow Python tracing time with odeint inside tfp.optimizer.lbfgs_minimize

I want to optimize the initial condition of a dynamical system w.r.t. a criterion based on the system's trajectory. To this end, I use jax.experimental.ode.odeint inside of tfp.optimizer.lbfgs_minimize (cf. TFP-on-JAX L-BFGS). This might sound very particular, but I suppose this will come up more often when using JAX in the context of physics models.
However, jit-compilation is very slow, which impedes scaling-up.
Is there a good reason for slow compilation or is there a way to speed this up?
Below you see a code example and two graphs that show the compile times and the length of the code generate during jit-compilation, i.e., len(str(jax.make_jaxpr(...)(...))), as a function of odeint integration steps. The curves have similar shape and become somewhat flat.
!pip install tfp-nightly==0.12.0.dev20200723

from functools import partial
import jax
import jax.numpy as jnp
from jax.experimental.ode import odeint
from tensorflow_probability.substrates import jax as tfp

def ode_func(x, t):
  """
  Time derivative of a linear ODE that decays the state.
  """
  return -0.1 * x

def loss(x, n_integration_steps):
  """
  Minimizing this function essentially just minimizes the norm of x.
  """
  t = jnp.asarray([n*0.1 for n in range(n_integration_steps)])
  y = odeint(ode_func, x, t)
  return jnp.sum(jnp.square(y))

@partial(jax.jit, static_argnums=(1,))
def optimize(start, n_integration_steps):
  """
  Optimizes the initial condition of the ODE system using L-BFGS.
  """
  loss_fn = partial(loss, n_integration_steps=n_integration_steps)
  optim_results = tfp.optimizer.lbfgs_minimize(
        jax.value_and_grad(loss_fn),
        initial_position=start,
        num_correction_pairs=10,
        tolerance=1e-8)
  return optim_results.converged, optim_results.position

ndims = 3
n_integration_steps = 10
start = jnp.arange(ndims, 0, -1.)
converged, results = optimize(start, n_integration_steps)

What hardware platform is this? CPU/GPU/TPU?

The plots are obtained on a CPU. They look similar but shifted on a GPU.

Add-on: with vmap it takes about a factor 3-4 longer to compile on my machine, roughly 2 mins for 20 integration steps. Here is the vmapped version I have used:
ndims = 3
n_integration_steps = 20
start = jnp.arange(ndims, 0, -1.)
converged, results = jax.vmap(optimize, in_axes=(0,None))(jnp.tile(start[None], [10,1]), n_integration_steps)

I don't have anything helpful yet, but just wanted to chime in to say: thanks for raising this and for the very clear repro! We'd certainly like to support physics work, so we're keen to learn about issues like this and try to fix them!
cc @brianwa84 as FYI on TFP

Here's the version that does the vmap inside jit:
ndims = 3
n_integration_steps = 10
start = jnp.arange(ndims, 0, -1.)

optimize_vmap = jax.jit(jax.vmap(optimize, in_axes=(0, None)), static_argnums=(1,))
%time converged, results = optimize_vmap(start[None, :], n_integration_steps)

It looks like the repeated tracing of the loss function is related to recomputing jvp in many places. Is there a way to cache JVP tracing?
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=2/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=1/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=1/2)> 7
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=2/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=1/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=1/2)> 7
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=4/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=3/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=3/2)> 7
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=6/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=5/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=5/2)> 7
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=7/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=6/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=6/2)> 7
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=8/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=7/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=7/2)> 7
loss Traced<ShapedArray(float32[3])>with<JVPTrace(level=6/2)>
  with primal = Traced<ShapedArray(float32[3]):JaxprTrace(level=5/2)>
       tangent = Traced<ShapedArray(float32[3]):JaxprTrace(level=5/2)> 7

Indeed, it looks like we do lots of retracing currently.
It seems like caching JVP tracing will be easy after the omnistaging branch lands -- which unfortunately is currently incompatible with TFP. See @mattjj's comment over in https://github.com/google/jax/pull/3370#issuecomment-663789953

Copying from that comment on 3370 for convenience, I think we just need to memoize this line to avoid retracing.

TFP is now (as best our tests show us) compatible w/ omnistaging, with you can turn on with jax.config.enable_omnistaging(). Will be good to see if we can now get these speedups.

Running the code in the OP and adjusting n_integration_steps with a print(f"loss traced! {n_integration_steps} {time.time()}") at the top of the loss function, it seems that

loss tracing happens 10 times independent of the value of n_integration_steps
loss tracing only takes a couple seconds of the total execution time
the total execution time is not very high.

Here's one example execution:
$ time python issue3847.py
/usr/local/google/home/mattjj/packages/jax/jax/lib/xla_bridge.py:130: UserWarning: No GPU/TPU found, falling back to CPU.
  warnings.warn('No GPU/TPU found, falling back to CPU.')
2020-09-15 20:52:30.413012: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
loss traced!<PHONE_NUMBER>351.4273221
loss traced!<PHONE_NUMBER>351.5238543
loss traced!<PHONE_NUMBER>351.639439
loss traced!<PHONE_NUMBER>351.7595377
loss traced!<PHONE_NUMBER>351.9571645
loss traced!<PHONE_NUMBER>352.0764115
loss traced!<PHONE_NUMBER>352.1986306
loss traced!<PHONE_NUMBER>352.3199167
loss traced!<PHONE_NUMBER>352.5411289
loss traced!<PHONE_NUMBER>352.6583369

________________________________________________________
Executed in   16.72 secs   fish           external
   usr time   16.76 secs    0.00 micros   16.76 secs
   sys time    0.75 secs  671.00 micros    0.75 secs

Why'd we think that tracing took significant time here? Could XLA:CPU compilation time have improved significantly for this application?
(I was hoping to add some quick memoization and get a big win, but now the win is not clear!)

Based on a hunch from @shoyer I tried testing with omnistaging disabled (since it's now on by default after #4038, see also #3370)
$ time env JAX_OMNISTAGING=0 python issue3847.py
/usr/local/google/home/mattjj/packages/jax/jax/lib/xla_bridge.py:130: UserWarning: No GPU/TPU found, falling back to C
PU.
  warnings.warn('No GPU/TPU found, falling back to CPU.')
2020-09-15 20:56:48.133112: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic lib
rary 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
loss traced!<PHONE_NUMBER>609.162424
loss traced!<PHONE_NUMBER>609.5745056
loss traced!<PHONE_NUMBER>610.3911376
loss traced!<PHONE_NUMBER>611.190639
loss traced!<PHONE_NUMBER>611.2361348
loss traced!<PHONE_NUMBER>611.2457585
loss traced!<PHONE_NUMBER>612.115048
loss traced!<PHONE_NUMBER>612.8506565
loss traced!<PHONE_NUMBER>613.7472556
loss traced!<PHONE_NUMBER>614.4756129

________________________________________________________
Executed in   28.30 secs   fish           external
   usr time   28.19 secs  588.00 micros   28.19 secs
   sys time    1.07 secs  162.00 micros    1.07 secs

I didn't expect omnistaging would help automatically here, but I guess it did.

@tfrerix can you check performance against GitHub master and let me know how things look to you? I can still look into memoization if necessary, but afaict it looks like the place to improve is in XLA compile times for this workload.

Here's the vmap version, which shows at most ~1.5sec in tracing time for loss:
$ time python issue3847.py
/usr/local/google/home/mattjj/packages/jax/jax/lib/xla_bridge.py:130: UserWarning: No GPU/TPU found, falling back to CPU.
  warnings.warn('No GPU/TPU found, falling back to CPU.')
2020-09-15 21:44:57.182616: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
loss traced!<PHONE_NUMBER>498.1988375
loss traced!<PHONE_NUMBER>498.6347728
loss traced!<PHONE_NUMBER>498.7496977
loss traced!<PHONE_NUMBER>498.8695302
loss traced!<PHONE_NUMBER>498.9872
loss traced!<PHONE_NUMBER>499.106297
loss traced!<PHONE_NUMBER>499.318343
loss traced!<PHONE_NUMBER>499.4400368
loss traced!<PHONE_NUMBER>499.5684063
loss traced!<PHONE_NUMBER>499.6852055

________________________________________________________
Executed in  106.88 secs   fish           external
   usr time  106.83 secs  695.00 micros  106.83 secs
   sys time    0.82 secs  190.00 micros    0.82 secs

The pre-omnistaging version is faster here:
$ time env JAX_OMNISTAGING=0 python issue3847.py
/usr/local/google/home/mattjj/packages/jax/jax/lib/xla_bridge.py:130: UserWarning: No GPU/TPU found, falling back to CPU.
  warnings.warn('No GPU/TPU found, falling back to CPU.')
2020-09-15 21:47:19.647851: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
loss traced!<PHONE_NUMBER>640.6922941
loss traced!<PHONE_NUMBER>642.1424437
loss traced!<PHONE_NUMBER>642.9642553
loss traced!<PHONE_NUMBER>643.761223
loss traced!<PHONE_NUMBER>643.8060021
loss traced!<PHONE_NUMBER>643.816165
loss traced!<PHONE_NUMBER>644.6975186
loss traced!<PHONE_NUMBER>645.4296548
loss traced!<PHONE_NUMBER>646.2049031
loss traced!<PHONE_NUMBER>647.0686193

________________________________________________________
Executed in   74.20 secs   fish           external
   usr time   74.28 secs  633.00 micros   74.28 secs
   sys time    1.12 secs  118.00 micros    1.12 secs

I suspect that omnistaging made tracing faster in some ways but, because it stages out more computations to XLA and thus gives XLA bigger programs, can make XLA's compilation times slower. I think the fix there is to work with the XLA:CPU team to get faster compiles.

@mattjj, thanks for the additional performance tests!
I tested the code in the OP with and without omnistaging for the following installs (note that I also took the latest tfp-nightly):
! pip install -U -q jaxlib==0.1.55
! pip install -U -q git+https://github.com/google/jax.git@8376d92049624bf0784647b17b1f09015acd0947
! pip install -U -q tfp-nightly==0.12.0.dev20200918

The plot below shows that it runs significantly faster with omnistaging.
(on a CPU in a colab pro notebook)

I just wanted to note that this is still an issue even with omnistaging, particularly the vmap(optimize) case:
ndims = 3
n_integration_steps = 10
batched_start = jnp.tile(start[None], [10,1])
optimize_vmap_jit = jax.jit(jax.vmap(optimize, in_axes=(0, None)), static_argnums=(1,))

I measure jax.device_get(optimize_vmap_jit(batched_start, n_integration_steps)) taking 1 min 36s on a TPU, but that only includes 5.8 seconds doing XLA compilation and about 10 ms doing the actual computation. The rest is (presumably) overhead due to JAX tracing, though the trace is so large that the TensorBoard profiler seems to be unable to load it...

The rest is (presumably) overhead due to JAX tracing, though the trace is so large that the TensorBoard profiler seems to be unable to fully load it.

We should measure the tracing time to verify that it is really time spent in tracing. IIUC in my experiments above, tracing time was very small. (Maybe we should have better logging and instrumentation for tracing...)

It looks like things have improved a little bit since I last tried this. Running my example above from https://github.com/google/jax/issues/3847#issuecomment-702845696 on a TPU, here are the profiling results I see:

At the top level, I see:

23.4 seconds in trace_to_jaxpr_final (much of which looks redundant)
6.5 seconds in jaxpr_subcomp (not sure exactly what is going on there)
9.8 seconds in XLA compilation (long but not terrible)

Googlers: see go/vmap-optimize-ode-jax-profile for details

@shoyer you are the best!
jaxpr_subcomp is where we translate from a jaxpr to HLO, i.e. we walk the jaxpr and make calls into the XLA builder API. The same caching that would speed up trace_to_jaxpr_final would also speed up jaxpr_subcomp (because if we produce the same jaxpr objects, by object id, in the first step, then we can cache the subcomputation building in the second step).


Function editor now validating JS as typescript but doesn't allow type annotations

Current Behavior
After upgrading to Node-Red 3 I enabled the Monaco editor and now get typing information for the code. The issue I have is that the typescript compiler monaco seems to be using behind the scenes is making the wrong inferences on type, but it does not accept any type annotations to try to correct the problem. This forces me to use ignore directives which ends up being a nuisance.
Expected Behavior
Either the editor does not do JS validation using the typescript compiler or it allows the right type annotations into code
Steps To Reproduce
Put this on a function node in Node-Red 3:
// TS will complain about this with a  "Type annotations can only be used in TypeScript files. (8010)"
let someNumber : number = 2;

// Problem shows up when trying to do things like this, which is perfectly valid JS
let someArray = [["A",2],["B",3];
let sum = 0;

for (var i = 0; i < someArray.length; i++) {
    sum += someArray[i]; // Error: Operator '+=' cannot be applied to types 'number' and 'string | number'.(2365)
}

Example flow
paste your flow here

Environment

Node-RED version: 3 using Latest docker container
Browser: Chrome

Hi @carlos-sarmiento - i will try to answer your issues...

is making the wrong inferences on type, but it does not accept any type annotations to try to correct the problem.

Can you provide some examples? It seems to be working fine for me...

// TS will complain about this with a  "Type annotations can only be used in TypeScript files. (8010)"
let someNumber : number = 2;

And rightly so since type decoration is TypeScript not JavaScript
If you want to be explicit with type annotations in JavaScript + monaco, you can use JSDoc style annotations...

// Problem shows up when trying to do things like this, which is perfectly valid JS
let someArray = [["A",2],["B",3];
let sum = 0;

for (var i = 0; i < someArray.length; i++) {
    sum += someArray[i]; // Error: Operator '+=' cannot be applied to types 'number' and 'string | number'.(2365)
}

While what you have written here ↑ works (results in "0A,2B,3") it is not ideal code but if that is what you want, you have a few choices...

be more explicit with intent in your code

e.g. use .toString() or .join()

    // Problem shows up when trying to do things like this, which is perfectly valid JS
    let someArray = [["A", 2], ["B", 3]];
    let sum = 0;
    for (let i = 0; i < someArray.length; i++) {
        // @ts-ignore
        sum += someArray[i]; // Error: Operator '+=' cannot be applied to types 'number' and 'string | number'.(2365)
    }

    let someArray2 = [["A",2],["B",3]];
    let sum2 = 0;
    for (let i = 0; i < someArray2.length; i++) {
        sum2 += someArray2[i].toString();
    }

    let someArray3 = [["A", 2], ["B", 3]]
    let sum3 = 0;
    for (let i = 0; i < someArray3.length; i++) {
        sum3 += someArray3[i].join(",");
    }

    let someArray4 = [["A", 2], ["B", 3]]
    let sum4 = "0" + someArray4.map(e => e.toString()).join("")

    msg.payload = { sum, sum2, sum3, sum4 }

    return msg;

ignore single lines

use // @ts-ignore

Disable error checking number 2365 by adding it to editorTheme.codeEditor.monaco.languages.typescript.javascriptDefaults.diagnosticsOptions.diagnosticCodesToIgnore[] in the settings.js file ...   codeEditor: {
       lib: "monaco", //can be "monaco" or "ace"
       options: {
           theme: "vs",
           fontSize: 14,
           fontLigatures: true,
           fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace",
           fontWeight: "300",
           colorDecorators: true,
           dragAndDrop: true,
           linkedEditing: true,
           showFoldingControls: 'always',
           "bracketPairColorization.enabled": true,
       },
       monaco: {
           languages: {
                typescript: {
                    javascriptDefaults: {
                        /** @see https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.typescript.languageservicedefaults.html#setdiagnosticsoptions */
                        diagnosticsOptions: {
                           diagnosticCodesToIgnore:  [
                               1108,  //return not inside function
                               2304,  //Cannot find name
                               2307,  //Cannot find module 'xxx' or its corresponding type declarations
                               2322,  //Type 'unknown' is not assignable to type 'string'
                               2339,  //property does not exist on
                               2365,  //Operator '+=' cannot be applied to types 'number' and '(string | number)[]'
                               7043,  //i forget what this one is,
                               80001, //Convert to ES6 module
                               80004, //JSDoc types may be moved to TypeScript types.
                           ]
                       }
                   },
               }
           },
       },
   }

@carlos-sarmiento I will close this issue but if you believe there to be an issue, please feel free to re-open.


Registration of backend tensorflow failed Error: Could not locate the bindings file.

Running on Amazon Web Services via Elastic Beanstalk.
System information:
Linux ip-172-31-30-251 4.14.88-72.76.amzn1.x86_64 #1 SMP Mon Jan 7 19:47:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Error:
Nodejs Environment detected
Registration of backend tensorflow failed
Error: Could not locate the bindings file. Tried:
 â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS> â†’<EMAIL_ADDRESS>    at bindings (/var/app/current/node_modules/bindings/bindings.js:96:9)
    at /var/app/current/node_modules/@tensorflow/tfjs-node/dist/index.js:11:60
    at Environment.registerBackend (/var/app/current/node_modules/@tensorflow/tfjs-core/dist/environment.js:210:27)
    at Object.<anonymous> (/var/app/current/node_modules/@tensorflow/tfjs-node/dist/index.js:10:9)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
Prod: App listening to 8081....
Press Ctrl+C to quit.

============================
Hi there ðŸ‘‹. Looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, which binds to TensorFlow C++, by running npm i @tensorflow/tfjs-node, or npm i @tensorflow/tfjs-node-gpu if you have CUDA. Then call require('@tensorflow/tfjs-node'); (-gpu suffix for CUDA) at the start of your program. Visit https://github.com/tensorflow/tfjs-node for more details.
============================

Did you resolve this ?

@willoughby Unfortunately not. As a result, I had to switch to Tulind, which had its own set of errors with AWS EB, but I was able to solve those.

Tensorflow removed in 3.0. It should work now


i18n(ko-KR): update rendering-modes.mdx

Description (required)

update rendering-modes.mdx
#8575

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
basics/rendering-modes.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


v1.11.4 Northstar " Northstar Launcher Error"

Bug
It puts up this pop-up when I try to use Northstar to run Titanfall 2. I want to be able to play Titanfall 2 running Northstar. Please someone help. I did not have this problem with the other versions.
Steps to reproduce

Specifications

Northstar version:1.11.4
Platform: Steam

Does vanilla Titanfall2 still work?

no, it only works with NorthStar client

please someone help me

Send a screenshot of the files in Titanfall2\bin\x64_retail\

if u mean the games files then here

I meant this

i think this is it

can u help me?

Yeah, there should be a lot more DLLs in there. I suggest repairing your game on Steam/Origin/EA App depending where you own it, then launch vanilla, and then try Northstar again.

how do i repair my game?

wait titanfall 2 works now i just uninstalled an reinstalled it


Update README.md

This should be $image.ImageName, not $image.Name.

You mean you just want the PR number in the commit message?

Ideally, the commit message should have a description of the issue you have found, and an explanation of the solution.In this case, because it is a minor issue, there shouldn't be a big description but still more than "This should be $image.ImageName, not $image.Name."

I'm not really sure what more to add.  It's a typo in the documentation--that's all.


Render railway stations

Railway stations can be major landmarks in big cities and small towns alike across America, making them in some sense community anchor institutions (#435) and certainly a POI the project should render (#692). After the rendering of railroad tracks (#101) and some discussion of highlighting passenger routes (#745), I thought I'd spin off this issue to discuss and track rendering the stations specifically.
These icons should probably be purple, befitting their status as transportation hubs. Different maps use different symbologies. There are quite a few examples of different choices in the track samples of #101, some of which I'll re-post here. European OSM maps like Carto use a simple square. This befits a rail station's importance, and a simple symbol along the track is similar to what is used on some American maps, at least at a state-wide scale level.

When zoomed further in to a city scale, I'm personally thinking that a plain square is not sufficient/desirable. One possibility is to riff on the MUTCD rail shield:

A shielded train station symbol would have a nice synergy with a shielded bus station rendering proposed in #436. The MUTCD symbol contains a platform, but other maps use just the train on tracks, like iD/temaki:

Even an old-timey steam train symbol would probably be recognizable as a station icon, if a bit hokey:

In the future, we could even consider rendering the rail operator's brand symbol. On US maps, for example, the Amtrak logo is a fairly ubiquitous symbol for rail stops. But a non-specific default should probably be established first.

One possibility is to riff on the MUTCD rail shield

This symbol isn’t unique to the MUTCD. Similar symbols appear in wayfinding signs at airports, train stations, and bus stations. Some public transportation agencies use these symbols instead of fancy logos to represent their individual services.

If we use an icon that depicts a train, then it would be helpful to distinguish between different kinds of trains, particularly heavy rail/commuter rail versus light rail, and maybe also subways. On the other hand, the traditional OSM distinction between stations and halts really doesn’t matter in the context of North American passenger rail; we’d probably only want that to influence filtering at different zoom levels.

I agree that the distinctions that make the most sense to me from a US perspective are (a) heavy/commuter rail, (b) subways, and (c) light rail/trams. I think (a) a large rail train, (b) a subway-style train in some sort of tube, and (c) a train with a pantograph would be recognizable and understandable distinguishing icons for the three, despite all the obvious caveats (some subways aren't in tubes, some commuter and light rail lines are, etc).
Unfortunately (and I'm not that experienced with OMT so someone please correct me if I'm missing something), I don't think the tiles distinguish light rail stations from other rail stations. For the railway class, the tiles appear to contain the subclasses subway (looks like railway=station+station=subway), tram_stop (railway=tram_stop), and station (all other railway=station, regardless of the presence of station=light_rail or other more unusual station values like monorail).
I don't think railway=halt comes through at all, though I agree for our purposes that they should at first brush render identically to the stations of a given mode.

Meant to add, in my opinion the distinction between trams and light rail is not well defined in a US context, so I'd be comfortable rendering them identically in this project. That is, the symbol for railway=tram_stop and railway=station+station=light_rail would be the same.

A conceptual proposal: to distinguish transport from other POI types, I suggest using a circular badge to represent train and other transport stations:

(Note: the icon itself is just a quick mockup I made riffing off the Temaki icon. It probably needs to be modified, with different icons for each mode)
The reason I suggest this is that circles are commonly used to denote train stations in urban-scale maps, both in the context of actual train system diagrams (e.g. NYC subway, LA Metrolink commuter rail, Dallas DART light rail, Amtrak national network) and in print maps of urban areas with subways.

If we use squares to represent other POI icons (e.g. hospitals), it might be good to have transport stations distinguished by shape as well as by color.

As an aside, now that aerialways are magenta as of #755, it's unclear to me whether magenta, "airport"/"transport" purple, or another similar shade is the most appropriate for other transport features.

Unfortunately (and I'm not that experienced with OMT so someone please correct me if I'm missing something), I don't think the tiles distinguish light rail stations from other rail stations. For the railway class, the tiles appear to contain the subclasses subway (looks like railway=station+station=subway), tram_stop (railway=tram_stop), and station (all other railway=station, regardless of the presence of station=light_rail or other more unusual station values like monorail).
I don't think railway=halt comes through at all, though I agree for our purposes that they should at first brush render identically to the stations of a given mode.

subclass is populated by the value of the railway tag, so station, halt and tram_stop are passed through directly. subclass=subway, however appears to be populated by station=subway in OSM. It would be helpful for OpenMapTiles to support other documented values of station=*, namely light_rail, monorail, and funicular: openmaptiles/openmaptiles#1517

in my opinion the distinction between trams and light rail is not well defined in a US context, so I'd be comfortable rendering them identically in this project.

The distinction between trams and light rail is fuzzy worldwide. But my understanding is that stations are modeled differently: tram stops are mapped individually like bus stops, and light rail stations are mapped as groups of stops like subway stations. For each transit system, it's a judgment call whether whole stations or individual stops are more worth highlighting on maps, but it should be kept consistent across the whole system.

As an aside, now that aerialways are magenta as of https://github.com/ZeLonewolf/openstreetmap-americana/pull/755, it's unclear to me whether magenta, "airport"/"transport" purple, or another similar shade is the most appropriate for other transport features.

The intent was for aerialway magenta to be used for public transit features. Airports are not necessarily passenger facilities, but aerial lifts almost always are.

The shape of the icon outline doesn't matter too much to me as long as they're consistent between transit modes. I think you're on the right track (heh) with the mocked up train icon, it definitely fits with iconography used by my regional transit agency (Sound Transit) to indicate different transit modes:

https://www.soundtransit.org/get-to-know-us/our-brand/graphic-elements

One potential issue with putting the icon of any POI in a circle is that the user will intuitively expect to be able to click on it for more information. This is especially the case if the icon is filled in a darker color or given a faux 3D appearance. (I don’t think our New Jersey state route icon, for instance, cries out to be clicked.) A square or diamond doesn’t have this issue, purely because online maps haven’t typically used squares for interactive map elements. Of course, we could mitigate this issue by actually hooking up the icon to a click handler: https://github.com/ZeLonewolf/openstreetmap-americana/issues/76#issuecomment-1058521292.

The intent was for aerialway magenta to be used for public transit features. Airports are not necessarily passenger facilities, but aerial lifts almost always are.

@claysmalley do you think you could add the shade you used to the Contributing Guidelines? Maybe the purple should be in a new "Air" category, with magenta replacing it for "Transport"


Only 11 TDs are accessible - including the main drive.

Title.
Is it supposed to be that way ?
If yes, is there any way to choose which 10 should be visible in the drop down menu ?
Thank you.

I don't know

LMAP. Thanks.


Update BookmarkTopArea Colors to Use Theme Colors

BookmarkTopArea currently uses the hardcoded colors Color(0xFFF8FAF6) and Color(0xFFCEE9DB). We should update these colors to use our theme colors for consistency across our app and to simplify future color changes.
https://github.com/DroidKaigi/conference-app-2023/blob/main/feature/sessions/src/main/java/io/github/droidkaigi/confsched2023/sessions/component/BookmarkTopArea.kt

🙋

thx!! asssigned!


remove functional test-id 3150 from quarantine

The issue resolved in https://github.com/kubevirt/kubevirt/pull/5194 likely resolves the flakiness observed in test-id 3150 as well. Now that the fix is merged, we should be able to consider removing 3150 from quarantine once we've proven the fix reduces flakiness.
NONE

/hold
https://github.com/kubevirt/kubevirt/pull/5194 should fix this. We should observe this for two weeks in quarantine according to the WIP policy here, https://github.com/kubevirt/kubevirt/pull/5226, before merging

/close
if it lets me - I made #6353 to rebase this.


Release

Coverage decreased (-0.4%) to 90.397% when pulling 9f1ef1487545c08f64adadf5ceec9122179f3d18 on release into 3d12e569d07e8b02dd7127cbc945fd5e1dc1c6db on preprod.


Add Alexey Khudyakov's packages

Also histogram-fill moved from FP Complete to me

The only error detected by travis is:
doctest-0.10.1 depended on by:

fixed-vector-<IP_ADDRESS> (==0.9.*). Alexey Khudyakov<EMAIL_ADDRESS>@Shimuuar. @Shimuuar

For now I'll just disable that test suite and add it to the list on #622.

Thanks!


[feature]Remove old version file

Is your feature request related to a problem? Please describe.
Remove old version file
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Rejected, should be left with an up-to-date version closest to the current one.


Custom memory id is now converted to String

With this PR, #594, the custom memory ID is converted to String, even if this memory ID is not a String.
I believe it introduces a significant restriction, at the langchain4J level it is documented that the memory ID can be any object.
I can no longer pass a pair of properties representing an authentication session in #539.
Is it possible to rework #594 ?

Perhaps do the extra addition only if it is an instance of String ?

I can no longer pass a pair of properties representing an authentication session in https://github.com/quarkiverse/quarkus-langchain4j/pull/539.

Why not?

Perhaps do the extra addition only if it is an instance of String ?

That would leave the use case that we intended to fix by adding the AI service, broken

Why not? If should work correctly if toString works correctly.

I can do some manual parsing, but it is not a good dev experience for anyone interested to use anything but String for a memory id.

That would leave the use case that we intended to fix by adding the AI service, broken

Sure, that one has to be supported, but now quarkus-langchain4j can only support String as a memory id.
I can workaround about it, but I guess there should be a doc note about it if you prefer to close this issue
Thanks

I suppose with @MemoryId users can still use objects, this update only impacts memory id providers

I can do some manual parsing, but it is not a good dev experience for anyone interested to use anything but String for a memory id.

There should really be nothing the developer needs to do because this is really an SPI meant to be implemented by integration code.

Sure, that one has to be supported, but now quarkus-langchain4j can only support String as a memory id.

Not exactly: It's the default memory Id service (which only kicks in when no memoryId is provided) that needs to come up with an object that can be converted to a unique string.

Georgios, but we've discussed the use case before, and I thought we agreed it was worth pursuing, how do I demo a case where a security session which correctly covers the current user interactions can be used to support the user specific retrieval ? The only tool to customize the memory id is DefaultMemoryIdProvider and now it does not work any more.
Should I reopen #523 to have a provider which is not meant to be for internal use only ?

Sure, you can go ahead and do it, it's just that now you'll have to make sure that whatever you use as the key for the memory can be properly converted into a unique string  unfortunately there is no way around this

All right, I can work with a string, and expect a # suffix, it is not too difficult, thanks

👍🏼


Fix tests

[ ] Sometimes functional tests remain stuck in CI in test_reorged_deposit_status
[ ] Sometimes test_getspendtx fails with log ci.txt
[ ] Sometimes database::actions::db_sequential_test_runner fails with:

running 4 tests
test jsonrpc::server::tests::test_bytes_reader ... ok
test revaultd::tests::test_from_config ... FAILED
test database::actions::test::db_sequential_test_runner ... ok
test jsonrpc::server::tests::simple_write_recv ... ok

failures:

---- revaultd::tests::test_from_config stdout ----
thread 'revaultd::tests::test_from_config' panicked at 'Creating state from config: WritingKey(Os { code: 17, kind: AlreadyExists, message: "File exists" })', src/daemon/revaultd.rs:540:39
error: test failed, to rerun pass '--bin revaultd'
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Sometimes database::actions::db_sequential_test_runner fails with:

In my experience it only happens with the MacOS VM, and it seems that it's not cleaned since last run.

There is a deadlock in the JSONRPC server handler, somewhat reproduced trying to fix it now.

So it seems to be a database locking issue due to our threads that is causing the CI deadlocks for functional tests. Been pulling my hair for some time but now upstreamed the issue to https://github.com/rusqlite/rusqlite/issues/920 as it does not seem right..

Ok, so i think two of that were fixed by #131 and the remaining one is fixed in #129 so i'm gonna tag it fixed by #129


DGJ-1236 update to the new helm chart deployment and formio version

Summary
DGJ 1236 update to the new helm chart deployment
DGJ 951 Upgrade to the latest version of forms-flow-ai
A new version (5.1.1) was released

Added form versioning

Allow forms to be versioned. This will allow us to track and manage form versions. Also, a form designer can decide if the updated form (the last version of the form) should be effective for all the in-progress submissions or only new ones.

Draft discard

We already have this feature, but opt-in for the form-flow-ai implementation would allow easier future updates and better maintenance.

PDF templating
Added form embedding

This will allow embedded DGJ in another website. Can be useful if a client wants to include a DGJ (which has their form) in their own website

Some package and library version also upgraded.

Changes

Major change is in forms-flow-forms directory where we now pull code base from AOT and override our changes on it.
For documentation new chromium driver and browser added
API, added 2 migration files that will enable form versioning.

Notes
Developer, Please review your recent change are on this pull request or not, And provide approval on this PR. No need to check detail code and each files.

Is it ok that the testing fail?

Is it ok that the testing fail?

Yes, Ill check with warren and see easy fix, else fix that later.


In cephfs-provisioner.go L#144-148, the provision is going to create …

…a secret in the PVC namespace
But the clusterrole doesn't have it, so the privision will fail.
Adding this to the clusterrole so that the pvc from different namespace can be fulfilled.
Failure log without the change:
I0515 17:38:37.005918       1 controller.go:1068] scheduleOperation[lock-provision-default/claim1[cc24ce79-5866-11e8-b8da-4ade9defea87]]
I0515 17:38:37.051594       1 controller.go:1068] scheduleOperation[lock-provision-default/claim1[cc24ce79-5866-11e8-b8da-4ade9defea87]]
I0515 17:38:37.299882       1 leaderelection.go:156] attempting to acquire leader lease...
I0515 17:38:37.598949       1 leaderelection.go:178] successfully acquired lease to provision for pvc default/claim1
I0515 17:38:37.599019       1 controller.go:1068] scheduleOperation[provision-default/claim1[cc24ce79-5866-11e8-b8da-4ade9defea87]]
E0515 17:38:40.986092       1 cephfs-provisioner.go:121] Cephfs Provisioner: create volume failed, err: secrets is forbidden: User "system:serviceaccount:cephfs-aus:cephfs-provisioner" cannot create secrets in the namespace "default"
E0515 17:38:40.986133       1 controller.go:796] Failed to provision volume for claim "default/claim1" with StorageClass "cephfs": failed to create secret
E0515 17:38:40.986192       1 goroutinemap.go:166] Operation for "provision-default/claim1[cc24ce79-5866-11e8-b8da-4ade9defea87]" failed. No retries permitted until 2018-05-15 17:38:41.486165754 +0000 UTC (durationBeforeRetry 500ms). Error: failed to create secret
I0515 17:38:41.907838       1 leaderelection.go:198] stopped trying to renew lease to provision for pvc default/claim1, task failed
I0515 17:38:48.863816       1 controller.go:1068] scheduleOperation[provision-default/claim1[cc24ce79-5866-11e8-b8da-4ade9defea87]]
E0515 17:38:50.988047       1 cephfs-provisioner.go:121] Cephfs Provisioner: create volume failed, err: secrets is forbidden: User "system:serviceaccount:cephfs-aus:cephfs-provisioner" cannot create secrets in the namespace "default"
E0515 17:38:50.988078       1 controller.go:796] Failed to provision volume for claim "default/claim1" with StorageClass "cephfs": failed to create secret
E0515 17:38:50.988128       1 goroutinemap.go:166] Operation for "provision-default/claim1[cc24ce79-5866-11e8-b8da-4ade9defea87]" failed. No retries permitted until 2018-05-15 17:38:51.988109838 +0000 UTC (durationBeforeRetry 1s). Error: failed to create secret

Actually, the cephfs provisioner at master branch don't need these permissions anymore. The latest image at quay.io/external_storage is too old (https://github.com/kubernetes-incubator/external-storage/issues/766).

closing, will update the image.

Hi all, I am still seeing this issue with the latest image from quay.io as of today. Are you sure this has been fixed?


feat: plucker support for nested properties

Codecov Report
Attention: Patch coverage is 66.66667% with 6 lines in your changes missing coverage. Please review.

Project coverage is 87.94%. Comparing base (ac4b072) to head (73b6594).

Files
Patch %
Lines

Streamistry.Core/Pipes/Mappers/Plucker.cs
66.66%
2 Missing and 4 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   87.90%   87.94%   +0.03%
==========================================
  Files          21       21
  Lines         215      224       +9
  Branches       49       53       +4
==========================================
+ Hits          189      197       +8
  Misses          9        9
- Partials       17       18       +1

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


CSR

Summary by CodeRabbit

New Features

Enhanced image format support now includes "png" alongside existing formats.
Rollbar functionality can now be conditionally enabled or disabled based on the environment.

Improvements

Removed unnecessary components in logo and theme toggle sections, simplifying structure and improving maintainability.
Middleware now executes unconditionally, providing consistent verification logic across server and client.

Bug Fixes

Adjusted rendering of the ModulesFaq component to function without client-side restrictions.

Chores

Streamlined environment variable management by removing the server access token and simplifying configuration files.

@coderabbitai  this PR switches from SSR to CSR.
Did I forget any other changes or refactoring that are relevant for client-side rendering or do not apply anymore?


upgrades for k8s 1.13

Why
Plans to upgrade the cluster, see https://github.com/ministryofjustice/cloud-platform/issues/1192

@razvan-moj I'm concerned about merging this into master. Even if you only push a specific tag, rather than latest, the changes will be in the master branch, so the next time someone (or a build pipeline) pushes the image, it will upgrade it for everyone.
If this is specific to a task, how about building from the branch and pushing with a different tag without merging into master?


bug(mat chips): mat-chips with mat-autocomplete and input combined, adds an extra chip when selecting from list

Reproduction
stackblitz demo:
https://components-issue-eyb6jo.stackblitz.io
Steps to reproduce:

create mat chips as shown in the example section in the docs
use the autocomplete example
add the Input example neccessary parts - [matChipInputAddOnBlur]="addOnBlur" in template and addBlur= true in TS
start typing one of the items in the autocomplete, i.e: Apple - start typing Ap, then click Apple

Expected Behavior
What behavior were you expecting to see?
only the item Apple is added to the chips list and the input is cleared
Actual Behavior
What behavior did you actually see?
both "Ap" that is the input value at the moment and "Apple" that is the clicked item are added to the chips list
Environment

Angular: 8.2.3
CDK/Material: cdk - 7.3.7 material - 7.0.1
Browser(s): tested on Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Same issue here, I'm on
Material/CDK: 9.2.0
Angular 9.1.0

I upgraded to @angular/material 10.0.1 and I still have the the same issue.
Also happening with matChipInputAddOnBlur set to false.
Happens if click or if you press enter with the option selected.

Found a workaround that involves storing the autocomplete active option state.
(optionActivated)="activated($event)"
activated(event: MatAutocompleteActivatedEvent) {     this.active = event.option?.value;   }
Then validate if there is an active option before adding the chip.

@mariojsnunes thanks man i'll check it out adn see if it works for me, do you check for an active blur event option or click event option?

@elazarza I didn't need any blur event logic.
The (optionActivated) event also triggers when it is deselected (option is null)

Duplicate of https://github.com/angular/components/issues/13574

Duplicate of #13574

seems to be it.
working solution from there by "zzzaaa":
https://github.com/angular/components/issues/19279#issuecomment-627263513

Closing as a duplicate of https://github.com/angular/components/issues/13574.


Signup Backend Logic using Next.JS

Added Eslint support for JS files. My eslint is correcting JS files when I was rewriting tests.
Uses MatterMost V4 API to create user.

Closing. This is moving to a different PR


Fix page objects offset with Chrome 73

This seems to fix the issue #139 regarding the offset. We noticed this when Shinydashboard with collapsible entries is used with Chrome 73. This triggers a displacement of the objects.
Changing the css from padding-top to margin-top seems to fix this.

Hi, thank you for your contribution. Did you test whether this is still an issue in more recent releases of ShinyProxy? The method of setting up the iframe height has changed a few released ago and I think it should fix this as well.


Deploy functions with unified app deployments when beta is enabled

WHY are these changes introduced?
Functions are being updated to be deployed through unified app deployments. This PR makes that possible as long as the beta flag is set.
WHAT is this pull request doing?
When the beta is enabled, we deploy functions through the CreateDeployment mutation. Otherwise, deploy functions in the old way.
How to test your changes?
You'll need my js.deploy-functions-on-ef Partners branch and js.add-module-id-to-upload-details Script Service branch.
Two notes:

There is currently no way to migrate a function outside of unified app deployments to a function on unified app deployments, but that change will come later. This means if you want to switch between the two, you'll have to remove your .env file.
Functions deployed through unified app deployments wont actually run on the server yet. We still have to hook that up, but that will not change this work.

Testing:

enable the unified app deployments beta on your Partners app
create a function (if you haven't already)
deploy, make sure it succeeds

Checklist

[X] I've considered possible cross-platform impacts (Mac, Linux, Windows) - No impact.
[X] I've considered possible documentation changes - None needed yet.
[ ] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart - Not yet, but I can

I was able to deploy successfully, but I cannot see the function in the deployment in the dashboard. I assume there is some work required there? Not that it would prevent us from merging this PR, I just want to double check.


cmake tools' variants vs cmake's cmakepresets

What is the difference between this extensions' variants versus cmake's own cmakepresets? The variants page does not seem to address this.

Variants is a concept that pre-dates CMake presets.  The biggest difference is that the extension uses variants to generate a cartesian product of the options for you to be able to select any of the combinations of settings for your configuration.
CMake presets currently requires you to author the combinations you care about, though Kitware is considering ways to make this better.

Thanks, that helps!


Does blazor hybrid work on iOS?

Hi All
I created a project by using "dotnet new blazorhybrid -o trial" and tried to run it on iOS without success. The phone showed a blank page. The android version just works. I am wondering whether it supports iOS or not. Thanks
Regards
ygl

Hi, iOS is supposed to work, but maybe a new issue has come up. Did you try running in the iOS Simulator or on a physical iOS device?

Hi
I am running this dem on iPhone X (iOS version: 15)

Are you able to try on the iOS Simulator? I've occasionally seen issues where it works on Simulator but not on a physical device. That could help narrow down what the problem is.

Are you able to try on the iOS Simulator? I've occasionally seen issues where it works on Simulator but not on a physical device. That could help narrow down what the problem is.

It's not working on simulator too.
When I inspected the simulator on the browser, I found the app div is empty

@Eilon , Our project was working fine on iOS and Android until we upgraded our iOS SDK from 14.5 to 15.  (Which is required by Apple by April 25).  That caused a bunch of build errors and after we got all those resolved, we now have the blank page problem similar to what a few other people have mentioned.


drivers/gpio: stm32: Return errors on not supported config

Following configuration options are not supported by STM32
gpio driver:
-GPIO_INT_LEVEL
-GPIO_POL_INV
Return an error when one of these is requested.
Fixes #12766
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13268   +/-   ##
=======================================
  Coverage   48.75%   48.75%
=======================================
  Files         319      319
  Lines       46871    46871
  Branches    10835    10835
=======================================
  Hits        22850    22850
  Misses      19394    19394
  Partials     4627     4627

Continue to review full report at Codecov.

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

I'm sorta thinking GPIO_POL_INV should also be -ENOTSUP

Moving GPIO_POL_INV to -ENOTSUP.


Follower tracking

We should be able to have follower tracking because I notice that with my enchantress out, my sheet damage goes up by about 300K or so.

You can already add follower buffs at the bottom of the skills section.


Fix serverless naming

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


two methods of half-up

this pull request is more of a question
there are two implementations of half-up (#216),

a stand alone function in fermion_operator.py;  half_up_order

modified get_molecular_hamiltonian function of MolecularData, which kinda spread from there -> InteractionRDM expectation needs to know the ordering of the InteractionOperator, that required the InteractionOperator to know its order. For now I only made expectation function raise NotImplementedError if InteractionOperator has half_up order, just because I am not sure which method we are gonna choose.

I am aware that 1) will cause the same problem with InteractionRDM but half_up_order function reordering feels less internal thus maybe its ok to not handle that.
Question is, which one do we want, do we want to implement this in another way?

With method (2), do InteractionOperator and InteractionRDM really need to "know its order"? I think we can just assume that the user will only evaluate expectation values for operators that use the same ordering; otherwise it's her own fault. Therefore I think method (2) should only require modifications to MolecularData.

@kevinsung no they don't need to know 2) can have the same attitude towards user errors. With that assumption, would you rather 1 or 2?

Agree with @kevinsung .

I think 2 is more user-friendly so I say we go with that.

I'll add that I don't think half_up is a descriptive enough name. I suggest that we actually call the argument spin_indexing and set it to 0 or 1, and clearly document that, for instance, 0 indicates the even-odd scheme and that 1 indicates the up-then-down scheme.

Actually, instead of spin-indexing be 0 or 1, perhaps let's make it be a string, either 'even-odd' or 'up-then-down'.

what do you think of indexing = "orbital" or "spin"

If we're going to go with a string I like Kevin's suggestion because it leaves no ambiguity as to what it does.

ignore my last push - I failed at properly merging with my master.

Let me know when you're ready for review.

ready!
On Feb 25, 2018 19:57, "Ryan Babbush"<EMAIL_ADDRESS>wrote:

Let me know when you're ready for review.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/quantumlib/OpenFermion/pull/218#issuecomment-368383489,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV-mvHPMPdDrbXEm5rdjn3vVwCVDZMycks5tYiulgaJpZM4SSbUL
.


introduced fixes suggested by Stryker to improve tests

Codecov Report

Merging #58 (2f56ea7) into main (9c769f2) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          447       451    +4
  Branches        29        30    +1
=========================================
+ Hits           447       451    +4

Impacted Files
Coverage Δ

src/LogicEngine/RulesCatalogCompiler.cs
100.00% <100.00%> (ø)

src/LogicEngine/RulesManager.cs
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


params are silently overwritten - add warning message

The firmware currently silently rewrites the parameters in EEPROM if Params::read() returns false, based on the following logic:
bool Params::read(void)
{
  if (!RF_.board_.memory_read(&params, sizeof(params_t)))
    return false;

  if (params.version != GIT_VERSION_HASH)
    return false;

  if (params.size != sizeof(params_t) || params.magic_be != 0xBE || params.magic_ef != 0xEF)
    return false;

  if (compute_checksum() != params.chk)
    return false;

  return true;
}

The current philosophy is that we don't want to fly with corrupted params. Also, we don't want to fly with stale params from previous versions.
I agree with this, but I think the fact that parameters are overwritten silently is a problem.
Can we add a ROSFLIGHT_WARNING_* mavlink/enum? These do not require an action like errors do.
This came out of parameters being overwritten in SIL with no explanation.

ah, yeah, that's a good point.  I'm totally on board with throwing an error message.
While that will solve the SIL problem, making that error message show up in hardware is a bit tricker.  We currently don't have a mechanism for a sort of 'latched' error message.  Because the parameters get loaded up right away, any error message that gets sent will likely be missed by rosflight_io in hardware unless it were rebooted in software.
Anyway, I have no problems throwing an error message here, that makes a ton of sense.  It just brings up the idea of persistent information messages from bootup that we are not handling very well.


Dropdowns module causing horizontal scrolling

Dropdowns currently cause issues with horizontal scrolling. This happens specifically when a dropdown (even when hidden) go beyond the document window.
Possible solutions

Could be fixed by using display:none when dropdowns are in hidden state
Remove animation styles from dropdowns. Animations should be added separately from a single component.

Just used an interesting solution for this when disabling dropdown animation. If we set animations to none or null, we should just use the display: none and display: block styles instead of visibility and opacity.
e.g:
@if (map-get($o, 'transition') == none || map-get($o, 'transition') == null) {
      display: none;
    } @else {
      opacity: 0;
      visibility: hidden;
      @include transition(map-get($o, 'transition'));
      @include transition-duration(map-get($o, 'transition-out-duration'));
      @include transition-timing-function(map-get($o, 'transition-out-timing-function'));
      @include transition-delay(map-get($o, 'transition-out-delay'));
    }


comictagger not starting

Just in the last few days, comictagger has stopped working, both CLI and GUI.
$ comictagger --version
ComicTagger 1.6.0a21.dev23:  Copyright (c) 2012-2022 ComicTagger Team
Distributed under Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)

$ comictagger
Traceback (most recent call last):
  File "/home/wayne/.local/bin/comictagger", line 8, in <module>
    sys.exit(main())
  File "/home/wayne/.local/lib/python3.10/site-packages/comictaggerlib/main.py", line 326, in main
    App().run()
  File "/home/wayne/.local/lib/python3.10/site-packages/comictaggerlib/main.py", line 123, in run
    self.main()
  File "/home/wayne/.local/lib/python3.10/site-packages/comictaggerlib/main.py", line 273, in main
    for pkg in sorted(importlib_metadata.distributions(), key=lambda x: x.name):
TypeError: '<' not supported between instances of 'NoneType' and 'str'

Same error whether I put in an argument or just the simple command. GUI never starts.
I know nothing about python other than installing packages, so tracking down why it is doing this is way beyond me.
Did reinstall, but no joy.  Any guidance appreciated and please let me know if there is any other information needed to dig into this.
Thank you!

You pip installed a package that doesn't have a name I recommend using pipx so other packages don't interfere

Thank you!! I did not know about pipx. I had previously tried virtual environments, but the instructions I found were not as easy to use or understand as that seems to be.
Really appreciate the advice and your continued support for comictagger!


Python multi namespace

For https://github.com/Azure/autorest.python/issues/2795.
Compared to the previous logic that only supported a single namespace, this PR introduces support for multiple namespaces. This primarily requires updates in two key areas:

Serialization approach: We need to account for all namespaces and serialize them individually.
Relative imports: The Python SDK utilizes relative imports internally, and we can no longer make assumptions about the location of models/operations. To determine the correct relative import, we need to know the serialized namespace within the imports function.

Considering these two main changes, here's a detailed summary of the updates in this PR:

Added the emitter flag enable-typespec-namespace, which lets users decide if they want to support native typespec namespace.
Introduced clientNamespace for models/operations/enums/namedUnions/clients: the emitter uses clientNamespace to determine the exact location where the target type should be.
Created get_relative_import_path for CodeModel: all relative import paths should be calculated using this function.
Added a new property client_namespace_types to CodeModel: it counts and stores all namespace types and information about clients/operation_groups/enums/models in each namespace.
Serialization: With the new client_namespace_types property in CodeModel, we can cycle through each namespace and serialize its clients/models/enums/operations using the same logic.
Imports: The old import logic used the relative_path and operation kwargs, which were not set from the top caller but from various functions during the calling process. The signatures were difficult to understand and maintain. I replaces them with the new serialize_namespace and serialize_namespace_type kwargs. Now, any function that needs to calculate relative imports can use these two parameters, which are set from the top caller, making them easier to understand and maintain.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Verbosity control and fix call to None binary

Adds a new flag --verbose to enable printing non-error messages to the console. Otherwise, only error messages are printed.
In change_icon(), a check is performed to see if the SWITCHSOUND_BINARY is set before trying to call it. If it does not exist, a default icon of audio-headset

Thanks for the patch!


Introduce structured logging

Use StructLog
In the end, having fancy terminal output is not that useful for a permanently running service

Can we provide logger instances to plugin functions that automatically include the user as contextual information when the plugin function is triggered by a message?


what is your client!

Nice work, but what client u use? is private?

you can share your client? my skype is madksito

?

no


DRILL-6463 : Fix integer overflow in MockGroupScanPOP

@vrozov @Ben-Zvi please review the PR. Thanks!

@Ben-Zvi the Calcite interface RelOptCost uses doubles for rows, io, cpu. This translates to DrillCostBase ending up using doubles. ScanStats feeds into DrillCostBase, hence the rationale of using doubles. One reason for using doubles is rowcounts are often estimated and end up as not being integers. I guess doubles were used to keep the cost model as accurate as possible.

LGTM


Optimize make_unique to avoid extra work

Many cloning are not needed in this method,
and also you do not need to search btree twice - once to check and again to insert into it.

Thanks!


"Tușnad", "Tușnadu Nou" and "Vrabia" are listed in the drop-down menu

Description:
"Tușnad", "Tușnadu Nou" and "Vrabia" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Tușnad" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Tușnad, HARGHITA (Tușnad)" and "Comuna Tușnad, HARGHITA".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Tușnadu Nou" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Tușnadu Nou, HARGHITA (Tușnad)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Vrabia" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Vrabia, HARGHITA (Tușnad)".


Changing of the Unit_of_measurement does not work...

Describe the bug
with the recent HA versions, it is now possible to convert the unit of measurement of certain entities from type Energy / Power.
This Article describes some of the required changes for supporting this option:
https://developers.home-assistant.io/blog/2022/12/07/unit_system_changes/
Unfortunately, skodaconnect is appart of another one integration, where the option to convert the unit (charging power) is available in the entity settings, but after applying the change the unit of measurement remains the same.
I wanted to change the Charging_Rate from W to kW ... unfortunately, the Unit remains W.
on other integrations this feature was working as expected - therefore, I don't think that this is an issue with HA itself.
Is this working in MySkoda app?*
no function of the Skoda App
Latest working release
none, since the change of unit of measurement (energy) was just added in January (or Februrary) and for Power with the March release.
Debug logs
Installation:

Hass OS

Additional context
https://developers.home-assistant.io/blog/2022/12/07/unit_system_changes/

seems to work nicely :)
Thanks!

seems to work nicely :) Thanks!
I thought, it might be related to the "unit of measurement vs. native_unit_of_measurement" ... but was pretty unsure, if it could directly changed... esle, I would have made a PR for this. Thanks!

Great!

Hi,
I need to reopen the ticket :)
The unit change itself does work, but the sensor value will not be changed... :-(

it shows "5000 kW" instead of 5 kW
the value remains the same while changing between W and kW
Not sure, why this happens, but it seems a bit strange to me, because I thought, HA should handle how the value will be displayed...


Clarification on Dataset-Specific Prompt Utilization

Hi authors,
I've been exploring the TimeLLM model and have some questions regarding its implementation of prompts for various datasets.
I observed in the repository that there is a collection of data-specific text descriptions within dataset/prompt_bank. However, it seems the TimeLLM model doesn't leverage these descriptions automatically. For instance, the implementation appears to consistently utilize the prompt for the ETT dataset by default, as seen in the model's code here.
Additionally, while the dataset-specific prompt is passed as the content argument in the main function (example here), it does not appear to be used in the subsequent training or testing process.
Could you please provide guidance on whether the prompts in models/TimeLLM require manual updates for each dataset, or if there is an intended mechanism based on the content argument that should automatically handle this?
Thank you for your assistance.

Hi, we have updated the code to refine this section. You can use the latest model code.

Hi authors,
I've been exploring the TimeLLM model and have some questions regarding its implementation of prompts for various datasets.
I observed in the repository that there is a collection of data-specific text descriptions within dataset/prompt_bank. However, it seems the TimeLLM model doesn't leverage these descriptions automatically. For instance, the implementation appears to consistently utilize the prompt for the ETT dataset by default, as seen in the model's code here.
Additionally, while the dataset-specific prompt is passed as the content argument in the main function (example here), it does not appear to be used in the subsequent training or testing process.
Could you please provide guidance on whether the prompts in models/TimeLLM require manual updates for each dataset, or if there is an intended mechanism based on the content argument that should automatically handle this?
Thank you for your assistance.

Hi, we have updated the code to enhance this part. You can use the latest model code. If you want to use a specific prompt for each dataset, you need to enable the prompt_domain setting in the configuration.


Refine webui when compare trials

Environment:

NNI version: <=1.9

What issue meet, what's expected?:

Can not zoom in when compare many trials.
It's better to show Trial No. additionly for locate the trial in the following table.

Thanks for your feedback! We'll improve this.

Closed as it had been Improved, feel feel to reopen it. Thanks again!


Fabo/1887 track by default

Closes #1887
This anonymizes data and enables tracking by default
Description:

Thank you! 🚀

For contributor:

[ ] Added entries in CHANGELOG.md with issue # and GitHub username
[ ] Reviewed Files changed in the github PR explorer
[ ] Attach screenshots of the UI components on the PR description (if applicable)
[ ] Scope of work approved for big PRs

For reviewer:

[ ] Manually tested the changes on the UI

what do you mean enables tracking by default?

This will track any user that enters the page by default. But will anonymize the data.
Based on: https://www.blastam.com/blog/gdpr-need-consent-for-google-analytics-tracking
And the suggestions by users. Needs to be also checked by legal.


[Feature Request]: UI IMPROVEMENT IN ABOUT PAGE

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
as there are so many markets which are good at their work , but sometimes some of that website unable to maintain good designing of their websites which causes loosing users , as i observed your ABOUT page is preety simple of course that is  not that much bad but i think i able to give it some good designing . which helps to make interactive your website.
i will provide:-

hover effects
add transitions for smooth experience
add relevant pictures
add some keyframes
change the designing of headers

Use Case
a good designed website always able to mark its presence in market . and it also helps users to feel  that your website is  authentic .
Benefits
IT HELPS TO :-

make interactive UI
make good standard of your website
looks more efficient

Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

@isimarjitsingh, please go ahead try to add transitions and animations matches to back ground theme


Start with the SO

Is there any way to start the App along with the OS? (I'm currently starting through terminal)

On linux? You should have a "Startup applications" utility that you can point to /usr/bin/cerebro.
NOTE: I am not sure if that is the right path :)

On Linux this is easy to achieve, but how can it be done in OS X?

@CrashyBang No files are generated in the / usr / bin folder :(
i'm using ubuntu 16.04
@luisdavim can you say how can i do it?

I found the solution.
I first copied the .AppImage file to the / usr / bin folder and then added it to gnome-session-properties

@rafa-acioly that depends on what DE you are using, for example on i3 you add
exec --no-startup-id <command-that-you-normally-use>

On Gnome and Unity you can create a .desktop file under ~/.config/autostart/ that looks something like this:
[Desktop Entry]
Type=Application
Name=<Name of application as displayed>
Exec=<command to execute>
Icon=<full path to icon>
Comment=<optional comments>
X-GNOME-Autostart-enabled=true

I hope this helps.

I've also found the solution for OS X, go to:

System Preferences>Users & Groups.

Select your User ID.

Select Login Items.

Click the lock icon and enter and admin password.

Click the + button to select an app from your Applications folder.

Or drag app icons across to Startup Items.


eas submit CombinedError: [GraphQL] Unexpected server error (Expo error ID: undefined).

Build/Submit details page URL
https://expo.dev/accounts/patricklock/projects/helios-app-expo
Summary
When I run the following to submit to ios
eas submit -p ios
I get the following output after successful Scheduled iOS submission
CombinedError: [GraphQL] Unexpected server error (Expo error ID: undefined).
I have been able to submit previously with the same credentials. I can still build fine. Build and submit to android works fine too.
I am on the latest eas-cli
eas-cli/0.53.1 darwin-x64 node-v15.14.0
Managed or bare?
managed
Environment
expo-env-info 1.0.3 environment info:
System:
OS: macOS 12.0.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 7.7.6 - ~/.nvm/versions/node/v15.14.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.5.2 - /Users/patricklock/.rvm/rubies/ruby-2.4.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7784292
Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ~9.1.0 => 9.1.0
expo: ^45.0.0 => 45.0.5
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-web: 0.17.7 => 0.17.7
npmGlobalPackages:
eas-cli: 0.53.1
expo-cli: 5.4.9
Expo Workflow: bare
✔ Found all copies of expo-modules-autolinking
All copies of expo-modules-autolinking satisfy ~0.8.1
✔ Found all copies of @expo/config-plugins
All copies of @expo/config-plugins satisfy ^4.1.0
✔ Found all copies of @expo/prebuild-config
All copies of @expo/prebuild-config satisfy ^4.0.0
🎉 Didn't find any issues with the project!
Error output
No further error reporting with EXPO_DEBUG=true
just this
CombinedError: [GraphQL] Unexpected server error (Expo error ID: undefined).
Reproducible demo or steps to reproduce from a blank project
Not possible

It did start happening in the last 2 hours, and yes I did get it working with
eas build --platform ios --auto-submit
However I didn't see anything in the eas submit status here - https://status.expo.dev
And the error message was unclear
What was the problem please? and how do I know what to do if it happens again?

What was the problem please?

just a bug in a code, we rolled it back as soon as we realized that there is an issue, we will update the status page retroactively

and how do I know what to do if it happens again?

the status page is the best place to check for that

Thanks

I have the same error:
$ node ./node_modules/eas-cli/bin/run update --platform=ios --branch=preprod --group=preprod
✔ Linked to project @team/project
    CombinedError: [GraphQL] Unexpected server error (Expo error ID: undefined).

This is with update command but the error is the same as in this issue.

Removing the  --group=preprod option fixed the issue. No more strange GraphQL error.

Same here.
I get this with every command that involves iOS :
✔ Created provisioning profile Failed to set up credentials.     CombinedError: [GraphQL] Unexpected server error (Expo error ID: undefined). The terminal process "/bin/zsh '-c', 'npm run build:local:ios'" terminated with exit code: 1.
Any idea?
Thanks

Same issue with eas build

I removed everything from my account, created a new one and now it is working...


When running the game for the first time, there is an initialization bug.

sensitivity game value type is string. but default value in setting.cfg is int.
in settings.cfg line4. maybe 'sensitivity_game=Counter Strike 2'?

can you open pull requests? maybe I can help your improve your project😀

Closed in 209058b thanks!


AbstractAccumuloTwoSetSeededOperation seedsB serialises using a wrapper object

This is different to the way normal seeds are serialised. It requires seeds to be in the form:
"seedsB": [
    {
        "uk.gov.gchq.gaffer.operation.data.EntitySeed": {
            "vertex": "vertex1"
        }
    }
]

Whereas it should be like:
"seedsB": [
    {
        "class":  "uk.gov.gchq.gaffer.operation.data.EntitySeed",
         "vertex": "vertex1"
    }
]

Merged into develop.


Issue with numbers

Hi
Thanks  a lot for your great job.
I have some issues regarding number, most of numbers in the text is converted to date !
for example
text2="The meeting will be held at paris Allé 6, 0208 paris. Election 30 of a chairperson in france. page 18 of 20"
then we did get
[datetime.datetime(2008, 2, 6, 0, 0, tzinfo=), datetime.datetime(1930, 1, 1, 0, 0, tzinfo=), datetime.datetime(2018, 1, 1, 0, 0, tzinfo=), datetime.datetime(1920, 1, 1, 0, 0, tzinfo=)]
As you see all numbers her should not be extracted as date.
Is there any sulotion ?
Thanks

Hi, @maweed .  Thank you for posting this issue!  :-)  I'm definitely open to your thoughts if you have any ideas!
There's a few things you could do to increase the confidence of your results, but unfortunately they are a bit hackish.
Check if Full Year Matches
from date_extractor import extract_dates
text="The meeting will be held at paris Allé 6, 0208 paris. Election 30 of a chairperson in france."
dates = extract_dates(text)

# filter out if full 4-letter year doesn't match
dates = [date for date in dates if str(date.year) in text]

Check Precision
from date_extractor import extract_dates
text="The meeting will be held at paris Allé 6, 0208 paris. Election 30 of a chairperson in france."
dates = extract_dates(text, return_precision=True)

# filter out if only matched year and not month and day
dates = [date for date, precision in dates if precision != 'year']

Check If White Space Between Year, Month and Day
I'll have to write some code inside the date-extractor in order to add this option, but this will filter out examples where the date is found in a string without white-space like 0208.
Have a different set of rules for text versus filenames
I can write code that only accepts no space between the month and year if it is short text like a filename.
Thoughts? What would work for you?
Also, open to pull requests if you want to make a contribution! :-)

@maweed, those are great suggestions.  I'm definitely open to any improvements that can be made and pull requests!
Part of the history is that back when I initially created this library a few years ago, regex based parsing was substantially faster than the alternatives.  There also wasn't a lot of training data in some of the languages this library supports.  That said, times change and maybe it's time for an upgrade :-)


Add GraphQL GET support for subgraph endpoints

Do you want to request a feature or report a bug?
I understanding it as bug, since GET requests should be supported by GraphQL compatible services.
https://graphql.org/learn/serving-over-http/#http-methods-headers-and-body
What is the current behavior?
Currently when accessing a subgraph URL using a GET request one gets redirected to /graphql (which is expected), however the /graphql handler does not work as expected.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Here is an example:
curl \
  --data '{"query":"query{signals(where:{id:\"0xb855e1847f49326ea13daeb454707faf4577604828827a780a81620000c4c2cf\"}){timestamp}}"}' \
  'https://api.thegraph.com/subgraphs/id/QmXe1SyxVqha6ipb8d3hht4WZaVzy43MUVXLoqXvYrb9dX'

Returns:
{"data":{"signals":[{"timestamp":"1632414153"}]}}

The same is expected to but is not returned by:
curl \
  'https://api.thegraph.com/subgraphs/id/QmXe1SyxVqha6ipb8d3hht4WZaVzy43MUVXLoqXvYrb9dX/graphql?query=query%7Bsignals(where:%7Bid:%220xb855e1847f49326ea13daeb454707faf4577604828827a780a81620000c4c2cf%22%7D)%7Btimestamp%7D%7D'

Here is a sample GraphQL URL that supports both modes:
POST
curl \
  -H "Content-Type: application/json" \
  --data '{"query":"{movies{name,genre}}"}' \
  'https://n7b67.sse.codesandbox.io/graphql'

GET
curl \
  'https://n7b67.sse.codesandbox.io/graphql?query=%7Bmovies%7Bname,genre%7D%7D'

What is the expected behavior?
GET requests should return the same results as POST requests. The difference is that the payload is passed in the URL's query string of the GET request, instead of the POST body.

I like this. That would be the first step of using The Graph as the endpoint for ERC721s tokenURI.

Ahh looks like @schmidsi and I are on the same page here. Would love to to be generating dynamic SVG tokenURIs on the fly with a subgraph endpoint someday. Watching this thread 👀

Regarding GET requests, it is worth considering that tools like https://github.com/dolevf/graphql-cop consider GET calls as a vulnerability, due to CSRF (https://github.com/dolevf/graphql-cop/blob/20bf34fa249feefdd48c7176bb663f52e9a7466d/lib/tests/info_get_method_support.py#L7-L14).
Also worth mentioning that if at some point we'll implement SSE as a transport for GraphQL Subscriptions, we can use the GET calls as the base for EventSource protocol

Interesting - I think CSRF for read operations on a subgraph is low risk, what do you think @dotansimha ?

Interesting - I think CSRF for read operations on a subgraph is low risk, what do you think @dotansimha ?

Yeah, agree on that, especially because it's read-only, and variables are always specific to the Subgraph (so no secrets or anything passed there).


Nav: wrap strings

These are added dynamically so the test didn't catch these.

@eFiniLan @crwusiz can you guys check out traditional Chinese and Korean to make sure these look right?

can you guys check out Chinese and Korean to make sure these look right?

eta is 에타 -> 도착예정시간
That's right, but I think it's right to mark "도착" because the width of the letter seems to go over

Does it make sense in Korean at all?

Most navigation systems also indicate the expected arrival time. It doesn't say "에타"

Does it make sense in Korean at all?

Oh my bad, my English only brain thought what you wrote and what I had was the same 😂 feel free to fix that

Oh my bad, my English only brain thought what you wrote and what I had was the same 😂 feel free to fix that

kor translations fix #25105

i use ubuntu 22
lrelease version 5.15.2
.ts -> .qm
why unit test fail.....?


Refactor common.TestCase

Refactor common.TestCase:

Add context specific assertions for non-observed holidays.
Migrate existing tests.

Coverage: 100.0%. Remained the same when pulling 1c0e20c01b1d6de34748ecdfef40f369c8353e3b on arkid15r:955-add-non-observed-holidays-test-support into b3254f01dfc7b58f50cad09f75464bbee1a9240d on dr-prodigy:beta.


Questionable travel time calculation

The route calculated with the same program seen in #267 seems to have the correct distance, but the reported travel time of 254 minutes feels unusually high.
Here are what some other providers calculate for the same route:

Provider
Reported travel time

Project OSRM
175 minutes

Google
168 minutes or so

Bing
206 minutes with traffic

Is there something we can learn from Project OSRM's own car profile?

Another sample route that seems way too high (times are low because I'm using a custom IArrayFactory that creates NativeMemoryMappedArray<T> instances backed by files in a temp folder that I manually clear out, so that I don't have to micromanage my page file as much):
    // replace these in Program.cs:
    const float SrcLat = 42.329434f;
    const float SrcLon = -83.038549f;

    const float DstLat = 33.806898f;
    const float DstLon = -118.146133f;

Loading router DB from disk... done after 13.176 seconds.

Starting calculation for car (not contracted)... done after 401.520 seconds.
    GeoJSON: << REDACTED, see attachment >>
    Total distance: 2,480.597 miles
    Total time:     2,735.515 minutes

Same kind of table as above:

Provider
Reported travel time

Project OSRM
2,100 minutes

Google
1,980 minutes

Bing
2,431 minutes with traffic

Route GeoJSON: route.txt


Unofficial API

Please stop using an unofficial API.

Hi there - I'm not sure I understand this. Did you mean to elaborate more? Just FYI the chromium-browser based option, which is in fact the recommended setup by this extension, doesn't use an unofficial API wrapper. It does use your browser to make the requests.

Hello - it looks like you never used my extension to verify how it works, neither did you elaborate more on what you meant. My extension at the current state doesn't need unofficial api. Nevertheless, using unofficial API isn't bad, it's a publicly accessible endpoint. My extension never stores any PII nor does it interfere with what you're asking ChatGPT. It's all between you and OpenAI, and you can choose to use the official website instead anytime! Closing the issue.


Build failure on vsgimgui_example: undefined reference to `ImPlot::ShowDemoWindow(bool*)'

The vsgimgui example from the vsgExample project fails to build with MinGW:
[  138s] /usr/bin/i686-w64-mingw32-g++ -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -O2 -g -DNDEBUG -Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory -fstack-protector -Wl,--whole-archive CMakeFiles/vsgimgui_example.dir/objects.a -Wl,--no-whole-archive -o ../../../bin/vsgimgui_example.exe -Wl,--out-implib,../../../lib/libvsgimgui_example.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles/vsgimgui_example.dir/linklibs.rsp
[  138s] /usr/lib64/gcc/i686-w64-mingw32/12.2.0/../../../../i686-w64-mingw32/bin/ld: CMakeFiles/vsgimgui_example.dir/objects.a(vsgimgui_example.cpp.obj): in function `ZN14MyGuiComponentclEv':
[  138s] /home/abuild/rpmbuild/BUILD/vsgExamples-0.0.0+20230116+git.1f0d5ac/examples/ui/vsgimgui_example/vsgimgui_example.cpp:84: undefined reference to `ImPlot::ShowDemoWindow(bool*)'
[  138s] collect2: error: ld returned 1 exit status

The shared vsgImGui library is build from git commit https://github.com/vsg-dev/vsgImGui/commit/febfa8353de0ae1243709e29fe65dbbce8c594fb.

Have you seen the same build error occur on any other build/OS combinations?

This problem occurs on Windows (32bit and 64bit) when vsgImGui is built as a shared library, caused by a non-functioning symbol export of the corresponding symbols in vsgImGui. It will also occur with msvc when vsgImGui is built as a shared library.

Have you made any progress on this issue ?

For a solution, the question needs to be answered whether methods of class ImPlot should be exported from vsgImGui or not. If yes, then this needs to be fixed accordingly in vsgImGui, otherwise the related calls need to be removed from vsgExamples.

Looking at imgui.h and implot.h, they uses IMGUI_API and IMPLOT_API #define respectively, for imgui.h it looks to pull in the IMGU_API #define from imconfig.h, but I can't see an equivilant form implot.h.
I don't know ImPlot, my only experience with has been compiling, testing and merging the PRs.  I don't know if there is a standard scheme for dealing with the IMPLOT_API import/export specification but this is avenue I'd look at.  Would appreciate others chipping in as I'm new to ImPlot.

Looking at imgui.h and implot.h, they uses IMGUI_API and IMPLOT_API #define respectively, for imgui.h it looks to pull in the IMGU_API #define from imconfig.h, but I can't see an equivilant form implot.h.

This is differently solved. Imgui.h contains
#ifdef IMGUI_USER_CONFIG
#include IMGUI_USER_CONFIG
#endif

which is set to -DIMGUI_USER_CONFIG="<vsgImGui/Export.h> by cmake. In that file the export decorations are located.
ImPlot does not have such a thing, it simply expects IMPLOT_API to be set accordingly.
Since Implot.h contains Imgui.h, the problem can be solved by adding the following line after https://github.com/vsg-dev/vsgImGui/blob/0259096f5e0e502d466fb74a34f22653aec26966/include/vsgImGui/Export.h#L38.
#define IMPLOT_API VSGIMGUI_DECLSPEC

Thanks for spotting this very simple solution.  Can't believe I didn't spot
this :-)
On Mon, 30 Jan 2023 at 14:35, Ralf Habacker @.***>
wrote:

Looking at imgui.h and implot.h, they uses IMGUI_API and IMPLOT_API
#define respectively, for imgui.h it looks to pull in the IMGU_API #define
from imconfig.h, but I can't see an equivilant form implot.h.
This is differently solved. Imgui.h contains
#ifdef IMGUI_USER_CONFIG
#include IMGUI_USER_CONFIG
#endif
which is set to -DIMGUI_USER_CONFIG="<vsgImGui/Export.h> by cmake. In
that file the export decorations are located.
ImPlot does not have such a thing, it simply expects IMPLOT_API to be set
accordingly.
Since Implot.h contains Imgui.h, the problem can be solved by adding the
following line after
https://github.com/vsg-dev/vsgImGui/blob/0259096f5e0e502d466fb74a34f22653aec26966/include/vsgImGui/Export.h#L38
.
#define IMPLOT_API VSGIMGUI_DECLSPEC
—
Reply to this email directly, view it on GitHub
https://github.com/vsg-dev/vsgImGui/issues/40#issuecomment-1408732034,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKEGUAEJYPBULBU3PJ7F7DWU7GTRANCNFSM6AAAAAAUEIVZJY
.
You are receiving this because you commented.Message ID:
@.***>


Fix the test failure on the autopilot cluster

The autopilot cluster adjusts the cpu/memory request of one managed resource. We need to update the expected values accordingly.

/lgtm
/approve

/lgtm


Operator: do not patch the Subscription CRDs if the conversion webhooks are disabled

When running the operator with ENABLE_WEBHOOKS=false, which disables listening for the conversion webhooks, the operator should not be patching the CRDs

Do we have a test to cover this case?

We do not, and we do not have the infrastructure for creating tests for this (we do not have the ability to test different Helm options in our CI, for example)


[Dropdown] Formatting within menu

On dropdown context menu there is no dividing lines nor hover effects.
Error is reproduced here http://jsfiddle.net/lumatijev/vLsoe5LL/1/.

That larger rewrite is finally coming.

Fixed in next


Support for date values in custom schemas

Is your feature request related to a problem? Please describe.
When creating a custom user schema, we're limited to bool, double, email, int64, phone, or string as the field types. Google appears to have added support for ISO-8601 date values. If you try to use date as a field value, you get the error "ERROR: type must be one of bool, double, email, int64, phone, string; got DATE"
Describe the solution you'd like
Add date as a supported field type for custom user schemas
Describe alternatives you've considered
Values could be stored as strings. In my case the values to be stored are dates, so it would be ideal to use the native field type.

Think the relevant code might be lines 6314-6316 in /src/gam/init.py
validTypes = [
'BOOL', 'DOUBLE', 'EMAIL', 'INT64', 'PHONE', 'STRING'
]
If 'DATE' is added there, I think that would allow the value to be passed through, which should be accepted by the Directory API. That was just my rudimentary scan though, so there may be references elsewhere I completely missed.

I've already submitted a PR for this change.
Ross
On Tue, Mar 16, 2021 at 11:00 AM onekmilesbehind @.***>
wrote:

Think the relevant code might be lines 6314-6316 in /src/gam/init.py
validTypes = [
'BOOL', 'DOUBLE', 'EMAIL', 'INT64', 'PHONE', 'STRING'
]
If 'DATE' is added there, I think that would allow the value to be passed
through, which should be accepted by the Directory API. That was just my
rudimentary scan though, so there may be references elsewhere I completely
missed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1334#issuecomment-800485039, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL7GNDR5OJFBK6GPJILTD6MCRANCNFSM4ZI5EQZQ
.

--
Ross Scroggs
@.***

@taers232c Ross you crafty devil. Thank you!