Segmentation fault when building large networks

I can build networks of smaller gene lists of ~25,000 with no problem but when I try with a larger set such as ~47,0000 the LOG: "Storing the coex table" will return a segmentation fault.
Thanks

I tried installing Camoco on a personal machine, and I still get the segmentation fault just FYI.

Can you post the log output? Does it say which line its occurring on?

In [1]: Gmax_a2_V1 = co.RefGen('Gmax_a2_V1')

In [2]: co.COB.from_table('Stacey_Soy_Expression_V2.csv',
   ...: 'SoyGeneral',
   ...: 'General Soy Network Stacey Data',
   ...: Gmax_a2_V1,
   ...: rawtype='RNASEQ',
   ...: max_gene_missing_data=0.3,
   ...: max_accession_missing_data=0.08,
   ...: min_single_sample_expr=1,
   ...: min_expr=0.001,
   ...: quantile=False,
   ...: max_val=300,
   ...: sep=','
   ...: )
[LOG] Mon Oct  3 14:12:49 2016 - Loading Expr table
[LOG] Mon Oct  3 14:12:49 2016 - Building Expr Index
[LOG] Mon Oct  3 14:12:49 2016 - Loading RefGen
[LOG] Mon Oct  3 14:12:49 2016 - RefGen for SoyGeneral not set!
[LOG] Mon Oct  3 14:12:49 2016 - Loading coex table
[LOG] Mon Oct  3 14:12:49 2016 - SoyGeneral is empty (IO error: Failed to open file: /media/jmichno/MeeshExternal/camoco_feather/databases/Expr.SoyGeneral.coex.ft)
[LOG] Mon Oct  3 14:12:49 2016 - Loading Global Degree
[LOG] Mon Oct  3 14:12:49 2016 - SoyGeneral is empty (IO error: Failed to open file: /media/jmichno/MeeshExternal/camoco_feather/databases/Expr.SoyGeneral.degree.ft)
[LOG] Mon Oct  3 14:12:49 2016 - Loading Clusters
[LOG] Mon Oct  3 14:12:49 2016 - Clusters not loaded for: SoyGeneral ()
[LOG] Mon Oct  3 14:12:50 2016 - Resetting raw expression data
[LOG] Mon Oct  3 14:12:50 2016 - Resetting expression data
[LOG] Mon Oct  3 14:12:50 2016 - Extracting raw expression values
[LOG] Mon Oct  3 14:12:51 2016 - Importing Raw Expression Values
[LOG] Mon Oct  3 14:12:51 2016 - Trans. Log: raw->RawRNASEQ
[LOG] Mon Oct  3 14:12:51 2016 - Resetting expression data
[LOG] Mon Oct  3 14:12:51 2016 - Extracting raw expression values
[LOG] Mon Oct  3 14:12:52 2016 - Performing Quality Control on genes
[LOG] Mon Oct  3 14:12:52 2016 - ------------Quality Control
[LOG] Mon Oct  3 14:12:53 2016 - Raw Starting set: 56044 genes 69 accessions
[LOG] Mon Oct  3 14:12:59 2016 - Found out 0 genes not in Reference Genome: GlycineMax - Wm82 Assembly 2 Version 1 RefGen - Gmax_a2_V1
[LOG] Mon Oct  3 14:12:59 2016 - Filtering expression values lower than 0.001
[LOG] Mon Oct  3 14:13:10 2016 - Found 17683 genes with > 0.3 missing data
[LOG] Mon Oct  3 14:13:17 2016 - Found 9124 genes which do not have one sample above 1
[LOG] Mon Oct  3 14:13:24 2016 - Found 8 accessions with > 0.08 missing data
[LOG] Mon Oct  3 14:13:24 2016 - Genes passing QC:
has_id                 56044
pass_membership        56044
pass_missing_data      38361
pass_min_expression    46920
PASS_ALL               37579
dtype: int64
[LOG] Mon Oct  3 14:13:24 2016 - Accessions passing QC:
has_id               69
pass_missing_data    61
PASS_ALL             61
dtype: int64
[LOG] Mon Oct  3 14:13:41 2016 - Genes passing QC by chromosome:
               has_id  pass_membership  pass_missing_data  pass_min_expression  PASS_ALL
chrom
Chr01            2457             2457               1642                 2010      1611
Chr02            3123             3123               2161                 2677      2132
Chr03            2649             2649               1769                 2186      1727
Chr04            2574             2574               1800                 2142      1764
Chr05            2491             2491               1768                 2134      1741
Chr06            3258             3258               2190                 2740      2156
Chr07            2743             2743               1928                 2311      1895
Chr08            3679             3679               2663                 3220      2618
Chr09            2865             2865               1812                 2328      1772
Chr10            2989             2989               2072                 2538      2024
Chr11            2570             2570               1885                 2256      1846
Chr12            2425             2425               1606                 2019      1578
Chr13            3730             3730               2774                 3352      2740
Chr14            2245             2245               1508                 1809      1463
Chr15            2774             2774               1834                 2246      1792
Chr16            2223             2223               1462                 1783      1406
Chr17            2627             2627               1904                 2250      1870
Chr18            3023             3023               1884                 2360      1831
Chr19            2642             2642               1788                 2188      1749
Chr20            2502             2502               1674                 2059      1633
scaffold_1038       1                1                  0                    1         0
scaffold_105        6                6                  0                    2         0
scaffold_1057       2                2                  2                    2         2
scaffold_1065       1                1                  0                    0         0
scaffold_1078       1                1                  0                    1         0
scaffold_110        2                2                  0                    1         0
scaffold_111        3                3                  0                    0         0
scaffold_1118       1                1                  1                    1         1
scaffold_112        1                1                  0                    0         0
scaffold_1160       1                1                  1                    1         1
...               ...              ...                ...                  ...       ...
scaffold_587        2                2                  1                    1         1
scaffold_608        2                2                  0                    1         0
scaffold_614        1                1                  1                    1         1
scaffold_623        1                1                  0                    0         0
scaffold_633        2                2                  1                    2         1
scaffold_636        3                3                  1                    3         1
scaffold_65         1                1                  1                    1         1
scaffold_660        2                2                  2                    2         2
scaffold_675        1                1                  1                    1         1
scaffold_681        1                1                  1                    1         1
scaffold_691        2                2                  0                    2         0
scaffold_711        1                1                  1                    1         1
scaffold_713        1                1                  1                    1         1
scaffold_72         1                1                  0                    0         0
scaffold_73         2                2                  1                    1         1
scaffold_74         2                2                  0                    0         0
scaffold_744        1                1                  0                    0         0
scaffold_75         1                1                  0                    0         0
scaffold_76         2                2                  0                    1         0
scaffold_78         2                2                  0                    0         0
scaffold_821        1                1                  1                    1         1
scaffold_843        1                1                  1                    1         1
scaffold_846        1                1                  1                    1         1
scaffold_852        1                1                  0                    1         0
scaffold_88         1                1                  0                    0         0
scaffold_896        1                1                  0                    1         0
scaffold_91         2                2                  0                    2         0
scaffold_93         7                7                  1                    1         1
scaffold_97         5                5                  0                    0         0
scaffold_99         3                3                  2                    3         2

[147 rows x 5 columns]
[LOG] Mon Oct  3 14:13:41 2016 - Kept: 37579 genes 61 accessions
[LOG] Mon Oct  3 14:13:42 2016 - Trans. Log: raw->quality_control
[LOG] Mon Oct  3 14:13:42 2016 - Performing Raw Expression Normalization
[LOG] Mon Oct  3 14:13:42 2016 - ------------ Normalizing
[LOG] Mon Oct  3 14:13:43 2016 - Trans. Log: raw->quality_control->arcsinh
[LOG] Mon Oct  3 14:13:43 2016 - Filtering refgen: Gmax_a2_V1
[LOG] Mon Oct  3 14:13:44 2016 - Building Indices
[LOG] Mon Oct  3 14:14:10 2016 - Adding 37579 Genes info to database
[LOG] Mon Oct  3 14:14:12 2016 - Adding Gene attr info to database
[LOG] Mon Oct  3 14:14:17 2016 - Building Indices
[LOG] Mon Oct  3 14:14:17 2016 - Calculating Coexpression
[LOG] Mon Oct  3 14:21:42 2016 - Applying Fisher Transform
[LOG] Mon Oct  3 14:22:00 2016 - Calculating Mean and STD
[LOG] Mon Oct  3 14:22:07 2016 - Finding adjusted scores
[LOG] Mon Oct  3 14:22:09 2016 - Build the dataframe
[LOG] Mon Oct  3 14:22:10 2016 - Calculating Gene Distance
Calculating for 37579 genes
[LOG] Mon Oct  3 14:23:06 2016 - Thresholding Significant Network Interactions
[LOG] Mon Oct  3 14:23:07 2016 - Storing the coex table
Segmentation fault

Can you try something quick? Go into ~/.camoco/databases and delete all
.ft files related to the object youre building. I found a bug that kills
feather when there are lingering files around. Maybe it's affecting you
too...
Otherwise, if you put a --debug flag right after Camoco in your command, it
should drop you into a debugger when it dies.
On Mon, Oct 3, 2016, 2:33 PM MeeshCompBio<EMAIL_ADDRESS>wrote:

In [1]: Gmax_a2_V1 = co.RefGen('Gmax_a2_V1')
In [2]: co.COB.from_table('Stacey_Soy_Expression_V2.csv',
...: 'SoyGeneral',
...: 'General Soy Network Stacey Data',
...: Gmax_a2_V1,
...: rawtype='RNASEQ',
...: max_gene_missing_data=0.3,
...: max_accession_missing_data=0.08,
...: min_single_sample_expr=1,
...: min_expr=0.001,
...: quantile=False,
...: max_val=300,
...: sep=','
...: )
[LOG] Mon Oct  3 14:12:49 2016 - Loading Expr table
[LOG] Mon Oct  3 14:12:49 2016 - Building Expr Index
[LOG] Mon Oct  3 14:12:49 2016 - Loading RefGen
[LOG] Mon Oct  3 14:12:49 2016 - RefGen for SoyGeneral not set!
[LOG] Mon Oct  3 14:12:49 2016 - Loading coex table
[LOG] Mon Oct  3 14:12:49 2016 - SoyGeneral is empty (IO error: Failed to open file: /media/jmichno/MeeshExternal/camoco_feather/databases/Expr.SoyGeneral.coex.ft)
[LOG] Mon Oct  3 14:12:49 2016 - Loading Global Degree
[LOG] Mon Oct  3 14:12:49 2016 - SoyGeneral is empty (IO error: Failed to open file: /media/jmichno/MeeshExternal/camoco_feather/databases/Expr.SoyGeneral.degree.ft)
[LOG] Mon Oct  3 14:12:49 2016 - Loading Clusters
[LOG] Mon Oct  3 14:12:49 2016 - Clusters not loaded for: SoyGeneral ()
[LOG] Mon Oct  3 14:12:50 2016 - Resetting raw expression data
[LOG] Mon Oct  3 14:12:50 2016 - Resetting expression data
[LOG] Mon Oct  3 14:12:50 2016 - Extracting raw expression values
[LOG] Mon Oct  3 14:12:51 2016 - Importing Raw Expression Values
[LOG] Mon Oct  3 14:12:51 2016 - Trans. Log: raw->RawRNASEQ
[LOG] Mon Oct  3 14:12:51 2016 - Resetting expression data
[LOG] Mon Oct  3 14:12:51 2016 - Extracting raw expression values
[LOG] Mon Oct  3 14:12:52 2016 - Performing Quality Control on genes
[LOG] Mon Oct  3 14:12:52 2016 - ------------Quality Control
[LOG] Mon Oct  3 14:12:53 2016 - Raw Starting set: 56044 genes 69 accessions
[LOG] Mon Oct  3 14:12:59 2016 - Found out 0 genes not in Reference Genome: GlycineMax - Wm82 Assembly 2 Version 1 RefGen - Gmax_a2_V1
[LOG] Mon Oct  3 14:12:59 2016 - Filtering expression values lower than 0.001
[LOG] Mon Oct  3 14:13:10 2016 - Found 17683 genes with > 0.3 missing data
[LOG] Mon Oct  3 14:13:17 2016 - Found 9124 genes which do not have one sample above 1
[LOG] Mon Oct  3 14:13:24 2016 - Found 8 accessions with > 0.08 missing data
[LOG] Mon Oct  3 14:13:24 2016 - Genes passing QC:
has_id                 56044
pass_membership        56044
pass_missing_data      38361
pass_min_expression    46920
PASS_ALL               37579
dtype: int64
[LOG] Mon Oct  3 14:13:24 2016 - Accessions passing QC:
has_id               69
pass_missing_data    61
PASS_ALL             61
dtype: int64
[LOG] Mon Oct  3 14:13:41 2016 - Genes passing QC by chromosome:
has_id  pass_membership  pass_missing_data  pass_min_expression  PASS_ALL
chrom
Chr01            2457             2457               1642                 2010      1611
Chr02            3123             3123               2161                 2677      2132
Chr03            2649             2649               1769                 2186      1727
Chr04            2574             2574               1800                 2142      1764
Chr05            2491             2491               1768                 2134      1741
Chr06            3258             3258               2190                 2740      2156
Chr07            2743             2743               1928                 2311      1895
Chr08            3679             3679               2663                 3220      2618
Chr09            2865             2865               1812                 2328      1772
Chr10            2989             2989               2072                 2538      2024
Chr11            2570             2570               1885                 2256      1846
Chr12            2425             2425               1606                 2019      1578
Chr13            3730             3730               2774                 3352      2740
Chr14            2245             2245               1508                 1809      1463
Chr15            2774             2774               1834                 2246      1792
Chr16            2223             2223               1462                 1783      1406
Chr17            2627             2627               1904                 2250      1870
Chr18            3023             3023               1884                 2360      1831
Chr19            2642             2642               1788                 2188      1749
Chr20            2502             2502               1674                 2059      1633
scaffold_1038       1                1                  0                    1         0
scaffold_105        6                6                  0                    2         0
scaffold_1057       2                2                  2                    2         2
scaffold_1065       1                1                  0                    0         0
scaffold_1078       1                1                  0                    1         0
scaffold_110        2                2                  0                    1         0
scaffold_111        3                3                  0                    0         0
scaffold_1118       1                1                  1                    1         1
scaffold_112        1                1                  0                    0         0
scaffold_1160       1                1                  1                    1         1
...               ...              ...                ...                  ...       ...
scaffold_587        2                2                  1                    1         1
scaffold_608        2                2                  0                    1         0
scaffold_614        1                1                  1                    1         1
scaffold_623        1                1                  0                    0         0
scaffold_633        2                2                  1                    2         1
scaffold_636        3                3                  1                    3         1
scaffold_65         1                1                  1                    1         1
scaffold_660        2                2                  2                    2         2
scaffold_675        1                1                  1                    1         1
scaffold_681        1                1                  1                    1         1
scaffold_691        2                2                  0                    2         0
scaffold_711        1                1                  1                    1         1
scaffold_713        1                1                  1                    1         1
scaffold_72         1                1                  0                    0         0
scaffold_73         2                2                  1                    1         1
scaffold_74         2                2                  0                    0         0
scaffold_744        1                1                  0                    0         0
scaffold_75         1                1                  0                    0         0
scaffold_76         2                2                  0                    1         0
scaffold_78         2                2                  0                    0         0
scaffold_821        1                1                  1                    1         1
scaffold_843        1                1                  1                    1         1
scaffold_846        1                1                  1                    1         1
scaffold_852        1                1                  0                    1         0
scaffold_88         1                1                  0                    0         0
scaffold_896        1                1                  0                    1         0
scaffold_91         2                2                  0                    2         0
scaffold_93         7                7                  1                    1         1
scaffold_97         5                5                  0                    0         0
scaffold_99         3                3                  2                    3         2
[147 rows x 5 columns]
[LOG] Mon Oct  3 14:13:41 2016 - Kept: 37579 genes 61 accessions
[LOG] Mon Oct  3 14:13:42 2016 - Trans. Log: raw->quality_control
[LOG] Mon Oct  3 14:13:42 2016 - Performing Raw Expression Normalization
[LOG] Mon Oct  3 14:13:42 2016 - ------------ Normalizing
[LOG] Mon Oct  3 14:13:43 2016 - Trans. Log: raw->quality_control->arcsinh
[LOG] Mon Oct  3 14:13:43 2016 - Filtering refgen: Gmax_a2_V1
[LOG] Mon Oct  3 14:13:44 2016 - Building Indices
[LOG] Mon Oct  3 14:14:10 2016 - Adding 37579 Genes info to database
[LOG] Mon Oct  3 14:14:12 2016 - Adding Gene attr info to database
[LOG] Mon Oct  3 14:14:17 2016 - Building Indices
[LOG] Mon Oct  3 14:14:17 2016 - Calculating Coexpression
[LOG] Mon Oct  3 14:21:42 2016 - Applying Fisher Transform
[LOG] Mon Oct  3 14:22:00 2016 - Calculating Mean and STD
[LOG] Mon Oct  3 14:22:07 2016 - Finding adjusted scores
[LOG] Mon Oct  3 14:22:09 2016 - Build the dataframe
[LOG] Mon Oct  3 14:22:10 2016 - Calculating Gene Distance
Calculating for 37579 genes
[LOG] Mon Oct  3 14:23:06 2016 - Thresholding Significant Network Interactions
[LOG] Mon Oct  3 14:23:07 2016 - Storing the coex table
Segmentation fault
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/schae234/Camoco/issues/42#issuecomment-251203202, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcpvw3n6iBzKRMxRNWfgSbojIBFUsRqks5qwVh8gaJpZM4KIJ6V
.

I removed all of the files and it still fails. I also noticed that the camoco rm cli command does not work (or co.del_dataset() ), I have to manually delete the files in Unix unlike before the .ft implementation.
When I ran pdb before running the commands I only get a segmentation fault, there is no trace output.
Thanks

Yeah, the rm command was fixed upstream. Hmmmm, Ok, can you email me the
fpkm table it's dying on? And I guess the refgen for soy?
On Mon, Oct 3, 2016, 3:18 PM MeeshCompBio<EMAIL_ADDRESS>wrote:

I removed all of the files and it still fails. I also noticed that the
camoco rm cli command does not work (or co.del_dataset() ), I have to
manually delete the files in Unix unlike before the .ft implementation.
When I ran pdb before running the commands I only get a segmentation
fault, there is no trace output.
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/schae234/Camoco/issues/42#issuecomment-251214575, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACcpv_gogT0i4qpDXUxG9jlavN8N5g_bks5qwWMlgaJpZM4KIJ6V
.

The problem was introduced between feather-format 0.2.0 and 0.3.0. Making 0.2.0 the specifc requirement fixes it for now. When I have more time I will try to get to the real problem and report it to the feather team.

There also is a really weird issue having to do with pyplot aborting when loading into ipython, but it works in the normal interpreter, so I have no idea. I will put that on my list to look at one day as well.

I can confirm, that using feather-format 0.2.0 with the install script has fixed my issue. I have had no issues though using ipython with either build.


Jdbc Driver hardly usable w/ Apache DBCP

When using Presto JDBC connections with Apache DBCP, some of the settings of DBCP will call into unimplemented methods which throw an error.
This is a deviation from the usual implementation guidelines. ie. setReadOnly can be called by the pool, but it is assumed that the driver will only throw an exception if there is a server error, not because it is not supported. See the API details here.
http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#setReadOnly(boolean)
This prevents us from using generic pool parameters and require knowledge of what will throw exception and what won't before using a generic set of parameters.

Is the issue calling it with false? If set to false, the driver throws SQLFeatureNotSupportedException("Disabling read-only mode not supported"). When the driver was originally written, Presto only supported SELECT, so this was correct, but it never got updated.
I filed https://github.com/facebook/presto/issues/3100 for this.

I created #3101 to fix the setReadOnly() issue by always ignoring the call. I don't think we can ignore other methods. For example, ignoring setAutoCommit(false) would be wrong, since an INSERT statement or similar would still commit at the end of the statement.
If there are other methods causing a problem with DBCP, please file a new issue for each one along with the parameter values, allowing us to evaluate and fix each one independently.
Thanks for helping us improve Presto!


Question: Does a gfortran ABI change necessitate an SO_VERSION update?

Avg response time

Question
If yes, this can issue can be kept open to remind us to watch for a possible upcoming gfortran ABI change depending on the outcome of today's gfortran mailing list discussion thread.
If no, then this issue can be closed.

Yes, we should bump the SO_VERSION every time GFortran does. I don't think a persistent open issue does much to remind us of anything, my gut says close this so it doesn't look like we have a huge backlog... well at least not any larger than it actually is....


Handle changeLanguage from i18n

Is your feature request related to a problem? Please describe.
I'm trying to use i18n and i18-i18next to change my language without changing the URL like this:
import { useTranslation } from "next-i18next";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";

const Homepage = () => {
  const { i18n, t } = useTranslation("common");

  return (
    <>
      <button
        type="button"
        onClick={() => {
          i18n.changeLanguage(i18n.language === "en" ? "de" : "en");
        }}
      >
        {t("change-locale")}
      </button>
      {t("title")}
    </>
  );
};

export const getStaticProps = async ({ locale }) => ({
  props: {
    ...(await serverSideTranslations(locale, ["common"])),
  },
});

export default Homepage;

Describe the solution you'd like
When I log i18n, I see that the language changed, but I don't access to my common.json file to translate it.
Describe alternatives you've considered
Changing Language without changing the URL from i18n.
Additional context
Add any other context or screenshots about the feature request here.

Please check the NextJs documentation. Do not change the language via i18next.

Hi @MhmdNdri, if you do not know where to look it up in the docs take a look at my answer in a related issue: https://github.com/isaachinman/next-i18next/issues/1117#issuecomment-813064583

Hi @MhmdNdri, if you do not know where to look it up in the docs, take a look at my answer in a related issue: #1117 (comment)

Hi @natterstefan, Thanks a lot, You give me the correct way that I have been looking for.


Sorted cdc options and query parameter tables

Fixes DOC-6385
Quick PR to sort the CREATE CHANGEFEED and EXPERIMENTAL CHANGEFEED FOR tables alphabetically.

LGTM! Always a fan of alpha-sort, thanks!!

Wooo, TFTR!


Fixed 24501 -- Improve user_passes_test documentation

Improved the documentation around the user_passes_test.

Adds headings similar to login_required section
Alters raw example by using redirect instead of HttpResponse

merged in fca14cd3f27a01f7ba1fe32ea9587fa75b85713a, thanks!


How to load 2-stage checkpoints for evaluation?

Hi @zachteed @heilaw @anewell @jiadeng ,
Thank you for your work! I have a question about the ckpt for demo and evaluation.
When we train the model we can get two checkpoints for stage_1 and stage_2, but I notice we only need to load one ckpt file for evaluation and demo. How can we get this final ckpt file and could you please explain more about the relationship between this final ckpt and two-stage ckpts got from training.
Thank you so much!

Hi, you should use the stage_2 checkpoint


[DO NOT MERGE] Phase two

 Issue by tommyp
Wednesday 11 November 2015 at 11:58 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/598

This PR is a work in progress of the V2 Publishing API migration of this App.
We'll update the description of this PR as we continue with the work.

Major pull requests on this branch

#599
#600
#601
#603
#606
#609
#615
#622
#629
#630
#632
#633
#635
#636
#637
#638
#640
#641
#642
#643
#644

When commenting on any PR branched off this, be sure to comment on the file change and not the individual commit.

tommyp included the following code: https://github.com/alphagov/specialist-publisher/pull/598/commits

 Comment by kalleth
Thursday 26 November 2015 at 12:12 GMT

:heart:

 Comment by tommyp
Wednesday 02 December 2015 at 15:46 GMT

@kalleth Thanks for the love.

Closing this as the Phase 2 branch has become master in this repo.


Docs link in README is a 404

Describe the bug
In the README at https://github.com/vapor/postgres-nio#api-docs the link to the documents is a 404 page.
Link target is https://api.vapor.codes/postgres-nio/master/PostgresNIO/
To Reproduce
Clink the link for the documents
Expected behavior
The link goes to a work document page
Environment

OS version:
Chrome on macOS 15.3

Additional context
N/A

Thanks for spotting! This is now fixed


toDecimal() cuts out .0...

> bigRat(17.027183424215764).toDecimal(2)
'17.2' // 0 has gone

> bigRat(17.027183424215764).toDecimal(3)
'17.27' // same
> bigRat(17.27183424215764).toDecimal(3) // no 0, works
'17.271'

node v5.5.0

Oops, sorry about that. I should really write more thorough unit tests some time. Anyway, this should be fixed now. Let me know if you have any more problems.


Fix image quality on certain UI images

ImageBrushes are horrible. Please never use them ever again.
Before (ImageBrush):

After (Image):

sorry :(

bully

INSANE


Fix unexpected underline for social icons

Explicitly set text-decoration to none to avoid a:-webkit-any-link
applying on social icons. Also add a missing bloglogo class back.
Signed-off-by: kfei<EMAIL_ADDRESS>

The underline decoration added by webkit:

good catch


Have history graph card use lovelace config

The current one depends on configuring in the state machine. We need to update the card to depend on the Lovelace configuration.

As you are externalizing the config...would it be possible to extend the Lovelace graphs to allow overriding the default chart options in state-history-chart-line.js and state-history-chart-timeline.js?


bash apollo.sh build_cpu error with v2x package missing

The system is ubuntun 18.10 running in VM VirtualBox.

Refer to #6467 and let me know if you still face the issue.

Refer to #6467 and let me know if you still face the issue.

@springsun101 Are you behind a firewall or a proxy?
I think the error is cannot open git-upload-pack  and could be caused by a network issue.  Please see this stackoverflow answer

@springsun101 Are you behind a firewall or a proxy?
I think the error is cannot open git-upload-pack and could be caused by a network issue. Please see this stackoverflow answer

Yes, I am behind a proxy.

@springsun101 Are you behind a firewall or a proxy?
I think the error is cannot open git-upload-pack and could be caused by a network issue. Please see this stackoverflow answer

Yes, I am behind a proxy.

Build Problem solved.

What is the proxy issue or something else? If the proxy, how did you resolve it?

What is the proxy issue or something else? If the proxy, how did you resolve it?

I switch to guest network and it can build now.

Currently closing this issue as it appears to be resolved. Feel free to reopen it if the issue persists. Thanks!


Additional http payload protocol tests

Description of changes:
Adds new protocol tests for rest Json 1 to check:

Errors with payloads are correctly deserialized
String payloads with a media type are correctly handled

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing this for the moment. May reopen in the future.


Configuration of the firmware

I'm interresting to understand how the configuration looks like for the firmware.
For exemple routing table ? source routing ? tx Power .... ?
IS there any source that we can have access to as regards to the firmware provided in the data/ folder ?

@pipiche38 FYI, some of the other community firmware developers do provide some more information about those, see example:
https://github.com/grobasoz/zigbee-firmware/ -> https://github.com/grobasoz/zigbee-firmware/blob/master/EFR32 Series 1/README.md
https://github.com/xsp1989/zigbeeFirmware/ -> https://github.com/xsp1989/zigbeeFirmware/blob/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP/README.md
https://github.com/zha-ng/EZSP-Firmware
https://github.com/MattWestb/EFR32-FW
You can also figure out some of the detailed based on the common abbreviations used in the files in community builds:
Abbreviations legend:
Commonly used shorthand and acronyms used in firmware image file names for Silabs based adapters:

ncp = NCP (Network Co-Processor) -  if Silabs means standard NCP design with EZSP (EmberZNet Serial Protocol) interface.
rcp = RCP (Radio Co-Processor) made for use offload to host CPU daemon called cpcd to zigbeed (and OpenThread daemon), see -> https://github.com/zigpy/zigpy/discussions/894
s2 = EFR32 Series 2 (eg. EFR32MG2x such as EFR32MG21)
s1 = EFR32 Series 1 (eg. EFR32MG1x)
F1024 = 1024k Flash Size
F512 = 512k Flash Size
F256 = 256k Flash Size
com = Combined (necessary for EFR32 Series 1)
uart = UART interface
nsw = no flow control
sw = software flow control (XON/XOFF flow control)
hw = hardware flow control (RTS/CTS flow control)
655 / 678 / 679 = EmberZNet Version which also indoicate version for EZSP (EmberZNet Serial Protocol)
115200 = Baud rate speed set to 115200
57600 = Baud rate speed set to 57600
std = Standalone
btl = Bootloader
pb0-pb1 = Port used for TXD (Transceive Data) and RXD (Receive Data)
pa0 = Bootloader GPIO Activation

Ah, and example app code is on Silicon Labs GitHub for their Gecko SDK:
https://github.com/SiliconLabs/gecko_sdk/tree/gsdk_4.1/protocol/zigbee/
https://github.com/SiliconLabs/gecko_sdk/releases
However I think that you still first need to buy and register one of the official Silicon Labs compatible Zigbee development kit (dev kit) or starter kits to your (free) silabs account in order to get the license needed to access Zigbee EmberZNet SDK, see https://www.silabs.com/development-tools/wireless where I think the least expensive is the EFR32xG22 devkit for $99 (US-dollar), see https://www.cnx-software.com/2020/06/25/efr32xg22-wireless-gecko-starter-kit-targets-bluetooth-zigbee-and-proprietary-wireless-development/?amp=1
Again, the Gecko SDK (GSDK) is now available on Silicon Labs GitHub (which it was not before) but I believe that you might still need to have registered at least one Zigbee development board / starter kit to show that you own one of their official products:
https://github.com/SiliconLabs/gecko_sdk
https://github.com/SiliconLabs


OnChainBalance

Create a function OnChainBalance(*Context, *Address) (*BigInt, error) that returns the on-chain ethereum balance for the given address in wei. See perun-eth-demo#7 for hints.

Since we need an ethereum backend and that is created by dialing cfg.ETHNodeURL, it makes more sense to have it as member function of the Client.

Yes it is polluting the API of the client, and works on a different abstraction level (using the ethclient) but is the easiest and quickest solution. If this repo becomes more broadly used, we will change it later.


http::StatusCode unification

Set server::http::HttpStatus and client::http::Status as alias to http::StatusCode

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/

fix format and moved serialization functions.
serialization to std::ostream can be impl by StatusCodeString. Make it?

i forgot one case of the http::StatusCode serialization


POM cleanup

This PR, which is built on #142, does some cleanup work on the POM, removing redundant versions, and migrating hardcoded versions to properties. After merging #142 I would suggest to merge this one using the Rebase mode.

Thanks @ctrueden !
Rebase did not work due to "conflicts", so I did a simple merge.


Generating multiple style files

Please provide us with the following information:

OS?

Windows 10.

Versions.

angular-cli: 1.0.0-beta.24
node: 5.11.0
os: win32 ia32
@angular/common: 2.4.1
@angular/compiler: 2.4.1
@angular/core: 2.4.1
@angular/forms: 2.4.1
@angular/http: 2.4.1
@angular/platform-browser: 2.4.1
@angular/platform-browser-dynamic: 2.4.1
@angular/router: 3.4.1
@angular/compiler-cli: 2.4.1

Question, feature

Hi,
Is there a way to generate multiple style files (during build process)?
It is required beacause we have a normal stlye and a WAI style.
We must them seperate because size limits.
Currently I see that there is only one file generated after ng serve or build.
This thread doesn't helps for me: #2722
Thank you for your help!

I just came to say hello
I have the same problem, and it really blocks our refactoring process (we just started using the cli instead of npm-gulp-bower-etc building to reach greater page load time with aot).

https://github.com/angular/angular-cli/issues/3401 this should suit your usecase.

Same issue here...

Dear @filipesilva!
Thank you for your quick response! I tried and that works perfectly!
Best wishes,
Attila

thank you very much https://www.youtube.com/watch?v=ax02yrBqpa0

Glad to hear that was what you needed! Let me know if you have any problem with it, it's not documented so not a lot of people are using it.


Controller inside directive's closure

In the section Directives and ControllerAs - Y075 the example used has the directive's controller outside the closure as recommended by Manually Identify Dependencies - Y091 in order to avoid $inject being unreachable. Y091 also says that you can avoid $inject being unreachable by "either moving the $inject above the return statement or by using the alternate array injection syntax".
Based on this, my primary question is as follows. Are there any negative consequences to defining the directives Controller inside the directives closure but above the return statement?  See code below. Specifically relating to testability or minification. Is there some other benefit to having the Controller outside the directive's closure?
angular
  .module('app.reports')
  .directive('myExample', myExample);

function myExample () {
  var directive = {
    restrict: 'EA',
    replace: true,
    templateUrl: 'app/feature/example.directive.html',
    scope: {
      max: '@'
    },
    link: link,
    controller: Controller,
    controllerAs: 'vm'
    bindToController: true,     // required in 1.3+ with controllerAs
  };

  function link (scope, el, attr, controller) {
    console.log("executing link fn()");
  }

  Controller.$inject = ['$scope'];

  function Controller($scope) {
    var vm = this;
    console.log("executing controller fn()");
  };

  return directive;
};

Also a related question. I noticed that in using this style I can now use the generic "Controller" name for any directive's controller. Are there consequences with this doing that? Console errors are pretty clear that an error is in the Controller at the file path.
Thanks for all the hard work - this guide is immensely helpful!

You can certainly define the directive above the return statement and inside the closure. This is just my style.
Glad you like the guide!

Know that you're controller is completely private to the directive. That's fine if you aren't going to test the controller and you might not need to do so because it's just private implementation. But if the controller has side-effects that you need to explore under test, then I think this approach makes such testing more difficult. At least I don't know how I'd test it ... not as I write this comment anyway,

Yep, Controller should be exposed outside the closure to be testable.

Perfect! Thanks guys, that's exactly the type of thing I needed to know about this. Thanks again!

Great discussion regarding the nuances of placing a directive's controller inside or outside its closure.  Thanks for the insight.

Well ... subsequent to my January post I learned how to get the controller from the directive itself while testing it. So it isn't the big deal I thought it was.  See the Adventures in Angular episode on "Advanced Directives"

I was about to ask the same question, thanks @wardbell for the link. So I can have access to the directive's controller for testing and keep it defined interal to the directive. I would reach my code coverage minimums otherwise.

For those of you wondering, like I was. This is how:
inject(function (_fooDirective_) {
  var fooDirective = _fooDirective_;
  console.log(fooDirective.controller);
});


arm64

I'm using scrcpy 1.12.1, it's on ubuntu arm64 repositorys
in snap it is armhf (32 bits) only.
I think snap could be simplest to add an updated arm64.

@rom1v  I would also love to see this.  There are an increasing number of arm64 machines these days - the newer macs IIRC, the Raspberry Pi 3, and definitely the RPi4 (which I am typing this on as we speak :grin: ) all run arm64.  I was very sad when I typed:
sudo snap install scrcpy
and received:
error: snap "scrcpy" is not available on stable for this architecture (arm64)        but exists on other architectures (amd64, i386).
Also:
Issue discussed here on scrcpy snap repo.

You could just use a non-snap version, it works on arm;

Non-snap versions are pretty far behind, though, and you don't maintain a
PPA as far as I know.  So snaps are really the best way to acquire scrcpy
right now as far as I can see.
That's an unfortunate side effect of your very hard work in producing so
many bugfixes and feature releases!  :grin:
On Thu, Jul 8, 2021 at 3:20 PM Romain Vimont - @.***
@.***>
wrote:

You could just use a non-snap version, it works on arm;
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Genymobile/scrcpy/issues/1662#issuecomment-876684425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3KFGNCXWGSPS62HD7XILTTWX27ZANCNFSM4P3C443A
.

So snaps are really the best way to acquire scrcpy right now as far as I can see.

https://github.com/Genymobile/scrcpy/blob/master/BUILD.md#simple

https://github.com/Genymobile/scrcpy/blob/master/BUILD.md#simple

Thank you very much.  Yes, I knew about this, but I think most people are like me, and would prefer to not have to build software to maintain their systems.  There are a lot of things that can break, and if something breaks it can get pretty hairy.    Looks like @sisco311 took care of it in the snap repository!
https://github.com/sisco311/scrcpy-snap/issues/23#issuecomment-877830816
So all is good.  This issue can probably be closed now.


feat: Support trpc@11

Maybe a bit early, but the next major release trpc (v11) is on the horizon, basically updating react-query to v5.
trpc-panel does not work with the latest @trpc/server@next version. No procedures are beeing parsed, all resulting in errors Couldn't parse node.
When I revert back to react-query v4 and trpc v10 everything works fine

I looked into this and procedure def changed in tRPC v11.
These changes here https://github.com/extendsLcc/trpc-panel/commit/b380a7b591ac259c8552625efed292450581d616 are enough to make it work with v11 although it need more testing...

I looked into this and procedure def changed in tRPC v11 which cause this problem. These changes here extendsLcc@b380a7b are enough to make it work with v11 although it need more testing...

Hello there from end of May 2024. Looks like we can consider trpc-panel mostly unmaintained now. Sad, but at least your fix works. Thanks.
P.S. Because of such not maintained solutions around tRPC I don't think it's a good idea to start new products using tRPC. tRPC lacks of debugging/manual testing tools out of the box. Slowly, with new updates of tRPC, most of useful tools around it will dissapear...

@extendsLcc @MinskLeo Interested in forking and maintaining with us?

@extendsLcc @MinskLeo Interested in forking and maintaining with us?

When I actually stumbled with this problem, I thought about attempt to contact
@iway1 and ask for maintainer permissions for the project (there is are still some
useful community PR hanging there). But I decided to not because of some reasons:

I'm not experienced developer, and I'm not sure that I can handle the project with the quality the community expects;
I don't have much knowledge about tRPC internals (although is something that can be learned with time), so I'm not sure that I can maintain the project;
I was struggling with make ends meet, so I was afraid that I wouldn't be able to handle this project.

At the moment, I can attempt to re-evaluate the possibility, but still not very confident about it. Also, unfortunately I'm currently not using tRPC (it's laravel), I will return in the future, but right now i don't have a project that I can put the tRPC panel in use to stress test and improve it.

@extendsLcc @MinskLeo Interested in forking and maintaining with us?

When I actually stumbled with this problem, I thought about attempt to contact @iway1 and ask for maintainer permissions for the project (there is are still some useful community PR hanging there). But I decided to not because of some reasons:

I'm not experienced developer, and I'm not sure that I can handle the project with the quality the community expects;
I don't have much knowledge about tRPC internals (although is something that can be learned with time), so I'm not sure that I can maintain the project;
I was struggling with make ends meet, so I was afraid that I wouldn't be able to handle this project.

At the moment, I can attempt to re-evaluate the possibility, but still not very confident about it. Also, unfortunately I'm currently not using tRPC (it's laravel), I will return in the future, but right now i don't have a project that I can put the tRPC panel in use to stress test and improve it.
My workaround can be used from here @extendslcc/trpc-panel

Cannot parse Zod objects though. This was such a nice project though.

forked and fixed request issues here
you can just use @metamorph/trpc-panel
glhf

forked and fixed request issues here you can just use @metamorph/trpc-panel glhf

The readme in your repo leads to the old trpc-panel package, but it should be your new @metamorph/trpc-panel

@metamorph/trpc-panel

Noice i will add this in the trpc website awesoem list since this codebase maintainer is dead


nitweb: add READMEs summaries

Automatically add a summary extracted from the README / doc contents

Also add anchors to the content of the README, so you can make links like:
http://nitweb.moz-code.org/doc/core#Methods-Implicitly-Defined-in-Sys

test this please


Post-compile exceptions

When compiling an interface, I see the error below. The interface has no ABL annotations in it.
[2024-11-12T12:42:25,886] [INFO] LanguageServerInfo: 1.17.0-535415d -- ClientInfo: Visual Studio Code 1.95.1 -- JVM: Eclipse Adoptium 17.0.13+11
[2024-11-12T12:41:11,871] [ERROR] [PROJECT] Error during post-compile phase
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because "this.annotations" is null
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.uniApplyNow(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.uniApplyStage(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.thenApply(Unknown Source)
	at eu.rssw.openedge.ls.builder.v.run(SourceFile:161)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because "this.annotations" is null
	at org.prorefactor.core.nodetypes.StatementNode.getAnnotations(StatementNode.java:105)
	at eu.rssw.openedge.ls.builder.d.a(SourceFile:114)
	at eu.rssw.openedge.ls.builder.d.apply(SourceFile:2056)
	... 7 common frames omitted
[2024-11-12T12:41:11,871] [INFO] [PROJECT] Compilation successful: PATH\TO\CLASS\IReportingService.cls

The interface is below (some paths changed).
 /*------------------------------------------------------------------------
    File        : IReportingService
    Purpose     : Interface for the document reporting service
    Syntax      :
    Description :
    Author(s)   : pjudge
    Created     : 2024-11-01
    Notes       :
  ----------------------------------------------------------------------*/

block-level on error undo, throw.

using Ccs.Common.*.
using Consultingwerk.*.
using Consultingwerk.SmartFramework.*.

interface Path.To.Class.IReportingService
    inherits IService:

    /**
     * Purpose: The folder into which reports are written.
     * Notes:
     */
    define public property OutputFolder as character no-undo
    get.

    /**
     * Purpose: The name of a generic 'whoops' error file
     * Notes:
     */
    define public property GeneralErrorFilename as character no-undo
    get.

    /**
     * Purpose: Prints / creates a PDF of an error message
     * Notes:
     * @param pcErrorId A unique ID for the error message
     * @param poMessage The error messages
     * @param pdtErrorTimestamp The timestamp when the error occurred
     * @param poErrorContext Any context for the error
     * @return The filename containing the error message
     */
    method public character ErrorPrint (pcErrorId as character,
                                        poMessage as IMessage,
                                        pdtErrorTimestamp as datetime,
                                        poErrorContext as IJsonSerializable).

    /**
     * Purpose: Prints / creates a PDF of an error message
     * Notes:
     * @param pcErrorId A unique ID for the error message
     * @param poMessage The error messages
     * @param pdtErrorTimestamp The timestamp when the error occurred
     * @param poErrorContext Any context for the error
     * @param pcOutputFolder An optional folder for the error report
     * @return The filename containing the error message
     */
    method public character ErrorPrint (pcErrorId as character,
                                        poMessage as IMessage,
                                        pdtErrorTimestamp as datetime,
                                        poErrorContext as IJsonSerializable,
                                        pcOutputFolder as character).

    /*------------------------------------------------------------------------------
        Purpose: InvoicePrint
        Notes:
        @param:  pcInvoiceNum The Invoice No
    ------------------------------------------------------------------------------*/
    method public void InvoicePrint (pcInvoiceNum as character).

    /*------------------------------------------------------------------------------
        Purpose: ReceiptPrint
        Notes:
        @param:  poPaymentReceiptParameter      PaymentReceiptParameter
    ------------------------------------------------------------------------------*/
    method public void ReceiptPrint (poPaymentReceiptParameter as PaymentReceiptParameter).

    /**
     * Purpose: Returns the filename for an receipt
     * Notes:
     * @param pcReceiptId The receipt id
     * @return The filename containing the receipt. May be ?
     */
    method public character GetReceiptFilename (pcReceiptId as character).

    /**
     * Purpose: Returns the filename for an invoice
     * Notes:
     * @param pcRefNum The invoice ID
     * @return The filename containing the invoice. May be ?
     */
    method public character GetInvoiceFilename (pcRefNum as character).

    /**
     * Purpose: Returns the filename for an error
     * Notes:
     * @param pcErrorId The ID for the error
     * @return The filename containing the error report. May be ?
     */
    method public character GetErrorReportFilename (pcErrorId as character).

end interface.

Will be fixed !

Fixed in 1.14.1


Remove unused commented out codes for unimplemented features of near cache

Cleaned up the unimplemented features related codes.

Test FAILed.

Test FAILed.

Test FAILed.

Test PASSed.


feat(Observable): initial IObservable interface

This PR is not meant to be merged, but to gauge for your opinion on this.
If approved, I can make the changes for the other operators and methods as well.
Description:
An interface for Observables.
This fixes a problem we were having when npm linking a library exposing methods that return Observables.
For example, when you npm link ng2-example-library (ng2-example-library) in ng2-example-consumer, you get this:

src\app\repository\repository.service.ts(14,10): error TS2322: Type 'Observable<any[]>' is not assignable to type 'Observable<any[]>'.
Property 'source' is protected but type 'Observable' is not a class derived from 'Observable'.

Impact:
Quite a lot of operator signatures would have to be adapted to accommodate this change, as well as changes by the user would be required (Observable > IObservable). We could avoid the latter by renaming the interface to Observable and the class to something else.

I think this is related with issue https://github.com/ReactiveX/rxjs/issues/1248, currently bit on hold to clarify / ensure some of usecases. /cc @david-driscoll as well.

What version of the TypeScript compiler are you on?  I believe a lot of these issues were fixed already.
https://github.com/Microsoft/TypeScript/issues/6731 and https://github.com/Microsoft/TypeScript/pull/6786
If something still remains, it's likely something that can be fixed without a huge sweeping change here (hopefully anyhow).

I am using version 1.8.10 so that should be fine. I am still looking for solutions other than changing the return type to an interface.

I'd like to suggest create issue first to illustrate issues with latest master to be discussed. While introducing interface to observable is on discussion, it has somewhat different goals this PR tries to achieve and possibly can take longer time. If current problem / issue can be fixed in other way, it could be introduced separately in current shape of codebases.

Thanks @kwonoj and @david-driscoll for your responses.
Given that this is indeed quite a huge refactoring, I have opened issue #1744 and will close this PR.


Is 'SCSS not Sass' really required?

I think the guidelines would benefit from supporting both SCSS and Sass syntax.
As a .sass user (and proponent) I don't think we should disregard either as both are a core feature/offering of the language and therefore a feasible choice for each end user.
Maybe doing something like the Sass Docs and offering a toggle page wide would be wise.

Maybe doing something like the Sass Docs and offering a toggle page wide would be wise.

I would love that, although that would require a significant development that I am not willing to engage. I'd gladly merge any solid PR about this though.

Done, actually.

Oops! I already had written some code for it (https://github.com/tobysteward/sass-guidelines/commit/538830bdfd4021dc82188795961be2997886d396) but hadn't had a chance to PR!
I like your approach, my mind went straight to JS, yours went to CSS :+1:

Oh. Please accept my apologies. I should have told you when I started implementing the feature.

Don't worry - I think I probably should have said something too :)
Sent from my iPhone

On 8 Jan 2015, at 17:20, Hugo Giraudel<EMAIL_ADDRESS>wrote:
Oh. Please accept my apologies. I should have told you when I started implementing the feature.
—
Reply to this email directly or view it on GitHub.


Added IMT Atlantique

IMT Atlantique results from the merge of Télécom Bretagne and École des Mines de Nantes. For more information see http://www.imt-atlantique.fr/en.
Note that at some point in the future, the old names should be removed (eu/telecom-bretagne.txt and fr/mines-nantes.txt).
Hope to help
Fabien

@fdagnat Pull request merged. Thank you for the update!


Manual page number selection via number input with confirm button.

Hello,
it would be very useful to have the extended pagination feature, where I could enter the page number manually (let's say I want to go to page 20, I will type number 20 into small input and then hit "go" button).

@kolacekp Could you introduce a pull request with changes, please? 🙏

@kolacekp Or you can have custom template for paginator (see DatagridPaginator::setTemplateFile() or Datagrid::setCustomPaginatorTemplate()), where you can have your custom form.

@radimvaculik thanks, but I can't find that anywhere in documentation.

It isn't documented very well. Check the source code.

@kolacekp 👀 https://github.com/contributte/datagrid/pull/1135/files

@radimvaculik thanks! I will look into that :)


Gameimage Updater - A tool to update gameimages without rebuilding them

I'm working on a tool to update the flatimages generated by gameimage without having to rebuild the image with the wizard. I'd appreciate suggestions and/or feedback on this. Here's what it would do:

Update flatimage itself.
Update wine or emulators to the latest ones.
Generate a new image as the result (it could be in-place, without generating a new one, but if it breaks there would be no backup).

Just some thoughts that may or may not even be useful:

You mentioned generating a "new image" as opposed to an "in-place" one. This sounds like the safer option (as opposed to manipulating the only image). Creating a backup before editing the original, creating a copy and editing that one, or (if possible) making some kind of restorative state to the image being manipulated (which the tool could fall-back to if an error occurs) might all be viable options.
Perhaps adding functionality to update GOG games via backup installer patch files (which are released by GOG after a recent update for a game). That said, I've personally never actually attempted to use this patching functionality (so maybe such is not possible, or even desirable), but it's a thought.
Perhaps having the ability to add or remove a game from a flatimage with multiple games packed inside would be desirable.
As a matter of future-proofing, if modding becomes something of a future priority, leaving open the ability / possibility for such an updater to allow the user to directly manipulate mod files which they were installed manually.

Again, most of these are just thoughts that came to the top of my head, whether useful / practical or not.


Linux shortcuts no longer appear in Windows start menu

Windows Version
Microsoft Windows [Version 10.0.19044.5247]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Arch Linux
Other Software
GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2)
Repro Steps
n/a
Expected Behavior
Installing programs through pacman should have the Linux shortcuts be available from the Windows start menu.
Actual Behavior
After full system update via pacman -Syu, most shortcuts are unavailable. It is not clear why some are available why others are not. For instance, I have Emacs installed, but it does not appear in the start menu:

Restarting WSL, whether by wsl.exe --shutdown or by disabling the Windows features, did not solve the issue, neither did reinstalling the programs.
Diagnostic Logs
[daedsidog@DESKTOP-OC5833J applications]$ pwd
/usr/share/applications
[daedsidog@DESKTOP-OC5833J applications]$ ls
avahi-discover.desktop  emacsclient.desktop       java-java-openjdk.desktop      org.gnupg.pinentry-qt5.desktop
bssh.desktop            emacsclient-mail.desktop  jconsole-java-openjdk.desktop  org.gnupg.pinentry-qt.desktop
bvnc.desktop            emacs.desktop             jshell-java-openjdk.desktop    vim.desktop
cmake-gui.desktop       emacs-mail.desktop        mimeinfo.cache                 xdvi.desktop
[daedsidog@DESKTOP-OC5833J applications]$ cat emacs.desktop
[Desktop Entry]
Name=Emacs
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=emacs %F
Icon=emacs
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupNotify=true
StartupWMClass=Emacs
[daedsidog@DESKTOP-OC5833J applications]$ cat cmake-gui.desktop
[Desktop Entry]
Version=1.0
Name=CMake
Comment=Cross-platform buildsystem
Exec=cmake-gui %f
Icon=CMakeSetup
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=Development;Building;
StartupNotify=true
MimeType=application/x-cmakecache;
[daedsidog@DESKTOP-OC5833J applications]$

It might be the same problem #9586, though mine seems systemic vs. just a single application.

Okay so, I'm not sure exactly what I did, but since I really needed an Emacs shortcut, I took the CMake one (one of the few that worked) and pasted it as the emacs.desktop, changing only the name and the Exec parameter, then saved it.
That didn't work, at least not at first.
I then created a batch script that would start Emacs from Windows:
wsl bash -c "emacs &"

Th script itself didn't work (started a console and closed immediately), but as I clicked the start menu, I suddenly noticed the Emacs shortcut (with the CMake app image). It appears that all the shortcuts are now visible again, after being absent for two weeks:

I don't know what I did exactly.


added closing tags for code blocks

Added missing closing tags for two code blocks in chapter 2.

@robvet Something looks to be wrong with this PR. Can you create a new PR with just the code block changes?

@robvet Something looks to be wrong with this PR. Can you create a new PR with just the code block changes?

Not sure what PR this is?
Cannot locate it in GitHub.
Can you link to it that resolves.
Thanks
Rob Vettor  | Principal Cloud Solution Architect
| Cloud Native, Microservice, Azure PaaS Expertise
| Microsoft Certified Trainer/Published Author
| CNCF (Cloud-Native Computing Foundation) Speaker Bureauhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cncf.io%2Fspeaker%2Frobvet%2F&data=02|01|robvet%40microsoft.com|4f91ec2c80f148e1d8df08d7cf475847|72f988bf86f141af91ab2d7cd011db47|1|0|637205777651526225&sdata=CrbTGz%2BmGfvfff25gczEOBjRRon13Vo0LmRA7UZQ5tE%3D&reserved=0
| Owner: Microservices with Containers WorkshopPLUS
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>214-707-0584
<EMAIL_ADDRESS> robvet<EMAIL_ADDRESS><EMAIL_ADDRESS>www.thinkingincloudnative.comhttps://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thinkingincloudnative.com%2F&data=02|01|robvet%40microsoft.com|4f91ec2c80f148e1d8df08d7cf475847|72f988bf86f141af91ab2d7cd011db47|1|0|637205777651536180&sdata=A8J9SmdjhA%2BDXPMWSfoBy4QK8JuPeIGF8jV%2FWqfngVI%3D&reserved=0
Co-Author of...
<EMAIL_ADDRESS>From: Genevieve Warren<EMAIL_ADDRESS>Sent: Friday, January 29, 2021 2:33 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Robert Vettor<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] added closing tags for code blocks (#22283)
@robvethttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frobvet&data=04|01|robvet%40microsoft.com|3c09a702176f4930b3de08d8c495006e|72f988bf86f141af91ab2d7cd011db47|1|0|637475491529702665|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=SqqInz7unzTc6QfcQVh5mgpd8nLRf%2FzJs%2FQIuIs%2Fshk%3D&reserved=0 Something looks to be wrong with this PR. Can you create a new PR with just the code block changes?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdotnet%2Fdocs%2Fpull%2F22283%23issuecomment-770034164&data=04|01|robvet%40microsoft.com|3c09a702176f4930b3de08d8c495006e|72f988bf86f141af91ab2d7cd011db47|1|0|637475491529702665|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FRZmvUmm8%2BowdiwoTgIkas%2BIf1PvFOHz%2BEMe64A6BMc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABFIQYHWRTZLGAQHPXDS2O3S4MLN5ANCNFSM4V3I2HIQ&data=04|01|robvet%40microsoft.com|3c09a702176f4930b3de08d8c495006e|72f988bf86f141af91ab2d7cd011db47|1|0|637475491529712622|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=tLzpa1ud6jR14fcuSvH%2BTzPPAj0llnPX29G0FEsLZis%3D&reserved=0.

Not sure what PR this is?
Cannot locate it in GitHub.
Can you link to it that resolves.
Thanks
Rob Vettor  | Principal Cloud Solution Architect
| Cloud Native, Microservice, Azure PaaS Expertise
| Microsoft Certified Trainer/Published Author
| CNCF (Cloud-Native Computing Foundation) Speaker Bureauhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cncf.io%2Fspeaker%2Frobvet%2F&data=02|01|robvet%40microsoft.com|4f91ec2c80f148e1d8df08d7cf475847|72f988bf86f141af91ab2d7cd011db47|1|0|637205777651526225&sdata=CrbTGz%2BmGfvfff25gczEOBjRRon13Vo0LmRA7UZQ5tE%3D&reserved=0
| Owner: Microservices with Containers WorkshopPLUS
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>214-707-0584
<EMAIL_ADDRESS> robvet<EMAIL_ADDRESS><EMAIL_ADDRESS>www.thinkingincloudnative.comhttps://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thinkingincloudnative.com%2F&data=02|01|robvet%40microsoft.com|4f91ec2c80f148e1d8df08d7cf475847|72f988bf86f141af91ab2d7cd011db47|1|0|637205777651536180&sdata=A8J9SmdjhA%2BDXPMWSfoBy4QK8JuPeIGF8jV%2FWqfngVI%3D&reserved=0
Co-Author of...
<EMAIL_ADDRESS>From: Genevieve Warren<EMAIL_ADDRESS>Sent: Friday, January 29, 2021 2:33 PM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Robert Vettor<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] added closing tags for code blocks (#22283)
@robvethttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frobvet&data=04|01|robvet%40microsoft.com|3c09a702176f4930b3de08d8c495006e|72f988bf86f141af91ab2d7cd011db47|1|0|637475491529702665|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=SqqInz7unzTc6QfcQVh5mgpd8nLRf%2FzJs%2FQIuIs%2Fshk%3D&reserved=0 Something looks to be wrong with this PR. Can you create a new PR with just the code block changes?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdotnet%2Fdocs%2Fpull%2F22283%23issuecomment-770034164&data=04|01|robvet%40microsoft.com|3c09a702176f4930b3de08d8c495006e|72f988bf86f141af91ab2d7cd011db47|1|0|637475491529702665|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FRZmvUmm8%2BowdiwoTgIkas%2BIf1PvFOHz%2BEMe64A6BMc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABFIQYHWRTZLGAQHPXDS2O3S4MLN5ANCNFSM4V3I2HIQ&data=04|01|robvet%40microsoft.com|3c09a702176f4930b3de08d8c495006e|72f988bf86f141af91ab2d7cd011db47|1|0|637475491529712622|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=tLzpa1ud6jR14fcuSvH%2BTzPPAj0llnPX29G0FEsLZis%3D&reserved=0.

This is the PR: https://github.com/dotnet/docs/pull/22283

This is the PR: https://github.com/dotnet/docs/pull/22283


[Formatter] formatting improvements

Description:
When formatted returns statement and the check line does not format properly
Here is the sample code before formatting:

Here is what I get after using the Format Document:

Steps to reproduce:
import ballerina/io;
class File {
string path;
string contents;
function init(string p)
returns error? {
self.path = p;
self.contents =
check io:fileReadString(p);
}
}

More valid example is:
import ballerina/io;
class File {
    string path;
    string contents;
    function init(string p)
    returns error? {
        self.path = p;
        self.contents =
        check io:fileReadString(p);
   }
}

which gets formatted to (almost same):
class File {
    string path;
    string contents;
    function init(string p)
    returns error? {
        self.path = p;
        self.contents =
        check io:fileReadString(p);
    }
}

check expression should be indented right
returns error? should be indented right

This is the expected behavior as of now since the formatter preserves user-defined new lines while aligning them to the closest tab.
The intention is to prevent the formatting from being opinionated. For instance, one user might want to indent the returns statement with a single tab whereas another would want to indent it with two tabs. Essentially, we are trying to support this by aligning the user-defined new lines to the closest tab. Since the new line is defined by the user, we can assume that they would have an opinion as to where their new line should start.
However, we could explicitly specify the indentation settings by making it configurable through the editor based on user preference during the implementation of https://github.com/ballerina-platform/ballerina-lang/issues/28234.


Updates documentation for URL(target:) init

This updates the docs for the URL(target:) initializer added by #1178. I've updated all code snippets where we can use this extension and made notice of its use.

Oops I made the PR to master does anyone know if I can change branches or do I have to reopen one? Haven't done that before 😅

Damn misclick, sorry @nanoxd.

Merging this one and starting the big merge. Thanks again, @SD10 :)


alignment

Hi , I have implement Customizable calendar in my project, and it works fine.
But there seems to be some alignment mismatch with week days and date, can u help me sort out this issue.

HI ANY UPDATE


BTC, ETH, LTC, XRP and BCH AUD crypto pairs.

This adds AUD (Australian dollar) configurations for BTC, ETH, LTC, XRP and BCH using the BTCMarkets (btcmarkets.net) exchange. Note that these use jq to parse, so I've updated the readme accordingly. Feel free to convert to using plain AppleScript, I just like this approach more. :)
Preview: https://imgur.com/a/8apKW

Excellent work. Just reviewed the PR and everything looks good. Using jq is fine, infact possibly even better as the repo now shows two ways to get price info via a BTT script.
Thank you so much for you contribution.


Proper Serverpod CLI Development

Describe the bug
As noted in this comment https://github.com/serverpod/serverpod/discussions/2067#discussioncomment-10588583 you need to:

Change the code
Manually search for the Serverpod binary
Delete it
Run the Serverpod activate commands
Test the changes to the Serverpod CLI

Expected behaviour

After changing the code, running dart pub global activate --source path tools/serverpod_cli should trigger a rebuild of the CLI binary with the new changes.

Platform information
Windows, Mac OS
Note
To be noted, not even a dart pub cache clean fix this

Unfortunately, this is not an issue with the Serverpod repo. You can create any dart CLI project and experience the same issue.
Please file this issue on the Dart repo instead.

@SandPod Are you kidding? That doesn't make sense.
Why not creating a script that automatically does this?
And if that is true:

create any dart CLI project and experience the same issue
At least

This issue started just a couple of weeks ago and I'm guessing there is something wrong with a recent release of the Dart pub tooling.
The issue is tracked here: https://github.com/dart-lang/pub/issues/4295
We normally try and stay away from creating workarounds for real issues with the Dart tooling. You are free to create a script and post it here or in the forum if you get something working.


Whisper - When editing a message and change chat to other person and back it says undefined

The message preview is also empty after this.

Now it says message not found instead of undefined, but should simply not be an issue in the first place. just clear the selection or make it work, but message not found isn't ok.

Only if it's an easy fix.


please remove [Where T: class] constraint for ConvertTo<> function

Please remove the please remove [Where T: class] constraint for ConvertTo<> function. It is causing downstream issues, with calling this function (within generic methods that do not have this constraint)
Please change the function to:
  public T ConvertTo<T>()
    {
        if (!Exists)
        {
            return default(T);
        }
        return (T) ValueDeserializer.DeserializeMap(Database, Document.Fields, typeof(T));
    }

=========================================================
NOTE:  I removed the [Where T: class] , and changed to return default(T)
==> you only need the T: class constraint, becuase you wanted to return null.
==> but your valueserializer works any T, so there is no need for this constraint.
Default(T) will return null if T is class.

I'm somewhat in two minds about this.
The constraint is intentional, in that we don't support convert documents to value types - and if you try for a non-existent document and end up with a valid value (e.g. 0) that's not ideal by any means.
On the other hand, I do see how it's annoying.
The situation becomes more complex with C# 8:

With the constraint, we can make the return type T? which would correctly express the intent
Without the constraint, the method signature would effectively express that the return type is non-nullable when T is non-nullable, despite us returning a null value.

I'm currently minded to make the requested change, but with a bunch of extra unit tests to document the behaviour. I'm asking internally to see how this affects anything else.
I'd suggest closing #2844, and once I've decided on a course of action I can implement it with the extra tests. This also means we don't need to work out why the CLA signing isn't working.

thanks much. I Per your request, I have closed 2844.

this works now in version 1.0.0-beta19.  You are awesome. thx!


Cleanup DM invite webpage

DM invite links need the same cleanup we did for group invites. This can be patterned directly off of the QR share sheet in the app.
Slack Message

@saulmc @alexrisch I have updated the design implementation to mimic the group invite screen, also retrieved the preferred user profile picture from either Converse or the user's social media profiles, see the screenshot below

😍😍😍


Add ability to set publisher information

Some applications, such as GIMP, are official packages and just have a generic "Flathub maintainers" publisher which is misleading for users. We need some system for admins to manually toggle an application as official and present that in some form.

Duplicate of #48?


feat(sources): Add open telemetry logs source

This adds our pipeline open telemetry logs source as a Terraform resource.
Ref: LOG-18101

oh yeah, this is experimental.  Drafting this PR.

Going to close in lieu of a consolidated OTLP Source in TF.


Formatting: negative numbers in red

It would be great to have an option for a different formatting if a number value is negative.

Here is an example in Kotlin using odfdom:
https://github.com/andreas-mausch/haspa-camt052-to-csv/blob/00097d577ec02b09020007a1cbcdb37374ce3d18/haspa-parser.kts#L234-L257

I think it should be possible.  Will look into it at the weekend.

I add example/negative_number_red.rs with a solution.
I'm publishing 0.16 for this, because of course there still was a bug.

done


FP16 causes NAN after optimizer.step

Hi, Thanks a lot for this repo!
I find this problem when I tried to train this model. If the precision of model is FP16, the loss becomes NAN.
But FP32 will fix the problem.  However we use V100 for training, FP32 will cause Out of Memory.
Any solution here?

Hi, loss Nan might be caused by training data or learning rate, etc. You should check your data, or lower your learning rate perhaps.

Hi. Increasing the adam_epsilon may help. The current value for adam_epsilong is 1e-8, which may be too small for fp16.


[WIP] Make the 'v3' api path relative to root prefix

ie, available_versions on GET /api/automation-hub/
is {'v3': 'v3/'} instead of {'v3': '/api/automation-hub/v3'}
so ansible-galaxy can use it as a relative path to it's
configured server url.
For ex ansible.cfg:
[galaxy_server.local_hub]
url=http://localhost:5001/api/automation-hub/
ansible-galaxy will have to check '/' for api root
now, and use the value of available_versions to
find the right api path.

Only lightly tested with a modified ansible-galaxy (that checks for api version at {configured_url}/ instead of {configured_url}/api.  That kind of breaks talking to /v1 /v2 servers though.


Add ability to change SWAP and QUOTE endpoints via env vars

Trying to make it easier for people to depend on less centralized infra for Jupiter.

Hello, sorry for the delay. I've updated the code thanks to your contribution. You can now change endpoints for SWAP, QUOTE, etc.
https://github.com/0xTaoDev/jupiter-python-sdk/commit/a9f7d51d2655c29d9ac56c2891385407af82d5ee

@0xTaoDev This is great, we had a README update as well - can we get that merged in?


After adding minimum date scrolling is not getting selected on the very first time.

Hi @mmazzarolo , Here is my code:
<DateTimePicker
isVisible={this.state.isVisible}
onConfirm={this.handlePicker}
onCancel = {this.hidePicker}
mode = "datetime"
is24Hour={false}
minuteInterval={30}
minimumDate={this.state.minimumDate}
maximumDate={this.state.maximumDate}
                        />

The issue is, when the user is selecting a date & time, them modal appears and on the very first time when the user scrolls the date, the date needs to be selected as random date on scrolling but it is not getting selected and it comes back to current date but when the user selects for the second time it works fine. The issue is in adding minimum date or  when the modal appears it is giving problem on scroll. Please help on this asap
Please find below the GIF and check the flow as , i have described above.

@Akshaykapadi please follow the issue template guideline before creating a new issue:
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample or share a project that reproduces the issue.
Please follow the guidelines for providing a minimal example: https://stackoverflow.com/help/mcve
We cannot fix a bug without a minimal reproducible example.


Header Version Reader showing up as query parameter in Swashbuckle/Swagger

I've configured api versioning and set my options to use HeaderAPIVersionReader:
GlobalConfiguration.Configuration.AddApiVersioning(options =>
                {
                    options.ReportApiVersions = true;
                    options.DefaultApiVersion = new ApiVersion(1, 0);
                    options.AssumeDefaultVersionWhenUnspecified = true;
                    options.ApiVersionReader = new HeaderApiVersionReader("api-version");
                });

But it is showing up in swagger as a query parameter and hence confusing end users:

What am I missing to get this showing up as a header parameter?

Have you added the API versioning flavor of the API Explorer? This is required to populate the information correctly in Swagger. I assume that you probably have.
The issue is more likely a problem with using a header in Web API. Unfortunately, the ApiParameterSource defined by Web API only supports the values FromUri, FromBody, and Unknown. This is clearly a significant oversight in Web API. The API Explorer really has no good alternative for headers, so the source is mapped to Unknown. Since Swashbuckle doesn't know what to do with Unknown to falls back to assuming the query string. This should be the behavior that you're seeing.
To workaround this limitation, you'll need to create and register a custom IOperationFilter. For example:
public class UpdateParameterSource : IOperationFilter
{
  public void Apply(
      Operation operation,
      SchemaRegistry schemaRegistry,
      ApiDescription apiDescription )
  {
      foreach ( var parameter in operation.parameters )
      {
          var descriptions = apiDescription.ParameterDescriptions;
          var description = descriptions.First( p => p.Name == parameter.name );

          if ( description.Source == ApiParameterSource.Unknown )
          {
              parameter.@in = "header";
          }
      }
  }
}

I hope that helps.

@commonsensesoftware Thanks, that's exactly what I needed. Is this the case with the core equivalents for api versioning? Just so that I'm aware to look out for this in all cases.

This issue does not apply to ASP.NET Core. The ASP.NET team did a much better job of thinking this through and there are many locations for parameters. As a basic example, Web API only had FromUri, but that doesn't indicate whether the descriptor is from the path or query string. Swashbuckle detects the difference by determining whether the descriptor is also a route parameter. In ASP.NET Core, the descriptors clearly indicate if they come from the path or query string.


Updates to Alpine Dockerfile

Added the bind-tools packages to improve DNS lookup.
Run apk upgrade -U to get any latest core package updates. Source: here
Merge the pip install of apprise into the previous RUN command to eliminate 1 Layer from the final image.
May help with #295

Since I don't want to compile node-sqlite3 again, unless you have a strong reason, I don't want to modify the command.
As discussed in #295, bind-tools may be just a cli tools, I can't see how it improves the dns lookup.
And base image is already using the latest alpine 3.12, not necessary to upgrade.

Sounds good! Closing


Tooltip for labels of string/int/float settings are missing

current behavior:
when you hover the mouse over a settings LABEL, you can see the tooltip for that setting for keybinding setting and bool setting (checkbox). But when you try the same for string, int and float settings, no tooltip will appear.
expected behavior:
the settings tooltip is always visible. even for string, int and float settings,
example:
good: tooltip visible for bool settings when hovering over the label:

bad: no tooltip visible for int setting when hovering over the label:

I'll have a quick look at this. Thanks for reporting. :)


[Fix]modify yarn.application.status.address

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

@zjw-zjw This problem has been fixed in #5393, and not just this one file and the one item


Change output file name as we drop the temporary woff2 file

As we're not using a temporary woff2 file, change the output file name, by adding -subset, . subset... to the original file name.
It should be easier to spot the 'original' and the 'subset' fonts.
See #3.

implemented in #9


perfecto-upload 0.0.4

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[ ] I will not move an already shared step version's tag to another commit
[ ] I read the Step Development Guideline
[ ] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[ ] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[ ] I read and accept the Abandoned Step policy

Commit message says about version 0.0.2 but PR title 0.0.4. Something is inconsistent.


Fuzzy Match of Term Combinations

My task is querying medical texts for institute names using a rule as below:
[{'ENT_TYPE': 'institute_name'}, {'TEXT': 'Hospital'}]
The rule will extract the hospital name only if it is bound by the word 'Hospital', including for example "Mount Sinai Hospital" but excluding "Mount Sinai".
spaczz works great for single term or phrase but I did not see an option to build multi-words rules as in the rule above.
Can I use scpaczz to identify typos for this entity, for example, "Mount Sinai Mospital"?

Hi @ronyarmon, thank you for your interest in spaczz! I believe you are asking for matching control in spaczz similar to spaCy's Matcher (token level patterns that support multiple tokens and token attributes). If so, I am actively working on this feature as requested in issue #24.
Seeing that I have already started documenting my progress on that issue, I am going to mark this as a duplicate. If you feel that this request is significantly different and/or I am misunderstanding you please let me know. If you agree with my assessment, I will close this issue in a few days and use issue #24 to track progress on this feature.
Hope that helps!

Thanks for your reply, my question is indeed a duplicate, I'll follow issue #24 but will try to explore the Cython source as well.

Closing as duplicate. Please see issue #24 for updates/developments.


recreate_plot should take a figsize argument

It would be lovely to be able to take a figsize in recreate_plot so as not to end up with a miniscule plot. When I work out of interactive mode (e.g. when I work in emacs), I'd like to be able to simply construct the plot at the size I want via an interface like:
plotter, fig, ax  = recreate_plot(train_metrics=train, test_metrics=test, figsize=(8, 12))

rather than:
plotter, fig, ax = recreate_plot(train_metrics=train, test_metrics=test)
fig.set_size_inches(8, 12)

This is already in LivePlot.__init__!! I have no idea why I didn't expose this to recreate_plot...
Will incorporated soon

recreate_plot no longer exists, you can now do:
>>> plotter = LivePlot.from_dict("your_old_plotter.pkl")
>>> plotter.plot()

That being said, figsize is now a set-able property on LivePlot!
1d67215


Add support for Cupertino widgets and all the adaptive widgets

I checked one of the issues in flutter_quill and he/she was having an issue when using flutter_quill in the FluentApp(), when I tried to encounter that issue, and it was not directly related to the Flutter QuillEditor however I have encountered another issue when using adaptive widgets in FluentApp like AdaptiveTextSelectionToolbar() which is official from flutter team, we will get crash since Cupertino localizations is required and Fluent app doesn't include it so the devs have to override the localizationsDelegates with the following

  localizationsDelegates: const [
        DefaultCupertinoLocalizations.delegate,
        DefaultMaterialLocalizations.delegate,
        DefaultWidgetsLocalizations.delegate,
        FluentLocalizations.delegate,
      ],

when using FluentApp.
Before:

After:

I also changed the default scroll bar for the Axis.vertical on macOS and iOS to CupertinoScrollBar which looks better, in my opinion, all the users who are used to using Apple products, of course you can reject these changes but the DefaultCupertinoLocalizations is already included by default in flutter_localizations and it's imported already so I don't see if there is a reason to not using it, that is up to the maintainers of this package
Suggestion:
Why we are not using the ScrollBar (material version) widget as default for Android and Fuchsia OS??
Pre-launch Checklist

[x] I have updated CHANGELOG.md with my changes
[x] I have run "dart format ." on the project
[x] I have added/updated relevant documentation

You may need to rebase

You may need to rebase

Please take a look at scroll_pos change log
it has a breaking change
so I updated it to the latest version

Hi again, You might want to consider replying to this suggestion if possible:

Why not use the ScrollBar (material version) widget as default for Android and Fuchsia OS??

Please take a look at scroll_pos change log
it has a breaking change

#947 has fixed this. Please revert

Please take a look at scroll_pos change log
it has a breaking change

#947 has fixed this. Please revert

Done


Go Buildpack Test Suite not passing when run in dyno

Hi, I'm running the heroku go buildpack test suite in a dyno as per the instructions in https://github.com/heroku/heroku-buildpack-testrunner#running-buildpack-tests-on-heroku, and the test suite does not pass. Is there some configuration or run step that I am missing or is this the current expected state of the test suite?
$ pwd
/Users/user/workspace/heroku-buildpack-go

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

$ heroku create --buildpack https://github.com/heroku/heroku-buildpack-testrunner
Creating app... ⬢ powerful-ocean-53670
Setting buildpack to https://github.com/heroku/heroku-buildpack-testrunner... done
https://powerful-ocean-53670.herokuapp.com/ | https://git.heroku.com/powerful-ocean-53670.git

$ git push heroku master
Everything up-to-date

$ heroku run tests
Running tests on radiant-cliffs-88419... up, run.3260

BUILDPACK: .
  TEST SUITE: compile_test.sh
  testCompileGodepsApp
  ASSERT:Expected STD_ERR to be empty; was < !
   !     Deprecated or unsupported version of go (go1.1)
   !     See https://devcenter.heroku.com/articles/go-support#go-versions for supported version information.
   !
   !     Installing package '.' (default)> expected:<> but was:< !
   !     Deprecated or unsupported version of go (go1.1)
   !     See https://devcenter.heroku.com/articles/go-support#go-versions for supported version information.
   !
   !          Godep, GB or govendor are required. For instructions:
   !     https://devcenter.heroku.com/articles/go-support> expected:<> but was:< !     Godep, GB or govendor are required. For instructions:
   !     https://devcenter.heroku.com/articles/go-support>
  ASSERT:should install default Go version
  ASSERT:should recommend godep
  ASSERT:should install Virtualenv
  ASSERT:should install Mercurial
  ASSERT:should install Bazaar
  ASSERT:should run go get

  Ran 2 tests.

  FAILED (failures=10)
  3 SECONDS

  TEST SUITE: detect_test.sh
  testDetect_NotFound
  ASSERT:expected:<no> but was:<>
  testDetect_Go
  ASSERT:Expected captured exit code to be 0; was <1> expected:<0> but was:<1>
  ASSERT:expected:<Go> but was:<>

  Ran 2 tests.

  FAILED (failures=3)
  0 SECONDS

3 SECONDS

------
FAILURES (see individual results for details)
3 SECONDS

Thanks for your time and clarifications.

I need to remove the test directroy as those tests aren't run. I currently use a set of internal integration tests.

Reference: removed via https://github.com/heroku/heroku-buildpack-go/commit/80fa62172f00aeabe240f2bc9d05f94d68824e7a
@freeformz can I ask why those integration tests are internal? It'd be great to have those be open to the community as we'd be able to make pull requests with greater confidence after having checked them against the test suite.

@RochesterinNYC They are internal because the testing framework is internal. I'll probably steal some stuff from the nodejs buildpack, which uses Docker and shunit and just start re-doing the tests as the buildpack is getting more complex these days.

For clarity ... The buildpack should have a bunch of public unit tests as well as the internal integration tests.

Oh okay, this is a different testing framework from https://github.com/heroku/heroku-buildpack-testrunner?
And I'm not sure what you mean by the public unit tests? Are they located somewhere in this repo?

@RochesterinNYC should, meaning they need to be written.

@RochesterinNYC Here is a start #123


The DPO reward accuracy value is only 0 or 1

Has anyone face with problems that the DPO reward accuracy value is only 0 or 1？Rewards/accuracies is always 0 or 1 during the training process, but this should not be the case for a batch calculation

Thanks for reporting. Please provide more info, like the training arguments etc


Launching iOS 9.3 Simulator stuck (withOptions:FBSimulatorBootOptionsAwaitServices)

If you boot a 9.3 Simulator with options FBSimulatorBootOptionsAwaitServices, it fails because com.apple.cloudd never gets launched. Example failing test case:
diff --git a/FBSimulatorControlTests/Tests/Integration/FBSimulatorLaunchTests.m b/FBSimulatorControlTests/Tests/Integration/FBSimulatorLaunchTests.m
index 31d6ab4..ef1547c 100644
--- a/FBSimulatorControlTests/Tests/Integration/FBSimulatorLaunchTests.m
+++ b/FBSimulatorControlTests/Tests/Integration/FBSimulatorLaunchTests.m
@@ -52,6 +52,12 @@ - (void)testLaunchesSingleSimulator:(FBSimulatorConfiguration *)configuration
   [self.assert shutdownNotificationsFired:launchConfiguration];
 }

+- (void)testLaunchesiPhone93
+{
+  self.simulatorLaunchConfiguration = [self.simulatorLaunchConfiguration withOptions:FBSimulatorBootOptionsAwaitServices];
+  [self testLaunchesSingleSimulator:FBSimulatorConfiguration.iPhone5.iOS_9_3];
+}
+
 - (void)testLaunchesiPhone
 {
   [self testLaunchesSingleSimulator:FBSimulatorConfiguration.iPhone5];

We should probably remove the dependency on com.apple.cloudd.

@plu Mind putting a PR up?

Ok thanks, PR coming up :).


Updating a custom field containing unicode data triggers an internal server error.

When using the code below, an internal server error is triggered in NetMRI:
import infoblox_netmri

netmri = infoblox_netmri.InfobloxNetMRI(
    host='infoblox-netmri',
    username='xxxxxxx',
    password='xxxxxxx',
    api_version='3',
    ssl_verify=False
)

params = {
    'DeviceID': 1234,
    'custom_somefield': 'somê tèxt'
}

netmri.api_request("devices/update", params)

Error message:
Encoding::CompatibilityError in Api/devicesController#update incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string

When doing this update via a GET request, it is working:
https://infoblox-netmri/api/3/devices/update?DeviceID=1234&custom_somefield=somê tèxt

I have a case open with Infoblox for this<PHONE_NUMBER>33) as I would expect this to be possible via a POST request. But nothing is moving via that channel.
I also do not know the exact implications of changing this line into making a GET request instead. Could be other sorts of requests will fail.

@johnbelamaric Any suggestions on how to fix this?
Fix the issue in NetMRI? Or only make GET requests in this package?

NetMRI API is indifferent to those (though apparently there is some issue with the POST). The GET is fine as long as the query string doesn't exceed the limit, which is 2k if I remember correctly.

You should be able to change that to GET, but it could be an issue for very large queries. Ultimately we should fix the issue in NetMRI.

Meanwhile this got fixed with hotfix NETMRI-28761


Survey Form Project

Project title
A sample Survey Form
Project Description
I'd like to add a Survey Form Project which is a basic level web development project. Additional feature includes an alert box that alerts you when the form is successfully submitted after you hit the submit button.
Stack:

[X] Html
[X] CSS
[X] JavaScript

/assign


v1.2.3

Changes
#603 - clearer means of undoing scores
Bug fixes
#596 - issues proposing fixtures with cross-division shared addresses
#601 - fix for detecting unbeatable players
#606 - prevent recording invalid scores with enter key press
#598 - use prescribed season for tournament fixtures
#600 - fix link between labels

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

47 of 54 (87.04%)  changed or added relevant lines in 6 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.09%) to 96.335%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

CourageScores/ClientApp/src/components/division_fixtures/sayg/PlayerInput.js
11
14
78.57%

CourageScores/Services/Season/Creation/AddressAssignmentStrategy.cs
25
29
86.21%

Files with Coverage Reduction
New Missed Lines
%

CourageScores/ClientApp/src/components/division_fixtures/sayg/PlayerInput.js
1
93.64%

CourageScores/ClientApp/src/components/division_fixtures/sayg/PreviousPlayerScore.js
1
90.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
8663

Relevant Lines:
8735

💛  - Coveralls


Some var declarations not being collapsed into a single var declaration

@MatrixFrog After your commit https://github.com/google/closure-compiler/commit/89c8747df70a7a25af1623d71057db50ba841248 I get some var declarations not being collapsed into a single var a,b,c; declaration which leads in increasing the compiled code size. Is it intended?
Zipper.prototype._setDosDateTime = function() {
	/** @type {!Zipper} */
	var me = this;
	/** @type {!Date} */
	var date = new Date();
	/** @type {number} */
	var ret = 0;

	ret |= (date.getFullYear() - 1980) << 25;
	ret |= (date.getMonth() + 1) << 21;
	ret |= date.getDate() << 16;
	ret |= date.getHours() << 11;
	ret |= date.getMinutes() << 5;
	ret |= date.getSeconds() >> 1;

	me._dosDateTime = ret;
};

Before your commit this method was compiled into:
function xc(a){var b=new Date,c;c=0|b.getFullYear()-1980<<25;c|=b.getMonth()+1<<21;c|=b.getDate()<<16;c|=b.getHours()<<11;c|=b.getMinutes()<<5;c|=b.getSeconds()>>1;a.Ec=c}

And now I get (notice the double var declaration):
function xc(a){var b=new Date;var c=0|b.getFullYear()-1980<<25;c|=b.getMonth()+1<<21;c|=b.getDate()<<16;c|=b.getHours()<<11;c|=b.getMinutes()<<5;c|=b.getSeconds()>>1;a.Ec=c}

We knew that change would increase code size slightly in some cases, but I'm surprised by this one. Will take a look.


v0.4.22 release added

Signed-off-by: Ishan Sourav<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

So should i take back this pull request and make a request only after committing all 18 entries?

You can add new commits to this branch and those commits will reflect in this PR.

I am not able to find any information regarding releases between v0.4.4 and v.4.22. Also my last commit was a mistake as i added v0.4.21 and v0.4.20

@ezioishan here you are - https://github.com/layer5io/meshery/releases - information about the prior releases.


default edit template is problematic

The standard permissions set on our Jira instance do not allow for update of reporter. I'm fairly confident this will be a commonplace limitation for unprivileged users.
This means that every 'edit' operation initially fails with:
{"errorMessages":[],"errors":{"reporter":"Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown."}}

I appreciate that a custom edit template can be provided to remove this, but in my mind it makes more sense for the default edit template to fit a lower common denominator.

Closing this issue, the edit and create templates were modfied to only show reporter if it is a valid metadata field.
-Cory


Diagnose API23 crash issue

Zero in on the web3j code that is crashing when we use API23.

Reproduce: Ran an API23 emulator and run the app. It will crash, probably in ticker service when it tries to call the smart contract.
Make it work: Use an older version of web3j (maybe 4.6.0-android or 4.2.1-android). You will have to remove the web3j library dependency and restore the web3j import from Maven. You may have to resolve (or remove eg the 1559 transactions).
Make it work using the local web3j builds. Use this repo: https://github.com/AlphaWallet/web3j follow the build instructions and copy the abi library into the alpha-wallet-android project.
Work out which part of web3j is the culprit, and see if it's possible to back-port just that code (that is, a mix of the forked web3j on the AW repo and the old web3j source).

This may be just a write-up, but ultimately if you can solve the issue it would be very valuable.

@JamesSmartCell

As api 23 doesnt support most of java8 features I had to use web3j-3.3.1-android. I updated it with the additional code required in AW. There are 2-3 minor code updates in AW.
We only need to use the web3j:core module as it uses java8 code. Other modules are from AW web3j repo and they work fine. Also need to rename the core jar from core-3.3.1 to core-4.8.8 due to gradle error - not sure why.
Fixed crashes using modded web3j-3.3.1-android with additional classes and methods from Web3j-4.8.8-android required by AW
Modded Web3j-3.3.1: https://github.com/asif-finimble/web3j-AW-backPort