Getting some very unusual results

There are three issues I'm facing which I can't find a solution for on my own. Attached is a zip folder that contains a standard simulation script of one building located in Denver. I built the HPXML file from BEopt as suggested in your documentation.
1. Temperature does not track the setpoint:
I am running the simulation in timesteps of 10 minutes which means that use_ideal_capacity is set to True. But the indoor temperature is tracking a setpoint temperature that is slightly above the given setpoint. The figure below shows the heating/cooling setpoint and the indoor temperature and there is a clear offset. Is there a reason for this?

2. Cooling in winter is non-zero
The HVAC Cooling Electric Power for the building in winter during the first ten days of the year is non-zero. It remains close to a steady value of 50W. Is there a reason for this? Some base value used to make sure calculations don't fail? Also will this make a difference in the bigger picture when it comes to say annual total electric energy consumption.

3. Cooling energy comparison with OS-HPXML simulation is way off
This one is pretty self-explanatory. Looking at the graph there is a huge difference between what OS-HPXML predicts and what OCHRE predicts for the same HPXML file. Is there a calculation error somewhere on my end or some other issue?

OCHRE_BaselineIAT_Test.zip
Thank you so much for your patience and help!

Number 2 is a crankcase heaterhttps://en.wikipedia.org/wiki/Crankcase_heater. Any time the outdoor temp is below 50 F, the heater will be on at a small amount of power to prevent damage to the AC, and it gets reported as cooling energy use. See https://github.com/NREL/OCHRE/blob/4946b56ac4d75ee9aae0e6e140db67ba59171310/ochre/Equipment/HVAC.py#L944

For number 3: That's certainly an unexpectedly large difference. Some things I'd start with for debugging:

Make sure the setpoints are the same. If for some reason the cooling setpoint is different, that'd easily do it.
This is SO different I'd just confirm it's the same weather file.
Try to isolate if it's a difference in the loads vs. the AC performance. Given how large a difference it is, that's almost certainly the case. Looking at output variables for the loads, instead of energy consumption, will let you be sure.
One big known difference is with how ducts are modeled. You could try making a version of this without ducts, to see how much of the difference is just down to how the duct models work.

For 1: It'd be helpful if you can also plot the HVAC energy consumption along with temperature, and if you could say what the HVAC equipment/efficiency is here. Something does indeed look suspicious here, but I want to see how the HVAC is modulating in this case to know for sure what's going on.

Thanks for solving 2! That makes sense.
I suspect #1 and #3 both are related to each other. I have ensured that the setpoints are the same and so is the weather file as well as system capacities and efficiency. In fact these were my first ideas as well. Comparing loads is a great idea but I am not sure if it's feasible to do so correctly. Here is the plot with indoor temperature and the HVAC electric energy consumption.

Looking at this surely there is a load difference in between OCHRE and OSHPXML simulations For instance the indoor temp drops on its own accord significantly as per the OCHRE simulation in the cooling case. Now to see why I want to calculate the load differences which spawns the following questions:
(a) In OCHRE, to calculate the total heat gained by the space I calculated heat gain due to temperature difference between the surface and zone temperature using the corresponding film coefficient for each surface. This includes the convective and radiative components both right? The value obtained here is what OSHPXML defined as "Component Loads". I assume the LWR part is included already in this in the film coefficient.
(b) OSHPXL report "Component Loads" but I assume what they really mean is heat gained due to each source (per the doc). I plotted the net sensible + latent heat gain with cooling load delivered from OSHPXML and it looks like this:

Assuming the comparison is legitimate, I am not sure why OCHRE is predicting a negative load in summer. I assume this is why the temp is dropping below setpoint on its own without the AC.
(c) Finally, to check the value of heat gain in OCHRE, I plotted the individual sum of all the gains I calculated using method in (a) and plotted it against the sum of Net Sensible and Latent Heat Gains. The two are not close, so it seems my interpretation of these quantities is wrong. Could you help clarify?


exec is both python keyword and docker command

figure out a clean way to be able to do executor.docker.exec(...)

I recommend trimming off trailing underscores, so it becomes executor.docker.exec_(...). Few to no subcommands will have trailing - or _.

thanks @mahmoud , good solution!

I think this one is thoroughly solved.  Maybe we should add a doc though?


Revert "Kore.Step.Simplification.SubstitutionSimplifier"

Reverts kframework/kore#1113
@yzhang90 reports that this stops the KWASM memory proof from passing.

To be precise, see the explanation, https://runtimeverification.slack.com/archives/CC360GUTG/p1571836463301900?thread_ts=1571828677.301300&cid=CC360GUTG


fix findComponent failed for slots

The main problem is fully described on https://github.com/vuejs/vue-test-utils-next/pull/184.
I try to fix this just add one line code aggregateChildren(nodes, [node.component.subTree]) at findAllVnodes function.
In this test case:
it('finds all components', () => {
    const compB = defineComponent({
      name: 'compB',
      render: () => h('div', { class: 'B' }, 'TextB')
    })
    const compA = defineComponent({
      name: 'compA',
      template: '
<slot />
'
    })
    const starter = defineComponent({
      name: 'starter',
      template: '<comp-a><comp-b /><comp-b /><comp-b /></comp-a>',
      components: { compA, compB }
    })
    const App = defineComponent({
      name: 'App',
      render: () => h(starter),
      components: { starter }
    })

    const wrapper = mount(App)
    // find by DOM selector
    expect(wrapper.findComponent(compA).exists()).toBe(true)
    expect(wrapper.findComponent(compB).exists()).toBe(true)
    expect(wrapper.findComponent(starter).exists()).toBe(true)
  })

findComponent will start from AppVM.$.vnode.subTree, which is just vnode of starter. It won't appear in node.children and node.component.subTree.children because it is subTree of App.
And the slots problem, in this case, children of starter vnode is :
{
  default: Function
}

as @lmiller1990 said, we can't get vnode from it.
But I find component.subTree of starter vnode is vnode of CompA, so after we aggregateChildren the starter vnode the problem solved!

Actually it's very simple to understand, in this case:
const compA = defineComponent({
      name: 'compA',
      template: '
<slot />
'
    })
    const starter = defineComponent({
      name: 'starter',
      template: '<comp-a><comp-b /><comp-b /><comp-b /></comp-a>',
      components: { compA, compB }
    })

<comp-b /><comp-b /><comp-b /> is children of comp-a, but they will be compile to { default: () => } for better performance. If we can't use children to get their vnodes, we just git if from children of div, which div is subTree of compA.

I'll give this a test and review in the next day or two. Great job! I appreciate your work and contribution.

I'll give this a test and review in the next day or two. Great job! I appreciate your work and contribution.

OK, wait for your feedback

Oh cool, I get it now. https://github.com/vuejs/vue-test-utils-next/pull/184#issuecomment-678897322 was very useful.
Happy to merge this one - I have to ask, are there any cases we are missing? Or does this let findComponent work for everything?
PS: do you mind if I move this test into the findComponent.spec.ts file? I like to keep all the related tests in the same (makes it easier to find things).

@lmiller1990 of course it's better to put cases for same api together, I PR this for quick review and test. If everything is ok now, I can commit to make code style clean.

If it's all green it's all good 👍
It took me a while to get what this was doing:
if (matches(node, selector) && matchingNodes.indexOf(node) < 0) {

I guess with addition, it's possible we find the same node twice? W could just do !matchingNodes.includes(node) (not sure if there is a difference between indexOf and includes, I guess they are both checking object identity).
I also noticed there is a uid on components, we (might) be able to use that to keep track of which node(s) we've already found. But I think this is fine if it works.

Oh right, matchingNodes.indexOf(node) is not needed, I add this because at first I add this code:
if (node.component.subTree.component) {
  aggregateChildren(
      nodes,
      node.component.subTree.component.subTree.children,
   )
}

this do will add same vnodes multi times. But after remove this code, I guess we don't have to worry about it.

Oh right, matchingNodes.indexOf(node) is not needed, I add this because at first I add this code:
if (node.component.subTree.component) {
  aggregateChildren(
      nodes,
      node.component.subTree.component.subTree.children,
   )
}

this do will add same vnodes multi times. But after remove this code, I guess we don't have to worry about it.

Ah, I made a mistake, we still need this code. In the findAllComponents case wrapper.findAllComponents('.C') will be 4 if we don't check repeat.

I find the reason. In findAllComponents case:
const compC = defineComponent({
  name: 'ComponentC',
  template: '
C
'
})
const compB = defineComponent({
  template: '
TextBefore<comp-c/>TextAfter<comp-c/>
',
  components: { compC }
})
const compA = defineComponent({
  template: '
<comp-b ref="b"/><hello ref="b"/>
',
  components: { compB, Hello }
})

we will go through children of compA -> div -> comp-b -> div -> comp-c
and when we meet comp-b, we check it's subTree, which is div -> comp-c, so same vnode of comp-c will add twice.

Yes I thought so - with this change we can potentially "find" the same nodes more than once, so we need the check.
The way I was handling this was using an object and the component's uid: https://github.com/vuejs/vue-test-utils-next/pull/184/files#diff-217a6dd71dcfdf610f0eb74f47cb27c5R121
That means we don't need to check an entire array. It's slightly more efficient, but I think the way you are doing it works fine as well.
Looks good! I will give this a little test myself and then merge it up. Thanks a lot, this is great first contribution!

Very happy to contribute, for me I learned a lot about vnode ant how VTU work. Your guys have done great job, hope I can do more to help.
Oh right, I guess if we need to check matchedNodes, we can do some optimize at beginning of findAllVnodes, something like:
while (nodes.length) {
    const node = nodes.shift()!
    if (matchedNodes.include(node)) continue

since we already added it, we definitely have aggregate it's children

Oh @cexbrayat just saw your comment. Agreed on documenting this.
I am going to do a very detailed blog post about this at some point in the near future. It is really difficult to explain without a diagram of how the tree looks. It took many hours of logging for me to understand how the vdom works (and I still don't full get it, haha).

@cexbrayat It's a great idea, I did not add a comment because is really complex to explain, and another reason is my poor english😭, so I guess a doc from @lmiller1990 will be better.

@Jokcy If you write any blog posts about this library (or Vue internals) I can proof read and correct it - you can either email me or find me in Vue land discord.

@lmiller1990 I really appreciate you said that. I havn't tried to write an english post yet, maybe I should try 🤔.


[ipados] Add changelogTemplate

Relates to #39. Release notes are not published for all minor or patch versions, so using only the major version. Other release notes are easily accessible from that page, if available.
Also took the opportunity to normalize page (#2124).

Pattern seems not to be the same for all cycles:

You are right, and it depends. Sometime ios / ipados share the same release notes, and sometimes not. This is not consistent so I switched to links instead of the changelogTemplate. I also updated the link for 13 to use https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-13_1-release-notes : it seems 13.0 never existed (it is not listed on https://developer.apple.com/documentation/ios-ipados-release-notes/ and on https://en.wikipedia.org/wiki/IPadOS_13).


[Feature]: Shared or System Devbox Global Profile

Is your feature request related to a problem you're trying to solve? Please describe.

On a multi-user machine, we want a way to use Devbox to install system-wide or multi user packages, so an admin can configure packages for all their users
We want a way for teams to define global packages that should be installed across all their users, in addition to the user's own profile and global packages. This would let teams onboard faster by provisioning common packages needed for development
In both cases, we still want to give users the ability to create and sync their own devbox profiles, without modifying the shared profile.

Describe the solution you'd like
In addition to a user's normal devbox global profile, provide a way for users to install packages to a shared or system profile. This profile would be stored somewhere that is accessible to all users, so that when they activate their global shell, they automatically get the shared packages and configuration as well.
Additional context
See threads in our discord around Stackable configs or system-wide packages:

I think this was based on a conversation I started on Discord, so I'll subscribe here just in case :)

I hope this will get a milestone soon


Voting on Future Features and Supporting React on Rails

There's no obvious mechanism to collect votes on future features.
I'm opening up this "issue" as a placeholder for general comments about what people would like to see next.
ShakaCode, my company, has paid for many hours of developer's time to support the project.
We super, super appreciate community support through:

Reporting issues and using React on Rails.
Helping others use React on Rails.
Submitting PR's for any features (best to discuss first with me if it's a lot of work).
Hiring us for a starter pack of consulting to get up to speed on this. See Coaching for React on Rails.

Coming at this as someone completely new to React, evaluating JS libraries, so fresh eyes:

Install process should be streamlined. It's OK for new projects, but you modify too many existing files for established projects looking to integrate React on Rails. Route, application.js & css, adding a controller, tasks, etc. I know you're trying to be opinionated, but I'd rather see a "way" than a bunch of stuff that I'll wind up deleting. Plus you generate Profile.dev-hot which is identical to dev but with a todo.
Continuing the theme I'd prefer to see a blank project with directories set up than a hello world
Take a look at and shamelessly steal from https://github.com/thoughtbot/ember-cli-rails. I like how their stuff runs embedded in rails s rather than having its own startup process via foreman. Their asset process is also nice, but it does not use rails assets. Worth evaluating if it would be appropriate to do something similar
your tasks could probably live inside the gem?

@kayakyakr Great feedback! @jbhatab is working on simplifying the generator setup. @seoyoochan is working with me on some features.
@kayakyakr Let me know if you'd like to join our slack room. If you can help us with some of your great ideas, that would be awesome!!!

Just gave a talk on a migration path to React for the team I'm working with, including an intermediary hybrid step. I actually wound up going with Browserify + Babelify to start because it's a less intrusive setup, but if you can emulate a lot of what ember-cli-rails does (namely running their watch, lint, and compile process in server, the way they serve assets, and serving source maps by default), then I'd switch back in a heartbeat.
I'd be happy to sit in Slack, but I can't promise to provide anything more than commentary. The timelines don't allow for much OS work, unfortunately.

@kayakyakr Send me an email or other contact info!

@kayakyakr Latest generator is much less intrusive for v6. You can ask @jbhatab as he worked on it.

I saw that, much improved. The biggest remaining weakness of this project is how it interacts with sprockets. Ideally you'd be using /tmp/cache in a way similar to ember-cli or browserify.


Move to Node 16

GitHub Actions suggests that Node 12 will be deprecated by mid-2023: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. I don't know how much we need to change, but I'm relying on the following actions:

[ ] This repo
[ ] https://github.com/ankane/setup-sqlserver
[ ] https://github.com/ankane/setup-mariadb
[ ] https://github.com/ankane/setup-mysql

What's the best way to move forward?

Hey @krlmlr, they should all be on Node 16 now (were updated a few days ago).

Thanks. I'll double-check the tags/branches my workflows are using.


Can we run the extractor exe Locally using VS code instead of GitHub/Devops ? if so can you share us the steps.

Release version
v6.0.2-alpha.1.0.3
Question Details
Can we run the extractor file Locally using VS code instead of GitHub/Devops ? if so can you share us the steps.
Expected behavior
Can we run the extractor file Locally using VS code instead of GitHub/Devops ? if so can you share us the steps.
Actual behavior
Can we run the extractor file Locally using VS code instead of GitHub/Devops ? if so can you share us the steps.
Reproduction Steps
Can we run the extractor file Locally using VS code instead of GitHub/Devops ? if so can you share us the steps.

ifound the solution


Writing zero length array to_zarr fails with ZeroDivisionError: division by zero

Describe the issue:
Writing an empty Dask array to zarr causes division by zero.
Minimal Complete Verifiable Example:
See also: https://colab.research.google.com/drive/1VUOlJOkQyZ42zKTz3S3q0pKeiaLs0zIA?usp=sharing
import dask.array
import numpy as np
dask.array.from_array(np.arange(0)).to_zarr("z0.zarr")

Yields:
[/usr/local/lib/python3.10/dist-packages/dask/array/core.py](https://localhost:8080/#) in to_zarr(self, *args, **kwargs)
   2924         dask.array.to_zarr : equivalent function
   2925         """
-> 2926         return to_zarr(self, *args, **kwargs)
   2927
   2928     def to_tiledb(self, uri, *args, **kwargs):

[/usr/local/lib/python3.10/dist-packages/dask/array/core.py](https://localhost:8080/#) in to_zarr(arr, url, component, storage_options, overwrite, region, compute, return_stored, **kwargs)
   3692         **kwargs,
   3693     )
-> 3694     return arr.store(z, lock=False, compute=compute, return_stored=return_stored)
   3695
   3696

[/usr/local/lib/python3.10/dist-packages/dask/array/core.py](https://localhost:8080/#) in store(self, target, **kwargs)
   1766     @wraps(store)
   1767     def store(self, target, **kwargs):
-> 1768         r = store([self], [target], **kwargs)
   1769
   1770         if kwargs.get("return_stored", False):

[/usr/local/lib/python3.10/dist-packages/dask/array/core.py](https://localhost:8080/#) in store(***failed resolving arguments***)
   1234     elif compute:
   1235         store_dsk = HighLevelGraph(layers, dependencies)
-> 1236         compute_as_if_collection(Array, store_dsk, map_keys, **kwargs)
   1237         return None
   1238

[/usr/local/lib/python3.10/dist-packages/dask/base.py](https://localhost:8080/#) in compute_as_if_collection(cls, dsk, keys, scheduler, get, **kwargs)
    340     schedule = get_scheduler(scheduler=scheduler, cls=cls, get=get)
    341     dsk2 = optimization_function(cls)(dsk, keys, **kwargs)
--> 342     return schedule(dsk2, keys, **kwargs)
    343
    344

[/usr/local/lib/python3.10/dist-packages/dask/threaded.py](https://localhost:8080/#) in get(dsk, keys, cache, num_workers, pool, **kwargs)
     87             pool = MultiprocessingPoolExecutor(pool)
     88
---> 89     results = get_async(
     90         pool.submit,
     91         pool._max_workers,

[/usr/local/lib/python3.10/dist-packages/dask/local.py](https://localhost:8080/#) in get_async(submit, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, chunksize, **kwargs)
    509                             _execute_task(task, data)  # Re-execute locally
    510                         else:
--> 511                             raise_exception(exc, tb)
    512                     res, worker_id = loads(res_info)
    513                     state["cache"][key] = res

[/usr/local/lib/python3.10/dist-packages/dask/local.py](https://localhost:8080/#) in reraise(exc, tb)
    317     if exc.__traceback__ is not tb:
    318         raise exc.with_traceback(tb)
--> 319     raise exc
    320
    321

[/usr/local/lib/python3.10/dist-packages/dask/local.py](https://localhost:8080/#) in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    222     try:
    223         task, data = loads(task_info)
--> 224         result = _execute_task(task, data)
    225         id = get_id()
    226         result = dumps((result, id))

[/usr/local/lib/python3.10/dist-packages/dask/core.py](https://localhost:8080/#) in _execute_task(arg, cache, dsk)
    117         # temporaries by their reference count and can execute certain
    118         # operations in-place.
--> 119         return func(*(_execute_task(a, cache) for a in args))
    120     elif not ishashable(arg):
    121         return arg

[/usr/local/lib/python3.10/dist-packages/dask/array/core.py](https://localhost:8080/#) in store_chunk(x, out, index, lock, return_stored)
   4364     x: ArrayLike, out: ArrayLike, index: slice, lock: Any, return_stored: bool
   4365 ):
-> 4366     return load_store_chunk(x, out, index, lock, return_stored, False)
   4367
   4368

[/usr/local/lib/python3.10/dist-packages/dask/array/core.py](https://localhost:8080/#) in load_store_chunk(x, out, index, lock, return_stored, load_stored)
   4346         if x is not None:
   4347             if is_arraylike(x):
-> 4348                 out[index] = x
   4349             else:
   4350                 out[index] = np.asanyarray(x)

[/usr/local/lib/python3.10/dist-packages/zarr/core.py](https://localhost:8080/#) in __setitem__(self, selection, value)
   1495             self.set_orthogonal_selection(pure_selection, value, fields=fields)
   1496         else:
-> 1497             self.set_basic_selection(pure_selection, value, fields=fields)
   1498
   1499     def set_basic_selection(self, selection, value, fields=None):

[/usr/local/lib/python3.10/dist-packages/zarr/core.py](https://localhost:8080/#) in set_basic_selection(self, selection, value, fields)
   1591             return self._set_basic_selection_zd(selection, value, fields=fields)
   1592         else:
-> 1593             return self._set_basic_selection_nd(selection, value, fields=fields)
   1594
   1595     def set_orthogonal_selection(self, selection, value, fields=None):

[/usr/local/lib/python3.10/dist-packages/zarr/core.py](https://localhost:8080/#) in _set_basic_selection_nd(self, selection, value, fields)
   1979
   1980         # setup indexer
-> 1981         indexer = BasicIndexer(selection, self)
   1982
   1983         self._set_selection(indexer, value, fields=fields)

[/usr/local/lib/python3.10/dist-packages/zarr/indexing.py](https://localhost:8080/#) in __init__(self, selection, array)
    343
    344             elif is_slice(dim_sel):
--> 345                 dim_indexer = SliceDimIndexer(dim_sel, dim_len, dim_chunk_len)
    346
    347             else:

[/usr/local/lib/python3.10/dist-packages/zarr/indexing.py](https://localhost:8080/#) in __init__(self, dim_sel, dim_len, dim_chunk_len)
    180         self.dim_chunk_len = dim_chunk_len
    181         self.nitems = max(0, ceildiv((self.stop - self.start), self.step))
--> 182         self.nchunks = ceildiv(self.dim_len, self.dim_chunk_len)
    183
    184     def __iter__(self):

[/usr/local/lib/python3.10/dist-packages/zarr/indexing.py](https://localhost:8080/#) in ceildiv(a, b)
    165
    166 def ceildiv(a, b):
--> 167     return math.ceil(a / b)
    168
    169

ZeroDivisionError: division by zero

Anything else we need to know?:
Maybe related: https://github.com/pydata/xarray/issues/5741
This works fine:
import zarr
import numpy as np
zarr.save('z.zarr', np.arange(0))

Environment:

Dask version: 2022.12.1, 2023.4.1
Python version: Python 3.9.16, Python 3.10.12
Operating System: Linux 5.15.109, Linux 5.4.0-110-generic
Install method (conda, pip, source): conda

Hi, thanks for your report. Not familiar enough with hat implementation, but it looks like things go wrong in load_store_chunk. We probably shouldn't call setitem if the indexer is empty or the array is empty.
Investigations welcome

Just took a quick look - I think the issue is exactly as @phofl suggests. Looks like there's already some logic to avoid setting an index when x is literally None, but not if x is empty.
This is the existing code:
    try:
        if x is not None:
            if is_arraylike(x):
                out[index] = x
            else:
                out[index] = np.asanyarray(x)

Patching this in seems to solve the bug:
    try:
        if x is not None and x.size != 0:
            if is_arraylike(x):
                out[index] = x
            else:
                out[index] = np.asanyarray(x)

I don't know the code base too well, but if someones able to give this a vague "thumbs up" - I'd love to put this fix into a PR with a quick unit test.

are any maintainers able to give a quick update on the status of my PR? It's fixing an existing issue and just involves adding and x.size != 0 so its probably a fairly open and shut one?
(not trying to be pushy and totally get if it interferes with some other existing work, but just wanted to flag as I think it might have got forgotten about)


Find largest dirs (df/du replacement)

I need to get more than available 18Gb of space for running a GitHub Action. For this I need to clean up some of the pre-installed frameworks, and for that I need to know which subdirs are the biggest space hogs.

tdu (failed) https://bitbucket.org/josephpaul0/tdu/src/master/ - seemed like an ideal solution. but it only shows size for immediate dirs and largest files. And I needed to find largest dirs recursively. The output is still very nice if you won't forget -human option.

**du** (failed) - full command du -h -d 5 / 2>/dev/null |sort -h | tail -500. I always confuse if with df. The output is a mix of various dirs from various subdirs. Not user friendly.

**dust** is a winner for now - https://github.com/bootandy/dust

See also https://github.com/ibraheemdev/modern-unix


Branch synchronization: prerelease/2.5.0_stabilization --> mrtk_development

This is a pull request initiated by an automated process to keep prerelease/2.5.0_stabilization and mrtk_development in sync

superseded by #8726


External storage pool and volume events

At this point, storage pool events work, but still need to implement
volume events.

Test failure is legitimate and related to my code. Investigating

LGTM


Use gulp-watch to also handle new files

At the moment when you create new Sass partials or such, they are not watched by the watch task. It force you to kill gulp and restart it. If we move to gulp-watch those could be handled as well.

ℹ  Gulp-watch seems to have issues to see file changes inside Vagrant boxes 😭

@LeBenLeBen is there anything we can do on the drifter side to help with this? I tested it with LXC and it works fine.

I didn’t find a good and easy solution to this sadly.


Can Column chart has onCLick event?

Hi, there is possibility to set onValueTouchListener like in sample app.
Does it not work for you?


Consider re-introducing the Service Locator into the project

The Service Locator is not a good thing to use, most of the time we will want to use a proper DI framework instead - but for smaller projects (and legacy projects) it might have some limited usefulness.
Also - as a mechanism to aid in testing, it should be possible to create a temporary configuration, such as:
using(var slConfig = ServiceLocator.CreateTemporaryConfig())
{
  slConfig.Select(loc => {
    loc
      .Select<IFoo>(() => new FooImplementation());
  });
}

This 'temporary' configuration would be useful in testing, creating a temporary service locator configuration which may be used in a self-contained environment.  Once the slConfig object is disposed the temporary configuration is discarded and the main configuration is used instead.
The temporary config would hold the object & implementation mappings.  While it is active, the main config is suppressed (but preserved).

I've decided against this.  If the project is big enough to need a Service Locator, then it is big enough to use a DI framework like Autofac.
If it's too small for either (~5 classes or so) then dependency construction may be provided by-hand.


DPL-899 007c Phase 2 discovery

Description
Create stories for 007c Phase 2, including:

which are MVP
size estimate (S, M, L)

Who the primary contacts are for this work
Katy
Knowledge or Stake holders
Lesley, Abby

Draft stories (in need of a lot of R&D input still):
DPL-823 Import PBMC pool plates into Sequencescape
DPL-913 Submit banked PBMC tubes for cDNA prep
DPL-914 Combine banked PBMC tubes into one plate
DPL-915 Count thawed cells
DPL-916 Pool PBMCs based on cell count
DPL-917 Submit plate of PBMC pools for cDNA prep
DPL-918 Count pooled cells
DPL-919 Transfer PBMC pools to 10X chip
DPL-920 Transfer from 10X chip to GEMs plate, in duplicate
DPL-921 Stamp to cDNA PCR plate
DPL-922 Consolidate into cDNA PCR XP plate
DPL-923 Allow scRNA Core plates to enter existing 10X pipeline
DPL-924 10X PCR binning strategies change

Idea of how pipeline config could be:
# Thawing, pooling, GEM generation and cDNA Prep
# with an extra entry point half way down.
scRNA Core cDNA Prep:
  filters:
    request_type_key: limber_scrna_core_cDNA_prep
    library_type: Chromium single cell 5 prime HT v2
  relationships:
    LRC Bank Seq: LRC PBMC Thaw
    LRC Bank Spare: LRC PBMC Thaw
    LRC PBMC Thaw: LRC PBMC Pools
    LRC PBMC Pools: LRC 10X HT 5' Chip
    LRC PBMC Pools Fac: LRC 10X HT 5' Chip # some plates come in here, direct from faculty
    LRC 10X HT 5' Chip: LRC 10X HT 5' GEMs
    LRC 10X HT 5' GEMs: LRC 10X HT 5' cDNA PCR
    LRC 10X HT 5' cDNA PCR: LRC 10X HT 5' cDNA PCR XP

List of stories, post GEM-X decision:
Phase 1 - high priority:

https://github.com/sanger/limber/issues/1653

Phase 2 - main pipeline flow:

https://github.com/sanger/limber/issues/1392
https://github.com/sanger/limber/issues/1393
https://github.com/sanger/limber/issues/1395

Phase 2 - changes / enhancements:

https://github.com/sanger/limber/issues/1688
https://github.com/sanger/limber/issues/1689
https://github.com/sanger/limber/issues/1706
plus one I haven't written up yet (warn if multiple tubes with same ancestor vac id)

Writing notes to help decision around the donor pooling step - 1 source plate or 2:
1 source plate
Argument for doing this is that the first iteration of the pipeline will not require more than 1 source plate. The UX will be better as the user will not be asked to scan a plate into an extra screen.
Stories to do:

https://github.com/sanger/limber/issues/1706

2 source plates
Argument for doing this is that when the Cardinal main phase goes ahead, it may require 2 source plates here, and we have already built the interstitial page for this so wouldn't waste this work.
Stories to do:

https://github.com/sanger/limber/issues/1665
https://github.com/sanger/limber/issues/1664

I suggest selecting the '1 source plate' option, because a) it's better


E2254. Lifting Copy Loop and Refactoring bequeath_all

We suggest you including the below information in your pull request:

Refactored an each loop in teams_controller.rb and lifted it to team.rb and made it into the class method 'copy_teams_to_collection' to follow the DRY principle

Closes #7 and #8


Create LD_prune_plink.py

This is a subset of the script https://github.com/populationgenomics/saige-tenk10k/blob/main/genotypes_processing.py (lines 290-311).
The script ran in main and failed at this LD prune step (presumably because the Hail image needed to be updated).: https://batch.hail.populationgenomics.org.au/batches/427308/jobs/1
The job costs ~$80 AUD, so instead of re-running all the steps again, I will just run the steps that failed, using the intermediate files outputted already by the job above as input.


Fix installing ipykernel into interpreters for raw kernel

For #13956

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Just some small fallout from the native notebook kernel changes.
KernelFinder findKernelSpec used to guarantee that it would either throw an error or that it would have a kernel spec with an associated interpreter that would have ipykernel installed into it. The native notebook changes kept the dependency install in findKernelSpec, but only for when a kernel spec was actually found. In the case where a spec was not found findKernelSpec used to create a default kernel spec for the interpreter, install ipykernel and return that. That case of a non found spec was now not returning back anything and just returning back the active interpreter without ipykernel installed.

Codecov Report

Merging #13959 into main will decrease coverage by 0.14%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main   #13959      +/-   ##
==========================================
- Coverage   59.89%   59.74%   -0.15%
==========================================
  Files         696      697       +1
  Lines       38490    38612     +122
  Branches     5537     5568      +31
==========================================
+ Hits        23052    23068      +16
- Misses      14254    14354     +100
- Partials     1184     1190       +6

Impacted Files
Coverage Δ

...ient/datascience/jupyter/kernels/kernelSelector.ts
62.80% <28.57%> (-1.20%)
:arrow_down:

src/client/common/utils/localize.ts
96.24% <100.00%> (+<0.01%)
:arrow_up:

...client/datascience/kernel-launcher/kernelFinder.ts
75.13% <100.00%> (+3.41%)
:arrow_up:

src/client/pythonEnvironments/legacyIOC.ts
36.09% <0.00%> (-60.34%)
:arrow_down:

src/client/datascience/crossProcessLock.ts
79.41% <0.00%> (-11.77%)
:arrow_down:

src/client/common/utils/platform.ts
60.00% <0.00%> (-8.00%)
:arrow_down:

.../pythonEnvironments/common/externalDependencies.ts
66.66% <0.00%> (-4.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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

@DonJayamanne I agree on needing a test and I know that we've regressed this important scenario before. However I don't like leaving issues floating around forever and I enjoy keeping the flow going. So I opened up this new issue for triage instead of keeping this one around.
https://github.com/microsoft/vscode-python/issues/13970
I'll personally push at triage that this should be pulled in as a must fix bug.


high prio: sprig logo top right of sprig pages (hype, editor, gallery, upload) all link to wrong repo

bring it back to the hype page pls.

which repo do you want it linked to?

sounds good!


Adds two small extension points to JobProcessor

This moves job saving and event sending to two methods which can be overridden.

The lib still supports php 5.6 https://github.com/php-enqueue/job-queue/blob/master/composer.json#L8
This is sub tree split repo from php-enqueue/enqueue-dev  and hence read only. I cannot merge anything here instead a PR should be open on dev repo.


Add SublimeOptions.firstDayOfWeek

On the main page there is version 2.1.1!
How can I get your version 2.1.2? I need the setFirstDayOfWeek :-)


Timeouts seen with appscope/edge integration

What was reported:
started edge inside a docker container
started top process on host
attached to process
after some amount of time (less than a minute), the inspect stopped showing the process as scoped (with no changes made)
history doesn’t show a duration, which may imply that it’s still kind of running.
the scope attach command reported Inspect PID fails: timeout with consume the message
The machine where it was seen: "11th Gen Intel Core i7-1165G7 @ 2.80GHz x 8"

We thought this was resolved by https://github.com/criblio/appscope/pull/1579, but appears to persist.

Today I found pretty easy reproduction steps:
# Try to scope process where event destination is not available (nobody listens)
scope run -e tcp://localhost:9999 -- nc -lp 10001 &
# right after it try to run
scope inspect <nc_pid>
<Inspect failure: timeout with consume the message>
# the scope inspect will work correctly after 4~5 seconds

I susspect the reporting thread is busy with retry/reconnection try that it is not able to hit IPC handling code


New auth bb

#611   Description
Backwards compatible with previous types of tokens including Rokwire, Phone auth and Shibboleth auth
Changes in auth-middleware
The auth-middleware is expecting the following additional environment variables:
AUTH_ISSUER:  This is the issuer that is configured in the auth-building-block.
AUTH_PUBKEYS: The auth service needs a public private RSA Key pair, which is provided as an env variable in the following format. This is parsed as the keyset for decoding in def verify_userauth(..), if the issuer of the token is AUTH_ISSUER as above.
keys:[{
  "kty":  ,
  "e":  ,
  "kid":   ,
  "n":
}]

@ywkim312 We're not ready to merge just yet. Please review at a later time thanks.


WARNING :root:NaN or Inf in input tensor problem

INFO:global:Progress: 110 / 83320 [0%], Speed: 1.173 s/iter, ETA 1:03:07 (D:H:M)
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
[2020-08-02 19:30:50,046-rk0-train_siammask_refine.py#290] Epoch: [1][120/4166] lr: 0.010000	batch_time: 0.435500 (1.143975)	data_time: 0.000047 (0.692028)	rpn_cls_loss: 0.226122 (0.179825)	rpn_loc_loss: 0.189315 (0.190289)	rpn_mask_loss: inf (inf)	siammask_loss: inf (inf)	mask_iou_mean: 0.000000 (0.000000)	mask_iou_at_5: 0.000000 (0.000000)	mask_iou_at_7: 0.000000 (0.000000)
INFO:global:Epoch: [1][120/4166] lr: 0.010000	batch_time: 0.435500 (1.143975)data_time: 0.000047 (0.692028)	rpn_cls_loss: 0.226122 (0.179825)	rpn_loc_loss: 0.189315 (0.190289)	rpn_mask_loss: inf (inf)	siammask_loss: inf (inf)	mask_iou_mean: 0.000000 (0.000000)	mask_iou_at_5: 0.000000 (0.000000)	mask_iou_at_7: 0.000000 (0.000000)
[2020-08-02 19:30:50,046-rk0-log_helper.py# 97] Progress: 120 / 83320 [0%], Speed: 1.144 s/iter, ETA 1:02:26 (D:H:M)
INFO:global:Progress: 120 / 83320 [0%], Speed: 1.144 s/iter, ETA 1:02:26 (D:H:M)
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
[2020-08-02 19:31:00,345-rk0-train_siammask_refine.py#290] Epoch: [1][130/4166] lr: 0.010000	batch_time: 0.420345 (1.135102)	data_time: 0.000030 (0.685210)	rpn_cls_loss: 0.094134 (0.179464)	rpn_loc_loss: 0.174147 (0.190233)	rpn_mask_loss: inf (inf)	siammask_loss: inf (inf)	mask_iou_mean: 0.000000 (0.000000)	mask_iou_at_5: 0.000000 (0.000000)	mask_iou_at_7: 0.000000 (0.000000)
When I train the refine model, the above problem occurs.Then when I adjust lr from 0.01 to 0.001，a warning still appears after training the third epoch.This is my loss. Can anyone help me solve this problem?Thanks！
PICTURE:/home/wzw/.config/tencent-qq//AppData/file//sendpix4.jpg

@wangzhiwei-python Hi, I met the same problem, can you tell me how you solved it? thank you.

i am  facing same problem

When I train the refine model, the above problem occurs.Then when I adjust lr from 0.01 to 0.001，a warning still appears after training the third epoch.This is my loss. Can anyone help me solve this problem?Thanks！

Hi, I met the same problem, can you tell me how you solved it? thank you.

Hi, Did you solve this problem?

i am facing same problem

@wangzhiwei-python Hi, I met the same problem, can you tell me how you solved it? thank you.

Hi, Did you solve this problem?

i am facing same problem

Hi, Did you solve this problem?

I got the same problem, maybe.
First, I trained a SiamMask_base model and got the best snapshot weight with an accuracy 0.652 and robustness 0.308 on VOT-2016, which is lower than the accuracy mentioned in the paper. But I think that is enough.
Then, I used this weight as the pre-trained weight to train a SiamMask_refine model. But I got infinity siammask_loss and rpn_mask_loss at the early epochs. I reduced the learning rate from 0.01 to 0.001 and stopped at 0.000125, and it worked.

@nanowhiter Hello, what version of torch do you have installed?

@xiaofengBian I use PyTorch 1.5.0.

@nanowhiter Thank you for your timely reply. My training code still can't run. Could you send your revised training code? Thank you. My email is<EMAIL_ADDRESS>you very much。

@nanowhiter Or add a contact information to discuss it。This problem has been bothering me for a long time。I hope you can help me。


Unknown property: "transform" in undefined

Hi - thanks for the script -- it's exactly what I need!
I don't know if it's an issue with changes to Maxscript since 2014, but everything I try with this script returns an error: "-- Unknown property: "transform" in undefined"

Hello! I haven't touched max for over a decade 😬. Which script are you looking at?


ENG-7251 - RN & Android Consolidation

We had 89% of the same code in both the RN section and Android sections. The only real difference was checking a few RN components and NOT registering activities in RN to avoid some double registration

Pulled, run, address that comment and we should be good.


Allow registering event handlers that do not accept any parameters

Originally reported by @fnesveda in Slack
This :arrow_down: should work, now it does not:
async def foo() -> None:
    print("Ding")

Actor.on(Event.bang, ding)

Thanks Honza!


Limited precision of ERA5 data

Limited precision of ERA5 data
@ESMValGroup/scientific-lead-development-team @ESMValGroup/technical-lead-development-team
ERA5 netcdf data (e.g. downloaded with era5cli) seem to have a precision problem. An example of the problem is given below (monthly mean specific humidity at 100 hPa in January 2020).
While this is probably not a big problem at lower levels, the limited precision is problematic for e.g. stratospheric analyses. Additional testing suggests, that only the cached ("preprocessed") netcdf files from the CDS are affected. If reprocessing is triggered via the CDS interface (e.g. by selecting only a single level), the netcdf output looks fine.
A possible solution for this problem could be to extend the ERA5 fix to be able to process the original grib files instead of the cached (preprocessed) netcdf files downloaded by era5cli. As ERA5 data are important for many studies, I propose to add finding a solution for this problem to our mid-term strategy (https://github.com/ESMValGroup/ESMValTool/discussions/3035).
Data downloaded from CDS in grib format

Data downloaded with era5cli in netcdf format (similar to data downloaded from CDS in netcdf format)

@axel-lauer Thanks for pointing to this issue! It would be great to be able to process grib directly, also because DKRZ dowloads these files: https://docs.dkrz.de/doc/dataservices/finding_and_accessing_data/era_data/index.html#era-data

Ouch. Good catch, @axel-lauer! I agree that it would be nice to have support for grib, both ERA5 specifically, and all kinds of grib in general. Moreover, it shouldn't be too hard since courtesy of iris-grib iris can already read grib. Some work around translating parameter numbers to CMIP variables may be required.
However, isn't this also just a data failure on the center's part? Have you reported it upstream?

@zklaus: we did indeed communicate this to ECMWF via their ticket system. We got the following answer:
"Please note that the recommendation is to download the ERA5 data in its GRIB native format. The conversion to NetCDF format is provided for convenience but is experimental in the sense that the GRIB to NetCDF conversion should be ok for most cases but for some complicated GRIB products/mix of variables, there were issues such as the time coordinates not being correctly converted."
It seems like they will look into this at some point, but it is not a high priority for them.

However, isn't this also just a data failure on the center's part? Have you reported it upstream?

Spot on! I too think it's a processing error at CDS-server side. Apparently you can talk to a Knowledge Duck to raise an issue https://www.ecmwf.int/en/newsletter/169/news/climate-data-store-virtual-assistant

Hmhm. Some convenience that is.

@zklaus: we did indeed communicate this to ECMWF via their ticket system. We got the following answer: "Please note that the recommendation is to download the ERA5 data in its GRIB native format. The conversion to NetCDF format is provided for convenience but is experimental in the sense that the GRIB to NetCDF conversion should be ok for most cases but for some complicated GRIB products/mix of variables, there were issues such as the time coordinates not being correctly converted."
It seems like they will look into this at some point, but it is not a high priority for them.

what a load of baloney! It either works or not, if it don't, you retire it and make it work, and deploy again. Can we use a fix for this once it enters esmvaltool? Or we're producing statistical noise by upping the precision artificially?

@valeriupredoi: they use a JIRA system for their tickets. A colleague from our sister department actually opened the ticket and had me added for information purposes.

@valeriupredoi: they use a JIRA system for their tickets. A colleague from our sister department actually opened the ticket and had me added for information purposes.

cheers, Birgit! :beer:

Thank you for raising this issue here @axel-lauer .
Since I am one of those 'suffering' of this error, I am interested in finding a near term solution or option for our analysis. We currently think about converting the GRIB files manually to netcdf and hopefully being able to pursue our analysis with that. If reading in GRIB files directly is more on the midterm schedule, would netcdf Files being helpful for you?

Another comment: The GRIB Files provided by the DKRZ (which @katjaweigel mentioned) are on a different grid CDS: 1440x721
DKRZ: 1280x640. Do you think this is an issue, or which one would you prefer?


@inheritDoc not working properly?

Describe the bug
@inheritDoc directives do not work properly.
To Reproduce
Go to KVS or Configuration Apify SDK documentation - certain parts are missing, replaced by plain  @inheritDoc

Better file it at https://github.com/milesj/docusaurus-plugin-typedoc-api directly :]
I guess this will be caused by the parent not being from the same repository.


update beta.13

done via https://github.com/angular/angular2-seed/commit/d36be14c97165643901c69c6b7413d9143cb79e3


Black screen in editor OPENGL 3.3

Operating system or device - Godot version:
Windows 10 Nvidia GTX550Ti
Issue description:

When run build from 26.01.2017 editor loaded but its look like this.

But if change monitor resolution to lower and change back its looks normal.

I think maybe it's because my graphics card very old or maybe something else.
I know that no need to spam issue about 3.0, but maybe it helps somebody with same problem.
Don't be angry at me :З

Why close it? That's a known but valid issue.

Ok then i reopen issue. I close because i thought its just problem with editor only, but its problem with different parts of render... shadow atlas dont work at all, and if change atlas parameters it start to work, but its start create shadow from transform manipulator, so i think this issue not significant :З

Here, the editor starts with a black maximized window but is all visible when I change size/move the window

Issue like this happens on X11 too. But I think that reduz had noticed it too so it will be repaired once debugging starts. The fact that editor load time is much longer than in 2.1 might be caused by the same bug which is causing this.

And on OSX :)
There is another issue report about this from some time ago

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

@Noshyaar I'm not sure if what I'm experiencing is the same or a separate issue, but there's some resemblance so I thought I'd mention it.
In my case the editor is visible regardless of resolution, however I have a test app for changing fullscreen and resolution during runtime. It's working perfectly when my display is set to its default 1920×1080, but with any other resolution I can only see black when fullscreen is enabled.
(Windows 10 64 bit; Nvidia GeForce GTX 970; Godot v3.0.2.stable.official)
I have a simple test project for this:
https://github.com/sszigeti/godot-display-test

@sszigeti That's likely a separate issue, so it would be better to report it separately.
There was no answer from the OP regarding whether the issue is still valid, so closing.


Implement continuous integration and continuous deployment

Start with CircleCI.

Are done with #84?  We already have CircleCI, and deployment if it passes.

Yes, though adding Capybara integration testing should be a separate task.
--
Dan Kohn<EMAIL_ADDRESS>tel:+1-415-233-1000

On Jan 10, 2016, at 12:12, David A. Wheeler<EMAIL_ADDRESS>wrote:
Are done with #84? We already have CircleCI, and deployment if it passes.
—
Reply to this email directly or view it on GitHub.

Capybara is already separate, that is #108.  So let's close this one out, and I'm hoping that you will get a chance to add capybara and we will close #108 when that happens.


Checkstyle improvements

This PR adds support for an older output format of checkstyle and removes the support for linting temporary files, which causes problems for some checks as discussed in #1305.

Cheers! :beers:


Can support openGL?

I am a designer and always using Processing(processing.org)(built in Java and OpenGL) to create project of creative coding. If the project can be used TeaVM to translate from jre to WebAssembly, That's Amazing!
So, can The TeaVM support OpenGL or translation OpenGL to WebGL? or have some methods to support? Thanks!

WebGL is supported, what's wrong with it? What do you mean by "OpenGL"? What particular API?


input is not working on windows

I tested text_edit_singleline and find some issues:

We can input non-latin characters, but the input box is not on text edit.
backspace is broken.

I don't have windows system now. On which version did you see the problem ?
In linux too :

It seems the input box is not on text edit on linux either.
backspace is broken too


docker run busybox true doesn't work in ghcr.io/catthehacker/ubuntu:full-18.04

Description
The runner user isn't a member of the docker group, and /var/run/docker.sock is root:root which means that GitHub Workflows that expect to be able to run docker commands fail.
Virtual environments affected

[ ] Ubuntu 16.04
[X] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
% act --version
act version 0.2.24
% docker images|grep full
ghcr.io/catthehacker/ubuntu       full-18.04       ba48b179cc81   2 months ago   36.9GB

Is it regression?
No response
Expected behavior
the docker socket should be accessible by the runner user.
Implementation detail, for GHA, runner gid=docker and the docker.sock group is docker.
Actual behavior
runner@docker-desktop:~$ docker run busybox true
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.


Failing test: AddressRegistrationTests.ThrowsWhenBinding* on Ubuntu

These tests fail consistently on Ubuntu and it seems at first glance to be an actual product bug.

@halter73 could you please investigate?

Hopefully this will be fixed with dotnet/corefx#25914. @ryanbrandenburg should we disable these tests in the meantime?

I would say no. It doesn't stop us from producing packages and currently we don't key anything other than starting work items off the passage or failure of tests, so disabling the tests would only hide the problem in my opinion.


Add back database seeding for glossary terms.

This PR adds back database seeding for glossary terms.

The same pattern used for seeding learning resources is used for seeding glossary terms—A php file (glossary.php) containing the data in array format which is required in ExistingContentSeeder.php and iterated over.

@mattstauffer this is ready now I think. Writing term descriptions is harder than you may first think.

Thanks Jon! No kidding--when I was writing the book I was often shocked at how hard it is to describe things succinctly. It was often easier to write a page of content than a one-sentence breakdown.


Mouse Click

[x] Windows Supported
[x] Mac Supported
[x] Linux Supported
[x] Has hold functionality

Tested on Ubuntu 22.04, MacOS Monterey and Windows 10 & 11 work as expected no additional setup needed.


Vitest --ui should go to /vitest_

Describe the bug
When running older versions of Vitest (e.g. 0.2.7, 0.2.8) with the ui flag, it would open a tab with "/vitest" in the url. Current version does not do and leads to confusion.
Reproduction
Download and run locally should open a browser with vitest appended to the end
(0.2.7) https://stackblitz.com/edit/node-8iphaf?file=package.json
Download and run locally should, doesn't open with vitest appended
(0.3.6) https://stackblitz.com/edit/node-ulsvxr?file=.stackblitzrc
System Info
System:
    OS: macOS 12.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 572.81 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 98.0.4758.102
    Firefox: 96.0.3
    Safari: 15.2
  npmPackages:
    @vitejs/plugin-react: ^1.1.4 => 1.2.0
    vite: 2.7.13 => 2.7.13
    vitest: 0.2.7 => 0.2.7

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

In 0.5.0 it goes to http://localhost:51204/vitest/ for me. However, see #833.

Can you confirm @fadi-george that the issue resolved? Feel free to reopen.


Can latest Nuget.Server Nuget.Server <IP_ADDRESS> work with Visual Studio 2015 Update 3?

It is known per issue 2844 that API V3 mode of nuget.server is not yet working.  But, I just want to serve packages from my dev server, to be used inside our office, and I want both command line nuget and dotnet restore operations, and visual studio 2015 ide nuget package search/browsing to work.

I followed the steps here, using Nuget.Server <IP_ADDRESS>, inside empty .net 4.6 hosted inside iis
https://docs.nuget.org/ndocs/hosting-packages/nuget.server
http://www.hanselman.com/blog/HowToHostYourOwnNuGetServerAndPackageFeed.aspx

My code is here even including my web.config secret which has been changed locally, but it's exactly as built and deployed:  https://github.com/wpostma/temporaryrepo1

When I browse my server I see the RSS XML output at this url:
http://dev-html5/NugetServer/nuget/Packages

output (reduced)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xml:base="http://dev-html5/NugetServer/nuget/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
  <title type="text">Packages</title>
  <id>http://dev-html5/NugetServer/nuget/Packages</id>
  <updated>2016-10-18T17:35:09Z</updated>
  <link rel="self" title="Packages" href="Packages" />
     ... entry items are there, but snipped for brevity ...
</feed>

But when I add the package to visual studio 2015 in tools options package sources either as any of the below, I end up with errors when I try to use the visual studio Manage Nuget Packages feature to browse my custom nuget feed, which is configured inside Tools Options to one of these two options:

http://dev-html5.ramsoft.biz/NugetServer/nuget/Packages/
OR
http://dev-html5.ramsoft.biz/NugetServer/nuget/Packages/api/v2/

Errors visible in visual studio "Output from Package Manager" window:
[RamSoft Package Source] The V2 feed at 'http://dev-html5.ramsoft.biz/NugetServer/nuget/Packages/Search()?$filter=IsAbsoluteLatestVersion&searchTerm=''&targetFramework='net45'&includePrerelease=true&$skip=0&$top=26' returned an unexpected status code '400 Bad Request'.
[RamSoft Package Source] The V2 feed at 'http://dev-html5.ramsoft.biz/NugetServer/nuget/Packages/api/v2/Search()?$filter=IsAbsoluteLatestVersion&searchTerm=''&targetFramework='net45'&includePrerelease=true&$skip=0&$top=26' returned an unexpected status code '400 Bad Request'.

It seems to me similar to this bug !2443 which is marked fixed.

Try http://dev-html5.ramsoft.biz/NugetServer/nuget/ as the package source instead. The /Packages suffix is what Visual Studio will add internally.

Oh dear. That was it! Thanks.


NAS-132562 / 25.04 / Update LDAP config collection for sssd

LDAP attempts to collect configuration for nslcd, but nslcd has been replaced with sssd.
This PR removes nslcd from LDAP data collection and replaces it with sssd.
Exclude password fields.
Manual test showed password field was excluded.

Jira URL: https://ixsystems.atlassian.net/browse/NAS-132562

Jira URL: https://ixsystems.atlassian.net/browse/NAS-132562

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.


Test hive create namespace

Which issue this PR addresses:
https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/14962382/
What this PR does / why we need it:
Unit tests for pkg/hive/manager.go, CreateNamespace func.
Is there any documentation that needs to be updated for this PR?
No

/azp


Make morphomath postprocessing compatible with soft predictions

Following #205, we implement here a solution to make morphomath postprocessing compatible with soft predictions.
To do so, we call the thresholding with low thr (1e-3), run the morphomath on the binary array, mask the soft input with the binary array output by the morphomath operation.
It also implement tests specific to soft inputs.

I am removing the soft input possibility for fill_holes as we can't "recover" the voxel soft value from the input (as done with keep_largest) as ... there is a hole. More complex strategies could be implemented in the future.

chgroc@rosenberg:~/ivado-medical-imaging$ pytest -q testing/test_postprocessing.py
.......                                                                  [100%]
7 passed in 0.28s


opt: use runtime/debug.Stack() to print stack trace of panic

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.65%. Comparing base (043c2e9) to head (d8a2c5a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #93      +/-   ##
===========================================
- Coverage    86.90%   86.65%   -0.26%
===========================================
  Files           17       17
  Lines         1100     1094       -6
===========================================
- Hits           956      948       -8
- Misses         110      111       +1
- Partials        34       35       +1

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

thank you for your contribution.


Docs maintenance

This PR links some functions to the API reference. These functions previously only showed up in code format because the path to the actual API was incorrect.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Plans for the reflection API?

As per https://github.com/shader-slang/slang/pull/5301 and reading on https://github.com/shader-slang/slang/issues/5565 . I understand the plan is to favor COM interfaces and move away entirely from the C API.
The current reflection API in slang.h seems to be wrapper classes around the deprecated C API.
I am currently writing odin bindings for the Slang API and I wanted to ask what are the plans  (if any) on the reflection API. Will there be COM objects for it? Will the Reflections C API be nuked from existence in the foreseeable future?
I might be wrong in the following statement, but it seems weird to me to move this particular api to deprecated.h when there isn't an ABI-stable alternative to it at the moment.
Thank you for this project and looking forward to see where things go

I am OK with keeping language bindings in separate repos if that makes things cleaner to work with. The C api should definitely be maintained here.
Is there a standard for such a json / xml com descriptor file? Are there any existing solutions to produce COM bindings from a json?

Is there a standard for such a json / xml com descriptor file?

Not that I know of. As far as I'm aware Vulkans XML schema is custom. The advantage of XML/JSON is that most languages provide plenty of options to read those formats.

I managed to write manual bindings to slang.h in a few hours

That's what I do for the COM interfaces in my bindings too. It's too error prone especially when keeping up with new releases.
By providing the API in a machine readable format, generating bindings from other languages should be much easier. It also lifts the burden of having to maintain all of those bindings here whilst giving implementors of said bindings the freedom generate opinionated wrappers.

I support the idea to provide a json file for the com bindings to make downstream work of binding generation easier.

I'll continue work on the binding generator and try to provide C and JSON targets. Will file a separate issue to track that work.


What's the replacement for mapTemplate

We were using mapTemplate and are now wondering how to get ready to migrate.

Use something like this:
export function getPost (id) {
  if (!Template.cache[id]) {
      let store = atom()
      // add all callbacks
      Template.cache[id] = store
    }
    return Template.cache[id]
}

getPost.cache = {}


Tolerate retriable docker pull errors

/gcbrun

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 23 (95.65%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 66.134%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

deploy/deploy.go
15
16
93.75%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
3685

Relevant Lines:
5572

💛  - Coveralls

/gcbrun


USHIFT-3784: Removed manage_vm_connections.sh and PUBLIC_IP

The public_ip file seems to be also used in<EMAIL_ADDRESS>The error did not come up in the tests because we explicitly exclude CNCF test from presubmits because it takes over 2h.
We need to also fix the test.

The public_ip file seems to be also used in<EMAIL_ADDRESS>The error did not come up in the tests because we explicitly exclude CNCF test from presubmits because it takes over 2h.
We need to also fix the test.
/hold

/lgtm
/unhold


propertyPath doesn't allow to access an array element

Could you use something more robust than the custom implementaion, like JsonPath ?
https://github.com/fjogeleit/yaml-update-action/blob/036e48d849523a88238477939a74583b64de442a/src/action.ts#L96

You can access array elements with .indexNumber like containers.0.image. Yes it is currently very basic. I will have a look on your suggestion.

Oh thanks it works!
Yeah json path would be much more elagant, you can do smoething more complex  like path.array[name=foo].bar

yeah, you're right, I will test it and see if it is backward compatible or how I can make it optional available. Don't want to break existing workflows.

The new release has jsonpath support. Thanks for the suggestion:
https://github.com/fjogeleit/yaml-update-action/releases/tag/v0.7.0

Great!


Lose Game Audio When Alt-tab

Describe the bug
Lose game audio permanently when in game and alt tab out. Only way to restart the program.
To Reproduce
Steps to reproduce the behavior:
alt tab while in game, including game room lobby.
Log or error message
This is my log file:
Not sure how to pull logs.
Expected behavior
A clear and concise description of what you expected to happen.
Alt tab should have no impact on audio
Screenshots
If applicable, add screenshots to help explain your problem.
n/a
OS
Linux or Windows
Windows
Wanna have the bug fixed quickly?
Visit Issue hunt...

Anyone else have this issue? Eager to work on this.

The sound and alt-tab issues with the game are well documented and out of our control. The client is unable to affect the behavior of the game when alt tabbing as that is directly controlled by the game engine which we do not have access to.
The recommended way to resolve this is to play the game in windowed mode.


⚠ Bofrost.es has degraded performance

In 34535ab, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1602 ms

Resolved: Bofrost.es performance has improved in 8f213c8 after 6 minutes.


Add Golang resources.

Does Golang mean files containing information about Go language? Where can I find the files so I can add them?

@codingonHP  can you pls review my pull request for this issue. I have added Resources , books, and web framework for Go lang

Hi, I would like to work on this issue, Can I get started with this?

I would like to take this issue up

@sauradip007  any updates on the issue?

Hello,
I have my own notes and research in Golang.
I have done  certification in Golang also.
If you specify what type of resources you prefer most I would love to contribute in it.

Hey if this issue is still open, can I contribute to it?


Added requirements.txt for required python packages

Hi! I've been really looking forward to something like this, I really hope to improve on this!
The readme was missing some instructions about disabling the read-only rootfs and installing pip / some libraries.
This PR adds a requirements.txt listing those libraries and improves the install guide a little bit.

I had to manually install them because neither pip nor these two libraries were present on my deck.

ahh now that i think about it they may have been requirements of something else i installed. yep good addition


Unignore doc tests that pass now with CC enabled

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.


docs(a11y): add section on testing for a11y

Closes #528
Adds section to README.md on how to test for accessibility. Moves the section added in #615 down to this section and explains how to handle the violations that are flagged.
Also adds a bullet to the Accessibility Guide in the Testing section to recommend aXe and link back to the README.md.

Deploy preview for pf-next ready!
Built with commit 9cd3f93843a3d78458d15c3bafbeaa481a6e3015
https://deploy-preview-732--pf-next.netlify.com

@seanforyou23 @matthewcarleton
Thanks for your review! I made updates based on @seanforyou23's feedback. I also listed the screen readers that I mentioned on slack this week, with links to keyboard shortcuts for these screen readers.
Let me know if you have any further suggestions.
Thanks!

Thanks for the great suggestions, @michael-coker! I made those updates. I think this is ready to merge.


Switch to the Workbox InjectManifest plugin

Fixes https://github.com/facebook/create-react-app/issues/9141
More details about this change can be found in https://github.com/facebook/create-react-app/issues/9141#issue-637179372
This PR includes a filename change from src/serviceWorker.js to src/registerServiceWorker.js, but I didn't include any of the "automation" steps @mrmckeb mentioned in https://github.com/facebook/create-react-app/issues/9141#issuecomment-647934755. I'm not sure how to implement that.
It's been a while since I've contributed to c-r-a, so apologies if I'm missing anything! I'll add in a few inline comments with particular bits I'm not sure of.

Thanks for making those updates, @ianschmitz!
So that's an interesting point about logo192.png, and it applies to anything else that isn't included as part of the webpack asset pipeline. I see that everything in public/ is just copied over outside of webpack's control:
https://github.com/facebook/create-react-app/blob/abe236963c75160f905f0cd96a2abaee245ba653/packages/react-scripts/scripts/build.js#L223-L228
workbox-webpack-plugin gets its list of files to precache from the webpack asset pipeline, as opposed to earlier versions that glob-ed for files on disk. So the files in public/ aren't showing up.
We've told developers who have files outside of the webpack compilation to use copy-webpack-plugin to get them in to the pipeline, but I'm assuming there's a reason why c-r-a avoids doing that.
Something I can do instead is:

update the c-r-a PWA documentation to clarify this
add in a runtime caching strategy to the default swSrc file that will pick up same-origin .png requests and serve them with a stale-while-revalidate strategy, with a maximum cache size.

That might actually be helpful as a guide to developers who want to cache additional URLs at runtime, to accommodate other subresource requests that aren't part of the webpack compilation.

We've told developers who have files outside of the webpack compilation to use copy-webpack-plugin to get them in to the pipeline, but I'm assuming there's a reason why c-r-a avoids doing that.

I wouldn't be opposed to adding CopyWebpackPlugin for production builds. The original logic was added almost 4 years ago now: https://github.com/facebook/create-react-app/pull/703.
If this would improve the service worker support and mean that more of the static assets are served from cache then I'm all for it!

I wouldn't be opposed to adding CopyWebpackPlugin for production builds. The original logic was added almost 4 years ago now: #703.
If this would improve the service worker support and mean that more of the static assets are served from cache then I'm all for it!

Well, I don't want to force you all to make what might be a change with unexpected side-effects at the last minute if you weren't planning on doing so otherwise.
There's always a conflict when creating a service worker that uses both precaching and runtime caching as to what should be precached and what should be cached at runtime. For resources like logo192.png and logo512.png, where they're only requested under some specific circumstances, it might not actually make sense to have them cached in advance unconditionally.
I can add in the runtime caching route for local .pngs in this PR, and if something changes with the way public/ is copied over, we can adjust.

Would this replace #8485 ? @marlonmleite

I wanted to publicly summarize some of the discussion that's been happening with the c-r-a maintainers regarding the changes in this PR.
My understanding is that we're going to keep the webpack.config.js-related changes and the upgrade to workbox-webpack-plugin v5.1.3 in this PR. I think it also makes sense to keep the serviceWorker.js ▶ serviceWorkerRegistration.js file rename in this PR as well.
The new service-worker.js (and service-worker.ts) files are not going to be checked in to the main c-r-a repo as part of this PR. Instead, we'll be creating a new cra-template in both JS and TS variations, and that will contain the service-worker.js file along with the relevant dependencies on the workbox-* runtime modules that it might use. That will hopefully work around the PnP issues.
Developers who want to use Workbox's precaching will need to either apply the cra-template or alternatively, just create their own local src/service-worker.js file. The webpack plumbing will already be in place to check for that specific file name, and if present, run it through the Workbox InjectManifest plugin.

I've updated this PR to remove the service-worker.* files, and modify the PWA docs to reflect the way folks should go about customizing the service worker. (With a reference to the placeholder cra-template-pwa and cra-template-pwa-typescript projects.)
But, the latest set of CI failures are:
Error: [BABEL] /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/src/index.js: Cannot find module '@babel/plugin-syntax-jsx'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/babel-preset-react-app/create.js
- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/babel-preset-react-app/index.js
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/workbox-build/build/lib/bundle.js
- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/workbox-webpack-plugin/build/generate-sw.js
- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/workbox-webpack-plugin/build/index.js
- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/config/webpack.config.js
- /home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/scripts/build.js (While processing: "/home/vsts/work/_temp/tmp.PhUihFFUTA/test-app/node_modules/babel-preset-react-app/index.js")

That stacktrace mentions workbox-webpack-plugin/build/generate-sw.js, but that's not code that's actually run as part of this PR (workbox-webpack-plugin/build/inject-manifest.js is what's being run).

Would this replace #8485 ? @marlonmleite

No, this is just a few adjustments.
I am awaiting the position of the maintainers to apply merge.

I believe i've fixed the build issues. Would you mind signing the CLA @jeffposnick?

Thanks for all the work you've put into this @jeffposnick!

Thanks for this. I need some help debugging workbox, I have set up some configuration, but not able to enable debug to see the logging to figure out what my caching not working. How can I enable workbox debug in production build?

@9jaboy, the Workbox codebase uses the process.env.NODE_ENV symbol to determine whether or not to enable debug logging in the final bundle. E.g.: https://github.com/GoogleChrome/workbox/blob/57ad215913b95f854f6ac981c77cb3536c46de48/packages/workbox-routing/src/NavigationRoute.ts#L112-L115
webpack handles replacing process.env.NODE_ENV based on the configured mode option for the main compilation.
I'm not sure whether there's a way to use c-r-a and set mode: 'development', though.

@jeffposnick Earlier a service-worker.js file used to get generated with help of scripts in build folder.
After v4, it's no longer getting generated.
And ServiceWorker is not getting registered in any app generated by v4 > higher version CRA app.
i don't even see registerServiceWorker.js getting generate in build folder.
Can you connect the bug I am mentioning, with PR changes mentioned here?

@varora1406, please take a look at https://create-react-app.dev/docs/making-a-progressive-web-app/, and specifically the
npx create-react-app my-app --template cra-template-pwa

command, which is the c-r-a v4 approach to opting-in to using a service worker.

@jeffposnick there is some difference between src/service-worker.js and build/service-worker.js.
Problem is build folder created with react-scripts is not creating build/service-worker.js.
And you can verify it with
npx create-react-app my-app --template cra-template-pwa-typescript and see even after serviceWorker.register() , service worker registration is failing.
I am trying to find issue in react-scripts and add fix as soon as possible, but this is affecting from v4 and works correctly in previous version.
Let me know if I am pointing to wrong direction, because my focus is at file build/service-worker.js

I just did:
$ npx create-react-app my-app --template cra-template-pwa-typescript
$ cd my-app
$ yarn build

and following that sequence, a build/service-worker.js file is present and seems to contain the expected contents.
So... I'm not able to reproduce what you're describing.
Also, a merged PR is not the best place to discuss bugs or ask questions—I'd suggest opening a new issue if you're still running into problems.

@jeffposnick  I just figured that there is no service-worker.js after migrating to react-script v4 in my existing project. After a bit of research, I find this PR, but I don't know how can I automate this migration process for my self. How could I install this plugin and automate the process?
As I have a deadline, so I did more research and found #10032 comment and #9776 comment and I did what they said:

generate new CRA app with pwa
copy new files from src to my existing project src file.
copy workbox-* and veb-vitals to my package.json file.
finally update my src/index.js to use new serviceWorkerRegistartion.js file.

Is that all I should do for have completely stable SW as I had before?
I also should mention that official CRA doc about PWA is not understandable for who wants to migrate from 3.4 to 4.0. I think that should be updated too!

@theMasix is this the right approach to do? Im also confronted with the same issue. It is kind of a pain that there is no guide or reference on how to migrate a react-pwa app that uses r-s: 3.4 to  version4.0

@theMasix is this the right approach to do? Im also confronted with the same issue. It is kind of a pain that there is no guide or reference on how to migrate a react-pwa app that uses r-s: 3.4 to  version4.0

@MarcoLeko Yeah I think this is the right way but not officially documented! Since 2months ago(that I implemented the solution which I mentioned), I didn't realize any side effect or inconsistency and I don't have any issue with PWA anymore.

@MarcoLeko Yeah I think this is the right way but not officially documented! Since 2months ago(that I implemented the solution which I mentioned), I didn't realize any side effect or inconsistency and I don't have any issue with PWA anymore.

Earlier after run build project in folder "build" were creating file precache-manifest.js. Now in new project CRA after build this fille not create. And old project whitch update from react-scripts 3.x.x to 4.x.x and update service-worker file, precache-manifest.js not create too, although workbox enter in browser console writes about chaching. In all these project exist write precacheAndRoute(self.__WB_MANIFEST); in service-worker file.
Should file precache-manifest.js in last versions not creating or what can be wrong?

@Olegloggin, there is no precache-manifest.js generated file in the build folder with v4.
You can check here, how I've fixed it.
Hope it'll work.


Unable to change instanceSize with advancedDeploymentSpec

What did you do to encounter the bug?
Steps to reproduce the behaviour:
Created an AtlasDeployment with following spec:
kind: AtlasDeployment
metadata:
  name: one
spec:
  projectRef:
    name: playground-project
  advancedDeploymentSpec:
      clusterType: SHARDED
      name: one
      backupEnabled: true
      diskSizeGB: 10
      mongoDBMajorVersion: "4.4"
      pitEnabled: false
      replicationSpecs:
      - numShards: 1
        regionConfigs:
        - autoScaling:
            compute:
              enabled: true
              maxInstanceSize: M40
              minInstanceSize: M30
              scaleDownEnabled: true
            diskGBEnabled: true
          electableSpecs:
            instanceSize: M30
            nodeCount: 3
          providerName: GCP
          regionName: WESTERN_EUROPE
          priority: 7

Update the spec to change the instanceSize to M40
What did you expect?
Expected the Operator to reconcile this and Atlas API to accommodate this request.
What happened instead?
Operator logs show following:
{"level":"INFO","time":"2022-08-18T10:13:29.920Z","msg":"-> Starting AtlasDeployment reconciliation","atlasdeployment":"mongodb/one","spec":{"projectRef":{"name":"playground-project","namespace":""},"advancedDeploymentSpec":{"backupEnabled":true,"clusterType":"SHARDED","diskSizeGB":10,"mongoDBMajorVersion":"4.4","name":"one","pitEnabled":false,"replicationSpecs":[{"numShards":1,"regionConfigs":[{"electableSpecs":{"instanceSize":"M40","nodeCount":3},"autoScaling":{"compute":{"enabled":true,"scaleDownEnabled":true,"minInstanceSize":"M30","maxInstanceSize":"M40"}},"priority":7,"providerName":"GCP","regionName":"WESTERN_EUROPE"}]}]},"backupRef":{"name":"","namespace":""}},"status":{"conditions":[{"type":"Ready","status":"False","lastTransitionTime":"2022-08-18T10:13:29Z"},{"type":"ValidationSucceeded","status":"True","lastTransitionTime":"2022-08-18T10:01:06Z"},{"type":"DeploymentReady","status":"True","lastTransitionTime":"2022-08-18T10:12:22Z"}],"observedGeneration":2,"stateName":"IDLE","mongoDBVersion":"4.4.15","connectionStrings":{"standard":"mongodb://one-shard-00-00.dw7cw.mongodb.net:27016,one-shard-00-01.dw7cw.mongodb.net:27016,one-shard-00-02.dw7cw.mongodb.net:27016/?ssl=true&authSource=admin","standardSrv":"mongodb+srv://one.dw7cw.mongodb.net"}}}
{"level":"INFO","time":"2022-08-18T10:13:30.328Z","msg":"Status update","atlasdeployment":"mongodb/one","lastCondition":{"type":"DeploymentReady","status":"False","lastTransitionTime":null,"reason":"DeploymentNotUpdatedInAtlas","message":"PATCH https://cloud.mongodb.com/api/atlas/v1.5/groups/62fb6c0da131bd11a75ec2f9/clusters/one: 400 (request \"BASE_INSTANCE_SIZE_MUST_MATCH\") Electable and read-only nodes must all have the same instance size."}}

Next, tried to provide readOnlySpecs as well while updating the instanceSize. Below is the new spec.
apiVersion: atlas.mongodb.com/v1
kind: AtlasDeployment
metadata:
  name: one
spec:
  projectRef:
    name: playground-project
  advancedDeploymentSpec:
      clusterType: SHARDED
      name: one
      backupEnabled: true
      diskSizeGB: 10
      mongoDBMajorVersion: "4.4"
      pitEnabled: false
      replicationSpecs:
      - numShards: 1
        regionConfigs:
        - autoScaling:
            compute:
              enabled: true
              maxInstanceSize: M40
              minInstanceSize: M30
              scaleDownEnabled: true
            diskGBEnabled: true
          electableSpecs:
            instanceSize: M40
            nodeCount: 3
          readOnlySpecs:
            instanceSize: M40
          providerName: GCP
          regionName: WESTERN_EUROPE
          priority: 7

Observation in Operator logs:
{"level":"INFO","time":"2022-08-18T10:18:43.628Z","msg":"-> Starting AtlasDeployment reconciliation","atlasdeployment":"mongodb/one","spec":{"projectRef":{"name":"playground-project","namespace":""},"advancedDeploymentSpec":{"backupEnabled":true,"clusterType":"SHARDED","diskSizeGB":10,"mongoDBMajorVersion":"4.4","name":"one","pitEnabled":false,"replicationSpecs":[{"numShards":1,"regionConfigs":[{"electableSpecs":{"instanceSize":"M40","nodeCount":3},"readOnlySpecs":{"instanceSize":"M40","nodeCount":0},"autoScaling":{"compute":{"enabled":true,"scaleDownEnabled":true,"minInstanceSize":"M30","maxInstanceSize":"M40"}},"priority":7,"providerName":"GCP","regionName":"WESTERN_EUROPE"}]}]},"backupRef":{"name":"","namespace":""}},"status":{"conditions":[{"type":"Ready","status":"False","lastTransitionTime":"2022-08-18T10:13:29Z"},{"type":"ValidationSucceeded","status":"True","lastTransitionTime":"2022-08-18T10:01:06Z"},{"type":"DeploymentReady","status":"False","lastTransitionTime":"2022-08-18T10:13:30Z","reason":"DeploymentNotUpdatedInAtlas","message":"PATCH https://cloud.mongodb.com/api/atlas/v1.5/groups/62fb6c0da131bd11a75ec2f9/clusters/one: 400 (request \"AUTO_SCALING_NOT_SUPPORTED\") Cannot set auto-scaling. Auto-scaling not supported for asymmetric clusters.."}],"observedGeneration":3,"stateName":"IDLE","mongoDBVersion":"4.4.15","connectionStrings":{"standard":"mongodb://one-shard-00-00.dw7cw.mongodb.net:27016,one-shard-00-01.dw7cw.mongodb.net:27016,one-shard-00-02.dw7cw.mongodb.net:27016/?ssl=true&authSource=admin","standardSrv":"mongodb+srv://one.dw7cw.mongodb.net"}}}

{"level":"INFO","time":"2022-08-18T10:18:44.093Z","msg":"Status update","atlasdeployment":"mongodb/one","lastCondition":{"type":"DeploymentReady","status":"False","lastTransitionTime":null,"reason":"DeploymentNotUpdatedInAtlas","message":"PATCH https://cloud.mongodb.com/api/atlas/v1.5/groups/62fb6c0da131bd11a75ec2f9/clusters/one: 400 (request \"AUTO_SCALING_NOT_SUPPORTED\") Cannot set auto-scaling. Auto-scaling not supported for asymmetric clusters.."}}

Screenshots
N/A
Operator Information

Operator Version (1.2.0)

Questions:

Are  we supposed to update instanceSize with operator (Custom resource spec) when autoScaling is enabled.
if yes, why are we supposed to provide readOnlySpecs when we don't want them and just have electableSpecs.
if no, is this behaviour of the operator documented somewhere and do we have any Do's and Don'ts with the operator?

Hey @sunchill06,
Haven't seen such asymmetric clusters error myself. Will try to reproduce and will get back to you.

Cannot reproduce. Was able to jump back and forth between these two configs without issues:
apiVersion: atlas.mongodb.com/v1
kind: AtlasDeployment
metadata:
  name: one
spec:
  projectRef:
    name: playground-project
  advancedDeploymentSpec:
      clusterType: SHARDED
      name: one
      backupEnabled: true
      diskSizeGB: 10
      mongoDBMajorVersion: "4.4"
      pitEnabled: false
      replicationSpecs:
      - numShards: 1
        regionConfigs:
        - autoScaling:
            compute:
              enabled: true
              maxInstanceSize: M40
              minInstanceSize: M30
              scaleDownEnabled: true
            diskGB:
              enabled: true
          electableSpecs:
            instanceSize: M30
            nodeCount: 3
          readOnlySpecs:
            instanceSize: M30
            nodeCount: 3
          providerName: GCP
          regionName: WESTERN_EUROPE
          priority: 7

apiVersion: atlas.mongodb.com/v1
kind: AtlasDeployment
metadata:
  name: one
spec:
  projectRef:
    name: playground-project
  advancedDeploymentSpec:
      clusterType: SHARDED
      name: one
      backupEnabled: true
      diskSizeGB: 10
      mongoDBMajorVersion: "4.4"
      pitEnabled: false
      replicationSpecs:
      - numShards: 1
        regionConfigs:
        - autoScaling:
            compute:
              enabled: true
              maxInstanceSize: M40
              minInstanceSize: M30
              scaleDownEnabled: true
            diskGB:
              enabled: true
          electableSpecs:
            instanceSize: M40
            nodeCount: 3
          readOnlySpecs:
            instanceSize: M40
            nodeCount: 3
          providerName: GCP
          regionName: WESTERN_EUROPE
          priority: 7

Notable changes are:

diskGBEnabled changed to new form diskGB.enabled
added nodeCount to readOnlySpecs

Both of these give a different error so are unlikely the cause of your issues.
Please try to update your specs and let me know if the problem persists.
Thanks 🙏

Thanks @antonlisovenko for looking into this issue.
One evident difference that I see between your spec and mine is that I didn't have readOnlySpecs to begin with. Which should be okay since readOnlySpecs is optional if we have electableSpecs defined.
I am trying your spec and will let you know. I hope this should be okay. I would also request you to try without readOnlySpecs and see how it behaves. or do you think that we should always have both electableSpecs and readOnlySpecs in the spec?
Snippet from the Atlas docs:

Yeah, you are correct readOnlySpecs are optional for create. It shouldn't affect anything in that case.

@fabritsius so it works with the combination of electableSpecs and readOnlySpecs but gives the same error that I mentioned earlier if readOnlySpecs are missing.

@sunchill06 hm, interesting, wasn't expecting that.
I doubt anything should be fixed in the operator but I will try to figure out where are these requirements are coming from.

yeah seems like this should be a problem at the Atlas API server or how the patch request is formed for the API server.


With Alt key is remapped to Windows Key, Holding down Alt key acts as Windows+Alt

Microsoft PowerToys version
0.60.1
Running as admin

[ ] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
I'm on an old Mac keyboard, where the Windows and Alt keys are physically swapped (option and mac keys).
I used Powertoys Keyboard Manager to set Alt (Left) to Win (left), and Win (Left) to Alt (Left).
There was a problem when trying to use the Windows + R shortcut, and I seemingly confirmed what I suspected was happening by trying to use Windows + Print Screen with an Explorer window open. (Note: first I had to map F13 to Print Screen, since the keyboard has no Print Screen.)

✔ Expected Behavior
Windows + R should open the "Run Menu"
Windows + Print Screen, should take a full screen screenshot, and the screen should darken momentarily to indicate this.
❌ Actual Behavior
Windows + R performs the Game Bar Screen Record.
This action is supposed to be triggered by Windows + Alt + R.
Windows + Print Screen performs the Game Bar screen snapshot of just active window, a toast message announces "Screenshot saved".
This action is supposed to be triggered by Windows + Alt + Print Screen.
Other Software
No response

There are some windows key shortcuts that are caught by a different level by the OS. This seems to be the case for the Game Bar shortcuts, unfortunately, as part of the "There are some shortcut keys that are reserved for the operating system or cannot be replaced." caveat: https://docs.microsoft.com/en-us/windows/powertoys/keyboard-manager


Is annotation supported?

Is annotation supported and how to do it?

Hi stevennt, thanks for reaching out.
Could you be so kind to elaborate on what you mean with annotation?

Hi, by annotation I mean the below capability:
https://help.sketchfab.com/hc/en-us/articles/202512456-Annotations
It can be very useful to showcase the model. Thanks.


Remove closing tag for PHP

This is primarily to prevent a quine solution that works by outputting the boilerplate (#106). Omitting the final closing tag on PHP-only scripts is generally recommended anyway (see: PHP: PHP tags - Manual, PHP: Instruction separation - Manual). Instead, I have added a semi-colon to prevent invalidating all previous solutions.

looks good, doesn't fail any non quine solutions, just fixes #106
               quine        php     4              elisherer [FAIL] 0.0279572010040283
               quine        php     4             primo-ppcg [FAIL] 0.0816988945007324
               quine        php     4                TFeld00 [FAIL] 0.0333340167999268
               quine        php    45              GuyJoKing [PASS] 0.0369398593902588
               quine        php    45                labster [PASS] 0.0918519496917725
               quine        php    45                  prplz [PASS] 0.0379979610443115
               quine        php    45           somebody1234 [PASS] 0.038444995880127
               quine        php    45          UpwardProcess [PASS] 0.0286908149719238
               quine        php    45                 villfa [PASS] 0.0746710300445557
               quine        php    47          ThierryKamber [PASS] 0.0384550094604492
               quine        php    47             yeetmyyeet [PASS] 0.0388450622558594
               quine        php    57               josgilmo [PASS] 0.0811541080474854
               quine        php    57             Mikhail158 [PASS] 0.0221807956695557
               quine        php    57             RatajVaver [PASS] 0.0280032157897949
               quine        php    63           maherobaid15 [PASS] 0.0784189701080322
               quine        php    63               retrohun [PASS] 0.0347640514373779
               quine        php   137             joegreen88 [PASS] 0.0250070095062256
               quine        php   139         ElelockSystems [PASS] 0.0748100280761719
               quine        php   152              frikeldon [PASS] 0.0283248424530029
               quine        php   152               JRaspass [PASS] 0.0379290580749512
               quine        php   421               Starwort [PASS] 0.105454921722412

Those three have now been marked as failing, thanks for the elegant fix @primo-ppcg


esxcli option not working

related issue: https://github.com/vmware/rbvmomi/issues/127 as i'm experiencing the same issue.
inspec> @hosts = @view.CreateContainerView({
inspec>     container: @rootFolder,
inspec>     type:      ['HostSystem'],
inspec>     recursive: true
inspec> }).view
=> [HostSystem("host-357"), HostSystem("host-13"), HostSystem("host-12"), HostSystem("host-10")]
inspec> @hosts[0].esxcli.software.vib.list
NoMethodError: undefined method `RetrieveDynamicTypeManager' for #<RbVmomi::VIM::HostSystem:0x00007f75ddde0198>
Did you mean?  RetrieveHardwareUptime
from /root/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/rbvmomi-2.1.0/lib/rbvmomi/vim/HostSystem.rb:13:in `dtm'
inspec> @hosts[0].esxcli.system.version.get
NoMethodError: undefined method `RetrieveDynamicTypeManager' for #<RbVmomi::VIM::HostSystem:0x00007f75ddde0198>
Did you mean?  RetrieveHardwareUptime
from /root/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/rbvmomi-2.1.0/lib/rbvmomi/vim/HostSystem.rb:13:in `dtm'
inspec>

Looking at the issue, the entire method RetrieveDynamicTypeManager seems to have gone missing..

I'm seeing this as well.   Looks like 2.0.1 works, but 2.1.0 reintroduced the bug.


can not convert openslide(bif) image to high quality tiles

I am trying to convert open slide files to tiles and it's working but the quality of images is very low.
If I am converting 1.5 GB image then its generating only 7 mb files.
Here is code sample
sharp('Case 01 PD-L1.bif')
  .jpeg({
    quality: 100
  })
  .tile({
    quality: 100,
    size: 200,
  })
  .toFile('output/slides', function(err, info) {

  });

Any idea of how can I create high-quality (Deep zoom) tiles?

Hi, are you using a globally-installed libvips compiled with support for openslide?

Hi @lovell,
Sorry for the late reply!!
I am using window 10 system. Can I use globally-installed libvips  on a windows system?

If you're using the prebuilt binaries provided by sharp then the .bif file is probably being interpreted as a TIFF file and its JPEG thumbnail is being used as the main image, hence the low resolution.
If you need to load openslide images and you're stuck on Windows then I recommend using the libvips command line directly with the binaries containing all loaders, which is the vips-dev-w64-all-x.y.z.zip file at https://github.com/libvips/libvips/releases/tag/v8.9.1

Thanks @lovell
I will try and will update you sooner.

Were you able to make any progress with this?

Closing due to inactivity but please feel free to reopen with more details if further help is required.