could not config my get user.nam and user.email

Type: Bug
get : The term 'get' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1

get cnofig user.name "barba fino"

  + CategoryInfo          : ObjectNotFound: (get:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Extension version: 0.76.1
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Celeron(R) N4020 CPU @ 1.10GHz (2 x 1094)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: disabled_offopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
3.65GB (0.27GB free)

Process Argv
--crash-reporter-id b0591214-fe09-4a25-9a64-042bceab4dcd

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30880072
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30887144
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30886140
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016cf:30886111
dsvsc017:30886112
dsvsc018:30886114
aa_t_chat:30882232

please help me with resolve on how to solve this case

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


added onMonthChange Event

Added the ability to pass a function that handles the users month navigation.
Ex:
handleMonthChange(momentDate) {
//return false in order to keep the current displayed month
return false;
}
<Datepicker  onMonthChange={this.handleMonthChange}

Test fails due too code formating. Im leaving it as it is as this seems time consuming - if anyone needs an onMonthChange Event feel free to pick this up :)

Sorry I can't approve this PR, code style is important to maintain the quality of the project. The checks are there for a reason and merging a failing PR will cause others problem creating PRs.

I totally understand :)

@martijnrusschen the code looks good to you? (apart code style)


How does "matched_intensity_df" from ModelManager.train_ms2_model (pretrain_model.py) look like?

Hello, thanks for such a useful package!
I've been trying to fine-tune ms2_model from ModelManager object, but I'm having hard time figuring out how "matched_intensity_df" data frame looks like.
Could you describe the structure of the data frame? or provide a sample. Thank you so much!

Please check https://github.com/MannLabs/alphapeptdeep/blob/main/nbdev_nbs/psm_frag_reader/psmlabel_reader.ipynb and https://github.com/MannLabs/alphapeptdeep/blob/main/nbdev_nbs/psm_frag_reader/maxquant_frag_reader.ipynb


Add min available bytes storage policy

First step in implementing proposal #47.
This PR adds the first of the new limit types "min available bytes" and adds the requirement to specify the bootstrap URL for communicating with the Kafka cluster. It also removes the old storage checker, but preserves the old total consumed space soft and hard limits (as an incremental step we plan to remove them eventually) as well as their metrics.
We propose to add additional metrics and other limit types in separate pull requests.

Looks like some spotbugs issues failed the build.

@tombentley: @robobario and I think we have addressed all your feedback hopefully the changes work for you.
(cc: @scholzj if you are still planning to look at the java code)

@ppatierno @strimzi/maintainers Anyone has anything else to this?


fix: clear cell output before cell executing

Summary
Fix #1080
Testing
Test case in #1080

Submit a cell the previous log output is cleared automatically


A11y - Keyboard support for Overflow menu inside Datatable

Similar to https://github.com/carbon-design-system/carbon-components-react/issues/792
but this issue is about keyboard support.
Can be reproduced using the same sample:
https://codesandbox.io/s/xpn8yl3qpz

Use tab key to reach an Overflow menu
Press Enter to display the menu
Pressing Tab should move focus to the first menu item
Pressing Enter should then drive the click action of the menu item

Steps 3 & 4 do not work, as pressing Tab causing the menu to disappear.
v5.43.1

Hi @asfordmatt! 👋 Thanks for taking the time to make this issue 🙂
Looking at the repro link, definitely can confirm that the overflow menu is not receiving focus. Tagging as a bug and will try and get this prioritized as a fix! In the meantime, will also accept any PRs fixing this issue.


sandbox URL does not exist

; <<>> DiG 9.10.6 <<>> api-sandbox-futures.kucoin.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 51516
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;api-sandbox-futures.kucoin.com.	IN	A

We have temporarily suspended support for the Sandbox environment.
For more detailed information, please refer to our documentation: https://www.kucoin.com/docs/beginners/sandbox


Admin import complains about duplicate IDs (PostTranslationalInteractions as nodes)

For instance, the interaction Q13404_Q9Y4K3 is in pypath output twice, once with effect 0 and once with effect 1. Neo4j admin import does not allow duplicate IDs in the same space.
We are generating node IDs for "interactions as nodes" by concatenating protein IDs, but I am not sure that is the problem. We could just not assign any ID to these interactions. In the usual use-case, these would not be used for indexing, anyways.

for now, generating unique IDs by concatenating all relevant properties.


comfyui completely breaks after one generation

It successfully made the SVG, but comfyui is unusable after that one generation.

The error. I tried to install the nodes via comfyui manager, but no node pack with those specifics to be found, nor any missing manager could see either.
To see the GUI go to: http://<IP_ADDRESS>:8188
FETCH DATA from: D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Manager-main\extension-node-map.json [DONE]
[Workflow-Component] '## image-mix-controlnet-seecoder [415367]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "ConditioningAverage " node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Workflow-Component-Main\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Workflow-Component-Main\workflow_component\component_loader.py", line 350, in build_input_types
raise Exception(errmsg)
Exception: ### [ERROR] "ConditioningAverage " node is not installed. Please install that node through ComfyUI-Mananger. ###
[Workflow-Component] '## sdxl-ksample [3c7e70]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "Multiply" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Workflow-Component-Main\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Workflow-Component-Main\workflow_component\component_loader.py", line 350, in build_input_types
raise Exception(errmsg)
Exception: ### [ERROR] "Multiply" node is not installed. Please install that node through ComfyUI-Mananger. ###
[Workflow-Component] '## 2obj [a9bc98]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "Integer" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Workflow-Component-Main\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
File "D:\Stablediff\Comfyuimanual\ComfyUI\custom_nodes\ComfyUI-Workflow-Component-Main\workflow_component\component_loader.py", line 350, in build_input_types
raise Exception(errmsg)
Exception: ### [ERROR] "Integer" node is not installed. Please install that node through ComfyUI-Mananger. ###

很抱歉，这么久时间没有回复你，我最近更新了插件你可以再尝试一下。
I'm sorry for the long delay in responding to you. I recently updated the plugin, so you might want to give it another try.


State.BLUETOOTH_NOT_ENABLED in observeStateChanges is called twice

Hi. I have a problem with the fact that State.BLUETOOTH_NOT_ENABLED in observeStateChanges is called twice. After the first call I connect Bluetooth via Intent, and after connecting, this state is called again first, and then State.LOCATION_SERVICES_NOT_ENABLED. Perhaps this behavior is not related to the library, but to my lack of knowledge of RxJava, but I would like to know the answer. Here is the sample:
override fun observeStateChanges(): Observable<BleState> =
        rxBleClient.observeStateChanges()
            .startWith(rxBleClient.state)
            .switchMap { state ->
                when (state) {
                    RxBleClient.State.READY -> {
                        Timber.d("Bluetooth state is ready.")
                        Observable.just(BleState.READY)
                    }
                    RxBleClient.State.BLUETOOTH_NOT_AVAILABLE -> {
                        Timber.e("Bluetooth not available.")
                        Observable.just(BleState.BLUETOOTH_NOT_AVAILABLE)
                    }
                    RxBleClient.State.BLUETOOTH_NOT_ENABLED -> {
                        Timber.e("Bluetooth not enabled.")
                        Observable.just(BleState.BLUETOOTH_NOT_ENABLED)
                    }
                    RxBleClient.State.LOCATION_PERMISSION_NOT_GRANTED -> {
                        Timber.e("Location permission not granted.")
                        Observable.just(BleState.LOCATION_PERMISSION_NOT_GRANTED)
                    }
                    RxBleClient.State.LOCATION_SERVICES_NOT_ENABLED -> {
                        Timber.e("Location services not enabled.")
                        Observable.just(BleState.LOCATION_SERVICES_NOT_ENABLED)
                    }
                    else -> {
                        Timber.e("Unknown bluetooth state.")
                        Observable.just(BleState.UNKNOWN)
                    }
                }
            }

And here is the log:
19:37:22 observeStateChanges: Bluetooth not enabled.
19:37:29 observeStateChanges: Bluetooth not enabled.
19:37:30 observeStateChanges: Location services not enabled.
19:37:35 observeStateChanges: Bluetooth state is ready.

This is an implementation detail of the library. When the user turns the BT adapter ON the predicted adapter changes are BluetoothAdapter.STATE_OFF -> BluetoothAdapter.STATE_TURNING_ON and BluetoothAdapter.STATE_TURNING_ON -> BluetoothAdapter.STATE_ON.
Currently rxBleClient.observeStateChanges() does not track the state at the subscription time and only relays changes. The first change is BluetoothAdapter.STATE_OFF -> BluetoothAdapter.STATE_TURNING_ON which translates to RxBleClient.State.BLUETOOTH_NOT_ENABLED (it is the same for BluetoothAdapter.STATE_OFF and BluetoothAdapter.STATE_TURNING_OFF as well)
If that is an issue for you — you can quickly workaround by using:
        rxBleClient.observeStateChanges()
            .startWith(rxBleClient.state)
            .distinctUntilChanged()

Okay, thanks for the answer)


Video download error: https://www.facebook.com/antidpp/videos/vb.126710287353911/1107875545904042/?type=2&theater

An error occurred while downloading the following video: https://www.facebook.com/antidpp/videos/vb.126710287353911/1107875545904042/?type=2&theater
This is the output of youtube-dl --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'-J', u'https://www.facebook.com/antidpp/videos/vb.126710287353911/1107875545904042/?type=2&theater']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968
[debug] youtube-dl version 2015.12.21
[debug] Python version 2.7.6 - Linux-3.19.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6
[debug] Proxy map: {}
ERROR: The video is not available, Facebook said: "The link you followed may have expired, or the page may only be visible to an audience you're not in."
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 665, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 291, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 138, in _real_extract
expected=True)
ExtractorError: The video is not available, Facebook said: "The link you followed may have expired, or the page may only be visible to an audience you're not in."

Do not report URLs that are not playable with browser.

Sorry, this account automatically reports errors from my video download website.

You should stop those autoreports.

Ok, I'm just going to report manually the errors.


Add more context to the deletion of nodes

Summary of the Pull Request
Add a reason when deleting nodes. This will help us understand circumstances that lead to task being stopped while running

Codecov Report

Merging #3102 (9d04840) into main (cee37b5) will decrease coverage by 1.85%.
The diff coverage is 47.05%.

@@            Coverage Diff             @@
##             main    #3102      +/-   ##
==========================================
- Coverage   31.82%   29.97%   -1.85%
==========================================
  Files         307      127     -180
  Lines       36778    13897   -22881
==========================================
- Hits        11703     4166    -7537
+ Misses      25075     9731   -15344

Impacted Files
Coverage Δ

...ce/ApiService/TestHooks/NodeOperationsTestHooks.cs
0.00% <0.00%> (ø)

...ervice/ApiService/onefuzzlib/ScalesetOperations.cs
2.87% <0.00%> (ø)

...iService/ApiService/Functions/AgentRegistration.cs
86.08% <100.00%> (ø)

...ApiService/ApiService/onefuzzlib/NodeOperations.cs
23.58% <100.00%> (+0.91%)
:arrow_up:

... and 180 files with indirect coverage changes


ItemsControl - Items out of order when Equals is overridden

When Equals is overridden DataGrid/ListBox etc shows wrong items on scrolling (doesn't matter how the user scrolls). This differs from WPF and is a breaking bug when porting applications. Related #3425
Code
XAML
<DataGrid
  Items="{Binding WindowBla}">
  <DataGrid.Columns>
    <DataGridTextColumn
        Width="1*"
        Binding="{Binding MyColumn}"
        Header="Column 1" />
  </DataGrid.Columns>
</DataGrid>
----------------------------------------------------------
<ListBox
  Items="{Binding WindowBla}">
  <ListBox.ItemTemplate>
    <DataTemplate>
      <TextBlock
        Text="{Binding MyColumn}" />
    </DataTemplate>
  </ListBox.ItemTemplate>
</ListBox>

C#
    public ObservableCollection<Abc> WindowBla { get; set; } = new ObservableCollection<Abc>();

    public MainWindowViewModel()
    {
        for (int i = 0; i < 200; i++)
        {
            WindowBla.Add(new Abc(i));
        }
    }

    public class Abc
    {
        private int Bla = 0;
        public Abc(int i) => MyColumn = i.ToString();
        public string MyColumn { get; }
        public override bool Equals(object? obj) => Bla == ((Abc)obj).Bla;
    }

DataGrid
Shows items completely out of order.

ListBox (same C# code)
Differs from DataGrid behavior as items are not out of order but repeating themselves. Those who were visible on start are being shown again over and over.

Looks like WPF uses Object.Equals for string and value types, and for other types uses ReferenceEquals where Avalonia uses EqualityComparer<T>.Default.Equals for all values.
We should perhaps look into using ReferenceEqualityComparer instead, though that's .NET 5+ only and it's not clear from the docs how it handles value types.


Fixed renaming/moving of nodes with exported NodePaths in the editor

Fixes #42277
Potentially also fixes #35226, but haven't tested that yet.

I just tested if this fixes the other issue i linked and it does not. However, this is closley related, so i MIGHT be able to fix it as well over the weekend. Please don't merge until then ;)

So i integrated the fix in #35319 into this PR since they are conflicting.
This PR now fixes #42277, #35226 and #30534
I did test this pretty thoroughly and it seems solid. @KoBeWi maybe you could test this as well if you have time

I moved nodes around a bit and seems like the path remains correct with all common operations. It's still possible to break it with e.g. Make Scene Root, but it's probably not important for now (the linked issues don't mention it).

@akien-mga Bump :)

Thanks!

Cherry-picked for 3.2.4.


Update README with warning about log-outs

Hope doc contributions are welcome.
Spent a while trying to figure out why I kept getting logged out of my router's admin portal until I finally realized it was this integration. Highlighting this behavior in the readme could help inform users of this behavior before they run into it themselves.
Excellent integration! Does exactly what I need.

I also did some digging in the tplinkrouterc6u library used to connect to the router. The admin dashboard provides warnings when attempting to log in when a user is already logged in. If that data were available when calling authorize() it would be possible to detect if a user is already logged in and optionally abort the login attempt.

Hi. It is already in README
The TP-Link Web Interface only supports upto 1 user logged in at a time (for security reasons, apparently). So you will be logged out from router web interface when the integration updates data

Didn't notice that at all. I probably should have read the docs more closely, but as demonstrated by #63 it looks like multiple people have encountered the same problem. Making this note more prominent in the README may reduce the number of issues submitted by confused users.


#P04. As Participant, I would like to see a list of any upcoming Hackathons.

@Ri-Dearg

@Ri-Dearg

Thanks @Ri-Dearg ! Can't wait to see your PR on this user story!

@Ri-Dearg
Quick note: I'm doing the demo on the call tomorrow morning which will include the bulk of the main setup, base template, static file setup, etc. - you'll want to make sure to pull those changes after they've been merged tomorrow after the workshop demo.

@TravelTimN
Perfect, will do! Thanks a bunch for heading this, very excited for it!


undefined method `vault' for Chef::Resource::User

Hi,
I tried googling for this but didn't find any info. So i made a cookbook to test creating a user which password is taken from the vault:
chef_gem 'chef-vault' do
  compile_time true if respond_to?(:compile_time)
end

require 'chef-vault'

item = ChefVault::Item.load("passwords", "vaultuser")
item["password"]

user "vaultuser" do
  password vault['vaultuser']
  home "/home/vaultuser"
  supports :manage_home => true
  shell "/bin/bash"
  comment "Chef Vault User"
end

The result i am getting is:
root@tcs-02B89C:/etc/chef# chef-client
Starting Chef Client, version 12.3.0
resolving cookbooks for run list: ["motd::cow", "vault"]
Synchronizing Cookbooks:
  - motd
  - chef_handler
  - vault
Compiling Cookbooks...
Recipe: vault::default
  * chef_gem[chef-vault] action install (up to date)

  ================================================================================
  Recipe Compile Error in /var/chef/cache/cookbooks/vault/recipes/default.rb
  ================================================================================

  NoMethodError
  -------------
  undefined method `vault' for Chef::Resource::User

  Cookbook Trace:
  ---------------
    /var/chef/cache/cookbooks/vault/recipes/default.rb:19:in `block in from_file'
    /var/chef/cache/cookbooks/vault/recipes/default.rb:18:in `from_file'

  Relevant File Content:
  ----------------------
  /var/chef/cache/cookbooks/vault/recipes/default.rb:

   12:
   13:  require 'chef-vault'
   14:
   15:  item = ChefVault::Item.load("passwords", "vaultuser")
   16:  item["password"]
   17:
   18:  user "vaultuser" do
   19>>   password vault['vaultuser']
   20:    home "/home/vaultuser"
   21:    supports :manage_home => true
   22:    shell "/bin/bash"
   23:    comment "Chef Vault User"
   24:  end
   25:

  Running handlers:
[2015-05-27T09:05:24+00:00] ERROR: Running exception handlers
  Running handlers complete
[2015-05-27T09:05:24+00:00] ERROR: Exception handlers complete
[2015-05-27T09:05:24+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
  Chef Client failed. 0 resources updated in 29.456716751 seconds
[2015-05-27T09:05:25+00:00] ERROR: undefined method `vault' for Chef::Resource::User
[2015-05-27T09:05:26+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Am i doing something wrong?
Thanks for the help.

i r stoopid. for some reason i was calling it vault. when the password was called "item"


placement: add deleteByIDPrefix test

Signed-off-by: disksing<EMAIL_ADDRESS>What problem does this PR solve?
No test cover RemoveRuleByIDPrefix
What is changed and how it works?
add test
Check List
Tests

Unit test

Release note

No release note

/merge


adding project in

I expanded on my initial investigations into pandas library and created a heat map generator which can find the users location based on their public IP or a manually entered location within Seattle

Is it ready for review?
-CHB

Not quite yet I should have waited for the pull request

On Dec 6, 2016, at 5:10 PM, Christopher H.Barker, PhD<EMAIL_ADDRESS>wrote:
Is it ready for review?
-CHB
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

no problem.

I wouldn't mind a review of the code at this time. i've made quite a few changes since my last pull request.

My project is ready to be reviewed. Brad Baumel


Can't Load token file in chrome.

Describe the bug
A clear and concise description of what the bug is.
Trying to load token file in google chrome, but it's not allowing me to click it?
WORKS in safari.
To Reproduce
Steps to reproduce the behavior:

Open figma token
Click Load
Click File
Click Upload File

Expected behavior
Expected to open finder on mac to upload file
Screenshots or Screencasts
https://user-images.githubusercontent.com/5430709/198043339-586054eb-6d75-4912-8448-c4aa6391352b.mov

@cfortuner are you running the lastest version of Chrome? Just gave this a try at my side and not able to reproduce this behaviour.

whoops. I just noticed I have an update. i'll update and get back to you.

Closing this, please reopen if the issue persists


import_meta_graph raises KeyError: InfeedEnqueueTuple when importing a graph trained on TPU

Function import_meta_graph fails with KeyError: InfeedEnqueueTuple when importing a meta file of a graph trained on TPU (and with TPUEstimator). For graphs trained on CPU (also with TPUEstimator) it works correctly. Is this expected behaviour? How can I load a graph with parameters trained on TPU for CPU evaluation?
I noticed a similar error also related to TPU in another Github project, but no solution: https://github.com/tensorflow/minigo/issues/426.
System information

Reproduced on MacOS and on Colab.
tensorflow 1.12.0 (from PyPI)
Python 3.6
CUDA/cuDNN/GPU not used

Describe the current behavior
Raises exception KeyError: InfeedEnqueueTuple.
Describe the expected behavior
Should load the graph without an exception.
Code to reproduce the issue
 tf.train.import_meta_graph(META_PATH, clear_devices=True)

where META_PATH is a path to a meta file saved with TPUEstimator.
Other info / logs
Full traceback:
---------------------------------------------------------------------------

KeyError                                  Traceback (most recent call last)

<ipython-input-9-962933bf6153> in <module>()
      1
----> 2 tf.train.import_meta_graph(META_PATH, clear_devices=True)

/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py in import_meta_graph(meta_graph_or_file, clear_devices, import_scope, **kwargs)
   1672   """  # pylint: disable=g-doc-exception
   1673   return _import_meta_graph_with_return_elements(
-> 1674       meta_graph_or_file, clear_devices, import_scope, **kwargs)[0]
   1675
   1676

/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py in _import_meta_graph_with_return_elements(meta_graph_or_file, clear_devices, import_scope, return_elements, **kwargs)
   1694           import_scope=import_scope,
   1695           return_elements=return_elements,
-> 1696           **kwargs))
   1697
   1698   saver = _create_saver_from_imported_meta_graph(

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/meta_graph.py in import_scoped_meta_graph_with_return_elements(meta_graph_or_file, clear_devices, graph, import_scope, input_map, unbound_inputs_col_name, restore_collections_predicate, return_elements)
    804         input_map=input_map,
    805         producer_op_list=producer_op_list,
--> 806         return_elements=return_elements)
    807
    808     # Restores all the other collections.

/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py in new_func(*args, **kwargs)
    486                 'in a future version' if date is None else ('after %s' % date),
    487                 instructions)
--> 488       return func(*args, **kwargs)
    489     return tf_decorator.make_decorator(func, new_func, 'deprecated',
    490                                        _add_deprecated_arg_notice_to_docstring(

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/importer.py in import_graph_def(graph_def, input_map, return_elements, name, op_dict, producer_op_list)
    389   if producer_op_list is not None:
    390     # TODO(skyewm): make a copy of graph_def so we're not mutating the argument?
--> 391     _RemoveDefaultAttrs(op_dict, producer_op_list, graph_def)
    392
    393   graph = ops.get_default_graph()

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/importer.py in _RemoveDefaultAttrs(op_dict, producer_op_list, graph_def)
    156     # Remove any default attr values that aren't in op_def.
    157     if node.op in producer_op_dict:
--> 158       op_def = op_dict[node.op]
    159       producer_op_def = producer_op_dict[node.op]
    160       # We make a copy of node.attr to iterate through since we may modify

KeyError: 'InfeedEnqueueTuple'

Hello @mluszczyk!
Thanks for your bug report, but this is known and not really considered a bug right now.
During training, TensorFlow doesn't guarantee that the TensorFlow graph stored with the checkpoints can be used elsewhere. Your scenario would also not work if you trained with multi-GPUs using GPU specific ops like NCCL AllReduce.
If you want to export a model that can be imported by others, you should use one of the export functions, e.g. (TPU)Estimator.export_savedmodel().
Thanks!
Frank


Regression in recent version of Storage Explorer fails to download files due to response 403 ServiceCode=AuthenticationFailed

Storage Explorer Version: 1.11.1
Build Number: 20191121.1
Platform/OS: Windows 10
Architecture: ia32
Regression From:  Another recent version, probably 1.1x. My coworker's 1.0 version does not have this issue.
Bug Description
Microsoft Service Fabric team uses Azure Storage Explorer to download specific files from storage accounts using SAS keys generated through ACIS. I am able to open and list the set of files contained in the Azure Storage container through ASE, but when I go to download a file I receive the error:
failed to perform copy command due to error: cannot start job due to error: cannot list blobs. Failed with error -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, /home/vsts/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.7.0/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=AuthenticationFailed) =====
Description=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:0f74d2cd-a01e-0024-3808-b53cfc000000
Time:2019-12-17T18:33:10.5068500Z, Details:
   AuthenticationErrorDetail: Signature did not match. String to sign used was suptlogllrqes6to57a2
rl
bt
sco

2019-12-18T01:45:50Z

2015-04-05

   Code: AuthenticationFailed
   GET https://suptlogllrqes6to57a2.blob.core.windows.net/fabriclogs-862777af-b0d0-4e71-9f5d-1833627173b4?comp=list&include=metadata&prefix=_nt0_0%2Fbootstrap%2Fe3083346caa3d3825857fb86a14347c9_fabricdeployer-637117210176601136.trace%2F&restype=container&se=2019-12-18t01%3A45%3A50z&sig=-REDACTED-&sp=rl&srt=sco&ss=bt&sv=2015-04-05&timeout=901
   User-Agent: [AzCopy/10.3.2 Azure-Storage/0.7 (go1.13; Windows_NT)]
   X-Ms-Client-Request-Id: [b6f50795-cda9-4dc7-6a1d-b6106a1b0484]
   X-Ms-Version: [2018-03-28]
   --------------------------------------------------------------------------------
   RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
   Content-Length: [490]
   Content-Type: [application/xml]
   Date: [Tue, 17 Dec 2019 18:33:09 GMT]
   Server: [Microsoft-HTTPAPI/2.0]
   X-Ms-Error-Code: [AuthenticationFailed]
   X-Ms-Request-Id: [0f74d2cd-a01e-0024-3808-b53cfc000000]

.

The ACIS job owner had expressed we have not changed the SAS key generation logic so there has been no change in privileges in our workflow from our end that could result in this issue. My coworker's 1.0 version does not hit this issue. The SAS key we use is minimum privilege and not all access so a delta in the required privilege to download files is a regression for us.
Seems like there may have been a perf optimization or other change in ASE that resulted in a change to minimum privilege to download files from Azure Storage.
Steps to Reproduce

Create Service Fabric cluster through Azure Portal.
Generate SAS key through ACIS to access traces.
Download a file using Azure Storage Explorer v1.11.1.

Expected Experience
File is downloaded successfully.
Actual Experience
Error response 403; ServiceCode=AuthenticationFailed
Additional Context
The SAS key we use is minimum privilege. I can supply this directly over IM. My alias is maburlik.

I will be using the 1.0 version my coworker has shared with me for now. It does not hit this issue with the exact same SAS key:

Tested a few releases from https://github.com/microsoft/AzureStorageExplorer/releases
1.10.1 does not reproduce
1.11.0 has the issue

The error message came from AzCopy so I am not surprised that you don't see it in 1.10.1.  If you have time to help us narrow down the issue, in 1.10.1, could you turn on AzCopy (in Preview) and give it a try? I am just interested in knowing whether this was a problem in the older version of AzCopy.  Thanks.
BTW, we are investigating the issue as we speak.

1.10.1 /w AzCopy preview feature works

Issue caused by AzCopy not parsing the timestamp in the SAS correctly.
Related issue https://github.com/Azure/azure-storage-azcopy/issues/122

This has been fixed in AzCopy 10.5. We'll be updating the integrated version to that in release 1.14.1. The integration update has been merged.

Confirmed this is fixed, tried on 1.20.0 azcopy 10.11.0.


Update .travis.yml

Travis moved to trusty as their official Ubuntu distro, so we shall too ;)

Coverage remained the same at 78.736% when pulling 68966aebb433624331dd2db87476a47bf19e273a on demo-dev into 15b3212cf6e6d2013fdd41dfe17d242e25710f7a on master.


Request: Build instructions for wsl2/windows

I'm going to work on a proper build instructions soon and I will include wsl2/windows!


Reduce line-splitting

Unix makes roughly zero guarantees about when it will or won't
split or coalesce writes across pipes, which means that a single
write of a sentence of text could result in two separate calls
to the Write() method of an io.Writer used as Stdout or Stderr
for a command.
The least-bad solution, I think, is to have a separate goroutine
which waits for full lines, but will also time out after a bit
so that incomplete lines don't get lost forever, just delayed
very slightly (about a millisecond seems to cover everything).
Typical output change:
09:13:02               web | npm
09:13:02               web |  WARN
09:13:02               web |<EMAIL_ADDRESS>[...]

becomes:
09:14:05               web | npm WARN<EMAIL_ADDRESS>[...]

This also addresses a subtle bug where single-byte non-newline
writes were getting discarded, but producing blank lines with
no header information.
As a secondary issue, instead of remaking the format string
for every message, we use a generic format string with a
length argument, since the format string never changes except
for that length.

Thank you


⚠ Bofrost.lu has degraded performance

In e575105, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2407 ms

Resolved: Bofrost.lu performance has improved in e3d79fd after 14 minutes.


Drop mako-stub

Changes

:wastebasket: Remove mako-stub

/kind removal

Related https://github.com/knative/pkg/issues/2820

@Zerpet there is an CLA thingy going on, could you please have a look


Configure puppeteer env to use globally installed chrome binary

About
Trims image size down from 1.18GB to 789MB by only installing a single chrome instance

@jayco do you have any objections to this change?

Quick bump - @jayco

Thank you for your contribution @andyrichardson! Sorry we didn't get around to merging it in. As you can see in #164 Buildkite no longer uses this image internally, and so we will be archiving this repository as we won't be making any further updates. Feel free to keep using the fork you've made :)


[Bug]: Cannot compare classes with methods

Version
^29.5.0
Steps to reproduce
There's no way to compare two identical class instances if the class has any method!
Removing doSomething in the following example makes the test succeed:
  test('try', () => {
    class ABCD {
      constructor(private amount: number) { }
      doSomething = () => {
        this.amount += 10;
      }
    }

    const aaa = new ABCD(400);
    const bbb = new ABCD(400);
    expect(aaa).toEqual(bbb); // Error: "Received: serializes to the same string"
    expect(aaa).toStrictEqual(bbb); // Error: "Received: serializes to the same string"
    expect(aaa).toMatchObject(bbb); /* Error:
    - Expected  - 1
    + Received  + 1

    - ABCD {
    + Object {
        "amount": 400,
        "doSomething": [Function anonymous],
      }

     */
    expect(bbb).toMatchObject(aaa); /* Error:
    - Expected  - 1
    + Received  + 1

    - ABCD {
    + Object {
        "amount": 400,
        "doSomething": [Function anonymous],
      }

     */
  });

Expected behavior
I expect to have at least one option to compare the two.
Sometimes, if the two items "serializes to the same string" - that's enough for the test.
Actual behavior
No option to compare the two.
I don't understand why .toMatchObject() converts only one side to an object, which causes to constructor's names to not match.
Additional context
No response
Environment
System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 18.13.0 - /usr/local/bin/node
    npm: 8.19.3 - /usr/local/bin/npm
  npmPackages:
    jest: ^29.5.0 => 29.5.0

Found this ugly workaround somewhere. Hopefully you'll have another solution or develop one quickly:
const expectTwoObjectsWithFunctionsToBeEqual = (obj1: unknown, obj2: unknown) => {
  expect(() => expect(obj1).toEqual(obj2)).toThrowError('serializes to the same string');
}

test('try', ()=>{
  expectTwoObjectsWithFunctionsToBeEqual(new ABCD(400), new ABCD(400)); // Success
});

Ping


Increase disk capacity usage

Dear developer,
My suggestion is that the software should be able to include a diagram of disk capacity usage.

Disk usage is already available if you right click on the root folder of a drive > properties

Thanks for your reminder. What you are talking about is a detailed display and a way to check. But what I mean is that I hope to add a way to quickly check the disk capacity, which can be displayed in the main interface immediately. The following is a reference picture. The picture I designed may be a bit ugly, hahaha

I think that would make the user interface cluttered, you can already see the disk usage when hovering on the disk

Merging with #366.


Remove duplicate RedHat default section

A duplicate default_version default section was added in
https://github.com/puppetlabs/puppetlabs-postgresql/commit/1eb45d07f163ab3e3fd117d9de4bc4351b228853.
This removes the duplicate default section.

How is this not an error o.o

Filed https://tickets.puppetlabs.com/browse/PUP-6930


Change language

Hi Nico,
in version 1.5 we could hard-code the language of your plugin in Kirby’s config.php like this

c::set('relativedate.lang', 'de');

In Version 2.0.1 this setting seems to have no effect. Is there another way?
THX, Yves

Bump!


Multiple new lines not processing

Whenever there are multiple new lines together they seem to be removed after being processed through this module. Here is a link to a project I pieced together showing an example of this bug:
https://github.com/jxodwyer/draft-js-markdown-example
specifically:
https://github.com/jxodwyer/draft-js-markdown-example/blob/master/scripts/App.js
I've also attached a screenshot to show this:

Note: this is also reproducible on https://react-rte.org/demo.
From the Markdown spec on handling paragraphs, two spaces and a newline should create a line break:

When you do want to insert a <br> break tag using Markdown, you end a line with two or more spaces, then type return.

Below I add valid markdown with 5 space-space-newlines to the demo. The resulting editor content, however, has no new line characters or line breaks (it removes the new lines and creates 2 blocks):

This means that
stateToMarkdown(stateFromMarkdown(markdown)) != markdown

Happy to help in any way I can.

seeing same issue, any updates on not removing extra lines?


benchmarks: fix smoke test run by setting the dynamic library path

This is a workaround for rdar://78584073

@swift-ci benchmark

@swift-ci smoke test

@swift-ci benchmark

@swift-ci smoke test

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

DictionaryOfAnyHashableStrings_insert
3024
5614
+85.6%
0.54x

FlattenListLoop
1627
2376
+46.0%
0.68x (?)

Set.isDisjoint.Box25
362
502
+38.7%
0.72x (?)

Set.isDisjoint.Int50
262
341
+30.2%
0.77x (?)

Set.isDisjoint.Int25
268
344
+28.4%
0.78x (?)

DictionaryKeysContainsNative
22
26
+18.2%
0.85x (?)

UTF8Decode_InitFromData_ascii_as_ascii
714
775
+8.5%
0.92x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

NSStringConversion.MutableCopy.Rebridge.LongUTF8
706
782
+10.8%
0.90x (?)

NSStringConversion.MutableCopy.UTF8
933
1018
+9.1%
0.92x (?)

DataAppendDataMediumToMedium
4280
4640
+8.4%
0.92x (?)

NSStringConversion.MutableCopy.Rebridge.Long
1073
1161
+8.2%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

FlattenListLoop
2497
1631
-34.7%
1.53x (?)

ObjectiveCBridgeFromNSArrayAnyObjectForced
5040
4560
-9.5%
1.11x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode_InitFromCustom_contiguous_ascii_as_ascii
439
474
+8.0%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

DataAppendDataMediumToMedium
5840
5320
-8.9%
1.10x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

@swift-CI smoke benchmark Apple Silicon

@swift-ci smoke Apple Silicon benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

DictionaryOfAnyHashableStrings_insert
1428
2282
+59.8%
0.63x

Set.isDisjoint.Int25
89
135
+51.7%
0.66x (?)

Set.isDisjoint.Int50
89
131
+47.2%
0.68x (?)

ArrayAppend
380
490
+28.9%
0.78x (?)

DictionaryGroupOfObjects
450
549
+22.0%
0.82x (?)

DictionaryKeysContainsNative
13
15
+15.4%
0.87x (?)

Set.isStrictSubset.Box25
87
98
+12.6%
0.89x (?)

SetIsSubsetBox25
87
98
+12.6%
0.89x (?)

DictionarySwap
528
592
+12.1%
0.89x (?)

CharIteration_punctuated_unicodeScalars_Backwards
400
440
+10.0%
0.91x (?)

TypeName
351
385
+9.7%
0.91x (?)

Set.isStrictSuperset.Seq.Int50
265
287
+8.3%
0.92x (?)

DictionaryRemoveOfObjects
6100
6600
+8.2%
0.92x (?)

ObjectiveCBridgeFromNSSetAnyObjectToString
26500
28500
+7.5%
0.93x (?)

DictionarySwapAt
424
456
+7.5%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

Set.filter.Int100.24k
877
811
-7.5%
1.08x

Dict.CopyKeyValue.24k
886
823
-7.1%
1.08x

Dict.CopyKeyValue.20k
766
715
-6.7%
1.07x (?)

Code size: -O
Performance: -Osize
Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini9,1
  Total Number of Cores: 8 (4 performance and 4 efficiency)
  Memory: 16 GB


Vim9: do we need "extendnew()"?

In Vim9 script, since 8.2.2325, we can no longer use extend() to extend a dictionary of numbers into a dictionary of mixed values.
vim9
def Func()
    var d = extend({a: 0}, {b: 's'})
enddef
Func()

E1013: Argument 2: type mismatch, expected dict<number> but got dict<string>

To fix this, we now need to create an intermediate variable:
vim9
def Func()
    var dd: dict<any> = {a: 0}
    var d = extend(dd, {b: 's'})
enddef
Func()

✔

Does that mean that we need a new extendnew() function, similar to the recent mapnew() function?
With this hypothetical extendnew(), the previous snippet could be simplified into:
vim9
def Func()
    var d = extendnew({a: 0}, {b: 's'})
enddef
Func()

Note that copy() and deepcopy() can't help here:
vim9
def Func()
    var d = deepcopy({a: 0})->extend({b: 's'})
enddef
Func()

E1013: Argument 2: type mismatch, expected dict<number> but got dict<string>

In Vim9 script, since 8.2.2325, we can no longer use extend() to extend a dictionary of numbers into a dictionary of mixed values.

Actually, I'm not sure the restriction started from this patch.  It might have started earlier.  This patch was for map(); not sure about extend().

In Vim9 script, since 8.2.2325, we can no longer use extend() to extend a dictionary of numbers into a dictionary of mixed values.

Actually, I'm not sure the restriction started from this patch.  It might have started earlier.  This patch was for map(); not sure about extend().

If we try to turn a list<list<string>> value into a list<string> value with map(), Vim complains:
vim9
[['a'], ['b']]->map((_, v) => v[0])

E1012: Type mismatch; expected list<string> but got string

But if we try to turn a list<list<string>> value into a list<string> value with flatten(), Vim no longer complains:
vim9
[['a'], ['b']]->flatten()

It seems inconsistent.  Is this working as intended?  Shouldn't flatten() be subject to the same restrictions as map() (and extend()) and be disallowed to change the type of a value?  Do we need a flattennew() function, just like we needed the mapnew() and extendnew() functions?

Yes, flatten() is expected to change the type, so we should add flattennew() and disallow using flatten().


#signIn authentication: added authentication to Admin SignIn page.

What does this PR do?

it adds firebase authentication to the login form.

Description of Task to be completed

connect firebase to the form and perform authentication
add validation upon user authentication
add HTMl5 form validations
fix input reset on the contact form submission

How should this be manually tested?

git clone the application URL(https://github.com/nraufu/portofolio.git)
open the UI folder then the pages folder then Admin folder then open signIn file in your browser.

What are the relevant Trello stories?

https://trello.com/c/rP8rlrzZ/19-signin-form

Screenshots (if appropriate)

 signIn form

nice work @nraufu


"use strict"

hi,
"use strict" is not required with es6-modules/babeljs
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-strict-mode-code

Module code is always strict mode code.

https://github.com/alexkuz/markdown-react-js/blob/master/src/index.js#L1

True, thanks! :)
Don't hesitate to send PR for this kind of things, BTW.

Don't hesitate to send PR for this kind of things, BTW.
nah, it's not that important :)
Just wanted to say something, so you can fix it in the future when doing something in the code


Check for generics on calls to non-generic methods/constructors

A recent StackOverflow question reminded me of the very strange fact that it's possible to provide (any number of!) generic type arguments to a non-generic method or constructor.
For example:
// Like in the question
Cache<Key, Value> cache = CacheBuilder.<Key, Value>from(spec).build();
// Just weird
String s = new <Number, String, NullPointerException>String(chars);

As far as I know, this has no effect whatsoever and can cause confusion when someone expects that the generics are doing something and they aren't.

Huh. I did not know that was allowed.
JLS § <IP_ADDRESS> says:

If the method invocation includes explicit type arguments, and the member is a generic method, then the number of type arguments is equal to the number of type parameters of the method.

This clause implies that a non-generic method may be potentially applicable to an invocation that supplies explicit type arguments. Indeed, it may turn out to be applicable. In such a case, the type arguments will simply be ignored.

This rule stems from issues of compatibility and principles of substitutability. Since interfaces or superclasses may be generified independently of their subtypes, we may override a generic method with a non-generic one. However, the overriding (non-generic) method must be applicable to calls to the generic method, including calls that explicitly pass type arguments. Otherwise the subtype would not be substitutable for its generified supertype.

This doesn't entirely make sense to me. If the static type is the generified supertype, we should require type parameters. If it's the non-generic subtype, we should disallow them. If code is refactored to switch from the supertype to the subtype (or vice versa) it seems reasonable to require additional changes.
There are ~100 instances of this internally and they all look like mistakes.


[style]: Add a DevDisplay icon

What's the style idea?
We need to improve
Remove the  " </> "    Add a DevDisplay icon here

Add screenshots
Add screenshots
Code of Conduct

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

Just have to remove the logo or replace it?

Hey @codeaashu we Just have to remove the logo or replace it?

Yes

please assign me

start working on this issue

Couldn't start due to  issue #529


add support for native es modules in Node

Description
Native ES modules were landed in<EMAIL_ADDRESS>(see proposal-pkg-exports).
I created small repo with interested for me packages like express, lodash, redux, redux-saga, etc - and try to run app in esm mode.
By default, there are many errors, but they easily fixed by npm run patch.
Some packages need to fix their source, but redux-saga packages need to fix only package.json. You can see example of fixes here - https://github.com/rifler/node-esm-example/blob/master/patches/packageJsonConfigs.js

Also, it would be nice to create dual commonjs/es module - https://nodejs.org/dist/latest-v12.x/docs/api/esm.html#esm_dual_commonjs_es_module_packages
but here we should rename all *.cjs.js files to *.cjs, otherwise node throws error

ESM is a dangerous thing that often cannot be shipped within the current major version of a library. Each library is different though so this should be carefully evaluated here - maybe there is a way to make CJS and ESM entrypoints coexist here but from my experience, there probably isn't.
In a way, I would probably put this aside until React ships its ESM - cause this might be a final push for the React community to drop CJS and bump major versions everywhere.

Hard to argue with that and I like the general approach: wait for react to adopt ESM before we try to do it inside redux-saga.

Closing this issue because it's unclear when we plan to support ESM because we want to maintain backwards compatibility.


Upgrade to html-webpack-plugin v4

Includes a renamed hook and new method of tapping into hooks. Cheerio is no longer needed.
This is a breaking change.

Sorry for the dalayed response @abutterworth and thanks for the contribution.


Cookies are not remain for several requests in Docker

Using Testcafe that runs in Docker I try to set up cookies using ClientFunction. The problem is that they set only for the first request. There is no page reloading between requests, only react component re-render is happens.
Without Docker everything works as expected (cookie remains for all requests).
What is your Test Scenario?
I'm running my tests in Docker.
I've clicked on button and two requests (one after another) have been sent to my mock backend.
Before clicking I've set cookies to get specified mock data to test it
What is the Current behavior?
Cookie has been set only for FIRST request.

The second request sending without cookie

What is the Expected behavior?
Cookie remains for ALL requests in current test.
What is your web application and your TestCafe test code?
    const sendMessageIcon = invoicesPage.sendMessageIcon(invoiceId);

    const setCookie = ClientFunction(() => {
        document.cookie = 'key=value';
    });
    await setCookie();

    await t.click(sendMessageIcon); // on this click requests are sending

Steps to Reproduce:

Set cookie
Send few requests
See that cookie is present only in first one

Your Environment details:

testcafe version:                   1.2.1
node.js version:                    10.15.1
command-line arguments:    testcafe
browser name and version:  Chrome
other:                                   running in Docker

Hi @alekseyzadorozhniy,
TestCafe has its own cookie processing mechanism. The document.cookie setter is wrapped with the TestCafe service function on the client side. So, request headers shown by a browser are not quite representative, because the cookie can be set by the TestCafe proxy later. The only way to be sure that cookies are missing is to check this on backend. Could you add some request logging to your backend code to see whether cookies are received by the server side?

@alexey-lin
Strange, but after adding request logging to my backend I've seen that when I working in Docker cookies are empty at all

When I executing the same code without Docker I get cookies as expected

@alekseyzadorozhniy
I was not able to reproduce the issue on my side. I recommend using the built-in RequestHooks mechanism to log your page requests. I tried it on my page and everything works as expected.

Please use this code as a starting point:
import { RequestHook, ClientFunction } from 'testcafe';

class MyRequestHook extends RequestHook {
    constructor (requestFilterRules, responseEventConfigureOpts) {
        super(requestFilterRules, responseEventConfigureOpts);
        // ...
    }
    async onRequest (event) {
        console.log('onRequest: ' + JSON.stringify(event.requestOptions));
    }
    async onResponse (event) {
        // ...
    }
}
const customHook = new MyRequestHook(/.*/);

const setCookie = ClientFunction(() => {
    document.cookie = 'key=value';
});

fixture `fixture`
    .page `http://google.com`
    .requestHooks(customHook)

This hook intercepts all requests and logs the request options.
I hope it helps you find the cause of the issue. If not, I will appreciate it if you share your project with the team or prepare a sample to reproduce the issue on our side.


The Proxy API returns all feature toggles, even those from projects that are disabled for the requested environment

Describe the bug
Suppose we have Projects A and B declared on Unleash, each containing a few feature toggles.
We also have Environments 1 and 2.
Project A is enabled for Environments 1 & 2.
Project B is enabled only for Environment 1.
Steps to reproduce the bug

When requesting the list of feature toggles from the Proxy API for Environment 1, we get all feature toggles, from both Projects A and B, which works as expected
But the same thing applies for Environment 2 as well, we receive all feature toggles from both Projects A and B, even though only Project A is enabled for Environment 2

Expected behavior
When requesting feature toggles for Environment 2, only the toggles from Project A should be returned
Logs, error output, etc.
No response
Screenshots
No response
Additional context
No response
Unleash version
4.19.2
Subscription type
Enterprise
Hosting type
Self-hosted
SDK information (language and version)
No response

Hi,
Based on the description I assume you are running the proxy with ENABLE_ALL_ENDPOINTenabled?
The default behavior of the proxy is only return "enabled" toggles for the given environment, and therefore what you describe is not a problem under default configurations.
Technically in Unleash, all toggles will exists under all environments, but they will take a disabled state. This is by design. You can limit what the proxy sees by using "project scoped" tokens.
Because of limited flexibility in the proxy (all clients need to consume the same as the proxy, you need to think of the proxy as an SDK) we decided to build something more flexible and scaleable, called unleash-edge. With the edge you can use ordinary client and frontend tokens, and they can be scoped to environments and projects as you like, giving ultimate control on what you expose where.

Yes, we're using the ENABLE_ALL_ENDPOINT, because we need to know all feature toggles for the current environment, even disabled ones.
However, we're not interested in the disabled ones for the current environment in case the toggle's project is not enabled for the current environment.
I know this would probably ideally be solved through project scoped tokens, but those are created once for a set of projects without the possibility of adding a new project down the line. So this is pretty restrictive for our existing setup.
But regardless, even conceptually, if a project is not enabled for an environment, we expect that its feature toggles won't be returned at all.

Hi!
"When requesting the list of feature toggles from the Proxy API for Environment 1, we get all feature toggles, from both Projects A and B, which works as expected"
If there are 50 projects and 50 enabled toggles per project then one little front-end app, that uses a few toggles and connects via Proxy, will get 2500 toggles.
Is it possible to restrict the list of enabled feature toggles from Proxy by projects?
For example, I've got a front-end app AAA and want to get toggles for it from Project A only, and I've got another front-end app BBB and want to get toggles for it from Project B only.


TooltipTrigger: Tooltip should remain hidden in the DOM to provide an IDREF for aria-describedby on trigger element

🐛 Bug Report
TooltipTrigger: Tooltip should remain hidden in the DOM to provide an IDREF for aria-describedby on trigger element.
🤔 Expected Behavior
In order for the Tooltip to announce consistently when navigating elements using JAWS's virtual cursor or NVDA's browse mode, the Tooltip that displays as an overlay in a portal when the trigger is either hovered or focused should remain hidden in the DOM to provide an IDREF for aria-describedby on trigger element. The triggerProps returned by useTooltipTrigger should always include aria-describedby referencing the tooltip by id, regardless of whether the tooltip is visible in the portal or hidden in the DOM.
😯 Current Behavior
Currently, a tooltip is only rendered to the DOM when the TooltipTrigger state.isOpen === true. The tooltip and the aria-describedby attribute on its trigger get removed when state.isOpen === false. This means that the text of the tooltip is only announced when the user focuses or hovers the trigger, and is not available to screen reader users navigating using virtual cursor/browse mode.
💁 Possible Solution
Keep the Tooltip in the DOM with a hidden attribute when the tooltip is not shown.
🔦 Context
This is important for improving screen reader accessibility.
💻 Code Sample
See https://codepen.io/Moiety/pen/LaPvWy for a positive example in development for WAI-ARIA 1.2 Authoring Practices: https://w3c.github.io/aria-practices/#tooltip
🌍 Your Environment

Software
Version(s)

react-spectrum
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Browser
All

Operating System
All

🧢 Your Company/Team
Adobe/Accessibility

Reopening this issue because, after https://github.com/adobe/react-spectrum/commit/e86774344abb5d96a573eec836dc170f64c68e44, this is no longer resolved.

Relies on https://github.com/adobe/react-spectrum/pull/2313


Enhance diff_check with more unicode et al

Follow up action item from a topic I raised in https://github.com/rust-lang/rustfmt/pull/5864#issuecomment-1676425492 relative to adding some additional test repos to improve our coverage of string formatting with various characters and encodings.
One suggested repo to include is https://github.com/unicode-org/icu4x as well as some from https://github.com/unicode-rs
I opted to simply mention icu4x as part of this instead of directly adding it because I noticed that repo is using cargo make and I didn't have bandwidth to determine if that'd cause any issues/require any additional changes to our script.
New repos can be wired up by adding a call site with respective args here:
https://github.com/rust-lang/rustfmt/blob/b069aac44ddfdb70d55d9ae40695be44515e5bb0/ci/check_diff.sh#L170-L192

@rustbot claim

@calebcartwright I don't think the use of cargo make on any project we test would be an issue. The diff check job just runs rustfmt againsg all .rs files it finds in the repo.
https://github.com/rust-lang/rustfmt/blob/f89cd3c1f3feffaa960e13c7bec07a6163d18fd3/ci/check_diff.sh#L59-L62

Forgot we were running rustfmt directly. The only potential downside to this would be our ability to pull in any target repositories that needed 2018+ edition & didn't have edition defined in a rustfmt.toml file.
Orthogonal to this particular issue, but at some point would like to think/talk through whether that has any implications once style_edition enters the ecosystem

@calebcartwright good point. I guess if we landed support for cargo fmt to be passed individual files then that would mostly solve the edition issue. I'm nearly 100% sure style_edition is going to be implemented in such a way that we'll derive it from the --edition if you don't explicitly configure a different style edition.

@ytmimi , is this issue still open to be worked on as the old assignee doesnt seem like he is working on this anymore?

@rufevean yeah this one is still open

got it, thank you

@rustbot claim

i have added the follow repos into  ./check_diff.sh file and i executed it . i am receiving an error stating
 ./check_diff.sh: line 148: /tmp/rustfmt-IVGzB32u/feature_rustfmt: No such file or directory .
is this part of the issue or am i missing something?
    check_repo "https://github.com/unicode-org/icu4x.git" icu4x
    check_repo "https://github.com/unicode-rs/unicode-segmentation.git" unicode-segmentation
    check_repo "https://github.com/unicode-rs/unicode-normalization.git" unicode-normalization

it's unclear what the issue is here. Are you able to run the script on your machine without adding those new repos?

its working perfectly fine when i removed the repos

Line 148 is where we try to get the version value for the feature binary. Not sure why adding those lines would cause an issue there. The error message suggests that we're failing to build the binary or we're failing to copy it to the temporary directory. Let me know if you're able to investigate further.

i have added the follow repos into  ./check_diff.sh file and i executed it . i am receiving an error stating  ./check_diff.sh: line 148: /tmp/rustfmt-IVGzB32u/feature_rustfmt: No such file or directory . is this part of the issue or am i missing something?
    check_repo "https://github.com/unicode-org/icu4x.git" icu4x
    check_repo "https://github.com/unicode-rs/unicode-segmentation.git" unicode-segmentation
    check_repo "https://github.com/unicode-rs/unicode-normalization.git" unicode-normalization

okay, i have tested it now, i was wrong. i wasnt specifying the branch correctly last time. it running well this time with all these three repos.


General Availability for App Configuration - February 19, 2020

We previously announced our plan to release App Configuration to general availability in January 2020. Understandably, we’ve gotten a lot of questions recently about whether that is still the case. We want to provide an update on our progress towards GA.
We will release App Configuration to general availability on February 19, 2020.
The main reason for the delay has been to build out some new features aligning to the Azure Security Controls Benchmark. In particular, you’ll see some new functionality allowing you to secure your infrastructure via Private Links, as well as to use your own keys for encrypting data stored in App Configuration.
Pricing is unchanged from our previous announcement, and will now begin on February 19.
| Free | Standard
-- | -- | --
Resources per subscription | 1 | Unlimited
Storage per resource | 10 MB | 1 GB
Key history | 7 days | 30 days
Requests per day | 1,000 (HTTP status code 429   will be returned for all requests once the limit is reached) | First 200,000   included in the daily charge. Additional requests will be billed as overage.
SLA | None | 99.9% availability
Security functionality | Encryption with Microsoft-managed keysHMAC or AAD authenticationRBAC supportManaged identity | All Free tier functionality plus: Encryption with  customer-managed keysPrivate Link support
Cost | Free | US$1.20 per day, plus any   overage charge at US$0.06 per 10,000 requests
Next week, we will start to roll out the ability to select the Free vs. Standard tier when creating an App Configuration resource. Both tiers will be free until February 19. After GA, there will be charges for resources explicitly created under the Standard tier, or explicitly migrated to the Standard tier. All other resources (including resources created prior to the introduction of the Standard tier) will be in the Free tier. You can migrate these resources to the Standard tier at any time.
Thank you for your support throughout the public preview. We look forward to reaching this important new milestone.

Azure App Configuration is now generally available
https://azure.microsoft.com/en-us/updates/azure-app-configuration-is-now-generally-available/


e2etest: adding and cleaning aws disk

adds aws disk in the test namespace for resources to get installed.
Signed-off-by: riya-singhal31<EMAIL_ADDRESS>

/test lvm-operator-bundle-e2e-aws

Added some minor comments. Overall looks good. Need to wait for the CI to pass though. Mostly the review comments are around the disk count. Also, there are some linting errors that should be fixed.

Thanks for the suggestions Santosh.
Updated the PR.

/retest

/retest

/retest

Thanks @nbalacha for all the optimization suggestions.
Updated the PR.

This PR also updates prometheus/client_golang which is required to be backported for https://bugzilla.redhat.com/show_bug.cgi?id=2056104
/cherry-pick release-4.11


.htaccess

I came along in search of a .htaccess example for history.pushState urls - found that, Thanks! - but i noticed something in the .htaccess file i would like to note:

I'm pretty sure that apache does not support ¦ as a Pipe symbol.
I'm fairly sure that a .htaccess file should have a \n before EOF.

The pull request is primarily to illustrate what I'm talking about, if these commit messages do not fit, just ditch it :)
Cheers!

Very good eye.  I never would have noticed that one character was different than the others.  Merged into master.  Note that any future pull requests should be made against the dev branch.
Thank you!


[Bug] v 2.51.  Android update 10.  Black screen issue after Unity Splash Screen.  Storage permissions granted and RTL app installed.

Describe the bug

Scenario

Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error-->

Expected behavior

LogFile

Screenshots

Valkyrie Version

Desktop

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context

This is by far the longest issue title I have ever seen. Would have been easier if you would just have filled out the bug form.
So you are using Android 10? Because on Android 11 Valkyrie does not work.
Did you try to clear the app cache, uninstall and install a clean version?

Sorry about that.  Looks like I got 11 in a recent update.  I'll have to
put this on a different device.
Thanks for your help.
On Wed, Dec 30, 2020, 1:28 AM Quantumrunner<EMAIL_ADDRESS>wrote:

This is by far the longest issue title I have ever seen. Would have been
easier if you would just have filled out the bug form.
So you are using Android 10? Because on Android 11 Valkyrie does not work.
Did you try to clear the app cache, uninstall and install a clean version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NPBruce/valkyrie/issues/1425#issuecomment-752434355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJM2I52KQKPM7TIXA56FCDSXMFD7ANCNFSM4VNSGB5A
.


Get-ServiceEvent - add switch for EventType

For Get-ServiceEvent, add switch parameter to add EventType to the query. This will be done by including the corresponding event IDs for each EventType.

ServiceOperations

7009,7011,7016,7021,7030,7035,7036,7037,7040

ServiceStart

7000,7001,7002,7003,7017,7019,7020,7022,7038,7039,7041

ServiceStop

7023,7024,7031,7032,7034,7042,7043

ServiceControlManagerOperations

7005,7006,7007,7008,7010,7012,7015,7018,7025,7026,7027,7028,7033

ServiceInstall

7045

Allow EventType to be array of possible types.


channel manager panic

I get the following panic while running https://github.com/vincenzopalazzo/lampo.rs/pull/216
2024-05-15T19:37:33.542Z INFO lampo_channel_manager listening on chain event on the channel manager. [lampod/src/ln/channel_manager.rs:134]
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', /home/vincent/.cargo/git/checkouts/rust-lightning-54338d485d58ba5b/4a28d1b/lightning-background-processor/src/lib.rs:906:43

More logs are
2024-05-18T17:35:25.475Z INFO lampod Starting lightning node version `0.0.1`. [lampod/src/lib.rs:245]
2024-05-18T17:35:25.475Z INFO lampo Stating onchaind. [lampod/src/lib.rs:271]
2024-05-18T17:35:25.475Z INFO jsonrpc starting server on /home/vincent/.lampo/signet/lampod.socket. [lampo-jsonrpc/src/lib.rs:201]
2024-05-18T17:35:25.475Z INFO lampo_bitcoind Starting bitcoind polling .... [lampo-bitcoind/src/lib.rs:422]
2024-05-18T17:35:25.475Z INFO lampo Starting channel manager. [lampod/src/lib.rs:273]
2024-05-18T17:35:25.475Z ERROR ldk lightning::chain::chainmonitor:794 ERROR Failed to update channel monitor: no such monitor registered. [lampod/src/utils/logger.rs:49]
thread '<unnamed>' panicked at 'ChannelManager generated a channel update for a channel that was not yet registered!', /home/vincent/.cargo/git/checkouts/rust-lightning-54338d485d58ba5b/4a28d1b/lightning/src/chain/chainmonitor.rs:800:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-05-18T17:35:25.504Z INFO ldk lightning::chain::chainmonitor:766 INFO Persistence of new ChannelMonitor for channel fe6040d8e05da18b3bfd72f39d3643cd0926aeb5086dcd0fd0449f6ecf9fdb73 completed. [lampod/src/utils/logger.rs:47]
2024-05-18T17:35:25.512Z INFO ldk lightning::chain::chainmonitor:766 INFO Persistence of new ChannelMonitor for channel b41fcb4a220a4e894bc5c66429169c3d19045b7a468351bc185e6ff673d29964 completed. [lampod/src/utils/logger.rs:47]
2024-05-18T17:35:25.517Z INFO ldk lightning::chain::chainmonitor:766 INFO Persistence of new ChannelMonitor for channel 1ff9d0324aee8b2d0aedb780668c7d37d34713b148c5acb5a5ac049879de2151 completed. [lampod/src/utils/logger.rs:47]
2024-05-18T17:35:25.521Z INFO ldk lightning::chain::chainmonitor:766 INFO Persistence of new ChannelMonitor for channel 039b8bf15d3303f0c03043c14aad16df24d47bc4bd9672daba08e6b62bb19199 completed. [lampod/src/utils/logger.rs:47]
2024-05-18T17:35:25.522Z INFO lampo Starting peer manager. [lampod/src/lib.rs:275]
2024-05-18T17:35:25.522Z INFO lampod-cli ------------ Starting Server ------------. [lampod-cli/src/main.rs:151]
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Any { .. }', /home/vincent/.cargo/git/checkouts/rust-lightning-54338d485d58ba5b/4a28d1b/lightning-background-processor/src/lib.rs:906:43
2024-05-18T17:35:25.522Z INFO lampo_channel_manager listening on chain event on the channel manager. [lampod/src/ln/channel_manager.rs:134]
2024-05-18T17:35:25.526Z INFO lampo Listening for in-bound connection on <IP_ADDRESS>:39736. [lampod/src/ln/peer_manager.rs:143]


Sharing NVIDIA's develop branch for early code review (comm replay)

Summary
Sharing NVIDIA's develop branch for early code review. Once Meta confirms that these changes work and make sense, we will break this down into multiple small PRs.

Thanks for the review, @briancoutinho. I will let our colleagues know that your comments are ready.

Thanks for the updates to commsTraceParser Sanshan, looks good (y)

There is a bug in https://github.com/facebookresearch/param/blob/faaef4b66e2f0c434bb10bcaefb48a362f7baec7/et_replay/tools/comm_replay.py#L597, inSplit and outSplit are list, can not be hashed. It need be changed to tuple here (tuple(inSplit)).


checkbox id-attribute and label for-attribute if different than checkbox101 then it is not checkable

Working

   <input id="checkbox101" type="checkbox" checked>
     Remember Me

Not working

   <input id="RememberMe" type="checkbox" checked>
    Remember Me

Both of those checkboxes work for me, what browser are you having this problem in?

One point that i forgot to make was that it doesnt work when
value-attribute is true
By the way these checkboxes are created by ASP.NET MVC Html helper class
but it gives exactly the same html
On Thu, Apr 7, 2016 at 7:27 PM Kyle Garrison<EMAIL_ADDRESS>wrote:

Both of those checkboxes work for me, what browser are you having this
problem in?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/flatlogic/awesome-bootstrap-checkbox/issues/85#issuecomment-206931158

Are you sure MVC is giving the HTML you think it is? When I used the CheckboxFor and Checkbox methods they inserted a hidden input between the checkbox and the label, which breaks the CSS selectors for this plug-in. Solutions for that issue can be found here: #50 #1 #4

Ohh thanx buddy it does give the hidden element
Thanx
I'll check it out
On Thu, Apr 7, 2016 at 8:20 PM Kyle Garrison<EMAIL_ADDRESS>wrote:

Are you sure MVC is giving the HTML you think it is? When I used the
CheckboxFor and Checkbox methods they inserted a hidden input between the
checkbox and the label, which breaks the CSS selectors for this plug-in.
Solutions for that issue can be found here: #50
https://github.com/flatlogic/awesome-bootstrap-checkbox/issues/50 #1
https://github.com/flatlogic/awesome-bootstrap-checkbox/issues/1 #4
https://github.com/flatlogic/awesome-bootstrap-checkbox/issues/4
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/flatlogic/awesome-bootstrap-checkbox/issues/85#issuecomment-206950421

This change is working for me.
.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="radio"]:checked + label::after {

to
.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="checkbox"]:checked + input[type="hidden"] + label::after,
.checkbox input[type="radio"]:checked + label::after,
.checkbox input[type="radio"]:checked + input[type="hidden"] + label::after {

Thanks to Nigel Burke, on Stack Overflow

Guys, thanks for your proposal.


Previous operator version of custom resources don't get deleted

I was using operator version 4.1.2 and I had some CRDs and some instances of those CRDs. In the meantime I updated the operator to 4.2.0 and I also update the CRDs a little. And now if I try to remove the resources, the cleanup code is called, it is finished with a DeleteControl.defaultDelete() but then the resource does not get deleted...If I remove the finalizer manually, it gets deleted and if I recreate it with the new operator version and the updated CRDs, all is good, the deletion removes the custom resource but in the logs I always get the below error. Am I doing something wrong? Is there a problem removing custom resources that were created by a previous version of the operator or by previous versions of CRDs?
io.javaoperatorsdk.operator.processing.event.source.controller.ControllerResourceEventSource@71154f21 event handler: Should not be called with DELETED
java.lang.IllegalStateException: Should not be called with DELETED
	at io.javaoperatorsdk.operator.processing.event.source.controller.ControllerResourceEventSource.isAcceptedByFilters(ControllerResourceEventSource.java:98)
	at io.javaoperatorsdk.operator.processing.event.source.controller.ControllerResourceEventSource.eventReceived(ControllerResourceEventSource.java:75)
	at io.javaoperatorsdk.operator.processing.event.source.controller.ControllerResourceEventSource.onDelete(ControllerResourceEventSource.java:118)
	at io.javaoperatorsdk.operator.processing.event.source.controller.ControllerResourceEventSource.onDelete(ControllerResourceEventSource.java:28)
	at io.fabric8.kubernetes.client.informers.impl.cache.ProcessorListener$DeleteNotification.handle(ProcessorListener.java:122)
	at io.fabric8.kubernetes.client.informers.impl.cache.ProcessorListener.add(ProcessorListener.java:50)
	at io.fabric8.kubernetes.client.informers.impl.cache.SharedProcessor.lambda$distribute$0(SharedProcessor.java:87)
	at io.fabric8.kubernetes.client.informers.impl.cache.SharedProcessor.lambda$distribute$1(SharedProcessor.java:110)
	at io.fabric8.kubernetes.client.utils.internal.SerialExecutor.lambda$execute$0(SerialExecutor.java:58)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

It happens to me as well with a brand new controller.
Probably related to this commit:
https://github.com/java-operator-sdk/java-operator-sdk/commit/952a26bfbf6637882106c8d859f84493585fad2a#diff-8f1d28fd39d275362172bc40fe173ae3b8c51eea32424869fb0326701459b42aR97

Yes @amitmun you are right, that should not be there, delete events should get to EventProcessor always. Attached the PR for fix.

@metacosm  we should merge this and create a patch release.


Fix warnings in CoreAreaLayoutController

Make CoreAreaLayoutController::getImportData compatible with the parent declaration
Marking this method as static is safe since it's being called only by the parent class BlockController (import method)
EDIT: BTW there's no problem in keeping getImportData as public, no warnings is raised if the parameters are the same (see http://3v4l.org/1tC68 )

I reverted the accessibility of getImportData, since no warnings is raised even if the parent class method has a different accessibility


updated description when using cluster-scoped flag (ansible & helm)

Description of the change:
When using cluster-scoped flag, in the file deploy/role_binding.yaml CluserRole is used instead of Role. Keeping in sync ansible and helm cause of pull request #1190
Motivation for the change:
Making the docs more accurate

/ok-to-test


Lesson 212 - Use uwebsockets.js on Node

Hello,
First of all, thank you for these performance tests and video!
I am writing a backend heavy application in typescript, and I have been wondering which one of node/bun/deno I should use when I start scaling. Since rewriting the entire backend just to test is time consuming, I really appreciate someone doing a real world test with these techs.
Anyway, here is an idea/suggestion:
An interesting test would be to replace the default node http server with uWebSockets.js.
It is the server that bun uses under the hood, and promise performances up to 10x those of the default node http server.
I suspect that with this change, node will outperform bun on both tests.
Thank you!

I even created the PR before =))
https://github.com/antonputra/tutorials/pull/291


How to whitelist a user on your Java Minecraft server.

How to whitelist a user on your Java Minecraft server.
What is whitelisting a user?Whitelisting on a Minecraft is where you only allow specific users to be able to join your Minecraft server. This is very useful if you are running SMPs that require applications or if you are running server for your friends and family and want to avoid bots or users joining by guessing the IP and Port.
How to enable whitelisting?

Go to the file manager by clicking the “File Manager” tab at https://panel.civilhost.net
Open server.properties
Go to `”whitelist” by default it should be “white-list=false” and change this value to “white-list=true” or you may use/whitelist on in game.before - after -
Again in server.properties find “enforce-whitelist=false” and set this value to truebefore - after -
Now once these values are set to true restart your server.
In the console run “whitelist {username}” and replace username with the users you’d like to allow onto the server. (be sure not to use a / in the console)
Once you are whitelisted you should be able to join the server
If you’d like to whitelist people while in the server if you are an OP run “/whitelist {username}”
If you use any perms plugins such as luckperms you can add the command “Minecraft.command.whitelist” to a user to allow them to run this command

Follow our Contributing Docs, you did not format it using TinyMCE.
https://civilhost.net/contributing

User Updated, submitted for review @SilentAssassin101

User Updated, submitted for review @SilentAssassin101

cap

please change to use the command "whitelist on" for ease of use / QoL

please change to use the command "whitelist on" for ease of use / QoL

Hi, in most cases it is best to change it in server.peroperties as it doesn't always enforce the whitelist unless you change the settings to be "true" so it makes more sense to change the other settings while you are already in the file

updated


Name of mpy-cross executable for macos changing

In CircuitPython we plan to update the version of macos used to build mpy-cross, as macos 11 runners are deprecated and due for removal. At the same time, we renamed the binary, removing the macos version number specifier: https://github.com/adafruit/circuitpython/pull/9329
This change will probably first roll out in circuitpython 9.0.6 and circuitpython 9.1.0-beta.3.
Based on code search, this change will likely affect this project.

Thanks! Will keep an eye out for the release & update the vendored utils accordingly.


Add custom error handler for CLI EXI encode/decode

Adding custom error handler that implements SAX ErrorHandler and Transform ErrorListener helps contain some of the error messages that were getting printed to stderr and were polluting the output of our integration tests.
There is still an issue with one of the tests causing a stack trace from an IllegalArgumentException to be printed that occurs when decoding a schema aware encoded EXI file with a non-schema aware decoder. This appears to be getting printed directly to stderr from within Exificient.
DAFFODIL-2750

There is still an issue with one of the tests causing a stack trace from an IllegalArgumentException to be printed

I did a little digging, and I think I found the cause. For reference, here's the stack trace:
java.lang.IllegalArgumentException
  | => dat java.lang.AbstractStringBuilder.appendCodePoint(AbstractStringBuilder.java:800)
        at java.lang.StringBuilder.appendCodePoint(StringBuilder.java:240)
	at com.siemens.ct.exi.core.io.channel.AbstractDecoderChannel.decodeStringOnlySupplementaryCodePoints(AbstractDecoderChannel.java:111)
	at com.siemens.ct.exi.core.io.channel.AbstractDecoderChannel.decodeStringOnly(AbstractDecoderChannel.java:89)
	at com.siemens.ct.exi.core.coder.AbstractEXIBodyDecoder.decodeLocalName(AbstractEXIBodyDecoder.java:170)
	at com.siemens.ct.exi.core.coder.AbstractEXIBodyDecoder.decodeQName(AbstractEXIBodyDecoder.java:133)
	at com.siemens.ct.exi.core.coder.AbstractEXIBodyDecoder.decodeStartElementGenericStructure(AbstractEXIBodyDecoder.java:484)
	at com.siemens.ct.exi.core.coder.EXIBodyDecoderInOrder.decodeStartElement(EXIBodyDecoderInOrder.java:126)
	at com.siemens.ct.exi.main.api.sax.SAXDecoder.parseEXIEvents(SAXDecoder.java:313)
	at com.siemens.ct.exi.main.api.sax.SAXDecoder.parse(SAXDecoder.java:250)
	at net.sf.saxon.resource.ActiveSAXSource.deliver(ActiveSAXSource.java:190)
	at net.sf.saxon.event.Sender.send(Sender.java:105)
	at net.sf.saxon.jaxp.IdentityTransformer.transform(IdentityTransformer.java:364)
	at org.apache.daffodil.Main$.runIgnoreExceptions(Main.scala:1307)
	at org.apache.daffodil.Main$.run(Main.scala:1433)
	at org.apache.daffodil.CLI.Util$CLIThread.run(Util.scala:281)

The issue is that appendCodePoint can throw an IllegalArgumentException if the code point isn't valid unicode (this isn't really documented except for the fact that it is "exactly like Characters.toChars" which does document throwing this exception). Exificient doesn't catch this, so if this happens it bubbles all the way up to the deliver function in Saxon and is finally caught (and printed) here:
https://saxonica.plan.io/projects/saxonmirrorhe/repository/he/entry/src/main/java/net/sf/saxon/resource/ActiveSAXSource.java?utf8=✓&rev=he_mirror_saxon_11_4#L233
Looking at the latest dev branch of Saxon, this call to printStrackTrace has been removed, but still exists in the 11.4 release we use. So this will likely be fixed in the next version of Saxon. However, I think this is a bug in Exificient since it shouldn't throw an IllegalArgumentException, but should probably validate the codepoint and throw a SAX exception instead?
Does this sound right? Maybe we should open a ticket with efficient?

In fact, now that I think about it, that's probably also the reason why we need this code:
https://github.com/apache/daffodil/blob/main/daffodil-cli/src/main/scala/org/apache/daffodil/Main.scala#L1306-L1312
So what we thought was a generic exception was more likely an exificient bug.
Once Exifcient fixes this issue, we can change that from catching an Exception to whatever SAX exception they end up throwing.

Suggest: If you have a ticket URL for Exificient you could cite that in the comment just before the catch of e:Exception.


Price list

Design a simple plaintext file structure for containing the item listing and associated prices, and also say something about the menu structure.
The menu file should support:

Stand-alone items to be displayed on the main menu
Categories/submenus containing further items
Prices
Item name
Picture of the item (relative filename path)

Some kind of XML format is probably fine. Can be parsed and read using QXml (http://doc.qt.io/qt-5/qdomdocument.html).
API:

Design an (easily editable) data structure for the price list
Read price list from file into a data structure
Write price list from data structure to file

It is possible that the price list should rather be requested from the backend, so try to take into account that the price list might arrive from a different source at some point in the future.
Price list should be non-writable by the UNIX user normally running the GUI application.

Further public API-wishlist for price list:

Get all item properties for specific item (lookup based on item name, return a struct or something that contains the name, price, image filename, ... of the item)
List available item categories
List all items in category

Also, the items to be displayed directly on the main menu could just have category 'mainmenu' or something. All items can then be nested within specific categories/submenus.
E.g.
<category name="mainmenu">
    <item>
         <name>Brus</name>
         <price> ...
     ...
   </item>
</category>
<category name="Godteri">
    <item>
        <name>Kvikklunsj</name>
  ...
</category>

(Probably redundant to make each item have a unique ID in addition to a name, since the name would be unique anyway.)
Comment to text in original issue:
bjorgan wrote:

It is possible that the price list should rather be requested from the backend, so try to take into account
that the price list might arrive from a different source at some point in the future.
Price list should be non-writable by the UNIX user normally running the GUI application.

You don't have to care about this.

Write price list from data structure to file

This function should return an appropriate error code when the file is not writable by the user, but it is not necessary to create this function unless we also at this stage implement the following:

Add item (add new categories automatically)
Remove item (also remove empty categories automatically)
Edit item (remove item + add item again)

Not strictly necessary at this stage, it can be moved to a new issue.


How to prevent logging for EnableTokenCleanup

Question
Has anyone run into an issue where TokenCleanupHost.StartInternalAsync causes thread starvation?
Minimal working example
I have a token server running the latest version of IdentityServer4 on .net core 3.1 and using EntityFramework for the operational store only (codes, tokens, consents).
The configuration for that looks like this:
                   .AddOperationalStore(options => {
                    options.ConfigureDbContext = builder =>
                        builder.UseSqlServer(ssoConnection,
                            sqlOptions => {
                                sqlOptions.MigrationsAssembly(migrationsAssembly);
                                sqlOptions.EnableRetryOnFailure();
                            });
                    // this enables automatic token cleanup. this is optional.
                    options.EnableTokenCleanup = true;
                    options.TokenCleanupInterval = 30;
                })

Relevant debugging information
Over time, we can watch the thread count to rise until the application crashes due to thread starvation.
When we take a memory dump from the thread-starved process, we see hundreds of instances of threads waiting on Application Insights logging. We think they are rooted by the calls to TokenCleanupHost.StartInternalAsync although truthfully I am not enough of an expert to say for sure.
here's the tasks view of the memory dump

and here's the threading view showing the App Insights logging threads apparently waiting

My guess is that we have App Insights logging configured incorrectly but even stripping it down to what I think matches guidance, I still see the thread starvation issue.
Wondering if anyone else has run into this or has advice.

Bizarre. I'd almost ask them (meaning AppInsights or MSFT) what's going on? The background cleanup is only working on a single (logical) thread, so I don't why app insights is doing their own? I'd suggest removing app insights to see if the problem persists (since you can repo it). That'd narrow down whose issue it is :)

I removed Application Insights so I'll keep an eye on it for the next few days.

I received some help from Microsoft and it sounds like the real issue here is multiple calls to BuildServiceProvider in startup and some need for better object disposal. I will close this out once I confirm.

TokenCleanupHost.StartInternalAsync was not the cause for this issue. It was just a casualty. This was corrected by eliminating the per-request calls to BuildServiceProvider() in the Startup.cs. Apologies for the distraction.


Update .gitignore

What was changed? Why is this necessary?
Sundeep told me to add a bogus value.
How was it tested?
Wasn't.
How to test
This is bare minimum acceptable testing

[ ] mvn clean install -U

Reviewers

[ ] John Leacox
[ ] Sundeep Paruvu
[ ] Nimesh Subramanian
[x] Supriya Lal
[ ] Brian van de Boogaard

+1


cleanup unnecessary files

cleanup unnecessary files and looks like it is ready

We should also create an src folder with the relevant files as well

We should also create an src folder with the relevant files as well

Done


Neural Voice de-De Jana Neural missing since 04.04.2020

Hi
Last week, on 03. April 2020 there was a neural Voice de-De Jana available for Neural TTS. Now, after the weekend, this voice seems gone. Please check why it's not listed as an available voice on the docs and why it's not appearing as a selection anymore. This Jana voice was much better than de-De Katja Neural.
Thanks

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4de08d1f-8114-7bef-7ef4-022f79c69742
Version Independent ID: 4c0ceab9-24ed-de01-db30-31acf1de0f48
Content: Language support - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/language-support.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @IEvangelist
Microsoft Alias: dapine

@mozziemozz Thanks for your question. Could you please let us know if you are referring to any documentation link on azure docs that could relate this to a service or quickstart that could help us find the right team to address this issue?

@RohitMungi-MSFT I'm referring to this one:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support#neural-voices
Last week I was able to choose de-DE - JanaNeural as a voice which is not available anymore and is also not on the list.

@mozziemozz Looking at the document history it looks like there was no change to update the list for de-DE. The only change to this section is to recommend using en-US-AriaNeural instead of en-US-JessaNeural. Were you referring to JessaNeural voice?

@IEvangelist Could you please confirm if there was a recent change to drop a neural language for de-DE?

@RohitMungi-MSFT no, I was referring to "JanaNeural" for Germany (de-DE). Maybe I was too fast since the docs have not been updated yet. Maybe IEvangelist can tell us more.

Hi @mozziemozz,
I just looked through the last 16 months of file history and I never say a Jana neural voice for de-DE, are you certain? In fact, I did a git search on the entire language-support.md file for its whole history, and I cannot find Jana at all.
git log -S'Jana' -- articles/cognitive-services/Speech-Service/language-support.md

I also search for JanaNeural
git log -S'JanaNeural' -- articles/cognitive-services/Speech-Service/language-support.md

Hi @IEvangelist thanks for checking. Yes I am 100% certain. I used this tool which was created by an MVP (Luca Vitali) https://github.com/LucaVitali/AzureTTSVoiceGeneratorGUI to generate Audio Files with the region westeurope as my endpoint. I have generated several files using the "Jana" Voice on Friday, April 3rd. When I wanted to generate some more on Sat, April 4th, the voice was gone from the list... I had used the tool before but I only discovered the JanaNeural Voice on April 3rd. I was astonished on how natural the voice sounded compared the de-DE, KatjaNeural voice! It sounds a lot better, that's why I'm so determined to find this voice again :)

This is great information, what region (location) were you using?

This is great information, what region (location) were you using?

Azure westeurope. I also tried eastus today but I can‘t find the JanaNeural Voice there either.

 If so, look to see if the voice is locally available.

Press the Windows key
Search for Narrator voice
Look at the available voices on your machine

Is the Jana voice listed? It looks like the repo that you pointed me to, pulls the list of voices from the service - I'll ask the team if they know of any recent changes to the voices available.

Hi
No, I don't see the voice locally because i don't have German (de-DE) installed on my PC. Yes it's a Windows 10 PC. I only have English UK and German, Switzerland installed. Would be great if you could find out more about the available voices. Thanks.

@IEvangelist the exact name of the voice was "Microsoft Server Speech Text to Speech Voice (de-DE, JanaNeural)" if that helps. I was able to look it up in the XML file which is saved by the PowerShell GUI Tool, further "proof" that this voice was indeed publicly available for a very short time.

Hi @mozziemozz,
I heard back from the PM and they said that the voice was only there temporarily for testing. It is unclear at this point if that voice will ever be publicly available again. I do apologize, but we need to close this issue. Thank you for your patience and understanding.

Hi. Ok. If you don‘t mind, please tell them my feedback that it was the best TTS Voice in German i ever heard and they should most definitely make it available soon :)

I made sure to let them know, thanks again. #please-close


Try multi node

Master/Worker ports are configurable via ~/.scanner.toml.
Fixed a few things.

Awesome! Will look over the changes tomorrow morning.

What's the story now for someone who wants to start up a cluster? Like what's the series of commands I run to boot up on Ocean and Crissy?

This seems good overall and the few changes Will suggested are minor reformatting. I'd like to merge it so that I can revive the multi-gpu tests, if that's alright with y'all.

I would hold off for just a bit. @satyaprateek1994 is replacing the getFQDN logic, since it turns out the master can extract the worker's IP directly from the connection.

Going to merge this since it's blocking the multi-gpu tests. Feel free to integrate any fixes directly into master!


Info on parameter ranges

Can you please mention on what basis the parameter ranges are considered for attacks( for hyperopt)

Thank you.I was able to find this file,but Is there any reference for the ranges or have you mentioned these ranges based on the experiments done?
I could only find the default values in the attack files in ART framework,but not the ranges mentioned in random dict.Can you please give reference of the ranges for any attack if possible.

@moohax > Thank you.I was able to find this file,but Is there any reference for the ranges or have you mentioned these ranges based on the experiments done?

I could only find the default values in the attack files in ART framework,but not the ranges mentioned in random dict.Can you please give reference of the ranges for any attack if possible.