observer component re-renders even though observed value doesn't change

Intended outcome
When an observed value doesn't change, don't re-render a component wrapped with an observer.
Actual outcome
observer-wrapped component re-renders even though observed value doesn't change.
How to reproduce the issue
See repro here: https://codesandbox.io/s/stoic-sara-v1znu?file=/src/index.tsx

Click the Set param value button
Check console, there's a new entry even though there shouldn't be:
| [mobx.trace] 'observerView' is invalidated due to a change in<EMAIL_ADDRESS>
Some more details:
When clicking the button, an action fires, which is supposed to do nothing - it creates a new object that's structurally identical to the previous one. I expect that the @comptued.struct (paramsInternal) will catch this and prevent further propagation. I then read this, which I tried - see the params @computed, to no avail..
Versions
mobx: 5.15.4
mobx-react: 6.2.3
react & react-dom: 16.13.1

In your example someProp isn't read by the computed, but by the component.
The struct only works if you create non-observable data structures in your
computed.
I fixed that here:
https://codesandbox.io/s/practical-dream-o07hb?file=/src/index.tsx
Somehow the bug persisted though as long I had that trace() in there, so
that needs some investigation.
Note that the cleaner solution to your problem is to do this._params.someProp
= prop
On Mon, Jul 27, 2020 at 4:22 PM Ben Grynhaus<EMAIL_ADDRESS>wrote:

Intended outcome
When an observed value doesn't change, don't re-render a component wrapped
with an observer.
Actual outcome
observer-wrapped component re-renders even though observed value doesn't
change.
How to reproduce the issue
See repro here:
https://codesandbox.io/s/stoic-sara-v1znu?file=/src/index.tsx

Click the Set param value button
Check console, there's a new entry even though there shouldn't be:
| [mobx.trace] 'observerView' is invalidated due to a change in: '
<EMAIL_ADDRESS>
Some more details:
When clicking the button, an action fires, which is supposed to do nothing

it creates a new object that's structurally identical to the previous
one. I expect that the @comptued.struct (paramsInternal) will catch this
and prevent further propagation. I then read this
https://alexhisen.gitbooks.io/mobx-recipes/content/use-computedstruct-for-computed-objects.html#struct-computeds-still-generate-a-new-objectarray-every-time,
which I tried - see the params @computed, to no avail..
Versions

mobx: 5.15.4
mobx-react: 6.2.3
react & react-dom: 16.13.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/889, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBCGJHA7MRIYZ5Y3ESTR5WLTDANCNFSM4PI4CPLA
.

@bengry The View component don't re-render although the trace is printed. The log of [mobx.trace] only remind that the reaction maybe run agin(see trace code).The reaction doesn't rerun if it's dependencies are not changed(see shouldCompute).

In your example someProp isn't read by the computed, but by the component. The struct only works if you create non-observable data structures in your computed.

Now that you mention it, it does make sense. Is it mentioned in the docs that you need to read the individual values? In my real-world scenario I ended up doing a spread on the params, which should work just as well, for any number of properties on the _params object. Please correct me if I'm wrong here though.

@bengry The View component don't re-render although the trace is printed. The log of [mobx.trace] only remind that the reaction maybe run agin.
I stand corrected, I just put a console.count in there and it does indeed not called. Good to know that a trace() log does not necessarily mean a re-computation. Is that also true for other stuff (i.e. a trace() inside a computed that depends on another observable (or a computed which at the end derives from one..). i.e. the dependant computed won't be re-evaluated even though the trace() placed inside of it is printing.

@bengry it depends, if things of the observed by the computed change, the computed has to recompute, if it than concludes it didn't produce a different value than before, it won't propage further, etc.


Feature/ts rewrite

Removed key from SVG since it is fixed in React:
https://github.com/facebook/react/issues/2863
https://github.com/YR/frontend/issues/210

Minor comments, but LGTM

@esseb I moved default props to a static field. In this component it works great.


Feat bqplot scales

ipyvolume now uses bqplot scales, e.g.:
import ipyvolume as ipv
import numpy as np
N = 1000
x, y, z = np.random.normal(0, 1, (3, N))

fig = ipv.figure()

scatter = ipv.scatter(x, y, z)
ipv.show()

import bqplot.pyplot as plt
fig2d = plt.figure()
scatter2d = plt.scatter(x=x, y=y, scales=fig.scales, use_gl=True)
plt.show()

Gives:

Coverage decreased (-0.3%) to 65.96% when pulling b9da22a171dc98beada74e13873f05c73eb96268 on feat_bqplot_scales into fad27f945f83ead65bd06675aa4c7f08c8979269 on master.


Ignore/downrank archived repos

htop moved its repo to a new org and archived its old one, but the old one shows up as the first hit in search
 stew search htop
* Choose a GitHub project:  [Use arrows to move, type to filter]
> hishamhm/htop [⭐5845] htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
  htop-dev/htop [⭐6396] htop - an interactive process viewer
  peci1/nvidia-htop [⭐537] A tool for enriching the output of nvidia-smi.
  nicolargo/glances [⭐26582] Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
  AndyA/htop-osx [⭐179] A port of htop to OSX
  gsass1/NTop [⭐1218] 💻 htop-like system-monitor for Windows with Vi-keybindings.
  TheDen/0xfee1dead.top [⭐208] Live htop 📺

https://github.com/hishamhm/htop is archived

Yep I think this makes sense. I'll update the search query to ignore archived repos.
Here's what the API endpoint looks like: https://api.github.com/search/repositories?q=htop+fork:true+archived:false
PR will just be adding +archived:false here


WebUI returns 404 when downloading file

The problem
when I click the download button of a file through the WebUI -> Explorer view I see a HTTP/404 response for the GET request of the file in the inspector view network tab.
The rest of the WebUI works as expected. In the Explorer view of the Web UI I can successfully upload files and I see them in my onedrive and in the webUI.
request path (ignore the redacted part. the real value is the same as for example "List files" requests that succeed):
/api/hassio_ingress/*REDACTED*/[hassbackup:]/scan-1.svg

I am using onedrive as remote (wrapped in a crypt remove but I also tried without crypt, same issue)
What version of Rclone Backup has the issue?
3.0.0
What version of Home Assistant are you running?
2022.9.6
What type of installation are you running?
Home Assistant Supervised
If you're running HA OS/Supervised, what version of the Supervisor are you running?
2022.09.1
Example YAML snippet
jobs:
  - name: Sync Daily Backups
    schedule: 10 4 * * *
    command: sync
    sources:
      - /backup
    destination: "hassbackup:"
    include: []
    exclude: []
    flags: {}
dry_run: false
config_path: /config/rclone.conf
log_level: debug
rclone_config: >
  [onedrive]
  type = onedrive
  token = {"access_token":"xxx","token_type":"Bearer","refresh_token":"xxx","expiry":"xxx"}
  drive_id = xxx
  drive_type = personal

  [hassbackup]
  type = crypt
  remote = onedrive:backup/ha
  filename_encryption = off
  directory_name_encryption = false
  password = xxx
  password2 = xxx

Anything in the logs that might be useful for us?
No, I did not see extra logs when I try to download a file
Additional information
No response

This is definitely an issue, I was sure that it was working in development, but it is definitely broken at the moment.


[Suggestion] Display Spirtitbonded item in Inventory window

It would be nice if the spiritbonded item on the equipment screen would be marked somehow, either a duplicate bar next to the durability bar, under the icon, on top of the icon to track progress. Or just an extra icon/changing color of the icon to mark it as complete, when it reaches 100%.
I understand if it's not something this plugin should implement though.

The game already provides something like this

When spiritbond is complete, one of the dots (corresponding to the slot that has the full spiritbond item) becomes white.
If you're looking for a quick way to extract materia, you can also drag the "Materia Extraction" action onto your bars and use that (get it from Character (the menu button) -> Actions&Traits -> General section)

click and done, doesn't get simpler than that

I'm aware of the in-game ways, it'd be just more convenient to see it on the item right away on the character page without having to cross-reference the icons on the inventory widget :)
It's a small QoL update, but feel free to close this!

Doesn't it already do that? I thought the spiritbond bar next to items on your character window turned white when it was full.

No, that would be great, the bar is the durability bar next to the item. This is how it looks when you are spiritbound with an item:

Both rings are identical because they are above 100% in durability. But if you were look at this:

This seems out of scope for this plugin, sorry. I'd recomend you create a suggestion for this here: https://github.com/goatcorp/suggestions


KeyError: 'step' during setup_input_number()

Version of the custom_component
1.3.5
Configuration
# Begin ThermIQ #####
# ThermIQ-MQTT configuration.yaml entry
# Set your mqtt_node name here (from ThermIQ-MQTT WiFi config). Thats all!
# The mqtt_node name can also be seen in MQTT-Eplorer or similar
thermiq_mqtt:
  mqtt_node: ThermIQ/ThermIQ-mqtt
  language: "en" # Change friendly names of values. Implemented languages: en,se,fi,no,de
  thermiq_dbg: True
  hexformat: True

# End ThermIQ ######
# ##################

Describe the bug
Automation for creating input_numbers produces KeyError: 'step'.
A bit baffled by this one, I logged CONFIG_INPUT_NUMBER and all dicts contain 'step'. Any idea what could be going on here? Any additional logs that would be helpful?
Debug log

Traceback (most recent call last):
  File "/config/custom_components/thermiq_mqtt/__init__.py", line 177, in handle_home_assistant_started_event
    await create_entities_and_automations(hass)
  File "/config/custom_components/thermiq_mqtt/helper.py", line 259, in create_entities_and_automations
    await setup_input_number(hass, {COMPONENT_INPUT_NUMBER: CONFIG_INPUT_NUMBER})
  File "/usr/src/homeassistant/homeassistant/components/input_number/__init__.py", line 136, in async_setup
    await yaml_collection.async_load(
  File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 185, in async_load
    await self.notify_changes(change_sets)
  File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 142, in notify_changes
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 380, in _collection_changed
    await entity_component.async_add_entities(new_entities)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 801, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 553, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 593, in _async_write_ha_state
    extra_state_attributes = self.extra_state_attributes
  File "/usr/src/homeassistant/homeassistant/components/input_number/__init__.py", line 266, in extra_state_attributes
    ATTR_STEP: self._step,
  File "/usr/src/homeassistant/homeassistant/components/input_number/__init__.py", line 246, in _step
    return self._config[CONF_STEP]
KeyError: 'step'

This one is partially solved.
There was an input_number I had in my configurations for a different integration that was incorrectly formatted (Missing the step variable). This was being collected into the CUSTOM_INPUT_NUMBER dict of helper.py and was causing this integration to crash.

Closed as unrelated


Refactor cookie

Close #24062
At the beginning, I just wanted to fix the warning mentioned by #24062
But, the cookie code really doesn't look good to me, so clean up them.
Complete the TODO on SetCookie:

TODO: Copied from gitea.com/macaron/macaron and should be improved after macaron removed.

Codecov Report

Merging #24107 (54170e9) into main (f521e88) will decrease coverage by 0.09%.
The diff coverage is 41.40%.

:exclamation: Current head 54170e9 differs from pull request most recent head 4e5d16f. Consider uploading reports for the commit 4e5d16f to get more accurate results

@@            Coverage Diff             @@
##             main   #24107      +/-   ##
==========================================
- Coverage   47.14%   47.06%   -0.09%
==========================================
  Files        1149     1161      +12
  Lines      151446   153782    +2336
==========================================
+ Hits        71397    72370     +973
- Misses      71611    72901    +1290
- Partials     8438     8511      +73

Impacted Files
Coverage Δ

cmd/dump.go
0.64% <0.00%> (-0.03%)
:arrow_down:

cmd/embedded.go
0.00% <0.00%> (ø)

cmd/mailer.go
0.00% <0.00%> (ø)

cmd/manager.go
0.00% <0.00%> (ø)

cmd/manager_logging.go
0.00% <0.00%> (ø)

cmd/migrate_storage.go
5.76% <0.00%> (-0.12%)
:arrow_down:

cmd/restore_repo.go
0.00% <0.00%> (ø)

cmd/web.go
0.00% <0.00%> (ø)

models/actions/run.go
1.63% <0.00%> (-0.10%)
:arrow_down:

models/actions/runner.go
1.44% <ø> (ø)

... and 58 more

... and 146 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Does anyone know a easy way to produce a flash via this cookie, just for testing?

Does anyone know a easy way to produce a flash via this cookie, just for testing?

There are test cases
Manually, go to the Login page, input wrong username/password, submit, then there will be an error messsage


Add cluster mode docs for PM2 to Performance Best Practices page

Cluster mode is possible with PM2; this adds details accordingly to match those provided for StrongLoop.

LGTM.  @dougwilson do you want to review also?

LGTM


Error on login

Getting an error when trying to log in with email:

Enter email
Receive email link
Click link from email and receive error:

+1. Error is on the /dashboard page (presumably where the email confirmation redirect is to)

Neither works for me actually.

Looking into it.

Fixed.


WIP: Style support

In Xamarin.Forms, it is possible to declare styles that can be applied to either one or more controls of the same type.
<Label>
    <Label.Style>
        <Style TargetType="Label">
            <Setter Property="TextColor" Value="Blue" />
       </Style>
    </Label.Style>
</Label>

I have been trying to add support for it with the following syntax
// Direct style
Label("Hello world")
    .style(
        LabelStyle()
            .textColor(Color.Blue)
    )

// Shared style
let sharedStyle =
    LabelStyle()
        .textColor(Color.Blue)

Label("Hello")
    .style(sharedStyle)

Label("World")
    .style(sharedStyle)

It does work, even if I'm not currently 100% sure the code I wrote is of good quality.
For now, it's still quite limited. Also Style doesn't react to changes, so making a dynamic style won't work.

After thinking more about it, adding first-class support to Xamarin.Forms.Style, VisualStateManager and ControlTemplate doesn't make sense in Fabulous. Those features are mostly XAML-specific.
Fabulous already takes care of most styling in other ways.
Please read https://docs.fabulous.dev/v2/development/styling to learn how to achieve the same in Fabulous.


Coding differences for simulator vs. iPhone device

!!! MANDATORY TO FILL OUT !!!

Goals

I am able to get data with the simulator but not when I download the app to my iPhone X-RAY.
Expected Results

Same results as simulator.
Actual Results

I get no data and no error message.
Steps for others to Reproduce

Code Sample

Version of Realm and Tooling

Realm framework version: ? 4.4.0
Realm Object Server version: ?unknown
Xcode version: ? 11
iOS/OSX version: ?13.6.1
Dependency manager + version: ?unknown

Hi @MikeGranberry,
There is a natural difference between how the real device and iOS simulator are working. Without more details it’s uneasy to say what’s happening in this case. At a glance it could be a thread concurrency issue, different resources on two targets, network issue (both - app or device level) if it's involved here. Could you please give more details? Thanks

What kind of information would help you to understand the difference. Right
now there is no remote service just a local realm. I can send you
viewcontroller code if that would help.
On Tue, Sep 8, 2020 at 3:29 AM Pavel Yakimenko<EMAIL_ADDRESS>wrote:

Hi @MikeGranberry https://github.com/MikeGranberry,
There is a natural difference between how the real device and iOS
simulator are working. Without more details it’s uneasy to say what’s
happening in this case. At a glance it could be a thread concurrency issue,
different resources on two targets, network issue (both - app or device
level) if it's involved here. Could you please give more details? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/realm/realm-cocoa/issues/6740#issuecomment-688709421,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMGVHM6BBZK666JHYVJJUF3SEXTNDANCNFSM4Q7BEVTA
.

--
Mike Granberry
832 515 0254
<EMAIL_ADDRESS>

Hi @MikeGranberry
If it's possible you could send it to my email -<EMAIL_ADDRESS>

I'll close this issue due to inactivity. If the you still see the same issue please comment and we can re-open it.


Fix SLURM RAM monitoring

Fix SLURM RAM monitoring :

Fix error when calling scontrol
Do only one call instead of one at each measure

Will close #447

Tested on a SLURM environment : there is only too call per sessions and no more error message.

I'll have a look next week 😊

There was an issue with $SLURM_JOBID which was changed to $SLURM_JOB_ID, making some queries like scontrol show job $SLURM_JOBID" fail.

This works as expected
from codecarbon.external.hardware import RAM

ram = RAM(tracking_mode="process")
ram.slurm_memory_GB

There was an issue with $SLURM_JOBID which was changed to $SLURM_JOB_ID, making some queries like scontrol show job $SLURM_JOBID" fail.

Thanks for your review, it seems to be deprecated since 2017 so it is safe to remove the support of the old name !


How to use My own custom Pin and Callout view of Mapview Plus?

I want to change annotation view and use my own custom annotation view and Call out as per shown by you. Can I do this?

comment out the this delegate "func mapView(_ mapView: MapViewPlus, imageFor annotation: AnnotationPlus) -> UIImage?" in MapViewPlusDelegate class,
and write this
"let anno = annotation as! AnnotationPlus
annotationView?.image = anno.image"
in "extension MapViewPlus: MKMapViewDelegate"
make a variable in AnnotationPlus of type UIImage, and pass it into this class init()
and set your annotation e.g
let annotation = AnnotationPlus(viewModel: viewModel, coordinate: CLLocationCoordinate2DMake(latitude, longitude), image: your image name)

You can return any custom view as callout view but you can't use a custom view as annotation view. You can only use your own image as annotation view.

In this way I was able to add customview. but How can I get tap event on this custom callout?

You can add a UITapGestureRecognizer to your custom view and bind the delegate callbacks of this view to any desired destination.


Nuget package version is not -preview

The article mentions Nuget package "WindowsAzure.Storage/9.2.0-Preview". But when looking it up on Nuget, the package is not marked as "-preview", but as (stable) 9.2.0: https://www.nuget.org/packages/WindowsAzure.Storage/9.2.0
Not sure if the doc is wrong or if the package should indeed be still marked as -preview

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

ID: d02de0bf-09d7-a7fc-1b4a-213426e96b2d
Version Independent ID: 36f6c8fe-6bc1-6643-4b66-2c38bcd2e5f0
Content: Authenticate with Azure AD from a Storage application (Preview)
Content Source: articles/storage/common/storage-auth-aad-app.md
Service: storage
Product: unspecified
GitHub Login: @tamram
Microsoft Alias: tamram

@sebader  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@sebader - Thanks for your feedback. I've fixed this across the storage docs by removing the -preview suffix from the version number. The docs should now match the package name.
#please-close

great :)


Add container logs task

Gets logs from a container.

Closes https://github.com/PrefectHQ/prefect-docker/issues/7
Example

Checklist

[x] This pull request references any related issue by including "Closes #<ISSUE_NUMBER>"

If no issue exists and your change is not a small fix, please create an issue first.

[x] This pull request includes tests or only affects documentation.
[x] Summarized PR's changes in CHANGELOG.md

I changed all the branches to point to main so only one more approval across all would be needed.


Starttls support and base64 fix

Resolves #2276 and #2282

Ugh, and I thought I cleared out the newbishness : /

lol
git is picky :stuck_out_tongue:
If you want I can cherry-pick the commit in one of the next PRs of mine. ;)

@Vekseid I cherry-picked it at #2287 and changed a bit the commit message to reflect what the commit is about (just because with a meaningful commit message it's easier to search the history if needed ;) ).
And thanks for the patch! :D

@emanuele45  good for me to close this then?
I think phpstorm dun goofed my fork. Ugh.
Oh well. Plenty to do, for sure.

I guess (but since it's phpstorm @Spuds should have better knowledge than me) there should be a way to "pull" the repo without creating each time a merge commit.
Of course it's just pickiness on my side, otherwise the PR would be good. :+1:
Anyway, yep, this can be closed. ;D

Yeah, I didn't create a proper rebase locally, so the branch was messed up. : /


Decisions seems to have gone away in the duplicates API

Filtering is correct:
https://api-dev.col.plus/dataset/2046/duplicate?limit=51&offset=0&withDecision=true
But one of the usages should have a decision on it

Maybe it was never there?


[feat] allow trust_remote_code when loading models

Currently, the sentence_transformers library does not support passing custom models that require the trust_remote_code argument despite numerous requests:

https://github.com/UKPLab/sentence-transformers/issues/1473
https://github.com/UKPLab/sentence-transformers/issues/2272
https://github.com/UKPLab/sentence-transformers/pull/2274

This PR intends to monkeypatch the the relevant functions in sentence_transformers to allow the plugin to load custom models. This feature is disabled by default, but can be enabled by setting the environment variable LLM_TRUST_REMOTE_CODE.

No more warnings!

This seems to be implemented in a more recent release.
See this PR, that was released in v2.3.0
I didn't test it though


old version CDC may get stuck when pausing/removing a changefeed or table scheduling happen while there are a large number of tables being replicated.

Is your feature request related to a problem?
If the CDC cluster has many nodes and is replicating thousands of tables, CDC may become stuck after executing a remove/pause changefeed command.
You can find the following logs in the CDC log file.
==========Failed Etcd Txn Cmps==========

This issue occurs when pausing or removing a changefeed, causing both the owner and processor to write to keys with the same prefix /task/position and commit transactions to etcd simultaneously. As a result, the owner fails to commit continuously, resulting in the cdc getting stuck.
Describe the feature you'd like
Fix this problem.
Describe alternatives you've considered
Since the version of CDC that has this issue is quite outdated and the bug fix cherry-picking has been stopped, I am creating this enhancement issue to record the problem.
Teachability, Documentation, Adoption, Migration Strategy
No response

Won't fix. Please upgrade to newer version instead.

/found customer


TRI 2 Final

Q4 - Methods and Control Structures
The fourth FRQ the question was unique for using interfaces to create what is essentially a template for future methods and classes. In this example I create an interface to act as a template for my final project, where instead of an arbitrary group of numbers, I am using crops for my interface to represent. As you can see, there are many different methods for each crop, like getSpecies() which returns the species of crop being planted like corn, rice, etc. You also have getFertilizer() and getHydration() Which determine how well the specific crop performs and depending on the performance of said crop it will effect calculateProfit() and getEcoPoints().
public interface Crop {
    // Method to calculate the profit generated by the crop
    double calculateProfit();

    // Getter method for the species of the crop
    String getSpecies();

    // Getter method for the eco points earned by cultivating the crop
    int getEcoPoints();

    // Getter method for the hydration required by the crop
    int getHydration();

    // Getter method for the fertilizer needed by the crop
    String getFertilizer();

    // Method to check if the crop is ready for harvesting
    boolean isReadyForHarvest();

    // Method to harvest the crop
    void harvest();
}

Q2 - Classes
The second FRQ the question was unique for using objects and constructors to initialize the class, here we use a constructor to initialize all of our variables similar to how HiddenWord that took in a string to set to the instance variable. Here, however, we use multiple variables to access anywhere in the class. Additinally, Each method provides a specific behavior or information related to the corn crop, such as calculating profit, accessing species information, determining eco points, hydration requirements, fertilizer needs, checking readiness for harvest, and harvesting.

public class Corn implements Crop {
    private String species;
    private int ecoPoints;
    private int hydration;
    private String fertilizer;
    private boolean readyForHarvest;

    // Constructor
    public Corn(String species, int ecoPoints, int hydration, String fertilizer) {
        this.species = species;
        this.ecoPoints = ecoPoints;
        this.hydration = hydration;
        this.fertilizer = fertilizer;
        this.readyForHarvest = false; // Corn is not ready for harvest initially
    }

    @Override
    public double calculateProfit() {
        // Example: Profit calculation based on corn's characteristics
        // For simplicity, let's assume a fixed profit value for corn
        return 100.0;
    }

    @Override
    public String getSpecies() {
        return species;
    }

    @Override
    public int getEcoPoints() {
        return ecoPoints;
    }

    @Override
    public int getHydration() {
        return hydration;
    }

    @Override
    public String getFertilizer() {
        return fertilizer;
    }

    @Override
    public boolean isReadyForHarvest() {
        return readyForHarvest;
    }

    @Override
    public void harvest() {
        // Example: Harvesting corn
        System.out.println("Harvesting corn...");
        readyForHarvest = true;
    }
}

Q1 - 2D arrays
The second FRQ the question was unique for using 2D arrays, however just like before, the FRQ was only good for storing arbitrary numbers, this class utilizes a 2d array to store the corn object from before like you would in a real life field. The Field class encapsulates a 2D array representing a farm field where crops can be planted and harvested. Each element in the grid can hold either a crop object or be null. This class demonstrates the practical application of 2D arrays in modeling real-world scenarios, such as agricultural management systems. By organizing crop data in a structured grid format, it enables efficient storage, manipulation, and retrieval of crop information, facilitating tasks such as planting, harvesting, and crop management within the field.
public class Field {
    private Crop[][] grid;

    // Constructor
    public Field(int numRows, int numCols) {
        grid = new Crop[numRows][numCols];
    }

    // Method to plant corn at a specific location in the field
    public void plantCron(int row, int col, Corn corn) {
        if (isValidLocation(row, col)) {
            grid[row][col] = corn;
        } else {
            System.out.println("Invalid location for planting corn.");
        }
    }

    // Method to check if a location is valid within the field
    private boolean isValidLocation(int row, int col) {
        return row >= 0 && row < grid.length && col >= 0 && col < grid[0].length;
    }

    // Method to get the crop at a specific location in the field
    public Crop getCrop(int row, int col) {
        if (isValidLocation(row, col)) {
            return grid[row][col];
        } else {
            System.out.println("Invalid location.");
            return null;
        }
    }

    // Method to harvest wheat at a specific location in the field
    public void harvestWheat(int row, int col) {
        if (isValidLocation(row, col) && grid[row][col] instanceof Corn) {
            Corn corn = (Corn) grid[row][col];
            if (corn.isReadyForHarvest()) {
                corn.harvest();
                grid[row][col] = null; // Remove harvested wheat from the field
            } else {
                System.out.println("Corn is not ready for harvest yet.");
            }
        } else {
            System.out.println("No corn planted at this location.");
        }
    }
}

Q3 - Array lists
The third FRQ the question was unique for how annoying and time consuming it was. However, this example was neither of those, the FarmerScorer class manages two ArrayLists: one for storing eco points and another for storing money earned by the farmer. The addScore method allows adding new entries for eco points and money to the respective ArrayLists. The calculateTotalScore method computes the total score for the farmer by summing up the money earned and assigning a weight to the eco points (assuming they contribute half to the score). This implementation demonstrates how ArrayLists can be used to manage and process dynamic data in a scoring system for a farming simulator.
import java.util.ArrayList;

public class FarmerScorer {
    private ArrayList<Integer> ecoPointsList;
    private ArrayList<Double> moneyList;

    public FarmerScorer() {
        ecoPointsList = new ArrayList<>();
        moneyList = new ArrayList<>();
    }

    public void addScore(int ecoPoints, double money) {
        ecoPointsList.add(ecoPoints);
        moneyList.add(money);
    }

    public double calculateTotalScore() {
        double totalScore = 0;
        for (double money : moneyList) {
            totalScore += money;
        }
        for (int ecoPoints : ecoPointsList) {
            totalScore += ecoPoints * 0.5; // Assuming eco points contribute half to the score
        }
        return totalScore;
    }
}

Grader: Jishnu Singiresu

FRQ
Score
Comments

FRQ 1
1.1/1
FRQ was well completed and is fully functional, listed the type of the FRQ and answered all the parts of the question and lft comments in code to help guide through the thinking

FRQ 2
1.1/1
FRQ was fully completed and again, good comments that are simple but help show the thinking and answered all the parts to the questions and made sure to have fully functional code

FRQ 3
1.075/1
FRQ was completed, simple and good comments and answered all the parts, really unqiue way of displaying the results of the code, showed the removed column instead of whole array

FRQ 4
1.1/1
FRQ was completed thoroughly and code is fully functional and displays the right results and everything and yet again, good comments that show the code and explain what was going on

Connections
1.1/1
He explained in great detail and showed all the aspects of the code that correlates with the right parts of the question and then he also ordered it in an order that strcutural made sense and alllowed for a smooth presentation.

Total
5.5/5
below

Final Comments:


Clippy suggestions

ran clippy with clippy::range-plus-one, clippy::redundant-closure-for-method-calls and fix those where I was confident this is
a) improvement to the reader
b) does not make lines longer, no additional imports

could you please update the CI to run these too ?
https://github.com/uutils/coreutils/blob/main/.github/workflows/code-quality.yml#L124

I left open what should happen with extremely long redundant closures.
Cases like these,
warning: redundant closure
   --> src/uu/tail/src/args.rs:197:22
    |
197 |                 .map(|s| s.as_str()),
    |                      ^^^^^^^^^^^^^^ help: replace the closure with the method itself: `std::string::String::as_str`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
    = note: requested on the command line with `-W clippy::redundant-closure-for-method-calls`

To my eyes, std::string::String::as_str is neither more readable, nor shorter.

could you please update the CI to run these too ? https://github.com/uutils/coreutils/blob/main/.github/workflows/code-quality.yml#L124

done for the trivial ones currently passing

thanks :)


Complete part 1 assignment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
add more code
What did you learn from the changes you have made?
n/a
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
n/a
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I have challenge push change from VS to github
How were these changes tested?
tried in vs
A reference to a related issue in your repository (if applicable)
n/a
Checklist

I can confirm that my changes are working as intended

You have unfortunately made a pull request to the wrong repo. This is not a complete submission for the assignment. Please make a pull request to your own forked shell repo. Detailed instructions are available in the onboarding Assignment Submission Guide.


Profile Dropdown CSS

Added a css to get the content to left side.
Related issue : https://github.com/anuragverma108/WildGuard/issues/1490

@mithelan Great contribution to Hacktoberfest 2024! 😊 Please include before and after image or video of the changes from next time to improve clarity. Thanks for your effort! 🙌


Property manufacturer added to Cordova.Device

This property exists in the Cordova implementation (device.js). Unfortunately it is not documented.

@Ritzlgrmft thanks mate!

note
https://github.com/apache/cordova-plugin-device/blob/ad5f1e7bfd05ef98c01df549a0fa98036a5625db/www/device.js#L59


How to do a NOTACTIONS?

I've created this file:
{
"Name":  "No Group User Listing",
"IsCustom":  true,
"Description":  "Deny Group User Listing",
"Actions":  [
"*/read"
],
"NotActions": [
"Microsoft.ApiManagement/service/groups/users/read"
],
"DataActions":  [
                ],
"NotDataActions":  [

                   ],

"AssignableScopes": [
"/subscriptions/XXXXXXXXXXXXXXXXXXXXXXXXX"
]
}
The user can list the members of a Group in AAD !!! Can you please help and explain how to deny group listing using this tutorial ? Thanks.

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

ID: 95758a00-426a-1306-cda0-1855ec524489
Version Independent ID: 34fdb5c9-0da6-927a-d74f-bbe8a7dc530d
Content: Tutorial - Create a custom role for Azure resources using Azure PowerShell
Content Source: articles/role-based-access-control/tutorial-custom-role-powershell.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@bencorley Thank you for your query. We will investigate and update further.

@bencorley Could you please try the following Json file for creating the role ?
{
"Name":  "API Management Service Reader Role",
"IsCustom":  true,
"Description":  "Read-only access to service and APIs",
"Actions":  [
"Microsoft.ApiManagement/service/groups/read",
"Microsoft.ApiManagement/service/read",
"Microsoft.Authorization//read",
"Microsoft.Insights/alertRules/",
"Microsoft.ResourceHealth/availabilityStatuses/read",
"Microsoft.Resources/deployments/",
"Microsoft.Resources/subscriptions/resourceGroups/read",
"Microsoft.Support/"
],
"NotActions":  [
"Microsoft.ApiManagement/service/groups/users/read"
],
"DataActions":  [
                ],
"NotDataActions":  [

                   ],
"AssignableScopes":  [
                         "/"
                     ]

}
In case the above does not work for your use case, please send us an email at azcommunity[at]microsoft[dot]com and we will help you with alternative support options.
Thank you.


Also some opearation may be potentially daugerous.
As show in below pic, two task killed

There are logs copy from the logs on server, its not very Suggestive and helpful.
task 1149 and 1150 are those task killed.
[INFO] 2021-04-09 16:12:44.376 org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[87] - received kill command : TaskKillRequestCommand{taskInstanceId=1149}
[INFO] 2021-04-09 16:12:44.381 org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[87] - received kill command : TaskKillRequestCommand{taskInstanceId=1150}
[INFO] 2021-04-09 16:12:44.452 org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[120] - process id:10294, cmd:sudo kill -9 10294 10296 15 357 1149 10302 10305 10403 10405 10406 10407 10408 10409 10410 1041
1 10412 10413 10414 10415 10416 10417 10432 10434 10435 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10492 10496 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10
522 10523 10524 10525 10526 10527 10529 10530 10532 10533 10535 10536 10537 10538 10564 10566 10567 10573 10574 10575 10576 10577 10578 10579 10580 10587 10588 10599 10600 10601 10602 10603 10604 10605 10608 10615
[INFO] 2021-04-09 16:12:44.452 org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[120] - process id:10297, cmd:sudo kill -9 10297 10307 15 357 1150 10317 10320 10404 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10436 10440 10441 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10493 10499 10531 10539 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10565 10568 10569 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10606 10607 10609 10610 10611 10612 10613 10614 10616
[INFO] 2021-04-09 16:12:44.463  - [taskAppId=TASK-15-357-1149]:[214] - process has exited, execute path:/tmp/dolphinscheduler/exec/process/9/15/357/1149, processId:10294 ,exitStatusCode:0
[INFO] 2021-04-09 16:12:44.464  - [taskAppId=TASK-15-357-1150]:[214] - process has exited, execute path:/tmp/dolphinscheduler/exec/process/9/15/357/1150, processId:10297 ,exitStatusCode:0
[INFO] 2021-04-09 16:12:44.466 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[141] - task instance id : 1149,task final status : KILL
[INFO] 2021-04-09 16:12:44.467 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[141] - task instance id : 1150,task final status : KILL
[INFO] 2021-04-09 16:12:44.467 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[161] - develop mode is: false
[INFO] 2021-04-09 16:12:44.467 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[161] - develop mode is: false
[ERROR] 2021-04-09 16:12:44.467 org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[132] - kill task error
org.apache.dolphinscheduler.common.shell.AbstractShell$ExitCodeException: kill: sending signal to 357 failed: No such process
kill: sending signal to 1150 failed: No such process
kill: sending signal to 10404 failed: No such process
kill: sending signal to 10419 failed: No such process
kill: sending signal to 10420 failed: No such process
kill: sending signal to 10421 failed: No such process
kill: sending signal to 10422 failed: No such process
kill: sending signal to 10423 failed: No such process
kill: sending signal to 10425 failed: No such process
kill: sending signal to 10426 failed: No such process
kill: sending signal to 10427 failed: No such process
kill: sending signal to 10428 failed: No such process
kill: sending signal to 10429 failed: No such process
version of Dolphin Scheduler: 1.3.5
Suggestion:
1 Please add more info about the cause for killing the task, resource shortage or operation conflict?
2 When kill a task, the log shows so much pid are kill by kill -9 command. why so much porcess is involved? will this casue other issues?

fix by #4936


Fix watching on directory changes

Ignores directory changes such as new folders, deleting a folder, or renaming a folder.

Fixes #2

Looks great, thanks!


Added project with some unit tests

Regarding issue #2 I've created project with unit tests using nunit and sadly .net framework (had some problem with running nunit on .net standard).
There are only a few tests but maybe this project will help you to add your own.
Feel free to leave comments or contact me if you need any help.

This is awesome 👏 ✨Thanks so much for taking time out and sending this in.
Although I'd prefer to not mix .net framework with .net standard. I know that xunit supports .net standard. Would it be possible for you to rewrite these tests using xunit instead?

Ye, of course. Will try to do that in a few days.

Awesome. Thank you :)

I've just googled and played a bit with xunit and .net standard and can't find way to run it.
It looks like it works only with .net core. Is core ok for you?

.net standard isn't a framework. Its more a specification of what APIs should go into which framework version.
Since the main project (pinboard.net) itself doesn't take full framework dependency, it didn't make sense for me to target the full framework just for nunit tests.
So yes, having a pinboard.net.tests as a .net core project works for me 👍
Hope the thought process is clear? Feel free to probe :)


Added Devices message to protobuf interface

This PR is based on the feature_baremetal_removal branch. It extends the protobuf interface, so that a structured device list is returned, which can be formatted by rasctl.
@akuker Any remaining CR/LF issues should be resolved based on this branch. Now we have a clear separation between error messages (one line without CR/LF in rascsi, rasctl can add the CR/LF) and the devices list (formatted as needed by rasctl).

@akuker This branch is ready for merge now. It contains all changes from the current develop branch, including the baremetal/rascsi removal.
I checked the output and as far as I can tell it is identical with the previous output.

@akuker I order to avoid merge conflicts (I had some of those recently, and they have the potential to introduce bugs) I would like to handle some of these changes in the feature_serialization_cleanup PR. This PR would then need one more review.

@akuker I order to avoid merge conflicts (I had some of those recently, and they have the potential to introduce bugs) I would like to handle some of these changes in the feature_serialization_cleanup PR. This PR would then need one more review.

Sounds good to me! I'll re-run the robot tests, then push it.


merge from arlac77/template-arlac77-github,arlac77/template-esm-only

package.json

chore(scripts): add npm run test:ava (scripts.test)
chore(scripts): add ava --timeout 2m tests/*.mjs (scripts.test:ava)

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enable constant hoisting and evaluation.

Fixes some bit-rot with respect to how the JIT was plumbed back into the compiler.

benchmark results seem great, if they're to be believed? (full table shows lots of goodness)

Oh this is so awesome!

Oh this is so awesome!  It is a true regression as well, not noise.

Surprising the Bert had compilation time regression. It is a true regression as well, not noise.

Yeah, was eyeing that. But working on fixing the actual failures first.


Custom outDir

Hi there!
It looks this code doesn't work correctly. The second expression only. I think it happens because you don't pass this options here. It would be better to pass options from config.forge here too.

This is working as intended, the outdir option is for the JS API only as it fulfills a specific usecase for third parties using the forge API.

It is not intended to be exposed over the CLI or through the forge config.

Ok. But why? It's the easiest way to have all options in config instead of two places: args in scripts and opts in the config section. What terms are use to separate them? Although electron-forge make --outDir=.release doesn't work too.

I am also interested in this. I would like to specify an absolute path in the build, so the dmg builder can use the same path to find the app. Right now electron-forge uses the current working dir and appdmg does not. If I specify a full path to my project dir then another user cannot compile the app.
here is my dmg config
"electronInstallerDMG": {
        "icon": "img/logo.icns",
        "icon-size": 120,
        "contents": [
          {
            "x": 480,
            "y": 280,
            "type": "link",
            "path": "/Applications"
          },
          {
            "x": 140,
            "y": 280,
            "type": "file",
            "path": "/Users/me/my-app/out/my-app-darwin-x64/my-app.app"
          },
          {
            "x": 700,
            "y": 500,
            "type": "position",
            "path": ".background"
          },
          {
            "x": 700,
            "y": 500,
            "type": "position",
            "path": ".DS_Store"
          },
          {
            "x": 700,
            "y": 500,
            "type": "position",
            "path": ".Trashes"
          },
          {
            "x": 700,
            "y": 500,
            "type": "position",
            "path": ".VolumeIcon.icns"
          }
        ]
      },

if I use a absolute path "path": "/Users/me/my-app/out/my-app-darwin-x64/my-app.app" it works great for me, but not for anyone else.  If I use a relative path "path": "out/my-app-darwin-x64/my-app.app" I get an error
"out/my-app-darwin-x64/my-app.app" not found at: /var/folders/y5/_0n47sm90nxfny9k02xzhfc80000gp/T/out/my-app-darwin-x64/my-app.app

One thing you can do to resolve the absolute path issue is to link your application to the DMG using path, f.e.:
const path = require('path')

...

contents: [
  { x: 50, y: 100, type: 'link', path: '/Applications' },
  {
  x: 300,
  y: 100,
  type: 'file',
  path: path.resolve(
    __dirname,
    path.join(
    'out',
    'YourApp-darwin-x64',
    'YourApp.app',
    ),
  ),
  },
],


Make parent node of modifier tree unselectable

definition of done
the parent nodes in the modifier tree shouldn;t be selectable.
For now we can just keep using the primeng tree select and test if the node is a leaf and set the node selectable property to false otherwise.
Later we should customize a prime ng tree with ng templates and have checkboes only for leaf nodes

This applies to diseases and is working as described.


RxView.clicks(view)

Is there a specific reason, why the view is not emitted?
https://github.com/JakeWharton/RxBinding/blob/master/rxbinding/src/main/java/com/jakewharton/rxbinding/view/ViewClickOnSubscribe.java#L23

There used to be a RxView.clickEvents(View) which emitted the view, but it was removed in 0.3.0:

Fix: Remove binding overloads which provided event objects that included no additional
information (aside from the source view). To include the source view for an event, add it with
the map operator (e.g., RxFoo.bar(sourceView).map(data -> new Pair<>(sourceView, data))).

RxCompoundButton.checkedChangeEvents
RxRadioGroup.checkedChangeEvents
RxRecyclerView.scrollStateChangeEvents
RxView.clickEvents
RxView.dragEvents
RxView.focusChangeEvents
RxView.hoverEvents
RxView.longClickEvents
RxView.touchEvents

I have so much to learn 🙈
Thanks a lot!


Shaka Token

Shaka Token Logo Update

The icon is broken and has a significant size. Regular SVG icon should be <5kB


Tab Completions don't work after restart of powershell

After initial install using "Install-Module" all tab completions work as expected. Upon restart of powershell, and import of TabExpansion++, most tab completions do not work.  Specific ones tested were the net use in the WindowsExe.ArgumentCompleters.
Probably doing something wrong, just not sure what.  Figured the solution was pretty simple so I didn't do much troubleshooting on my own due to my unfamiliarity with the code.
Running Powershell 5.0

How long did you wait before trying?  After loading the module, there is some work that's done in the background which may not have completed - and if that's the case, then you'd see the behavior you described.

I noticed this for psgoogle. If the module is imported automatically the first time you use it, it seems the first tab completion will always fail. As a workaround I'm just explicitly importing the module in my profile.

It pays to look at the year, I thought this issue was opened 3 days from the future :)
Regarding psgoogle, I think TabExpansion++ is getting loaded by the call to Register-ArgumentCompleter after the psgoogle module is loaded.  So if you want tab completion before the module is loaded, you do need to load it in your profile.
@bobbytreed - I think PSGet loads the module automatically after install, so you do need to load it explicitly in your module.


Create dataset loader for KaWAT

NusaCatalogue: https://indonlp.github.io/nusa-catalogue/card.html?kawat

Dataset
kawat

Description
We introduced KaWAT (Kata Word Analogy Task), a new word analogy task dataset for Indonesian. We evaluated on it several existing pretrained Indonesian word embeddings and embeddings trained on Indonesian online news corpus. We also tested them on two downstream tasks and found that pretrained word embeddings helped either by reducing the training epochs or yielding significant performance gains.

License
Apache 2.0

#self-assign

Hi @rizkyramadhana26, are you still working on this task? thank you!

#self-assign


Notify user of possible ban

Short Description:
The API returns status code 3 when an account is banned. The wrapper now notifies the user when this is the case.
Changes:

Handle API status code 3.
Fixes mock API to return status code 1.

@OpenPoGo/maintainers

Current coverage is 39.95% (diff: 100%)

Merging #304 into master will not change coverage

@@             master       #304   diff @@
==========================================
  Files            30         30
  Lines          1319       1319
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            527        527
  Misses          792        792
  Partials          0          0

Powered by Codecov. Last update 22819fa...10fb13b

:+1:

:+1:


Add support to upgradable openzeppelin account creation

This PR add support to deploy a proxied OpenZeppelin account.
To deploy an upgradable OpenZeppelin account:
  final accountDerivation = OpenzeppelinAccountDerivation(
    proxyClassHash: proxyClassHash,
    implementationClassHash: implementationClassHash,
  );
  final account = Account.fromMnemonic(
    mnemonic: mnemonic.split(" "),
    provider: provider,
    chainId: StarknetChainId.testNet,
    accountDerivation: accountDerivation,
  );
 // skipped sending funds to account to be deployed
 // ....
 final deployTxHash = await accountDerivation.deploy(account: account);

OpenZeppelin contracts have been updated to 0.6.1
Protostar project have been updated to 0.9.1

Closes #148
P.S.: ArgentX private key derivation is not yet functional.

Payment request #A39277 has been processed and payment is complete. See you around on OnlyDust.


Scala 2.12

I saw https://github.com/ensime/ensime-atom/issues/260 a while back. It looks like ensime-server supports 2.12 on the 2.x branch. Is that supported by ensime-atom? I get this error on startup-

Downloading https://repo1.maven.org/maven2/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom.sha1 Downloading https://repo1.maven.org/maven2/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom
Downloading https://oss.sonatype.org/content/repositories/snapshots/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom
Downloading https://oss.sonatype.org/content/repositories/snapshots/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom.sha1
Downloading https://jcenter.bintray.com/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom
Downloading https://jcenter.bintray.com/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom.sha1
https://jcenter.bintray.com/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom
Error: org.ensime:ensime_2.12:1.0.0: not found: /Users/tejas/.ivy2/local/org.ensime/ensime_2.12/1.0.0/ivys/ivy.xml not found: https://repo1.maven.org/maven2/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom not found: /$HOME/.m2/repository/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom not found: https://oss.sonatype.org/content/repositories/snapshots/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom not found: https://jcenter.bintray.com/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom

FWIW, I've tried nuking everything described here http://ensime.org/editors/atom/troubleshooting/

I have this problem too.

It seems you're trying to download ensime-server 1.0.0 though. You can change that in settings I think?

Yes, this is unfortunatly still used from ensime-atom. Since .ensime format was updated with entire classpath of server, we should remove this setting and use that.

What is the workaround for this? I have tried to set 2.0.0 but I get the same result.

I'm also having this issue. Looking at the maven repo's it seems it doesn't have 2.12 yet? The latest I can find is 2.11.
Can the one it searches for be changed by configuring the .ensime config?

Unfortunately, I have the same errors in two system (win and mac) and three computers. Have someone solution?

Same problem

Same here

2.0.0 is not live yet - try 2.0.0-M1 - before that 2.0 was on snapshot versions.

Works for me. Thanks!!

Use SNAPSHOT not M1. Have a read of the sbt plugin docs and stay up to date.

I am having this issue too, despite ensime-server-version being set to 2.0.0-SNAPSHOT in my freshly generated .ensime.
The error is:
Error: org.ensime:ensime_2.12:1.0.0 not found: /home/gvaillan/.ivy2/local/org.ensime/ensime_2.12/1.0.0/ivys/ivy.xml not found: https://repo1.maven.org/maven2/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom not found: /$HOME/.m2/repository/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom not found: https://oss.sonatype.org/content/repositories/snapshots/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom not found: https://jcenter.bintray.com/org/ensime/ensime_2.12/1.0.0/ensime_2.12-1.0.0.pom

looks like it's using an old sbt download script instead of reading the .ensime.. care to have a look and see if you can fix it?

I think it's fixed in master. I really need to release.
On Tue, Aug 8, 2017, 19:17 Sam Halliday<EMAIL_ADDRESS>wrote:

looks like it's using an old sbt download script instead of reading the
.ensime.. care to have a look and see if you can fix it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ensime/ensime-atom/issues/286#issuecomment-321022640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHHKIlgXCT-qNz8LgWbm0m9qHjUxNKYks5sWJgNgaJpZM4MpoJU
.

is it not automated? I think even sublime releases are automated now

:) Just gotta push the button, but bad test coverage = scared of pushing.
Guess its way broken now anyways though…
On Tue, Aug 8, 2017 at 10:33 PM Sam Halliday<EMAIL_ADDRESS>wrote:

is it not automated? I think even sublime releases are automated now
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ensime/ensime-atom/issues/286#issuecomment-321073584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHHKK8ZEacuLqk_r8HpVBC7LoxZyE48ks5sWMYOgaJpZM4MpoJU
.

Join the club. I turned off the Emacs tests a long time ago because of flakiness. If it works for me, I don't really care what others think: they can send a PR :-)

Just gotta push the button

And I'd be happy to test the new version out and report whether the problem is fixed.

I don't really care what others think [...]

Whatever works for you.

@ghisvail I'm really sorry for my lack of responsiveness here, but I have had extremely limited time resources. I'm pretty sure I have used .ensime for classpath on startup myself and I think it's all in master. It's just to check that code out and try it. Please do! I don't have any other tags or published beta versions or anything…
Oh, it might be that it's on ensime-client/ensime-node it's fixed. yes, that's it… The code is there. I'll try to allocate a few hours next week when I'm back at work to make ensime-atom and ensime-node work ok again… But please go ahead and check it all out yourself if you want, it's just a matter of putting the code in your .atom folder…

@hedefalk Don't apologize, I know how it is :-)
Also, since my Atom version 1.9.0 upgrade, I am getting this message from the deprecation cop:
The contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. Please, stop using rootElement and access the editor contents directly instead.

Perhaps this is already fixed in master, just acknowledging it in case someone else complains before the next release.

But please go ahead and check it all out yourself if you want, it's just a matter of putting the code in your .atom folder…

So, assuming what you asked for was to replace the content of my atom package with the tip of the master branch, then I am getting the following error:
Error: Cannot find module 'sub-atom'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (/usr/share/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (/usr/share/atom/resources/app/src/module-cache.js:354:58)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:40:43)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at Object.<anonymous> (/home/gvaillan/.atom/packages/Ensime/lib/features/autocomplete-plus.coffee:4:13)
    at Object.<anonymous> (/home/gvaillan/.atom/packages/Ensime/lib/features/autocomplete-plus.coffee:65:4)
    at Object.<anonymous> (/home/gvaillan/.atom/packages/Ensime/lib/features/autocomplete-plus.coffee:69:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at Object.<anonymous> (/home/gvaillan/.atom/packages/Ensime/lib/ensime.coffee:33:30)
    at Object.<anonymous> (/home/gvaillan/.atom/packages/Ensime/lib/ensime.coffee:628:4)
    at Object.<anonymous> (/home/gvaillan/.atom/packages/Ensime/lib/ensime.coffee:632:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (/usr/share/atom/resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app/src/package.js:887:35)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app/src/package.js:242:22)
    at /usr/share/atom/resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app/src/package.js:99:21)

And yes, I have got a sub-atom package installed too.

Apm install. Sorry, afk.
On Wed, Aug 9, 2017, 13:24 Ghislain Antony Vaillant <
<EMAIL_ADDRESS>wrote:

But please go ahead and check it all out yourself if you want, it's just a
matter of putting the code in your .atom folder…
So, assuming what you asked for was to replace the content of my atom
package with the tip of the master branch, then I am getting the
following error:
Error: Cannot find module 'sub-atom'
at Module._resolveFilename (module.js:470:15)
at Module._resolveFilename (/usr/share/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename (/usr/share/atom/resources/app/src/module-cache.js:354:58)
at Module.require (file:///usr/share/atom/resources/app/static/index.js:40:43)
at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
at Object. (/home/gvaillan/.atom/packages/Ensime/lib/features/autocomplete-plus.coffee:4:13)
at Object. (/home/gvaillan/.atom/packages/Ensime/lib/features/autocomplete-plus.coffee:65:4)
at Object. (/home/gvaillan/.atom/packages/Ensime/lib/features/autocomplete-plus.coffee:69:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .coffee] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
at Object. (/home/gvaillan/.atom/packages/Ensime/lib/ensime.coffee:33:30)
at Object. (/home/gvaillan/.atom/packages/Ensime/lib/ensime.coffee:628:4)
at Object. (/home/gvaillan/.atom/packages/Ensime/lib/ensime.coffee:632:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .coffee] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
at require (internal/module.js:20:19)
at customRequire (/usr/share/atom/resources/app/static/:96:26)
at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app/src/package.js:887:35)
at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app/src/package.js:242:22)
at /usr/share/atom/resources/app/src/package.js:225:38
at Package.module.exports.Package.measure (/usr/share/atom/resources/app/src/package.js:99:21)
And yes, I have got a sub-atom package installed too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ensime/ensime-atom/issues/286#issuecomment-321227533,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHHKOS4hO_UP_S6MuCjpDAior1tToiCks5sWZbPgaJpZM4MpoJU
.

Ok, I did apm install ensime/ensime-atom which cloned the master branch of this repository and installed it as a git package in ~/.atom/packages. I am still getting the same error nonetheless.

I filed #304 for the deprecation warning I mentioned earlier.

@hedefalk Can you reproduce the issue on your machine? I am on Atom v1.19.

Shall I open a different bug, or could this one be re-opened somehow?

Is this issue still open? does it mean scala 2.12 is not supported?
I get the same error with a 2.12.4 project.

You should change the ensime server from 1.0.0 to 2.XXX in ensime-atom config.
@tejasmanohar

changing version of ensime worked for me try using 2.0.0 instead of default 1.0.0

This error still appears after fresh install. Shouldn't it be set to 2.0.0 by default?


[Bug #6306][Worker] task log path generated error.

fix #6306

Codecov Report

Merging #6311 (b935d21) into dev (0b53ade) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #6311      +/-   ##
============================================
+ Coverage     38.90%   38.93%   +0.03%
- Complexity     3219     3220       +1
============================================
  Files           637      637
  Lines         25376    25376
  Branches       2760     2760
============================================
+ Hits           9872     9880       +8
+ Misses        14601    14593       -8
  Partials        903      903

Impacted Files
Coverage Δ

...pache/dolphinscheduler/spi/task/TaskConstants.java
0.00% <ø> (ø)

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
39.00% <0.00%> (-5.68%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
:arrow_down:

...rver/master/processor/queue/TaskResponseEvent.java
100.00% <0.00%> (+6.45%)
:arrow_up:

...er/master/processor/queue/TaskResponseService.java
55.29% <0.00%> (+15.29%)
:arrow_up:

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 0b53ade...b935d21. Read the comment docs.

+1


Persistent sessions?

Verify latest release

[X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

[X] I verify that the ChatGPT webapp is working properly for this account.

Environment details
NODE 18
CHROME 108
WINDOWS 10
Describe the Bug
I want to save my login session so i don't have to login each time

The intended usage is to have a persistent node.js process that is responding to external events and using one or more persistent browser(s) to respond, instead of creating a new browser + session for each request.
See my twitter bot for a real-world example, where it opens N browsers for N accounts and then polls for incoming tweets, cycling through the different accounts to respond in turn: https://github.com/transitive-bullshit/chatgpt-twitter-bot

In a previous version, we were using a persistent puppeteer context, and you could tweak the code to allow that, but I would recommend against it since the Cloudflare protections make this approach much less viable.

The intended usage is to have a persistent node.js process that is responding to external events and using one or more persistent browser(s) to respond, instead of creating a new browser + session for each request.
See my twitter bot for a real-world example, where it opens N browsers for N accounts and then polls for incoming tweets, cycling through the different accounts to respond in turn: https://github.com/transitive-bullshit/chatgpt-twitter-bot

So in a short form, how did you achieve this?

In a previous version, we were using a persistent puppeteer context, and you could tweak the code to allow that, but I would recommend against it since the Cloudflare protections make this approach much less viable.

I wouldn't even want to do that as I have no issues with it for now, I just need to have something like a real time communication with the bot

Create a HTTP server / node.js process that runs one or more OpenAI accounts in the background as browsers. When an HTTP event comes in that you want the bot to respond to, use sendMessage. Just make sure that you don't have multiple sendMessage requests open to a single browser instance at a time, as that will cause 429 errors.
For more help, check the Projects section of the readme; there are dozens of examples of other folks who are using similar approaches 😄

Create a HTTP server / node.js process that runs one or more OpenAI accounts in the background as browsers. When an HTTP event comes in that you want the bot to respond to, use sendMessage. Just make sure that you don't have multiple sendMessage requests open to a single browser instance at a time, as that will cause 429 errors.
For more help, check the Projects section of the readme; there are dozens of examples of other folks who are using similar approaches 😄

Just seeing this now, thanks so much.

Create a HTTP server / node.js process that runs one or more OpenAI accounts in the background as browsers. When an HTTP event comes in that you want the bot to respond to, use sendMessage. Just make sure that you don't have multiple sendMessage requests open to a single browser instance at a time, as that will cause 429 errors.
For more help, check the Projects section of the readme; there are dozens of examples of other folks who are using similar approaches 😄

Can you please share some examples how to interact with running node.js process? How I can run browser once and interact with it?


Add a maxpref column in the peering sessions tabs (direct and ix), and a pdb-provided maxpref value

Retrieve the configured maxpref on  a given bgp session, as well as the value maintained by networks in PeeringDB.

@ynbrthr You can retrieve the IPv4 & IPv6 max prefixes set in PeeringDB for ASNs in the PeeringDB data cache. For a session attached to an Internet Exchange this is located at session.ixp_connection.peeringdb_netixlan.net.info_prefixes4 and session.ixp_connection.peeringdb_netixlan.net.info_prefixes6. Granted, these are fairly deep into the hierachy so maybe we could encompass these in the ASN model (with a default inheritage from PeeringDB if present)

We provide a PDB sync'd (if user selected) IPv4 & IPv6 max prefixes colum on an ASN. Not sure you'd want to customise this on a per session basis. @gmazoyer At this stage I would class this as wontfix, whats your opinion?

We cannot really retrieve what's configured on a router right now as we don't parse configuration installed on devices. We can only assume it when generating the config and see the diff before committing them.


feat: adding feature toggle system implementation

Overview
Base feature toggle system we can use in AppKit, and supports integration with Evidently, NeoWeblab, and static feature toggles.
Verifying Changes
Scene Composer
For scene-composer package changes specifically, you can preview the component in the published storybook artifact. To do this, wait for the Publish Storybook action to complete below.

Click on the workflow details
Select the Summary item on the left
Download the zip file

To run the storybook build locally, you need a local static web server:
npm install -g httpserver
cd <Extracted Zip Directory>
httpserver

Then open the website http://localhost:8080 to run the doc site.
Legal
This project is available under the Apache 2.0 License.

Sweet! This is awesome! Thank you @TheEvilDev!

That's @mitchlee-amzn to you now sir!


Two way audio / video stream not working from android home assistant app

Checklist:

Please try updating to the latest available version.
Please try clearing your browser cache.

[REQUIRED] Card diagnostic information:
card_version: 6.0.0-beta.8
browser: >-
  Mozilla/5.0 (Linux; Android 15; Pixel 9 Pro Build/AP3A.241105.008; wv)
  AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.107
  Mobile Safari/537.36 Home Assistant/2024.10.3-14058 (Android 15; Pixel 9 Pro)
date: 2024-11-30T14:32:52.693Z
frigate_versions:
  75bfa410040f18a96b467b3a6e2367ef: 5.5.1/0.14.1-f4f3cfa
lang: en_GB
timezone: Europe/London
git:
  hash: a869109
  build_date: Mon, 14 Oct 2024 00:01:23 GMT
  commit_date: Sun, 13 Oct 2024 16:50:47 -0700
ha_version: 2024.11.3
config:
  type: custom:frigate-card
  cameras:
    - camera_entity: camera.doorbell
      live_provider: go2rtc
      go2rtc:
        modes:
          - webrtc
  menu:
    buttons:
      microphone:
        enabled: true
        type: toggle
        alignment: opposing
      frigate:
        enabled: true
      cameras:
        enabled: false
      substreams:
        enabled: false
      live:
        enabled: true
      clips:
        enabled: false
      snapshots:
        enabled: false
      download:
        enabled: false
      camera_ui:
        enabled: false
      timeline:
        enabled: false
      media_player:
        enabled: false
      mute:
        enabled: true
    style: overlay
    button_size: 50
  performance: {}
  live:
    preload: true
    microphone:
      always_connected: true
  view:
    default: live

[REQUIRED] Description of problem:
The stream does not load on the android device. It works fine on a PC browser but on android the picture just  keeps updating with snapshots most of the time, and the audio/microphone buttons do not appear. Occassionally they do appear after a very long wait, and the microphone/audio buttons do appear, but the feed is immediately frozen. This is on new/clean dashboard with only a single card for the doorbell feed. Another dashboard I have with all my frigate camera cards on it does load (not including the doorbell) and they play fine, so i dont think its a phone performance issue - more so that the go2rtc/webrtc functions/stream are not loading.
[OPTIONAL] Last working release (if known):
New configuration for Reolink PoE doorbell im testing to replace existing hardware. Want this frigate card to facilitate the notifications for doorbell presses with two way audio.

The stream does not load on the android device. It works fine on a PC browser but on android the picture just keeps updating with snapshots most of the time, and the audio/microphone buttons do not appear.

This means your phone is not loading the WebRTC stream for some reason.

Occassionally they do appear after a very long wait, and the microphone/audio buttons do appear, but the feed is immediately frozen. This is on new/clean dashboard with only a single card for the doorbell feed. Another dashboard I have with all my frigate camera cards on it does load (not including the doorbell) and they play fine, so i dont think its a phone performance issue - more so that the go2rtc/webrtc functions/stream are not loading.

Exactly. Unfortunately, that could be for any number of reasons (only some of which are related to the card). I assume the Android is on the same wireless network as the PC/browser? If you're a developer, it would really help to get the Javascript console logs -- it might explain why it's not loading (that's not that easy to do if you're unfamiliar with the process though).

I am not a developer, but I am willing to give it a go - if you can point me in the right direction or give me some instructions?
The phone is not on the same LAN as the phone/frigate, its a separate subnet but routable with no firewall restrictions. It works from an external browser though so I would assume the networking side is all handled through home assistant anyway?

I am not a developer, but I am willing to give it a go - if you can point me in the right direction or give me some instructions?

It'll be a bit of a journey if you're not used to it. I'd start here: https://developer.chrome.com/docs/devtools/remote-debugging

The phone is not on the same LAN as the phone/frigate, its a separate subnet but routable with no firewall restrictions. It works from an external browser though so I would assume the networking side is all handled through home assistant anyway?

If it works on a browser externally, it should be fine on your phone too. Suggest trying both a browser on the Android device, and separately the Home Assistant companion app.

I would assume the networking side is all handled through home assistant anyway?

Yes. Everything you need should be routed via the Frigate integration running as part of your Home Assistant.
BTW: Might be good to try a different Android device if you happen to have one handy.

Yes it doesn't work on the wife's phone either, same results. Doesn't work from a browser on the phone, neither externally off the wifi or local.

Ok, what am I looking for in here? Network tab is spamming away but it seems to be just loading the new snapshot JPGs

I have the dump from chrome://webrtc-internals in another tab while the connection was being attempted, don't really know what I am looking for. The webrtc internals seems to imply its repeatedly connecting and disconnecting.
webrtc_internals_dump (1).txt

error eventually appears in the console;
live-go2rtc-fb41c006.js:1 WebSocket connection to 'wss://q69jqpnhip1eir89j8ozrkbdtza7hv2u.ui.nabu.casa/api/frigate/frigate/mse/api/ws?src=Doorbell&authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI0YTRmNzc2YWYxMzc0NDI2OGNiZWVkNDczYjNlNWY4MSIsInBhdGgiOiIvYXBpL2ZyaWdhdGUvZnJpZ2F0ZS9tc2UvYXBpL3dzIiwicGFyYW1zIjpbWyJzcmMiLCJEb29yYmVsbCJdXSwiaWF0IjoxNzMzMDUzNDU1LCJleHAiOjE3MzMxMzk4NTV9.CR7p-tvYQEu20Ycep6KcemjmDMfFcLzUKSR0OcwMHiA' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
onconnect @ live-go2rtc-fb41c006.js:1
(anonymous) @ live-go2rtc-fb41c006.js:1
Name not resolved would be a dns error, I suppose? Makes no sense as the page is loading, why would the lookup for go2rtc be failing?

Name not resolved would be a dns error, I suppose? Makes no sense as the page is loading, why would the lookup for go2rtc be failing?

That does indeed look like it might be related to your problem. It looks like the DNS resolution of your Home Assistant instance may be failing (the path /api/frigate/frigate/mse/api/ws is the path that will proxy to go2rtc behind the scenes, so it's failing before it even gets to go2rtc or to Frigate). Having said that, given that you are presumably connected to a dashboard on that same host (?), I cannot explain why your name resolution would suddenly stop working.

Name not resolved would be a dns error, I suppose? Makes no sense as the page is loading, why would the lookup for go2rtc be failing?

That does indeed look like it might be related to your problem. It looks like the DNS resolution of your Home Assistant instance may be failing (the path /api/frigate/frigate/mse/api/ws is the path that will proxy to go2rtc behind the scenes, so it's failing before it even gets to go2rtc or to Frigate). Having said that, given that you are presumably connected to a dashboard on that same host (?), I cannot explain why your name resolution would suddenly stop working.

I would ignore the DNS error to be honest, think it was a red herring - it never came up again. Can't possibly be failing to resolve the name when the page is loading from that same host, and the snapshot JPGs on the card are updating. Cant get the error to reproduce since, and it behaves the same way using the IP internally on the wifi with no DNS involved so ..
I did notice my docker IPs for the frigate container are in the candidate responses, but that is true from a browser on the PC too and it connects and loads. Other than that I couldn't see anything obvious as an error.

Just to be sure, I tried your config on my Android device, and I see the same (broken!) behavior. Works fine in browser, but not on Android. Something must have changed. Let me look into it.

... and today I come back to this issue and it's all working fine on my Android device, with this simple config (status bar on so I can clearly see the webrtc logo):
type: custom:frigate-card
cameras:
  - camera_entity: camera.office
    live_provider: go2rtc
    go2rtc:
      modes:
        - webrtc
status_bar:
  style: outside
  position: bottom

I cannot explain why it didn't work yesterday. Leaving this open to hear from others, and/or see if I can reproduce...

I dont see the webRTC logo with your status bar on mobile, it is there on PC browser. Can't really explain this at all to be honest, I presume it must be something to do with my setup but no idea how to track it down any further

Ok, same phone, same circumstances - it works when i use the direct Frigate https admin UI. The mic button appears, stream instantly loads and i can do 2 way talk - how do we debug this further to find out what is breaking through the HASS UI, integration and/or frigate card?

it works when i use the direct Frigate https admin UI

To clarify, you mean outside of HA entirely, or within HA & the card?

Yeah, just browsing to the HTTPS address of frigate itself, bypassing HA and the card

Hm, you know - updating to the 6.0.0 release has fixed this for me

Maybe try the latest release: https://github.com/dermotduffy/frigate-hass-card/releases/tag/v6.0.12
Bit of a long-shot, but it included some fixes to loading webrtc streams.

thanks, I will, but it seems like this must be a network issue of some kind now as it works fine off my LAN/wifi but broken when on the network. Must be something to do with the webrtc candidates, but it works from a LAN web browser on PC - maddening issue to track down.


rds-controller: Support BlueGreenDeployment

Is your feature request related to a problem?
Enable support for BlueGreenDeployment, so we can manage deploying new resources during the blue/green deployment and also support the switchover.
Describe the solution you'd like
I would like to extend the rds-controller to support the BlueGreenDeployment for creating the green cluster and enable the ability to do switchover.
Describe alternatives you've considered
Custom code to deploy the blue/green deployment and the switchover.

/remove-lifecycle stale

I think this is really important to get in.


Edit codeowners

Changes proposed in this pull request:

Add nataliasitko to CODEOWNERS and OWNERS_ALIASES
Remove majakurcius from OWNERS_ALIASES

Related issue(s)

https://github.com/kyma-project/kyma/issues/16378
https://github.com/kyma-project/kyma/issues/16151

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


Hungarian  keyboard layout problem  in Spyder editor. (ALTGR+F don't displays the '[')

What steps will reproduce the problem?

ccordoba12 closed my issue without fix it.
So i had to reopen.
Original issues (#16073,#15654):
I have been unable to write the first square brackets on QWERTZ (Hungarian) keyboard layout in Spyder editor. (ALTGR+F must be displays the '[')
My comment:
I hope you agree this is an awkward issue. If you don't agree, please switch to the Hungarian layout and try to code then you will see it. :)
Suggested solution:
You have to publish an unofficial hint on how we can tweak Spyder to disable the default AltGr + F keymapping. Thank you!

Hey @StJosy, please don't reopen this issue anymore. As I told you in your previous issue, this is a duplicate of issue #15654 and we don't know yet how to fix it.
If you additional comments you'd like to do, please post them there.

You have to publish an unofficial hint on how we can tweak Spyder to disable the default AltGr + F keymapping. Thank you!

We have no idea how to fix this problem, I'm sorry.


[KO] Unified header across all docs

Edited the translation notice header for all files to ensure that they are uniform across all published documents. Specifically, the old GitHub repo links (tensorflow/docs) were all replaced with the new link (tensorflow/docs-l10n).

Can you update the README, as well: https://github.com/tensorflow/docs-l10n/blob/master/site/ko/README.md
The previous note was approved by a number a stakeholders. Is this change qualitatively better? Can you detail what exactly has changed? Since this is the disclaimer, there are potential legal clearances required.
It's a big change which will affect current pull requests. If this lands, you may need to keep an eye on merge conflicts elsewhere.

Ah, sorry, you mentioned in the description:

Specifically, the old GitHub repo links (tensorflow/docs) were all replaced with the new link (tensorflow/docs-l10n).

Is that accurate? I.e. no language changes, yes? That sounds good.

@lamberta Yes, no language changes, only the links. Some translations were entirely missing the hyperlink in the first place (i.e. "공식 영어 문서" instead of "공식 영어 문서"), in which was the link was inserted. The majority of them did not have this problem, but instead referenced the old tensorflow/docs repo. These links were updated with the current tensorflow/docs-l10n.

Perfect. Thanks for doing this!

P.S. Thanks for moderating the Dev Summit! 😀

Ha. It was fun. Though a I pretty grueling battle with the spambots 😖

Thank you for the prompt feedback and approval!


add entities functions

Issues

https://github.com/threefoldtech/tfchain/issues/770

Test

It needs to be tested

@brandonpille I can't run tests for entities, could you please provide an example for creating an entity?
If it is not used we can close the pr and the issue.

We don't need these added features at this time of writing. You can close it :-)


NewLine error

I have a issue with my index file, but i did not do any changes. Does anyone have the same problem

Alright, I fixed this.


Use production graphics for background image

Now that the badges are out there, we can publish the production graphics. This changes the sim background image to the production one.

Tested and working so will merge :D


[VL] Refine evict logic in sort shuffle writer

A follow-up PR of https://github.com/apache/incubator-gluten/pull/5675
Remove the mapping from input vector to row index ranges. The process can be done in one loop.

Could you help to review commit https://github.com/apache/incubator-gluten/pull/5786/commits/8c195f2b45e7e302014b25da630040e870d5bac0? Thanks!

@kerwin-zk Could you help to review commit https://github.com/apache/incubator-gluten/pull/5786/commits/8c195f2b45e7e302014b25da630040e870d5bac0? Thanks!

@kerwin-zk Just rebased. Could you help to review again? Thanks!


Fix several bugs in 6502 ops

These changes fix several incorrect results identified when comparing Ghidra's PCode emulator against NES emulators.
I'll describe each fix on a separate section, including instruction trace log diffs. Lines prefixed with - are logged by a standalone NES emulator, and lines prefixed with + are logged by Ghidra's PCode emulator before these fixes were applied.
ADC/SBC flags incorrectly updated
SBC carry flag was being cleared when A=0, [0x7dc]=0, C=1, which is equivalent to 0 + 0xff + 1 = 0x100, where the carry bit should remain set:
8f9e a0 05           LDY        #0x5
8fa0 38              SEC
8fa1 bd dd 07        LDA        DAT_07dd,X
8fa4 f9 d7 07        SBC        0x7d7,Y=>DAT_07dc
8fa7 ca              DEX

 8fa0 A:00 X:05 Y:05 S:f8 P:04
 8fa1 A:00 X:05 Y:05 S:f8 P:05
 8fa4 A:00 X:05 Y:05 S:f8 P:07
-8fa7 A:00 X:05 Y:05 S:f8 P:07
+8fa7 A:00 X:05 Y:05 S:f8 P:06

ADC overflow flag was not set on 0x70 + 0x10 + 0 = 0x80, even though adding two positive numbers overflows and ends up as a negative result:
94fa 18              CLC
94fb 69 10           ADC        #0x10
94fd a8              TAY

 94fa A:70 X:07 Y:70 S:f5 P:04
 94fb A:70 X:07 Y:70 S:f5 P:04
-94fd A:80 X:07 Y:70 S:f5 P:c4
+94fd A:80 X:07 Y:70 S:f5 P:84

I've opted to rewrite these operations in a more well-known approach, where SBC is implemented by negating the loaded operand and applying the same arithmetic as ADC.
Reference implementations:

https://github.com/SourMesen/Mesen2/blob/80f44271088bf9a02eab8b811e605312607d3c65/Core/NES/NesCpu.h#L289
https://github.com/ares-emulator/ares/blob/b11ff923b93c0f232af5eb3855317c5690ed5c4d/ares/component/processor/mos6502/algorithms.cpp#L209

Arithmetic explanations:

https://forums.nesdev.org/viewtopic.php?p=19080#p19080
http://www.righto.com/2012/12/the-6502-overflow-flag-explained.html
https://stackoverflow.com/questions/29193303/6502-emulation-proper-way-to-implement-adc-and-sbc

JSR pushed return address is off-by-one
Consider this subroutine:
 8212 ad 70 07        LDA        OperMode
 8215 20 04 8e        JSR        JumpEngine
 8218 31 82           addr       LAB_8231
 821a dc ae           addr       LAB_aedc
 821c 8b 83           addr       LAB_838b
 821e 18 92           addr       LAB_9218

Calling JSR will push the address of the next instruction to the stack. However, the value stored must be the address before the return address. Thus, the effective return address is PC + 1.
This assumption applies to the case below, where the program will not execute the pushed address, but instead pull it from the stack and use some arithmetic to calculate the offset of the actual address to jump to:
8e04 0a              ASL        A
8e05 a8              TAY
8e06 68              PLA
8e07 85 04           STA        DAT_0004
8e09 68              PLA
8e0a 85 05           STA        DAT_0005
8e0c c8              INY
8e0d b1 04           LDA        (DAT_0004),Y
8e0f 85 06           STA        DAT_0006
8e11 c8              INY
8e12 b1 04           LDA        (DAT_0004),Y
8e14 85 07           STA        DAT_0007
8e16 6c 06 00        JMP        (DAT_0006)

Given Y=0, the expected address to jump to is 8231, however Ghidra jumps to dc82, since it pushed address 8218 instead of 8217:
 8e06 A:00 X:07 Y:00 S:f7 P:06
-8e07 A:17 X:07 Y:00 S:f8 P:04
-8e09 A:17 X:07 Y:00 S:f8 P:04
+8e07 A:18 X:07 Y:00 S:f8 P:04
+8e09 A:18 X:07 Y:00 S:f8 P:04
 8e0a A:82 X:07 Y:00 S:f9 P:84
 8e0c A:82 X:07 Y:00 S:f9 P:84
 8e0d A:82 X:07 Y:01 S:f9 P:04
-8e0f A:31 X:07 Y:01 S:f9 P:04
-8e11 A:31 X:07 Y:01 S:f9 P:04
-8e12 A:31 X:07 Y:02 S:f9 P:04
-8e14 A:82 X:07 Y:02 S:f9 P:84
-8e16 A:82 X:07 Y:02 S:f9 P:84
-8231 A:82 X:07 Y:02 S:f9 P:84
+8e0f A:82 X:07 Y:01 S:f9 P:84
+8e11 A:82 X:07 Y:01 S:f9 P:84
+8e12 A:82 X:07 Y:02 S:f9 P:04
+8e14 A:dc X:07 Y:02 S:f9 P:84
+8e16 A:dc X:07 Y:02 S:f9 P:84
+dc82 A:dc X:07 Y:02 S:f9 P:84

Indirect offsets incorrectly crossing pages
This issue affects all indirect address calculations. Suppose the bytes to fetch are stored in the zero page. When the first (low) byte of address to load is 0xff, the second (high) byte to load is at 0x0000, not 0x0100, as Ghidra was calculating.
Test case for LDA (indirect,X):

Expected to load addr=[0x0000][0x00ff]=0x0400, [addr]=0x5d, got addr=[0x0100][0x00ff]=0x0000, [addr]=0x04:

00000000: 04ff 0000 0000 0000 0000 0000 0000 0000  ................
...
000000f0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000100: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...
00000400: 5d00 0000 0000 0000 0000 0000 0000 0000  ]...............

cfee d0 10           BNE        LAB_d000
cff0 a2 00           LDX        #0x0
cff2 a1 ff           LDA        (0xff,X)
cff4 c9 5d           CMP        #0x5d

   cfee A:5c X:03 Y:69 S:fb P:07
   cff0 A:5c X:03 Y:69 S:fb P:07
   cff2 A:5c X:00 Y:69 S:fb P:07
-  cff4 A:5d X:00 Y:69 S:fb P:05
+  cff4 A:04 X:00 Y:69 S:fb P:05

Test case for LDA (indirect),Y:

Expected to load addr=([0x0000])([0x00ff]+0xff)=(0x01)(0x46+0xff)=0x0245, [addr]=0x12, got addr=[[0x00ff]+0xff]=[0x0046+0xff]=0x0145, [addr]=0x00;

00000000: 01ff 0000 0000 0000 0000 0000 0000 0000  ................
...
00000040: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...
000000f0: 0000 0000 0000 0000 0000 0000 0000 0046  ...............F
00000100: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...
00000140: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...
00000240: 0000 0000 0012 0000 0000 0000 0000 0000  ................

d955 85 00           STA        DAT_0000
d957 a0 ff           LDY        #0xff
d959 b1 ff           LDA        (DAT_00ff),Y
d95b c9 12           CMP        #0x12

   d955 A:01 X:65 Y:34 S:f8 P:45
   d957 A:01 X:65 Y:34 S:f8 P:45
   d959 A:01 X:65 Y:ff S:f8 P:c5
-  d95b A:12 X:65 Y:ff S:f8 P:45
+  d95b A:00 X:65 Y:ff S:f8 P:47

Incorrect flags on push/pop SR
It looks like the same case that was already previously submitted. If it makes sense I can remove this fix from my MR. For completeness, here's the test case:
c7e7 08   PHP
c7e8 68   PLA

   c7e8 A:00 X:04 Y:f2 S:fa P:4f
-  c7e9 A:7f X:04 Y:f2 S:fb P:4d
+  c7e9 A:6f X:04 Y:f2 S:fb P:4d

Regarding "Indirect offsets incorrectly crossing pages" - is this related to the indirect-JMP CPU bug in the NMOS family which is fixed in the CMOS parts (notably WDC)? Is it similarly fixed in the WDC parts?
If so, the SLEIGH code might need to differentiate between NMOS and CMOS 6502s (if it doesn't already) and handle this appropriately.
It may be worth checking the Caveats section of the WDC datasheet (https://www.westerndesigncenter.com/wdc/documentation/w65c02s.pdf page 30).

Regarding "Indirect offsets incorrectly crossing pages" - is this related to the indirect-JMP CPU bug in the NMOS family which is fixed in the CMOS parts (notably WDC)?

Yes, the fix for ADDRI is the same case as mentioned in one of your references: "An indirect JMP (xxFF) will fail because the MSB will be fetched from address xx00 instead of page xx+1". The other two indirect accesses are for zero page indexed addressing, which also wraps around in the same manner, but I suppose it's by design, since it doesn't appear under any caveats.

Is it similarly fixed in the WDC parts?
If so, the SLEIGH code might need to differentiate between NMOS and CMOS 6502s (if it doesn't already) and handle this appropriately.

Good point. Ghidra has 65c02.slaspec which seems like the WDC variant. Since it includes 6502.slaspec, there should be separate definitions for indirect accesses, so that  65c02.slaspec uses the non-wrapping jump.  I'll update the MR to take this into account.

I like the 6502_VERSION addition as well. Makes it easier to separate.
There's a fine line when making sleigh files between being concise and compact - keeping everything in one file, and being  verbose and separating everything in multiple files. I have had difficulty walking that line in the past. But especially for a language like this, where the differences are sometimes minor and scattered throughout various instructions, the define here adds some nice flexibility.

The ADC instruction is missing support for when the Decimal flag is set:


Fix Github workflow for release

The current github release fails in the target for mac os  and we have no release for windows target so far.
The following github action could be worth checking out.

That github action could be worthwhile too.

Could also be done via https://github.com/tpoechtrager/osxcross maybe.