Result of operator ## cannot be assigned to

Type of issue: bug report | feature request

Impact: API addition (no impact on existing code)

Development Phase: proposal
What is the current behavior?
Assume two kinds of Blackbox modules, Slave and Master. Let their interfaces be denoted by SlaveIf and MasterIf. Now, consider the case where you want to connect two Master instances to one of the Slave instances like in the following code:
class SlaveIf extends Bundle {
  val inp = Input(UInt(4.W))
  val outp = Output(UInt(4.W))
}

class MasterIf extends Bundle {
  val inp = Output(UInt(2.W))
  val outp = Input(UInt(2.W))
}

class Slave extends BlackBox {
  val io = IO(new SlaveIf)
}

class Master extends BlackBox {
  val io = IO(new MasterIf)
}

class Tlf extends Module {
  val io = IO(new Bundle {
    val fnord = Input(UInt(4.W))
  })

  val xbar = Module(new Slave)
  val mst1 = Module(new Master)
  val mst2 = Module(new Master)

  xbar.io.inp <> (mst1.io.inp ## mst2.io.inp) // works
  xbar.io.outp <> (mst1.io.outp ## mst1.io.outp) // !!!!not working!!!!
}

xbar.io.inp <> (mst1.io.inp ## mst2.io.inp) will roughly produce assign xbar_inp = {mst1_inp,mst2_inp}; in the Verilog file, but the last line will produce the following runtime exception
Exception in thread "main" chisel3.internal.ChiselException: internal error: attempted to generate LHS ref to ReadOnlyBinding OpBinding(chisel_test.Tlf@1dbb650b,None)
        at ... ()
        at chisel_test.Tlf.<init>(App.scala:38)
        at chisel_test.App$.$anonfun$main$1(App.scala:46)
        at ... ()
        at ... (Stack trace trimmed to user code only. Rerun with --full-stacktrace to see the full stack trace)

Essentially it says that the result of a ## operator is not writable.
This is overly conservative. Sure, the result of the + Operator on UInt cannot be written to, but the result of ## can be.
What is the expected behavior?
The code should produce three module instances, some wires and the following two assignments
assign xbar_inp = {mst1_inp,mst2_inp};
assign {mst1_outp, mst2_outp} = xbar_outp

Environment:

Chisel version: 3.5.2
Latest macOS

Chisel does not support sub-word assignments. There is no principled reason for not supporting it besides the fact that no one is currently working on it.
I recently tried to add support for sub-word assignments to our compiler. It turned out to be more than a 2-3 day weekend project and work has kept me from completing it. https://github.com/ekiwi/firrtl/tree/sub-word-assign

I recently tried to add support for sub-word assignments to our compiler. It turned out to be more than a 2-3 day weekend project and work has kept me from completing it. https://github.com/ekiwi/firrtl/tree/sub-word-assign

Nice! Would be glad to replace my current workaround with the expression above :)


docs(README): update component information

The component name has changed to deis/controller but the README
had not yet been updated.
closes #528

Current coverage is 83.16%

Merging #530 into master will not affect coverage as of 1bc095a

@@            master    #530   diff @@
======================================
  Files           32      32
  Stmts         1919    1919
  Branches       271     271
  Methods          0       0
======================================
  Hit           1596    1596
  Partial         60      60
  Missed         263     263

Review entire Coverage Diff as of 1bc095a

Powered by Codecov. Updated on successful CI builds.

@bacongobbler this is g2g


Histogram, Mean, and RMS power point

@rkehoe I compiled the histograms, mean, and rms for 7x7, 12x12, and 20x20 subimages in google slides. Here is the link: https://docs.google.com/presentation/d/1mCewmipTSqZL1DCg7T3xDcg6shcWhNxCOZg-8Ed8lZI/edit?usp=sharing.

@danielsela42 Thanks.  I sent my comments by email, but here’s a summary.  The ROTSE1 and ROTSE3 results look surprisingly similar, except for the spikes at zero in the latter.  In order to figure out what is going on there, you would need to identify the RA and Dec of the subimages where the zeros are happening.  Then look at some of the images to see if there are indeed no stars in that part of the image.  I assume there are no exposures that have zeros for all of their subimages, right?  You can plot the # of subimages with zeros in a histogram.  If this is happening, you will see a exposures that have the maximum number of subimages with zeros.


passthrough update and custom schema add

Are you a current Fivetran customer?

Fivetran created PR
What change(s) does this PR introduce?

This PR introduces custom schema configurations to write the models to a new schema that can be over written if desired. Additionally, this PR fixes a previous bug found within the passthrough logic.
Does this PR introduce a breaking change?

[X] Yes (please provide breaking change details below.)
The breaking change is in the form of the custom schema config addition.
[ ] No  (please provide explanation how the change is non breaking below.)

Is this PR in response to a previously created Issue

[ ] Yes, Issue [link issue number here]
[X] No

How did you test the PR changes?

[X] CircleCi
[ ] Other (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[X] BigQuery
[X] Redshift
[X] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

💰

lgtm!


Link to beacon block page using parentBeaconBlockRoot

Part of #1727. The parent beacon block root on a block page should be a link to a beacon block page. The beacon block can be accessed via hash using the same beacon API as the one that gets a slot by number, so we can either redirect a beacon block (by hash) to its corresponding slot number page once it is found or accept routing to a beacon block page by hash in addition to slot number.

not thaaaaat priority, but we should do it for the sake of completeness.


Donation website model

Have you read the Contributing Guidelines ?
Yes, I have read contributing Guidelines.
Description
Added a desktop donation website which can be used by beginners to learn code which include gateway payment integration
Fixes #303
Checklist

I've read the contribution guidelines.
I've checked the issue list before deciding what to submit.
I've edited the README.md and link to my code.

This Pull Request #362 is for issue no #303

@photon149 , I have done the required changes. Please review it.

@Daksh-jha 👍🏻
@Kushal997-das @prakhar3062 have a look.


[TF2.0] String dtype will cause Dateset from MirroredStrategy.experimental_distribute_dataset raise RuntimeError when using GPU.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS Linux release 7.4
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): pip install tf-nightly-gpu
TensorFlow version (use command below): v1.12.1-20829-ga3bf777 2.1.0-dev20191218
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: cudatoolkit=10.0.130 cudnn=7.6.4
GPU model and memory:

Describe the current behavior
When iterating a dataset which is returned by MirroredStrategy.experimental_distribute_dataset and contains tf.dtypes.string elements with GPU, a RuntimeError will be raised after the last iteration, and it says Can't copy Tensor with type string to device /job:localhost/replica:0/task:0/device:GPU:0..
When change to OneDeviceStrategy, everything is fine.
Describe the expected behavior
Iteration over the dataset should end successfully no matter which kind of distribute strategy is used and no matter what kind of dtype elements it contains.
Code to reproduce the issue
import tensorflow as tf

distribute_strategy = tf.distribute.MirroredStrategy(["/gpu:0"])
## OneDeviceStrategy is fine
#distribute_strategy = tf.distribute.OneDeviceStrategy("/gpu:0")

ds = tf.data.Dataset.from_tensor_slices([["A", "C", "F"], ["", "D", "A"], ["B", "A", ""]])
ds = ds.batch(1)
ds = distribute_strategy.experimental_distribute_dataset(ds)

for i, inputs in enumerate(ds):
    print("step[{}] inputs={}".format(i, inputs))

Other info / logs
WARNING:tensorflow:Falling back to tensorflow client, its recommended to install the cloud tpu client directly with pip install cloud-tpu-client .
2019-12-23 19:13:59.324449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2019-12-23 19:14:04.348064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:83:00.0 name: TITAN X (Pascal) computeCapability: 6.1
coreClock: 1.531GHz coreCount: 28 deviceMemorySize: 11.91GiB deviceMemoryBandwidth: 447.48GiB/s
2019-12-23 19:14:04.354811: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2019-12-23 19:14:04.357770: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2019-12-23 19:14:04.368166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2019-12-23 19:14:04.374694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2019-12-23 19:14:04.395497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2019-12-23 19:14:04.401722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2019-12-23 19:14:04.421294: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2019-12-23 19:14:09.099740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2019-12-23 19:14:09.101649: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-12-23 19:14:09.120678: I tensorflow/core/platform/profile_utils/cpu_utils.cc:101] CPU Frequency:<PHONE_NUMBER> Hz
2019-12-23 19:14:09.177180: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55733782fe30 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2019-12-23 19:14:09.177244: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2019-12-23 19:14:09.311769: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5573378979c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2019-12-23 19:14:09.311822: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): TITAN X (Pascal), Compute Capability 6.1
2019-12-23 19:14:09.313461: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1555] Found device 0 with properties:
pciBusID: 0000:83:00.0 name: TITAN X (Pascal) computeCapability: 6.1
coreClock: 1.531GHz coreCount: 28 deviceMemorySize: 11.91GiB deviceMemoryBandwidth: 447.48GiB/s
2019-12-23 19:14:09.313511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2019-12-23 19:14:09.313527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2019-12-23 19:14:09.313552: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2019-12-23 19:14:09.313565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2019-12-23 19:14:09.313579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2019-12-23 19:14:09.313592: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2019-12-23 19:14:09.313606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2019-12-23 19:14:09.316271: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1697] Adding visible gpu devices: 0
2019-12-23 19:14:09.316310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2019-12-23 19:14:09.318078: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-12-23 19:14:09.318110: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102]      0
2019-12-23 19:14:09.318141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] 0:   N
2019-12-23 19:14:09.320811: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1241] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 11448 MB memory) -> physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:83:00.0, compute capability: 6.1)
step[0] inputs=[[b'A' b'C' b'F']]
step[1] inputs=[[b'' b'D' b'A']]
step[2] inputs=[[b'B' b'A' b'']]
Traceback (most recent call last):
  File "test.py", line 46, in <module>
    for i, inputs in enumerate(ds):
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 249, in __next__
    return self.get_next()
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 281, in get_next
    global_has_value, replicas = _get_next_as_optional(self, self._strategy)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 177, in _get_next_as_optional
    iterator._iterators[i].get_next_as_list(new_name))  # pylint: disable=protected-access
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 905, in get_next_as_list
    strict=True,
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 1207, in cond
    result = false_fn()
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 904, in <lambda>
    lambda: _dummy_tensor_fn(data.value_structure),
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 818, in _dummy_tensor_fn
    return nest.map_structure(create_dummy_tensor, value_structure)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/util/nest.py", line 568, in map_structure
    structure[0], [func(*x) for x in entries],
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/util/nest.py", line 568, in <listcomp>
    structure[0], [func(*x) for x in entries],
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/distribute/input_lib.py", line 808, in create_dummy_tensor
    dummy_tensor = array_ops.zeros(tensor_shape.TensorShape(dims), feature_type)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/ops/array_ops.py", line 2716, in zeros
    output = fill(shape, constant(zero, dtype=dtype), name=name)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/framework/constant_op.py", line 258, in constant
    allow_broadcast=True)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/framework/constant_op.py", line 266, in _constant_impl
    t = convert_to_eager_tensor(value, ctx, dtype)
  File "/home/anaconda3/envs/tf21_nt/lib/python3.6/site-packages/tensorflow_core/python/framework/constant_op.py", line 96, in convert_to_eager_tensor
    return ops.EagerTensor(value, ctx.device_name, dtype)
RuntimeError: Can't copy Tensor with type string to device /job:localhost/replica:0/task:0/device:GPU:0.

Issue is replicating on colab with Tensorflow 2.1.
Please find the gist here. Thanks!

Duplicate of #30847

Closing this thread as we have tracker placed to capture this. Thanks!

Just tried the code on Tensorflow 2.1 inside a Nvdia NGC docker image 20.03-tf2-py3, which was released on 3/25/2020. Unfortunately, in both Strategy conditions, I always met the runtime error.
When tested on a local installation (TF 2.1) using pip, OneDevice passes while Mirror fails.


Custom JSON nginx log format

My Nginx log simple as this：
{"@timestamp":"2022-06-15T12:47:10+08:00","clientRealIp":"<IP_ADDRESS>","remote_addr":"<IP_ADDRESS>","remote_user":"-","time_local":"-","request":"POST /x/y/z HTTP/1.1","status":"200","body_bytes_sent":"53","http_referer":"-","http_host":"x.com","http_user_agent":"Jakarta Commons-HttpClient/3.1","http_x_forwarded_for":"-","upstream_addr":"<IP_ADDRESS>:8081","upstream_status":"200","upstream_response_time":"0.010","request_time":"0.011","server_name":"xxx","request_method":"POST","uri":"yyy","scheme":"https","server_port":"443","request_length":"755"}
How can I config the 'log_format' option？Thx

Please take a look at the man page for more details. Anyways, this should do it:
goaccess access.log --log-format='{"@timestamp":"%dT%t+%^","clientRealIp":"%h","remote_user":"%e","request":"%r","status":"%s","http_referer":"%R","http_host":"%v","http_user_agent":"%u","request_time":"%T","request_length":"%b"}' --date-format=%Y-%m-%d --time-format=%T

Closing this, feel free to reopen it if needed.


Unable to run out of box ASP.NET Web Application project

Repro Steps

File -> New Project

Under Web project templates, select 'ASP.NET Web Application'

Select 'ASP.NET 5 Starter Web' and click OK

F5 run the project (using IIS Express as the debug target)

Issue: "HTTP Error 403.14 - Forbidden"

Open a command line at the project's source folder. Execute, "k web"

Navigate to http://localhost:5000/

Issue: Internal Server Error
MissingMethodException: Method not found: 'System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.Diagnostic> Microsoft.CodeAnalysis.Emit.EmitResult.get_Diagnostics()'.

Expected Result
After both steps #4 and #6, I would expect the Home/Index page to show up since this is the default route of the out of box template.
Actual Result
For step #4, the browser starts up and a "HTTP Error 403.14 - Forbidden" message displays. I tried placing a breakpoint at the start of the code in Startup.cs, and observed it is never hit.
For step #6, the attached exception is shown in the browser.
My Version Info
Target KRE: KRE-CLR-x<IP_ADDRESS>-beta1
OS: Windows 8.1 x64
IIS Express: 8.0
project.json
Note, I did not modify it from the out of box version (or any other file for that matter).
{
/* Click to learn more about project.json  http://go.microsoft.com/fwlink/?LinkID=517074 /
"webroot": "wwwroot",
"version": "1.0.0-",
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta1",
"EntityFramework.Commands": "7.0.0-beta1",
"Microsoft.AspNet.Mvc": "6.0.0-beta1",
//"Microsoft.AspNet.Mvc.WebApiCompatShim": "6.0.0-beta1",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta1",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta1",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta1",
"Microsoft.AspNet.Security.Cookies": "1.0.0-beta1",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta1",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta1",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta1",
"Microsoft.Framework.ConfigurationModel.Json": "1.0.0-beta1",
"Microsoft.Framework.CodeGenerators.Mvc": "1.0.0-beta1",
"Microsoft.Framework.Logging": "1.0.0-beta1",
"Microsoft.Framework.Logging.Console": "1.0.0-beta1",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta1"
},
"commands": {
/* Change the port number when you are self hosting this application */
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000",
"gen": "Microsoft.Framework.CodeGeneration",
"ef":  "EntityFramework.Commands"
},
"frameworks": {
"aspnet50": { },
"aspnetcore50": { }
},
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
],
"packExclude": [
"node_modules",
"bower_components",
".kproj",
".user",
"**.vspscc"
],
"scripts": {
"postrestore": [ "npm install" ],
"prepare": [ "grunt bower:install" ]
}
}
Exception Details for Step #6
An unhandled exception occurred while processing the request.
MissingMethodException: Method not found: 'System.Collections.Immutable.ImmutableArray1<Microsoft.CodeAnalysis.Diagnostic> Microsoft.CodeAnalysis.Emit.EmitResult.get_Diagnostics()'.
 If you do a DNVM upgrade now you'll see that the beta5 builds have been retracted from the release feed, and that  dnx 1.0.0-beta4-11566 will be installed instead. This one works fine.


TypeError: Cannot read property 'AppCache' of undefined

Getting this error when instantiating the plugin without options.
/…/node_modules/offline-plugin/lib/index.js:64
    var AppCacheOptions = options.AppCache;
                                  ^

TypeError: Cannot read property 'AppCache' of undefined
    at new OfflinePlugin (/…/node_modules/offline-plugin/lib/index.js:64:35)

That was blazing fast! Thanks! :tada:


fix(typo): on README

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Dev Merge to Master

Short Description:
I know we just did this, but the pgoapi fix is pretty critical for those using Google accounts.
Any objections?

Merging this. No reason to delay.


envelope broken in firefox 107

What did you do? (steps to reproduce)
Open https://severak.github.io/cyber-music-studio/fm.html and play up and down with mouse.
What happened? (actual results)
In Firefox 107 it will crackle like a hell and in Chrome (and other Webkit based browsers)  it sounds just OK
This was not an issue before.  I used to develop this software on Firefox and while I was doing this (in 2021) it was sounding good.
Now it's crackling due some weird envelope behaviour. I can change code of my program. I can even do some special behaviour for Firefox here but I don't know how to do it.

Maybe this solves this - https://github.com/WebAudio/web-audio-api/issues/2437

But first try setTargetAtTime instead of setValueAtTime.
Also linearRampToValueAtTime is broken in Firefox as per https://developer.mozilla.org/en-US/docs/Web/API/AudioParam

I have testing tool.
It seems to be less buggy in testing tool.

maybe solution - https://github.com/tidalcycles/strudel/pull/861

also: console.log is async
a = "hello";
  console.log( a ); // prints goodbye
a = "goodbye";


Cannot place the graph because a reference or resource edge connects colocation groups with incompatible resource devices

Describe the current behavior
TensorFlow's originnal categorical_column_with_hash_bucket works fine. However, replacing it with DeepRec's categorical_column_with_embedding causes an error like this.
tensorflow.python.framework.errors_impl.InvalidArgumentError:
Cannot place the graph because a reference or resource edge connects colocation groups with incompatible resource devices: /job:ps/task:8 vs /job:ps/task:7. The edge src node is model/input_layer/userid_embedding/embedding_weights/part_1 , and the dst node is save/SaveV2

Code to reproduce the issue
Demo code:
class Model(object):

  def model_forward(self, features):
    embedding_input = []
    for feature_name in features.keys():
      filter_option = tf.CounterFilter(filter_freq=10)
      evict_opt = tf.GlobalStepEvict(steps_to_live=2000000)
      ev_opt = tf.EmbeddingVariableOption(filter_option=filter_option, evict_option=evict_opt)
      # DeepRec categorical_column_with_embedding will cause error
      hash_feature = tf.feature_column.categorical_column_with_embedding(feature_name, dtype=tf.string, partition_num=10, ev_option=ev_opt)
      # categorical_column_with_hash_bucket works fine
      # hash_feature = tf.feature_column.categorical_column_with_hash_bucket(feature_name, hash_bucket=10000, dtype=tf.string)
      emb_col = tf.feature_column.embedding_column(hash_feature, dimension=32, combiner='mean')
      feature_emb = tf.feature_column.input_layer(features[feature_name], emb_col)
      embedding_input.append(feature_emb)
    embedding_input = tf.concat(embedding_input)
    logit = mlp(embedding_input)
    return logit

  def train(self):
    self.cluster = tf.train.ClusterSpec({'chief': self.chief_hosts, 'ps': self.ps_hosts, 'worker': self.worker_hosts})
    self.cpu_device = '/job:%s/task:%s/cpu:0' % (self.job_name, self.task_index)
    self.param_server_device = tf.train.replica_device_setter(worker_device=self.cpu_device,
                                                                                cluster=self.cluster)
    if self.job_name == 'ps':
      with tf.device('/cpu:0'):
        self.server.join()
    elif self.job_name == 'worker':
      with tf.Graph().as_default():
        tf.set_random_seed(int(time.time()))
        with tf.device('/cpu:0'):
          train_iterator = some_tfrecord_dataset(...)
          train_features, train_labels = train_iterator.get_next()
        with tf.device(self.param_server_device):
          self.global_step = tf.train.get_or_create_global_step()
          pred = self.model_forward(train_features)
          train_loss = some_loss(pred, train_labels)
          opt = tf.train.AdamOptimizer(learning_rate=0.001)
          train_op = opt.minimize(train_loss, global_step=self.global_step)

        with tf.train.MonitoredTrainingSession(...) as sess:
          while True:
            try:
              sess.run(train_op)
            except tf.errors.OutOfRangeError:
              break

Hi @formath .
There is two things I want to confirm.

It seems that you are using previous DeepRec version which is older than 2302.
you have customized tf.train.replica_device_setter worker  worker device which may conflict with ev placement.

Could you plz turn on logging of the placement of variable? And set the worker_device to '/job:worker/task:%d' % task_index instead.

@Mesilenceki

DeepRec's version is in waiting.
For replica_device_setter, I used default round-robin strategy.
The log of the placement of variables is here.  From the log, I see model/input_layer/userid_embedding/embedding_weights/part_0 and its  save/SaveV2 are both placed on /job:ps/task:7 which meets expectation. However, model/input_layer/userid_embedding/embedding_weights/part_1 is placed on /job:ps/task:8 but I can't find its log of save/SaveV2placement. I guess it is beed placed on /job:ps/task:7 which violates the colocation condition so the error occurs. Embedding table partition is partition_num=10

2023-09-24 14:54:23.876226: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_0/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_0' is a reference connection and already has a device field set to /job:ps/task:7
2023-09-24 14:54:23.876278: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_1/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_1' is a reference connection and already has a device field set to /job:ps/task:8
2023-09-24 14:54:23.876287: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_2/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_2' is a reference connection and already has a device field set to /job:ps/task:9
2023-09-24 14:54:23.876295: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_3/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_3' is a reference connection and already has a device field set to /job:ps/task:0
2023-09-24 14:54:23.876302: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_4/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_4' is a reference connection and already has a device field set to /job:ps/task:1
2023-09-24 14:54:23.876311: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_5/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_5' is a reference connection and already has a device field set to /job:ps/task:2
2023-09-24 14:54:23.876320: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_6/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_6' is a reference connection and already has a device field set to /job:ps/task:3
2023-09-24 14:54:23.876328: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_7/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_7' is a reference connection and already has a device field set to /job:ps/task:4
2023-09-24 14:54:23.876336: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_8/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_8' is a reference connection and already has a device field set to /job:ps/task:5
2023-09-24 14:54:23.876345: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'model/input_layer/userid_embedding/embedding_weights/part_9/IsInitialized/KvVarIsInitializedOp' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_9' is a reference connection and already has a device field set to /job:ps/task:6

2023-09-24 14:54:23.923634: I tensorflow/core/common_runtime/colocation_graph.cc:241] Ignoring device specification /job:chief/task:0/device:CPU:0 for node 'save/SaveV2' because the input edge from 'model/input_layer/userid_embedding/embedding_weights/part_0' is a reference connection and already has a device field set to /job:ps/task:7

/job:worker/task:%d has the same error as /job:worker/task:%d/cpu:0.

I have a old version that runs successfully and it uses estimator api. So I change replica_device_setter a little according to relevant part in the estimator.
ps_ops = [
      'Variable', 'VariableV2', 'AutoReloadVariable', 'MutableHashTable',
      'MutableHashTableV2', 'MutableHashTableOfTensors',
      'MutableHashTableOfTensorsV2', 'MutableDenseHashTable',
      'MutableDenseHashTableV2', 'VarHandleOp'
    ]
self.param_server_device = tf.train.replica_device_setter(
            worker_device=self.device,
            ps_ops=ps_ops,
            cluster=self.cluster)

After that, placement error disappears but all the worker hangs at Waiting for model to be ready.  Ready_for_local_init_op:  Variables not initialized.

The reason is tf.train.Saver(sharded=False). Changing it to sharded=True fix my problem.


Set base title from default config.

Minor change to set base title from default config.

LGTM

+1

@lukekhamilton will you be able to fix the indentation in the next few hours or so?

@ilanbiala Just in case @lukekhamilton doesn't get around too it, I am going to submit a new one as soon as I'm off the train.

Great, we'll merge whichever happens first.


how do i link a info file in org mode

What are you trying to achieve?
What have you tried?
i read this https://orgmode.org/org.html#External-Links doc.
i try to use [[info:elisp]] to link the elisp info, but it failed

See SPC h v org-modules (or C-h v org-modules)
The fix: (add-to-list 'org-modules 'ol-info)


⚠ Turnos 24x7 has degraded performance

In 3436797, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1086 ms

Resolved: Turnos 24x7 performance has improved in 5f343f0.


typo in split testing endpoint

All of the endpoints listed here: https://open-api.netlify.com/#tag/splitTest
...show the same typo, in using /site/ as the first path component instead of /sites

I can confirm this is causing 404 errors when using split test endpoints on netlify/js-client

Closed by #247. Thanks, @nunomluz !


[Figma File Search] Treat hyphen in file name as space

Extension – Figma File Search
Author: @michaelwschultz
Description
Treat hyphens and other common file name separators as spaces. "abc-xyz" is not searchable against "abc xyz" currently.
The current behavior
"abc xyz" shows no results when "abc-xyz" as a file exists
The expected behavior
show "abc-xyz" as well in results
Raycast version
Version: 1.36.1

Great suggestion @sahilk!


Tabs display incorrectly

Description
When maximize, tabs don't display higher up to the top like the Edge, remain a short distance.
 This is Files App
 This is edge.
This is Terminal.
Steps To Reproduce
1.Maximize.

2.Remain a short distance from the top.

Expected behavior

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.25179.1000
Windows Version
Windows 11 23H2 rs_prerelease Build 25719.1000
Relevant Assets/Logs
debug.log

See #6937

Merging with #6397


Does it works with a docker container?

Hello,
I have a Github action that installs Playwright but to reduce the execution time I want to use a docker container. So, I added these lines
runs-on: ubuntu-latest
    container:
      image: mcr.microsoft.com/playwright:v1.38.0-jammy

Then, when I execute the command
- name: Run Linters
       run: npx nx affected --targets=lint --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} --parallel=3

I received an error with this

Is there something that I missed?
- uses: actions/checkout@v3
        with:
          fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
        uses: nrwl/nx-set-shas@v3
        with:
          main-branch-name: master
- name: Run Linters
        run: npx nx affected --targets=lint --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} --parallel=3

We are having the same problem.  I am trying to run it on a cypress container:
  build-test:
    runs-on: self-hosted
      container: cypress/included:latest

And when it runs the nrwl.nx-set-shas@v3 step we get back an empty BASE and empty HEAD
      - name: Setup NX
        uses: nrwl/nx-set-shas@v3
        with:
          main-branch-name: 'main'
          last-successful-event: 'pull-request'
          workflow-id: 'pr-build-test.yml'

This is what is returned by that step:
Run nrwl/nx-set-shas@v3
  with:
    main-branch-name: main
    last-successful-event: pull-request
    workflow-id: pr-build-test.yml
    set-environment-variables-for-job: true
    error-on-no-successful-workflow: false
    working-directory: .
Run node "$GITHUB_ACTION_PATH/dist/index.js" "$gh_token" "$main_branch_name" "$error_on_no_successful_workflow" "$last_successful_event" "$working_directory" "$working_id"
  node "$GITHUB_ACTION_PATH/dist/index.js" "$gh_token" "$main_branch_name" "$error_on_no_successful_workflow" "$last_successful_event" "$working_directory" "$working_id"
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    gh_token: ***
    main_branch_name: main
    error_on_no_successful_workflow: false
    last_successful_event: pull-request
    working_directory: .
    working_id: pr-build-test.yml

WARNING: Unable to find a successful workflow run on 'origin/main'
We are therefore defaulting to use HEAD~1 on 'origin/main'

NOTE: You can instead make this a hard error by setting 'error-on-no-successful-workflow' on the action in your workflow.
Run echo "Base SHA"
Base SHA

Head SHA

Run echo "NX_BASE=" >> $GITHUB_ENV
  echo "NX_BASE=" >> $GITHUB_ENV
  echo "NX_HEAD=" >> $GITHUB_ENV
  echo "NX_BASE and NX_HEAD environment variables have been set for the current Job"
  shell: bash --noprofile --norc -e -o pipefail {0}
NX_BASE and NX_HEAD environment variables have been set for the current Job

If I don't run this in a container it works fine.

Hello @erenken I could make it works following this https://github.com/actions/runner/issues/1474
I've just added this
steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Set Directory as Safe
        run: |
          git config --system --add safe.directory "$GITHUB_WORKSPACE"
        shell: bash

Thanks @gersanco that worked.  I would have never thought about the safe.directory

You're welcome.

Thanks @gersanco that worked. I would have never thought about the safe.directory

Neither I


Support for Umlaut URLs

Testet with version 2.1.1 on macOS 10.12.1:
Run $ ./bin/phantomjs examples/loadspeed.js "http://de.wikipedia.org/wiki/Dorfkirche_Alt-Lönnewitz" (freshly downloaded binary)

Expected result is Page title is Dorfkirche Alt-Lönnewitz – Wikipedia
Actual result is Page title is Ungültiger Titel – Wikipedia (which translates to "invalid title")

I did not find a single Umlaut URI I was able to open successfully.
First investigation showed, that the opened URL already seems to be wrong (having utf-8 replacement characters instead of actual umlauts). I used following script for testing:
var page = require('webpage').create();
var url = 'http://de.wikipedia.org/wiki/Dorfkirche_Alt-Lönnewitz';
page.open(url, {encoding: 'utf8'}, function () {
  console.log(url);
  phantom.exit();
});

Output is 'https://de.wikipedia.org/wiki/Dorfkirche_Alt-L�nnewitz` - which obviously is wrong.
Passing --output-encoding=utf8 to the executable didn't change the result.

Try encoding the URI before using it:
var page = require('webpage').create();
var url = encodeURI('http://de.wikipedia.org/wiki/Dorfkirche_Alt-Lönnewitz');

page.open(url, function () {
  var title = page.evaluate(function() {
    return document.title;
  });
  console.log('Width raw URL:', url, title);
});

should work

Thanks @HaNdTriX works like a charm!
Though I think this could become part of Phantomjs as well.


Clean up generator implementation and inline asm

Main changes:

All of the inline asm now has proper CFI annotations, which means that gdb will produce a correct backtrace even if the program is interrupted in the middle of a swap operation.
Stack linking is only done when calling into a generator, not when returning out of one.
The Context type is removed. Only the StackPointer needs to be passed to the target context when swapping.
arch::swap now returns the old stack pointer in the new context instead of writing it to memory.

Also, this makes swap twice as fast! (and, for what its worth, solves my session types problems)


Data Sources Compilation

Aadding the Data Sources xlsx for tracking

Yep good point @GloriaWYY I have added a csv, but left the xlsx for convenience


error message saying "cannot install, unknown reason"

when i try to download from the manager, everything seems to work until i press install for vendetta and it tells me it can't install. i tried using the base apks in both stable folders and while it does install it doesn't open. i tried on my other phone (xiaomi) and it's the same thing.

Solution -> turn off MIUI optimization
P.S. To install an apks you can't just install base.apk For the future

Solution -> turn off MIUI optimization
P.S. To install an apks you can't just install base.apk For the future

my main phone is oneplus and it has the same error for the manager. as for the alternative method i realize that using the base by itself wasn't going to work but i used sai for the split+base and it still didn't work. unless i'm doing that wrong as well?

Base + config armv64/armeabi + config xxhdpi + config en

thank you, alternative method worked!


Check for clippy warnings on CI

It's hard to use a clippy when there are a lot (65) of warnings in the whole workspace. I suggest we add a CI job that will fail on clippy warnings. Although I find almost all of the warnings useful we can disable the ones we don't want.

All of the outstanding clippy warnings should be addressed now that #68 is merged. We just need to add a step to our build that checks for clippy warnings/errors and bails. I'd prefer to do that as a separate job though so it doesn't cause the main test job to fail early and can be handled as a separate step.


Allow for "Select All on Current Page" to work with Lenses that use aggregates

As per issue #90 - when using an export query that is not forAllMatchingResources, the default behaviour was to use the Laravel withKey which selects the primary key (usually id) of the Resource in question, disregarded the key of the Lens for that resource (which may be an aggregate lens using COUNT() and GROUP BY SQL)
The solution as best as I can see, is to allow overriding this behaviour using a withExportQueryKey() option that lets the user specify a different key for a Lens Action. If there is a cleaner or more 'Laravel' way to do it, that would be great, but this does fix the issue and let me use paginated downloadable Excel Actions from aggregate Lenses.

Thanks, no need to worry about styleci details, it will be auto fixed on merge anyway.


ValueError: The pre-trained model weights are not frozen. Despite  proper setup.

My training setup produces an Error:
ValueError: The pre-trained model weights are not frozen. For training adapters, please call the train_adapter() method
This occurs in the trainer.train() call.
I setup a BERT Finetuning with adapters and a PredictionHead.
In my setup I DO call the train_adapter method, I also tried to add the set_active_adapters, use the fields to set the active adapters and tried to follow every single guide I could find.
I even tried to freeze the model weights by calling the freeze method myself.
I am almost sure my setup is to blame maybe somebody already encountered this before.
Full Traceback:
Traceback (most recent call last):
File "/home/davido/dr/./star/train_adapters.py", line 267, in
main()
File "/home/davido/dr/./star/train_adapters.py", line 257, in main
trainer.train()
File "/home/davido/miniconda3/lib/python3.10/site-packages/transformers/trainer.py", line 1543, in train
return inner_training_loop(
File "/home/davido/miniconda3/lib/python3.10/site-packages/transformers/trainer.py", line 1720, in _inner_training_loop
self.control = self.callback_handler.on_train_begin(args, self.state, self.control)
File "/home/davido/miniconda3/lib/python3.10/site-packages/transformers/trainer_callback.py", line 353, in on_train_begin
return self.call_event("on_train_begin", args, state, control)
File "/home/davido/miniconda3/lib/python3.10/site-packages/transformers/trainer_callback.py", line 397, in call_event
result = getattr(callback, event)(
File "/home/davido/miniconda3/lib/python3.10/site-packages/transformers/adapters/trainer.py", line 253, in on_train_begin
raise ValueError(
ValueError: The pre-trained model weights are not frozen. For training adapters, please call the train_adapter() method
My Model Setup:
class AdapterBertDot(BaseModelDot, BertAdapterModel):
    def __init__(self, config, model_argobj=None):
        BaseModelDot.__init__(self, model_argobj)
        BertAdapterModel.__init__(self, config)
        if int(transformers.__version__[0]) == 4:
            config.return_dict = False
        self.bert = BertAdapterModel(config)
        if hasattr(config, "output_embedding_size"):
            self.output_embedding_size = config.output_embedding_size
        else:
            self.output_embedding_size = config.hidden_size
        print("output_embedding_size", self.output_embedding_size)

        self.task_name = 'dpr'

        self.bert.register_custom_head('dpr-head', DPRHead)
        self.bert.add_custom_head(head_type='dpr-head', head_name=self.task_name)
        self.bert.add_adapter(self.task_name, config='pfeiffer')
        self.bert.train_adapter([self.task_name])
        self.bert.set_active_adapters([self.task_name])
        #self.apply(self._init_weights)

    ....

Hey @davidobermann, the setup looks good to me. You can remove the set_active_adaptersmethod call since this is already activated by the train_adapter method. But this should not change the validity of the setup. You can check whether the setup adds the adapter, activates it, and freezes the weights by checking that bert.active_adapters has the correct setup and requires_gradis False for the pre-trained model weights by iterating over bert.named_parameters().
Let me know whether that helps with your problem.

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.

This issue was closed because it was stale for 14 days without any activity.


FormBuilderDropdown broke inside futurebuilder

I put the FormBuilderDropdown inside FutureBuilder so when I press on it will rebuild infinitely and will not enter the FormBuilderDropdown
 FutureBuilder(
                          future: widget.fetchBrands(yearValue),
                          builder:
                              (BuildContext context, AsyncSnapshot snapshot) {
                            var snap = snapshot.data;
                            if (snapshot.connectionState ==
                                ConnectionState.waiting) {
                              return Center(
                                child: CircularProgressIndicator(),
                              );
                            }
                            if (snapshot.hasError) {
                              if (yearValue == null) {
                                return Container(
                                  child: Text(
                                    "Select the manufacture year to Select Brand",
                                    style: TextStyle(
                                      color: Colors.red[800],
                                      fontSize: 16,
                                    ),
                                    overflow: TextOverflow.visible,
                                  ),
                                );
                              }
                              return Center(
                                child: new Text('Error'),
                              );
                            }
                            snap.forEach((key, brand) {
                              brands.add(brand['make']);
                            });

                            brands = brands.toSet().toList();
                            brands.sort();
                            return
                                /**
                  Brands and focusNode = 1
                 */
                                FormBuilderDropdown(
                              key: ValueKey("Brands"),
                              name: "Brands",
                              items: brands
                                  .map(
                                    (e) => DropdownMenuItem<String>(
                                      child: Text(e),
                                      value: e,
                                    ),
                                  )
                                  .toList(),
                              validator: FormBuilderValidators.compose(
                                [
                                  FormBuilderValidators.required(
                                    context,
                                  )
                                ],
                              ),
                              decoration: InputDecoration(
                                labelText: 'Brands',
                                labelStyle:
                                    Theme.of(context).textTheme.display1,

                                //alignLabelWithHint: true,
                              ),
                              focusNode: _focusNode[1],
                              hint: Text('Select Brand'),
                              allowClear: true,
                              onChanged: (value) {
                                setState(() {
                                  brandValue = value;
                                  carValue = null;
                                  carsName.clear();
                                  FocusScopeNode currentFocus =
                                      FocusScope.of(context);

                                  if (!currentFocus.hasPrimaryFocus) {
                                    currentFocus.unfocus();
                                  }
                                });
                              },
                              onSaved: (newValue) => _brand = newValue,
                              style: Theme.of(context).textTheme.display1,
                            );
                          },
                        ),

before the update its work fine for me

@zlamlam10 I think your problem is this line:
                          future: widget.fetchBrands(yearValue),

This code will create a brand new Future for each build call -- that is not desirable.  You only want to trigger a new future during initState or when yearValue changes.
Closing this since the issue isn't really related to Flutter Form Builder.

@zlamlam10 I think your problem is this line:
                          future: widget.fetchBrands(yearValue),

This code will create a brand new Future for each build call -- that is not desirable.  You only want to trigger a new future during initState or when yearValue changes.
Closing this since the issue isn't really related to Flutter Form Builder.


Failed to resolve component: NuxtLink and ClientOnly

Environment
All
Reproduction
https://stackblitz.com/edit/github-cr9hwc?file=components%2Ftest.tsx,app.vue
Describe the bug
All Nuxt components do not support TSX and JSX, such as NuxtLink, ClientOnly
Failed to resolve component: NuxtLink and ClientOnly
Highest priority bug
Additional context
No response
Logs
No response

I have a component library. In order to support vue2/vue3 at the same time, the vue file is compiled into two versions of the render function, and the external export is a js file. The use of resolveComponent('client-only') will also encounter this problem. It seems that the file name does not meet the transformInclude hook conditions of nuxt:components-loader, so transform hook will not be executed. It would be great if the exclude, include attributes here can be passed in through configuration.


Support different output formats on iOS

First of all thank you for this great plugin, it does an amazing job.
Based on some feedback from our customers, we discovered that in many cases the scans made on iOS devices resulted in far bigger image files when comparing to scanning the same documents on an Android device.
Digging through the code base I quickly realized that this is caused be the different image formats used on the different platforms. On Android all scans are save using the JPEG format, while on iOS scans are saved using the PNG format. Comparing a simple A4 document resulted in a 7.5 MB file on on iOS, while on Android the same scan was only 450 KB in file size.
This PR adds support to supply an instance of the IosScannerOptions to the getPictures method which allows users to specify which format should be used to save scans on iOS. The parameter is optional and if not specified the plugin behaves exactly as the current version.
Example usage:
   // Returns images in PNG format.
   final imagesPath = await CunningDocumentScanner.getPictures(
      iosScannerOptions: IosScannerOptions(
         imageFormat: IosImageFormat.png,
      ),
   );

   // Returns images in JPEG format with a compression quality of 50%.
   final imagesPath = await CunningDocumentScanner.getPictures(
      iosScannerOptions: IosScannerOptions(
         imageFormat: IosImageFormat.jpg,
         jpgCompressionQuality: 0.5,
      ),
   );

Hi @jachzen, can you please review this PR?


Update deprecated sqlalchemy code

will look at other places to see if deprecated code still exist

@ivan-c I was thinking maybe I could find some other warnings, but I currently am not seeing anymore.


The new topic button should be on right?

Hey @a2937 - we may have introduced a new bug with the fixes for the nav and the dropdown that I just landed on the forum. Do you mind helping debug this since you have familiarity with the code?

I am on it.

Fudge. I know exactly what happened. I put the flexbox in the wrong place.


Any way to disable bounciness temporarily for SwipeRow

I'm using only SwipeRow component from the package NOT SwipeListView. I need gmail like swipe to delete functionality. I saw the example for SwipeListView (For some reason doesn't work for me at all, but no problem I need only row component anyway). I used onSwipeValueChange function from there. Works good except one thing - the row bounces back on deletion, so that when it's collapsing the front part goes all way to the left and then return. How to force it to stay once it went all way to the right. So basically as here
"react": "16.8.6"
"react-native": "0.60.4"
"react-native-swipe-list-view": "2.0.1"

Ok, I think I've found a solution. Something like this works in my particular case.
rightOpenValue={-deviceWidth}
swipeToOpenPercent={2}


Assumptions aren't sources

In your TMs, DDs, and IM, assumptions are used as sources. However, "source" here refers to the external place where this information is retrieved from. The description of how the given model is derived from the assumptions should really be captured in their derivations.

Those were all temporary, truthfully. Drasil errors out if you leave the source field empty. However, I don't quite see why this is an issue for DDs. For example, the DD for the loading function sounds fair to use an assumption as the source?

Once again, I believe there is a ddNoRefs function you can use instead.

The assumption is a reference to something external and unexplained.
Asides from the obvious, I don't quite understand the need for *NoRefs.

If the DD is just an explicit writing of the assumption in math, then it could potentially work as a source.

It is, yes :smile:

But if you are using an assumption to refine something, the source really refers to where the information comes from (e.g., what external source, in the sense of citations).

Sorry, I don't really see any distinguishing features -- the "if" condition sounds like a tautology -- everything is a refinement of something, and in those refinements, the input knowledge is an assumption in that refinement. Why must we only refer to 'external' sources here? Those external sources are similar to assumptions in our code, after all.
I think we're having a miscommunication about the allowed references. If a particular reference type is not allowed, we should be disallowing it at either the type-level in Haskell or through runtime checks (both of which would need to be a Drasil issue of course), and I can continue to question why we wouldn't allow that. For example, at the type-level, we can force the 'references' here to be 'bib references' (or something similar) to refer to a 'directly external' material. However, I don't see a point in doing that because those external resources can be made internal through either recreation or assumption in our own assumptions -- and it becomes locally defined.


Re-export cast for ergonomic reasons

Fix for issue #92

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTING.md for more information.

Thanks!


Workflow setup_environment.sh path issue

Hi, we encounetered an issue during actions workflow:
Run structr/structr-deploy-action@v1   with:     structr-version: 4.2.0     neo4j-version: 4.4     structr-webapp-path: /home/runner/work/structr_usage/structr_usage/webapp Run echo "Running Structr:4.2.0 with Neo4j:4.4 and deploying from /home/runner/work/structr_usage/structr_usage/webapp"   echo "Running Structr:4.2.0 with Neo4j:4.4 and deploying from /home/runner/work/structr_usage/structr_usage/webapp"   shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} Running Structr:4.2.0 with Neo4j:4.4 and deploying from /home/runner/work/structr_usage/structr_usage/webapp Run ./setup_environment.sh /home/runner/work/_actions/structr/structr-deploy-action/v1 && cd /home/runner/work/_actions/structr/structr-deploy-action/v1 && docker-compose up -d         ./setup_environment.sh /home/runner/work/_actions/structr/structr-deploy-action/v1 && cd /home/runner/work/_actions/structr/structr-deploy-action/v1 && docker-compose up -d         shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}   env:     NEO4j_VERSION: 4.4     STRUCTR_VERSION: 4.2.0     STRUCTR_WEBAPP_PATH: /home/runner/work/structr_usage/structr_usage/webapp     STRUCTR_LICENSE:      STRUCTR_CONF_FILE:  /home/runner/work/_temp/e5adeaf0-43c9-41b1-b4a2-8948899063f1.sh: line 1: ./setup_environment.sh: No such file or directory Error: Process completed with exit code 127.
Workflow file:
`name: Test deployment
on:
workflow_dispatch
jobs:
deploy-job:
runs-on: ubuntu-latest
name: Deploy and test
steps:
- uses: actions/checkout@v3
- id: Test
uses: structr/structr-deploy-action@v1`
This seems to be related with the latest chage in actions.yml file line 45 and 46.
It seems to miss cd ${{ github.action_path }} before script execution.

Thanks for reporting this. It seems that there was missing a cd into the actions directory for accessing the shell script file.
@vlasticn Can you please try and re-run the action again? It should work fine again now.


few shot examples in prompt are causing the completion to error

When asking the model to summarise a specific document it has access to, it returns that it cannot find information regarding energy conservation.
The documents are not related to energy conversation.
After reviewing the source code, I found blocks related to few-shot examples that appear to be confusing the model and making it error out and not search documents.

PR #11 not merged. Caused new errors. Reverting to main branch deployment to continue troubleshooting.

Redeployed main and working again. Just cannot provide it a full document name to summarise it appears.


ooo:  Request textDocument/completion failed with message: Maximum call stack size exceeded: Error: Request textDocument/completion failed with message: Maximum call stack size exceeded

Describe the bug
Extension is running out of memory sometimes:
2024-07-31 13:08:28.569 [error] Request textDocument/completion failed with message: Maximum call stack size exceeded: Error: Request textDocument/completion failed with message: Maximum call stack size exceeded
	at /Users/ssbarnea/.vscode/extensions/github.vscode-github-actions-0.26.3/dist/extension-node.js:2:633457
	at /Users/ssbarnea/.vscode/extensions/github.vscode-github-actions-0.26.3/dist/extension-node.js:2:633751
	at Timeout._onTimeout (/Users/ssbarnea/.vscode/extensions/github.vscode-github-actions-0.26.3/dist/extension-node.js:2:634113)
	at listOnTimeout (node:internal/timers:573:17)
	at process.processTimers (node:internal/timers:514:7)
2024-08-01 13:33:57.033 [error] [Extension Host] Error loading yaml file

To Reproduce
Steps to reproduce the behavior:

With this workflow '...'
Do this '...'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Extension Version
v0.26.3
Additional context
That is on a 64GB M1 max laptop, so bit unexpected. I wonder if that is caused by node running out of memory as I encountered recently another issue with it that required me to add NODE_OPTIONS=--max-old-space-size=4096 in order to just run yarn webpack... :p

repro:
jobs:
    asdf:
      strategy:
        matrix:
          python_version: ["3"]

place the cursor after the 3 and add a .:

i doubt this is memory related, its probably a recursive function call that's getting caught in an infinite loop


large inputs cause hang and never finish

I have install multidiff and I execute the command with window10
“multidiff test1.bin test2.bin”
it doesn't work...

Are you getting any output at all, for example an error or exception?
Does the program exit successfully or does it hang?
What’s your Python version?  The required memeory will be much more than the combined file sizes, so test with files that are a few kilobytes maximum.
I haven’t tested with windows at all, and it may be that some implementation details have been missed. I’ll get a VM on Monday to test this, but if you could provide he above info it would help me :)

Hi, here is more detail as follows.

Window 10, 64bit, Python 3.6.4
I have install multidiff, and I execute the commandmultidiff -h. it output
usage: multidiff [-h] [-p PORT] [-s] [-m MODE] [-i INFORMAT] [-o OUTFORMAT]
[--html]
[file [file ...]]

N E O N S E N S E
augmentations inc
┌───────────────┐
│ M  U  L  T  I │
│ D   I   F   F │
│ sensor module │
└───────────────┘
positional arguments:
file                  file or directory to include in multidiff
optional arguments:
-h, --help            show this help message and exit
-p PORT, --port PORT  start a local socket server on the given port
-s, --stdin           read data from stdin, objects split by newlines
-m MODE, --mode MODE  mode of operation, either "baseline" or "sequence"
-i INFORMAT, --informat INFORMAT
input data format:
utf8 (stdin default)
raw (file and server default)
hex
json
-o OUTFORMAT, --outformat OUTFORMAT
output data format:
utf8
hex
hexdump (default)
--html                use html for colors instead of ansi codes

now I want to diff two bin file and I input the command multidiff 1.bin 2.bin.
It hangs and output nothing...
Only Ctrl+c can exit, and the output information is :
C:\Users\Fanleung\Desktop\multidiff-master\multidiff-master>multidiff 1.bin 2.bin                                                                          Traceback (most recent call last):                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\Scripts\multidiff-script.py", line 6, in <module>                                          from pkg_resources import load_entry_point                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 70, in <module>                         from pkg_resources.extern import appdirs                                                                                File "<frozen importlib._bootstrap>", line 971, in _find_and_load                                                                                File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked                                                                               File "<frozen importlib._bootstrap>", line 656, in _load_unlocked                                                                                File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible                                                                             File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\extern\__init__.py", line 43, in load_module               __import__(extant)                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\_vendor\appdirs.py", line 510, in <module>                 import win32com.shell                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\site-packages\win32com\__init__.py", line 6, in <module>                               import pythoncom                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\site-packages\pythoncom.py", line 3, in <module>                                       pywintypes.__import_pywin32_system_module__("pythoncom", globals())                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\site-packages\win32\lib\pywintypes.py", line 123, in __import_pywin32_system_module__  mod = imp.load_dynamic(modname, found)                                                                                File "C:\Users\Fanleung\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic                                                     return _load(spec)                                                                                KeyboardInterrupt

I set up a virtual machine and tested this in Windows 10 with python 3.7 and everything seems to work fine. Did you install multidiff by running python setup.py install? Are you sure the files are not too large?

ahh... When I create two test bin file, and the file size is about 4KB,  It done.
what is the limit size of the file?

Yes, The kind of data I trying to find is small differences in large file.
The last time the program hung, the test file size was about 4MB.
This time I try to diff two 1MB files and It can run but costs a lot of time(1 min).
Maybe 4MB file also can work but I didn't wait.

I modified the multidiff library to only show the addresses where the bytes have changed.
The output now generates a diff which only shows the addresses where the bytes have changed. This  only works for hexdump outformat.
The output looks something like this - https://pastebin.com/csT3dpRK
I tested it on a 2MB file and it took me approxmately 10 minutes.

Great, if you want me to merge those changes, then just make a pull request but add a flag to the commandline for the feature. I think the hang issue is related to calculating the diff rather than outputting the result so I wont be closing this issue :)


Laravel 4.2 + PHP7 support isn't installable.

Hello,
I'm trying to use Laravel-elasticsearch for ES1.x with PHP7 support. So I've added 4.1.* as version.
composer require shift31/laravel-elasticsearch:4.1.*

However, when it starts to install, I get an error like this:
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - shift31/laravel-elasticsearch v4.1.1 requires php >=5.4.0 <=7.0 -> your PHP version (7.0.15) does not satisfy that requirement.
    - shift31/laravel-elasticsearch v4.1.0 requires php >=5.4.0 <=7.0.0 -> your PHP version (7.0.15) does not satisfy that requirement.
    - Installation request for shift31/laravel-elasticsearch 4.1.* -> satisfiable by shift31/laravel-elasticsearch[v4.1.0, v4.1.1].

So, I'm stuck here. Since Laravel 4.2.20, Laravel 4 can run on PHP7.
I'd appreciate if this could be resolved.
Thanks in advance!

Hello @Ardakilic,
Can you please send a pull request for 4.1 branch?


Auto-set a first compatible uniform on dragging to create a UniformRef (VisualShaders)

Small QoL-change to auto-connect to most compatible type when dragging from input port on creating a UniformRef:

Thanks!


Unified the FFI by eliminating public static inline functions

The FFI no longer consists of function pointers, which makes it much easier to import them in other programs/languages. Public functions that were declared static inline are now just inline and exported in a seperate translation unit, as recommended by section 6.7.4 of the ISO C standard
Something similar was already noted in include/chipmunk/chipmunk_ffi.h:
// TODO: get rid of the reliance on static inlines.
// They make a mess for FFIs.

Legacy function pointers are still supported, though the use of
-DCHIPMUNK_LEGACY_FFI. An additional option in cmake makes it easy to
enable or disable this feature. Eventually, it can be removed completely.
There were also a few inlude-directives in src/ that were inconsistent with some other files; I have changed them to what I thought they should be.
Tested on Ubuntu 14.04 with GCC 4.8.2.

Just a minor feedback since this is already frozen since august: if someone still wants to see this added he or she will have to look into it, because I won't, unfortunately.

Found some time; see the new pull #139 for a new version.


Inherit from only base.

Thanks. There's some issues with the build that I'm looking into, but they're unrelated.


Codeunit 229 "Document-Print" change accessibility to global

Hello,
in the codeunit 229 "Document-Print" is one function still local, all the other functions which are in the same context are global.
local procedure GetServHeaderDocTypeUsage(ServiceHeader: Record "Service Header"): Enum "Report Selection Usage"
Please change this one too to global, like this function:
procedure GetSalesDocTypeUsage(SalesHeader: Record "Sales Header") ReportSelectionUsage: Enum "Report Selection Usage"
That would be great.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


text/template: allow explicit redefinition of a template

Hey Go team,
I am interested in redefinition of templates. Implicit redefinition is disallowed. How about explicit redefinition? Either:

Template.Remove(name string) followed by Template.ParseFiles(names ...string)
Template.Redefine(name, body string) / Template.RedefineFile(name, file string)

Scenario
We have a server which watches a folder for updates. When it receives a write or create for a file, it re-reads in the template. This allows for no-downtime updates to our templates, which is something we value greatly. It also allows for a more streamlined development process (developer isn't spending time restarting the server locally on changes).
With each filesystem event, we receive the event type and the file it affects. We would like to be able to redefine this template at runtime as these events are triggered.
Currently...
// Template has been changes on the filesystem.
// Re-read and parse. Store the latest.
// Always throws the 'redefinition' error.
_, err := rootTmpl.ParseFiles(event.FileName)
if err != nil {
    log.Printf("error reading template '%s': %v", event.FileName, err)
}

Unfortunately, this fails every time, with template: redefinition of template %NAME%.
Proposal
My proposal is to allow an explicit removal or redefinition. An example with Template.Remove(name string)...
// Allow explicit removal of a template to allow redefinition.
err := rootTmpl.Remove(event.FileName)
if err != nil && err != template.ErrorNoSuchTemplate {
    log.Printf("error removing template '%s': %v", event.FileName, err)
}

// This should NOT return an error.
_, err = rootTmpl.ParseFiles(event.FileName)
if err != nil {
    log.Printf("error reading template '%s': %v", event.FileName, err)
}

Current Work-Around
To get around this, we bind to SIGUSR1 and re-read all the templates (Template.ParseFilesGlob), blocking requests until it's re-defined.

Are there any thoughts here? Am I barking up the wrong tree?

@robpike would an API like this allay your concerns about accidental template redefinition?

This is already doable without too much trouble by synchronously reparsing the full set of templates when one changes. Plus, removing a template like this will violate invariants maintained by html/template, which escapes the content based on a statically knowable set of templates.


"Birda" is listed in the drop-down menu

Description:
The village is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Birda".

Expected results
The location is listed in the drop-down menu as "Sat Banloc, TIMIȘ (Birda)".


pm: fix some misuses of PM_STATE_ACTIVE

your commit message mentions pm_exit_post_ops(), you probably mean pm_state_exit_post_ops()?

fixed


added new features to qna maker ludown

Fixes #
Proposed Changes

Added feature to QnA ludown package to add Id to QnA pair in LUdown file. Detailed explanation in documentation
Added new feature to QnA ludown package to add followup prompts to QnA pairs based on Id(s) described above. Detailed explanation in documentation
Downgraded ludown package to V1.3.3, since changes were made in that version of ludown

Testing

The team has done rigorous testing of the new features added to ludown package, and is currently using it in production

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ramoncnavarro sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


duplicate code in MulticastGroup.java and MulticastExchangeGroup.java

duplicate code

Codecov Report

Merging #5898 into master will decrease coverage by 0.03%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##             master    #5898      +/-   ##
============================================
- Coverage     61.21%   61.18%   -0.04%
+ Complexity      497      496       -1
============================================
  Files           981      981
  Lines         39147    39092      -55
  Branches       5645     5609      -36
============================================
- Hits          23963    23917      -46
+ Misses        12554    12548       -6
+ Partials       2630     2627       -3

Impacted Files
Coverage Δ
Complexity Δ

...g/p2p/exchange/support/MulticastExchangeGroup.java
77.50% <0.00%> (+5.15%)
0.00 <0.00> (ø)

...che/dubbo/remoting/p2p/support/MulticastGroup.java
82.50% <0.00%> (+5.90%)
0.00 <0.00> (ø)

...n/java/org/apache/dubbo/common/utils/NetUtils.java
67.61% <42.85%> (-0.75%)
0.00 <0.00> (ø)

.../apache/dubbo/rpc/protocol/AsyncToSyncInvoker.java
62.06% <0.00%> (-10.35%)
0.00% <0.00%> (ø%)

...he/dubbo/common/threadpool/ThreadlessExecutor.java
52.17% <0.00%> (-10.87%)
0.00% <0.00%> (ø%)

...ng/exchange/support/header/HeartbeatTimerTask.java
73.68% <0.00%> (-5.27%)
0.00% <0.00%> (ø%)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-4.35%)
0.00% <0.00%> (ø%)

...e/dubbo/remoting/transport/netty/NettyChannel.java
52.27% <0.00%> (-3.41%)
19.00% <0.00%> (-1.00%)

...dubbo/remoting/exchange/support/DefaultFuture.java
75.89% <0.00%> (-3.42%)
0.00% <0.00%> (ø%)

...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java
86.66% <0.00%> (-1.91%)
16.00% <0.00%> (ø%)

... and 6 more

Continue to review full report at Codecov.

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

thanks for your contribution


Remove unused flushSize logging configuration parameter

Sorry missed this in the last update.

Could you change the commit description to describe the change you're making as opposed to the problem that drove you to make the change?

@garrettjonesgoogle missed seeing this, updated.

LGTM


Adding the Swedish Region in the list.

[Enter feedback here]
I'm sure it's in the works but it seems like it should be time to add details about the Swedish region here.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 87cb379c-82ae-0a6e-8dd5-0c41b09364ab
Version Independent ID: a15c3919-e63e-f0dc-bd6b-45f311b387b5
Content: How to request your data move - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/request-your-data-move.md
Service: o365-administration
GitHub Login: @andybergen
Microsoft Alias: andyber

@msbemba

@EAWerner Thank you for your feedback. The data on the sheet is handled by the product group and it will be available on the document once they have this worked out for the Swedish region. You can also submit feedback on our main feedback portal- https://feedbackportal.microsoft.com/feedback/ to get status updates on this particular query.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @EAWerner Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Thank you everyone. I also noticed the page have been updated now so case closed!
From: Yogesh Kumar @.>
Sent: den 29 november 2021 13:27
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Erik Werner (HE/HIM) @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Adding the Swedish Region in the list. (Issue #6915)
@msbembahttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmsbemba&data=04|01|Erik.Werner%40microsoft.com|f6e15f8a15ca41c3144308d9b3338a41|72f988bf86f141af91ab2d7cd011db47|1|0|637737856243862920|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=4P%2BuLlhq6hN%2BL9wRigRE0Tcp1ELtsT8DK8UC2EPPiFo%3D&reserved=0 Thank you very much for the contribution and sharing this explanation. @EAWernerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEAWerner&data=04|01|Erik.Werner%40microsoft.com|f6e15f8a15ca41c3144308d9b3338a41|72f988bf86f141af91ab2d7cd011db47|1|0|637737856243872918|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=xC%2FmINK9O2AsemSMZiKHcfqS64qpX9Oq6yTu4soWTck%3D&reserved=0 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F6915%23issuecomment-981588614&data=04|01|Erik.Werner%40microsoft.com|f6e15f8a15ca41c3144308d9b3338a41|72f988bf86f141af91ab2d7cd011db47|1|0|637737856243872918|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=R29I8lXURd6uJ0DY3cNcR8Fib%2FNNZdIdQ%2FItsMzbv2w%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAWLAX67OECFILLRQDKOOMQLUONWRHANCNFSM5IEKLCSQ&data=04|01|Erik.Werner%40microsoft.com|f6e15f8a15ca41c3144308d9b3338a41|72f988bf86f141af91ab2d7cd011db47|1|0|637737856243882913|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=bCQdf3bo%2F9iLIx7eh2XCpT7%2FG9B6%2FVVPjeuyZta2liA%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|Erik.Werner%40microsoft.com|f6e15f8a15ca41c3144308d9b3338a41|72f988bf86f141af91ab2d7cd011db47|1|0|637737856243892911|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=KTn6G7Wm%2B7dajyr1bpn%2FHPG6b1J13Gc23cPVjPvXBUE%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|Erik.Werner%40microsoft.com|f6e15f8a15ca41c3144308d9b3338a41|72f988bf86f141af91ab2d7cd011db47|1|0|637737856243892911|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2B866kMcuNAywPYf2%2FE8bTtONqcWcM4o1n4hym1YpAnY%3D&reserved=0.


baseline whitelists

As mentioned in some linked papers often CA's can be trimmed down from the top 1mil domains or similar data sets. Much larger datasets can be used as well, with perhaps a longer tail observed.
It would be handy to offer a few whitelists:

top 1mil
censys observed

https://scans.io/study/sonar.ssl
https://scans.io/study/scott-top-one-million
https://www.censys.io/data/certificates

It might be easier to start with geographic whitelists in #161.

We should generate these off the top 1mil websites and maybe other scans. I haven't responded yet to my censys data request...

Switching to Maybe as I'm unsure the best way to distribute this.


StaggerUStride valid numbers

Zero is a valid number for StaggerUSride, but it has not been listed in Common.py.  As a result, any yaml file with SUS=0 will fail. This PR adds zero to the list.
Additionally, Tensile sorts fork parameters in the output.

Thanks for your update.
I do not have any further comment on the code change.
I found the following fail in the CI test.
Please make sure if this is caused by your change or not.
=============
=========================== short test summary info ============================
FAILED Tensile/Tests/yaml_only/test_config.py::test_config[Tensile/Tests/extended/classic_source/test_sgemm.yaml]
=========== 1 failed, 592 passed, 120 skipped in 15177.61s (4:12:57) ===========


spearfishing misses fish in the bottom row

size: large
speed: slow
misses bottom row fish all the time
https://github.com/InitialDet/AutoHook/assets/1430709/2e385f6a-b225-4c5d-bd76-db19dcd37c31

Some types of fish requires you to adjust the size of the gig hitbox in the plugin options.
AutoGig is a very experimental feature so thats the only solution for now.


502 error

I think instagram is blocking Oh My Ig requests, i have created new account for testing and i receive 502 error in hours, my default account not working more.

Could you share your config?

Could you try to reduce No of items sync each time to 33?

Anyone got any ideas how to fix this...!!??

my idea is updating feed from profile page, i changed query_hash and used user_id extension working fine

@markhunte Could you try logout, clean cache (Ctrl + F5) and login again,
then go to chrome://extensions/ reload the extension?
@cucucucu2 Could you give me more detail about update feed from profile?

I edited
    this.query_hash = 'd6f4427fbe92d846298cf93df0b937d3';
to
    this.query_hash = '6305d415e36c0a5f0abb6daba312f2dd';
and manually put id from profile
  feed(oldCount, total) {
    let url = null;
    if (this.query_hash) {
      const data = JSON.stringify({
        fetch_media_item_count: this.syncEach,
        fetch_media_item_cursor: this.lastCursor,
        fetch_comment_count: 4,
        fetch_like: 10,
        has_stories: false,
      });
      url = `hash=${this.query_hash}&variables=${encodeURIComponent(data)}`;
    } else {
      url = `id=${this.query_id}&` +
        `fetch_media_item_count=${this.syncEach}&` +
        `fetch_media_item_cursor=${this.lastCursor}&` +
        'fetch_comment_count=4&fetch_like=10';
    }
    return this.getJSON(`graphql/query/?query_${url}`).then((body) => {
      const feed = body.data.user.edge_web_feed_timeline;
      this.lastCursor = feed.page_info.end_cursor;
      this.storeItem(feed.edges);
      const count = oldCount - 1;
      console.log(`Synced ${total - count}/${total} feed.`);
      chrome.browserAction.setBadgeText({ text: `${total - count}/${total}` });
      if (count > 0 && feed.page_info.has_next_page) {
        return pdelay(2000).then(() => {
          this.feed(count, total);
        });
      }
      return chrome.browserAction.setBadgeText({ text: '' });
    });
  }

to
feed(oldCount, total) {
    let url = null;
	var that = this;
setTimeout(function() {
    if (that.query_hash) {
      const data = JSON.stringify({
        id: 000000000, // profilePage_
		first: that.syncEach,
        after: null,
      });
      url = `hash=${that.query_hash}&variables=${encodeURIComponent(data)}`;
    }
    return that.getJSON(`graphql/query/?query_${url}`).then((body) => {
      const feed = body.data.user.edge_owner_to_timeline_media;
      that.lastCursor = feed.page_info.end_cursor;
      that.storeItem(feed.edges);
      const count = oldCount - 1;
      console.log(`Synced ${total - count}/${total} feed.`);
      chrome.browserAction.setBadgeText({ text: `${total - count}/${total}` });
      if (count > 0 && feed.page_info.has_next_page) {
        return pdelay(1000).then(() => {
          that.feed(count, total);
        });
      }
      return chrome.browserAction.setBadgeText({text: '1'});
    });
				}, 2000);
  }

I can't explain with very details due i not speak english very well
i have changed other lines, you can see my modification to you update to next version
https://github.com/cucucucu2/igsync

Will do. Thanks for looking at this. While I test it are you able to explain the issue..
Cheers


Remove the wrapper div on Table component

If someone want to change few properties you need controller over the parent div wrapper of table so I think its better to remove it
const Table = React.forwardRef<
  HTMLTableElement,
  React.HTMLAttributes<HTMLTableElement>
>(({ className, ...props }, ref) => (
  <div className="w-full overflow-auto">
    <table
      ref={ref}
      className={cn("w-full caption-bottom text-sm", className)}
      {...props}
    />
  </div>
))
Table.displayName = "Table"

#396 updates it.
@SiddHyper can you review ?

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Started a discussion about this topic https://github.com/shadcn-ui/ui/discussions/4484


[Event Request] Report 702 OnAfterCheckItemJnLLine

We need a new Event OnAfterCheckItemJnLLine in report 702 at the end of AfterGetRecord, to check the ItemJnlLines in our extension:
Item Journal Line - OnAfterGetRecord()
OnBeforeItemJournalLineOnAfterGetRecord("Item Journal Line",ErrorCounter,ErrorText);
….
….
5:
BEGIN
TotalAm5 := TotalAm5 + Amount;
TotalCostAm5 := TotalCostAm5 + CostAmount;
END;
END;
//+++++++++++++++++++++++++++++++++++
OnAfterCheckItemJnLLine("Item Journal Line", Item, VAR ErrorCounter, VAR ErrorText);
//-----------------------------------

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


feat (common): add RegexReplace string extension

Codecov Report

Merging #20 into dev-rogue5 will decrease coverage by 0.01%.
The diff coverage is 0%.

@@              Coverage Diff               @@
##           dev-rogue5      #20      +/-   ##
==============================================
- Coverage       25.28%   25.27%   -0.02%
==============================================
  Files             338      338
  Lines            8577     8316     -261
  Branches          786      720      -66
==============================================
- Hits             2169     2102      -67
+ Misses           6344     6155     -189
+ Partials           64       59       -5

Impacted Files
Coverage Δ

Vstack.Common/Extensions/StringExtensions.cs
50% <0%> (-8.41%)
:arrow_down:

Vstack.Common/Utilities/MultilineString.cs
46.15% <0%> (-7.18%)
:arrow_down:

Vstack.Externals/WebHelp/JsonWebClient.cs
0% <0%> (-1.08%)
:arrow_down:

Vstack.Common/Extensions/ValidateExtensions.cs
11.57% <0%> (-0.83%)
:arrow_down:

Vstack.Common/Extensions/DateTimeExtensions.cs
53.73% <0%> (-0.82%)
:arrow_down:

Vstack.Externals.Tests/Scheduling/Extensions.cs
81.63% <0%> (-0.19%)
:arrow_down:

Vstack.Services/General/Extensions.cs
1.9% <0%> (-0.1%)
:arrow_down:

Vstack.Services/Tasks/AppSettingsConfig.cs
0% <0%> (ø)
:arrow_up:

Vstack.Common/Utilities/EnumUtilities.cs
0% <0%> (ø)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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


feat: Added namespace as a prefix in stackdriver sa name

This PR is included in version 3.7.0 :tada:


fix parsing endpoint json body

Converting to JSON string also when the 'content-type' header is 'application/json'
prevents the endpoint from functioning as a relay, that is, it can't fetch
an API that returns a JSON string and then forwards the headers and the body
as they are, because svelte kit would call JSON.stringify on the string again.
Closes #1226
Before submitting the PR, please make sure you do the following

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts

thank you!

Hey, @hgl @benmccann @Rich-Harris
Any way we could revisit this? This seems inconsistent and requires unnecessary additional logic to handle.
If we are going to automatically JSON.stringify() we should do it for all the data and not just some of the data.
A body response of astring and "astring" are totally different if the content type is expected to be JSON.

requires unnecessary additional logic to handle on part of the developer

a developer can be expected to convert their JSON response to a JavaScript object via ...

Seems contradictory.
Calling JSON.stringify() is only skipped if you explicitly set the content-type: application/json, and the doc specifies

If the returned body is an object, and no content-type header is returned, it will automatically be turned into a JSON response.

What's you're suggesting is actually a reversion of what's in the doc.
Maybe you could expand on the use case?


Bump package version, raise MSRV to 1.48 and drop Python 3.6 support

Now that the 0.11.0 release is out the door this commit prepares the
main branch for development of the next minor version release, 0.12.0.
To do this it makes three changes, the first is to bump the package
version strings to the new version. This is primarily to differentiate
the development branch against the released 0.11.0. Second, this raises
the minimum supported rust version (MSRV) to 1.48. As was documented in
the release notes the 0.11.0 release was the last version to have an
MSRV of 1.41. Moving forward we'll support an MSRV of 1.48. This version
was chosen because it's what the latest version of Debian stable
currently packages, and we need to ensure that Debian can compile
retworkx for our userbase on raspberry pi (the raspberry pi python
package index, piwheels.org, uses the debian packaged rustc to build
their wheels). Lastly, the minimum support python version is raised to
Python 3.7. This was also documented in the 0.11.0 release notes, and
since Python 3.6 is now end of life and is no longer recieving
any updates we should drop support for it.
Fixes #498

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.002%) to 98.499%

Files with Coverage Reduction
New Missed Lines
%

src/shortest_path/all_pairs_dijkstra.rs
2
98.68%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
11941

Relevant Lines:
12123

💛  - Coveralls


Bug report

Describe the bug
Start the software, the interface is blank

To reproduce
Start the software
Expected behavior
display the interface
Screenshots
No response
Desktop (please complete the following information)
win11 23h2 22631.3880
Smartphone (please complete the following information)
No response
Additional context
No response

try this

Please provide the contents of %AppData%\org.localsend\localsend_app before deleting it so we can fix this issue for other users

Please provide the contents of %AppData%\org.localsend\localsend_app before deleting it so we can fix this issue for other users
settings.json

Please provide the contents of %AppData%\org.localsend\localsend_app before deleting it so we can fix this issue for other users

The problem remains.
But I noticed that this issue only appears when "form is created on a display other than the main display".
This can happen when using tools that modify where forms are generated, such as PowerToys-FancyZons.
settings.json

i didn't use PowerToys-FancyZons when i report this bug...
i use PowerToys-FancyZons this days but localsend proper functioning...

Please provide the contents of %AppData%\org.localsend\localsend_app before deleting it so we can fix this issue for other users请在删除之前提供 的内容 %AppData%\org.localsend\localsend_app ，以便我们为其他用户解决此问题

The problem remains. 问题仍然存在。 But I noticed that this issue only appears when "form is created on a display other than the main display".但我注意到，仅当“在主显示器以外的显示器上创建表单”时，才会出现此问题。 This can happen when using tools that modify where forms are generated, such as PowerToys-FancyZons.当使用修改表单生成位置的工具（如 PowerToys-FancyZons）时，可能会发生这种情况。
settings.json

i didn't use PowerToys-FancyZons when i report this bug...
i use PowerToys-FancyZons this days but localsend proper functioning...

i didn't use PowerToys-FancyZons when i report this bug... i use PowerToys-FancyZons this days but localsend proper functioning...

If you enable FancyZons' "Move the newly created window to the currently active display (experimental)" feature, you might be able to reproduce this problem on the second screen


Change Wallets in sample app

Change the active wallet in the sample app

https://user-images.githubusercontent.com/8357343/213315252-1b16d2b0-81d8-4597-ba46-48944eba1ef6.mp4


Added Hildegard-Wegscheider-Gymnasium

@ezberlin I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host hwos.de.domains.lib not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Memory regression on animation_with_microtasks_perf_ios__timeline_summary

On the Engine -> Framework roll here https://github.com/flutter/flutter/pull/95364
SkiaPerf reported a regression in memory footprint: https://flutter-flutter-perf.skia.org/e/?begin=1638589447&end=1639742351&keys=Xc9227e34ea819ed1d1d7c1f2ca07f395&requestType=0&xbaroffset=26919
My guess is that it's due to the change to enable compressed pointers on iOS: https://github.com/flutter/engine/pull/30333
/cc @a-siva

Per @a-siva the snapshot size could increase but the runtime memory usage should decrease. The regressions here seem to be related to runtime memory usage however. This warrants further investigation.

@a-siva Is this something we should be concerned about for the upcoming beta branch cut?

Investigating and will report back

There are two effects here:

One is that what was in the ReadOnlyData snapshot section is now in the Isolate snapshot section and deserialized into both the main isolate and the service isolate. (flutter/engine@6ffe7888ec277a697d6a1f5cd9cabc7b9ab55d9f decoupled the service isolate for Android but not iOS.) This affects profile mode but not release mode, and this benchmark is measuring in profile mode.
madvise(DONTNEED) is lazy on macOS/iOS: the pages are not immediately released and RSS does not immediately decrease as on Linux/Android, but the pages will be released once there is memory pressure.

@chinmaygarde  Do we know why decoupling the service isolate snapshot from the main isolate snapshot was not done for iOS?

/cc @jason-simmons

It should be possible to do that for iOS.  Someone familiar with the iOS platform would need to add the service isolate snapshot library to the iOS build and find a way to package it into the iOS embedding.

Thanks @jason-simmons. I think we can lower the priority of this, but maybe @iskakaushik or @cyanglaz would be interested in the iOS side since it IIRC it was a pretty substantial memory footprint improvement.

Thanks @jason-simmons. I think we can lower the priority of this, but maybe @iskakaushik or @cyanglaz would be interested in the iOS side since it IIRC it was a pretty substantial memory footprint improvement.

yes, it is a substantial memory footprint improvement especially for large apps.

Closing as obsolete, compressed pointers were disabled