select event and show the time of the event not the minutes

select event and show the time of the event not the minutes

select event @cell-click="teste" -> console.log('date')
Not - Tue Jun 16 2020 08:28:00 GMT-0400 (Horário Padrão do Amazonas)
Not - Tue Jun 16 2020 08:14:00 GMT-0400 (Horário Padrão do Amazonas)
true - Tue Jun 16 2020 08:00:00 GMT-0400 (Horário Padrão do Amazonas)
true - Tue Jun 16 2020 08:40:00 GMT-0400 (Horário Padrão do Amazonas)
true - Tue Jun 16 2020 09:20:00 GMT-0400 (Horário Padrão do Amazonas)
hors time event

Hey @heberalmeida,
Did you look on the snap to time property?
If it is not a solution in your case, you always can get the minutes and then check if it's more than the grid time. E.g: if the click is at 08:28, the minute 28 is less than minute 40, than you can set it to minute 00. If the click is at 08:14, the same occurs. But if the click is at 09:34, set the minute to be 20.
I did this manual checking in my code, because I coded before the snap to time property arises. Now you can try to use it or do it manually.
Hope it helps.

Hey @giulianimartini,
I want to use the @ cell-click = "logEvents ('cell-click', $ event) method" but when I clicked I didn't want to catch the chopped hours, but what I defined in time-step in this case was time-step = "40 "
time-from
and time-to was 8 at 10, I wanted the return like 8:00 when it was clicked inside it and not 8:12 I wanted it to stay round

Hey @heberalmeida,
that is exactly what I said about doing it manually.
You can get the time of the click and then round it.
If it's between 8:00 and 8:40 (e.g: 8:12, discard the 12 minutes and set it to 00).
For example:
@cell-click="method($event)"
Then in your method(event) you can do something like:
let horaSelecionada = event.date.formatTime().substring(0,2); //get the hour part of the time
let minutoSelecionado = event.date.formatTime().substring(3,5); //get the minutes part of the time

if (minutoSelecionado >= 0 && minutoSelecionado < 30) {
    this.horaInicialAjustada = horaSelecionada + ":00:00";
} else if (minutoSelecionado >= 30) {
    this.horaInicialAjustada = horaSelecionada + ':30:00';
}

I know this is very manual, but without using snap-to-time, I think it's the way to do it.

Hi @heberalmeida,
If on cell click you want to only keep the hours part, and discard the minutes, this is very easy since you have the date returned at click from @cell-click="onCellClick".
This will return 15 if you click at 15:48:
onCellClick({ date }) {
    return date.getHours()
}

Thanks for your help @giulianimartini, this is great support. 👍

No problem @antoniandre.
But I think what he wants is to get the minutes of the click like 09:32, to be rounded like 09:20, as time- step is set to 40.
And of course, instead of substring you can get the hour and minute by the Date methods getHours and getMinutes and then you can set the minutes to whatever you want and assign it to the hour again to store.

Hi,
that's right, handling is very expensive, it would be good if when you clicked you could get the value q is inside the cell, for example
08:00 --- 08:45
08-45 --- 09:30
click was 08:15 - I would like to pick up at 8:00 am because it is within the range, another case, the click occurred at 9:00 am, the range is 08:45

Sorry @heberalmeida, what you want is not clear.
If neither myself nor @giulianimartini did answer your question, then can you rephrase your question?

Hi @heberalmeida,
do it like I said, but instead of using substring(), use getHours() and getMinutes(). It's simpler.
Do the check by conditional if for each rounded minute and you will have what you want.

when click on item 1 the position i click it returns with @cell-click method a date this date it comes according to where you click example: 2020-06-17 08:18
I would like it to be returned 2020-06-17 08:18
the if and else resolves when the values are 00 or 30 but in my case the configuration is in :time-step = "45" or it can be 20 or 15, etc., I would like the value to be returned as follows: time-step, an example in this case would be item 2 marked in red click on 09:55 return that you would like 09:30, or if it was in the middle of them click on 09:01 return 08:45

Is the time-step property variable or it's fixed?
Because on the original question you said time-step = 40 and now 45.
@heberalmeida did you tried snap-to-time?
Set the snap-to time to the value of time-step and you will get the result you want.
I tried this here in my code and I could get the right time: 8:00, 8:45, 9:30, etc.
Do this:
<vue-cal style="height: 100%"
    ref="vuecal"
    id="vuecal"
    :time-from="8*60"
    :time-to="10*60"
    :time-step="45"
    :snap-to-time="45"
    active-view="day"
    editable-events
    :drag-to-create-event="true">
</vue-cal>

Then test by clicking and dragging to create an event. It will always get the rounded time. Trust me. 👌

methods solucioned
`const startTime = moment(event).set({
hour: this.form.inicio,
minute: '00'
})
const endTime = moment(event).set({
hour: this.form.fim,
minute: this.form.duracao_consulta
})
  let timeStops = []

  while (startTime <= endTime) {
    timeStops.push({
      hours: new moment(startTime).format('HH:mm'),
      hour: new moment(startTime).format('HH'),
      min: new moment(startTime).format('mm'),
      value: Number(
        new moment(startTime)
          .format('HH:mm')
          .split(':')
          .join('')
      )
    })
    startTime.add(this.form.duracao_consulta, 'minutes')
  }`

methods solucioned
const startTime = moment(event).set({
        hour: this.form.inicio,
        minute: '00'
      })
      const endTime = moment(event).set({
        hour: this.form.fim,
        minute: this.form.duracao_consulta
      })
      let timeStops = []
      while (startTime <= endTime) {
        timeStops.push({
          hours: new moment(startTime).format('HH:mm'),
          hour: new moment(startTime).format('HH'),
          min: new moment(startTime).format('mm'),
          value: Number(
            new moment(startTime)
              .format('HH:mm')
              .split(':')
              .join('')
          )
        })
        startTime.add(this.form.duracao_consulta, 'minutes')
      }

Nice @heberalmeida.
You have used moment.
If your case is solved, close the issue.

result final

Great that you managed to do what you wanted @heberalmeida.
Now that I understand, this might be simpler, more performant and does not require Moment:
onCellClick (date) {
    let dateTimeMinutes = date.getHours() * 60 + date.getMinutes()
    dateTimeMinutes -= (dateTimeMinutes % 45) // If 45 is your time-step.
    date.setHours(0, dateTimeMinutes, 0, 0)
    console.log(date)
}

Please close the issue when solved!


Article on rects

article explaining what pygame.Rects are and how to use them

I'd like to pick this one up

@blankRiot96 oops, I totally missed your comment... 😓
Mostly, I imagine it being about what pygame rects are vs what they are not (i.e. rects don't have any actual pixel data). You could also cover the differences between pygame.Rect and pygame.FRect (pygame-ce has FRect now).


Fixing typo in the getting started docs. On line 18 it is is camelCas…

…e, and thus node complains that "oauthServer" is not defined.

This was already done in PR #302 (and #308 🙄).

Thank you for your contribution. This is a duplicate of #302 😄


News API

User Story
As a user
I want to be able to see the most current news displayed on one page for easy access
Acceptance Criteria
GIVEN the application should display the users location
The application should immediately present the user with the latest news stories for the user to see

API complete


ios11 crash: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument' *** First throw call stack:

I am getting this crash using the pods to install SVProgressHUD

Same here. I am getting the same crash.

Same here.But only simulator crash,LaunchImage not full screen.My iPhone 6s is ok,
Xcode 9.2 simulator iPhone 8p

Same here, iOS 12 beta 1 + Xcode 10 beta


CloseOptions supports timeout

Change this line: https://github.com/bakdata/streams-bootstrap/blob/master/src/main/java/com/bakdata/kafka/KafkaStreamsApplication.java#L355
to include an optional timeout value in case the default Long.MAX_VALUE is not satisfactory for someone.

Hi @robvadai, feel free to submit a PR for this. Otherwise we will have a look once we have capacity on our end

Fixed by #207


updated federal poverty data to yearly

Note: This is partly because of the way we've seen percents and monthly values calculated based on 100% yearly values. For example, this doc looks like is does Math.ceil( yearlyVal/percent ) for different percent values, etc.


[Colab] Error on first cell

Hello,
Thank you for sharing this toolkit for image restoration.
I tried running the Google Colab but couldn't pass the first cell for uploading an image.
It returns the following error:
ERROR: nbclient 0.5.0 has requirement jupyter-client>=6.1.5, but you'll have jupyter-client 5.3.5 which is incompatible.
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-cfc620a77232> in <module>()
     32
     33   os.chdir(repodir)
---> 34   import ImagePipeline_utils as IP
     35   import ImageRestorer
     36   restorer = ImageRestorer.ImageRestorer()

1 frames
/usr/local/lib/python3.6/dist-packages/PIL/ImageDraw.py in <module>()
     35
     36 from . import Image, ImageColor
---> 37 from ._util import isStringType
     38
     39 """

ImportError: cannot import name 'isStringType'

Is it possible to solve this problem?
Thank you

Hi, that's new indeed!
I just checked, it seems that the version of pillow freezed in the requirements.txt file is no more compatible with google colab default environment.
It seems to work with the latest version of pillow (7.2 as time of writing).
I just updated the requirements.txt file, so it should be working now.
Thank you for reporting the bug!

Hi, thank you for the quick response! It works now


add a README saying these are autogen and where they come from

Currently the workflows show up to repos (like Eventing, and it's easy enough to make manual changes), add a blurp saying where and how the files get in.
@mattmoor can you also add this to list of files to sync?

/lgtm
/approve


Post effect: add a way to set uniform mat4.

GearVRf-DCO-1.0-Signed-off-by: Benoit Fouet<EMAIL_ADDRESS>

This looks fine to me. Not 100% sure how I'd test it. (Tom, do you have any ideas?)

Code looks fine.  Source built and compiled. May need to find a way to test those additional APIs.

Tested with apps which use post-effect and everything runs well.


File > Reopen Project. Option to reopen in current window.

Currently, choosing File > Reopen Project > [MyProject] reopens the chosen project in a new window.
I request an option to have it open in the same window (unloading the currently loaded project then loading the chosen project).
I'm on:
Atom 1.13.0-beta4.
Windows 10 Pro.

Does it resolved? I can open a project in the same window as different tabs, but this morning, it doesn't work, what's wrong?

It hasn't been resolved, that's why this issue is still open.  If you'd like to fix it, please feel free! :smile:

It seems like this is now the default (and only) behaviour.

Looks like this new behaviour might actually be a bug: https://github.com/atom/atom/issues/19149 [ and I did not unassign anyone, at least not intentionally ].


Fix IOR schematic figure in thin-film section

Fixes image link (name was wrong).

@jstone-lucasfilm would be to merge this ASAP, as the live spec has a broken figure which this fixes.


added american college domain

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


[WIP] test/e2e/memcached_test.go: use vendoring to speed up tests

Description of the change:
Motivation for the change:

Vendoring does not speed up builds.


Whats the correct way v3 broker endpoints handle operation state ?

Legend

Icon
Meaning

:white_check_mark:
fixed/wanted behaviour

:x:
not fixed but change of behaviour needed

:heavy_minus_sign:
no change of behaviour needed

:question:
questionable behavior, needs further analysis

V3 API
The introduction of the Failed State for Broker operations does come with some unwanted behaviour in some cases.
Service Bindings
POST /v3/service_credential_bindings (i.e. cf bind-service) for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

create in progress
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

create failed
rejects request (A)
recreates binding
#2636
:white_check_mark:

delete failed
rejects request (A)
raises error (1)
#2657
:white_check_mark:

delete in progress
rejects request (A)
raises error (1)
#2657
:white_check_mark:

A: UnprocessableEntity / The app is already bound to the service instance. This is handled as success by cf cli.
1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus an error different to The app is already bound to the service instance should be raised. This is because cf cli handles this error as a success.

DELETE /v3/service_credential_bindings/:guid (i.e. cf unbind-service) for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
accepts request
:white_check_mark:

:heavy_minus_sign:

create in progress
accepts request (1)
:white_check_mark:

:heavy_minus_sign:

create failed
accepts request
:white_check_mark:

:heavy_minus_sign:

delete failed
accepts request
:white_check_mark:

:heavy_minus_sign:

delete in progress
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

A: UnprocessableEntity / There is an operation in progress for the service binding
1: From the Open Service Broker API specification: "If a Service Broker accepts the request to delete a Service Binding during the process of it being created, then it MUST have the net effect of halting the current creation process and beginning the deletion [...]."

GET /v3/service_credential_bindings/:guid/parameters for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
returns parameters
:white_check_mark:

:heavy_minus_sign:

create in progress
rejects request (A)
raises error (C)
#3465
:white_check_mark:

create failed
rejects request (B)
raises error (C)
#3465
:white_check_mark:

delete failed
returns parameters
raises error (C / 1)
#3465
:white_check_mark:

delete in progress
rejects request (A)
raises error (C / 1)
#3465
:white_check_mark:

A: AsyncServiceBindingOperationInProgress  / An operation for the service binding between app ... and service instance ... is in progress.
B: ServiceBrokerRequestRejected / Unknown binding
C: ResourceNotFound / Creation|Deletion of service binding in progress|failed
1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus binding data should not be returned.

GET /v3/apps/:guid/env (i.e. cf env) for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
returns binding data
:white_check_mark:

:heavy_minus_sign:

create in progress
does not return binding data
:white_check_mark:

:heavy_minus_sign:

create failed
does not return binding data
:white_check_mark:

:heavy_minus_sign:

delete failed
returns binding data
does not return binding data (1)
#2676 #2682
:white_check_mark:

delete in progress
returns binding data
does not return binding data (1)
#2676 #2682
:white_check_mark:

1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus binding data should not be returned.

POST /v3/spaces/:guid/actions/apply_manifest (i.e. cf push) for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
skips binding
:white_check_mark:

:heavy_minus_sign:

create in progress
skips binding and includes the invalid (empty) binding in app env
raises error (1)
#2688
:white_check_mark:

create failed
skips binding and includes the invalid (empty) binding in app env
recreates binding
#2636
:white_check_mark:

delete failed
skips binding and includes the invalid (empty) binding in app env
raises error (2)
#2688
:white_check_mark:

delete in progress
raises error (A)
:white_check_mark:

:heavy_minus_sign:

A: ServiceBindingError / An existing binding is being deleted. Try recreating the binding later.
1: Binding requests in this context have to be synchronous. Thus an error should be raised instead. Otherwise an app would be started with the "in progress" (empty) binding in its environment.
2: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus an error should be raised instead so that the app is not started with an empty binding.

Error handling
When the synchronous creation of a service binding failed, AppApplyManifest triggered a deletion no deletion is triggered (in addition to the orphan mitigation already performed by the ServiceClientProvider). The result of the failed creation is kept in the database for debugging purposes. In consecutive runs the failed binding was considered as an existing binding and provisioning a new one was skipped. The app was started with an invalid empty binding (the failed one) but success was reported to cf push user. (Fixed with #2636)
Service Keys
POST /v3/service_credential_bindings (i.e. cf create-service-key) for already existing key

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

create in progress
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

create failed
rejects request (A)
recreates key
#2636
:white_check_mark:

delete failed
rejects request (A)
raises error (1)
#2657
:white_check_mark:

delete in progress
rejects request (A)
raises error (1)
#2657
:white_check_mark:

A: UnprocessableEntity / The binding name is invalid. Key binding names must be unique. The service instance already has a key binding with name 'mykey'.
1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus an error should be raised as we are not sure the resource is deleted and can be created again.

DELETE /v3/service_credential_bindings/:guid (i.e. cf delete-service-key) for already existing key

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
accepts request
:white_check_mark:

:heavy_minus_sign:

create in progress
accepts request (1)
:white_check_mark:

:heavy_minus_sign:

create failed
accepts request
:white_check_mark:

:heavy_minus_sign:

delete failed
accepts request
:white_check_mark:

:heavy_minus_sign:

delete in progress
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

A: UnprocessableCreate / There is an operation in progress for the service binding
1: From the Open Service Broker API specification: "If a Service Broker accepts the request to delete a Service Binding during the process of it being created, then it MUST have the net effect of halting the current creation process and beginning the deletion [...]."

GET /v3/service_credential_bindings/:guid/details (i.e. cf service-key) for already existing key

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
shows key data
:white_check_mark:

:heavy_minus_sign:

create in progress
shows key data
raises error (A)
#2636
:white_check_mark:

create failed
shows key data
raises error (A)
#2636
:white_check_mark:

delete failed
shows key data
raises error (1)
#2679 #2682
:white_check_mark:

delete in progress
shows key data
raises error (1)
#2679 #2682
:white_check_mark:

A: ResourceNotFound / Creation of service key in progress / Creation of service key failed
1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus an error should be raised instead so that the user is not supplied with a potentially not working service credential key.

Service Route Bindings
POST /v3/service_route_bindings (i.e. cf bind-route-service) for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

create initial / in progress
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

create failed
rejects request (A)
recreates binding
#3469
:white_check_mark:

delete failed
rejects request (A)
raises error (1)
#3469
:white_check_mark:

delete in progress
rejects request (A)
raises error (1)
#3469
:white_check_mark:

A: UnprocessableEntity / The route and service instance are already bound. This is handled as success by cf cli.
1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus a different error should be raised that the cf cli does not handle as a success.

DELETE /v3/service_route_bindings/:guid (i.e. cf unbind-route-service) for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
accepts request
:white_check_mark:

:heavy_minus_sign:

create initial / in progress
accepts request (1)
:white_check_mark:

:heavy_minus_sign:

create failed
accepts request
:white_check_mark:

:heavy_minus_sign:

delete failed
accepts request
:white_check_mark:

:heavy_minus_sign:

delete in progress
rejects request (A)
:white_check_mark:

:heavy_minus_sign:

A: UnprocessableEntity / There is an operation in progress for the service binding
1: From the Open Service Broker API specification: "If a Service Broker accepts the request to delete a Service Binding during the process of it being created, then it MUST have the net effect of halting the current creation process and beginning the deletion [...]."

GET /v3/service_route_bindings/:guid/parameters for already existing binding

Resource State
Observed Behaviour
Wanted Behaviour
PR
Fixed in main

none (synchronous case)
:question:

:heavy_minus_sign:

create succeeded
returns parameters
:white_check_mark:

:heavy_minus_sign:

create initial / in progress
rejects request (A)
raises error (C)
#3443
:white_check_mark:

create failed
rejects request (B)
raises error (C)
#3443
:white_check_mark:

delete failed
returns parameters
raises error (C / 1)
#3443
:white_check_mark:

delete in progress
rejects request (A)
raises error (C / 1)
#3443
:white_check_mark:

A: UnprocessableEntity / There is an operation in progress for the service route binding.
B: ServiceBrokerRequestRejected / Unknown binding
C: ResourceNotFound / Creation|Deletion of route binding in progress|failed
1: Even if deletion did not succeed, orphan mitigation should ensure that it eventually will. Thus binding data should not be returned.

Service Instances
See #2713.
V2 API
Out of scope for this issue...

Reopening as there are still (less critical) issues to be fixed and further entities that need to be checked.

Everything done :tada:


bumper mapping regression

on v0.2.4, no matter the options, both GC Z and L work as N64 Z. works fine on v0.2.1, havent tested later versions cuz cba

uhhh... im pretty sure i have been too drunk when i discovered this "bug". everything seems to work fine now when i checked


Add canvas renderer

Still needs testing and opacity. Also, there is an issue with rendering order.  I believe quad features need to be sorted so low res are rendered before high res tiles.

@manthey PTAL

@law12019 this is a great addition! I have few comments (nothing major). Please have a look. I will checkout the branch and will run locally

@law12019 switching to canvas almost worked in the tile example. One issue I encounter was related to the fact the tiles didn't get updated. For me at-least on Chrome, it stuck with a low res time, so looks like a missing update or similar call.

I just ran a speed comparison of our four renderers on my desktop machine and on my laptop, both using the latest Chrome browser.
On my desktop, the vgl (webgl) and canvas are equally fast, and miss no frames during animation.  d3 (svg) only draws 71% of the frames, and null (html) draws 54% of the frames.
On my laptop, canvas is the winner, drawing nearly every frame (99.8%), vgl draws 90% of the frames, d3 24% (the worst), and html 31%.

On my laptop, canvas is the winner, drawing nearly every frame (99.8%), vgl draws 90% of the frames, d3 24% (the worst), and html 31%.

this is very interesting. I guess drawing an image using canvas is fast and it makes sense to me. I am wondering about other features.

I've pushed a few other changes I recommended for making the canvas renderer more general.  Aside from adding some tests, I think this is done.  We should create two issues to finish generalize the quad feature when we do: one to add color quads and one to handle non-parallelograms.  Neither of those is important for current work.

thanks @manthey I will have a look.

Commit 43ff236a2a0f50618a805df087cbc161ae6f9538 added most critical stuff we need right now @dcjohnston

I've added basic testing, so this is fully ready for review.

LGTM


Support for composite keys?

Hello, nice job on the framework. I would like to use it on an exiting database that has composite keys.  Is that correct? If so, is it a hard thing to add?

Hi and thank you.
The framework is designed to abstract different platforms such as SQL databases, No-SQL and ReSTful APIs, not all of which may support composite keys.
Besides, I never needed it. I always got away with introducing a single primary key in addition to existing keys.
If you need to search by composite key, you can use the Find() method.
I will think about how composite keys can be supported, no promises ...


We did a lot

This pull request introduces a significant update to the Naive-Framework, focusing on enhancing the generalization ability of reinforcement learning agents. The changes include the addition of a new framework, configuration files for various algorithms, and updates to the codebase to support these new configurations.
Framework Introduction and Documentation:

README.md: Added an introduction to the new Adaptive Cross-Environment Reinforcement Training (ARC) framework, installation instructions, a quick start guide, and example commands for running and evaluating experiments.

Codebase Updates:

coef.py:

Imported stable-baselines3 and added support for multiple reinforcement learning frameworks (sb3 and ding).
Updated the from_data method to include the algorithm parameter and initialized the algorithm attribute in the __init__ method based on the selected framework. [1] [2]

Configuration Files:

Added new configuration files for various training scenarios and algorithms, including:

config/bd_algo4_dqn.toml: Configuration for training with the DQN algorithm using algo4 for environment switching.
config/bd_algo6_dqn.toml: Configuration for training with the DQN algorithm using algo6 for environment switching.
config/bg_algo6_dqn.toml: Configuration for training with the DQN algorithm using algo6 for environment switching in different environments.
config/breakout.toml: Configuration for training with the DQN algorithm in a single environment.
config/demo.toml: Example configuration for training with the rainbow algorithm.
config/demon_galaxian.toml: Configuration for training with the rainbow algorithm in demon and galaxian environments.
config/demon_phoenix_algo2.toml: Configuration for training with the PPO algorithm using algo2 for environment switching.
config/demon_phoenix_algo2_DQN.toml: Configuration for training with the DQN algorithm using algo2 for environment switching.

Additional Algorithm Support:

config/die_algorithms.py: Added imports for new algorithm configurations (die_rainbow and die_r2d2).
Added new algorithm configuration files:

config/die_r2d2.py: Configuration for training with the R2D2 algorithm.
config/die_rainbow.py: Configuration for training with the rainbow algorithm.
config/die_rainbow_dp.py: Configuration for training with the rainbow algorithm in demon-phoenix environments.
config/die_rainbow_ph.py: Configuration for training with the rainbow algorithm in the phoenix environment.

Not works on my machine :(
This pull request introduces several significant updates to the Naive-Framework project, focusing on enhancing its reinforcement learning (RL) capabilities and configuration management. The changes include the addition of a comprehensive introduction and quick start guide to the README.md, updates to the coef.py file to support multiple RL frameworks, and the addition of various configuration files for different RL algorithms and environments.
Documentation improvements:

README.md: Added an introduction and quick start guide, including example configurations and commands for running experiments.

Codebase enhancements:

coef.py: Updated to support multiple RL frameworks (stable_baselines3 and DI-engine) by adding an algorithm parameter and mapping algorithms to their respective implementations. [1] [2] [3]

Configuration updates:

Added several new configuration files for different RL algorithms and environments, such as bd_algo4_dqn.toml, bd_algo6_dqn.toml, bg_algo6_dqn.toml, breakout.toml, demo.toml, demon_galaxian.toml, demon_phoenix_algo2.toml, and demon_phoenix_algo2_DQN.toml. [1] [2] [3] [4] [5] [6] [7] [8]

Added Python configuration files for specific RL algorithms, such as die_algorithms.py, die_r2d2.py, die_rainbow.py, die_rainbow_dp.py, and die_rainbow_ph.py. [1] [2] [3] [4] [5]


sra-toolkit error - files failed to download

Hi Evan Irving-Pease and Evangelos Dimopoulos,
When I try to run haystac sample to download R1 and R2 fastq files using an SRA accession number, I keep getting this error and the files are not downloaded:
Job 2: Download SRA files for accession SRS7890498.
Waiting at most 3 seconds for missing files.
MissingOutputException in line 43 of /home/.conda/envs/haystac/lib/python3.6/site-packages/haystac/workflow/rules/sra.smk:
Job Missing files after 3 seconds:
/mnt/Data/References/SRS7890498/SRS7890498/sra_data/PE/SRS7890498_1.fastq /mnt/Data/References/SRS7890498/SRS7890498/sra_data/PE/SRS7890498_2.fastq
This might be due to filesystem latency. If that is the case, consider to increase the wait time with --latency-wait.
Job id: 2 completed successfully, but some output files are missing. 2
File "/home/.conda/envs/haystac/lib/python3.6/site-packages/snakemake/executors/init.py", line 583, in handle_job_success File "/home/.conda/envs/haystac/lib/python3.6/site-packages/snakemake/executors/init.py", line 259, in handle_job_success
Trying to restart job 2.
If it is a problem with the latency wait time, how do I change that?
I've looked at the log files and have gotten two different messages:

2021-04-06T14:57:29 fasterq-dump.2.10.9 err: invalid accession 'SRS7890498’
While trying to figure this error out, I got a different message in the log file: This sra toolkit installation has not been configured. Before continuing, please run: vdb-config --interactive. For more information, see https://www.ncbi.nlm.nih.gov/sra/docs/sra-cloud/

The first message I don't understand because I know that accession number is correct and corresponds to an SRA entry. I looked into the second message and saved the configuration, but that didn't solve the problem. I'm not sure how haystac specifically wants/needs that file to be configured, so maybe I configured it incorrectly?
Also, I looked at the workflow/rules/sra.smk file, specifically at the "rule get_sra_fastq_pe" code. I was confused by the input line: os.path.expanduser("~/.ncbi/user-settings.mkfg"). I looked in my user directory for this file, but it is not there... Maybe that is the issue?
Thank you in advance for any help and let me know if you need any other information.

Karissa

Hi Karissa,
Thank you for your bug report, and sorry to hear you've had trouble running haystac
I've had a look at the problem you're experiencing and you seem to have found an edge case for our validator.
The code you supplied, SRS7890498, is actually the SRA version of the BioSample code SAMN17080935 (see https://www.ncbi.nlm.nih.gov/biosample/SAMN17080935)
As such, it doe not refer to a library or a specific sequencing run, but instead points to a sample, which can have multiple individual  libraries. In this specific case, there happens to only be one run accession, which is SRR13263123 (see https://www.ncbi.nlm.nih.gov/sra?term=SRS7890498)
If you try running haystac using the SRA run accession  SRR13263123 it should work.
With that said, this issue highlights two erorrs in haystac:

The code that checks if the SRA accession is valid did not identify that this was the wrong type of accession; and
The error message was not correct, it should have displayed fasterq-dump.2.10.9 err: invalid accession 'SRS7890498'

We'll have a look into fixing these two issues to prevent this problem recurring.
Cheers,
Evan

Hi Evan,
Yes, it works now! Thank you for your help! I didn't know that I needed to use the run accession, not the sample accession (honestly did not know there was a difference, but it makes sense now).
Best,
Karissa

Hello Karissa,
I hope you are doing great !
Additional user input validation for SRA accessions has been added in v0.4.4 (please install the new version through github).
Apologies for the delay and of course please let us know if you face any new issues !
Best,
Antony


⚠ Bofrost.de has degraded performance

In ecdb2bb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1312 ms

Resolved: Bofrost.de performance has improved in 7c5590f.


using PARALLELIZE feature for TCP crushes the container

using PARALLELIZE feature for TCP crushes the container. Support is trying to replicate in the lab
Was the issue replicated by support?
What is the sc4s version ?
Which operating system (including its version) are you using for hosting SC4S?
Amazon EC2 c5.4xlarge/, BIOS 1.0 10/16/2017 – 32GB RAM, 64GB+600GB storage.

Linux  5.14.0-362.24.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 15 07:18:13 EST 2024 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 9.3 (Plow)

Which runtime (Docker, Podman, Docker Swarm, BYOE, MicroK8s) are you using for SC4S?
Is there a pcap available? If so, would you prefer to attach it to this issue or send it to Splunk support?
Is the issue related to the environment of the customer or Software related issue?
Is it related to Data loss, please explain ?
Protocol? Hardware specs?
Last chance index/Fallback index?
Is the issue related to local customization?
Do we have all the default indexes created?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Hey,
here is the summary:

The dev team is running stress tests to verify the issue exists and in what circumstances
Checking the SC4S flow and design whether it is switch on/off in the right place.

We have changed the way this feature was implemented , we have tested it with alternate destination enabled.


about bool filter

i write:
	package main

	import (
		"encoding/json"
		"fmt"
		"gopkg.in/olivere/elastic.v2"
	)

	func main() {
		filter := elastic.NewBoolFilter()

		filter.Must(elastic.NewTermFilter("Status", 1))

		data, err := json.Marshal(filter.Source())
		if err != nil {
			panic(err)
		}

		fmt.Println(string(data))
	}

output is:
{"bool":{}}
why?

Hi!
The problem is that filters are value types in Elastic 2.0. So when you must always chain filters, as they return a new value in every setter.
Try this instead:
filter = filter.Must(elastic.NewTermFilter("Status", 1))

This will change in Elastic 3.0 which targets Elasticsearch 2.0.

is bool query is same?

Yes. All queries and filters in Elastic 2. Just always chain setters like this and you'll never do wrong:
c = c.Something(...)

thanks


Add this table to registration page

Albert suggested that we go with svg file, as it doesn't lose quality

@valmirmustafa Could you send just the table, without the "Registration Fees" title ?


fix(#640): Elasticsearch tests run without system level setup

PR which makes all Elasticsearch tests run-able on any docker engine. It uses option number iii from bug #640.
It also does not affect default setup of Elasticsearch configuration to prevent any breaking change introduction.

I will close this in favour of #652.


various files which are supposedly installed into the package are not visible when testing the package

(continued from https://discord.com/channels/1082332781146800168/1264423283919687722/1265375809015910420)
I am building the package llvm-spirv from my feedstock.
now it's failing in testing with:
 │ │ + $PREFIX/bin/llvm-spirv -help
 │ │ /tmp/.tmpsuRFVk/conda_build.sh: line 10: $PREFIX/bin/llvm-spirv: No such file or directory

but earlier it put bin/llvm-spirv into the package:
 │ │ Files in package:
 │ │   - bin/llvm-spirv
 │ │   - info/about.json
 │ │   - info/hash_input.json
 │ │   - info/index.json
 │ │   - info/licenses/LICENSE.TXT
 │ │   - info/paths.json
 │ │   - info/recipe/LICENSE.txt
 │ │   - info/recipe/build.sh
 │ │   - info/recipe/build_install.sh
 │ │   - info/recipe/install.sh
 │ │   - info/recipe/recipe.yaml
 │ │   - info/recipe/rendered_recipe.yaml
 │ │   - info/recipe/variant_config.yaml
 │ │   - info/tests/0/run_test.sh
 │ │ Creating target folder "/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/linux-64"
 │ │ Compressing archive...
 │ │ Archive written to "/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/linux-64/llvm-spirv-17.0.2-h44954ab_0.conda"

You can see the full build log at https://github.com/ethanc8/chipstar-forge-feedstocks/actions/runs/10063290370/job/27817743293.

Regarding this bug - I think we should either make the symlinks relative when writing files to the cache, or replace the prefix when restoring the files.

Regarding this bug - I think we should either make the symlinks relative when writing files to the cache, or replace the prefix when restoring the files.

wait, is this related to the cache? I thought it was completely separate. Did the packager install the symlink to the cache instead of installing the actual binary?
In my test script, I might just run ls -l

Yeah, so we create the cache in some directory, let's say foo, and then move it into a storage location. If there were absolute symlinks, they still reference foo - we need to remove that absolute prefix and replace with the current build prefix. I'll have a fix shortly :)

I don't know if it's easy to test for you, but this might fix it: https://github.com/prefix-dev/rattler-build/pull/993

There is at least one more issue - the file / symlink doesn't appear under paths.json. I am taking a look (testing with your recipes, btw).

OK, with my latest push, it seems to build :)

Is there a way to use the main branch with your rust-forge GitHub Action?

Ok, I got your branch to work with GitHub Actions, and it got past building libllvmspirv17, but now I get (in the next package):
 ╭─ Running build for recipe: libllvmspirv-17.0.2-h36e50f3_0
 │
 │ ╭─ Fetching source code
 │ │ Validated SHA256 values of the downloaded file!
 │ │ Found valid source cache file.
 │ │ Using extracted directory from cache: "/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/src_cache/v17_0_2_e90bd99b"
 │ │ Copying source from url: "/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/src_cache/v17_0_2_e90bd99b" to "/home/runner/work/ch
 │ │ ipstar-forge-feedstocks/chipstar-forge-feedstocks/output/bld/rattler-build_libllvmspirv_1722223731/work"
 │ │
 │ ╰─────────────────── (took 0 seconds)
 │
 │ ╭─ Running cache build
 │ │ Cache key: "82aeb19a2c14e2fef0904646420786e7319d81ca02633bdfc0dd17abae1bd791"
 │ │ Restoring cache from "/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/build_cache/bld_82aeb19a2c14e2fef0904646420786e7319d81ca
 │ │ 02633bdfc0dd17abae1bd791"
 │ │ Restoring from cache: "include/LLVMSPIRVLib/LLVMSPIRVLib.h"
 │ │ Restoring from cache: "include/LLVMSPIRVLib/LLVMSPIRVExtensions.inc"
 │ │ Restoring from cache: "lib/libLLVMSPIRVLib.so"
Creating symlink from "/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/bld/rattler-build_libllvmspirv_1722223731/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/libLLVMSPIRVLib.so" to "libLLVMSPIRVLib.so.17"
 │ │
 │ ╰─────────────────── (took 0 seconds)
 │
 ╰─────────────────── (took 0 seconds)
 × error Error building package: failed to open file `/home/runner/work/chipstar-forge-feedstocks/chipstar-forge-feedstocks/output/bld/rattler-build_libllvmspirv
 × error _1722223731/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib
 × error /libLLVMSPIRVLib.so`
Current symlink target: "libLLVMSPIRVLib.so.17"
Didn't change symlink target
Error:   × failed to open file `/home/runner/work/chipstar-forge-feedstocks/chipstar-
  │ forge-feedstocks/output/bld/rattler-build_libllvmspirv_1722223731/
  │ host_env_placehold_placehold_placehold_placehold_placehold_placehold_place
  │ hold_placehold_placehold_placehold_placehold_placehold_placeho/lib/
  │ libLLVMSPIRVLib.so`
  ╰─▶ No such file or directory (os error 2)

This definitely seems related. What's going on here is that libLLVMSPIRVLib.so, in the package libllvmspirv, is a symlink to libLLVMSPIRVLib.so.17, in the package libllvmspirv17.

It looks like the " various files which are supposedly installed into the package are not visible when testing the package" has been solved; the issue with symlinks between packages is tracked in #994.


Ignore errors on keystone service (newton)

keystone service does not exist since Newton release, it's fully WSGI served by webserver.
Adding an ignore to keep backwards compatibility

I think either creating a branch for newton (and only target it for newton) or implementing a version switching mechanism would be nicer. WDYT?

I thought about it but:

A branch for newton would require to keep a pre-newton branch and I would like to avoid this if it's possible. If many other services need major config changes, then we can consider creating a project wide newton branch.
A version switching mechanism needs to be based on packages installed as it's not known by the role. maybe mapping versions to releases in facts, It's not a bad idea.

Given this, do you see any problem on ignoring errors on service stop?

You have a point. I'll leave up to @sibradzic to decide,
since he's the one who decided this policy (which we do the former first and then do the second).


ormite core top package moved

Refers to https://github.com/j256/ormlite-jdbc/issues/31
Changes required to work with the changes of: https://github.com/j256/ormlite-core/pull/144
If 144 is accepted maybe it's better to also move here to have another top package, in this case which name would be a good one for the jdbc package? So that it doesn't look like com.j256.ormlite.jdbc.jdbc

Sorry for the delay on this.
In 5.2 I moved the classes in the ormlite-jdbc package to be under com.ormlite.jdbc.  Does that invalidate this?

Hi, I honestly have no idea, the project I was using ormlite on is long gone.
Feel free to close this PR unless you would like it as a reminder for you, cheers.

Thanks @zanella .


Integration stopped working

My integration suddenly stopped working a couple days ago.  Wondering if it's just my instance or if others are having the same issue.
INSTALLATION:
HA Core: 2024.7.2
Superviser: 2024.06.2
OS: 12.4
iCloud3 v3 version: v3.0.5
SCREENSHOT:

LOGS:
home-assistant_2024-07-12T21-18-57.601Z.log

For me the integration also stopped working with OS 12.4

Or... https://github.com/gcobb321/icloud3_v3/issues/309

See here for a temporary solution to this problem. Scroll to the bottom and follow the instructions to get iCloud3 going again. An update will be released soon.

Thank you!  I applied the temp fix and it works perfectly.

See here for a temporary solution to this problem. Scroll to the bottom and follow the instructions to get iCloud3 going again. An update will be released soon.

iCloud3 v<IP_ADDRESS> (7/16/2024) has been released that fixes this problem. It should be available on HACS in a day or so. No other changes have been made.


qnotero: fix #23438

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/23438
As commented in line 20-21, I could just use "../../../" to fix the path. However I'm not sure if things will keep the way they are, so I thought realpath is less sensible to changes. I have no problem in just replacing it

@nico202 Thx for looking at this! If found another way to achieve the intended result, which also reduces the amount of patching necessary:
diff --git a/pkgs/applications/office/qnotero/default.nix b/pkgs/applications/office/qnotero/default.nix
index 5076a8f586..7b6bf14681 100644
--- a/pkgs/applications/office/qnotero/default.nix
+++ b/pkgs/applications/office/qnotero/default.nix
@@ -18,17 +18,12 @@ python3Packages.buildPythonPackage rec {

   patchPhase = ''
       substituteInPlace ./setup.py \
-        --replace "/usr/share" "$out/usr/share"
+        --replace "/usr/share" "usr/share"

       substituteInPlace ./libqnotero/_themes/default.py \
         --replace "/usr/share" "$out/usr/share"
   '';

-  postInstall = ''
-      mkdir -p "$out/usr/share/qnotero"
-      mv resources "$out/usr/share/qnotero"
-  '';
-
   meta = {
     description = "Quick access to Zotero references";
     homepage = http://www.cogsci.nl/software/qnotero;

Perhaps this would be a less-hacky solution to the problem?

Yes please on the patch.

@bennofs @grahamc you mean like that? Seems to work :)


[feat] Adding support for Dark Mode

By incorporating @media (prefers-color-scheme: dark) into our code and using that to invoke our dark mode settings, we can add support to all our components for the user preference for navigating in "Dark Mode".  This has decent browser support and has received a lot of publicity.  Would be a nice-to-have feature.

@coreyvickery I'd love to chat more about what you'd like the ideal "dark mode" experience to be for our patterns.

@castastrophe That would be great. I know that @mceledonia has done a lot of work on dark theme on the PatternFly side, so he may have good ideas on how to roll it out.

I'd like to see this work using css vars / themes
we can also consider the approach shoelace takes

@bennypowers I can help define the correct values.


Depend on non-dev libraries

We don't need the -dev libraries at run time, only as Build-Depends.
Fixes #299.

Yupp, looks good:
kll@Boxy:~/Downloads$ sudo dpkg -I acton_<IP_ADDRESS>109<IP_ADDRESS>_amd64.deb
 new Debian package, version 2.0.
 size 1718216 bytes: control archive=1780 bytes.
     410 bytes,    11 lines      control
    3052 bytes,    47 lines      md5sums
 Package: acton
 Version: <IP_ADDRESS>109<IP_ADDRESS>
 Architecture: amd64
 Maintainer: Kristian Larsson<EMAIL_ADDRESS> Installed-Size: 10880
 Depends: libc6 (>= 2.29), libgmp10, libprotobuf-c1 (>= 1.0.1), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), gcc, libutf8proc2
 Section: devel
 Priority: optional
 Homepage: http://www.acton-lang.org
 Description: Acton Programming Language
  An awesome programming language.
kll@Boxy:~/Downloads$ sudo dpkg -i acton_<IP_ADDRESS>109<IP_ADDRESS>_amd64.deb
[sudo] password for kll:
(Reading database ... 393985 files and directories currently installed.)
Preparing to unpack acton_<IP_ADDRESS>109<IP_ADDRESS>_amd64.deb ...
Unpacking acton (<IP_ADDRESS>109<IP_ADDRESS>) over (<IP_ADDRESS>109<IP_ADDRESS>) ...
Setting up acton (<IP_ADDRESS>109<IP_ADDRESS>) ...
kll@Boxy:~/Downloads$ apt show acton
Package: acton
Version: <IP_ADDRESS>109<IP_ADDRESS>
Status: install ok installed
Priority: optional
Section: devel
Maintainer: Kristian Larsson<EMAIL_ADDRESS>Installed-Size: 11.1 MB
Depends: libc6 (>= 2.29), libgmp10, libprotobuf-c1 (>= 1.0.1), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), gcc, libutf8proc2
Homepage: http://www.acton-lang.org
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Acton Programming Language
 An awesome programming language.

kll@Boxy:~/Downloads$

I installed acton using the deb package v0.6.4, but wasn't able to compile anything unless I installed the two -dev libraries:
❯ actonc counter.act --root main
/usr/bin/ld: cannot find -lprotobuf-c
/usr/bin/ld: cannot find -lutf8proc
collect2: error: ld returned 1 exit status                                                                                ERROR: internal compiler error: compilation of generated C code of the root actor failed                                                                                NOTE: this is likely a bug in actonc, please report this at:
NOTE: https://github.com/actonlang/acton/issues/new?template=ice.md
NOTE: acton 0.6.4 compiled by ghc 8.10 on linux x86_64
NOTE: cc: cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

You sure your machine didn't have the packages installed from earlier?

I probably do have those libraries installed so You're probably right.
I wanted to link to these libs at build time so our users don't have to but I suppose we're not there yet.
We should

fix docs (help welcome)
add tests to ensure things work as expected, I.e. That we don't have -dev libraries installed in CI at "run time"
link in stuff at build time, for which we have an open issue....


GT-1922 update JsXmlPullParserFactory.readFile() to return a Promise

Updated Typescript header:
export declare namespace org.cru.godtools.shared.tool.parser.xml {
    abstract class JsXmlPullParserFactory extends org.cru.godtools.shared.tool.parser.xml.XmlPullParserFactory {
        constructor();
        abstract readFile(fileName: string): Promise<Nullable<string>>;
    }
}

@frett Wow! That was fast! Do you have a rule that on passing a test, the PR gets merged?

@dr-bizz I turned on auto merge for the PR last night. So once the approval hit it merged


OCPBUGS-18548: Stop all MicroShift components when signaled to exit

make KCM use context we give to command
By using cmd.Context(), KCM will use a context MicroShift passes down through all the components.
When using context.Background() it won't ever stop, because it's never cancelled, and result in blocking ServiceManager which waits for all components to stop and make MicroShift use its whole internal gracefulShutdownTimer.

override KAS' shutdown-delay-duration to 5s (from 70s)
shutdown-delay-duration tells KAS how long to serve after receiving a stop signal.
Its value is provided to time.Sleep(), so it's used in full; there is not short-circuit mechanism that would let KAS exit earlier.
Default value of 70s is set in assets/controllers/kube-apiserver/defaultconfig.yaml

/test all

/jira refresh

/lgtm
nice find!

/cherrypick release-4.14


add InteractionTransformer

This PR provides an InteractionTransformer as suggested in https://github.com/JuliaAI/MLJModels.jl/issues/476.
Currently the model has hyperparameters types:

order::Int
colnames::Union{Nothing, Vector{Symbol}}

The second one may not be the most appropriate and happy to get some advice on it.
Otherwise happy to get your review comments and implement any missing interface function if any.

Codecov Report

Merging #478 (c93d41a) into dev (f880634) will increase coverage by 0.68%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #478      +/-   ##
==========================================
+ Coverage   76.84%   77.53%   +0.68%
==========================================
  Files          16       16
  Lines        1097     1086      -11
==========================================
- Hits          843      842       -1
+ Misses        254      244      -10

Impacted Files
Coverage Δ

src/MLJModels.jl
100.00% <ø> (ø)

src/builtins/Transformers.jl
96.52% <100.00%> (+0.27%)
:arrow_up:

src/loading.jl
67.53% <0.00%> (-0.42%)
:arrow_down:

src/metadata.jl
77.64% <0.00%> (-0.02%)
:arrow_down:

src/init.jl
100.00% <0.00%> (ø)

src/builtins/Constant.jl
62.85% <0.00%> (ø)

src/registry/src/update.jl
0.00% <0.00%> (ø)

src/registry/src/activate_registry_project.jl
0.00% <0.00%> (ø)

... and 2 more

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

Looking good.

I think I've addressed your comments, please let me know if there is anything else!

Closed as merged onto dev here: https://github.com/JuliaAI/MLJModels.jl/commit/6a58242951dea0a45eebb03ba022ae0611bd2cc7


Rename gem to active_encode?

If we rename the gem, it will align better with Ruby naming conventions. Is there any reason not to change it?

:+1: to renaming. (don't be like active-fedora)


Don't use the Doom automap pickup sprite for the PDA Reader

https://github.com/nashmuhandes/PDA_Starter_Kit/blob/master/zscript/PDAReader.zc#L135

Fixed in https://github.com/nashmuhandes/PDA_Starter_Kit/commit/00614fae26e64d7ad0f2c14a897a0ef0777905b3


[DBZ-7649] Add missing test annotation in PostgresConnectorIT

This PR adds the missing test annotation @Test from the file PostgresConnectorIT.java.

@vaibhav-yb Applied, thanks


docs: clarify use cases for pg_basebackup bootstrap

Closes #5719

/ok-to-merge

Looking at the lists of admonitions available on MkDocs, badly missing one: "At your own risk".


Release wheel built with numpy 1.21

takeover of #265 with access to secrets

Codecov Report

Merging #266 (90f0c2e) into main (bd11a44) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #266   +/-   ##
=======================================
  Coverage   88.44%   88.44%
=======================================
  Files          15       15
  Lines        1134     1134
  Branches      136      136
=======================================
  Hits         1003     1003
  Misses        101      101
  Partials       30       30

Flag
Coverage Δ

unittests
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

celer/__init__.py
100.00% <100.00%> (ø)

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 bd11a44...90f0c2e. Read the comment docs.

Thanks for investigating the fix @Badr-MOUFAD !


Adds right-sidebar navigation made available in #475 to Blog Post pages

Recently #475 added an extra onPageNav navigation control to the right side of Docs pages.
This change adds the onPageNav sidebar nav from the DocsLayout pages to BlogsLayout pages.
Motivation
I think Blog posts could benefit form having a navigation control.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Enable onPageNav, run site, navigate to a blog post that uses headers H1, H2 and not it in right sidebar navigation.
Related PRs
#475

I don't think that this requires a docs edit. However, I can if you folks think it should be updated.


Improve generic types

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
This PR improves the JSDoc types that come with unist-util-map.
The existing type of map is not generic. This is fine if you just want to map Nodes to Nodes, but painful if you want to do typesafe mapping of (e.g.) hast-specific node types in your TypeScript code. I came across this scenario while I was working on addressing some bugs in the rehype-twemojify plugin.
This PR updates the type of map to the following effective type:
function map<OutputNode extends Node<any> = Node<Data>, InputNode extends Node<any> = OutputNode>(tree: InputNode, iteratee: MapFunction<OutputNode, InputNode>): OutputNode

The new behavior should be tested with tsd. Examples:
* https://github.com/syntax-tree/unist-util-visit/blob/main/index.test-d.ts

* https://github.com/syntax-tree/hast-util-is-element/blob/main/index.test-d.ts

It might be easier for generics to write a d.ts file manually, and use them in the JavaScript code. Examples:
* https://github.com/syntax-tree/unist-util-visit/blob/main/complex-types.d.ts

* https://github.com/syntax-tree/mdast-util-math/blob/main/complex-types.d.ts

Hmm, fair point. I did find it pretty tricky to get the types right with just JSDoc, and I'm still not totally happy. I'll take another pass at this later.

I spent some more time looking at this and came to the conclusion that it is extraordinarily difficult to type this function correctly. As such, I'm going to close this PR.
Here's about as far as I got. I just can't find a way to make the output type of the mapping function dependent on the input type - and I'm not 100% sure that it's actually possible.
/**
 * Function called with a node to produce a new node.
 *
 * @param node Current node being processed
 * @param index Index of `node`, or `null`
 * @param parent Parent of `node`, or `null`
 * @returns {OutputNode} Node to be used in the new tree. Its children are not used: if the original node has children, those are mapped.
 */
type MapFunction<
  InputNode extends Node<any> = Node,
  OutputNode extends Node<any> = Node
> = (
  node: InputNode,
  index: number | null,
  parent: Parent<InputNode> | null
) => OutputNode

type Foo<
  RootNode extends Node<any>,
  OutputNode extends Node<any>,
  MapFunctionAccumulator = MapFunction<RootNode, OutputNode>
> = RootNode extends Parent<infer InputChildNode>
  ? OutputNode extends Parent<infer OutputChildNode>
    ? MapFunctionAccumulator extends MapFunction<
        InputChildNode,
        OutputChildNode
      >
      ? MapFunctionAccumulator
      : Foo<
          InputChildNode,
          OutputChildNode,
          MapFunctionAccumulator & MapFunction<InputChildNode, OutputChildNode>
        >
    : MapFunction<RootNode, OutputNode>
  : MapFunction<RootNode, OutputNode>

Yeah, this stuff can get really complex. And also slow. Not for the faint of heart. ;)
Thanks for trying your hand at this!


License file

Add a license file

Coverage remained the same at 100.0% when pulling 323cc69c3f245dd70c5fa721cf235f58af5b9be3 on license into 1fe3c7dba4526b8f00d8e678c7b9d093b1e40620 on master.


Fullnode after generating the fraud proof does not immediately force stop the node

The fullnode after generating and broadcasting the fraud proof, exists the SyncLoop silently and upon receiving the gossiped fraud proof, cancels the context. This could lead to fullnode never stopping gracefully. This can be fixed partially by capturing the cancel event (which only happens upon receiving the fraud proof) and stopping the node gracefully.
func (n *FullNode) OnStart() error {
  ...
  ...
  go func(ctx context.Context) {
		  select {
		  case <-ctx.Done():
			  n.Stop()
		  default:
		  }
  }(n.ctx)
  return nil
}

Duplicate of https://github.com/rollkit/rollkit/issues/933


Re-Cloaking Image

Two questions –

If you run Fawkes on an already previously Cloaked image, will it work i.e. cloak the image again to avoid detection on a compromised once-cloaked image
What happens if you re-cloak the original image, will that work i.e. differently cloak the image each time

Thanks

We do not recommend running Fawkes twice.
It will be different each time.


Add "playwright" in the list in readme

I would recommend adding 'playwright' to the list in section "CodeceptJS uses Helper modules to provide actions to I object. Currently CodeceptJS has these helpers:"
As playwright is an upcoming promising tool and I believe the repo has support for it, it could be made conspicuous by mentioning it in the readme

@vivekbwaj we added this :)


Avoid allocations in comments

Summary
This PR avoids all allocations when normalizing comments. Previously, we used Cow for this, as we had two cases:

The comment is included verbatim (use Cow; then, when formatting, we already know the start of the range, and we use the length of the string to find the end of it -- the string itself was never used, only its length).
The comment is normalized (use Borrow).

It turns out that in the normalized case, we're always printing a #, followed by a space, followed by some substring that already exists in the source code. (Computing this substring is a little messy due to the non-breaking-space special cases... but, in any event, it's always a substring, with some stuff trimmed from the start or end.)
Instead of using Cow and allocating for the normalization case, this PR adds an enum that represents the ranges of a verbatim case (Case 1) or a comment body (Case 2). When printing the former, we use the range directly; when printing the latter, we manually print the # , followed by the source code slice:
#[derive(Debug)]
enum NormalizedComment {
    /// A complete comment, including the leading `#`.
    Verbatim(TextRange),

    /// A comment body, exclusive of the leading `#` and a leading space.
    Body(TextRange),
}

Test Plan
cargo test

I got nerd sniped on this, but it's probably not a huge win since comment normalization isn't that common.

Closing based on above feedback, though I still think it's neat.


Fall back to regular labeling if T shaped labels or flag labels are out of frame

Similar to #3, there can be cases where the label is not drawn/written if the coordinates are outside of the frame. In that case, the label should fallback to the regular label.

Hey, I am working on this too. And it seems to be working fine, I have done some tests on test images. Everything is in a test folder. Should I keep the folder for you to review?
I'll make the PR accordingly.

Please check #8


Using with

How do I use this with transition-group? I tried with masonry as the component:
<transition-group tag="masonry"
but the gutter didn't work, the cols didn't have the gutter as defined.

This would be a great feature @longnt80.
I originally couldn't get <transition-group> working without a more thorough understanding of vue's renderer and workarounds. I haven't seen the tag="*component*" approach before but this might be worth exploring as a solution with minimal workarounds

@TheFrankman no new update from me as of yet but still thinking this would be a good addition to look into. How did you get on?

+1 any solution for this?

UP !!!

UP !!!

... What's that supposed to mean?

Hum.. waiting for solution..

Hi all!
I made a solution that works pretty nicely for me, so I figured I'd share until the bug is fixed :) Instead of using transition groups I use the normal transition element.
So I have to wrap each element inside the for-loop with the transition. This means I can't put any styling on the loop-element, and I have to put styling on the inner elements instead. So you'll need an extra wrapper for this.
<masonry class="image-grid" :cols="4" :gutter="30" >

        <transition v-on:before-enter="beforeEnter" v-on:enter="enter" appear>

        </transition>

</masonry>

I used .js animation instead of classes. Then I set an index in my data array and I increase that on the enter hook to delay the animation of each item.
enter: function (el, done) {
    var delay = 100 * this.index;
    this.index = this.index + 1;

    setTimeout(function () {
            Velocity(
               el,
               { opacity: 1 ,
               transform: ["scale(1)", "scale(0.9)"] },
	    );
    }, delay );

}

Unfortunately I don't have a demo to show, as I am working locally right now.. but it works fine on my side with both the transitions and the columns.
Hope this helps someone!
Just an fyi: my particular case was an image gallery, so I also had some functions for rendering the image before animation, but I took it out of the example to stay on topic. So this example would have laggy images.

+1 Any solution this yet?


Minimize Inter-process communication

We need to select minimum necessary information that needs communicated inter-process

Closed with pull request #36


[read/write set analysis] Remove Borrow access type

This access type was useful for sanity checks when building/debugging the initial analysis. But it is not needed by clients and just takes up space in the abstract state.

/land

:exclamation: Land has been canceled due to this PR being updated with new commits. Please issue another Land command if you want to requeue this PR.

/land

:exclamation: Land has been canceled due to this PR being updated with new commits. Please issue another Land command if you want to requeue this PR.

/land

:exclamation: Land has been canceled due to this PR being updated with new commits. Please issue another Land command if you want to requeue this PR.

/land


HTTP can't access

when process start，but http can't access：http://xxx:8080/v2/kafka
log：
2017-03-27 11:16:54 [INFO] Shutdown triggered
2017-03-27 11:17:58 [INFO] Starting Zookeeper client
2017-03-27 11:17:58 [INFO] Starting Offsets Storage module
2017-03-27 11:17:58 [INFO] Starting HTTP server
2017-03-27 11:17:58 [INFO] Starting Zookeeper client for cluster local
2017-03-27 11:17:58 [INFO] Starting Kafka client for cluster local
2017-03-27 11:17:58 [INFO] Starting consumers for 50 partitions of __consumer_offsets in cluster local
2017-03-27 11:18:12 [INFO] Starting Storm client for cluster local
2017-03-27 11:18:12 [ERROR] Cannot get Storm Kafka consumer group list for cluster local: zk: node does not exist
2017-03-27 11:18:12 [INFO] Start email notify
2017-03-27 11:18:12 [INFO] Start Slack Notify
2017-03-27 11:18:12 [INFO] Acquired Zookeeper notify lock
2017-03-27 11:18:12 [INFO] Start evaluating consumer group t_test1 in cluster local
2017-03-27 11:18:12 [INFO] Start evaluating consumer group t_test2 in cluster local

Can you provide more details about what happens when you try and connect to port 8080? Also, can you provide a copy of your Burrow config?


Sort records by a specific column

Discussed in https://github.com/TaKO8Ki/gobang/discussions/122

Originally posted by ac5tin September 20, 2021
Is there a way to sort a table by a specific column? Maybe say i can use the arrow keys to go to the target column and then press s to sort?

I have a interest for this issue.
May I work on it?

Yes, please!


Fields in an action input object are not validated against schema

Closed in favor of rancher/rancher#3836


pFL_poly_new.py

this file is called in the demo.sh script but i cant find it in the repository

Sorry, it is renamed  as demo.py in the repository.


Dock Icon revert back to default.

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I try to change Chatterino dock icon on my MacOS Monterey 12.6.
When i open the application - it's revert the icon to default one.
When i close the app - it's put back my custom icon.
How to fix this? I tried to use also IconChamp and cDock.
Tried to change icns in Resource folder of application.
Screenshots

OS and Chatterino Version
Chatterino 2.3.5 (commit c6ebb70e modified) built with Qt 5.15.2 Running on macOS 12.6, kernel: 21.6.0

This issue is also present on MacOS 13.0.1 Ventura, under M1 Pro.

This issue may be circumvented by implementing #2204

This issue may be circumvented by implementing #2204

While there would be less incentive to change the icon after that is done, the core issue still remains. I remember looking into this since I have encountered it myself, but I got sidetracked by trying to fix the macOS icon situation as a whole and just forgot about the entire thing. I always wanted to fix both issues but I can't promise anything will happen soon, very busy with university right now, plus I am on vacation for 2 more weeks and don't have a computer with me.
Fwiw, the icon switching was caused by #3554, so an IFDEF around the setWindowIcon call to exclude macOS would fix this issue, setting the icon is kinda unnecessary anyways considering that it's already supposed to be included in the application bundle. Would have to be IFDEF'd out for macOS anyways as soon as the bundle gets a separate icon in the new style.

I understand your predicament. In that case, perhaps it would be best to meet a compromise and just change the icon for the MacOS binary, and leave #3554 open.

I understand your predicament. In that case, perhaps it would be best to meet a compromise and just change the icon for the MacOS binary, and leave #3554 open.

Should not be an issue to just exclude that particular code line for macOS, as I said it's kinda unnecessary anyways.
The icon changing was the part I failed at, generating the correct iconset file turned out to be a bit weird and I just forgot about it after I didn't manage to do it immediately 😁
The qt support article detailing how to set the actual icon in the end, after generating the iconset using iconutil if anyone wants to pick this up: https://doc.qt.io/qt-6/appicon.html


Signal/Interrupt package

Moves most of the contents in signal.go into it's own package named signal. This is done in preparation of having standalone watchtowers, so each daemon can share this code.
Notable changes:

handlers are now executed in LIFO order. Before we were registering closures that executed in order, though this allows us to have similar semantics as defer. The handlers in lnd.go have now been separated, and are registered after each Start().
handlers are now func() error instead of func(). All of the handlers we use are of this type, so it makes it cleaner even though we don't handle the errors during an interrupt.

One question I have is whether we even need AddInterruptHandler, instead of just preferring to defer the Stop() methods. If we also defer the log message stating that shutdown is complete at the beginning of lndMain, everything should already be in lifo order.

I added two commits that impl the defer approach, lmk which you all prefer

Rationale for using defer: the current system executes FIFO order, which is fine since only two functions are registered (one of which is composite, and for the most part, executes Stop in LIFO order of resource creation). Instead of reimplementing a LIFO queue, I chose defer since it's built into the language, is consistent with all other teardown paradigms in lnd, and results in less overall code.

can squash the last two commits if rationale is sound

👍

squash commits and rebased on master


Fatal Error from use of Union Types for PHP versions < 8

I'm working on updating some sites that are still on PHP 7.4. I'm in the process of getting them updated to 8.2, but in the meantime I needed to update this plugin to deal with the errors from the ACF 6.3 update.
When attempting to update this plugin I started getting the following error:

PHP Fatal error: During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting ';' or '{' in /nas/content/live/sitename/wp-content/plugins/acf-editor-palette/src/Concerns/Asset.php:39

Looking into it the manifest function has a Union Type which is only allowed in PHP 8+. The Repo still lists the PHP requirement as >= 7.2, so either that should be bumped up to 8 or the Union Type should be removed.

Hey, no problem. Feel free to submit a PR to patch that.

Ah I see, I did it recently with https://github.com/Log1x/acf-editor-palette/commit/ac707a6aa7ed3211606cd0127bff1de83cb7925b – I didn't mean too.
Let me know if you need me to do the PR.

perfect! release pushed. thank you and sorry about that.


Adding a new file in the Project Files doesn't work

When I press "add new file" it shows the dialog. After I select the dialog, it doesn't add the file to the list.

Weird, it's working now that I restarted the app. Something a little funky going on for sure, and we should definitely work on displaying error messages on failures. Currently the code always assumes success, and ignores fails without notifying the user.


Enhancement/naming

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@c199acf). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #23   +/-   ##
==========================================
  Coverage           ?   82.18%
==========================================
  Files              ?       29
  Lines              ?      376
  Branches           ?      116
==========================================
  Hits               ?      309
  Misses             ?       67
  Partials           ?        0

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 c199acf...e2d7e1c. Read the comment docs.


Can't join from Group Details page

On the current staging deploy of Farm in the Group Explorer Group > Group Detail View when I click on “Request to Join” (or any of its variants) nothing appears to happen.  Can someone confirm if they are having that or a different experience?
When I click on any of the URIs in under the “AT A GLANCE” section at the top of the Farm Group Detail for a generated Farm the URL is getting treated as a path into Hylo not as an external URL.

I'm a little confused because would have expected the join button to be here but its not... Is this where it usually goes?

It's consistently appearing for me on non-farm groups, maybe not on farm groups?


Fix couple of typos

Fix couple of typos on:

src/textual/app.py, forwaded -> forwarded
src/textual/events.py, cootdinate -> coordinate

Thanks


Feature: K2Node_SiriusForEachMap

Attempts to create a blueprint macro for looping over a TMap type object have been unsuccesful so far. When the key & value types are wildcards it appears that Unreal only deducts the key-type when a map is plugged in (also, both the key & value outputs are set to the key type). Sounds like a good candidate to make a K2Node for this.

Interested in maybe tackling this one, would this be for debug logging purposes as well? How do you think the field selection could work?

This would actually be for general use, similar to the regular For Each Loop node that exists for arrays. As a matter of fact, this blog article I used when creating my first custom K2Node actually talks about this very use case: https://gamedev.net/tutorials/programming/engines-and-middleware/improving-ue4-blueprint-usability-with-custom-nodes-r5694/
For field selection, I think it would be best to have some kind of 'TMap<Wildcard, Wildcard>' default pin, and use reflection to adjust the pins when someone links a map with concrete type(s).
In case you're wondering: why not do this in a BP macro? There appears to be a technical limitation happening there, where Unreal isn't able to determine the value type.
Feel free to tackle this one, it's almost like a textbook first K2Node implementation with the blog post there to help you, haha. :)


typescript completion with tsuquyomi#complete omnifunc wrap failed

Since ncm2 hasn't come up with typescript extension yet, I tried the omnifunc wrap with Quramy/tsuquyomi which provided the ts omnifunc. It didn't work: the completion popup didn't appear, using "c-x c-o" can call up the completion successfully, though.
OS
windows 10
neovim :version output
NVIM v0.3.0
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: C:/msys64/mingw64/bin/gcc.exe -Wconversion -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -D__USE_MINGW_ANSI_STDIO -D_WIN32_WINNT=0x0600 -Wvla -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -IC:/projects/neovim/build/config -IC:/projects/neovim/src -IC:/projects/neovim/.deps/usr/include -IC:/msys64/mingw64/include -IC:/projects/neovim/build/src/nvim/auto -IC:/projects/neovim/build/include
Compiled by appveyor@APPVYR-WIN
Features: -acl +iconv -jemalloc +tui
See ":help feature-compile"
Minimal vimrc for reproducing the issue
filetype off
call plug#begin('~/AppData/Local/nvim/plugged')
Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'Shougo/vimproc.vim', {'do' : 'make'}
Plug 'Quramy/tsuquyomi'
Plug 'leafgarland/typescript-vim'
Plug 'HerringtonDarkholme/yats.vim'
call plug#end()
filetype plugin indent on
syntax on
autocmd BufEnter * call ncm2#enable_for_buffer()
set completeopt=noinsert,menuone,noselect
call ncm2#register_source({
\ 'name' : 'typescript',
\ 'priority': 9,
\ 'subscope_enable': 1,
\ 'scope': ['typescript'],
\ 'mark': 'ts',
\ 'word_pattern': '\w+',
\ 'complete_pattern': '\.',
\ 'on_complete': ['ncm2#on_complete#omni', 'tsuquyomi#complete'],
\ })
neovim :messages output when the error occurs
[ncm2_core@yarp] typescript on_complete: Vim(let):E716: Key not present in Dictionary: 0
Log files if you think the issue is a bug

Two causes at least:

The omni wrapper is impossible to work with an omnifunc that calls complete_add
Unknown edge case. Need more time to dig into its source code.

A better alternative is to try port nvim-typescript source. I did it for old ncm before. https://github.com/mhartington/nvim-typescript/pull/81
https://github.com/mhartington/nvim-typescript/commit/92e26d2e4c2eb9f7b6569d661cdc40bfc426676f


Feature/adding refresh token body key to refresh provider

🔗 Linked issue
#689
❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Add requestbodyKey  to module.ts which will allow us to change refresh token body key in refresh request.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[x] I have updated the documentation accordingly.

Hi @hdood 👋
Thank you for your contribution. Please resolve the merge conflicts and then we should be able to review your PR this week 🤗

Hi @zoey-kaiser
I've resolved the merge conflicts, this is my second PR so if there any other error please let me know and i will fix it right away.

Hi @hdood,
Please check that the tests are passing! Then we can begin with a proper review 🤗

Hi @hdood 👋
We have opened a new PR (#727) with this change, as this PR has gotten Stale. Thank you for your contribution!


Fix manual switching in the middle of an .idx file

Several .idx files in the distribution, such as PowerISA.idx, switch manuals in the middle with a description. Currently, the incorrect manual is used for instructions after the switch. With this fix, switching manuals in the middle of the .idx file works as expected.
This also makes it match the behaviour of the description-less switch at line 1349.

This appears to be OBE and fixed in master. I can't reproduce the issue (but I verified that it was an issue in earlier releases).


feat(examples): central readme for all examples

In order to make it easier to maintain.
This commit also fixes #174 - some examples links were broken in the README.
Rename python examples directory to match typescript.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

LGTM, pretty much same as here https://github.com/awslabs/cdk8s/pull/175
Could you also incorporate this commit in as well? https://github.com/awslabs/cdk8s/pull/175/commits/77f72195a91191e596ab2460067e440cdb9fcdd6 - it fixes lerna globbing. After the examples refactor it seems that we stopped building in the examples directory.

LGTM, pretty much same as here #175
Could you also incorporate this commit in as well? 77f7219 - it fixes lerna globbing. After the examples refactor it seems that we stopped building in the examples directory.

Done. Thanks


Anime dates are not correct when retrieving user information

I made the following request:
curl --include \
'https://api.jikan.moe/v3/user/ivanovishado/animelist/completed'

And you can see that some animes have incorrect start_date and end_date, for example 5-toubun no Hanayome, which appears to have an end_date of 2021-05-03T00:00:00+00:00 but in reality it should be something like 2019-03-29T00:00:00+00:00.
More examples can be found searching for "2021" or "2022."

This will be solved by https://github.com/jikan-me/jikan/pull/267


Is there a simple example?

I'm looking for the most simple example possible. The chess board tutorial is a little complicated for me.

have you tried the examples here, there are a lot, so maybe one can work for you.

Great, thanks. I will try "Drag Around - Naive", that sounds about my level.

I am suffering as well

Here is an alternative https://github.com/atlassian/react-beautiful-dnd

Agree with this.. some examples NOT in typescript would be a better introduction

Ok so if anyone wants to checkout the chessboard example in NON-typescript... https://github.com/AlisonWonderlandApps/kbworkflow :)

I need to say that I truly admire all the effort given to write the library and the tutorial, but in my opinion as a beginner on React is that the chess game adds a lot of complexity to the tutorial, it's difficult to understand the concepts about the drag and drop functionality while having to understand the logic around a chess board/game. I'll take a look at other examples, thank you.

I simply couldn't get the tutorial to work past the regular layout. I couldn't get past the observer is not a function error. This is frustrating when I'm copying from the tutorial. The icing on the cake is going to the example source code to find it's in Typescript. I think it's time to use another library.

I find this one very good:
https://techdoma.in/simple-introduction-to-drag-and-drop-library-react-dnd-in-react/


Bevy 0.14.2 android game with simple rendering logic crashes at start

Bevy version
0.14.2
[Optional] Relevant system information
cargo 1.82.0 (8f40fc59f 2024-08-21)
Adapter Gl AdapterInfo { name: "Android Emulator OpenGL ES Translator (Apple M1 Max)", vendor: 4203, device: 0, device_type: IntegratedGpu, driver: "OpenGL ES", driver_info: "3.0 (4.1 Metal - 88.1)", backend: Gl }log.target = "wgpu_core::instance"; log.module_path = "wgpu_core::instance"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-0.21.1/src/instance.rs"; log.line = 796;

What you did
I setup a simple android project at https://github.com/80gen/bevy_ios_bug/tree/main/platforms/android/mini_android with main game code located at https://github.com/80gen/bevy_ios_bug/blob/main/crates/game/src/lib.rs
What went wrong
The game crashes at start with the following error log
wgpu-hal heuristics assumed that the view dimension will be equal to `Cube` rather than `CubeArray`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.568 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `D2` rather than `D2Array`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.584 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `Cube` rather than `CubeArray`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.584 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `D2` rather than `D2Array`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.589 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `Cube` rather than `CubeArray`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.589 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `D2` rather than `D2Array`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.595 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `Cube` rather than `CubeArray`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.596 10064-10142 log event               com.egen.mini                        E  wgpu-hal heuristics assumed that the view dimension will be equal to `D2` rather than `D2Array`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`log.target = "wgpu_hal::gles"; log.module_path = "wgpu_hal::gles"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/mod.rs"; log.line = 421;
2024-12-11 00:37:13.604 10064-10141 log event               com.egen.mini                        I  Only vertex shader is present. Creating an empty fragment shaderlog.target = "wgpu_hal::gles::device"; log.module_path = "wgpu_hal::gles::device"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/device.rs"; log.line = 401;
2024-12-11 00:37:14.604 10064-10138 RustStdoutStderr        com.egen.mini                        I  thread '<unnamed>' panicked at /Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/device.rs:1462:50:
2024-12-11 00:37:14.607 10064-10138 RustStdoutStderr        com.egen.mini                        I  Could not lock adapter context. This is most-likely a deadlock.
2024-12-11 00:37:14.607 10064-10138 RustStdoutStderr        com.egen.mini                        I  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-12-11 00:37:14.608 10064-10138 RustStdoutStderr        com.egen.mini                        I  Encountered a panic in system `bevy_render::renderer::render_system`!
2024-12-11 00:37:16.313 10064-10141 log event               com.egen.mini                        W  	Link: WARNING: Output of vertex shader '_vs2fs_location0' not read by fragment shader
WARNING: Output of vertex shader '_vs2fs_location7' not read by fragment shader
WARNING: Output of vertex shader '_vs2fs_location4' not read by fragment shader
log.target = "wgpu_hal::gles::device"; log.module_path = "wgpu_hal::gles::device"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/device.rs"; log.line = 430;
2024-12-11 00:37:16.352 10064-10141 log event               com.egen.mini                        E  Device::create_render_pipeline error: Internal error in ShaderStages(FRAGMENT) shader: The selected version doesn't support Features(CUBE_TEXTURES_ARRAY)log.target = "wgpu_core::device::global"; log.module_path = "wgpu_core::device::global"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-0.21.1/src/device/global.rs"; log.line = 1636;
2024-12-11 00:37:16.352 10064-10141 log event               com.egen.mini                        E  Shader translation error for stage ShaderStages(FRAGMENT): The selected version doesn't support Features(CUBE_TEXTURES_ARRAY)log.target = "wgpu::backend::wgpu_core"; log.module_path = "wgpu::backend::wgpu_core"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs"; log.line = 1179;
2024-12-11 00:37:16.352 10064-10141 log event               com.egen.mini                        E  Please report it to https://github.com/gfx-rs/wgpulog.target = "wgpu::backend::wgpu_core"; log.module_path = "wgpu::backend::wgpu_core"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs"; log.line = 1180;
2024-12-11 00:37:16.352 10064-10141 log event               com.egen.mini                        E  Handling wgpu errors as fatal by defaultlog.target = "wgpu::backend::wgpu_core"; log.module_path = "wgpu::backend::wgpu_core"; log.file = "/Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs"; log.line = 2995;
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I  thread 'Async Compute Task Pool (0)' panicked at /Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.20.1/src/backend/wgpu_core.rs:2996:5:
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I  wgpu error: Validation Error
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I  Caused by:
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I      In Device::create_render_pipeline
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I        note: label = `pbr_opaque_mesh_pipeline`
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I      Internal error in ShaderStages(FRAGMENT) shader: The selected version doesn't support Features(CUBE_TEXTURES_ARRAY)
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I
2024-12-11 00:37:16.352 10064-10138 RustStdoutStderr        com.egen.mini                        I
2024-12-11 00:37:19.831 10064-10070 com.egen.mini           com.egen.mini                        I  Thread[3,tid=10070,WaitingInMainSignalCatcherLoop,Thread*=0xb400007ab278eb20,peer=0x12d803f8,"Signal Catcher"]: reacting to signal 3
2024-12-11 00:37:19.831 10064-10070 com.egen.mini           com.egen.mini                        I
2024-12-11 00:37:19.935 10064-10070 com.egen.mini           com.egen.mini                        I  Wrote stack traces to tombstoned

I also submitted the same bug to wgpu https://github.com/gfx-rs/wgpu/issues/6701

Is it something you can reproduce on an actual device?
From your log it's picking the OpenGL backend. I have the same issue if I run in the emulator on macOS, but forcing it to use vulkan makes it work. Vulkan detection works correctly on actual devices

Is it something you can reproduce on an actual device?
From your log it's picking the OpenGL backend. I have the same issue if I run in the emulator on macOS, but forcing it to use vulkan makes it work. Vulkan detection works correctly on actual devices

Tested on actual device and it worked! So is this only affecting emulators? Is there a way to enforce emulator to use Vulkan?


Support for sending MIMEBase instances

These messages could be transformed to Postmark format, so it could be useful feature

Also such feature allows us to integrate Django easily. Because Django's EmailMessage.message() returns MIMEText instance


EBI OLS started returning  XMLHttpRequest instead of JSON?!

https://github.com/EBISPOT/OLS/issues/546

can this be closed?

Yes, it was a bug on OLS's side


Portfolio: "Projects per page" Not working

I've have several projects in Bixie Portfolio. I've set 10 per page, but it shows all in one page, and it makes the page heavy and slow to load.
Anyone can confirm? Can be fixed? Chrome shows no ajax js or any other error. The console is clean.

Changing that setting only affects the number shown per page in the admin's list on the back end, and is not a pagination control setting for the public portfolio page. The only way to trim the public side in the number shown, is to use the 'tags' functionality to enable some filtering. Example... https://for-sale.lumiworx.com/for-sale
I'm presume this was by design - assuming that there wouldn't be a massive number of projects you'd want to show, but perhaps 8, 10, 12 of the most important or most recent ones.

Thank you humantex!! Well the assumption is wrong. I have two portfolios (added an extra one for another section) and both have a considerable number of items, and they are growing.
I've compress and optimized all the teaser images, but after 50 or so the page starts to lag during the loading. I'll probably won't go for this approach you showed me because that lumiworx's page is loading in full, probably won't solve the "heaviness" problem. I don't want to sort them, but to make the page shorter so it loads faster and without visual "glitch" while it does.  I'll have to tweak the code to implement this into the plugin.
Thanks again mate!


Update to Java8 for MVM-GAE sample

base this off Ludo’s intermediate image
update to java8
delete unused lines from quickstart.

update quickstart to 1.1.2 hbase

@waprin FYI - since you changed things last.
@hegemonic FYI - Java8 requirement should be in the release notes.
@maxluebbe FYI


obnam: 1.21 -> 1.22

Motivation for this change
Update to latest version
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

From their website:

NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE!
The Obnam project is retired. See https://blog.liw.fi/posts/2017/08/13/retiring_obnam/ for more information. Please use another backup solution instead.
NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE!

@rickynils