Issue escaping Single quote

Below is the plural message being used. But, when generating the ARB file, the single quote is not escaping. Similary, I also used double quotes to use the single quotes. That didn't give desired result  either.
Intl.plural(
        numberOfOranges,
        zero: "You\'ve got zero orange.",
        one: "You\'ve got $numberOfOranges orange.",
        other: "You\'ve got $numberOfOranges oranges.",
        name: 'getOrangesText',
        args: [numberOfOranges],
      )

ARB: app_en.arb
{
  "@@last_modified": "2021-12-23T12:15:56.804292",
  "appTitle": "Home",
  "@appTitle": {
    "description": "Application title/name",
    "type": "text",
    "placeholders": {}
  },
  "helloWorld": "Hello World!",
  "@helloWorld": {
    "description": "Hello World message",
    "type": "text",
    "placeholders": {}
  },
  "getOrangesText": "{numberOfOranges,plural, =0{You''ve got zero orange.}=1{You''ve got {numberOfOranges} orange.}other{You''ve got {numberOfOranges} oranges.}}",
  "@getOrangesText": {
    "type": "text",
    "placeholders": {
      "numberOfOranges": {}
    }
  }
}

Doubling quotes is the ICU escape format, which is what is being used
there. So that seems fine, and should work as expected in use.
On Thu, Dec 23, 2021 at 1:38 AM Suman Adhikari @.***>
wrote:

Below is the plural message being used. But, when generating the ARB file,
the single quote is not escaping. Similary, I also used double quotes to
use the single quotes. That didn't give desired result either.
Intl.plural(
numberOfOranges,
zero: "You've got zero orange.",
one: "You've got $numberOfOranges orange.",
other: "You've got $numberOfOranges oranges.",
name: 'getOrangesText',
args: [numberOfOranges],
)
ARB: app_en.arb
{
"@@last_modified": "2021-12-23T12:15:56.804292",
"appTitle": "Home",
@.": {
"description": "Application title/name",
"type": "text",
"placeholders": {}
},
"helloWorld": "Hello World!",
@.": {
"description": "Hello World message",
"type": "text",
"placeholders": {}
},
"getOrangesText": "{numberOfOranges,plural, =0{You''ve got zero orange.}=1{You''ve got {numberOfOranges} orange.}other{You''ve got {numberOfOranges} oranges.}}",
@.***": {
"type": "text",
"placeholders": {
"numberOfOranges": {}
}
}
}
—
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/intl_translation/issues/153, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2QU6GXQMMA3GXB7UK5ZJTUSK7UTANCNFSM5KUC6HWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Multiple confirmations of the same owner break the flow

How to reproduce
using owner-1

I transfer token from safe to address

using owner-2

confirm the transaction. that makes 2 confirmations. but i "unticked" the option of executing the requested transaction
i wanted the owner-1 to execute it

using owner-1

execute tx
error happened.

https://etherscan.io/tx/0x4db73bd8ef24be0f1ef7a8f9e0898f1d206fa491128cdec0af4560f745844eb9
using owner-2

tried to execute tx
success

Why does this happen / how to fix it
Multiple confirmations of the same owner are added and therefore the signature check fails.
Confirmations should be deduplicated in the client. (The service will not return duplicates in the future, but we should always properly format the signatures)
See for reference: https://github.com/gnosis/safe-react/pull/176/files#diff-ef0f0947b1e02c49ce3ec4a054e34200R46

Wasn't able to reproduce this. Did the refactor already solve this?

I would be interested in how you tried to reproduce this with the Safe react interface :D

@rmeissner you fixed it in #163, didn't you?


Attach multiple components of the same type.

Is it possible to attach multiple components of the same type to an entity?
SCENARIO 1 (entity with multiple textures)
In modern OpenGL, array textures has taken over the old texture atlases. This "forces" you to use textures of same size.
 But there are also plenty of sprites of different sizes. You would need to attach multiple Texture/Sprite/Appearance components to an entity, to make it look bigger. For example a door need an upper and lower part, both with an offset in position.
SCENARIO 2 (entity with multiple shapes)
When doing collision detection, you usually attach Shape/Hitbox components to an entity.
To describe more complex geometry of an entity's body, you need multiple shapes. For example a square and a circle with an offset in position.
These two scenarios would fit perfectly with how systems operate on components, for example a renderer just wants to iterate over the Texture components, not over entities.
I did find some similar problems other programmers had (https://github.com/alecmce/xember/issues/12 and https://github.com/sschmid/Entitas-CSharp/issues/56), but I'm not sure if those were really "component" material.
I've been struggling with this for a week now, trying to find a good solution.
At first I just had a std::vector in TextureComponent, but it didnt feel good to abuse my CPU with cache misses. A std::array would work, but since most entities only have one texture, that also felt crazy.
In my current solution, for example; A main entity (the door) which has Physics and Sheet component. Plus two "entities" (the upper and lower part of the door) which only has a Texture component each. The sheet component is a std::vector with references to its childrens. The main entity doesnt contain any texture information at all.
The entity count will raise quickly with the current solution.
Is this something that could be added to this framework? Or do you have a better solution to my problem?
Great job on this framework. Also, I would love to put my project in the readme, once its done!

Is it possible to attach multiple components of the same type to an entity?

No. By design. Internal data structures of a registry (namely sparse set) aren't intended for that use. EnTT won't support such a feature any time soon, I'm sorry.

SCENARIO 1 [...] For example a door need an upper and lower part, both with an offset in position.

You can just make a door component that refers to other entities and describe the upper and lower parts through those entities.
Next question on the line: what if not all the doors are multi parts? Define two components, SimpleDoor and MultiPartsDoor and assign the right component to the right entity. A simple door can become a multi parts one (remove a component, assign the other one, creates two entities and that's all).

SCENARIO 2 [...] For example a square and a circle with an offset in position.

As above, I would do it through children. Put the parent entity in the children and performs collision using the latter ones. Only in case of collision detected you have to walk to the parent and thus you can incur in cache misses.

The entity count will raise quickly with the current solution.

Define raise. Unless you have some 100k entities so far, it cannot be a problem. A game that uses 10/20/30k entities at runtime isn't a big problem and pretty common.

Is this something that could be added to this framework? Or do you have a better solution to my problem?

Nothing to add to support multiple components, it doesn't worth it. Problems it pulls in are much more than those it solves from my point of view.
I'm willing to help you if you need. Feel free to contact me whenever you want. ;-)

Thank you so much! I'll be back :)

Great job on this framework. Also, I would love to put my project in the readme, once its done!

Thank you. I hope you are enjoying EnTT.
Let me know when your project is done and we can add it to the readme. Is it online or a private one?

Side note: I'd close the issue if it's fine for you.
There is no chance we can add multi components support to EnTT without rewriting it, so it doesn't worth it to keep the issue open.
Any problem your side?

Currently, its private :)
Close it, but where do I ask questions, if needed? IRC or Email?

Options are:

Continue writing here: a closed issue can still be used to discuss, even though it doesn't end in new features or bug fixing.

Open new issues with proper titles for different questions: they can help future users if you got an answer.

Mail: you find mine in the profile section.

Thank you for asking.

Set aside the fact that you cannot have it  in EnTT, if was you I would go for a pure ECS approach and stay away from multiple components on a single entity. It's easier to some extent for programmers, less machinery in general, but it pulls in a lot of new and more complex problems.
My two cents. Parent-child relationships can easily solve it in a more elegant and consistent way. ;-)

Hi, I have a question about "creating a component that uses other entities as children".
How would you model something like a variable cluster grenade, where a single grenade would be able to spawn a variable amount of timed cluster explosions?
The children, aka, the explosions would all have their own single timed effect, etc, but what about the parent?
If I wanted a cluster bomb that could have between five and ten explosions, would I need to create five components for that?
As in, ClusterOfFive, ClusterOfSix [...] ?
Or Something like
ClusterBomb with a std::vector of explosion entities?
But using vectors would make the need of child entities less important, wouldn't it?
I'm new to this, so the analyzation paralysis I have makes it harder to reason even though it feels like this should be an easy thing...lol.
So I'm asking here.

@Lovewyrm is #253 what you're looking for? It seems to me the problem is exactly the same.
All what you need is to create other entities and attach them a component like this to create an implicit list of children:
struct hierarchy {
    entt::entity parent;
    entt::entity next;
    entt::entity prev;
};

Then assign to the parent a component that points to the first child:
struct children {
    entt::entity first;
};

Avoid using types that allocates dynamically in your components (eg the std::vector).

I'm writing a post on this topic with an example made with EnTT. I'll publish it here when ready. :+1:

Parent-child relationships can easily solve it in a more elegant and consistent way.

Its similar to relational databases. For example, I could do something like this in Postgres:
CREATE TABLE foo (
    id SERIAL PRIMARY KEY,
    frobs INTEGER[]
);

Eg:
SELECT * FROM foo;
id  | frobs
----+-----
0   | {1, 2, 3}
1   | {}
2   | {2, 4}

That is, a foo contains an array of frob's. This would be like adding multiple frob components to a single foo entity.
Alternatively, you could do something like this:
CREATE TABLE foo (
    id SERIAL PRIMARY KEY
);
CREATE TABLE frob (
    foo_id INTEGER REFERENCES foo (id),
    value INTEGER
);

Eg:
SELECT * FROM foo;
 id
----
 0
 1
 2

SELECT * FROM frob;
 foo_id | value
--------+--------
 0      | 1
 0      | 2
 0      | 3
 3      | 2
 3      | 4

So, in EnTT, you could think of each entity as a relation/row and each component as a column. Then, instead of having an array of components attached to an entity, you could instead have multiple entities with a "foregin key" to the parent entity.
Just like in SQL, using arrays is more compact and simple, but normalising has its own advantage: you can now iterate through frob separately from foo (the parent entities), which might save you from accessing data which you don't need saving on cache misses, but also its separation of concerns. At the expense of having to walk the tree sometimes.
Anyway, my point is ECS and relational databases have a lot in common and sometimes thinking about your entity/component model in terms of relational data/SQL can be useful. I've heard ECS be described as a subset of relational that is optimised for a particular segment of use cases. I think I agree.

Anyway, my point is ECS and relational databases have a lot in common and sometimes thinking about your entity/component model in terms of relational data/SQL can be useful. I've heard ECS be described as a subset of relational that is optimised for a particular segment of use cases. I think I agree.

I gave a talk about this recently. I don't pretend to know all the implications, but definitely some interesting ideas to explore.

@bbi-yggy Oh, that's cool! Thanks for sharing. I love your slides too :heart:

@bbi-yggy the only suggestion I can give you is that the slides let suppose there is an equivalence between a join and whatever but this isn't the case.
Eg when you want to iterate A and B with archetypes, you find instances in archetype A/B as well as A/B/C or A/B/D and so on, you don't have a single table with all the instances. Similarly with sparse sets where this separation is even clearer.
The parallelism ECS vs SQL is a good one but do not make the mistake of thinking that there is a 1-to-1 equivalence between tables and whatever implementation you decide to use because this isn't the case.

@bbi-yggy the only suggestion I can give you is that the slides let suppose there is an equivalence between a join and whatever but this isn't the case.
Eg when you want to iterate A and B with archetypes, you find instances in archetype A/B as well as A/B/C or A/B/D and so on, you don't have a single table with all the instances. Similarly with sparse sets where this separation is even clearer.
The parallelism ECS vs SQL is a good one but do not make the mistake of thinking that there is a 1-to-1 equivalence between tables and whatever implementation you decide to use because this isn't the case.

There is a 1-to-1 logical equivalence between ECS and (a subset of) SQL, but you are absolutely right this may not be mirrored in the implementation. A relational database is a logical abstraction for data manipulation, with a ton of underlying complexity to optimize and scale the implementation. What is a "single table" when you consider paging, sharding, memory-caching, etc? I don't know a lot about how modern relational databases work, but I bet if I learned more it would give me ideas for ECS optimizations.
Regarding my discussion of the join logic, you are right that I make it look like there's a pre-joined table ready to go with just the results of the join. I should include more archetypes in the example, as you suggest. For now I've added a note to the Unity Archetypes slide.

@skypjack I am currently dealing with the collider (aka collision shape) problem mentioned in the first comment (the issue body) of this issue.
I know I can use child entities (my engine supports that 😎) but there is a problem:
The child should have some components such as TransformComponent , NameComponent and IDComponent which are not used at all and waste memory

@OverShifted do I get it correctly that you're asking me to implement support for multiple instances of the same component? :)

@skypjack No.
It makes no sense to me to have multiple components of the same type on the same entity.
It makes even less sense to only allow it for a subset of components.
For example, Unity allows having multiple Colliders or multiple physics Joints of the same type on the same GameObject; But this is not allowed for SpriteRenderer and many other components
You can help me by answering these questions:

Dose it makes sense (to you) to have multiple sprites or mesh components on the same entity? Why?
Do you have any idea how Unity's "Traditional to ECS Converter" (that script called Game Object Entity) handles converting multiple components of same type to ECS world (which I think is not allowed even in Unity)

It's not really a matter of having multiple instances of the same component attached to an entity. This is highly subjective but also just an implementation detail.
It makes sense to have for example multiple instances of a sprite for the same entity though. You can achieve this in many ways and using the same component is just one of them.

Why?
Entt also allocates dynamic memory for components

I try to avoid it if possible because it's usually difficult to take under control and it adds an extra indirection that can be avoided in many cases.
Though, again, I find this very subjective. So, do what you are more comfortable with until you measure and spot a bottleneck in that particular piece of code.

@skypjack Which way is more elegant in your opinion:

Create one component for colliders which only allows one per entity, but can be added to children instead. The component would look like this:

struct PhysicsCollider
{
    b2Fixture* fixture; // Box2D's equivalent to Unity's collider.
    // In reality; I should also add alot of helper functions.
};

Create a component that has an array of colliders:

struct PhysicsCollider
{
    std::vector<b2Fixture*> fixture;
};

Create a component for each collider type (BoxCollider, CircleCollider, PolygonCollider, ... ) (like Unity)
It is a bit more complex but allows at least one collider of each type on an entity.
But it will require one pool and one system per collider type.

One more question:
ECS means components should be data-only and systems should contain the logic.
But I have a transform component that should update its transformation matrix when position, rotation, or scale has been changed.
Now imagine this code (in a system):
Vector4 somePoint = ...... ;
entity.GetComponent<TransformComponent>().SetPosition(Vector3(0f, 0f, 10f));
// Transform somePoint by entitys transformation matrix
somePoint *= entity.GetComponent<TransformComponent>().GetMatrix();

If the matrix is not updated in SetPosition; then somePoint will be multiplied with the old matrix.
What are the best solutions/practices here?

@OverShifted

Which way is more elegant in your opinion

If you know that you've max N collider types available, I would probably use 2 bit with a fixed size array + counter.

What are the best solutions/practices here?

To not be an extremist about this probably:

ECS means components should be data-only and systems should contain the logic.

Having a SetPosition function (literally an utility function) on your component type isn't wrong at all.
You can make it a free function if you want to be an extremist but the final result won't change. It's just uglier to see and to use. So... :)


SyntaxError: Cannot declare a parameter named 'err' as it shados the name of a strict mode function

I'm running the app in debug and when I use the option to debug in chrome it works fine but otherwise it shows this error and I cannot figure out why

Can you share some code snippets? Generally my thinking is you something similar to this https://github.com/ipfs/js-ipfs-api/pull/199/files

I already changed all my functions's parameters and now it works, it seemed extremely arbitrary, I changed every parameter and now any one of them is throwing the error so I don't know which one was causing the problem, the issue was inside my action Creator files from redux

I think without more information we can't make progress so I'm going to close this issue.


Python not recognized, path not modified

This issue was originally created at: 2014-03-01 04:05:05.
This issue was reported by: mrx23dot.
mrx23dot said at 2014-03-01 04:05:05

Scons Windows installer doesn't look for HKEY_LOCAL_MACHINE:
[HKEY_LOCAL_MACHINE\Software\Python\PythonCore\2.7]
only looks in: HKEY_CURRENT_USER
Also windows installer doesn't add Python\Scripts to PATH.
So cmd> scons is not recognized
We have to add manually.

bdbaddog said at 2014-03-01 12:01:26

The windows installer is built using python setuptools.
This may in fact be an issue with that.

Since the Windows installer is no longer supported, we could mark this Wontfix.


Incompatible @typescript-eslint/typescript-estree dependency

Hello! I just created a new project via npx create-epic-app@latest. I'm running into an error when running eslint locally:
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.2.0

YOUR TYPESCRIPT VERSION: 5.3.3

Please only submit bug reports when using the officially supported version.

=============

From what I can tell, the linting just... isn't running. This also means lint errors don't show up in my editor (VS Code).
The lint task does work when run via Github Actions (which is how I figured this out -- I pushed up a commit with an error and the check failed). I thought maybe npm ci was installing things slightly differently, but I tried that locally and still get the same error. I'm not sure what to make of that? I'm running node v20.9.0 locally, not sure if that'd affect things.
I also tried directly installing the latest version of @typescript-eslint/typescript-estree (which is 7.2.0), but I think the sub-dependency of<EMAIL_ADDRESS>is still winning out?
I re-installed another epic web project just to double-check it wasn't something else I'd done in my main project and see the same thing. So, there's a chance it's just something with my local environment, I suppose? Not sure what that could be besides node version though 🤔.

I know that the Remix team is going to be deprecating their linting config and my personal linting config is pretty dated and a little over-zealous.
I'm planning on putting together and epic eslint config in the future and that should resolve this problem. Hopefully I can get that done in the next couple months.

Oh, and to be clear, the linting is in fact running properly for me. I'm not so certain what the issue is in your setup. Sorry!


Running dlib with cuda support.

How do I enable dlib with cuda support? I installed dlib through pip. Thank you!

Try installing the latest dlib from github.  It should print out more detailed messages about CUDA usage than the copy of dlib in pip.  That will help you get it working with CUDA.

I tried installing dlib with cuda support but encountering following error which installing:
Operating System: Mac 10.11
Xcode(command line tools): 8.2.1
User:build User$ cmake .. -DOpenMP_C_FLAGS=-fopenmp -DDLIB_USE_CUDA=1
-- Enabling AVX instructions
-- Searching for BLAS and LAPACK
-- Checking for module 'cblas'
--   No package 'cblas' found
-- Checking for module 'lapack'
--   No package 'lapack' found
-- Found OpenBLAS library
-- Found LAPACK library
-- Looking for cuDNN install...
-- Found cuDNN: /usr/local/cuda/lib/libcudnn.dylib
-- Could NOT find OpenMP_C (missing: OpenMP_C_LIB_NAMES) (found version "1.0")
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) (found version "1.0")
-- *** Didn't find OpenMP, which is required to use CUDA. ***
-- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
-- Building a C++11 test project to see if your compiler supports C++11
-- C++11 activated.
-- Building a C++11 test project to see if your compiler supports C++11
-- C++11 activated.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/smitshilu/DevelopmentGit/dlib-compile/build

I fixed this exact error by running
brew install llvm
Apparently OpenMP is installed alongside llvm.

@smitshilu ,
Help!
First, thank you for your post.
I looked all over for the install with CUDA command
I got the build files written.
I ran 'make'
I ran 'sudo make install'
But I'm not sure my application using dlib is running on the GPU
Are there other steps to take after this?


Getting historical FX rates.

Code Sample, a copy-pastable example if possible
exchange_rate_df = con.ref_hist("USDHKD BGN Curncy", "PX_LAST", dates=['20170331', '20170406'])
print(exchange_rate_df)

Problem description
I am just trying to get the historical FX rates for two (sufficient for MCVE) dates and I am getting the same values for both dates, which I suspect is the current value. I have looked at the examples in the tutorial and API but I can't see anything specific to this case. What am I missing? Thanks.
Expected Output
2017-03-31            7.7709
2017-04-06            7.7700
Version Information
'0.1.8'

For historical data you should use bdh(), e.g.
con.bdh("USDHKD BGN Curncy", "PX_LAST", start_date='20170331' end_date='20170406')

ref_hist() is intended to artificially create a time series for data from the Blomberg API that does not support historical requests but does support point in time overrides, thus by iteratively making calls with point in time overrides a time series can be patched together. This is slower and much less efficient for data limits when historical data requests are supported such as in this case.
Also for future reference its good to set con.debug = True and post the associated output to indicate what the underlying blpapi library is returning, which makes debugging easier.

Thanks for your input. Can you elaborate on how setting con.debug can indicate what sort of data I am receiving back, specifically whether it is historical or current? What should I be looking out for? The tutorial had one or two examples where the date was overridden and naturally I followed it.
Before the current incident, there was another time that I was using pdblp to get historical weights of the index constituents at the end of the last 12 quarters. I thought I was getting the correct values only to realize much later that the differences were actually second-by-second real-time weight variations of the index due to the price of the constituents changing. It took me ages to debug it and find the right syntax for it.

At it's core pdblp is just a wrapper around blpapi, which is the official Bloomberg maintained library for accessing their API from python. There are times when looking at the raw messages sent and received via blpapi is useful, and setting debug=True will show you these. If the data is coming back and being parsed appropriately but the values do not look like what you expected, than this is likely not an issue with pdblp but something to do with blpapi, such as a mis-specified request.
At a high level if you want historical data, use bdh(), if you want reference data, use ref(). These make underlying HistoricalDataRequests and ReferenceDataRequests respectively. Ultimately if you are trying to make some request that is non standard, there is no getting around reading the underlying documentation for blpapi, which can be found using WAPI in the terminal or using HELP HELP and inquiring about it with Bloomberg.
Below is an example
In [1]: import pdblp
In [2]: con = pdblp.BCon(debug=True, port=8194, timeout=5000).start()
In [3]: con.bdh('SPY US Equity', 'PX_LAST',  '20150629', '20150630')

DEBUG:root:Sending Request:
 HistoricalDataRequest = {
    securities[] = {
        "SPY US Equity"
    }
    fields[] = {
        "PX_LAST"
    }
    periodicityAdjustment = ACTUAL
    periodicitySelection = DAILY
    startDate = "20150629"
    endDate = "20150630"
    overrides[] = {
    }
}
DEBUG:root:Message Received:
 HistoricalDataResponse = {
    securityData = {
        security = "SPY US Equity"
        eidData[] = {
        }
        sequenceNumber = 0
        fieldExceptions[] = {
        }
        fieldData[] = {
            fieldData = {
                date = 2015-06-29
                PX_LAST = 205.420000
            }
            fieldData = {
                date = 2015-06-30
                PX_LAST = 205.850000
            }
        }
    }
}
Out [3]:
ticker      SPY US Equity
2015-06-29         205.42
2015-06-30         205.85


feat(card): align with 2018 material design spec

Aligns the card component with the latest Material Design spec. Also fixes an issue where the border radius wasn't being applied to the image inside the card.

Feedback has been addressed.

Caretaker note: definitely going to be a lot of screen diffs on this one

Removing merge ready as we plan to rework this PR a bit.


problem installing ScnSocialAuth- error message:is not available in a stable-enough version according to your min                                                                                imum-stability setting

hi. i have two issues:
i am trying to install ScnSocialAuth via composer on my zend 2 project but get this error message:
Problem 1
- socalnick/scn-social-auth 1.9.4 requires hybridauth/hybridauth dev-master                                                                                -> no matching package found.
- socalnick/scn-social-auth 1.5.1 requires zf-commons/zfc-base dev-master ->                                                                                no matching package found.
- socalnick/scn-social-auth 1.18.1 requires zf-commons/zfc-user 1.2.* -> no                                                                                matching package found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your min                                                                                imum-stability setting

this is my composer file:
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.3.",
"zf-commons/zfc-user": "~0.1.2",
"doctrine/doctrine-orm-module": "0.",
"zf-commons/zfc-user-doctrine-orm": "0.",
"zendframework/zend-developer-tools": "dev-master",
"slm/mail": "~1.5",
"bjyoungblood/bjy-authorize": "1.4.",
"acelaya/zf2-acmailer": "4.",
"phpunit/phpunit": "4.3.",
"nikolaposa/zf-open-graph": "1.",
"socalnick/scn-social-auth": "1."
}
i tried manually installing the package but then got this error message:
Fatal error: Class 'Hybrid_Auth' not found in \vendor\ScnSocialAuth\src\ScnSocialAuth\Service\HybridAuthFactory.php on line 34
so, i suspect that the package needs to be installed via  composer
would appriciate advise on how to properly install it

i resolved this issue by simply creating a new project . thank you everyone


Create signup.dart

Auth screen added.

Kindly open an issue before so others can know this screen is completed and also attach screenshot of your output.


PhantomJS should support user certificates (*.pem, *.pfx)

<EMAIL_ADDRESS>commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
1.5
What steps will reproduce the problem?

Open any webpage which requires user authentication via a user certificate (instead of login + password).
2.
3.

What is the expected output? What do you see instead?
Expected: One should be able to configure a file which stores the user certificate
Instead: The API doesn't provide this functionality
Which operating system are you using?
WinXP, Linux
Did you use binary PhantomJS or did you compile it from source?
Binary (on both OS)
Please provide any additional information below.
If the user has more than one applicable certificate in his/her certificate store the major web browsers start a dialog to select a certificate.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #524.
:star2:   11 people had starred this issue at the time of migration.

+1

+1

+1

+1

Implemented in 37a3c2d!

+1

+1


nomad: 0.10.5 -> 0.11.0

Motivation for this change
Things done

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

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

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

Hey! Thanks for the PR 😃 - however in this case Nomad already got bumped to 0.11 in https://github.com/NixOS/nixpkgs/pull/84982

All is well than!


Update to Boost 1.62.0.

There were no substantial updates to Boost IPC.
Is this version check still worth doing? Or can we just blacklist the known-bad version(s)?

It's just a question of policy posture: whether we trust boost.ipc to not break its abi.


What is the pre-training model that the program is based on

Dear Cao Bin:
Glad to see your TrAdaboost project on github, I'm very interested in it!
However, due to my shallow knowledge. I have a little bit of trouble understanding on which pre-trained model the regression model you constructed is based on for transfer learning.Can you use TrAdaBoost_R2 as an example and give me an idea of which pre-trained model he is finetuning on top of?
I hope you take time out of your busy schedule to give me an answer, I would appreciate it!
Best regards
Hangbo Zhu

Thank you for referencing my open-source project. I would like to clarify that TrAdaboost is an instance transfer strategy proposed by Prof. Yang many years ago, which does not follow the pre-training and fine-tune strategy. The main focus of TrAdaboost is to identify the appropriate weights for the source domain training data in order to reduce the distribution distance between the source and target domains. If you are interested in the pre-training and fine-tune strategy, I recommend looking into parameter-based transfer learning.


Does the inner map cotains all the icd code id?

I use the following code to get all the icd tokens.
base_dataset2 = MIMIC4Dataset(
       root="/home/czhaobo/KnowHealth/data/physionet.org/files/mimiciv/2.0/hosp",  # 2.2 不大行
       tables=["diagnoses_icd", "procedures_icd", "prescriptions", "labevents"],
       code_mapping={"NDC": ("ATC", {"target_kwargs": {"level": 3}})},
       dev=False,
       refresh_cache=False, # 第一次用True
   )
   sample_dataset2 = base_dataset2.set_task(drug_recommendation_mimic4_fn)
   tokenizer2 = Tokenizer(
       tokens=sample_dataset2.get_all_tokens(key='conditions'),
       special_tokens=["<pad>", "<unk>"],
   )
   tokens2 = list(tokenizer2.vocabulary.idx2token.values())
   print(tokens2)
   diag_sys1, proc_sys1, med_sys1 = get_stand_system('MIMIC-III')
   diag_sys2, proc_sys2, med_sys2 = get_stand_system('MIMIC-IV')

but when i try to find their name via Innermap.lookup, i always get a key error. For example, H4011X0 is a id in tokens2,
```python
if __name__ == "__main__":
   icd9cm = InnerMap.load("ICD9CM")
   icd10cm = InnerMap.load("ICD10CM")
   print(icd9cm.lookup('H4011X0'))
   print(icd10cm.lookup('H4011X0'))

for mimic-III datasets, a smiliar problem.
from pyhealth.medcode import InnerMap
if __name__ == "__main__":
    icd9cm = InnerMap.load("ICD9PROC",refresh_cache=False)
    icd10cm = InnerMap.load("ICD10PROC",refresh_cache=False)
    print(icd9cm.lookup('3601'))

It seems that the InnerMap class get the required information from the files from https://storage.googleapis.com/pyhealth/resource/. We must figure out how they get the files.

Yes, i have examined the source code and find that some icd code has been deleted or replaced in the latest published version.

Could you help look into the problem @pat-jj?

Hi, thanks for the questions. Please check our development code for code mapping. You can find the source files we used there.


Add log level setting

Attempt to fix #163
In the lambda execution environment having xray info logs adds noise and
potentially cost, this add the ability to set the log level via
environment variable allowing these to be suppressed.

@willarmiros do you have any idea when this will be available in published version?

Unfortunately I cannot provide a timeline on future releases.


docker for 10 beta

PLEASE, could you add the 10beta version?
🙏

I didn't notice this earlier. PR created: https://github.com/docker-library/postgres/pull/303.


RxPersistenceContextAdapater should extends StatefulPersistenceContext

Right now it implements PersistenceContext but it forces use to delegate a lot of code. It requires some changes in ORM

Yep!

Fixed.

Great, thanks!


Implement generic physics backend support

This adds some groundwork to be able to specify custom physics backends.
Existing code should work without changes and if you want to use a custom physics backend it should be possible to insert a PhysicsBackend::Custom resource with the desired custom backend.

Hey!
I just updated your change, I hope you don't mind.
What I did:

I changed a bit the mechanism. Instead of using a trait, which I feel is quite complicated, we now use an event. It also allows to have a standard system to handle colliders spawn: this way, we can get all Bevy "standards" resources. For instance, to create a mesh. It would have been a bit more complicated with the previous solution.
you were using a TextBundle in your example which is a UI component and spawned "on the screen" and not "in the world".  it now uses a 2D mesh which seems more appropriate.
I fixed an issue in the base code: it was using a TransformBundle for tiles and object, which does not have a Visibility component. They now use a SpatialBundle which have it. This was preventing the new collider entity to inherit Visibility.
Update changelog / readme and fixed some compilation issues / clippy warnings.

I'll let you review and let me know what you think.
I hope the changes I made make sense for you :)
Thanks!

Looks good to me, thank you for the review! I am new to Bevy and still unfamiliar with much of it so I appreciate the suggestions.


move flens, change config

What's changed:
all include paths have xflens in the front now, allows for easier installation hopefully #52 #57
also some refactoring in the xtensor blas config (don't require cmake for configuring the config)
and refactoring xblas_index casts

Found a couple of issues, will iterate.


Enhancement tests

Priority: medium
Branch: 1.1
Breaking changes: no
Ready to merge: no

Summary
I would like to discuss the current test environment. The main goal of this pull request is:

Split tests into feature and unit tests
Add more unit tests to cover unexpected bugs
Add missing tests (#990)
Improve the test suite

The plan is as follows. Currently, I have not done anything with the existing tets, because I want to decide together with the community which classes we need to unit test and which ones we need to feature test. The current tests remain the same, but we will have to relocate them. I will keep the beneath sections up to date. You can share your opinion with comments and with GitHub comment actions:  👎  👍.
Please be aware that I'm not a professional tester! I just want to help Voyager with their test suite.
Also! Maintainers, feel free to commit things to this branch!
Currently in discussion
Class: \
Some notes...
To do >> classes
I am going to include every file in this list, even when they are not testable. They will be skipped after we've discussed them.

[ ] TCG\Voyager\Actions\AbstractAction
[ ] TCG\Voyager\Actions\ActionInterface
[ ] TCG\Voyager\Actions\DeleteAction
[ ] TCG\Voyager\Actions\EditAction
[ ] TCG\Voyager\Actions\ViewAction
[ ] TCG\Voyager\Alert\Components\AbstractComponent
[ ] TCG\Voyager\Alert\Components\ButtonComponent
[ ] TCG\Voyager\Alert\Components\ComponentInterface
[ ] TCG\Voyager\Alert\Components\TextComponent
[ ] TCG\Voyager\Alert\Components\TiteComponent

This list is currently incomplete.
To do >> other topics

[x] Move ./tests/migrations to ``./tests/database/migrations` to be more consistent
[x] Replace full out written class paths with ClassName::class

Information bag
This hidden place will be used to hide less important information.

Subject class: TCG\Voyager\Actions\AbstractAction
I've tested the following methods with different inputs:

getRoute($key)
convertAttributesToHtml()
shouldActionDisplayOnDataType()

@vblinden could you help me with testing the shouldActionDisplayOnDataType method? I don't really understand what it does. I asked this in Slack and @emptynick guessed the following:

I think, if you add a custom action you only want to show for one datatype, you just implement this method and return the datatypes name
Because View, Edit and Delete are generic actions they dont implement it

I trust him of course, but I want to be sure that I'm testing it right.
Based upon @emptynick's guess, I created the following tests:
// ...
public function testShouldActionDisplayOnDataTypeWithDefaultDataType()
{
    $stub = $this->getMockBuilder(AbstractAction::class)
        ->disableOriginalConstructor()
        ->getMockForAbstractClass();

    // Since PHPUnit doesn't use the __construct() method to construct the
    // mock object, we have to set the $dataType property for ourself.
    $this->set_reflection_property($stub, 'dataType', new class {
        public $name = 'just a name';
    });

    $this->assertTrue($stub->shouldActionDisplayOnDataType());
    }

public function testShouldActionDisplayOnDataTypeReturnsTrueWithCustomDataType()
{
    $stub = $this->getMockBuilder(AbstractAction::class)
        ->disableOriginalConstructor()
        ->setMethods(['getDataType'])
        ->getMockForAbstractClass();

    $stub->expects($this->any())
         ->method('getDataType')
         ->will($this->returnValue('narwhals'));

    // Since PHPUnit doesn't use the __construct() method to construct the
    // mock object, we have to set the $dataType property for ourself.
    $this->set_reflection_property($stub, 'dataType', new class {
        public $name = 'narwhals';
    });

    $this->assertTrue($stub->shouldActionDisplayOnDataType());
}

public function testShouldActionDisplayOnDataTypeReturnsFalseWithCustomDataTypeThatIsNotEqualToConfiguredDataType()
{
    $stub = $this->getMockBuilder(AbstractAction::class)
         ->disableOriginalConstructor()
        ->setMethods(['getDataType'])
        ->getMockForAbstractClass();

    $stub->expects($this->any())
         ->method('getDataType')
         ->will($this->returnValue('just a name'));

    // Since PHPUnit doesn't use the __construct() method to construct the
    // mock object, we have to set the $dataType property for ourself.
    $this->set_reflection_property($stub, 'dataType', new class {
        public $name = 'narwhals';
    });

    $this->assertFalse($stub->shouldActionDisplayOnDataType());
}

protected function set_reflection_property($object, $property, $value)
{
    $reflection = new \ReflectionClass($object);

    $reflectionProperty = $reflection->getProperty($property);
    $reflectionProperty->setAccessible(true);
    $reflectionProperty->setValue($object, $value);

    return $reflectionProperty;
}

// ...

The test will need some refactoring of course, but I will do that once I'm done with the actual tests.
Thank you in advance!

Click here to see the current test
<?php

namespace TCG\Voyager\Tests\Unit\Actions;

use TCG\Voyager\Actions\AbstractAction;
use TCG\Voyager\Tests\TestCase;
use TCG\Voyager\Facades\Voyager;
use TCG\Voyager\Models\User;

class AbstractActionTest extends TestCase
{
    /**
     * A dummy user DataType instance.
     *
     * @var \TCG\Voyager\Models\DataType
     */
    protected $userDataType;

    /**
     * A dummy user instance.
     *
     * @var \TCG\Voyager\Models\User
     */
    protected $user;

    public function setUp()
    {
        parent::setUp();

        $this->userDataType = Voyager::model('DataType')->where('model_name', User::class)->first();
        $this->user = factory(User::class)->create();
    }

    public function testGetRoute()
    {
        $stub = $this->getMockBuilder(AbstractAction::class)
            ->disableOriginalConstructor()
            ->setMethods(['getDefaultRoute'])
            ->getMockForAbstractClass();

        $stub->expects($this->any())
             ->method('getDefaultRoute')
             ->will($this->returnValue(true));

        $this->assertTrue($stub->getRoute($this->userDataType->name));
    }

    public function testGetCustomtRoute()
    {
        $stub = $this->getMockBuilder(AbstractAction::class)
            ->disableOriginalConstructor()
            ->setMethods(['getCustomRoute'])
            ->getMockForAbstractClass();

        $stub->expects($this->any())
             ->method('getCustomRoute')
             ->will($this->returnValue(true));

        $this->assertTrue($stub->getRoute('custom'));
    }

    public function testConvertAttributesToHtml()
    {
        $stub = $this->getMockBuilder(AbstractAction::class)
            ->disableOriginalConstructor()
            ->setMethods(['getAttributes'])
            ->getMockForAbstractClass();

        $stub->expects($this->any())
             ->method('getAttributes')
             ->will($this->returnValue([
                 'class'   => 'class1 class2',
                 'data-id' => 5,
                 'id'      => 'delete-5',
             ]));

        $this->assertEquals('class="class1 class2"data-id="5"id="delete-5"', $stub->convertAttributesToHtml());
    }

    public function testShouldActionDisplayOnDataTypeWithDefaultDataType()
    {
        // dd($this->userDataType->name);
        $stub = $this->getMockBuilder(AbstractAction::class)
            ->disableOriginalConstructor()
            ->getMockForAbstractClass();

        // Since PHPUnit doesn't use the __construct() method to construct the
        // mock object, we have to set the $dataType property for ourself.
        $this->set_reflection_property($stub, 'dataType', new class {
            public $name = 'just a name';
        });

        $this->assertTrue($stub->shouldActionDisplayOnDataType());
    }

    public function testShouldActionDisplayOnDataTypeReturnsTrueWithCustomDataType()
    {
        // dd($this->userDataType->name);
        $stub = $this->getMockBuilder(AbstractAction::class)
            ->disableOriginalConstructor()
            ->setMethods(['getDataType'])
            ->getMockForAbstractClass();

        $stub->expects($this->any())
             ->method('getDataType')
             ->will($this->returnValue('narwhals'));

        // Since PHPUnit doesn't use the __construct() method to construct the
        // mock object, we have to set the $dataType property for ourself.
        $this->set_reflection_property($stub, 'dataType', new class {
            public $name = 'narwhals';
        });

        $this->assertTrue($stub->shouldActionDisplayOnDataType());
    }

    public function testShouldActionDisplayOnDataTypeReturnsFalseWithCustomDataTypeThatIsNotEqualToConfiguredDataType()
    {
        // dd($this->userDataType->name);
        $stub = $this->getMockBuilder(AbstractAction::class)
            ->disableOriginalConstructor()
            ->setMethods(['getDataType'])
            ->getMockForAbstractClass();

        $stub->expects($this->any())
             ->method('getDataType')
             ->will($this->returnValue('just a name'));

        // Since PHPUnit doesn't use the __construct() method to construct the
        // mock object, we have to set the $dataType property for ourself.
        $this->set_reflection_property($stub, 'dataType', new class {
            public $name = 'narwhals';
        });

        $this->assertFalse($stub->shouldActionDisplayOnDataType());
    }

    protected function set_reflection_property($object, $property, $value)
    {
        $reflection = new \ReflectionClass($object);

        $reflectionProperty = $reflection->getProperty($property);
        $reflectionProperty->setAccessible(true);
        $reflectionProperty->setValue($object, $value);

        return $reflectionProperty;
    }
}


fix(datepicker): alignment of days when outside="hidden"

When outside days get hidden, they collapse in their flex context and change the alignment of the first days of the month. Adding flex-grow 1 ensures the hidden days still keep their space so the day labels on top match correctly with the calendar days.

Preview environments are getting posted here, as soon as they are ready!


wierd behavior of window renaming and switching

Hit there. first thanks for your nice plugin.
when i want to rename a window, sometimes(actually mostly), it does not put the window name in popup automatically. so I set terminal-overrides in my config file to  st-256 color. but it had no effect and actually caused some options like window switch  don't work  under the kitty(other terminal emulator). for example in this situation switch returns the bellow error:
'/home/areza/.tmux/plugins/tmux-fzf/scripts/window.sh' returned 123
the wierd thing actually is that it sometimes works correct under the both of my terminal. i mean it fills the window name automatically and switches to another window without error.
i could not find any question about this on internet and i tried to change the terminal override option to my other terminal(xterm-kitty) and even commenting out this option compeletly but none of them worked and i still get the same behavior.
my os is manjaro and the window manager is dwm. my terminal emulators are st and kitty. also the tmux config file is as bellow:

source /usr/lib/python3.9/site-packages/powerline/bindings/tmux/powerline.conf
set-option -sg escape-time 10
set -g default-terminal "tmux-256color"
set-option -sa terminal-overrides ",st-256color:RGB"
set -g set-clipboard on
set -g mouse off
bind m
set -g mouse on ;
display 'Mouse: ON'
bind M
set -g mouse off ;
display 'Mouse: OFF'
set -g pane-border-style 'fg=cyan bg=default'
set -g pane-active-border-style 'bg=default fg=magenta'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'sainnhe/tmux-fzf' # prefix + shift + F
run '~/.tmux/plugins/tpm/tpm'

i hope i could explaine my question clearly.

hi there again.
I actually found the problem. it is because i have used underline in the name of session like "setup_blah". so for eample in the bellow line it can't grep the correct name of session:
   cur_win=$(tmux display-message -p | sed -e 's/^.//' -e 's/] /:/' | grep -o '[[:alpha:]|[:digit:]]*:[[:digit:]]*:' | sed 's/.$//g')
actually i am not expert in bash programming i just found this by running the individual parts in my terminal. so it actually does not support naming with underline. is there any way to solve this? as i mentioned i am not expert but if you guide me a little maybe i can find the solution.
thanks !

hi there again.
I actually found the problem. it is because i have used underline in the name of session like "setup_blah". so for eample in the bellow line it can't grep the correct name of session:
   cur_win=$(tmux display-message -p | sed -e 's/^.//' -e 's/] /:/' | grep -o '[[:alpha:]|[:digit:]]*:[[:digit:]]*:' | sed 's/.$//g')
actually i am not expert in bash programming i just found this by running the individual parts in my terminal. so it actually does not support naming with underline. is there any way to solve this? as i mentioned i am not expert but if you guide me a little maybe i can find the solution.
thanks !

after a bunch of trials and errors (sed commands are too wierd. i don't understand them well!!!) i found an alternative and that is like bellow command:
tmux display-message -p | sed -e 's/^.//' -e 's/] /:/' -e 's/,.*$//' -e '$s/:\w*$//'
this supports the names with underline. i don't know if this could help to solve this problem globally.

after a bunch of trials and errors (sed commands are too wierd. i don't understand them well!!!) i found an alternative and that is like bellow command:
tmux display-message -p | sed -e 's/^.//' -e 's/] /:/' -e 's/,.*$//' -e '$s/:\w*$//'
this supports the names with underline. i don't know if this could help to solve this problem globally.

Thank you! This should be fixed via 9f93734.

Thank you! This should be fixed via 9f93734.

Thanks you for your fast fix. Now it works well.  I manually applied the changes to the scripts and tested it(actually at the momment i don't know how to automatically update the plugin 😅, but i will search it.)
good luck!

Thanks you for your fast fix. Now it works well.  I manually applied the changes to the scripts and tested it(actually at the momment i don't know how to automatically update the plugin 😅, but i will search it.)
good luck!

actually at the momment i don't know how to automatically update the plugin

If you are using tpm, press prefix + U (shift+u).
Or cd ~/.tmux/plugins/tmux-fzf and then git pull origin master.

actually at the momment i don't know how to automatically update the plugin

If you are using tpm, press prefix + U (shift+u).
Or cd ~/.tmux/plugins/tmux-fzf and then git pull origin master.

Thanks. I did the second way and now it is ok.

Thanks. I did the second way and now it is ok.


feat: add utils for verifying 6492 sigs and ensip-11 utils

PR-Codex overview
This PR focuses on adding new utility functions and making changes related to EIP-6492 signature verification.
Detailed summary

Added verifyEIP6492Signature function to verify EIP-6492 signatures.
Exported additional utility functions for ENS-related conversions.
Updated imports and types for ENS-related changes.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Current dependencies on/for this PR:

main

PR #80   👈

This comment was auto-generated by Graphite.


Feature Flags

This separates feature flags from previewData
This defaults the site version to Live, which can be overridden with Working via previewData.

some testing
https://github.com/makeswift/makeswift/assets/7907782/52d8cbd6-2c7a-4f24-be44-0c42b9a463b8


Make the label priority nullable

The label priority field can actually be null.
See examples here: https://docs.gitlab.com/ee/api/labels.html#list-labels
Btw. in the update method we have the same problem as here:

https://github.com/xanzy/go-gitlab/issues/1384

... null is actually a valid value meaning that the priority should be removed from the label. For the due_date the fix in the marshaller (https://github.com/xanzy/go-gitlab/pull/1404) may work fine, because the default value isn't a sane due date. However, the integer value 0 for a label priority is a sane value.
I don't see any other option than introduce a special type to support this use case, ...
At the moment I'm trying to implement custom RequestOptionFunc to re-write the body which is kinda hacky ...
Actually quite some other API fields suffer from this issue, too.

@timofurrer I am not going to introduce pointers in structs used to marshal responses... I mentioned that before already so please stop making PRs for that.
The problem where a null value actually has a specific purpose when making an API call (so in the option structs) is a problem I recognize and acknowledge, yet I do not know how to solve it in a generic and consistent manner.
Go makes our lives hard for this specific use case. Open to talk about it using any kind of video conf tool (Discord, Teams, Zoom) if you want.

@timofurrer I am not going to introduce pointers in structs used to marshal responses... I mentioned that before already so please stop making PRs for that.

Wasn't aware that you tried to introduce one before 🤔 sorry for that ✌

No worries... I was actually referring to this one https://github.com/xanzy/go-gitlab/pull/1398 But we'll have a chat tomorrow 👍🏻

Author's name starts with timo .. thought it's not me 😅

But we'll have a chat tomorrow 👍🏻

👍

Whoops!! Sorry about that one then... My bad!


Set bitmaps to Avatars

I need the ability to set bitmaps to avatars. I was able to get this far, but then I wasn't sure how I would get the correct scaling on the bitmap. Here is a screenshot that demos the scaling problem with clustering & nonclustering: (see screenshot at
this link).  I think fixing the scaling might fix the clustering problem.
P.S. This is the full-size avatar, for comparison: link
How can I get the scaling correct? It is a little complicated to find the answer in the code. Thanks!

What is the source of the bitmap? If it's a file (downloaded or in res/raw) then you can just create a Uri from that. If it is a drawable resource then you can add functionality to load that resource ID utilizing the existing implementation. The participant interface would need to have something similar to int getAvatarResourceId(). Then you can add setters/getters in the AltasAvatar.ImageTarget and load the resource using Picasso (see AtlasAvatar.setClusterSizes()).
We should eventually support error and placeholder drawables as well.

Thank you for your response. It's a byte array which was loaded from the web in a JSON object, and then saved in a database as a byte array, which then needs to be decoded into a bitmap. But we would like to continue using the initials if some users do not have a byte array (they have no profile picture).

Rather than saving it to the database you could create the bitmap file when parsing the JSON and save the file path in the database instead. You may see increased performance depending on image sizes (see http://www.sqlite.org/intern-v-extern-blob.html). Then you can just use the file's Uri when setting the participant's avatar.

Thank you for your quick response. Thanks for the idea. I checked, and our maximum byte array size of the image stored in our database is 1400 KB, so according to that link, it is faster to store it in our database directly.

Whoa, 1.4MB? It should be faster to store them in a file I presume. The link stated the following rule of thumb:

For BLOBs larger than 100KB, reads from a separate file are faster.

Oops, I made a mistake interpreting the chart. I am currently waiting to hear back from my colleague to see what we would like to do moving forward. I'll get back to you. Thanks!

May i know how to set avatar and name for a user id to heroku as i am getting json array of user from  String url = "https://layer-identity-provider.herokuapp.com/apps/" + mLayerAppIdLastPathSegment + "/atlas_identities";


Add directory option to getFiles()

Fixes #26

@stephenplusplus does this actually fix #26? This seems like a nice addition, but I thought the request was for a getDirectories method?

The thread got a bit complicated-- I wasn't sure the best way to honor the request for "getting directories" meant "get directory names" or "get files from a specified directory".
I started this PR as just a new function that would return an array of directory name strings. After implementing, it felt strange, since our get___ methods are supposed to return custom objects. And it brought up questions like: should it return nested directories, like "a/b/c" or just "a/"? I took it a step further and thought if they want to know the directories, they probably want the files from them-- should we return arrays of files?
I left a comment in the PR, hoping to get some of the original folks in the discussion to chime in. I'm not sure which way to go at this point.

@callmehiphop @alexander-fenster do we want this?

Hmm, that's kinda weird, because I have ~1,600 images stored in a bucket and when I used getFiles() in a cloud function with 2GB of memory it ran out of memory

That sounds like a different problem 😂. Can you file a new bug with details on that one?


Need to add rotation and related items

Purpose
Need a "rotate image" toggle somewhere in the UI.
Notes
Forked this repo to attempt it myself and submitting issues I'm running into here.
Issues

Default pipenv python version is no longer supported (3.7)
After running make init and make develop per the README.md, run into the error below:

Installing /home/thorn/qsl/qsl/ui/labextension -> qslwidgets
Building extension in /home/thorn/qsl/qsl
Traceback (most recent call last):

  File "/user/local/home/thorn/virtualenv/lib/python3.10/site-packages/jupyterlab/debuglog.py", line 45, in debug_logging
    yield

  File "/user/local/home/thorn/virtualenv/lib/python3.10/site-packages/jupyterlab/labextensions.py", line 169, in start
    ans = self.run_task()

  File "/user/local/home/thorn/virtualenv/lib/python3.10/site-packages/jupyterlab/labextensions.py", line 258, in run_task
    develop_labextension_py(

  File "/user/local/home/thorn/virtualenv/lib/python3.10/site-packages/jupyterlab/federated_labextensions.py", line 180, in develop_labextension_py
    build_labextension(base_path, logger=logger)

  File "/user/local/home/thorn/virtualenv/lib/python3.10/site-packages/jupyterlab/federated_labextensions.py", line 208, in build_labextension
    builder = _ensure_builder(ext_path, core_path)

  File "/user/local/home/thorn/virtualenv/lib/python3.10/site-packages/jupyterlab/federated_labextensions.py", line 266, in _ensure_builder
    with open(osp.join(ext_path, "package.json")) as fid:

FileNotFoundError: [Errno 2] No such file or directory: '/home/thorn/qsl/qsl/package.json'

Exiting application: lab

#22 merged and published to https://pypi.org/project/qsl/


[SPARK-7155] [CORE] Allow newAPIHadoopFile to support comma-separated list of files as input

See JIRA: https://issues.apache.org/jira/browse/SPARK-7155
SparkContext's newAPIHadoopFile() does not support comma-separated list of files. For example, the following:
sc.newAPIHadoopFile("/root/file1.txt,/root/file2.txt", classOf[TextInputFormat], classOf[LongWritable], classOf[Text])

will throw
org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: file:/root/file1.txt,/root/file2.txt

However, the other API hadoopFile() is able to process comma-separated list of files correctly. In addition, since sc.textFile() uses hadoopFile(), it is also able to process comma-separated list of files correctly.
That means the behaviors of hadoopFile() and newAPIHadoopFile() are not aligned.
This pull request fix this issue and allows newAPIHadoopFile() to support comma-separated list of files as input.
A unit test has also been added in SparkContextSuite.scala. It creates two temporary text files as the input and tested against sc.textFile(), sc.hadoopFile(), and sc.newAPIHadoopFile().
Note: The contribution is my original work and that I license the work to the project under the project's open source license.

@srowen Thanks for the comment. I updated the pull request so that setInputPaths instead of addInputPaths are used. In addition to newAPIHadoopFile(), the instances of addInputPath inside wholeTextFiles() and binaryFiles() have also been updated with setInputPaths. That should bring behavior consistency across all ScalaContext.scala.
The unit test for this issue has also been updated to cover every method involved. Please let me know if there is anything else that needs to be taken care of.

@srowen Thanks. Removed unneeded file deletion on unit test. Didn't realize Utils.createTempDir() will delete recursively when shutdown.

Can one of the admins verify this patch?

ok to test

Test build #31093 has started for   PR 5708 at commit 654c80c.

Test build #31093 has finished for   PR 5708 at commit 654c80c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

@srowen Can this pull request be merged if there is no additional issues?

I'm proceeding with this because it makes behavior more consistent, and still supports existing behavior. You can still specify just one file in all cases. It also more correctly calls set rather than add for input paths. Test pass, etc.

Is there a way to support commas in the filenames? I tried to escape with {} (as in hadoops FileInputFormat), but the curls are not removed after escaping and the path is therefore not valid.
Any idea? I know that commas in a filename are wired anyway ...

Hello @yongtang , I am troubleshooting slow wholeTextFiles reading issue, and while digging through the function code, I came across this ticket number.
I have a question regarding the comment made here. Basically the comment note talks about how one could speed up reading wholeTextFiles() from multiple paths. I can't understand what is meant by "path/*" in the comment note. Any pointers would be much appreciated.
In my case - we are attempting to process our data by reading from 24 paths, simultaneously by providing a csv list in our gs bucket URL, and it took like 40 minutes to read and prepare the dataframe - which we feel is quite slow. And when the no. of paths is reduced to 10, it takes like one fourth time.
My apologies that I am posting a question to you here as I couldn't find a way to put forward questions on the spark github repo.
If there is an official way to ask question - please point me towards it and I shall adhere to the due process and get help from the community, officially.

@normalscene  I haven't been very active in the community recently but I think you can create an issue in https://issues.apache.org/jira/projects/SPARK/issues/SPARK-33807?filter=allopenissues ?


Add cost and time estimates as well

We want to add simple cost and time estimates to assess the broader impacts of programs.
We will do so by creating simple distance-based maps for each metric - e.g.
cost_per_mile = { "drove_alone": ..., "shared_ride": ...., "pilot_ebike": ....
}

We can then compute the overall impact of the metric by pseudo code similar to:
for trip in trips:
    cost_impact_trip = (cost_per_mile[“ebike”] – cost_per_mile[trip.replaced_mode]) * trip.length_in_miles
    cost_impact_trips.append(cost_impact_trip)

cost_impact_overall = sum(cost_impact_trips)

Of course, we could also use pandas if that works better - e.g. something like:
cost_impact_trips = trips.apply(lambda trip_row: (cost_per_mile["ebike"] - cost_per_mile[trip_row.replaced_mode]) * trip_row.length__in_miles
cost_impact_overall = cost_impact_trips.sum()

Is it a requirement that I have mongodb installed on my local machine in order to access the data?
If so, is it possible to install mongodb without administrator privileges?
If administrator privileges are required, how do I obtain them?

@styoung3 the data is a mongodump, so you do need to have mongodb installed.
The instructions (docker-compose.yml) in the README will create a mongodb docker container running on your local machine. You can then load the data using a script, as outlined in the README as well.
docker is authorized by IT; you can file a ticket to have it installed on your laptop.

@shankari docker-compose stuck at solving environment... usually this is caused on my machine by being connected to the external NREL VPN. That's where the first error occurred. Once I disconnected from the VPN, I got stuck at solving environment for over five minutes. At this point I'm quite unsure what the problem may be. I've done some conda package manager troubleshooting before, but I can't see the issue currently.
=> ERROR [3/7] RUN /bin/bash -c "cd e-mission-server && source setup/activate.sh && conda env update --name emission --file setup/  8.5s

[3/7] RUN /bin/bash -c "cd e-mission-server && source setup/activate.sh && conda env update --name emission --file setup/environment36.notebook.additions.yml":
#7 1.209 Collecting package metadata (repodata.json): ...working... failed
#7 8.177
#7 8.177 CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/repodata.json
#7 8.177 Elapsed: -
#7 8.177
#7 8.177 An HTTP error occurred when trying to retrieve this URL.
#7 8.177 HTTP errors are often intermittent, and a simple retry will get you on your way.
#7 8.177 'https://conda.anaconda.org/conda-forge/linux-64'
#7 8.177
#7 8.177

failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c /bin/bash -c "cd e-mission-server && source setup/activate.sh && conda env update --name emission --file setup/environment36.notebook.additions.yml"]: exit code: 1
(myenv) syoung3@syoung3-35275s em-public-dashboard % docker-compose -f docker-compose.dev.yml  up
[+] Building 333.3s (6/11)
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 32B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/emission/e-mission-server:2.9.2                                                                    1.0s
=> [1/7] FROM docker.io/emission/e-mission-server:2.9.2@sha256:b90fa30fa22f7e28aa96784d4d2352ba3cdf9b0ba593e196c2185312b31a7161              0.0s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 122B                                                                                0.0s
=> CACHED [2/7] ADD environment36.dashboard.additions.yml /                                                                                0.0s
=> [3/7] RUN /bin/bash -c "cd e-mission-server && source setup/activate.sh && conda env update --name emission --file setup/environment36  332.2s
=> => # Collecting package metadata (repodata.json): ...working... done
=> => # Solving environment: ...working...

Attempting to use the load_mongodump.sh helper script. It claims the file doesn't exist, but I can see it exists in my directory. Any idea why this is happening? I am operating in the dark here.
em-public-dashboard % ls
LICENSE							docker-compose.dev.yml
OpenSourceLicenses.md					frontend
README.md						plots
canbikeco_mongodump_participant_only_jan_31_2021.tar.gz	viz_scripts
em-public-dashboard % bash viz_scripts/docker/load_mongodump.sh canbikeco_mongodump_participant_only_jan_31_2021.tar.gz
Restoring the dump from canbikeco_mongodump_participant_only_jan_31_2021.tar.gz
tar: canbikeco_mongodump_participant_only_jan_31_2021.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

The tar error is coming from the container. It looks like the file is not copied correctly? I can take a look, but if you want to debug,
docker container list

to find the container name, and then
docker exec -it <container_name> /bin/bash

to access the container's shell

This is because the step to copy the file into the container is commented out!?!?
https://github.com/e-mission/em-public-dashboard/blob/main/viz_scripts/docker/load_mongodump.sh#L4

I commented it out in https://github.com/e-mission/em-public-dashboard/commit/73b9daf38a8a2ec1272138f00d12226a0dcc4367 but I was wrong. We can pass in the value as an environment variable, but we still need to copy it first!!

@styoung3 can you restore that line, confirm that it works and then submit a pull request?

@styoung3 there are actually calculators for mileage that take maintenance etc into account in addition to the fuel. I would suggest that you understand the existing code and write the unit tests first and then we can come up with what the actual values for cost and time should be.

How do I run my unit_tests.py script inside the docker environment? I am getting an error when I attempt to run it from visual studio code (see below). Another way of asking this is, is there another way to edit and run code in the docker environment than just Jupyter Notebooks?

Error Message
Traceback (most recent call last):
File "/Users/syoung3/GitHub/em-public-dashboard/viz_scripts/unit_tests.py", line 14, in
import scaffolding
File "/Users/syoung3/GitHub/em-public-dashboard/viz_scripts/scaffolding.py", line 4, in
import emission.storage.timeseries.abstract_timeseries as esta
ModuleNotFoundError: No module named 'emission'

If you want to run scripts inside the docker container from outside, you need to use docker run.
Please check the docker documentation for details.
viz_scripts/docker/ has some examples, notably generate_plots.sh
Again, you may want to read up a bit more on what containerization means and how it works.

For the cost estimates, we want to use the cost to the user. So this should take into account fuel, but also maintenance etc

For private car (shared_ride and drove_alone), I suggest that we use the Federal reimbursement rate

https://www.gsa.gov/travel/plan-book/transportation-airfare-pov-etc/privately-owned-vehicle-pov-mileage-reimbursement-rates
Looking at historic rates, this seems to hover around 0.55 $/VMT.
So for drove_alone, we use 0.55 $/PMT. For shared_ride, we can use 50% of that, so (0.55/2) $/PMT.

For transit, we use the value from MEP (0.855 $/PMT and make sure to cite them or the FTA)
For taxi/uber/lyft, we can use the value from Alejandro's paper below, which is apparently 2.50 $/PMT, including fare, fees, tools and gratuity.
For walk, we can assume that the cost is 0
For bike, e-bike and e-scooter, please ask @andyduvall for values

Alejandro Henao, Wesley E. Marshall,
An analysis of the individual economics of ride-hailing drivers,
Transportation Research Part A: Policy and Practice,
Volume 130,
2019,
Pages 440-451,
ISSN 0965-8564,
https://doi.org/10.1016/j.tra.2019.09.056.
(https://www.sciencedirect.com/science/article/pii/S0965856419300333)

For time estimates, given that we cannot capture wait times, parking times, or times to drop off passengers in the pool, we thought that we could use average speeds for other trips using the replaced mode.
So you would calculate the speeds for trips in the dataset labeled drove_alone, take the mean/median and use that to multiply the distance to get the "replaced_time".
Please write a separate function to compute the mean/median speeds. We can then think about whether we should compute these weekly or compute them once and then keep them constant.

To refactor the existing impact code, I would suggest something like:
def energy_impact(x,y,color,plot_title,file_name):
    display_impact(x,y,color,plot_title,file_name, ('Energy Savings', 'Energy Loss'), 'Energy_Impact(kWH)')

def CO2_impact(x,y,color,plot_title,file_name):
    display_impact(x,y,color,plot_title,file_name, ('CO2 Reduction', 'CO2 Increase'), 'CO2 Emissions (lb)')

def display_impact(x,y,color,plot_title,file_name, objects,x_label):
   # existing implementation of CO2_impact with the following changes
   # remove line 323 (objects = ('CO2 Reduction', 'CO2 Increase') since it is now a parameter)
   # change line 330 to ax.set_xlabel(x_label, fontsize=18)

How do I import the scaffolding file as a module in the tests files that are in a separate directory?

@styoung3 what error do you get?
I import the emission modules into emission/test Test* all the time and it works.


How many wake-up words can be supported simultaneously at most？

Ignore model size, computation latency, and computing resources, etc？

It depends on your purpose. In the case of sufficient resources, it is feasible for any limited number of keywords. But if you need to support unplanned keywords, the best way is using CTC decoding.


Removing infinite loop on ...

In most recent localstack container image health url is migrated to this resource.

thanks for this update! 🎉


python 3 support?

Any plans for python 3 support?

Any progress on python 3 compatibility? Looks like gevent is now compatible.


Subscribe for changes just work for the first change if unsubscribe is made

I'm using requery within my android application, and I've a viewpager hosting Fragments, when the fragment call onViewCreated I create a subscription for PodcastEntity where STARRED field is true:
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {

    starredSubscription = getData().select(PodcastEntity.class)
            .where(PodcastEntity.STARRED.eq(true))
            .get()
            .toSelfObservable()
            .subscribe(podcastEntities -> {
                getActivity().runOnUiThread(() -> refreshList(podcastEntities.toList()));
            });
}

I store the subscription in a field for later unsubscribing:

@Override
public void onDestroyView() {
    super.onDestroyView();
    if(starredSubscription != null) {
        starredSubscription.unsubscribe();
        starredSubscription = null;
    }
}

Because the fragment view gets destroyed as i'm using FragmentPagerAdapter, so I unsubscribe for not running view related methods.
In a toggle button I change the status of my model:
podcast.setStarred(!podcast.isStarred());
getData().update(podcast).subscribe();

In the first subscription it gives me all starred models on subscribe success callback, If I toggle any entity status I get another callback with all models less the one I've changed.
The problems comes when I unregister and register for the starredSubscription after changed more than 2 entities, for a unknown reason the first callback right after the subscription I get all entities LESS THE FIRST one i've changed, and I hope to receive only the starred ones. But if I call again the method to update more one entity I receive the correct objects in callback.
For a detailed example, let's say I have 5 Podcast object saved in database, which all of those are starred:
Podcast 1 (Starred = True)
Podcast 2 (Starred = True)
Podcast 3 (Starred = True)
Podcast 4 (Starred = True)
Podcast 5 (Starred = True)
If I change Podcast 1 to Starred = False I get the numbers [2, 3, 4, 5] in subscription for starred, if i do it again for number 3 and 4, I get the numbers [2, 5].
If I unsubscribe and subscribe again I receive the [2, 3, 4, 5] numbers in callback, and if I change the number 5 to starred false I receive the 2 only in callback.
In this case I hope in the second subscription to receive the [2, 5], which was the objects that previously was Starred.
It's a bug or I've missed the concept of rx observables?

Hi thanks for reporting. When you unsubscribe and then subscribe again you haven't changed the starred status of any of your elements, in the mean time? If not then the first emitted sequence should be exactly what matches the query just [2,5], if you just run the query first before subscribing to test that, is the query returning just [2,5]?

I'm sure in the mean time I haven't changed the status, before unsubscribing I iterated over this:
getData().select(PodcastEntity.class).where(PodcastEntity.STARRED.eq(true)).get().toList()

And the result is the same as observable subscription.

In your DatabaseSource try setLoggingEnabled(true), then from the log you can see all the sql statements that are executed. You should see your podcast items star value changed as update statements and then the select query run after, is that the case?

I've change 2 star values to false and this logged:
I/requery: beforeExecuteUpdate update Podcast set starred = ? where uuid = ?  sql: update Podcast set starred = ? where uuid = ?
I/requery: afterExecuteUpdate
I/requery: beforeExecuteQuery select uuid, starred, title from Podcast where starred = ?  sql: select uuid, starred, title from Podcast where starred = ?
I/requery: afterExecuteQuery
I/requery: beforeExecuteUpdate update Podcast set starred = ? where uuid = ?  sql: update Podcast set starred = ? where uuid = ?
I/requery: afterExecuteUpdate
I/requery: beforeExecuteQuery select uuid, starred, title from Podcast where starred = ?  sql: select uuid, starred, title from Podcast where starred = ?
I/requery: afterExecuteQuery

That looks correct. Now if you unsubscribe and subscribe again, the result of select uuid, starred, title from Podcast where starred = ? will be the same if nothing was changed in the database. Is that true?

If I unsubscribe and subscribe on update success method, the observable receive the correct list, looks the problem comes when I unsubscribe on onDestroyView and I subscribe again on onViewCreated, this time I receive a strange value.

Sure but unsubscribing/subscribing won't change the result of the query. If you execute just the query manually in onViewCreated does it have what you expect or is that query the same as what you get from the observable?

The query is the same as I get from the observable, even making it manually
in onViewCreated
2016-04-16 1:53 GMT-03:00 Nikhil Purushe<EMAIL_ADDRESS>
Sure but unsubscribing/subscribing won't change the result of the query.
If you execute just the query manually in onViewCreated does it have what
you expect or is that query the same as what you get from the observable?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/requery/requery/issues/88#issuecomment-210735412

Can you try again with the beta15 version? Made some changes there to the way the updates are published that may help on this issue.

With the beta15 version now the event receive the correct query, but now i'm getting a lot of ANR's, for avoid this problem I've set this on my observable:
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())

And now everything is ok.
p.s. Even with older version if I use the above snippet the correct query is sent to observable.

Great! glad its working. Will be sure to cover this in documentation.


added -q options to conda commands to make them quiet to facilitate s…

…cripted deployment for trial VM

More improvements welcome :)


Cleanup IO rate limiter related code

Signed-off-by: tabokie<EMAIL_ADDRESS>What problem does this PR solve?
Prepping for #9197
What is changed and how it works?
What's Changed:

Purge unnecessary dependency on global IO rate limiter
Port some RocksDB accessors
Introduce LevelZeroCompaction IO type
Fix some broken IO tagging

Related changes
Check List
Tests

Unit test

Release note

No release note

/merge

/run-all-tests

/run-test

/run-all-tests

/run-integration-common-test


@imintz Hey, I also see this warning. For me it does not cause a halt, the network trains fine. I cannot judge if it is slower that it should be. Just to clarify, tf fails to allocate CPU memory, which is bottlenecking the GPU operations?

@imintz Hey, I also see this warning. For me it does not cause a halt, the network trains fine. I cannot judge if it is slower that it should be. Just to clarify, tf fails to allocate CPU memory, which is bottlenecking the GPU operations?

Hi, I was getting that error and mine didn't continue working. It exited the code. Further digging lead me to try to put the training code on the CPU with this code:
tf.debugging.set_log_device_placement(True)
with tf.device('/CPU:0'):
found here:   https://www.tensorflow.org/guide/gpu#manual_device_placement
meant the code ran without exit.
What I cannot figure out is why the training steps now run at a blazingly fast time? I ran this code without GPU or CUDA/cuDNN installed. I installed it and got the warning, the code exited. Now for the training steps ? (I'm new at this)
for m in range(steps_per_epoch):
step += 1
train_step(image)
print(".", end='')
It works fine, actually even much faster than before!   ??

i am also getting the same error .

I have two conda environments.

tf-conda: Installed tensorfow using conda
tf-pip: Installed tf with pip and all installed CUDA and CUDNN manually

I get this error only on the tf-pip env and not the tf-conda. This appears to show that the error is more linked with a software installation than the implementation or hardware. (Hope it helps to debug, please let me know which commands output could be helpful to solve).

Hi I have the same problem with this model = SSD MobileNet V2 FPNLite 640x640. It looks like this model needs more RAM (I only have 8 GB). I use the 320x320 version I was to able to train it with only 8 Gb.

I'm facing the same problem. To solve this you can try changing your image shape, use lower width and height.

How to solve it?Anyone can fix it?

If you're getting this error and you're usingtf.data.Dataset.from_tensor_slices(), try switching over to tf.data.Dataset.from_generator.


Router extend

Need the ability to get the previous route name
Something like this: NyRouter().getPreviousRouteName()

Hi @andim27,
I'll explore this over the weekend.

Hi @andim27,
I'm still thinking about this one. Let's move it into discussions tab instead of 'issues'. If you have any ideas for it too just let me know.
Thanks,


Created basic extensions framework docs

Document how to create a frontend part of extensions and how are they loaded into Phoenix.
Open tasks:

[ ] Check for any references to the old extensions docs

@kulmann I requested a review from you here since you were recently working with the extensions because of the settings, right? So I guess you can best see in case I forgot something.

@LukasHirt is this part of the documentation meant to be about oCIS extensions in general (covering both frontend and backend extensions), or only frontend? I'd prefer covering frontend and backend (and from what I read here, I think you do as well). Right now it looks to me like it is supposed to cover both and has a strong focus on frontend at the moment (which is fine). But please clarify before I review.

@kulmann Yes, the idea was to cover both.

bitrotted, @LukasHirt can you update?

Closing as we're moving into quite different direction and this is becoming more and more outdated - feel free to reopen/cherry pick useful information from here.


Create Insert_nose_at_tail.cpp

solution for the https://www.hackerrank.com/challenges/insert-a-node-at-the-tail-of-a-linked-list/problem

Updated readme.md


no-icon mode

When you have too many games, the application freezes trying to pull all of the icons from the steam api. Is it possible to have an option to the set the application to just text mode only (disabling the icons)? It would require a settings file to make the change consistent for each start up after the initial setting, while allowing the mode to be switched back and forth on a user need basis. (So basically a view mode, like in the windows explorer UI).

+1!  I completely agree with this suggestion.  This would be a nice option!

better: put the icon loading on a new thread, and dispatch the results in chunks to the ui thread.

Please let me know how much the new build helps things. It's not a no-icons mode, but it's a step there.

its guud love it but there use to be  4 blank games which had some unusual names on em they used to help clear recent game history but i dont see anywhere anymore if u could add them back plz
:3

for like in dis video  https://www.youtube.com/watch?v=rd7xAmJcq9M

I did a recent purge of applications that don't have actual achievements/stats tied to them. I won't be adding them back.
You can use the manual ID add to do it.
https://steamdb.info/search/?a=app&q=mad+max+player&type=9&category=0

thxs ALOT IT WORKED :3 ur tha BEST ;333
im just gonna Bookmark the Manual ID or maybe download it as a rar file x3 lel or copy paste


Financials page edits

[x] (1) The title/headline for the page needs something in between "transformative" and "fueling" -- either a dash, or it needs to be two clauses like "Philanthropy is transformative. It fuels passion, motivation and joy."

[x] (2) Endowment graph: Let's say "Tens of thousands of donors" instead of "Thousands" to match our 54K number this last fy.

[x] (3) $371.2 million graph: Either add "an" before assessment or make assessment plural

[x] (4) Gifts section:

[ ]

[x] - The correct gift number is 54,543.

[x] - Let's not use the word "donation." Because you just used "gift," maybe "contribution" or "investment."

[x] - Let's say, "When you invest in CU, your impact is might" instead of what's there. The "thousands" is imprecise and we should focus on the "you."

[x] - Gift size is $6,806.

[x] (5) Donor section:

[x] - The correct donor number is 29,793.

[x] - This is lower priority, but the part that says "XX,XXX donors like you helped CU create change..." had me confused on first read since the headline is split from the sentence that follow.

[x] (6) Endowments section:

[x] - Lowercase "value" under the graph.

[x] - This needs a period or colon after it: Here is the recent performance of the LTIP against the policy benchmark

[x] - The endowment graph for 15 year should be 8.7% for the LTIP.

[x] (7) Transfers section:

[x] - This should have a period: That’s how much the CU Foundation transferred to CU last fiscal year

[x] (8) The "Download Our Financials" headline looks like a link, but it's not.

@alexfinnarn Can you take care of these changes?

[ ] Change Value to lowercase: value

[ ] The value above the bronze bar in 15 year should represent 8.7% instead of 7.4%

[ ] Turn the words "Download Our Financials" into a link to the full audited financials

@tskillern -- I changed this to two sentences with periods to break it up, but I don't think it looks as nice/clean as
Philanthropy is transformative
Fueling passion, motivation and joy
It's not grammatically correct, but the bolded text reads pretty clear imo. Can we revert to the previous version? A dash might look odd here too

@tskillern @Feissit I updated those three items and pushed them to the staging environment.

@tskillern -- I changed this to two sentences with periods to break it up, but I don't think it looks as nice/clean as
Philanthropy is transformative Fueling passion, motivation and joy
It's not grammatically correct, but the bolded text reads pretty clear imo. Can we revert to the previous version? A dash might look odd here too

@Feissit I replied to the github email and thought it'd get here, but I guess not. I'm fine with this:
Philanthropy is transformative
Fueling passion, motivation and joy
But I think it was "fuels" not "fueling" which wouldn't make sense. Fueling is fine and with a hard return, like you have.

All financials content edits are confirmed and good to go, unless @Feissit you want to revisit the main headline. I know there are existing display problems with the legends in the pie charts, but the content is ready. cc @alexfinnarn

I created a pull request for the headline as discussed above, but maybe it hasn't merged yet?


Don't show SQL command in error for GUI

When there is an error in SQL we are showing the full SQL command and the error, we should keep log in the full thing in the db so admins have access but we should only show the error in the GUI.

Agree on not showing the error - however, I think we really need to improve the checks in the metadata information files before executing the SQL commands - otherwise users will not be able to correct their files.

This is still required and a nice to have so moving to priority-medium and Alpha 0.4.


mmap failed, when offset is physical address

used tcmalloc lib with hisi32bit platform, i need mmap  an address and offset param is physical address(0x9240a000), but mmap failed.
static void* do_sys_mmap(long sysnr, void* start, size_t length, int prot, int flags, int fd, long offset)，  i think offset param type should be unsigned long .
signed type will lost Precision .

i changed long offset to unsigned ,mmap succeed.

do_sys_mmap() does not exist in this ~dojo~ repo, does it? It does exist in https://github.com/gperftools/gperftools, which is where you will need to (re)file your issue.

ok，thanks


Class registration issues

Probably pretty harmless, and at least one should be resolved by recent pending changes from Malcolm, but we get some error spam at start up:
Cannot get class 'OpenXRFbSceneCaptureExtensionWrapper'.
Cannot get class 'OpenXRFbSpatialEntityExtensionWrapper'.
Cannot get class 'OpenXRFbSpatialEntityQueryExtensionWrapper'.
Cannot get class 'OpenXRFbSpatialEntityContainerExtensionWrapper'.
Cannot get class 'OpenXRFbSceneExtensionWrapper'.
Cannot get class 'OpenXRFbFaceTrackingExtensionWrapper'.

On a broader spectrum we should discuss about whether extensions should be exposed 1:1 as singletons, or whether we should always add nodes/resources that users can use that expose the functionality. I'm a fan of the later option and do not believe the wrappers should be exposed in this way.

Thinking this through, the problem I wager is that these classes are only available on Quest/Android thus on PC we're getting complaints.
We need these classes to also exist on PC, if only so the IDE is aware of them and has access to them

Ok, resolved after a restart, interesting..


Package request: Gajim OMEMO

Issue description
OMEMO is a proposed end-to-end encryption scheme for XMPP that Gajim supports via a plugin. This plugin can be installed into user's home directories with Gajim's built-in plugin manager, but this does not work because the plugin cannot find the needed python modules.
01/05/2017 15:32:08 (E) gajim.plugin_system.omemo No module named google.protobuf
01/05/2017 15:32:08 (E) gajim.plugin_system.omemo No module named axolotl

I was able to get this working by placing
{
  packageOverrides = pkgs_: with pkgs_;
  {
     omemo = python27.withPackages (ps: with ps; [cryptography python-axolotl python-axolotl-gajimcurve25519 qrcode]);
  };
}

in ~/.nixpkgs/config.nix and running nix-env -iA nixpkgs.omemo. Finally, running PYTHONPATH="$HOME/.nix-profile/lib/python2.7/site-packages" gajim made the plugin usable.
In Debian, there is a nice package called gajim-omemo which allows the admin to install the plugin globally and the users need only enable it via Gajim's plugin manager.
Adding such a package to nixpkgs could make using OMEMO much easier by removing the need for manually setting PYTHONPATH.

In nixpkgs unstable there is the following build flag:
packageOverrides = pkgs: rec {
     gajim = pkgs.gajim.override { enableOmemoPluginDependencies = true; };
}

and then everything works as expected.

That works pretty well, Thanks!

the flag is now enabled by default: https://github.com/NixOS/nixpkgs/commit/98bcca88134be2934b4d4947d880954b46d3f06c


octave language support misc discussion.

Hi Andrew, I'm looking into the navigation to the symbol under the cursor, and I wanted to ask you a couple of questions.
The syntax file you have here, did you check the other two extensions that support octave syntax highlighting to see if your file is at least as complete as the other?
Any reason for not using the json format for that syntax file, e.g. Octave Language, instead of xml? I believe it's easier to read.
Do you know how to access the language patterns that are parsed using the syntax file?
Thanks

Hi Paulo!

The syntax file you have here, did you check the other two extensions that support octave syntax highlighting to see if your file is at least as complete as the other?

Yes. The other two extensions also appear to be based on the TextMate Octave grammar, so we're starting from the same baseline, and I compared mine against the other two extensions (manually, not exhaustively). I have added support for additional Octave constructs, including OOP stuff, which both the original TextMate grammar and the other extensions are lacking. So in that sense, I believe mine is more complete, in important ways involving core language syntax.
I also removed a couple sections of the TextMate grammar which highlight long lists of common Octave core & toolbox functions and system commands, since I don't think those are special enough to deserve highlighting. So in this sense it's less complete, but I think that's an improvement. However, now that I'm more familiar with how the highlighter works, I think this might have been the wrong move, and I should have just left those definitions in and turned off styling for them using user-level styling preferences for myself. I'm considering adding them back in.

Any reason for not using the json format for that syntax file, e.g. Octave Language, instead of xml? I believe it's easier to read.

A couple reasons. I personally prefer the XML format. I'm a long-time XML user, and have a nice XML editing setup with Oxygen and other tools. So I'm very comfortable working with the XML format. And XML schema-level validation is a useful tool for catching structural errors, which is only available in the XML format, as far as I know. This has already saved me a few hours of work hunting down a misplaced element; I don't think I would have been able to catch a similar error so easily in the JSON format. Since I expect myself to be the main editor of this grammar, I think that counts for something. I'm open to being convinced otherwise, though.
Also, the original TextMate grammar that my grammar is based on is in the XML format, and I plan to contribute some of my improvements back upstream to it. Keeping the grammar in XML format will make this easier.

Do you know how to access the language patterns that are parsed using the syntax file?

No, I'm still pretty new to this. Sorry.