Migrating past being a junior

It's late, but this post just kinda kept on giving and ends dup being one iteration.
I've been using Ulysses which is beautiful, and cleans up the markdown of things I've touched - so it's cleaned up the markdown on two other posts that I decided were part of a series. Which is why this diff is bigger than it would be normally. So you have to scroll to get to the actual article.

Main focus: You're hitting a point where you're comfortable as a programmer after your first year or two, but aren't sure how to grow from there. This should give you a lot of ideas to explore from.
Would love feedback from the peeps at Artsy who are either at this stage or are on the other side, especially
@sarahscott @kanaabe @xtina-starr @pmatanyc - and the usual @mennenia and @ashfurrow

Proselint found issues
_posts/2015-04-03-artsy-engineering-compensation-framework.markdown

Line
Message
Severity

28
Use diacritical marks in 'your résumé'.
warning

_posts/2016-01-30-iOS-Junior-Interviews.markdown

Line
Message
Severity

80
'in regards to'.
warning

80
'in regard to' is the preferred form.
warning

88
Hyphenate 'open source community.', a phrasal adjective, as 'open-source community'.
warning

108
Use diacritical marks in 'a résumé'.
warning

199
Use diacritical marks in 'a résumé'.
warning

284
'hopefully' is a bit of a skunked term — impossible to use without issue. Find some other way to say it.
warning

311
'hopefully' is a bit of a skunked term — impossible to use without issue. Find some other way to say it.
warning

315
Use diacritical marks in 'your résumé'.
warning

336
'more than one way to skin a cat.' is a cliché.
warning

368
No hyphen is necessary in phrasal adjectives with an adverb ending in -ly.
warning

383
Months should be capitalized. 'June' is the preferred form.
warning

_posts/2016-10-10-Help!-I'm-becoming-Post-Junior.md

Line
Message
Severity

50
Substitute 'damn' every time you're inclined to write 'very;' your editor will delete it and the writing will be just as it should be. Found 5 times elsewhere.
warning

50
'hopefully' is a bit of a skunked term — impossible to use without issue. Find some other way to say it.
warning

78
Inconsistent spacing after period (1 vs. 2 spaces).
warning

92
Inconsistent spacing after period (1 vs. 2 spaces).
warning

112
'hopefully,' is a bit of a skunked term — impossible to use without issue. Find some other way to say it.
warning

120
'At the end of the day' is cliché.
warning

120
Minimize your use of corporate catchphrases like this one.
warning

Spell Checker found issues
_posts/2015-04-03-artsy-engineering-compensation-framework.markdown

Line
Typo

10
ur engineering team grew past 20 members it became important t

18
We have devised 5 levels, much inspired by the

20
t a team lead can have a good 1:1 conversation with a team me

20
a team lead can have a good 1:1 conversation with a team memb

22
please e-mail<EMAIL_ADDRESS>

22
ase e-mail<EMAIL_ADDRESS>

24
sider them to do compensation math, other than for the case when

28
your resume to<EMAIL_ADDRESS>

32
#### Engineer 1

37
ushes code through the entire lifecycle from development to productio

40
#### Engineer 2

49
#### Engineer 3

54
reasoned design decisions and tradeoffs in their area.

62
#### Engineer 4

76
#### Engineer 5

_posts/2016-01-30-iOS-Junior-Interviews.markdown

Line
Typo

10
good explanation is in [this StackOverflow][1].

20
][2]. However, in this [post @dbgrandi][3] neatly sums up the lower

24
SON to present some data in a UITableView.

28
r a lot of things, and that's ok.

34
- [StackOverflow jobs][4]

38
- [@xcodejobs][8]

40
irst programming job through [CocoaDev Jobs][9].

42
s in the city. In NYC we have 3-4 big iOS meet-ups a month, and

42
, I almost became a full-time rubyist because of it. I have quite a

44
Artsy's job postings are on [AngelList][10] and [Glassdoor][11] but

44
s are on [AngelList][10] and [Glassdoor][11] but the vast majority of

44
nkedIn][13], [Hired][14] and [weworkremotely][15] are probably worth a loo

56
These are 15-30 minute informal chats, but fr

56
u'll usually get a yes. Tamar Nachmany has some [great, salient poin

62
lived for most of my life (~25 years) about 2 hours train ri

62
of my life (~25 years) about 2 hours train ride from Manches

64
ould work out well for mentor/mentoree. You'd need the entire compan

76
t's amazing that there is now 1 billion active users a day. I

80
e position first through Orta Therox, who spoke highly of Artsy.

82
world, with a thorough mix of math, software engineering, and ar

82
in our society, as I did with 500px.

84
**10/10.** Extremely on topic.

84
10/**10.** Extremely on topic.

88
GitHub, have written for the Teehan+Lax blog professionally, and

96
**10/10** ✔

96
10/**10** ✔

98
ground, I just graduated from NYU with a B.S. in Electrical Eng

98
ust graduated from NYU with a B.S. in Electrical Engineering and

98
ary (a home security hardware startup). While I do enjoy building h

116
- [2007][23] as a part of the WWDC St

116
- [2007][23] as a part of the WWDC Student Scholarship. It was s

117
- [2008][24] as a graduate applying f

118
- [2008][25] as a graduate applying f

119
- [2010][26] when applying for jobs o

120
- [2015][27] my CV as a part of my U.

120
15][27] my CV as a part of my U.S. VISA process.

157
tions happening over the last 8 years, but the tone of how I

159
onsider my personal web-page [orta.io][28] to act as a portfolio, A

196
_More infö that I've reviewed and given

199
* [8 Minute Guide to Writing a Res

204
you think being a engineer at Spotify would be a dream job. How do

206
test out the water. Then for Spotify, you should make sure everyth

208
ompanies have public employee get-togethers, for example at Artsy we have

208
d the curtain. In the case of Spotify, they host a lot of meet-ups,

214
t IMO is a solid resource is [CameronBanga/iOS-Developer-and-Designer-In

230
e real interviews in the last 2 years.

234
Have a Technical Interview at Macoscope][43] - Again, probably a bit

240
nvest probably something like 10 hours into you. This is sprea

266
be threading, view controller lifecycle, code coupling, dynamic vs st

268
Here's [a long writeup][47], with a lot of depth (an

288
our interview seems to be the ettiquette in the US. I don't recall doi

299
een given an offer. If it's a startup, you might be offered equity.

301
offer much there. But I have recieved [some good][52] advice I'll p

309
own blog. [Jekyll][54] is the defacto go-to in that space, but I kn

309
ed using [middleman][55] and [hugo][56]. Do not use Octopress, v

309
5] and [hugo][56]. Do not use Octopress, vanilla Jekyll will do you j

311
, talk about code. It took me 4 years to hit my first thousan

317
ing to Open Source][61]. [Fix READMEs][62], [improve documentation

330
- Video code-reviews: [Eidolon][72] / [Emergence][73] - On t

335
- [Building the Xcode Plugin Snapshots][78] - On how your

336
- [MVVM in Swift][79] - On understand

Spell Checker found issues
_posts/2015-04-03-artsy-engineering-compensation-framework.markdown

Line
Typo

10
ur engineering team grew past 20 members it became important t

18
We have devised 5 levels, much inspired by the

20
t a team lead can have a good 1:1 conversation with a team me

20
a team lead can have a good 1:1 conversation with a team memb

22
please e-mail<EMAIL_ADDRESS>

22
ase e-mail<EMAIL_ADDRESS>

24
sider them to do compensation math, other than for the case when

28
your resume to<EMAIL_ADDRESS>

32
#### Engineer 1

37
ushes code through the entire lifecycle from development to productio

40
#### Engineer 2

49
#### Engineer 3

54
reasoned design decisions and tradeoffs in their area.

62
#### Engineer 4

76
#### Engineer 5

_posts/2016-01-30-iOS-Junior-Interviews.markdown

Line
Typo

10
good explanation is in [this StackOverflow][1].

20
][2]. However, in this [post @dbgrandi][3] neatly sums up the lower

24
SON to present some data in a UITableView.

28
r a lot of things, and that's ok.

34
- [StackOverflow jobs][4]

38
- [@xcodejobs][8]

40
irst programming job through [CocoaDev Jobs][9].

42
s in the city. In NYC we have 3-4 big iOS meet-ups a month, and

42
, I almost became a full-time rubyist because of it. I have quite a

44
Artsy's job postings are on [AngelList][10] and [Glassdoor][11] but

44
s are on [AngelList][10] and [Glassdoor][11] but the vast majority of

44
nkedIn][13], [Hired][14] and [weworkremotely][15] are probably worth a loo

56
These are 15-30 minute informal chats, but fr

56
u'll usually get a yes. Tamar Nachmany has some [great, salient poin

62
lived for most of my life (~25 years) about 2 hours train ri

62
of my life (~25 years) about 2 hours train ride from Manches

64
ould work out well for mentor/mentoree. You'd need the entire compan

76
t's amazing that there is now 1 billion active users a day. I

80
e position first through Orta Therox, who spoke highly of Artsy.

82
world, with a thorough mix of math, software engineering, and ar

82
in our society, as I did with 500px.

84
**10/10.** Extremely on topic.

84
10/**10.** Extremely on topic.

88
GitHub, have written for the Teehan+Lax blog professionally, and

96
**10/10** ✔

96
10/**10** ✔

98
ground, I just graduated from NYU with a B.S. in Electrical Eng

98
ust graduated from NYU with a B.S. in Electrical Engineering and

98
ary (a home security hardware startup). While I do enjoy building h

116
- [2007][23] as a part of the WWDC St

116
- [2007][23] as a part of the WWDC Student Scholarship. It was s

117
- [2008][24] as a graduate applying f

118
- [2008][25] as a graduate applying f

119
- [2010][26] when applying for jobs o

120
- [2015][27] my CV as a part of my U.

120
15][27] my CV as a part of my U.S. VISA process.

157
tions happening over the last 8 years, but the tone of how I

159
onsider my personal web-page [orta.io][28] to act as a portfolio, A

196
_More infö that I've reviewed and given

199
* [8 Minute Guide to Writing a Res

204
you think being a engineer at Spotify would be a dream job. How do

206
test out the water. Then for Spotify, you should make sure everyth

208
ompanies have public employee get-togethers, for example at Artsy we have

208
d the curtain. In the case of Spotify, they host a lot of meet-ups,

214
t IMO is a solid resource is [CameronBanga/iOS-Developer-and-Designer-In

230
e real interviews in the last 2 years.

234
Have a Technical Interview at Macoscope][43] - Again, probably a bit

240
nvest probably something like 10 hours into you. This is sprea

266
be threading, view controller lifecycle, code coupling, dynamic vs st

268
Here's [a long writeup][47], with a lot of depth (an

288
our interview seems to be the ettiquette in the US. I don't recall doi

299
een given an offer. If it's a startup, you might be offered equity.

301
offer much there. But I have recieved [some good][52] advice I'll p

309
own blog. [Jekyll][54] is the defacto go-to in that space, but I kn

309
ed using [middleman][55] and [hugo][56]. Do not use Octopress, v

309
5] and [hugo][56]. Do not use Octopress, vanilla Jekyll will do you j

311
, talk about code. It took me 4 years to hit my first thousan

317
ing to Open Source][61]. [Fix READMEs][62], [improve documentation

330
- Video code-reviews: [Eidolon][72] / [Emergence][73] - On t

335
- [Building the Xcode Plugin Snapshots][78] - On how your

336
- [MVVM in Swift][79] - On understand

  Generated by :no_entry_sign: danger

Hrm, somethings off with that spell checker

Quality content, as always!
Sorry for all the header comments, I just got confused with what I expected and actually ended up reading in the sections.
I left some further thoughts on the closing paragraph.
Also, on the first point (more cross team interaction) makes me think of what one can recommend about communicating effectively with people outside your team. This can actually be a very tricky path to navigate when starting out. I'll have a further think.

Normally I aim for puns in my headers 📦 - but I can trade them off in terms of actually being useful in "serious" posts like this 👍

There's a part of transitioning from a raw junior to the next step that may be valuable to bring up, but it's not the most positive thing to discuss.
Not all jobs are healthy places to grow your career. Some people will look back on their first job or two and remember how bad some aspect of it was (the culture, the tech practices, etc). There was a moment in one of my earliest jobs that I realized that (1) I was probably being undervalued and (2) I probably have enough experience now to get a job that will better help grow my career. Looking back from today, it's clear that both of those were true.
For a lot of people, the first job is an exciting thing that you grab at quickly because, well...getting a job can be hard, or at least a big unknown.
With a bit of experience and skill, you have a better ability to control your career. Part of that is getting yourself on the team that is right for you.
Again, not sure if that has a place in this post. :)

Thanks everyone, I've gone through all your feedback again - still not tackled @dbgrandi's discussion on "is it time to leave"

I've taken a stab at moving on, it's much more hands-off than the discussion from Dave, speaking strictly about my experiences to avoid changing the tone

OK, shipping in 10


Is HasAndBelongsToMany relation not supported?

To import many-to-many relationships,
Is 'through' model required? (hasManyThrough relation)

Hello @petitroto thanks your interest in this mixin.
The mixin right now (1.0.6) supports 2 types of relational operations
1.- Link
2.- Create
So at this moment Yes it does support many-to-many operations on both (link and create)
Example
{
    "Import": {
        "pk": "cvsField", // So we don't create multiple times your root instance
        "map": {
            // Your root scope properties map...
        },
        "relations": {
            // This links your new root model with existing many to many models where the statement matches
            "manyToManyRelationLink": {
                "type": "link",
                "where": { "relatedModelProperty": "cvsKeyField" }
            }
           // This creates many to many instances  and relates with your root model
            "manyToManyRelationCreate": {
                "type": "create",
                "map": {
                    // Same type properties map configuration as root, but now for
                    //  the related model instances to be created
                }
            }
        }
    }
}

At this moment you don't need to define the intermediate model (through) since its is not necessary, at the end it does something like
Model.yourManyToManyRelation.add() when you use the link configuration and  Model.yourManyToManyRelation.create(map) when you use create
I hope this help to you.
Cheers
Jon


Update README.md

Adds more description and I can link to changelog and support once that is setup.

Thanks


Update customize a them guide to include "template" in the documentjs example.

This is what is currently in the guide:

Need to add "template" as follows:
{
    "siteDefaults": {
      "templates": "style-guide-theme/templates",
      "static": "style-guide-theme/static"
    },
   "sites": {
        "styles": {
            "glob": "styles/**/*.{md,less,md}",
            "parent": "style-guide",
            "dest": "./styleguide"
        }
    }
}

Does documentation surrounding this change need to be added?

@leoj3n I don't think this is a change in the way it works, I believe it was not properly documented to begin with. What's on this page is not complete: http://documentcss.com/docs/customize.html

That page also has typos :/


Full documentation, plus somewhere to stick it.

I've got a script in another project that will automagically generate it and push it to gh-pages, so that gives us somewhere to stick the docs.

Use travis-cargo.

#434 #410
travis-cargo works quite well for documentation. I'm not sure what @AngryLawyer has right now, but I wrote a Travis script (untested) that should push docs to gh-pages for every stable test on master: https://gist.github.com/nukep/6b9e9ea04b03f7e0fbef
The only thing missing is the secure GH_TOKEN environment variable. It can be obtained by following the guide: http://www.hoverbear.org/2015/03/07/rust-travis-github-pages/#givingtravispermissions

I'll take a look at this in the coming week :)

Thanks for pointing me in the right direction there - docs should now be up to date and remain like that.


Goodbye MongoDB 👋

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/kapetanios reload

Goodbye 😢
/lgtm

/approve


Missing Locale support within gem5 simulator on ARM

Describe the bug
Gem5 cannot set the locale to C.UTF-8, gem5 appears to only support C locale, and also defaults to it, while native hardware appears to default to C.UTF-8.
Affects version
gem5 version <IP_ADDRESS>
gem5 compiled Sep  6 2024 03:51:59
gem5 Modifications
No modifications. I used the script hello-custom-binary-Ex.py modified from this script https://github.com/BobbyRBruce/gem5-ssbse-challenge-2023, to allow input. The script is available here: https://github.com/karineek/SearchGEM5/blob/main/hello-custom-binary-Ex.py, which has an ARM ISA option.
To Reproduce
Steps to reproduce the behavior:

Compile gem5 with command:

git clone https://github.com/gem5/gem5.git
cd gem5/
pip install -r requirements.txt
scons build/ARM/gem5.opt

Compile the code with:

gcc -O3 test_locale.c -o test_locale.o

Create a text file for the input:

echo "$pwd"/test_locale.o >> test_locale.txt
echo 20ac >> test_locale.txt

Run with:

./gem5/build/ARM/gem5.opt ./hello-custom-binary-Ex.py --isa ARM --input test_locale.txt

The programs code is:
#include <stdio.h>
#include <uchar.h>
#include <stdlib.h>
#include <locale.h>
#include <string.h>

int main(int argc, char *argv[]) {
    char *locale = setlocale(LC_ALL, "C.UTF-8");
    if (locale == NULL) {
        printf("Error: Unable to set locale.\n");
        return EXIT_FAILURE;
    }

    printf("Current Locale: %s\n", locale);

    return EXIT_SUCCESS;
}

Or in this case:
#include <stdio.h>
#include <uchar.h>
#include <stdlib.h>
#include <locale.h>

int main(int argc, char *argv[]) {
    setlocale(LC_ALL, "");

    if (argc != 2) {
        printf("Usage: %s <UTF-16 character>\n", argv[0]);
        return EXIT_FAILURE;
    }

    char16_t utf16_char = (char16_t) strtol(argv[1], NULL, 16);
    char mb_char[MB_CUR_MAX + 1];
    mbstate_t state = {0};

    size_t ret = c16rtomb(mb_char, utf16_char, &state);

    if (ret == (size_t) -1) {
        printf("Invalid UTF-16 character\n");
        return EXIT_FAILURE;
    }

    mb_char[ret] = '\0';

    printf("UTF-16: %#x, Multibyte Character: %s\n", utf16_char, mb_char);

    return EXIT_SUCCESS;
}

Producing different results on the raw machine vs gem5 due to the different character encoding.
The python configuration file is available here.
Terminal Output
When executed on an ARM machine for the first program we get:
> ./test_locale.o
Current Locale: C.UTF-8

Where as when running within the simulator we get:
> ./gem5/build/ARM/gem5.opt ./hello-custom-binary-Ex.py --isa ARM --input test_locale.txt
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version <IP_ADDRESS>
gem5 compiled Sep  6 2024 03:51:59
gem5 started Sep  7 2024 08:45:52
gem5 executing on node-0.armgem5.kclsystemfuzz-pg0.utah.cloudlab.us, pid 90694
command line: ./gem5/build/ARM/gem5.opt ./hello-custom-binary-Ex.py --isa ARM --input test_locale.txt

Global frequency set at<PHONE_NUMBER>000 ticks per second
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (32 Mbytes)
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
board.remote_gdb: Listening for connections on port 7002
src/sim/simulate.cc:199: info: Entering event queue @ 0.
Error: Unable to set locale.
Exiting @ tick<PHONE_NUMBER> because exiting with last active thread context.

and for the second program we get:
> ./test_locale.o 20ac
UTF-16: 0x20ac, Multibyte Character: €

> ./gem5/build/ARM/gem5.opt ./hello-custom-binary-Ex.py --isa ARM --input test_locale.txt
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version <IP_ADDRESS>
gem5 compiled Sep  6 2024 03:51:59
gem5 started Sep  7 2024 08:44:06
gem5 executing on node-0.armgem5.kclsystemfuzz-pg0.utah.cloudlab.us, pid 90395
command line: ./gem5/build/ARM/gem5.opt ./hello-custom-binary-Ex.py --isa ARM --input test_locale.txt

Global frequency set at<PHONE_NUMBER>000 ticks per second
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (32 Mbytes)
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
board.remote_gdb: Listening for connections on port 7002
src/sim/simulate.cc:199: info: Entering event queue @ 0.
Invalid UTF-16 character
Exiting @ tick<PHONE_NUMBER> because exiting with last active thread context.

Running this using the config found in /configs/example/arm/starter_se.py also produced similar results:
> cd gem5
> ./build/ARM/gem5.opt configs/example/arm/starter_se.py "../test_locale.o"
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version <IP_ADDRESS>
gem5 compiled Sep  6 2024 03:51:59
gem5 started Sep  7 2024 08:50:58
gem5 executing on node-0.armgem5.kclsystemfuzz-pg0.utah.cloudlab.us, pid 91464
command line: ./build/ARM/gem5.opt configs/example/arm/starter_se.py ../test_locale.o

info: 1. command and arguments: ['../locale_basic.o']
Global frequency set at<PHONE_NUMBER>000 ticks per second
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
system.remote_gdb: Listening for connections on port 7002
src/sim/simulate.cc:199: info: Entering event queue @ 0.
Error: Unable to set locale.
exiting with last active thread context (1) @ 38148500

and for the second program:
> cd gem5
> ./build/ARM/gem5.opt configs/example/arm/starter_se.py "../test_locale.o 20ac"
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version <IP_ADDRESS>
gem5 compiled Sep  6 2024 03:51:59
gem5 started Sep  7 2024 08:51:29
gem5 executing on node-0.armgem5.kclsystemfuzz-pg0.utah.cloudlab.us, pid 91546
command line: ./build/ARM/gem5.opt configs/example/arm/starter_se.py '../test_locale.o 20ac'

info: 1. command and arguments: ['../locale.o', '20ac']
Global frequency set at<PHONE_NUMBER>000 ticks per second
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
system.remote_gdb: Listening for connections on port 7002
src/sim/simulate.cc:199: info: Entering event queue @ 0.
Invalid UTF-16 character
exiting with last active thread context (1) @ 25550500

Expected behavior
For the program to default to a similar encoding within the simulator as is done outside of it (C.UTF-8), and for the simulator to support explicitly setting locales other than C.
Host Operating System
Ubuntu 22.04.4 LTS
Host ISA
ARMv8
Compiler used
> gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> scons --version
SCons by Steven Knight et al.:
	SCons: v4.0.1.c289977f8b34786ab6c334311e232886da7e8df1, 2020-07-17 01:50:03, by bdbaddog on ProDog2020
	SCons path: ['/usr/lib/python3/dist-packages/SCons']
Copyright (c) 2001 - 2020 The SCons Foundation

Hi @dakaidan , just to clarify, you are also running the simulator on the same Arm host?

Hi @giactra, yes, the simulator, and the native run were done on the same host.

Hi @giactra, yes, the simulator, and the native run were done on the same host.

What happens if you run gem5 with --debug-flags=SyscallBase ?
This will give you a strace of the program.
In particular I am interested to know which file gem5 is trying to access to get the list of locales.

What happens if you run gem5 with --debug-flags=SyscallBase ? This will give you a strace of the program.

I get the following output:
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version <IP_ADDRESS>
gem5 compiled Sep 18 2024 14:12:04
gem5 started Sep 18 2024 14:25:56
gem5 executing on node0.gem5test.kclsystemfuzz-pg0.utah.cloudlab.us, pid 51378
command line: ./build/ARM/gem5.opt --debug-flags=SyscallBase configs/example/arm/starter_se.py /users/AidanDak/test_locale.o

info: 1. command and arguments: ['/users/AidanDak/test_locale.o']
Global frequency set at<PHONE_NUMBER>000 ticks per second
warn: No dot file generated. Please install pydot to generate the dot file and pdf.
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
system.remote_gdb: Listening for connections on port 7000
src/sim/simulate.cc:199: info: Entering event queue @ 0.
Error: Unable to set locale.
38033500: system.cpu_cluster.cpus: T0 : syscall Returned 29.
38144250: system.cpu_cluster.cpus: T0 : syscall Calling exit_group(1)...
38144250: system.cpu_cluster.cpus: T0 : syscall Returned 1.
exiting with last active thread context (1) @ 38144250

In particular I am interested to know which file gem5 is trying to access to get the list of locales.

For reference there seems to only be one locale present on this system:
> ls /usr/lib/locale
C.utf8
> ls /usr/lib/locale/C.utf8/
LC_ADDRESS  LC_CTYPE           LC_MEASUREMENT  LC_MONETARY  LC_NUMERIC  LC_TELEPHONE
LC_COLLATE  LC_IDENTIFICATION  LC_MESSAGES     LC_NAME      LC_PAPER    LC_TIME

I then tried running with strace to get some meaningful paths, i have attached this here
But here are the snippets I think are relevant:
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2996, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/locale/C.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3

So it appears to find the correct locale files.
I have also attached the strace for the native run here for reference, which also tries locale-archive first, then locale.alias, C.UTF-8, then C.utf8 here


Update copyrights for 2024

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

Project coverage is 90.58%. Comparing base (b6d2cc1) to head (e4181e2).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1108   +/-   ##
========================================
  Coverage    90.58%   90.58%
========================================
  Files          160      160
  Lines        14331    14331
========================================
  Hits         12982    12982
  Misses        1349     1349

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


Adding Algolia search to Eva-DB Docs

This Commit contains necessary css & js file changes and algolia configuration details to add algolia search to eva-db documentation page.

That was quick, @kslohith :)


removing tag with "x" does not trigger let.tag

Hi,
I really appreciate your work here.
Just want to let you know that when the state.x option is set to true, the let.tag event is not triggered by it, only by backspace.
Same goes for click.tag, but this I think is a good behavior!
Cheers,
Ron

Fixed. Thanks for the report!


error_log(../PayPal.log): failed to open stream: Permission denied

i have already permission on PayPalLogger.php(laravel5.4)file but getting same error , why please help.

@kamalkishorebss have to give write permission to storage folder because PayPal.log file will be created into log folder of storage.


Release 49.0.0

Description
Release outstanding changes before bump to nodejs v16.
Changes
approval-controller

975a8c98 deps<EMAIL_ADDRESS>(#1215)

controller-utils

d94a7029 add WalletConnect in approval type (#1240)

ens-controller

7d5057b4 Merge extension ens controller (#1170)

keyring-controller

db046ee0 Stub PreferencesController in KeyringController tests (#1194)
99df8b57 add rollbackToPreviousProvider method (#1132)

message-manager

ced8c3c4 fix: prevent setResult to emit updateBadge but state updates (#1245)
af9bb3c5 fix changelog (#1232)

network-controller

bd29cbc4 Make rollbackToPreviousProvider async (#1237)
11376760 Make resetConnection async (#1239)
383bcea2 Update EIP-1559 compatibility during network lookup (#1236)
360796a5 Refresh network when connection is reset (#1235)
d7707a30 deps: bump<EMAIL_ADDRESS>(#1212)
21e2a265 Simplify setProviderType unit tests (#1222)
68447061 Consolidate setProviderType unit tests (#1221)
975a8c98 deps<EMAIL_ADDRESS>(#1215)
eca9f254 deps: bump @metamask/utils to 5.0.1 (#1211)
c8c9f389 Remove isCustomNetwork (#1199)
d73498e4 Replace network state with networkId and networkStatus (#1196)
aa00fae1 Make upsertNetworkConfiguration async (#1192)
7dc2b3dd Make network controller internal fields private (#1189)
269f4af3 Make setActiveNetwork async (#1190)
4ce47cae Make setProviderType async (#1191)
1d885651 Make refreshNetwork async (#1182)
364e2295 Make initializeProvider async (#1180)
5f1106ec Make verifyNetwork async (#1181)
e8979627 Eliminate console error when running test (#1179)
49a502b7 Fix test description (#1175)
e64e1817 Add nonce tracker to transactions controller (#1147)
cb43d9e5 Implement resetConnection method in network controller (#1131)

permission-controller

b7f8a522 Restrict certain permissions by subject type (#1233)
f5a16837 BREAKING: Move SubjectMetadataController to permission-controller package (#1234)
975a8c98 deps<EMAIL_ADDRESS>(#1215)

rate-limit-controller

975a8c98 deps<EMAIL_ADDRESS>(#1215)

transaction-controller

975a8c98 deps<EMAIL_ADDRESS>(#1215)
c8c9f389 Remove isCustomNetwork (#1199)
d73498e4 Replace network state with networkId and networkStatus (#1196)
e64e1817 Add nonce tracker to transactions controller (#1147)

References
#1262

The breaking change in the network controller is also effectively a breaking change for any package that has the network controller as a peer dependency (assets-controllers and gas-fee-controller). We should add an entry to those two package changelogs about this as well, and ensure it's marked as **BREAKING:** with a major version bump.

I have finished reviewing these changes, and can approve once all of my comments have been addressed.
I was having trouble finding out the convo where you addressed your suggestion after committing yours. Thanks for your suggestion @Gudahtt


feat: BO gestion comptes organismes et organismes-409

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


First Release

Codecov Report

Merging #2 into master will decrease coverage by 0.09%.
The diff coverage is 75%.

@@            Coverage Diff            @@
##           master       #2     +/-   ##
=========================================
- Coverage   84.05%   83.95%   -0.1%
=========================================
  Files          11       11
  Lines         370      374      +4
  Branches       46       48      +2
=========================================
+ Hits          311      314      +3
  Misses         43       43
- Partials       16       17      +1

Impacted Files
Coverage Δ

src/os_3m_engine/utils.py
85.71% <75%> (-2.53%)
:arrow_down:

Continue to review full report at Codecov.

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


Location of Transmembrane Protein 9 in Human mis-assigned

Location of Transmembrane Protein 9 in Human mis-assigned
There are 2 closely related proteins: TMEM9B (Q9NQ34) and TMEM9 (Q9P0T7) in Humans.  A research paper "The lysosomal transmembrane protein 9B regulates the activity of inflammatory signaling pathways". PMID: 18541524. looked at TMEM9B but not TMEM9.  They showed that it was localized in the lysosome and late endosome.  GO annotation ascribed these locations to TMEM9 rather than TMEM9B, though they used the correct PMID.  They got the BP annotation correct, though.

@keslingmj These types of requests (dealing with annotations rather than GO terms) need to be opened in the Annotation Tracker - https://github.com/geneontology/go-annotation/issues
I will move your ticket there.
Thanks, Pascale

This issue was moved to geneontology/go-annotation#2281

Thanks Pascale.  That's what I was looking for!


[$250] Composer addes a space after adding every 2 emojis from the keyboard

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.50-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @allgandalf
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1729119915223329
Action Performed:

Open any chat
Add 2 emojis from the keyboard

Expected Result:
No space added after adding 2 emojis
Actual Result:
A space is added automatically after 2 emojis
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[x] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
https://github.com/user-attachments/assets/5bebc572-d37f-4f0a-91dd-8de0bfb65640
https://github.com/user-attachments/assets/c060b649-03fb-4cdf-a031-077539d80363

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021849498424863638708
Upwork Job ID:<PHONE_NUMBER>863638708
Last Price Increase: 2024-10-24

Issue OwnerCurrent Issue Owner: @s77rt

Proposal
Please re-state the problem that we are trying to solve in this issue.
A space is added after adding emoji only for the 2nd emoji.
What is the root cause of that problem?
When only emoji is inserted, we will add a space to it.
https://github.com/Expensify/App/blob/e4fe4c4fe126db86cd3ecb8d918d81d14ac09942/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L411-L416
But in this issue, it only works for the first emoji then only after the 2nd emoji the space is added afterward. It first find the string diff between the prev and current text. For example, if the prev text is  "👍 " and the current text is "👍 👍", the diff should be "👍", but in reality, it's " 👍". The space from the prev text is included.
The diff is the substring of the current text from startIndex and endIndex.
https://github.com/Expensify/App/blob/e4fe4c4fe126db86cd3ecb8d918d81d14ac09942/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L402
startIndex is from the currentIndex which is from the first index of the mismatch character or if the currentIndex is smaller then the selection start.
https://github.com/Expensify/App/blob/e4fe4c4fe126db86cd3ecb8d918d81d14ac09942/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L384-L387
https://github.com/Expensify/App/blob/e4fe4c4fe126db86cd3ecb8d918d81d14ac09942/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L390
| = cursor
The issue we have here is that, the selection start value is wrong. The prev text is "👍 |" but the selection start is 2 (the emoji has 2 length) instead of 3. So, the currentIndex/startIndex is 2.
Why the selection start value is wrong?
When we add the emoji from the device keyboard, we will manually update the selection to 3 (include the space). But it also trigger the onSelectionChange with a value of 2 (doesn't include space) which override the manual update. This only happen on iOS. On iOS, if we add the text (the space) from the state, onSelectionChange won't be triggered.
Another example is when you add the emoji from emoji picker, onSelectionChange won't be triggered.
What changes do you think we should make in order to solve the problem?

The idea is to ignore the onSelectionChange when we manually update the selection.
https://github.com/Expensify/App/blob/e4fe4c4fe126db86cd3ecb8d918d81d14ac09942/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L528-L536
const ignoreSelectionChangeEvent = useRef(false);

if (ignoreSelectionChangeEvent.current) {
    ignoreSelectionChangeEvent.current = false;
    return;
}

We will only ignore it if emoji is inserted through keyboard (fromOnChangeText is true) and only on iOS.
const updateComment = useCallback(
    (commentValue: string, shouldDebounceSaveComment?: boolean, fromOnChangeText = false) => {
        raiseIsScrollLikelyLayoutTriggered();
        const {startIndex, endIndex, diff} = findNewlyAddedChars(lastTextRef.current, commentValue);
        const isEmojiInserted = !!diff.length && endIndex > startIndex && diff.trim() === diff && EmojiUtils.containsOnlyEmojis(diff);
        ignoreSelectionChangeEvent.current = isIOSNative && isEmojiInserted && fromOnChangeText;

We will pass fromOnChangeText as true here.
https://github.com/Expensify/App/blob/e4fe4c4fe126db86cd3ecb8d918d81d14ac09942/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx#L509-L511

I reported the bug on slack and have context, can i be the C+ for the issue ?

@allgandalf There’s no rule stating that if C+ reports a bug, they must be assigned as the C+ on the issue. This is a straightforward issue with no prior context needed, and we’ve had the same issue reported and closed in the past https://github.com/Expensify/App/issues/41455.
@JmillsExpensify Let's stick to the auto-assignment process here, as discussed in this Slack conversation https://expensify.slack.com/archives/C02NK2DQWUX/p1725898105408529?thread_ts=1725778908.343539&cid=C02NK2DQWUX.
cc: @mallenexpensify

@jayeshmangwani is correct, that's our current process.
That said, I might be addressing a potential change to this soon, will share in #contributor-plus if/when there's an update.

While looking at this

Expected Result:
No space added after adding 2 emojis

I think the expected result might be to add a space after each emoji.  That's how it works in Slack, I'm guessing the logic would be that most people add 1 emoji then send text after, which is why we surface the keyboard after an emoji is added vs continuing to show the emoji selection modal.

I remember a super long comment on this, though I'm cool making it consistent with other chat platforms to reduce any confusion. Opened up to the community.

@bernhardoj Thanks for the proposal. It seems that this bug is on RN and if it's the case we should fix it upstream.

But it also trigger the onSelectionChange with a value of 2 (doesn't include space) which override the manual update. This only happen on iOS.

This seems to happen on Android too but we get another event that corrects the selection
https://github.com/user-attachments/assets/e8d0cba2-7794-4f5d-a48b-1a1070678af4

On iOS, if we add the text (the space) from the state, onSelectionChange won't be triggered.

Ah yes, I mean this one only happens on iOS. It doesn't trigger onSelectinChange if we add the text from the state.

It seems that this bug is on RN and if it's the case we should fix it upstream.

Yeah, I think that's the most ideal way.

Still looking for proposals

Gonna close this one for focus as I don't think it falls under the #quality project.  Comment or reopen if you disagree.


Text and TextField with exact same text do overlap on iOS and Android, but not on Web

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Run the sample on Mobile (iOS or Android)
Run the sample on Web
Put both side by side.

Expected results
Both Text and TextField should overlap.
Actual results
On mobile both do overlap, but on Web they are offset. The issue does not appear when using a TextEditable.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final controller = TextEditingController();

  @override
  void initState() {
    super.initState();
    controller.text = "This is some text.";
  }

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    final style = Theme.of(context).textTheme.bodyLarge!.copyWith(fontSize: 25);
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: const EdgeInsets.all(16.0),
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Stack(
                  children: [
                    Text("This is some text.", style: style),
                    TextField(
                      controller: controller,
                      decoration: const InputDecoration(
                        hintText: "Hint",
                        border: InputBorder.none,
                        contentPadding: EdgeInsets.zero,
                        isCollapsed: true,
                        isDense: true,
                      ),
                      style: style.copyWith(color: Colors.red),
                    )
                  ],
                )
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.10.4, on macOS 13.4 22F66 darwin-arm64, locale en-DE)
    • Flutter version 3.10.4 on channel stable at /Users/tobias/dev/tools/flutter
    ! Warning: `flutter` on your path resolves to /Users/tobias/Dev/Tools/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/tobias/dev/tools/flutter. Consider adding /Users/tobias/dev/tools/flutter/bin to the
      front of your path.
    ! Warning: `dart` on your path resolves to /Users/tobias/Dev/Tools/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/tobias/dev/tools/flutter. Consider adding /Users/tobias/dev/tools/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 682aa387cf (7 days ago), 2023-06-05 18:04:56 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/tobias/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/tobias/Library/Android/sdk
    • Java binary at: /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9971841/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/tobias/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
    • IntelliJ at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Users/tobias/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9011.34/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.79.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 13 (API 33) (emulator)
    • iPhone 14 Pro (mobile)      • 81F2A201-82A9-4AF1-B8E6-6069F3222FB0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 114.0.5735.106

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Thanks for filing this issue. I am able to reproduce this on the latest master and stable channels. I was also able to replicate the overlap on macOS.
flutter doctor -v

[✓] Flutter (Channel master, 3.11.0-2.0.pre.55, on macOS 13.4 22F66 darwin-arm64, locale en-NG)
    • Flutter version 3.11.0-2.0.pre.55 on channel master at /Users/dammya/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 835b892d7f (5 weeks ago), 2023-05-07 01:30:22 +0530
    • Engine revision 23f730efbf
    • Dart version 3.1.0 (build 3.1.0-83.0.dev)
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/dammya/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/dammya/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30) (emulator)
    • iPhone 14 (mobile)        • 5FE8DE93-0F4C-45BA-8BED-BC9CD69B35D1 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome 114.0.5735.106

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[✓] Flutter (Channel stable, 3.10.4, on macOS 13.4 22F66 darwin-arm64, locale
    en-NG)
    • Flutter version 3.10.4 on channel stable at /Users/dammya/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 682aa387cf (6 days ago), 2023-06-05 18:04:56 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/dammya/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/dammya/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.78.0)
    • VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 11 (API 30) (emulator)
    • iPhone 14 (mobile)        • 5FE8DE93-0F4C-45BA-8BED-BC9CD69B35D1 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)           • macos                                •
      darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)              • chrome                               •
      web-javascript • Google Chrome 114.0.5735.106

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@saibotma Are you using the HTML renderer on web or the CanvasKit renderer?  Could you try both and see if the result is the same?

@justinmc it also does behave the same wrong way on MacOS. I will try html renderer though and see how it behaves there.

@justinmc same wrong behaviour using HTML renderer.
@znromonk I have the same impression. It should behave the same on every platform, though, from my point of view.

I think we can mark this as a P2 for now.  Issue seems to be occurring on both web and desktop and ideally the rendering behavior should be consistent across all platforms.


: Add native view config for horizontal

Summary:
horizontal was introduced here: D55367445
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D56831754

Merged as https://github.com/facebook/react-native/commit/0a8e2c81a92364f6926f9962ccaff3c02d6d0a1f


Performance Regression with async-std > 1.6.2

Hello Everyone,
First of all thanks very much for the great work on async-std. We are making heavy use of this framework in zenoh and have remarked a major performance drop when upgrading from 1.6.2. Whey I say major I mean that our throughput for in some cases is divided by two.
We have identified that the performance issue is introduced on the publishing side and to highlight the huge difference in the cpu time taken by async 1.6.5 vs that taken by 1.6.2 we have made some  flames graphs collecting perf data while running our throughput performance test.
The exact command used to collect perf data is included below and the code was compiled in release mode:
$ perf record --call-graph dwarf,16384 -e cpu-clock -F 997 ./target/release/examples/zn_pub_thr 8

The resulting flame graphs are available here for 1.6.2 and here for 1.6.5.
zenoh GitHub depository is https://github.com/eclipse-zenoh/zenoh/tree/rust-master
As you will see from the flame graphs the <core::future::from_generator::GenFuture as core::future::future::Future>::poll takes very little time on 1.6.2 and almost 50% of the time on 1.6.5.
I know that there have been changes in the scheduler, maybe we need to change something on our side. In any case any insight will be extremely welcome.
Thanks very much in advance!
Keep the Good Hacking!

Quick question, what kind of CPU configuration are you running this on? on SMP or Ryzen systems 1.6.5 suffers from cach invaludation when moving tasks between different core clusters.

@Licenser thanks very much for the prompt response.  The  flame-graphs were made on a intel skylake running the latest Ubuntu Linux.
Let me know if you need other info or want us to run some other tests.

One change that comes to mind is that we're no longer inlining TcpStream futures because of https://github.com/async-rs/async-std/pull/889; this was required to fix a critical failure because of a dependency having issued a breaking change in a minor version update. If you're at all testing TCP this may be relevant.
I'm not sure what the right solution here is, but perhaps switching to async-net inside our network types may help resolve this.

@yoshuawuyts that could be the issue as we are heavily using TcpStream. BTW, it would also seem that there is some  higher overhead on the ConcurrentQueue::pop. In any case the flame graph reveal that the TCPStream sending side performance have indeed degraded.

Hello everyone, any updates on this issue? We would be happy to help testing systematically async-std performance before each release. We can do that running zenoh on our 10Gbps  testbed.

Looking at the flamegraph, it seems that with v1.6.2 everything runs inside the main thread, while at v1.6.5 half of the program is in the main thread and the other half is on executor threads. Am I reading that right?
It would be worth trying to see what happens if the benchmark is run with ASYNC_STD_THREAD_COUNT=1 and if the body of the main function is wrapped in a spawn() like so:
#[async_std::main]
fn main() {
    async_std::task::spawn(async {
        // code goes here...
    })
    .await
}

Hello @stjepang, this is what we thought at first, then by looking carefully we spotted that the other thread is doing very little work. What seems to us, is that what used to represent a marginal overhead in 1.6.2 has grown to show as a wider portion of the flame graph.
In any case we'll try running with a single thread and will let you know what that gives. Thanks for the suggestion!


added subdao qry and exec msgs

Issue #424 .  See also cw-paginate modification for map to handle refs @ezekiiel

@ezekiiel this should be ready for review and all issues should be correct now!


bosh logs -f returns tail errors with zookeeper-release

I have a default https://github.com/cppforlife/zookeeper-release deployment but bosh logs -f is only showing tail errors:
> bosh -v
version 2.0.38-98d425d-2017-09-11T23:18:53Z
> bosh -d zookeeper logs -f

returns tail errors for each instance:
zookeeper/6e8b7728-88fd-4da1-8191-66546a80a8f6: stdout | tail: cannot open ‘/var/vcap/sys/log/**/*.log’ for reading: No such file or directory
zookeeper/6e8b7728-88fd-4da1-8191-66546a80a8f6: stdout | tail: cannot open ‘/var/vcap/sys/log/*.log’ for reading: No such file or directory
zookeeper/6e8b7728-88fd-4da1-8191-66546a80a8f6: stdout | tail: cannot watch parent directory of ‘/var/vcap/sys/log/**/*.log’: No such file or directory
zookeeper/6e8b7728-88fd-4da1-8191-66546a80a8f6: stdout | tail: inotify cannot be used, reverting to polling

The logs available on a zookeeper vm are:
$ cd /var/vcap/sys/log/zookeeper
$ tree
.
├── pre-start.stderr.log
├── pre-start.stdout.log
├── stderr.log
├── stdout.log
└── version-2

1 directory, 4 files

Restricting to --job zookeeper (which is a different code path in bosh-cli) gives a similar but diff error:
$ bosh logs -f --job zookeeper
...
zookeeper/b5923bcf-3106-4b7f-8eb4-212b5877ef81: stdout | tail: cannot open ‘/var/vcap/sys/log/zookeeper/*.log’ for reading: No such file or directory

Running tail -f /var/vcap/sys/log/zookeeper/*.log inside the VM as root or vcap user works as expected.

Fixed in #446


UI doesn't load completely on first initiation

The first time the UI is initiated, not all the data is loaded into the UI. Usually, the Ranks analysis widget will populate but none of the others including the dashboard top 10 list with dataset and top 20 accounts.
Workaround: Hit the refresh button. Sometimes for the Shiavo data on localhost you have to do it twice and then just have patience.

Closing issue. Newman v2.1.1 seems to have fixed the problem. The first initiation still takes a long time to populate the UI but eventually it does load. Will re-open if issue resurfaces. Will also write an enhancement issue to request a progress indicator for operations that take longer than 10s.


Pin GitHub actions dependencies

What type of PR is this?
/kind ci
What this PR does / why we need it:
Pin the used GitHub actions.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@kwilczynski PTAL

/approve
/lgtm


Unable to run tests on some simulators and physical device

I have managed to get tests to run on some simulators (4s, 5, iPad 2, iPad Retina).
However, all other simulators give the following errors:
ld: warning: ignoring file /Users/jacobfenton/Library/Developer/Xcode/DerivedData/CPJSONRPC-cpktnnydpaamdoagrbwueojkshzy/Build/Products/Debug-iphonesimulator/Kiwi/Kiwi.framework/Kiwi, file was built for i386 which is not the architecture being linked (x86_64): /Users/jacobfenton/Library/Developer/Xcode/DerivedData/CPJSONRPC-cpktnnydpaamdoagrbwueojkshzy/Build/Products/Debug-iphonesimulator/Kiwi/Kiwi.framework/Kiwi
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_KWCallSite", referenced from:
      objc-class-ref in SampleSpec.o
  "_OBJC_CLASS_$_KWSpec", referenced from:
      objc-class-ref in SampleSpec.o
      _OBJC_CLASS_$_MathSpec in SampleSpec.o
  "_OBJC_CLASS_$_KWValue", referenced from:
      objc-class-ref in SampleSpec.o
  "_OBJC_METACLASS_$_KWSpec", referenced from:
      _OBJC_METACLASS_$_MathSpec in SampleSpec.o
  "_describe", referenced from:
      +[MathSpec buildExampleGroups] in SampleSpec.o
  "_it", referenced from:
      ___30+[MathSpec buildExampleGroups]_block_invoke in SampleSpec.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Further, when I try to run tests on a physical device, I simply get 'Kiwi.h' file not found in SampleSpec.m, which I copied from the tutorial.
I do apologise if this is me being boneheaded, but I've scoured the net for a solution, for the best part of a day, to no avail.

i have  the same problem （T。T）


detect_intent_stream doesn’t show result

I am running the example code of detect_intent_stream.
The intermediate results seem great, but at the end the whole sentence is empty.
See the screenshot.
I tried different audio files all with the same result.

OS:Mac Mojave
Python version: 3.7.4
pip version: 19.2.3
dialogflow version: V2
Thanks

Add a check for response.recognition_result.is_final
The response after the is_final is sent will include all the content.
Might be something with the audio files.


Change contracts docs sync path

What does this PR introduce?
This PR updates the contracts docs sync path and also re-syncs the contracts auto-generated docs

Related to: https://github.com/lukso-network/docs/issues/932


Broken icons in problems panel header

Describe the bug
Icon buttons in problems panel header look broken

Steps to reproduce

open modeler

Expected behavior
Icons should appear instead of black box
Environment

OS: MacOS 10.2
Camunda Modeler Version: 5.18.0-rc.0
Execution Platform: all

Additional context
No response

Maybe related to the changes in https://github.com/camunda/camunda-modeler/pull/3998, although it looked fine in testing

Actually, maybe this was just a moment of weirdness with my laptop. It looks fine now

seems like it, I can not reproduce on my machine

I think it may have been a dependency weirdness that translated to that when I was running locally. It all looks fine now. Sorry about that


Make exclusion similar to r.js

In r.js when you're creating module bundles you can tell one bundle to exclude everything that's in another bundle. Here's an example. I'm creating 3 bundles (common, main-about, main-contact). Instead of having to manually go through everything in common to find all of the dependencies and exclude each as a regex, I can just tell the main-about and main-contact bundles to exclude all of the modules in common. This makes it very easy to lazy load AMD bundled modules and I think imports could use a similar approach.

Vulcanize 1.x exclusion includes transitive dependencies via hydrolysis.

:) now I am running into an issue which I guess you guys have envisioned earlier.
I really like the idea of  excludes: ['foo.vulcanized.html', 'bar.vulcanized.html'].
Do we have this implemented yet?


Internal Server Error when clicking "Deny" when associating Venmo acct.

I accidentally clicked the Venmo add button. I was taken to Venmo to sign in. I clicked "Deny" and received an Internal Server Error.

Internal Server Error, program!

Thanks for the report, @brareme.


Bug fixes

Description

fix pydantic's validation of classes depending on enumerators with None values by explicitly allowing None instead of the enumerator class (workaround for reported bug in Pydantic: https://github.com/samuelcolvin/pydantic/issues/3049)
fix double assignment of same file to both first and second mate in modules htsinfer.get_library_source and htsinfer.get_library_stats

Codecov Report

Merging #88 (d1e5f36) into dev (3901673) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               dev       #88   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          611       611
=========================================
  Hits           611       611

Impacted Files
Coverage Δ

htsinfer/get_library_stats.py
100.00% <ø> (ø)

htsinfer/models.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Commands

[x] Bans by name/user id
[x] Mutes
[x] Timed mutes
[x] Fast Purging
[x] Warns
[x] Kicks
[x] Welcome/Leave messages

Each of these will be checked off as they are completed

All commands have been successfully finished. They will be edited/tweaked, but this works for now.


Add support for withoutGlobalScopes

The intention of this PR is to add in support for the withoutGlobalScope and withoutGlobalScopes function in Eloquent (https://laravel.com/docs/8.x/eloquent#removing-global-scopes).
When an application using the Caching Library applies the withoutGlobalScopes() modifier to a model, the global scopes are currently being added back in by the Caching Library.  This requires the client application to disable the cache, disableCache(), prior to calling withoutGlobalScopes. This PR should fix that.

@gitwilliam Thank you so much for all the work you put into this! I will review and merge by the end of this weekend and release a new version if everything is working. :)

@gitwilliam Thank you so much for all the work you put into this! I will review and merge by the end of this weekend and release a new version if everything is working. :)

Thanks for look at it @mikebronner.  I fully admit that there are still a lot of things about the library that I don't understand.  So feel free to send me off to correct anything you think is not in keeping with design or intention.


Alerts for failing OLM operators

Description of the change:

Add prometheus rule for firing an alert when csv_abnormal metric
is emitted with phase=failed
Alert message contains name and version of operator.

Motivation for the change:
As a OpenShift administrator, I want to be able to receive a notification when an operator is consistently reaching a failed state so that I can immediately address known issues.
Enhancement proposal
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

/retest

/test e2e-aws-olm

/retest

/retest

/lgtm

/lgtm
/retest

/test e2e-aws-console-olm

/test e2e-aws-console-olm


Improved code to make it work with new facebook UI

The code was 4 year old and since then facebook's UI has changed. I did improved your code to make it work with new UI.
Pls merge this PR :)

All Looks Good, Can you also add Readme so that it's easier for people to understand? Just add the readme and then Ill merge it.


redirect_uri issue - I am getting redirect uri error

invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

@shawntabrizi


Connected Devices not populated properly even though switching still works

Recently, an issue where the devices aren't listed properly started happening when opening the full list. Quick-switching still works, but they lists of playback and recording devices aren't populated properly. (Some are missing, and none have maintained my previously-configured display names and colors)
It's easier to show with a screenshot. (attached)
Running Windows 10, with a 4k Dell P2715Q display powered by an AMD R9 280X graphics card.

Yeah, I'm seeing this as well. Windows 10 (version 1703, Build 15063.540), BenQ PD3200U 32" 4K monitor, Nvidia Geforce GTX 970. I have Windows set to 150% scaling in my display settings.


CircleCI API permission issue when using orb in private pipeline

Orb version:

1.0.0
What happened:

I've utilised the orb in my private CircleCI 2.1 config and it works as expected when the base and head branches differ. But when for instance merging a feature branch into main branch where the branch is the same I'm encountering what appears to be a CircleCI permissions error. Here's the job output including the error:
#!/bin/bash
echo "$PARAM_SCRIPT" >> "index.js"
RESPONSE=$(node index.js $CIRCLE_BUILD_URL $CIRCLE_BRANCH $PARAM_MAIN_BRANCH $PARAM_ERROR_ON_NO_SUCCESSFUL_WORKFLOW)
echo "$RESPONSE"
BASE_SHA=$(echo "$RESPONSE" | grep 'Commit:' | sed 's/.*Commit: //')
HEAD_SHA=$(git rev-parse HEAD)
echo "Base SHA"
echo $BASE_SHA
echo ""
echo "Head SHA"
echo $HEAD_SHA
echo ""
echo "export NX_BASE=\"$BASE_SHA\";" >> $BASH_ENV
echo "export NX_HEAD=\"$HEAD_SHA\";" >> $BASH_ENV
echo ""
echo "NX_BASE and NX_HEAD environment variables have been set for the current Job"

undefined:1
{:message "Project not found"}
 ^

SyntaxError: Unexpected token : in JSON at position 1
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/home/circleci/project/index.js:110:22)
    at IncomingMessage.emit (node:events:406:35)
    at endReadableNT (node:internal/streams/readable:1331:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Base SHA

Head SHA
c3f673b41859b03d5ef89724cb1902560ecd0c78

NX_BASE and NX_HEAD environment variables have been set for the current Job
CircleCI received exit code 0

Expected behavior:

As per the docs I expected the orb to retrieve from the CircleCI API a page of previous builds and identify the last successful one, using it's shasum as the value for NX_BASE.
Additional Information:

As seen in the above output NX_BASE environment variable hasn't been populated. Upon analysing the above output and after an initial look at how the orb works, my initial assumption is that the request to the CircleCI API to retrieve the page of successful builds doesn't have the correct permissions. The code doesn't include a CircleCI token header but I initially assumed it may not be necessary given the request originates from within the CircleCI ecosystem?
Something to think about: Is the orb designed and currently used in public CircleCI pipelines and perhaps not tested on private pipelines?
In any case, if I'm doing something daft then please point it out - assistance would be much appreciated.

Hi @meeroslav - following up from our chat on the nrwl community Slack channel, I can confirm that the Allow Uncertified Orbs organisation setting was turned on prior to running the pipeline job in which the issue was found, so we can rule it out.
As already discussed I suspect given the orb was made for use on the public nrwl monorepo, this issue wouldn't have been identified. The fix doesn't look very complicated, we'll need to pass in an additional optional circleciToken parameter into find-successful-workflow.js, and if defined then use it as an authorisation header in the request to the CircleCI API.
Also, now that we're aware of the issue we can throw an informative error message - just checked the API response and it does return a 404 along with the "Project not found" message.

I have CIRCLE_API_TOKEN set in my project's environment variables and am still getting this issue.

Set in env vars:

Set when I ssh into the job:
circleci@ff360e330413:~$ echo $CIRCLE_API_TOKEN
************************************0da2

And matches what I got back from the Project settings

Hi @cdierkens I'm sorry it doesn't work for you.
Can you share the link to your repo or at least post the configuration you have?
Also make sure you use the latest orb version: 1.1.2

@meeroslav Attempted to recreate on a branch and those runs were successful.
Here are logs from the branch run:
#!/bin/bash
echo "$PARAM_SCRIPT" >> "index.js"
RESPONSE=$(node index.js $CIRCLE_BUILD_URL $CIRCLE_BRANCH $PARAM_MAIN_BRANCH $PARAM_ERROR_ON_NO_SUCCESSFUL_WORKFLOW)
echo "$RESPONSE"
BASE_SHA=$(echo "$RESPONSE" | grep 'Commit:' | sed 's/.*Commit: //')
HEAD_SHA=$(git rev-parse HEAD)
echo "Base SHA"
echo $BASE_SHA
echo ""
echo "Head SHA"
echo $HEAD_SHA
echo ""
echo "export NX_BASE=\"$BASE_SHA\";" >> $BASH_ENV
echo "export NX_HEAD=\"$HEAD_SHA\";" >> $BASH_ENV
echo ""
echo "NX_BASE and NX_HEAD environment variables have been set for the current Job"

Commit: 13417cbd75b80ce1a83801ee9a4e1921c9c91021
Base SHA
13417cbd75b80ce1a83801ee9a4e1921c9c91021

Head SHA
09dd2fcef9c3849cd4527d69cde28b69a8fa52d0

NX_BASE and NX_HEAD environment variables have been set for the current Job
CircleCI received exit code 0

Run Unit Tests

#!/bin/bash -eo pipefail
yarn nx affected --target=test --base="$NX_BASE" --head="$NX_HEAD" --parallel
yarn run v1.22.17
$ /home/circleci/project/node_modules/.bin/nx affected --target=test --base=13417cbd75b80ce1a83801ee9a4e1921c9c91021 --head=09dd2fcef9c3849cd4527d69cde28b69a8fa52d0 --parallel

>  NX  No projects with "test" were run

———————————————————————————————————————————————

>  NX   SUCCESS  Running target "test" succeeded

Done in 0.71s.
CircleCI received exit code 0

Will need some time to minimally recreate on the main branch


New workshop WMS 11406

Add here your WMS ID
WMS 11406
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

The review edits have been made with one exception: the indention in Lab 2 Task1 step 3 is intentional to align Method 2 with Method 1


jc: 1.13.4 -> 1.14.0

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108257 run on x86_64-linux 1

3 packages built:

jc (python38Packages.jc)
python37Packages.jc
python39Packages.jc

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108257 run on x86_64-linux 1

3 packages built:

jc (python38Packages.jc)
python37Packages.jc
python39Packages.jc

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108257 run on x86_64-darwin 1

3 packages built:

jc (python38Packages.jc)
python37Packages.jc
python39Packages.jc

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108257 run on x86_64-darwin 1

3 packages built:

jc (python38Packages.jc)
python37Packages.jc
python39Packages.jc

@SuperSandro2000 I really appreciate the auto-nixpkgs-review but it's a bit verbose IMO. Might be better to group your automated replies into one comment for all platforms and only add a link to an explanation.
Even better would be an optional GitHub actions check like ofBorg's if that's possible.
Thank you!

@SuperSandro2000 I really appreciate the auto-nixpkgs-review but it's a bit verbose IMO. Might be better to group your automated replies into one comment for all platforms and only add a link to an explanation.
Even better would be an optional GitHub actions check like ofBorg's if that's possible.
Thank you!

Might be better to group your automated replies into one comment for all platforms

I have no idea how to easily to this when the command is run on two machines. I would need to parse the comments and edit one. Sounds a bit tricky.

and only add a link to an explanation.

I can probably remove some of the explanations when I finalized the readme in the repo.

Even better would be an optional GitHub actions check like ofBorg's if that's possible.

Github actions are nice if you run Shellcheck over your code but not when you done a gigabyte repo which takes 3 minutes and then build up to a hundred packages. Also the free tier is probably not enough for my usage.

Might be better to group your automated replies into one comment for all platforms

I have no idea how to easily to this when the command is run on two machines. I would need to parse the comments and edit one. Sounds a bit tricky.

and only add a link to an explanation.

I can probably remove some of the explanations when I finalized the readme in the repo.

Even better would be an optional GitHub actions check like ofBorg's if that's possible.

Github actions are nice if you run Shellcheck over your code but not when you done a gigabyte repo which takes 3 minutes and then build up to a hundred packages. Also the free tier is probably not enough for my usage.


nix-update: 0.15.0 -> 0.15.1

Diff: https://github.com/Mic92/nix-update/compare/0.15.0...0.15.1
Changelog: https://github.com/Mic92/nix-update/releases/tag/0.15.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.11 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.

Result of nixpkgs-review pr 219527 run on aarch64-darwin 1

1 package built:

nix-update


mgmt: hawkbit: Fix case where body_data not set correctly in respons_cb

When downloading large files from the hawkbit server the only time
rsp->body_start is checked is on the first call. After this it is never checked again.
This caused the wrong data to be written to flash and a failed update.
This fixes  #34760
Signed-off-by: Joep Buruma<EMAIL_ADDRESS>

@burumaj, can you fix the code compliance check error?

@Navin-Sankar I created this as we have no reply from original user contributor:
https://github.com/zephyrproject-rtos/zephyr/pull/37242


Connect Card vibrates phone but does not program the card

Observed on:

Samsing Galaxy S9
OnePlus 7T
iPhone 12
Huawai somtheing
Redmi Note

This seems to happen on brand new cards only.
There is a technique to make it work - using NFC tool and Erase Tag.

I wonder if we need to run some kind of formatting command before we attempt to program the cards?

There is similar issue found on my side. Reported to telegram chatting room.

Environment

Bolt card wallet app on iPhone 11 pro
Purchased Bolt card from lasereye.cards
Running my own bolt card hub

Situation

After purchasing, I wrote the card with LNBits Bolt card extension, and wiped using JSON link.
I created a lightning wallet on Bolt card wallet app, and connected the app to my hub, and try to connect the card, but it failed. (Most processes were successful while the log showed 'Keys ready to change: no', 'Test CMAC: decrypt with key failed'.
I wiped the card using bolt card wallet app by disconnecting procedure, and linked it again with LNBits -> Confirmed that it works fine.
I re-wiped the card with LNBits, and rewrite with Bolt card wallet app, and it still shows the same failure log (and does not work).
I already tried the trick introduced above - "Erase tag" using NFC tools, but it does not bring any change.

I guess there seems to be some errors in writing procedure of bolt card wallet app on iOS, and hope someone can fix it.