Cannot import name 'image_preprocessing'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 2.1.0
Python version: 3.6.12
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.1/7.6
GPU model and memory:

Describe the current behavior
I am currently struggling to proceed due to having an unexpected error message containing 'ImportError: cannot import name 'image_preprocessing''.
I am doing a project related to Object Detection (credits to: EdjeElectronics). Upon installing Tensorflow, Keras, CUDA, cudnn, Visual Studio Microsoft Redistribution 2019, I tried to do testing 'python ~\object_detection\builders\model_builder_tf2_test.py' to see if everything is correctly installed. However, I keep receiving this error.
Describe the expected behavior
(tensor-gpu) PS C:\Users\User\tensorflow11\models\research> python object_detection\builders\model_builder_tf2_test.py
2020-09-11 12:40:46.813673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
Traceback (most recent call last):
  File "object_detection\builders\model_builder_tf2_test.py", line 24, in <module>
    from object_detection.builders import model_builder
  File "C:\Users\User\tensorflow11\models\research\object_detection\builders\model_builder.py", line 65, in <module>
    from object_detection.models import ssd_efficientnet_bifpn_feature_extractor as ssd_efficientnet_bifpn
  File "C:\Users\User\tensorflow11\models\research\object_detection\models\ssd_efficientnet_bifpn_feature_extractor.py", line 33, in <module>
    from official.vision.image_classification.efficientnet import efficientnet_model
  File "C:\Users\User\tensorflow11\models\official\vision\image_classification\efficientnet\efficientnet_model.py", line 37, in <module>
    from official.vision.image_classification import preprocessing
  File "C:\Users\User\tensorflow11\models\official\vision\image_classification\preprocessing.py", line 25, in <module>
    from official.vision.image_classification import augment
  File "C:\Users\User\tensorflow11\models\official\vision\image_classification\augment.py", line 31, in <module>
    from tensorflow.python.keras.layers.preprocessing import image_preprocessing as image_ops
ImportError: cannot import name 'image_preprocessing'

Appreciate if experienced TF developers to state where/what I am doing wrong.
Thank you.

@trystbinx
Import of image_ops is unfortunately only available with TF 2.2+ .
Please, upgrade to TF 2.3 and check if the issue still persists. Thanks!

@trystbinx
Import of image_ops is unfortunately only available with TF 2.2+ .
Please, upgrade to TF 2.3 and check if the issue still persists. Thanks!

Thank you for your reply. Yes, the issues still persists, but a different error output.
TF version is 2.2.0
Keras is 2.3.1
Installed CUDA 10.1, cudnn, 7.6.5, set path for both.
I am not sure what I am doing wrong. I have been looking for answers on the stackoverflow/github, but has not resolved this issue since a few days ago.
Is there anything I should do to resolve this issue?
(toogpu) PS C:\Users\User\tensorflow11\models\research> python
Python 3.6.12 |Anaconda, Inc.| (default, Sep  9 2020, 00:29:25) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import keras
Using TensorFlow backend.
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\keras\__init__.py", line 3, in <module>
    from . import utils
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
    from . import conv_utils
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\keras\backend\__init__.py", line 1, in <module>
    from .load_backend import epsilon
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\keras\backend\load_backend.py", line 90, in <module>
    from .tensorflow_backend import *
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in <module>
    import tensorflow as tf
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\__init__.py", line 41, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\__init__.py", line 50, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 69, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "C:\ProgramData\Anaconda3\envs\toogpu\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

@trystbinx
This is Tensorflow installation error.
Can you try it in fresh virtual environment and try to install. It is mostly due to compatibility issue.
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website.
Thanks!


negative training loss of wavenet

i got negative loss when training wavenet with THSCH-30 dataset.
Wavenet Train

###########################################################

Checkpoint_path: i:/data/voice/logs-Tacotron-2\wave_pretrained\wavenet_model.ckpt
Loading training data from: tacotron_output\gta\map.txt
Using model: Tacotron-2
Hyperparameters:
  allow_clipping_in_normalization: True
  attention_dim: 128
  attention_filters: 32
  attention_kernel: (31,)
  cin_channels: 80
  cleaners: basic_cleaners
  clip_mels_length: True
  cross_entropy_pos_weight: 1
  cumulative_weights: True
  decoder_layers: 2
  decoder_lstm_units: 1024
  embedding_dim: 512
  enc_conv_channels: 512
  enc_conv_kernel_size: (5,)
  enc_conv_num_layers: 3
  encoder_lstm_units: 256
  fmax: 7600
  fmin: 0
  frame_shift_ms: None
  freq_axis_kernel_size: 3
  gate_channels: 512
  gin_channels: -1
  griffin_lim_iters: 60
  hop_size: 275
  input_type: raw
  kernel_size: 3
  layers: 30
  leaky_alpha: 0.4
  log_scale_min: -32.23619130191664
  log_scale_min_gauss: -16.11809565095832
  mask_decoder: False
  mask_encoder: False
  max_abs_value: 4.0
  max_iters: 1000
  max_mel_frames: 900
  max_time_sec: None
  max_time_steps: 13000
  min_level_db: -100
  n_fft: 2048
  n_speakers: 1
  natural_eval: False
  normalize_for_wavenet: True
  num_freq: 1025
  num_gpus: 1
  num_mels: 80
  out_channels: 2
  outputs_per_step: 2
  postnet_channels: 512
  postnet_kernel_size: (5,)
  postnet_num_layers: 5
  power: 1.5
  predict_linear: False
  preemphasis: 0.97
  prenet_layers: [256, 256]
  quantize_channels: 65536
  ref_level_db: 20
  rescale: True
  rescaling_max: 0.999
  residual_channels: 512
  sample_rate: 22050
  signal_normalization: True
  silence_threshold: 2
  skip_out_channels: 256
  smoothing: False
  stacks: 3
  stop_at_any: True
  symmetric_mels: True
  tacotron_adam_beta1: 0.9
  tacotron_adam_beta2: 0.999
  tacotron_adam_epsilon: 1e-06
  tacotron_batch_size: 32
  tacotron_clip_gradients: False
  tacotron_data_random_state: 1234
  tacotron_decay_learning_rate: True
  tacotron_decay_rate: 0.4
  tacotron_decay_steps: 50000
  tacotron_dropout_rate: 0.5
  tacotron_final_learning_rate: 1e-05
  tacotron_initial_learning_rate: 0.001
  tacotron_random_seed: 5339
  tacotron_reg_weight: 1e-06
  tacotron_scale_regularization: True
  tacotron_start_decay: 50000
  tacotron_swap_with_cpu: False
  tacotron_synthesis_batch_size: 512
  tacotron_teacher_forcing_decay_alpha: 0.0
  tacotron_teacher_forcing_decay_steps: 280000
  tacotron_teacher_forcing_final_ratio: 0.0
  tacotron_teacher_forcing_init_ratio: 1.0
  tacotron_teacher_forcing_mode: constant
  tacotron_teacher_forcing_ratio: 1.0
  tacotron_teacher_forcing_start_decay: 10000
  tacotron_test_batches: 32
  tacotron_test_size: None
  tacotron_zoneout_rate: 0.1
  train_with_GTA: True
  trim_fft_size: 512
  trim_hop_size: 128
  trim_silence: True
  trim_top_db: 60
  upsample_conditional_features: True
  upsample_scales: [25, 11]
  use_all_gpus: False
  use_bias: True
  use_lws: False
  use_speaker_embedding: True
  wavenet_adam_beta1: 0.9
  wavenet_adam_beta2: 0.999
  wavenet_adam_epsilon: 1e-08
  wavenet_batch_size: 2
  wavenet_data_random_state: 1234
  wavenet_dropout: 0.05
  wavenet_ema_decay: 0.9999
  wavenet_learning_rate: 0.001
  wavenet_random_seed: 5339
  wavenet_swap_with_cpu: False
  wavenet_synthesis_batch_size: 8
  wavenet_test_batches: None
  wavenet_test_size: 0.02
  win_size: 1100
Initializing Wavenet model.  Dimensions (? = dynamic shape):
  Train mode:                True
  Eval mode:                 False
  Synthesis mode:            False
  inputs:                    (?, 1, ?)
  local_condition:           (?, 80, ?)
  targets:                   (?, ?)
  outputs:                   (?, ?)
Initializing Wavenet model.  Dimensions (? = dynamic shape):
  Train mode:                False
  Eval mode:                 True
  Synthesis mode:            False
  local_condition:           (1, 80, ?)
  targets:                   (?,)
  outputs:                   (?,)
Wavenet training set to a maximum of 6000 steps

Generated 32 train batches of size 2 in 0.089 sec

Generated 70 test batches of size 1 in 0.097 sec
Step      23 [1.688 sec/step, loss=-0.67038, avg_loss=-0.19141]
Generated 32 train batches of size 2 in 0.067 sec
Step      55 [1.475 sec/step, loss=-0.91690, avg_loss=-0.54008]
Generated 32 train batches of size 2 in 0.054 sec
Step      87 [1.414 sec/step, loss=-1.47173, avg_loss=-0.59483]
Generated 32 train batches of size 2 in 0.052 sec
Step     119 [1.313 sec/step, loss=-0.58264, avg_loss=-0.76051]
Generated 32 train batches of size 2 in 0.052 sec
Step     151 [1.309 sec/step, loss=-1.13693, avg_loss=-0.87239]
Generated 32 train batches of size 2 in 0.052 sec
Step     183 [1.310 sec/step, loss=-1.02893, avg_loss=-0.93583]
Generated 32 train batches of size 2 in 0.052 sec
Step     215 [1.312 sec/step, loss=-0.44637, avg_loss=-0.97706]

I had this problem when training with input_type='raw' in hparams.
Since I do not know how to fix this, I changed input_type to 'mulaw_quantize' ( and quantize_channels to 256 as requirement) and It runs fine.
Might the problem is loss function was not built right. If you want to find out the problem, I recommend take some look at the DiscretizedMixtureLogisticLoss() function.

I had have the same issue. Have you have way to training with raw audio, but don't got this isssue?
'Cause I have preprocess datasets with input_type='raw' and training on Tacotron Model got a good result. If I changed input_type to  'mulaw_quantize and train for wavenet. I guess maybe get something went wrong in result after done it. I don't want to train again :) with input_type to  'mulaw_quantize' for Tacotron model, because it take up time.

Since you're trying to minimize negative log likelihood, negative loss isn't impossible

Duplicate of #186

For WaveNet Model:
After maintain reading code.
I changed out_channels = 2 to 3 * 10 in hparams.py (ref r9y9: wavenet_vocoder). It's good for DiscretizedMixtureLogisticLoss() function. I got normal loss. :)

Hi, I'm a little late to the party! :)
While 16-bit WaveNet loss functions are generally discussed in this comment, I am going to leave some quick notes in here as well for clarity (Please read the link explanation first):

using out_channels=2 results in using Gaussian distribution modeling instead of Mixture of Logistic Distributions. to work with the latter, set out_channels as a multiple of 3 (out_channels=M*3) where M is the number of mixtures.
Gaussian objective function is Maximum Likelihood Estimation (MLE) where we aim to maximize the chance that a sample x is drawn from N(mu, sigma) where mu and sigma are outputs of the network. To maximize some function is the equivalent of minimizing its negative (or its negative log). Since this loss function is uncapped/not normalized, it is possible that it gets negative values that can actually be traced back to the probability density function (PDF) values (an approximation of how well the model is making its distributions).
The link I provided discusses alternatives of the MLE optimization that rely on CDF derivative approximations which are actually always positive for uni-modal distributions like Gaussian or Logistic.

So to make short, the negative loss values is not a bug, it is simply unusual to see :)

@Rayhane-mamah thank you! :D


update validator crate 0.17.0 -> 0.18.0

I updated the validator crate. There were no major changes. It seems that if the field to validate is Integer Types, it now receives a copy instead of a reference.
closes #22

I updated the validator crate. There were no major changes. It seems that if the field to validate is Integer Types, it now receives a copy instead of a reference.
closes #22

Thank you for your contribution! The PR looks great. I'm a bit tied up this week but plan to review and merge it over the weekend. Please bear with me, and thanks again for your effort and support!


Error at line 2. Line Text: #SuspendExempt Error: This line does not contain a recognized action. The program will exit.

tried deleting lines it just make more errors

updated ahk

oops still doesnt work

Are you running it with AHK v1?
#SuspendExempt isn't on V1, which explains why you encountered the error.
To resolve this, try downloading autohotkey v2 or running with autohotkey v2 if you already have it.


💬 RFC: Examples for Github Auth Integration

🔖 Need
Hey friends,
Wondering if anyone has any good examples of the Github Auth integration successfully working with the latest release/framework of backstage.
I have it working to the extent where adding "github usernames" under examples/org.yaml:
`
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: someGHUserNameHere
spec:
memberOf: [guests]
`
But as I understand, it's possible to skip this and auto sync from Github. It doesn't make sense to manage a file like this.
🎉 Proposal
N/A
〽 Alternatives
No response
❌ Risks
No response
👀 Have you spent some time to check if this RFC has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Sounds like you want a GitHub org data integration. I'm going to close this issue as it's not actionable, but please join our community Discord if you have any further questions!


Clarify user expectations for getStatNames

Closes #2890

In the XML docs we should mention the name attributes on instances are no longer mandatory if you have STAT info in the file


chore: Added generic error handling logic to prevent evaluation worker crash

Description
When an action is invoked, for eg. storeValue(key, value), we post a message(postMessage) from worker to main thread to process the action. There are certain data (non-serializable) that cannot be passed between threads, for eg. function. This causes postMessage to throw a DataCloneError (from internal structuredClone algorithm) and can potentially cause the worker to crash.
This PR adds a generic error handler to prevent the worker from crashing at any point.
Fixes #22106
Type of change

Chore

How Has This Been Tested?

Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=da9519e

/ok-to-test sha=cbadd11


Replace shrink URLs

Description

Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[x] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

Fix typo with proxying error message and shrink URL

To Do

Identify more URLs to shrink (but try to keep sfdc.co URLs to a minimum)

How to Test-Drive This PR

Verify that changed URLs work as expected

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[x] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

Hey @rsexton404, this Pr has been opened for a while, is there any actions needed for this PR?


feat(Select): Added multiselect and unselect

I felt like it would be great if the Select component could optionally be used as a multi-select too.
To do this, I basically changed everything to use an array of values instead of a string, which I concede is a bit more work for people only using the single selection but I didn't want to go ahead and create disjunctive props.
I also updated the example.

I just realized I need to also update the typescript props for the table under the docs. I'll make another commit soon

To be honest, I wanted to create a separate component initially but since you were just using strings I thought I may aswell just add it here and keep my first commit contained.
I definitely think the possible values shouldn't be restricted only to strings, especially since having multiple equal values will select all of them as active (even in the original).
But at the same time, when do you want a multi-select where values are exactly the same? How would the user know what's what?
Perhaps the best route is to do something similar like you did with the List component where the user needs to each block around the options they want added.
Then you could have a generic prop with the reference to the actual object that should be selected:
type T = $$Generic;
export let value: T;

Problem is what do you show in the UI? Another prop like text? I'm not a big fan of that but also can't come up with anything else.
I suppose you could use another slot to keep everything dynamic but eventually the developer is basically creating the component on their own 😄

You bring up the main issue I have with selects and multi-selects and I am just realizing I have fallen victim to and that is having the options prop only take an array of strings. This has always been annoying to me when I have run into it in other component libraries.
The option prop on <Select.Options.Option /> should be able to take both a string and an object. If an object is provided the dev will need to specify an additional prop optionLabel or something like that which would be the key of the object you want to be displayed to the user. When an option is selected then the whole object is passed back to the dev to do whatever they want with it (this would mean the value prop would need to be altered to handle objects as well as strings). Below is a code example of what I would propose:
const options = [{
  label: "Label 1",
  value: "value_1"
},{
  label: "Label 2",
  value: "value_2"
}]

<Select
  ...
>
  <Select.Options slot="options">
    {#each options as option}
      <Select.Options.Option {option} optionLabel="label" />
    {/each}
  </Select.Options>
</Select>

This of course doesn't even answer the purpose of the original pull request but definitely needs to be addressed. I think MultiSelect should be its own component but I want to see how other UI libraries are handling this before I commit to it. I remember some libraries have used a simple multiple prop similar to the HTML <select> element which I like for simplicity and practicality purposes.

This may be a good use for the <svelte:component /> element. We could then build the SelectMultiple component, rename the existing Select component to SelectSingle, replace the Select component with the <svelte:component / > which will render the correct component based on the multiple property. We can provide a dev warning that when multiple is true the values property needs to be provided and when multiple is false they will need to provide the value property. I have some time tonight that I can start making this move as well.
As for the UI, instead of a text value the selected items would be closable <Badge /> components and the options that are selected in the dropdown would all have a checkmark to the right.

@dominic-schmid I have Select wired up but this will be a breaking change that will also affect the Autocomplete component. No real way around it as it is what will allow the most flexibility but may require some actual documentation to explain instead of the example and props/slots table unfortunately which I am not a fan of, I like to keep things simple. I should have the Autocomplete wired up tonight and hopefully pushed.


Relative release LR links not working for nameusage export

@mdoering, the command you sent to Johanna doesn't work because of the LR on the nameusage export service results in a 404: Dataset not released error.
curl -s -H "Accept: text/csv" "https://api.catalogue.life/dataset/3LR/nameusage?min=family" > col-families.csv

The name usage export works for the draft and April edition:
curl -s -H "Accept: text/csv" "https://api.catalogue.life/dataset/3/nameusage?min=family" > col-families.csv

I could email Johanna back and tell her to temporarily use the April release, unless you think this might be a quick and easy fix?
curl -s -H "Accept: text/csv" "https://api.catalogue.life/dataset/2123/nameusage?min=family"

On a side note, the API is also saying that dataset 3 was never released at the latest endpoint, which seems potentially incorrect:
https://api.catalogue.life/dataset/3/latest

Weird, I did use the exact same command yesterday.
The backend cannot find the latest release, which you can always also access explicitly via curl -v https://api.catalogue.life/dataset/3/latest but which gives the same 404

somehow the source_key column in the database table was empty. I cannot explain why, but its back again

Ah, I updated the aliases and titles of the releases via the UI. That must have reset the sourceKey which is a bad thing that should never be possible.


Custom script icons render too small on Retina display

Tested versions
v4.3.stable.official [77dcf97d8]
System information
Godot v4.3.stable - macOS 14.6.1 - GLES3 (Compatibility) - Intel(R) UHD Graphics 617 - Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 Threads)
Issue description
When setting a custom @icon on a script, the icon renders smaller than expected in the Scene Tree. The icon preview in the FileSystem renders at the correct size.

I'm using a MacBook Air with a high DPI / Retina display:
Screen Width: 1440 pixels
Screen Height: 900 pixels
DPR (Device Pixel Ratio): 2
Steps to reproduce

Create a new script
Add a custom @icon pointed at an asset in the FileSystem (.png and .svg both tested)

@icon ("res://assets/icons/icon_save.svg")
extends Node2D
class_name SaveDataResource

Observe icon in FileSystem pane at incorrect size

Minimal reproduction project (MRP)
customiconsizeissue.zip

Checking "Scale With Editor Scale" in the import tab and then reimporting it should resize the icon to the correct scale.

@detomon Good catch, this does fix the problem for SVG icons! Does lead me to a few additional questions though:

Should this be checked/true by default? I can't think of any reason why someone would want to use an SVG in the Editor but not scale it to match.
Should only SVG assets be allowed as custom @icons? Looks like all the built-in icons are SVG and I don't see that Scale With Editor Scale option for importing PNG assets, which leads me to believe the Editor prefers SVG for @icon. And I wouldn't be against the idea of requiring SVG for custom icons, for the sake of simplicity and ensuring accurate rendering.

The documentation doesn't specify a filetype, so at the very least it feels like there's an opportunity for providing clearer user guidance.


Refactors server map creation

Remove options for serial/parallel mode
Execute on calling thread for single node link scans
Have spring manage the executors
Propagate spring contexts over to workers for creating server map

resolves #3783

Codecov Report

Merging #3785 into master will decrease coverage by 0.04%.
The diff coverage is 42.3%.

@@            Coverage Diff             @@
##           master    #3785      +/-   ##
==========================================
- Coverage   40.85%   40.81%   -0.05%
==========================================
  Files        2174     2174
  Lines       70825    70772      -53
  Branches     9769     9743      -26
==========================================
- Hits        28939    28884      -55
- Misses      39112    39125      +13
+ Partials     2774     2763      -11

Impacted Files
Coverage Δ

...int/web/dao/hbase/HbaseMapStatisticsCallerDao.java
0% <0%> (ø)
:arrow_up:

.../task/SecurityContextPropagatingTaskDecorator.java
0% <0%> (ø)

...b/task/RequestContextPropagatingTaskDecorator.java
0% <0%> (ø)

...ercorp/pinpoint/web/task/ChainedTaskDecorator.java
0% <0%> (ø)

...int/web/dao/hbase/HbaseMapStatisticsCalleeDao.java
0% <0%> (ø)
:arrow_up:

...pender/histogram/NodeHistogramAppenderFactory.java
100% <100%> (+37.5%)
:arrow_up:

...map/appender/server/ServerInfoAppenderFactory.java
100% <100%> (+37.5%)
:arrow_up:

...pender/histogram/DefaultNodeHistogramAppender.java
82.35% <100%> (ø)

...web/service/map/ApplicationsMapCreatorFactory.java
100% <100%> (+37.5%)
:arrow_up:

...map/appender/server/DefaultServerInfoAppender.java
88.57% <100%> (ø)

... and 12 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 cc40329...831234b. Read the comment docs.


Add swagger doc

#68  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AmineAfia and the rest of your teammates on  Graphite


Move gamelet command-line option to main.cpp

This PR contains following changes:

Removed GRemoteHist/Port globals - OrbitApp now holds the remote_address.
Removed headless option
Added ABSL_FLAG after this commit use "--gamelet address" instead of "gamelet:"
Started moving command-line parsing to corresponding main.cpp

Test: Run client with new option - make sure it connects to the server

(resolved conflicts)

ptal

(resolved conflicts)

I did not find anything about command-line options in readme/development.md - where is the documentation about startup flags?
(will address documentation in a separate CL - merging this one.)


Support for no-header samplesheets

This PR adds support for no-header samplesheets for CSV, TSV and YAML

Docs will be updated soon, just trying to get this in a PR already ;)


Use roles/external as the default location for ansible-galaxy install

What does this Pull Request do?
If a user executes the following command:
ansible-galaxy install -r requirements.xml

The roles will be installed into roles/internal, since no specific path has been specified and the first path listed in the configuration is roles/internal.
This pull request changes this behaviour such that the default location it will install roles into is roles/external. This is useful for those who want to use the Ansible roles but do not with to use it via Vagrant (which specified the roles/external path explicitly).
What's new?
A in-depth description of the changes made by this PR. Technical details and
possible side effects.

Default location of roles installation changed to roles/external rather than roles/internal

How should this be tested?
Execute the command:
ansible-galaxy install -r requirements.xml

Note that the roles are installed in the correct location without the need of also giving the explicit path.
Interested parties
@Islandora-Devops/committers

Can't tell you how many times this has annoyed me.


Create element in default position

When I try create a new element in the default position create it at the bottom of the list.
Example:
*********************************
* Tasks
*********************************
* id
* name
* position , NOT NULL, DEFAULT 0
*********************************

class Task
 acts_as_list  top_of_list: 0, add_new_at: :bottom
end

# existing elements
task position: 0 id: 20
task position: 1 id: 35
task position: 2 id: 15
task position: 3 id: 14
task position: 4 id: 16
task position: 5 id: 17
task position: 6 id: 18

# create new element
task = Task.create(position: 0, name: 'I want to be at the top')

task.position => 7 # but I wanted to create it at position 0

How can I create a new element forcing the default position?

Joining in late, but this sounds like two different scopes to me.
acts_as_list scope: [:task_list, :status], add_new_at: :top
or something like that. Still that wouldn't allow for the complex logic about where in the list an item in the complete status scope should go when it joins that scope. Callbacks are probably the answer, or manually specifying the position after checking the existing entries.
I'll close this for now since it's had no action for a while, but I'm happy to discuss it further if you want.


Atom unresponsive when switching between windows on desktop

The Atom window becomes unresponsive for 3-5 seconds when I take focus away from the window to another ie: Chrome, then back to Atom. this started happening after I added multiple project folders in the the file tree.

Hmm.. if you are running a lot of programs at the same time, it could be that your computer was using a lot of memory. It's a long explanation, but if you want you can just provide operating system and memory usage / memory available if you can or want.
At least, the hypothesis goes as following:
If your computer uses more memory than it can hold in memory, it will try to swap memory, known as dumping memory on the (relative very slow) storage device so there is memory available to the system (which probably still is a hard disk these days, but ssd's are becoming more common).
Every time your computer swaps it can happen that the computer freezes, especially if it takes a lot of time to make it happen.
Though on the newer linux editions, os x 10.9 or later and the yet publicly unreleased (slow ring) windows 10 build 10525 (this build is a fast ring, known as a candidate for slow ring) all support memory compression to delay that.
How to detect: most systems have a control panel to check memory, if there is memory in swap, its likely to blame swap if the processes involved (in this case chrome and atom) are memory heavy.
How to solve: use less memory by using less apps, apps that consume less memory, or add more memory.

I quickly learned the delay was because of the re indexing of each projects GIT. It does not do this with smaller project folders.
Sent from my iPhone

On Sep 21, 2015, at 6:57 AM, Anthony Van de Gejuchte<EMAIL_ADDRESS>wrote:
Hmm.. if you are running a lot of programs at the same time, it could be that your computer was using a lot of memory. It's a long explanation, but if you want you can just provide operating system and memory usage / memory available if you can or want.
At least, the hypothesis goes as following:
If your computer uses more memory than it can hold in memory, it will try to swap memory, known as dumping memory on the (relative very slow) storage device so there is memory available to the system (which probably still is a hard disk these days, but ssd's are becoming more common).
Every time your computer swaps it can happen that the computer freezes, especially if it takes a lot of time to make it happen.
Though on the newer linux editions, os x 10.9 or later and the yet publicly unreleased (slow ring) windows 10 build 10525 (this build is a fast ring, known as a candidate for slow ring) all support memory compression to delay that.
How to detect: most systems have a control panel to check memory, if there is memory in swap, its likely to blame swap if the processes involved (in this case chrome and atom) are memory heavy.
How to solve: use less memory by using less apps, apps that consume less memory, or add more memory.
—
Reply to this email directly or view it on GitHub.

@crobinson42 is right.  It is because Atom reindexes all the git projects in onFocus for some reason.  It seems like Atom should monitor file activity even when it doesn't have the focus and this reindex should not be necessary.  But I haven't experimented with the effects of turning it off myself.

Experiencing this with Atom 1.0.19, OSX 10.10.5, with plenty of free memory (according to Activity Monitor reporting)

Crosslinking my report here too: https://github.com/atom/atom/issues/10107#issuecomment-204879670

Why re-index all git on focus? Also I think there was some work on reducing I/O recently, didn't it fix it?

@crobinson42 I can confirm it is the indexing of larger git repos.
When 'tree-view' package is disabled, Atom becomes responsive again. Obviously on the cost of navigating through the project.

Seems like this is still unfixed. Any work around suggestion aside from as @dthettich mentioned, disabling the 'tree-view' package?

@binhonglee doesn't seem like theres a fix...? I tried disabling tree-view with no luck still 500-800ms of delay before I can begin typing again once I focus Atom.
Does anyone know when this started? I don't remember this happening on older versions of Atom. I'm thinking about downgrading. I've tried fresh installs, different computers. Same issue. Slight delay when refocusing on Windows. Its NOT git related for me. Using blank/empty files. I have an i7 3700k and 16GB of RAM and an SSD + GTX1070 I shouldn't be having this near 1 second lag with Atom. Every other program I run doesn't have this issue.
Is there any more information on this? Anyone?

Just my two cents:
For me the problem was in "svn" plugin (I work on 16+GB svn project). I had a constant lag for 4-5 seconds.
After disabling only the "svn" plugin, the lag disappeared completely.
Unfortunately the "svn" plugin is unusable as-is in my case, unless developers decide to move in async/background direction.

Anyone here just be SURE to stay tuned on #9544
Thats where the git related slowing is being looked at / fixed.

Fixed by https://github.com/atom/git-utils/pull/80. Shipping in 1.22.


First attempt at pairing algorithm

Changes:

Implemented pairing algorithm in Javascript based on Python implementation.

Todo:

Pull data on historical pairings
Create group DM's based on algorithm output

Great work!


Discussion: Multi-OS support

Those who have followed the project know that I'm very hesitant to add support for other OSs in goss. This ticket is to discuss some of the challenges that need to be solved prior to dedicating time/resources to this endeavor:

Locally testing and reproducing bugs - Currently any goss feature/test can be reproduced on a Linux, OSX, and windows machine through docker. What would be the path to locally test/reproduce features locally for Windows and OSX?

Similar to 1 above. Currently, due to docker providing a reproducible test environment, it is very easy to implement CI for goss in travis or other CI engines so long as they support docker. What would be the path to provide isolated/reproducible tests Windows and OSX?

Some concepts in goss don't translate well for windows/OSX. For example, package managers. Goss assumes one package manager per distribution. Windows and OSX are a bit different when it comes to this. For example, windows has packages that can be queried through powershell, but also has a bunch of 3rd party package managers (eg. chocholaty, scoop, appget.). OSX has appstore (not sure how to query this on the CLI or if it's even worthwhile), but then there's macports/brew/nix. What will be the criteria that determines what will be supported by goss and what won't be? Regardless of choice, #539 would have to be completed first.

Given that I currently do not have an interest in maintaining Windows and OSX support, how will this effort continue to be maintained? If maintainers will step up and own parts of the code, what happens when they inevitably move on? Would windows/OSX just be unsupported versions of goss?

ROI... I assume Goss on Linux will naturally attract both greater interest as well as support from the open-source community. Is Goss useful for OSX given that it's not a common server platform? For windows, how likely are windows sysadmins to use Goss. Does the concept of a YAML-based, CLI system testing tool make sense inside of a Microsoft ecosystem?

👋 I do various multiplatform things. I'm currently evaluating different serverspec style tools to as part of a package building pipeline. I found goss, and the small nature of it appealing. But, windows and osx support are pretty key. Some rambling...

I'm wondering if it makes sense to split Goss up into multiple distributions/projects with different maintainers (from #411)

I think this is undesirable. It makes things much less simple.

Locally testing and reproducing bugs

I think that's a hard, if not impossible, problem. While there are some VM answers, they're cumbersome. It's not ideal, but I've taken the approach of trying to have well tested pieces (if not existing cross platform go libraries), and building on them. I don't worry much about daily work on windows, I spin that up as needed.

implement CI for goss

There are mac and windows CI options. Similar to the local testing, this may not be critical. But, I believe travis, Azure, and circleci all have options here. (I don't much use travis anymore, it seems pretty moribund)

Given that I currently do not have an interest in maintaining Windows and OSX support, how will this effort continue to be maintained

That seems harder. goss looks like a small project, with a single busy maintainer. Either it has some less loved parts, or it gets bigger. (https://github.com/aelsabbahy/goss/issues/411)

Goss useful for OSX given that it's not a common server platform? For windows, how likely are windows sysadmins to use Goss. Does the concept of a YAML-based, CLI system testing tool make sense inside of a Microsoft ecosystem?

That seems like a narrow view of what it's useful for. As mentioned, I'm looking to test package behaviors.

Some concepts in goss don't translate well for windows/OSX. For example, package managers. Goss assumes one package manager per distribution

I think this is the core of it. But, I don't know that it needs to be perfect. I think it depends on where the project goes. I could imagine a framework where not all drivers are supported on all OSes.

Things like  process & file is based on an underlying library that already has cross platform support. Those are easy.
service is a really tricky question. I think it has a pretty clear meaning on windows, but I think on linux it's much less clear. I didn't trace through the code to see how that's determined, but it seems fraught.
Similar, package. While there are only a couple common packaging systems, there's a lot of complexity in the weeds.

Another route here, would be to use osquery. This was discussed a bit in https://github.com/aelsabbahy/goss/issues/198

Wonder if it would be best to just rely 90-100% on unit tests for Windows/OSX?

That seems like a narrow view of what it's useful for. As mentioned, I'm looking to test package behaviors.

Can you expand on this or provide some examples of this use case?

That seems like a narrow view of what it's useful for. As mentioned, I'm looking to test package behaviors.

Can you expand on this or provide some examples of this use case?

Sure! I was saying I thought testing servers was narrow. Specifically the server part. One of the big shifts I've seen in the last several years, is that endpoint management has adopted more and more configuration management tools. There's clear space to help with any kind of verification and testing of that.
As said, I'm currently looking to test packaging builds. For me, this is basically targeting laptops. Did this msi put the files where I wanted?  Did the rpm install a systemd file that correctly tried to start a service? The the pkg install? Are they detected as code signed?
I generally think of goss in the same category as inspec and serverspec. Some use cases I've seen for those tools that are often server oriented, but not inherently. Another one, mostly from inspec is compliance oriented testing.

For 1 and 2, a solid unit test coverage in conjuncture with a CI Integration Test step that targets all supported OSs (with the ability to run them locally if the OS matches) should suffice. The ability to spin up an annoying VM is aways around to debug complex bugs.
3 If a concept doesn't translate well then simply don't implement it and evaluate the user requests.
4 Allow the interested contributors to add the other OSs support under some kind of "preview" mode. I am not fully convinced that the code changes will be drastic. If these changes aren't too vast the upkeep should be minimal by relying on the CI Integration Testing.
5 I agree with @directionless that there are many more uses for Goss that just testing servers. Even testing servers is a wide topic that can go into compliance testing very easily.

Locally testing and reproducing bugs - Currently any goss feature/test can be reproduced on a Linux, OSX, and windows machine through docker. What would be the path to locally test/reproduce features locally for Windows and OSX?

travis supports both platforms; while that's not ideal, it's probably fine for a gate initially.
It's quite likely that people wanting support for Windows and OSX will have those platforms, at which point the problem is limited to just having a working golang toolchain installed, which is an installer package for either platform.
On macOS, within our internal CI, we're starting to use Anka, which is a container-analogue for macOS that looks promising. It's sadly not OSS or I'd suggest it.

Similar to 1 above. Currently, due to docker providing a reproducible test environment, it is very easy to implement CI for goss in travis or other CI engines so long as they support docker. What would be the path to provide isolated/reproducible tests Windows and OSX?

I'd be satisfied with travis' Windows and OSX support; it provides clean enough instances per job IMO, and I'd be comfortable executing integration tests directly on the reproducible-enough host, there.

Some concepts in goss don't translate well for windows/OSX.

I'm personally not so invested in the package assertion being cross-platform implemented - as in, it would be nice, but I can work around it via command very readily. Usually, I want to know that a binary is present on PATH and it doesn't matter as much to me how it got there. (Others' mileage may clearly vary)
The ones besides package-managers that stand out for me are

file: logically the same file can exist at different paths on different platforms; it would be advantageous to make the file key be a name, and introduce a paths dictionary to the assertion keyed on platform name to allow the same file content to be asserted against at a platform-specific location. Similar to how command now has an exec attribute that is the actual command to assert against.
file: there's different symlink logic going to be required on Windows - but many people on Windows tend to not use symlinks.
file: mode/user/group are not a thing on Windows, but Windows instead has a very expressive ACL system. (some might say too expressive...)
service: would need launchd and windows service manager implementations
group: would be a different implementation on Windows (net localgroup ... or the newer powershell cmdlets)
interface: would probably not work without changes on Windows.
mount: would have Windows-specific semantics as Windows filesystems are volume centric
user: would be a different implementation on Windows (net user ... or the newer powershell cmdlets)

[maintenance]

At improbable, we're willing to chip in some support and maintenance; we depend on goss cross-platform. We use it for

local workstation drift detection
CI drift detection (and, more recently, automatically killing agents that drift)

[ROI]

goss is useful for both. I'd argue more so Windows and OSX because those platforms

have by comparison a more difficult configuration-management experience
(Windows) fewer people that are command-line first

so being able to make machine assertions is more valuable because the chance of drift is way higher.

How does this sound as a game plan?

Create $Resource_$OS.go files to open the door for other OS support in the future. (This can be started now)
Create a ticket for each resource/os combination or one for OS where we can agree on syntax for that particular resource and possible dependency changes.
For Windows/osx unit tests will be required, maybe a smoke test in CI can be added too as a bonus.
Documentation changes required to mention the "beta" nature of multi-os initially.

file: logically the same file can exist at different paths on different platforms; it would be advantageous to make the file key be a name, and introduce a paths dictionary to the assertion keyed on platform name to allow the same file content to be asserted against at a platform-specific location. Similar to how command now has an exec attribute that is the actual command to assert against.

@petemounce I'd like to discuss this further maybe in a ticket from item 2 above.

Also, as a side.. potentially related note. There's a batch of changes scheduled that will hopefully be major enhancements to both the templating and matching logic.
Trying to balance those and new OS support.

@petemounce
To make progress on this, and since you guys at improbable have already made progress on this.
How does this sound?

Close out all existing multi-os tickets.
Create _linux.go files and add notimplented errors
Add windows/osx update document with table that shows what's supported where. (Have unit tests with this)
See what the next steps are from there

Sorry for taking a while to respond. Crazy world. Thank you for chasing, and progressing!
I think those steps are very workable.
I think renaming files to _linux.go is unnecessary; I think it will be less effort overall to introduce _windows.go and _darwin.go only where needed. Based on our (caveat: not exhaustive) trials, many things work fine.
I think a matrix is a great idea. I propose 2 columns per OS, one each for implemented-with-unit coverage and with integration coverage. Maybe one more for tracking issue? The more granular, the more likely contributions will drive by.
I'll open a PR to add the changes we made to enable the binaries to be output from CI tomorrow, and document those as alpha. Does that sound alright?

Yeah, that sounds great. I would like a table in the documentation for what's supported for each platform.

I think renaming files to _linux.go is unnecessary

I just meant for things that aren't cross-platform. Otherwise, what happens when yaml contains an unsupported test for that platform?
I have a lot of changes that in excited for going into the 0.4.0 release, maybe initial multi-OS can be part of it.

I just meant for things that aren't cross-platform. Otherwise, what happens when yaml contains an unsupported test for that platform?

Gotcha, ok.


Issue during "ng build"

ERROR in src/app/admin_modules/admin_dashboard/admin-dashboard-modules.ts(32,45): error TS2307: Cannot find module './dashboard/admin-dashboard/modal/edit-dashboard-modal /edit-dashboard-modal.component'.
src/app/admin_modules/admin_dashboard/dashboard/admin-dashboard/edit-dashboard/edit-dashboard.component.ts(7,45): error TS2307: Cannot find module '../modal/edit-dashboard-modal /edit-dashboard-modal.component'.

There might be an issue with your environment setup as we have put continuous CI checks for compilation on every PR.


Fix typo in DEVELOP.rst

thanks for this fix! can you please sign our CLA so I can merge it?
see https://crate.io/community/contribute/agreements/

hi @ndlinh - it seems like your pull request is open since quite some time. i'd love to merge it :)
all we need is your CLA - even for a minor pull request like yours.
https://crate.io/community/contribute/agreements
thanks a lot!
jodok

I think we can close this, the typo got fixed some time ago.


feat: Added props for headerBackgroundColor and borderBottomColor

Description
Added props for headerBackgroundColor and borderBottomColor with default values based on the Appearance setting.

Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

This PR is great. Any update? Thanks

@kanelloc  - all looking good. can we please have it updated it asap. Cheers

Closed as this overlaps with this PR: https://github.com/kanelloc/react-native-animated-header-scroll-view/pull/62


create more graceful (not hanging) for messages that aren't received

current implementation just hangs if an expected message doesn't come in. A timeout should be set for how long to wait before failing a test

part of 3.0.0 release


Errors while running npm test

Hey so I'm getting a strange error when trying to run npm test and I can't figure out why.
Here are the results:

32 passed
1 failed
1 rejection

server › models › post › Should correctly give number of Posts

t.deepEqual(posts.length, res.body.posts.length)
|                      |
2                      0
  _callee$ (post.spec.js:33:5)
tryCatch (/home/nix/Documents/poke/node_modules/regenerator-runtime/runtime.js:62:40)
GeneratorFunctionPrototype.invoke [as _invoke] (/home/nix/Documents/poke/node_modules/regenerator-runtime/runtime.js:336:22)
GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/nix/Documents/poke/node_modules/regenerator-runtime/runtime.js:95:21)
_combinedTickCallback (internal/process/next_tick.js:67:7)
process._tickCallback (internal/process/next_tick.js:98:9)

Unhandled Rejection
ValidationError: Path slug is required.
MongooseError.ValidationError (/home/nix/Documents/poke/node_modules/mongoose/lib/error/validation.js:22:11)
model.Document.invalidate (/home/nix/Documents/poke/node_modules/mongoose/lib/document.js:1402:32)
/home/nix/Documents/poke/node_modules/mongoose/lib/document.js:1278:17
validate (/home/nix/Documents/poke/node_modules/mongoose/lib/schematype.js:701:7)
/home/nix/Documents/poke/node_modules/mongoose/lib/schematype.js:738:9
SchemaString.SchemaType.doValidate (/home/nix/Documents/poke/node_modules/mongoose/lib/schematype.js:706:19)
/home/nix/Documents/poke/node_modules/mongoose/lib/document.js:1276:9
_combinedTickCallback (internal/process/next_tick.js:67:7)
process._tickCallback (internal/process/next_tick.js:98:9)
fs.js:584
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open '/home/nix/Documents/server.js'
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.readFileSync (fs.js:431:33)
at LookupStore.Store.mix.get (/home/nix/Documents/poke/node_modules/nyc/node_modules/istanbul/lib/store/fslookup.js:40:19)
at HtmlReport.Report.mix.writeDetailPage (/home/nix/Documents/poke/node_modules/nyc/node_modules/istanbul/lib/report/html.js:411:67)
at /home/nix/Documents/poke/node_modules/nyc/node_modules/istanbul/lib/report/html.js:489:26
at SyncFileWriter.extend.writeFile (/home/nix/Documents/poke/node_modules/nyc/node_modules/istanbul/lib/util/file-writer.js:57:9)
at FileWriter.extend.writeFile (/home/nix/Documents/poke/node_modules/nyc/node_modules/istanbul/lib/util/file-writer.js:147:23)
at /home/nix/Documents/poke/node_modules/nyc/node_modules/istanbul/lib/report/html.js:488:24
at Array.forEach (native)
npm ERR! Test failed.  See above for more details.

The slug error is an error that spawned from the latest commit, but I see that error on the Travis build so I'm not worried about it.
The other two messages are confusing me.
For example, why is it looking in the the documents directory when the project is in "poke" folder, and the server.js file is in the server folder?
"Error: ENOENT: no such file or directory, open '/home/nix/Documents/server.js'"
The other error, where it's not returning the correct amount of posts is also confusing. When I do an npm start, the starter seems to load fine with the two dummy blog posts.
I'm running node v5.12.0, npm 3.8.6, MongoDB 3.0.12 on CentOS 7 with a brand new mern init (also just tried cloning the repo). I've tried npm cache clean, restarting and starting a new project.

In order to fix mine:
Updates on package.json:
dependencies: {
  ...,
  "nyc": "^7.1.0",
  "babel-plugin-istanbul": "^1.0.3",
},
nyc: {
  "require": [
    "babel-register"
  ],
  "sourceMap": false,
  "instrument": false
}

Updates on .babelrc:
"env": {
  "test": {
    "plugins": ["istanbul"]
  }
}

Yeah that seems to have helped, thank you!


IE fails to update values when data-binding in style tags

 Issue by filaraujo
Monday Aug 18, 2014 at 15:07 GMT
Originally opened as https://github.com/Polymer/polymer-dev/issues/75

Unsure if it is expected to data-bind in style tags, however IE will not propagate those changes when the values update.
div[{{type}}] {
    background: red
}

I find this incredibly useful.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


plumb through identifyBehavior

r? @mmaxim Thanks!
This needs to ship with https://github.com/keybase/kbfs/pull/535; otherwise it crashes the KBFS process.
Dear GitHub please close #4812 when this is merged.

(I did some hacks to try the GUI mode from CLI, and it seems to be working. i.e. no pop-ups with GUI mode)

A couple high level comments:
1.) Can we change TLFUserBreak to be a more accurate name? Like TLFIdentifyFailure? The term break could mean anything.
2.) Is it possible to not create ConversationLocalWithBreaks? It just seems like an awkward name. Can we just have the "breaks" (which we should rename) sit along side the conversationsl ike we do in the result from GetThreadLocal?

Thanks @mmaxim !

I'm OK with changing TLFUserBreak to TLFIdentifyFailure. It would also change the KBFS side though. I'll make the PR;

The ConversationLocalWithBreaks is also the type returned by service RPCs. For example, GetInboxAndUnboxLocalRes has an array of conversations, and it'd be useful to group them together. The breaks cannot just go inside the ConversationLocal because it's the type that gets stored in local storage (in the future anyways). But I guess we could 1) in chat_local.go, i.e. service, shorten the name, e.g. how about CLB as a record consisting of ConversationLocal and []TLFIdentifyFailure?; 2) in inboxsource.go, just expand it into two fields like what you suggested. Does it sound good?

I thought you could just do for the inbox res what you currently do for the thread view result:
   record GetThreadLocalRes {
      ThreadView thread;
      array<RateLimit> rateLimits;
      array<keybase1.TLFUserBreak> breaks;
    }

Just stick it alongside in the result type.

Also I am wondering if we need to make the identify behavior a parameter to all these RPCs. Could we just figure out which behavior to use based on the client type on the connection?

Just stick it alongside in the result type.

but for GetInboxAndUnboxLocalRes, it would become:
  record GetInboxAndUnboxLocalRes {
    array<ConversationLocalWithBreaks> conversations;
    union { null, Pagination } pagination;
    array<RateLimit> rateLimits;
    array<array<keybase1.TLFUserBreak>> breaks;
  }

which isn't very nice...

Also I am wondering if we need to make the identify behavior a parameter to all these RPCs. Could we just figure out which behavior to use based on the client type on the connection?

Sounds interesting! That eliminates the possibility to use GUI mode from kbc api though. But I guess that's probably fine?

Why would ConversationLocalWithBreaks need to continue existing? Wouldn't it be:
 record GetInboxAndUnboxLocalRes {
    array<ConversationLocal> conversations;
    union { null, Pagination } pagination;
    array<RateLimit> rateLimits;
    array<array<keybase1.TLFUserBreak>> breaks;
  }

So maybe the behavior parameter on the RPCs is like an override kind of thing, might make sense to ask Nojima what would be most convenient on their side.

Why would ConversationLocalWithBreaks need to continue existing? Wouldn't it be:

Yes sorry I copied and pasted the chunk but forgot to change the type. But still, it has an array of arrays of breaks, and the caller would need to use index to associate the breaks with conversations.

Could we make it a pointer inside ConversationLocal that is just nil when we write to local storage? We aren't even using that inbox storage right now, I'd hate to see it be the source of making things more complicated outside of it.

@mmaxim I guess that would work. But I'm worried it would cause confusion. If you get a ConversationLocal with nil break, does it mean it identified with no breaks, or does it mean it doesn't have information on identify?

Or how about we store a different type to storage then, call it ConversationStorage and not have the identify break list in there.

Hmm that's interesting. So we can only have a ConversationLocal that has run the identify, and if the breaks is nil, there's no break. Sounds good to me!

Yeah ConversationLocal just has the list of identify breaks in it all the time, and this new type ConversationStorage does not.

Sounds good; thanks Mike!

@mmaxim I'm not sure how to detect connection type and whether it's necessary for now, but other parts are ready for review. Thanks!
sister PR in KBFS: https://github.com/keybase/kbfs/pull/543

The commits 02c542268044...a3432b7cabd0 introduce visual changes on linux. :mag_right: 1 changed

Changed: Paper_Key-Normal (before) (after)

The commits 41edef05f823...f08654d58eed introduce visual changes on linux. :mag_right: 1 changed

Changed: Pinentry-Paper_Key_Error (before) (after)


Add configuration source

Adding a configuration source that allows ASPNet Core to add configuration through a configuration builder.

@JJVertical There appears to be a test failure in your Tests


Downloaders

Here is a revised pull request that:

Seperates the downloading work flow previously
Removes the findNLDI suggestions

Coverage decreased (-5.5%) to 90.182% when pulling 0888c6398f0a1221d3cda2c09f125f95dab9ce03 on mikejohnson51:downloaders into f5d866af80eac495e8893bf58fd803ae995874b9 on dblodgett-usgs:master.

👍 Thanks! I'll work on some tests quick.


Feature Request: Add support for wl-clipboard

In wayland, xclip and xsel won't populate the clipboard.
https://github.com/bugaevc/wl-clipboard

Hey @gdevenyi 👋
Can you please give the gh-606 branch a try please?

Success!


Error when trying to add Bob's "electronics-machine"

Hi. I'm playing with lots of mods, including "Factory levels" and compatibility patch for Bob's machines. The thing is that patch doesn't add Bob's "Electronics machine". So I tried to correct this injustice and edit it: copied "assembling machine" file and edit it, replaced "assembling-machine" to "electronics-machine", edited machine parameters accordingly original Bob's, also edited "control.lua" and added section responsible for updating machines.
The game loads without errors. But when I loaded map, I got this error:
The mod Factory Levels (0.6.9) caused an unrecoverable error..

Error while running event factory-levels::on_nth_tick(6)
Unknown entity name: electronics-machine-2-level-36
stack traceback:
	[C]: in function 'create_entity'
	__factory-levels__/control.lua:349: in function 'upgrade_factory'
	__factory-levels__/control.lua:400: in function 'replace_machines'
	__factory-levels__/control.lua:448: in function <__factory-levels__/control.lua:429>

I can say that I already added another machine before (from my edited version of "Munda big machine" mod – I just added 4 more tiers for this machine and more crafting_categories added by other mods), and all worked. So I don't know why I got an error when adding this machine.
If you need edited files, I can upload them here.

Closed.


[Bug] Desktop and browser view differs on MacOS

1. Your usage scenarios? | 您使用的场景？
Run initially created project.
2. What did you do? | 您做了什么操作？
Launched command wails dev
3. What are your problems? | 您遇到了什么问题？
On MacOS desktop view differs from browser view. Desktop view styles seems like broken.
Desktop view:

Browser view:

4. What is your expected outcome? | 您期望的结果是怎样的？
I expect to have same view on desktop as in browser.

I'll fix it later.👌

No, I didn't modify main.go

@metalrex100
You can refer to the instructions in the documentation to define the title block yourself.
https://wails.io/docs/reference/options/#titlebar-struct

@crushonyou18 Yeap, that is what I did. I replaced custom title configuration by mac.TitleBarDefault() to make it look more accurate. Also with styles changes I fixed button font. Seems like on desktop font rendered in different size.
Even that everyone can fix it, it still not really cool when you run just cloned project and it has markup problems. For someone it may look like broken package.

@misitebao with new release version I'm getting error on project initialization:
Command:
wails init -n wails-vue-demo -t<EMAIL_ADDRESS>
Error:
[vite:load-fallback] Could not load /Users/metalrex100/dev/mine/wails-vue-demo/frontend/node_modules/vue/dist/vue.runtime.esm-bundler.js (imported by src/main.js): ENOENT: no such file or directory, open '/Users/metalrex100/dev/mine/wails-vue-demo/frontend/node_modules/vue/dist/vue.runtime.esm-bundler.js'

@metalrex100
I have not encountered the problem you mentioned above, please make sure you are using the local wails?
Since the wails repository has not released the latest changes, you need to download wails locally and enable the replace function in go.mod.


[DNM]Release 6.5 wal debug

What is changed and how it works?

Issue Number: Close #xxx

What's Changed:

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

Close stale PR since wal issue has been fixed.


Subscription ID  is hardcoded somewhere in the Azure deployment

Miami dade got the error
Subscription id  is not known to azure CLI.
That subscriotion id is the exigy ID -- so it must be hardcoded somewhere.

Was it deploy from our github repository? If so, it's probably pulling the wrong secret.

it was my own fault -- i hard coded our subscription id when i added a
nother variable...  fixed now
On Tue, Dec 10, 2024 at 3:38 PM Gwendolyn Goetz @.***>
wrote:

Was it deploy from our github repository? If so, it's probably pulling the
wrong secret.
—
Reply to this email directly, view it on GitHub
https://github.com/civiform/civiform/issues/9428#issuecomment-2533225770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLR5DSHJJMDYL2RFCCHFJSL2E53P5AVCNFSM6AAAAABTMBVVLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZTGIZDKNZXGA
.
You are receiving this because you were assigned.Message ID:
<civiform/civiform/issues/9428/2533225770 @.***>

--
-- ricardo


Update Tern version to 2.12

In docs/spdx-tag-value-mapping.md, update Tern version to 2.12

I am going to cut a new release this week and this PR will be outdated by then. I'll make sure to bump the version where this PR does when I cut the release.

Hi Rose,
Thank you
Great that there will be a new release!

@rnjudge
Hi Rose,
I am closing this as it has been fixed in 2.12.1.


Use jsonwebtoken instead of jwt for auth

I propose as an enhancement to use the jsonwebtoken crate instead of the jwt crate because the jwt crate's last update was two years ago and seems to be unmaintained.
Also the jsonwebtoken crate is the most used JWT crate at the moment, is actively maintained and is the "standard" for this purpose.
Thanks for your great work!

Are you referring to the JWT service implementation? The jsonwebtoken crate is currently being used in that project to encode/decode as of now. Let me know if I'm misunderstanding the request here, or if you meant using jwt in place of jsonwebtoken.

Are you referring to the JWT service implementation? The jsonwebtoken crate is currently being used in that project to encode/decode as of now. Let me know if I'm misunderstanding the request here, or if you meant using jwt in place of jsonwebtoken.

I mean the opposite. Use jsonwebtoken in place of jwt for the reasons posted above.

I'm not sure I 100% follow the ask here. The project does not use the jwt crate, it already uses jsonwebtoken as you mention. It's included in the conduit-infrastructure manifest and used in the token service, at least if I'm understanding the crate resolution correctly (which very well could not be the case!)

I'm not sure I 100% follow the ask here. The project does not use the jwt crate, it already uses jsonwebtoken as you mention. It's included in the conduit-infrastructure manifest and used in the token service, at least if I'm understanding the crate resolution correctly (which very well could not be the case!)

You can se the jwt crate in the dependencies of conduit-core/Cargo.toml.
Maybe I'm also missing something, could totally be the case 😁


investigate increment latencies

We received a report that increment latencies were showing up as ~40ms in a lambda environment.
We suspect that the lambda may have been re-constructing the momento client object, which could incur a new TLS handshake, which might explain it. But we should do some quick testing to validate that we are getting better results than that if we run a chunk of increments in a loop.

confirmed that latencies for increment look normal after fixing the client-reconstruction-issue, except for lambda cold start case.


remove duplicate RTGs

see https://github.com/Grimm-Aerospace/GrimmModlets/issues/3

see #3 response


Azure Deployment Script Error: "WindowsAzureMissingResourceError"

When following the documentation for using deis with azure, my instance runs into exceptions being unable to find the service.
There are both storage services with the proper path, and an affinity group setup
The command being run:
./azure-coreos-cluster foobar-api \
    --subscription <mysubid> \
    --azure-cert ./azure-cert.pem \
    --num-nodes 3 \
    --affinity-group "api" \
    --vm-size large \
    --pip \
    --deis \
    --blob-container-url https://foobar.blob.core.windows.net/vhds/ \
    --data-disk \
    --custom-data azure-user-data

It appears to fail attempting to use this PATH:
<mysubid>/services/hostedservices/foobar-api/deployments/foobar-api
Below is the output:
SSH arguments not given, generating certificate
Generated SSH certificate with thumbprint 039AA64E5D940585937906F86AD2C7DBDEC4E501
Creating the hosted service... Successfully created hosted service foobar-api
Uploading SSH certificate... Succeeded in 0s
Creating VM foobar-api-coreos-0... Succeeded in 0s
Creating VM foobar-api-coreos-1... Succeeded in 0s
Creating VM foobar-api-coreos-2... Succeeded in 0s
Traceback (most recent call last):
  File "./azure-coreos-cluster", line 269, in <module>
    ips = get_ips(args.cloud_service_name, args.cloud_service_name)
  File "./azure-coreos-cluster", line 260, in get_ips
    result = sms.get_deployment_by_name(service_name, deployment_name)
  File "/foo/g/.virtualenvs/azure/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementservice.py", line 457, in get_deployment_by_name
    Deployment)
  File "/foo/g/.virtualenvs/azure/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementclient.py", line 322, in _perform_get
    response = self.perform_get(path, x_ms_version)
  File "/foo/g/.virtualenvs/azure/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementclient.py", line 136, in perform_get
    response = self._perform_request(request)
  File "/foo/g/.virtualenvs/azure/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementclient.py", line 296, in _perform_request
    return _management_error_handler(ex)
  File "/foo/g/.virtualenvs/azure/lib/python2.7/site-packages/azure/servicemanagement/__init__.py", line 1996, in _management_error_handler
    return _general_error_handler(http_error)
  File "/foo/g/.virtualenvs/azure/lib/python2.7/site-packages/azure/__init__.py", line 544, in _general_error_handler
    _ERROR_NOT_FOUND.format(str(http_error)))
azure.WindowsAzureMissingResourceError: Not found (Not Found)

Problem solved: `` --vm-size large ``` is case sensitive.

Wow, I'm glad you figured that out. I'm glad Deis' docs have it correct as Large. Thanks for following up.

@mboersma It was an interesting problem for something so small. Each vm failed to create itself, but the script kept running overall until it realized the set wasn't being created.

I am getting the same error as well. I am issuing the following command:
./azure-coreos-cluster deis-dev --subscription 4f2745a4-f317-48a6-a50b-1b8c44ed1d68 --azure-cert azure-cert.free-trial.pem --num-nodes 3 --affinity-group deis-dev --vm-size Large --pip --deis --blob-container-url https://deisdev.blob.core.windows.net/vhds --data-disk --custom-data azure-user-data
SSH arguments not given, generating certificate
Generated SSH certificate with thumbprint 7D044D3EF9C388C14FAE6974C9D2CBA48C80D9D3
Creating the hosted service... Successfully created hosted service deis-dev
Uploading SSH certificate... . Succeeded in 5s
Creating VM deis-dev-coreos-0... Succeeded in 0s
Creating VM deis-dev-coreos-1... Succeeded in 0s
Creating VM deis-dev-coreos-2... Succeeded in 0s
Traceback (most recent call last):
  File "./azure-coreos-cluster", line 268, in <module>
    ips = get_ips(args.cloud_service_name, args.cloud_service_name)
  File "./azure-coreos-cluster", line 260, in get_ips
    result = sms.get_deployment_by_name(service_name, deployment_name)
  File "/usr/local/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementservice.py", line 456, in get_deployment_by_name
Deployment)
File "/usr/local/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementclient.py", line 322, in _perform_get
  response = self.perform_get(path, x_ms_version)
  File "/usr/local/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementclient.py", line 136, in perform_get
  response = self._perform_request(request)
  File "/usr/local/lib/python2.7/site-packages/azure/servicemanagement/servicemanagementclient.py", line 296, in _perform_request
  return _management_error_handler(ex)
  File "/usr/local/lib/python2.7/site-packages/azure/servicemanagement/__init__.py", line 1996, in _management_error_handler
  return _general_error_handler(http_error)
  File "/usr/local/lib/python2.7/site-packages/azure/__init__.py", line 544, in _general_error_handler
    _ERROR_NOT_FOUND.format(str(http_error)))
azure.WindowsAzureMissingResourceError: Not found (Not Found)


[AzureOpenAiChatOptions] Unable to set all possible options when calling AzureOpenAiChatModel

Bug description
Consider the attributes that can be set through AzureOpenAiChatOptions:

maxTokens
temperature
topP
logitBias
user
n
stop
presencePenalty
frequencyPenalty
deploymentName
responseFormat
functionCallbacks
functions

The AzureOpenAiChatOptions object is used in the AzureOpenAiChatModel to create the instance of ChatCompletionsOptions.
ChatCompletionsOptions has the following attributes:

messages
maxTokens
temperature
topP
logitBias
user
n
stop
presencePenalty
frequencyPenalty
stream
model
functions
functionCall
functionCallConfig
dataSources
enhancements
seed
responseFormat
tools
toolChoice
logprobs
topLogprobs

In code it seems like there's no way to set options like logprobs, enhancements or seed.
Furthermore, in the method that should merge two ChatCompletionsOptions:
private ChatCompletionsOptions merge(ChatCompletionsOptions fromOptions, ChatCompletionsOptions toOptions)

such options are not taken into account
Expected behavior
I'm expecting the AzureOpenAiChatOptions to be aligned with the currently available options for Azure OpenAi

Hi All!
This change is not working and is breaking things. It is adding the new options but makes more of them indirectly mandatory.
The Assert.notNull checks in AzureOpenAiChatOptions.Builder.with* make the attributes actually mandatory.  AzureOpenAiChatOptions.fromOptions is called from AzureOpenAiChatModel.getDefaultOptions. When the AzureOpenAiChatModel.defaultOption attribute doesn't have all the checked fields set (e.g. seed), there will be an exception when AzureOpenAiChatModel.getDefaultOptions. This will cause, for example, ChatClient.create to fail. This happen even when the AzureOpenAiChatModel( OpenAIClient microsoftOpenAiClient) constructor is used.
Caused by: java.lang.IllegalArgumentException: seed must not be null
	at org.springframework.util.Assert.notNull(Assert.java:172) ~[spring-core-6.1.13.jar:6.1.13]
	at org.springframework.ai.azure.openai.AzureOpenAiChatOptions$Builder.withSeed(AzureOpenAiChatOptions.java:297) ~[spring-ai-azure-openai-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.azure.openai.AzureOpenAiChatOptions.fromOptions(AzureOpenAiChatOptions.java:525) ~[spring-ai-azure-openai-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.azure.openai.AzureOpenAiChatModel.getDefaultOptions(AzureOpenAiChatModel.java:143) ~[spring-ai-azure-openai-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.azure.openai.AzureOpenAiChatModel.getDefaultOptions(AzureOpenAiChatModel.java:100) ~[spring-ai-azure-openai-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.chat.client.DefaultChatClient$DefaultChatClientRequestSpec.<init>(DefaultChatClient.java:722) ~[spring-ai-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.chat.client.DefaultChatClientBuilder.<init>(DefaultChatClientBuilder.java:62) ~[spring-ai-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.chat.client.ChatClient.builder(ChatClient.java:72) ~[spring-ai-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.chat.client.ChatClient.create(ChatClient.java:63) ~[spring-ai-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.chat.client.ChatClient.create(ChatClient.java:58) ~[spring-ai-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
	at org.springframework.ai.chat.client.ChatClient.create(ChatClient.java:54) ~[spring-ai-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]

Since we would anyhow ignore null options with @JsonInclude(nclude.NON_NULL) on AzureOpenAiChatOptions, there is no added value for having those checks on .with* methods.

will take a look, thanks for reporting.

this issue has been fixed.  thanks for hanging in there...  see 56a41e6


feat(c++): raise error at runtime if arrow does not support ORC

Describe the enhancement requested
the follow-up issue of #545, try to raise error at runtime if arrow does not support ORC.
the ORC related code list below:
https://github.com/apache/incubator-graphar/blob/d00c3649d2fdee6ba0fbf612b473707688d60e3f/cpp/src/graphar/filesystem.cc#L20
https://github.com/apache/incubator-graphar/blob/d2e8196443bb62155fe55e47752d8e259f7c4ba7/cpp/src/graphar/filesystem.cc#L93
https://github.com/apache/incubator-graphar/blob/d00c3649d2fdee6ba0fbf612b473707688d60e3f/cpp/src/graphar/filesystem.cc#L236-L244
https://github.com/apache/incubator-graphar/blob/d00c3649d2fdee6ba0fbf612b473707688d60e3f/cpp/src/graphar/reader_util.cc#L20
https://github.com/apache/incubator-graphar/blob/d00c3649d2fdee6ba0fbf612b473707688d60e3f/cpp/test/test_arrow_chunk_writer.cc#L25
https://github.com/apache/incubator-graphar/blob/d2e8196443bb62155fe55e47752d8e259f7c4ba7/cpp/test/test_arrow_chunk_writer.cc#L115
https://github.com/apache/incubator-graphar/blob/d2e8196443bb62155fe55e47752d8e259f7c4ba7/cpp/test/test_builder.cc#L27
Solution
Maybe add a macro definition in CMakeList to indicate ARROW_ORC support or not.
Component(s)
C++

Hi @acezen,
Just try to understand more about this issue.
After #552 merged, the CMakeList will prevent building if the arrow does not build with ORC.
So I just wander,

in what situation the built GraphAr will not have ORC in runtime?
or GraphAr can be run without ORC support BY DESIGN? in this case, just disabled the ORC related functionalities if ORC is not found?

Hi @acezen,
Just try to understand more about this issue.
After #552 merged, the CMakeList will prevent building if the arrow does not build with ORC.
So I just wander,

in what situation the built GraphAr will not have ORC in runtime?
or GraphAr can be run without ORC support BY DESIGN? in this case, just disabled the ORC related functionalities if ORC is not found?

GraphAr support the ORC through arrow, so if arrow without ORC support, GraphAr can not support ORC read/write in runtime.
There may have situations that user only use parquet/csv other than ORC as payload file format, it may not need ORC support.

I suggest we can turn the without ORC error to warning and disable the ORC related functionalities if ORC not found.
Through that GraphAr can be built and ran without ORC support.

I see. I will take this issue and support this.
Also I will revise the changes introduced by #552, to turn termination to warning.


Support error bars

How would one create errorbars similiar to Matlab?
https://de.mathworks.com/help/matlab/ref/errorbar.html

Those have been added in https://github.com/JuliaPlots/AbstractPlotting.jl/pull/464


[QUESTION] Is there a way to convert JSON to Flutter Form Builder

Environment
Lastest Flutter
Package version:
Latest
Describe your question
I wanted to know if there is a way to use JSON to build Flutter Form Builder with the different input options

Directly no. You can convert json to some model and create a logic to generate form builder inputs


gdoc for fiverr

[ ] Fix quizzes
[ ] Be able to source something before the binder script is evaluated
[ ] Craete a chapter/subchapter ordering on the landing page

This is obsolete and already mostly fixed by me ...


Unexpected border after clicking on write or preview button

Utterances is really great and I have integrated it into my theme! It works all great but I found a small bug(?)
When I clicked the write or preview button of utterances, it will show an unexpected border like:

And in dark mode:

But the github itself does not have this border and I think this is not as beautiful as github's original way.
Is this a bug or an expected behavior? Thank you!

These buttons are styled with Primer and they are missing the outline: none; attribute when they are targeted. An easy fix would be to include the aforementioned attributed to .tabnav-tab:focus.
.tabnav-tab:focus {
    outline: none;
}

@carlos-menezes Thanks! But if I understand this correctly, I need to change the style inside <iframe>. But if I add a css link by js, the browser will block it because of cross-origin problems.
I used the following method to try to add css to the iframe:
var cssLink = document.createElement("link");
cssLink.href = "<my-css>";
cssLink.rel = "stylesheet";
cssLink.type = "text/css";
window.frames[0].document.head.appendChild(cssLink);

Is there something wrong with my operation? Thank you!


When I search for Chinese, I encounter a Ratelimit exception.

When I search for Chinese, I encounter a Ratelimit exception.Yesterday was not like this。

The same problem. Searching English keywords without exceptions, why?


Update meta.yaml

I copied the dependency change into the 4.10 rebase PR on the main repo. However, it is giving me an unsatisfiable dependency error message still
failed build
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform win-64: {'m2w64_fortran_win-64', 'm2w64_c_win-64'}


SyncBot: Use Discourse all-users token.

Discourse translator uses statically provided token, assumed to be all-users.
No longer require the DataHub class for dynamic retrieval of values.
Allow local development instances of Discourse by making protocol configurable.

Change-Type: patch
Connects-To: #203

Contributor checklist

[x] Build output been rebuilt and tested
[x] Introduces security considerations
[ ] Tests are included
[x] Documentation is added or changed
[ ] Affects the development, build or deployment processes of the component

Reviewer Guidelines

When submitting a review, please pick:

'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

---- Autogenerated Waffleboard Connection: Connects to #203

With my apologies for a premature fixup, have implemented the changes @LucianBuzzo suggested.


Add postprocessing extension point

#50
#49  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ermattt and the rest of your teammates on  Graphite


Adding --local-interfaces flag in Agda build

This flag is to return the last behavior to generates agdai files inside the directory of the libraries.
This is necessary because nix store is write protected and these files are necessary to run the library without needing to copy it to a different directory.
This link is for the pull request of the Agda compiler changes.
https://github.com/agda/agda/pull/3949

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I believe, this is now addressed by #76653

It seems like.


Encoding problems with 1.8?

Not sure 1.8 is a targeted plattform:
And I fill in "edit-choice-0-chtext" with "Yes you can!"          # features/step_definitions/common_steps.rb:63
And I fill in "edit-choice-1-chtext" with "No way José!"          # features/step_definitions/common_steps.rb:63
And I press "Save"                                                # features/step_definitions/common_steps.rb:67
Then I should see a headline with "Can i haz cheeseburger?" in it # features/step_definitions/content_creation_steps.rb:28
And I should see the poll option "No way José"                    # features/step_definitions/poll_steps.rb:1
  expected xpath "//div[@class='poll']/.//input[@type='radio' and text()='No way Jos\303\251']" to return something (RSpec::Expectations::ExpectationNotMetError)
  ./features/step_definitions/poll_steps.rb:2:in `/^I should see the poll option "([^"]*)"$/'
  features/polls.feature:17:in `And I should see the poll option "No way José"'

Not sure if it's something I am doing wrong or some missing encoding call along the way
Works in selenium + akephalos2

never mind got a typo in the xpath somewhere along the way :-/


textfield for log view

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the requested feature
I want to use textfield to create a log window for recording logs, but after recording a lot of logs, I cannot control the scrollbar of textfield. I want to know how to control it. I think there should be methods such as scoll_to-end
import time

import flet as ft
from datetime import datetime

def get_now_time():
    current_time = datetime.now()
    formatted_time = current_time.strftime('%Y-%m-%d %H:%M:%S')
    return formatted_time

def main(page: ft.Page):
    page.window.center()
    page.window.width = 480
    page.window.height = 320
    page.window.resizable = False

    def btn_click(e):
        print(e)
        for i in range(20):
            log_field.value += f"{get_now_time()}......{i + 1}\n"
            time.sleep(0.3)
            log_field.focus()
            page.update()

    log_field = ft.TextField(label='write log example', min_lines=8, max_lines=8, read_only=False,
                             value='-------------------Log-------------------\n')
    page.add(log_field)
    button = ft.ElevatedButton(text='start', color='#499c54', on_click=btn_click)
    row = ft.Row(
        controls=[
            ft.Text(),
            button],
        alignment=ft.MainAxisAlignment.END
    )
    page.add(row)
    page.update()

if __name__ == '__main__':
    ft.app(target=main)

Suggest a solution
maybe add a func scoll_to_end
Screenshots
No response
Additional details
No response

Thank you for your reply，I use textfield to record logs, and during the process of recording logs, I want the scrollbar of textfield to always be at the bottom, that is, after clicking the button and waiting for all logs to be added, as the logs increase, my scrollbar should also move together instead of being in its original position。
The current effect:
The effect I want:

Set Column.auto_scroll to True.

aha， How can I modify my code based on it？I think textField should also need a similar attribute，such as auto_scroll or scroll_to_end

Seems like this issue doesn't have a proper fix in flutter yet. I found some SO threads, but nothing concrete honestly.
Let us know if you find a solution which could be implemented.

Look forward to your good news


Break the core loose from the GUI

Step 1 in linux support

The separation seems correct, so LGTM.


compiler/diagnostic: Replace all #warning to #pragma message

Summary
compiler/diagnostic: Replace all #warning to #pragma message
Since some compilers(MSVC) do not support the syntax of "#warning", use "#pragma message" to enhance portability
D:\archer\code\nuttx\net\can\can_sockif.c(680,1): fatal  error C1021: invalid preprocessor command
Reference:
https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1021?view=msvc-170
Signed-off-by: chao an<EMAIL_ADDRESS>Impact
N/A
Testing
cmake + visual studio 2022

Just checked the compilation log of CI, the pragma message cannot be silenced. It seems that need to find other ways to solve this issue

#pragma's are not common, but are specific to a given compiler.  There is no guarantee that a #pragma used by on compiler will be compatible with any other compiler.  The coding standard forbids including and compiler-specific information in any C source file.

Looking at most of these... I question if #warning is really appropriate anyway.  The vast majority are calling out broken incomplete code.

I think this change is not a good change.  If you are using a different toolchain with and incompatible C pre-processor, I would suggest that a better solution would be to use the GCC pre-processor with that other toolchain in order to keep compatibility.  But let's please not put #pragmas in the code.  That is a terrible solution.

#warning is also not standard. It's a gcc thing some other compilers have chosen to support. I don't think this change is right, but I also don't think the existing usage is appropriate.

#warning is also not standard. It's a gcc thing some other compilers have chosen to support. I don't think this change is right, but I also don't think the existing usage is appropriate.

Yep.  According to Wikipedia both #warning and #pragma message are compiler specific and the use of either is deprecated:  https://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_preprocessor_features
It appears that the only conformant thing to do is either (1) remove all #warnings from the code since there is no specified, portable way emit a warning message and continue pre-processing and since the use of warnings is deprecated.  Or (2) perhaps just change all #warnings to #errors?  #error will stop compilation on any warning, but perhaps that is what we want(?)
My suggestion was (3) to settle on GCC's cpp as the pre-processor to be used with any toolchain (since all pre-processors should be capable of generating compile-able code).  It is the most used and most copied pre-processor so not a bad place to settle.
Settling on the Microsoft semantics would be a the worst of all options in my opinion.

#warning is also not standard. It's a gcc thing some other compilers have chosen to support. I don't think this change is right, but I also don't think the existing usage is appropriate.

#warning  has worked with every C pre-processor I have used with NuttX.  That includes at least GCC, IAR, SDCC, and ZiLOG ZDS-III.  And it is a pretty simple matter to use the GCC C pre-processor with any other compiler.  You can (1) either setup a rule to use CPP to convert a .c or .S file to a .i file, then compile the .i file or, or to avoid changing the build, (2) use a work-alike compiler wrapper program to coordinate the mixed tools via system().

Since #warning is also a compiler specific, I suggest that:

Add a macro in compiler.h to wrap #warning, so we can replace it with a dummy body for Microsoft compiler
Remove #warning from common code base(e.g. sched/, fs/, mm/, net/) since Microsoft compiler can only compile sim target

Since #warning is also a compiler specific, I suggest that:
1. Add a macro in compiler.h to wrap #warning, so we can replace it with a dummy body for Microsoft compiler

2. Remove #warning from common code base(e.g. sched/, fs/, mm/, net/) since Microsoft compiler can only compile sim target

I thought about suggesting something like that, but was hesitant to do so.  I have had problems in the past with pre-processor macros that expand to other pre-processor macros.  I suspect that this is not handled properly by some pre-processors.  It assumes that in evaluating a macro, the pre-processors expands and re-evaluates the macro recursively  until everything is expanded and all substitutions are made THEN re-values the fully expanded macro one final time to get the final behavior.
So the result of can be difficult to control and is probably not portable.

Yes, macro with preprocessor statement may not work as expect.