Can you please add this parameter in The Buy Limit Method on V2.0

Dear,
Can you please check this is working with v2.0 , bit its not supported on v1.1
{ TimeInEffect=IMMEDIATE_OR_CANCEL }

I prefer to wait until the 2.0 API is out of beta.  At that time we will upgrade everything necessary.

Is the 2.0 api documented by Bittrex anywhere? I can't seem to find it.

I sent an email to bittrex and I think we will have a very long "beta".
the current web is using the new api I manage to debug the requests.

Here are the endpoints:
`
https://bittrex.com/api/v2.0/key/balance/getbalances
https://bittrex.com/api/v2.0/key/balance/getbalance?currencyname=BTC
https://bittrex.com/api/v2.0/key/balance/getpendingwithdrawals?currencyname=BTC
https://bittrex.com/api/v2.0/key/balance/getwithdrawalhistory?currencyname=BTC
https://bittrex.com/api/v2.0/key/balance/getpendingdeposits?currency=BTC
https://bittrex.com/api/v2.0/key/balance/getdeposithistory?currency=BTC
https://bittrex.com/api/v2.0/key/balance/getdepositaddress?currency=BTC
https://bittrex.com/api/v2.0/key/balance/generatedepositaddress?currency=BTC
https://bittrex.com/api/v2.0/key/balance/withdrawcurrency?currency=BTC&quantity=1&address=xxxxx

https://bittrex.com/api/v2.0/key/market/tradesell?marketname=BTC-LTC&ordertype=XXXX&quantity=1&rate=.00000012&timeInEffect=IOC&conditiontype=xxx&target=xxxx
https://bittrex.com/api/v2.0/key/market/tradebuy?marketname=BTC-LTC&ordertype=XXXX&quantity=1&rate=.00000012&timeInEffect=IOC&conditiontype=xxx&target=xxxx
https://bittrex.com/api/v2.0/key/market/cancel?orderid=xxxx
https://bittrex.com/api/v2.0/key/market/getopenorders?marketname=BTC-LTC
https://bittrex.com/api/v2.0/key/market/getorderhistory?marketname=BTC-LTC

https://bittrex.com/api/v2.0/key/orders/getorder?orderid=xxx
https://bittrex.com/api/v2.0/key/orders/getopenorders
https://bittrex.com/api/v2.0/key/orders/getorderhistory

https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries
https://bittrex.com/api/v2.0/pub/Currencies/GetCurrencies
https://bittrex.com/api/v2.0/pub/Currencies/GetWalletHealth
https://bittrex.com/api/v2.0/pub/Currency/GetBalanceDistribution
https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries
https://bittrex.com/api/v2.0/pub/Currencies/GetCurrencies
https://bittrex.com/api/v2.0/pub/Currencies/GetWalletHealth
https://bittrex.com/api/v2.0/pub/Currency/GetBalanceDistribution
https://bittrex.com/api/v2.0/pub/Market/GetMarketSummary
https://bittrex.com/api/v2.0/pub/Market/GetMarketOrderBook
https://bittrex.com/api/v2.0/pub/Market/GetMarketHistory
https://bittrex.com/api/v2.0/pub/Markets/GetMarkets
https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries
https://bittrex.com/api/v2.0/pub/Currencies/GetCurrencies
https://bittrex.com/api/v2.0/pub/Currencies/GetWalletHealth
https://bittrex.com/api/v2.0/pub/Currency/GetBalanceDistribution
Some order info
OrderType
LIMIT,
MARKET,
TimeInEffect
GOOD_TIL_CANCELLED,
IMMEDIATE_OR_CANCEL,
FILL_OR_KILL
ConditionType
NONE,
GREATER_THAN,
LESS_THAN,
STOP_LOSS_FIXED,
STOP_LOSS_PERCENTAGE
Here is a proper buy uri.
https://bittrex.com/api/v2.0/key/market/TradeBuy?marketName=BTC-LTC&orderType=LIMIT&quantity=5000&rate=.00000012&timeInEffect=GOOD_TIL_CANCELLED&conditionType=NONE&target=0
conditionType and target are required,I just set target to 0 for a none conditional and it works fine.
You would use TradeSell for a sell.`

I have started work on support for API 2.0.  What is done so far has been pushed to a branch.
The plumbing is mostly complete, just updating the existing methods to work with the new mechanism and adding the new endpoints for 2.0

I am trying to use buylimit api but getting error {"success":false,"message":"APISIGN_NOT_PROVIDED","result":null}. There is no documentation which provides details on this APISIGN_NOT_PROVIDED.

From above, I see the following URL.
I do not understand of this market buy order.
I changed the order time from LIMIT to MARKET.
However, what is the rate? Market buy should buy at the best available rate. Why I need to set the rate? I tested without the rate. but it does not work.
"The server returned the status 400 with message "Bad Request" in response to the request to URL"
Here is a proper buy uri.
https://bittrex.com/api/v2.0/key/market/TradeBuy?marketName=BTC-LTC&orderType=LIMIT&quantity=5000&rate=.00000012&timeInEffect=GOOD_TIL_CANCELLED&conditionType=NONE&target=0

Hi! How does this operation sign? where the signature?  I try : URI=https://bittrex.com/api/v2.0/market/TradeBuy?apikey=xxxxxxx&nonce=1533282845&marketName=USDT-BTC&orderType=LIMIT&quantity=1&rate=1000&timeInEffect=GOOD_TIL_CANCELLED&conditionType=NONE&target=0  but this does not work. Help please!

O!!! Its works!!!  Working uri:  URI=https://bittrex.com/api/v2.0/key/market/TradeBuy?apikey=zzxxx&nonce=1533284167&marketName=USDT-BTC&orderType=LIMIT&quantity=0.0007&rate=999&timeInEffect=GOOD_TIL_CANCELLED&conditionType=GREATER_THAN&target=999777
Yeaaaaa!!!!!!!!!! Thanks for all!!!

$nonce=time();
$uri='https://bittrex.com/api/v2.0/key/market/TradeBuy?apikey='.$apikey.'&nonce='.$nonce.'&marketName=USDT-BTC&orderType=LIMIT&quantity=0.0007&rate=999&timeInEffect=GOOD_TIL_CANCELLED&conditionType=GREATER_THAN&target=999777';
$sign=hash_hmac('sha512',$uri,$apisecret);
$ch = curl_init($uri);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
$obj = json_decode($res);
$success=$obj->{'success'};
$message=$obj->{'message'};
$result=$obj->{'result'};
$order_id=$result->{'uuid'};


TO logs warnings when generating snapshots for topology-based delivery services

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Ops

Current behavior:
Traffic Ops logs a warning when generating snapshots for topology-based delivery services:
WARNING: servers.go:364: 2020-10-26T13:35:43.892585-06:00: Creating CRConfig: deliveryservice rawl-http has no regexes, skipping

Expected behavior:
Traffic Ops should not log this warning when generating snapshots for topology-based delivery services.
Minimal reproduction of the problem with instructions:
Create a topology. Assign it to a delivery service. Snapshot the delivery service's CDN.

I can take this one.

I can take this one.

Should there be any other expected behavior besides removing the warning log?

Should there be any other expected behavior besides removing the warning log?

Should there be any other expected behavior besides removing the warning log?

Nope. Topologies work as expected, so removing the warning is sufficient.

Should there be any other expected behavior besides removing the warning log?

Nope. Topologies work as expected, so removing the warning is sufficient.

Topologies work as expected, but would we still want to log the warning for DSes that don't use them?

Topologies work as expected, but would we still want to log the warning for DSes that don't use them?

Yep

Yep

This was not fixed. I'm still seeing this in 5.1:
WARNING: servers.go:365: 2021-03-18T12:38:27.051636584Z: Creating CRConfig: deliveryservice testqa has no regexes, skipping

Yet the testqa DS has a topology assigned.


[api-docs] Add Attachment CDN params (#6650)

A new commit was made into the api-docs repo: https://github.com/discord/discord-api-docs/commit/4efb710136ed7ac010b2e30642413412937a6d62

draft attachment CDN change

ye

This is a bot created issue.

Do we have any code that needs to be changed for this?

I don't think so

When passing CDN URLs into API fields, like url in an embed image object and avatar_url for webhooks, your app can pass the CDN URL without any parameters as the value and Discord will automatically render and refresh the URL.

However, what happen if we do pass parameters? Will Discord automatically refresh and render the URL? Do we need to strip out the parameters or let the users do it by themselves?

I think that it just ignores them, and it does not make sense from them to do a bunch of work to validate those param when, if you don't give them, it's the same exact thing

However, what happen if we do pass parameters? Will Discord automatically refresh and render the URL? Do we need to strip out the parameters or let the users do it by themselves?

No we don't need to strip out the params, we can even provide invalid parameters and it'll work. Discord just basically kinda ignores your params and sets the proper params to the embed image url by itself so when you send a message, you still receive the proper params in the response + through gateway.
The way it works is basically that to use CDN urls outside Discord (like in a browser), you need the proper params so our codebase should give those params if it has access to it but it's just not needed to send if you're trying to use it within Discord.


⚠ ClamAV has degraded performance

In 1c671c8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 203 ms

Resolved: ClamAV performance has improved in e14f654.


Combining data with sql relations

Defining an associaton gives me a finalize_associations!' exception, so I guess it's not implemented. I need to combine a http relation with a sql relation. Am I not mistaking that the only option I have is to use combine_with?

Yes you could try that. We'll add support for associations eventually.

Okay. Now here's the tricky part. Suppose I have an http relation:
class UsersRelation < ::ROM::Relation[:http]
    gateway :my_awesome_gateway

    schema(:users) do
      attribute :id, Types::Int
      attribute :login, Types::Strict::String
      attribute :car_id, Types::Int
      primary_key :id
    end

    def by_id(id)
      with_path(id.to_s)
    end
  end

And an sql relation:
class CarsRelation < ::ROM::Relation[:sql]
  gateway :my_precious_gateway

  schema(:cars, infer: true)

  dataset do
    where(is_deleted: 0).order(:id)
  end

  def by_id(id)
    where(id: id)
  end

  def for_users(_assoc, users)
    where(id: users.map { |u| u[:car_id] })
  end
end

So when I use users.by_id(id).combine_with(cars.for_users).one it throws
ROM::MapperMisconfiguredError ([[:id], [:name], [:create_date], [:change_date], [:description]] attribute: block is required for :from with union value.):

where above-mentioned attributes are the attributes of an entity, representing a car in a database. Where should I look for the problem? I've read a lot of comments in gitter with the same problem, and I believe that the code should work.


Upgrade k8s version in envtest

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/test pull-nats-manager-unit-test


[SPARK-12494] [MLLIB] Array out of bound Exception in KMeans Yarn Mode

What changes were proposed in this pull request?
Better error message with k-means init can't be enough samples from input (because it is perhaps empty)
How was this patch tested?
Jenkins tests.

Test build #54262 has started for PR 11979 at commit ea16e8f.

Test build #54262 has finished for PR 11979 at commit ea16e8f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54262/
Test PASSed.

Merged to master


How to programmatically show notification again?

After a notification has been shown and the time delay, the notification is hidden.
How can I programmatically show that notification again?
I see that I can update its contents. But update doesnt seem to make the notification visible again.

Oops, I think what I wanted was the default behavior. I was calling notify multiple times do to a click handler being registered multiple times.


Viem type inference does not work in ignition modules

Version of Hardhat
2.22.4
Docs reference
https://github.com/NomicFoundation/hardhat/blame/dfd91d254362a3f5a0a2c940398e8af7d677f876/docs/src/content/ignition/docs/guides/viem.md#L102
What happened?
Try to setup hardhat project with viem, typescript, ignition. When i compile the smart contract viem helpers work great, type inference for deploy and contract call, but for ignition it does not work. I just can put anything as arguments of deploy, and same with calls. But in document i can see that everything should work
Node: v20.13.1
NPM: v10.5.2
package.json
{
  "name": "hardhat-project",
  "devDependencies": {
    "@nomicfoundation/hardhat-ignition-viem": "^0.15.4",
    "@nomicfoundation/hardhat-toolbox-viem": "^3.0.0",
    "hardhat": "^2.22.4"
  }
}

hardhat.config.ts
import type { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox-viem";
import "@nomicfoundation/hardhat-ignition-viem"

const config: HardhatUserConfig = {
  solidity: "0.8.24",
};

export default config;

ignition/module/Lock.ts
import { buildModule } from "@nomicfoundation/hardhat-ignition/modules";
import { parseEther } from "viem";

const JAN_1ST_2030 =<PHONE_NUMBER>;
const ONE_GWEI: bigint = parseEther("0.001");

const LockModule = buildModule("LockModule", (m) => {
  const unlockTime = m.getParameter("unlockTime", JAN_1ST_2030);
  const lockedAmount = m.getParameter("lockedAmount", ONE_GWEI);

  const lock = m.contract("anything", [unlockTime], { // no errors and completion
    value: lockedAmount,
  });

  return { lock };
});

export default LockModule;

Minimal reproduction steps

Initialize project with npx hardhat init
Choose: "Create a TypeScript project (with Viem)"
After run npx hardhat compile
Go to ignition/modules/Lock.ts file
No type inference for m.contract()
Try to install @nomicfoundation/hardhat-ignition-viem
Import @nomicfoundation/hardhat-ignition-viem in hardhat.config.ts
Recomile contracts
Go to ignition/modules/Lock.ts file
No type inference for m.contract()

Search terms
viem type inference, ignition type inference

Any update on this ? I am facing the same issue, having auto completion in Ignition modules would be a huge plus

Any update on this ? I am facing the same issue, having auto completion in Ignition modules would be a huge plus

This is a great feature suggestion. I think we want to support it but I can't give a timeline.
We are looking at enhancing the our viem type inference in Hardhat 3 generally, that might provide an opportunity to look at adding refined types within an Ignition module.


Adding a Mine Sweeper Game

I want to add a mine sweeper game. It is a one player puzzle game that you have to click on all of the tiles that do not have a mine hidden under them to win.
Please assign me this task.

Hi @Khushi-Shar , could you please elaborate on the features of the game with full details, demo / mock UI sample/Video, and tech stack? better share details documentation.


Fix #19

Thank you for fantastic library. I fixed all error (by warning) in this library. Could you review it and merge?

@certik Thank you for your comment. As you can see this build, the complication is fail because subroutine SPHY is not used. It maybe a good choice to add interface for SPHY, but I prioritized passing the test

It is not a good choice to delete SPHY subroutine. I'll make a new issue and PR to add interface of  SPHY. Before checkout new branch, could you merge this PR?

It is not a good choice to delete SPHY subroutine. I'll make a new issue and PR to add interface of SPHY. Before checkout new branch, could you merge this PR?

I see. You can remove it then. We can add it later if we add tests.

The tests fails.
This PR is getting large, and there is lots of discussion etc. I wonder if we can simply turn off the warnings for legacy code. The legacy code always had this issue, just the warning is new, not the underlying issue.
I suggest we simply ensure there are no warnings in new code in fortran-utils. And for legacy code we will use compiler options so that there are no warnings when being compiled.
That should make this PR much more manageable and all tests should easily pass.
Then, if you really wanted, we can modify legacy code in a separate PR. Modifying code means we have to add more tests and ensure that we didn't break anything, so that's quite a lot of work, compared to just using legacy code as is.

@certik Thank you for your comment. I agree. I delete this PR and create new one.

@tkoyama010 thanks. I'll try to review quickly anything that you submit.

I implemented what we agreed in this PR in #26. The code there is reasonably simple to merge.


Update example app to RN 40

Make examples for:

RN 0.40 with CocoaPods.
RN 0.40 without CocoaPods (framework).
RN 0.40 with Carthage.

Done.


Smarter QueryColumn

Hey,
Continuing on with the idea of making the schema smarter I would love to get your thoughts on the following:
Adding "filters" and "aggregations" as arrays onto QueryColumn and also adding inheritance to this class, this would allow smarter autocomplete like only having an Min and Max Operator if the type is number | Date and also allowing a Filters to only show you relevant operators to the data type
I have put together a PoC here to allow you to get my initial though on how to approach this:
https://github.com/bigwhitesolutions/reporting/blob/d34cee72cad58ef7dcee9a04e602b7ce1021eb05/React/frontend/src/QueryColumn-Extensions.ts
Inheritance flow
 BasicQueryColumn => ArrayQueryColumn
 BasicQueryColumn => DateQueryColumn => NumberQueryColumn

This makes sense, though it can be a bit simpler because only the sum and avg methods need to be on a derived NumericQueryColumn type. The other aggregations work on all types. Also the in filter isn't restricted by the column type being an array (column types can only be simple SQL types) but lets you do a filter such as WHERE MyInt IN (1, 2, 4).

See release 3.2.0


Needless npm rebuild after updating refs

If the app HEAD hasn't moved, there's no need to do an npm install

This should be fixed in v3.5.12


Added exception to rule being triggered

We are using this 933210 in two places, not sure if that matters. We've added it to the json rules as well.


perf: [WIN-NPM] add all cached NetworkPolicies to a Pod at once

Reason for Change:
Reduces time spent on ACL SysCalls by 99% at mid/high scale.
Specifically, when all of a Pod's NetworkPolicies have been cached. For example, for any Pod CRUD after NPM has reached steady state. Further optimized in #1900.
Issue Fixed:
Second of three PRs addressing Windows limitations in #1614.
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[x] adds unit tests

Notes:
Experiment
500 NetworkPolicies applied to a Pod.
Results

Old NPM: 2 hours to apply NetworkPolicies sequentially.
This PR (MaxBatchedACLsPerPod=33):  1 min 10 seconds for all Pods (even adding ACLs to the 15th Pod).

/azp run

/azp run


How to disable normalisation?

Hi, I'm wondering how I can disable normalisation since it is default enabled and the only argument I can give is enable-volume-normalisation?
Btw, thanks for your work!

You can add whatever arguments you'd like to VOLUME_ARGS in /etc/default/raspotify. You could even start librespot with no volumne args, taking its defaults by uncommenting the environment config variable but leaving it blank,
VOLUME_ARGS=

Closing. Let me know if that doesn't work for you.

So I assume I can't just  make arguments up. Where do I find the list of possibles fro VOLUME_ARGS ?

So I assume I can't just make arguments up. Where do I find the list of possibles for VOLUME_ARGS ?
Here they are: librespot options
Hey, and thanks! This is so good.

Looks like he answered his own question. Pack it up, boys!


Camera flash not working in Android 10

Device use: One Plus 7 Pro
Android version 10
Problem: When try to take photo by turning on flash, the image is taken, but flash not working

https://github.com/JessYanCoding/InsGallery/pull/20

In InsGallery 0.7.0 flash is working for me under Android 10 (Xiaomi A2). Maybe it is due to using the "⚡A" position, where the flash is only used if the current illumination requires it.

In InsGallery 0.7.0 flash is working for me under Android 10 (Xiaomi A2). Maybe it is due to using the "⚡A" position, where the flash is only used if the current illumination requires it.


hub fork shows git remote add usage

I just tried to run hub fork and instead got the git remote add usage. I'm sat in a clone of https://github.com/robertkrimen/gphr/, running hub fork (hub pull-request and others work fine). Strace shows that git remote add -f https://github.com/robertkrimen/ is being run, which makes git remote show the usage.
The fork is not being created in my account.
I guess from the code that an error is being ignored somewhere, since it reaches the git remote add despite the fact that this is the last thing that happens and the fork has apparently failed.
Edit: Strange, looks like the fork is being created in my account. I couldn't find it before. Maybe I spoke too soon?

You got further than I did in figuring out which command is being run that is causing this. I have the same problem and I'm also looking for a solution.
Running on Yosemite 10.10.3, git version 2.4.5 and hub version 2.2.1 installed by Homebrew.
It looks like the remote name is added in https://github.com/github/hub/blob/v2.2.1/commands/fork.go#L77, so I imagine something is happening with the arguments processing in https://github.com/github/hub/blob/v2.2.1/commands/commands.go#L117, but that is a total SWAG since I don't know Go at all, really, so I'm probably totally wrong there. ;]

Is it possible that any of you were using an old git version that didn't support -f flag for git remote add? Check your git help remote documentation.
This is the first idea that comes to my mind. Otherwise, git remote add -f URL is a valid command.

@mislav I think you misread the command that I stated was being run. The word add is missing, so it's just calling git remote -f URL.

However, whatever the failure it's now working for me on
git version 2.1.4
hub version 2.2.1

Thanks for the update!


Adding PolyChord

PolyChord is another nested sampling algorithm that hand handle multi-modal posteriors. It is an evolution over MULTINEST, but can be quite slow. It handles high dimensional parameter spaces very well because it uses slice sampling.
It is fairly easy to add on (they actually provide a python interface) and I've nearly completed this.
It will function in the same way as MULTINEST. However, they do not provide and analyzer. I will write a class in Bayesian analysis for this.
Still, there are more advanced things you can do with the output. For now, I suggest we only extract the the simple stuff that we are doing for the other samplers and encourage the user to use other tools for posterior clustering analysis, etc. We could put these in in the future.
Thoughts?

PS: I have forked the PolyChord distro because it was only in CCForge and not easy to obtain. I added a kludge make install method as they do not provide one.
Hopefully, they will work on this for themselves

I'll take another stab at this now that they have their own python interface.


ng test wont finish & hangs

Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.2.3
node: 6.9.0
os: darwin x64
@angular/animations: 4.3.1
@angular/common: 4.3.1
@angular/compiler: 4.3.1
@angular/core: 4.3.1
@angular/forms: 4.3.1
@angular/http: 4.3.1
@angular/platform-browser: 4.3.1
@angular/platform-browser-dynamic: 4.3.1
@angular/router: 4.3.1
@angular/cli: 1.2.3
@angular/compiler-cli: 4.3.1

### my Karma.conf timeouts

  captureTimeout: 180000,
    browserDisconnectTimeout: 180000,
    browserDisconnectTolerance: 3,
    browserNoActivityTimeout: 180000,
    reportSlowerThan: 2000

Repro steps.
I have like ~300 unit test which used to execute without problem on previous version 1.1.2 and now when I turn them all on it just hangs and after couple minutes HTML reporter shows all success, but command line does not exists.
When I turn like 50 - 100, then it takes like 1.5 min. untill it start printing something to the console and then exists fine. What I see as difference even with 50 test compared  what was before is it prints only final result like it start with ZERO
Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 0 of 50 SUCCESS (0 secs / 0 secs)

and then
Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 50 of 50 SUCCESS (0 secs / 0 secs)

But before it was more incremental I could see something like:
Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 0 of 50 SUCCESS (0 secs / 0 secs)
Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 10 of 50 SUCCESS (0 secs / 0 secs)

Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 30 of 50 SUCCESS (0 secs / 0 secs)

Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 45 of 50 SUCCESS (0 secs / 0 secs)
..

It was more progress.
When I execute each individually all works.
Desired functionality.
I wish to be able to execute again all my tests
Any pointers I can execute locally to identify the cause?

Update
I went couple times back and forth and it seems Angular-CLI should be fine along with Angular 4.3.1, but the libraries (karma, jasmime, etc.) that are defaulted in package.json in the new version might be an issue.
Still investigating....

So did using<EMAIL_ADDRESS>fixed your issue? I'd like to look into this and see what's actually going wrong.

Hey,
Yes this version resolved my issue. I think 300 tests should be suffient.
Or at least tests where you actually instantiate components do maybe some async actions like clicks.
If I get time I would try to see if I can replicate it on new ng new testProblem project.

I just did quick test , where I created one component and inside this component spec I had 4 tests and replicated them to ~ 500 and it works and run fast. So it might not be the same thing.
As I have 45 different spe.ts files with different tests. ;-(

Thanks for getting another look at this. I've seen something similar happening in other projects actually, there's a testing module with a one or two really heavy components and it makes each test take at least 1 sec.
Perhaps you can initialize it once somewhere, import it, and then use resetTestingModule() on the beforeEach? That might be faster.
/cc @wardbell

Thanks. I have already refactor everything where for each tests I import only nessesary components/modules and now all under in matter of few seconds.


IMPROVE - find an easy to use Architecture for the whole app

Describe the feature you want to improve
It would be nice if the whole app uses one Architecture
Architectures that come to mind and might be easy enough for beginners:

MVC (Model-View-Controller)
MVVM (Model-View-Viewmodel)
TCA (The Composable Architecture)
....

Describe alternatives you've considered
This might not be the easiest Task, but could improve future development and Testing!!!!

I am using MVVM (and the app is really like 2 screens at the moment), what about the current architecture do you find confusing? Or is not following MVVM?

@elmoritz ^^ question

I was thinking more of the purpose of testing and mocking.
I know it is not a big app, but would probably improve the possibility to test as much as possible.
But this was just a thought.

In what way do you think the project isn't set up yet to test it? @elmoritz

@mikaelacaron you are right. I had another look at the few ViewModels, which should actually be testes.
You are right for the Size of this project and the few Classes to test we do not need to change Anything.
It might be a little bit more difficult to test everything, but that is all.
I will close this issue, since it is no longer relevant


[Library] No media Information when playing exported media

Exported series and movies are imported into the kodi library fine. However because of the plugin call in the strm files, no media information is shown in the OSD. this also results in that other plugins are not using the info (for example Trakt).
When playing from within the plugin, everything works fine
my solution would be to add the info to the plugin call within the strm files.
plugin://plugin.video.netflix/?action=play_video&video_id=80117471&info_labels=XXXX
in Navigation.py on line 128 there is already a parser for this command (I think). My knowledge of the code is too limited to be of any further help.

Bringing in @hawkeyexp as I believe he added this (in some sort or another) already.

@asciidisco you are right - it was merged on sep 20 "Enable metacaching"
@tonyschuite
It should work since v0.11.25. If the export is done with an older version the metadata is missing in the cache. The safest way is to remove it from export and reexport it.

@hawkeyexp Thanks for the info.
@tonyschuite I´m closing this, if a re-export doesn't lead to the expected behaviour, feel free to reopen :)

Yes, I do have slightly more info now. However no library info. I think this has to do with the limitation of the strm files / plugin reference. So, I don't think it can be done.

So you get the mediainfo from netflix now with a image in landscape format and a short plot ? Can you post an image ? If This is correct pr ##170 will add this option and grab the content directly from kodi if available.

update: this only works when you have played a video in the season from within the netflix addon
i guess he only collects the metadata then...

@hawkeyexp yes, i do! but only if I have played an episode from within the netflix addon. If I export from the addon and not watch it from there, I don't get the extra metadata.
basically I need to open one episode of each season in the netflix addon to get the metadata correct. #170 should be a better alternative I think. would love to test it.

I have to correct the info of asciidisco:
the episode list must be only shown one time at the moment inside the netflix addon than metadata is cached and visible on playback.You do not need to play every epsode :-). PR #170 is based on it to get episode number etc. but this part of the addon will get some more love later.

I have this same issue. But, I did some tests and his the result:

Screenshot 01: If I go to addon, and just export the serie/movie to library, and after that, go to library and play the strm episode/movie, I don't get the metadata

Screenshot 02: If I go to the item that I exported, in the addon and play, I get the metadata (landscape image and plot)

But If I return to my library, and play again the strm episode/movie, I get the metadata, but the landscape is different, and the plot is the same.
Hope this helps!
Cheers


Added --indent option to sass-convert

It should fix https://github.com/nex3/sass/issues/107

sass-convert --indent 4 uses 4 spaces
sass-convert --indent t uses real tabs

There is no option to make the close parenthesis sitting in the same line of last rule, because I think it is hard to use and should be avoid.

This change also moves the closing } to the next line. I think this is a very welcome change.
Also would like to see the same option in the sass engine and CLI.
I wonder whether a --oneline option should also be added that would reformat the properties to be on a single line.

@chriseppstein, I do not understand what "reformat the properties to be on a single line" is. Do you mean that we should adding --oneline to make close parentheses behave like the old way?

I've left a couple comments; I'll be happy to merge this once they're addressed.

@nex3 Thank you for the feedback. I have split them into two commits.


Remove Slack bot token from e2e on-demand tests

Description
Remove Slack bot token from e2e on-demand tests and replace it with the webhook URL
How can this be tested?
Run e2e on demand tests and check slack notification

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.38%. Comparing base (6159b82) to head (796efa7).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3898   +/-   ##
=======================================
  Coverage   64.38%   64.38%
=======================================
  Files         372      372
  Lines       20543    20543
=======================================
  Hits        13227    13227
  Misses       6034     6034
  Partials     1282     1282

Flag
Coverage Δ

unittests
64.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Client reconnect on CBORDecodingError creating infinite loop reading frames

I'm reading from the firehouse using the synchronous client and I am encountering an error when processing a frame. A CBORDecodingError is raised and the logic when handling this error appears to be to reconnect to the feed. The client continues to read from the feed from the initial cursor and shortly after encounters the same unprocessable frame.
The cursor that the error occurs at is just after 93278360
I'm not sure what the solution should be. Should the client reconnect just after the problematic cursor and continue reading the feed, or is there a deeper issue in processing the data that needs to be resolved here?

What a good catch! Thank you! Yeah, it requires deep research into CBOR decoding that is provided by 3d part lib, but for now, let's ignore frames that could not be decoded. The fix will be included in the next release (v0.0.19)

Looks like it's working, thank you!

all issues are coming from a library that I chose as WS client... i migrated to stable one and all issues are gone! https://github.com/MarshalX/atproto/pull/101 i'll merge it soon

@joelghill let me know if you can install this dev build with new WS lib to your feed. Nothing changed for public API. Only my internals of firehose client impl
atproto-0.0.20.dev3.tar.gz

I'll take a look sometime this evening!

Still playing around with it on my end, but so far I haven't seen any exceptions and it's spinning up far fewer threads in the background. Seems much more stable!

Also , the fan on my laptop is much quieter, so that's also a good sign, haha!

I also expect that it manages threads much better. But I didn't notice a big performance boost or something like that. That's cool that now we can peacefully decode cbor without frame looses

Thank you for your tests! I'll include this PR in the next release

I stay connected to the firehose for 7 hours without any errors. Looks soo stable

released in v0.0.20


Add i3 modifier and extraKeybindings options

This way you can now use the default keybindings with your own modifier and do following:
config = {
  modifier = "Mod4";

  extraKeybindings = {
    XF86AudioRaiseVolume  = "exec --no-startup-id pactl set-sink-volume 2 +5%";
    XF86AudioLowerVolume  = "exec --no-startup-id pactl set-sink-volume 2 -5%";
    XF86AudioMute         = "exec --no-startup-id pactl set-sink-mute 0 toggle";
    XF86MonBrightnessUp   = "exec light -A 20";
    XF86MonBrightnessDown = "exec light -U 20";
    XF86AudioPlay         = "exec playerctl play-pause";
    XF86AudioPause        = "exec playerctl pause";
    XF86AudioNext         = "exec playerctl next";
    XF86AudioPrev         = "exec playerctl previous";
  };
};

The config file looks then like this:
...
bindsym Mod4+f fullscreen toggle
bindsym Mod4+h split h
bindsym Mod4+r mode resize
bindsym Mod4+s layout stacking
bindsym Mod4+v split v
bindsym Mod4+w layout tabbed
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 2 -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 2 +5%
bindsym XF86MonBrightnessDown exec light -U 20
bindsym XF86MonBrightnessUp exec light -A 20
...

I can't say much about the specifics for i3 but I think you could accomplish the extraKeybindings thing using lib.mkOptionDefault. Using something like
{
  # …

  xsession.windowManager.i3.config.keybindings = lib.mkOptionDefault {
    XF86AudioRaiseVolume  = "exec --no-startup-id pactl set-sink-volume 2 +5%";
    XF86AudioLowerVolume  = "exec --no-startup-id pactl set-sink-volume 2 -5%";
    XF86AudioMute         = "exec --no-startup-id pactl set-sink-mute 0 toggle";
    XF86MonBrightnessUp   = "exec light -A 20";
    XF86MonBrightnessDown = "exec light -U 20";
    XF86AudioPlay         = "exec playerctl play-pause";
    XF86AudioPause        = "exec playerctl pause";
    XF86AudioNext         = "exec playerctl next";
    XF86AudioPrev         = "exec playerctl previous";
  };

  # …
}

But I can see extraKeybindings as being a bit more convenient.

I prefer the lib.mkOptionDefault approach as it limits the maintainance and is a generic solution across modules. It could be advertised in the example.

Thanks for the PR @manveru!
I didn't know about lib.mkOptionDefault, thanks for the suggestion @rycee.
I agree with @teto, I think introducing an extra option to configure keybindings might be confusing, but adding the note about lib.mkOptionDefault would be very useful.
What we can do to solve the #147 issue, however, is to introduce the "dummy" cfg.config.modifier option which can be referenced in default keybindings as proposed in the PR. This will allow configuring this key for default keybindings easily and could also be used in the custom keybindings.

Thanks for the PR and bringing up the issue @manveru!
We now implemented modifier option in master and added documentation and examples on how to use lib.mkOptionDefault function for keybindings as it was discussed here. I'll, therefore, close this PR but feel free to reopen it if you think the current implementation is still lacking some functionality.


impl simple misra-gries approximate frequency count

Oh shoot! I didn't get a notification for this PR @cmsd2. Thank you for it. I'll review right away.

I'll merge this and make the modifications myself. Thank you again!


Visual bug: Class instance "arrow sign" in the BoxGroup

The foldout arrow is outside BoxGroup (probably any group tho)
Expected to be placed little bit to the right (with offset of about 20-50 pixels idk)
Screenshots

Windows 10
2022.1.0b10.2818
1.8.0
THE SOLUTION FOR THIS MAY BE:

so I have simply added Indent like this
 [SerializeField, Group("Presets"), Indent(1)] CameraPreset presetMenu, presetGuns, presetCharacter;

and it worked nicely.
So can you somehow automate/fix/solve it?

Fixed in v1.9.1

<3 super-r-r-r-r developer


change source for nvidia-gpu

Summary
Migration of NVIDIA-GPU from docs to Install Framework
The owners of this repo are not experts in the subject matter of the quickstarts. We review for the quickstart to be functional and for security risks. If you are seeking feedback on the content of the quickstart, please seek out a subject matter expert. If you are not an internal NR contributor, we can do our best to connect you with a content reviewer.
Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you include a Data source and Documentation reference?
[x] Are all documentation links publicly accessible?
[x] Did you check your descriptive content for voice and tone?
[x] Did you check your descriptive content for spelling and grammar errors?
[x] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

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

can be merged once this PR is merged:
https://source.datanerd.us/nr1-dev-experience/shared-component-framework-configs/pull/299

@abhinav1602, Could you sign "Contributor License Agreement (cla)".


Hotfix/Remove devModeControls when not in dev mode

Purpose
Removes the devModeControls div when not in master so the previous fix will apply
Changes
Removed the else branch on the mako template that added an empty div. Tested by manually removing all divs to ensure that nothing was loaded and removed the file to make sure file didn't 404 if the div didn't exist.
Side effects
No, should be good.
Ticket
https://openscience.atlassian.net/browse/OSF-6535

Cancelled tests


Prevent accidental dill slippage

The DLHub endpoint assumes that pipelines have been serialized with dill <IP_ADDRESS>. We bake that version of dill into our base images. But what if someone installs a library with a different (later) version of dill? Then remote deserialization will probably fail.
At minimum ...

Lock the dill version in Garden's dependencies to <IP_ADDRESS>.

And maybe ...

Add some check or failsafe in the publication process that aborts publication if the publication process is running with the wrong version of Dill

Assumptions:

Acceptance Criteria
Given I am a Garden publisher, when I publish my notebook, then there is no way that it gets serialized with a version of Dill that the River worker can't deserialize.

https://github.com/uqfoundation/dill/issues/609


remove opacity flag

Closes #629
The config option is left so that users can change the opacity programatically or via config files, but the CLI flag is removed.

I think when removing it as a CLI flag, you'll also have to remove it from the testoutput in configuration.rst, lines 50 and 83. (I think we don't run these tests currently in the pipeline.)

Good call. Done.
On Mon, Nov 2, 2020 at 10:27 AM Benjamin Hackl<EMAIL_ADDRESS>wrote:

I think when removing it as a CLI flag, you'll also have to remove it from
the testoutput in configuration.rst, lines 50 and 83. (I think we don't
run these tests currently in the pipeline.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManimCommunity/manim/pull/668#issuecomment-720541414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAILYACTP2CI6GQ6HPTNEG3SN3FW7ANCNFSM4THSDW5Q
.

--
www.leotrs.com |<EMAIL_ADDRESS>PhD candidate at the Network Science Institute, Northeastern University


how i can remove SVG From SVGImageView

Steps to Reproduce the Problem

add svg using url
on remove button remove svg.
add new svgurl to show new svg on same svgviewer.

Specifications

PocketSVG Version: 2.2.1
Xcode Version: 8.3.3
iOS/macOS Version: 10.2

Hi @CIOPinal
We're going to need a little bit more information in order to help you out.
Could you please show us the code you're using to carry out steps 1-3 ? You can create a repo with an xcode project that shows us how to reproduce your issue.

closing due to inactivity.


Sending PR title with version to slack and update to readme.md

PR for Continuous Integration/Continuous Deployment (CICD) Improvement of 'orakl'
Tested Applications: "por", "cli", "vrf", "sentinel"
Main Features:

Ability to select image versions during dispatch.
Enhancement: Updating image versions directly in dispatch (previously only via helm-chart).
Cypress integration: Updating images for Cypress tests based on selected versions.
Slack integration: Posting PR titles with associated image versions.
5/ Documentation update: README.md updated to include image tags.

Note: If the list of images becomes too extensive, periodic cleaning may be necessary.

periodic cleaning may be necessary. -> do the periodic cleaning stand by removing images from ecr?

periodic cleaning may be necessary. -> do the periodic cleaning stand for removing images from ecr?

I mean the list will stored in git action file, it it is too many it can cause confusion later.
Its recommended after some times to clean up un necessary lists from the actions.


Test Fails due to JavaScript error (works with --skip-js-errors)

What is your Test Scenario?
Just simple hover action, beginner with TestCafe
What is the Current behavior?
Test Fails (however in my opinion it shall be reported as Error instead of Fail ... unless this case really relates a launched page and is in fact a test failure
What is the Expected behavior?
Work as when --skip-js-errors is launched? Unless I am too rookie to know what am I talking about :-)
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):

Test Code:

 import { Selector } from 'testcafe';

fixture`Getting Started`
    .page`https://poczta.interia.pl/`;

const cos = Selector('.standard-interia-logo');

test.skip('My first test', async t => {
    await t
        .setTestSpeed(0.1)
        .typeText('input.gLFyf.gsfi', 'John Smith')
        .pressKey('enter')
        .expect(Selector('html').textContent).contains('John Smith')
});

test('My second test', async t => {
    await t
        .hover(cos)
        .wait(50000)
});

Your complete test report:

Getting Started
 - My first test
 × My second test

   1) A JavaScript error occurred on "https://poczta.interia.pl/".
      Repeat test actions in the browser and check the console for errors.
      If you see this error, it means that the tested website caused it. You can fix it or disable tracking JavaScript
      errors in TestCafe. To do the latter, enable the "--skip-js-errors" option.
      If this error does not occur, please write a new issue at:
      "https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md".

      JavaScript error details:
      h.indexOf is not a function:
      value@https://iwa2.iplsc.com/main.iwa.js:2:94620
      value/<@https://iwa2.iplsc.com/main.iwa.js:2:91166
      value@https://iwa2.iplsc.com/main.iwa.js:2:91123
      e@https://iwa2.iplsc.com/main.iwa.js:2:89833
      e@https://iwa2.iplsc.com/main.iwa.js:2:86436
      e@https://iwa2.iplsc.com/main.iwa.js:2:24501
      e@https://iwa2.iplsc.com/main.iwa.js:2:81423
      e@https://iwa2.iplsc.com/main.iwa.js:2:78199
      @https://iwa2.iplsc.com/main.iwa.js:2:59596
      i@https://iwa2.iplsc.com/main.iwa.js:2:398
      @https://iwa2.iplsc.com/main.iwa.js:2:52061
      i@https://iwa2.iplsc.com/main.iwa.js:2:398
      @https://iwa2.iplsc.com/main.iwa.js:2:2164
      @https://iwa2.iplsc.com/main.iwa.js:2:2174

      Browser: Firefox 68.0.0 / Windows 10.0.0

         13 |        .expect(Selector('html').textContent).contains('John Smith')
         14 |});
         15 |
         16 |test('My second test', async t => {
         17 |    await t
       > 18 |        .hover(cos)
         19 |        .wait(50000)
         20 |});

         at hover (C:\testcafe\test.js:18:10)
         at test (C:\testcafe\test.js:16:1)
         at <anonymous> (C:\testcafe\node_modules\testcafe\src\api\wrap-test-function.js:17:28)
         at TestRun._executeTestFn (C:\testcafe\node_modules\testcafe\src\test-run\index.js:288:19)
         at TestRun.start (C:\testcafe\node_modules\testcafe\src\test-run\index.js:337:24)

 1/1 failed (6s)
 1 skipped

Steps to Reproduce:

Open page
Hover mouse on Interia logo

Your Environment details:

testcafe version:   1.4.2
node.js version:   v10.16.0
command-line arguments: testcafe chrome test.js
** the same with firefox
browser name and version: Chrome 76.0.3809 / Windows 10.0.0
platform and version:  Windows 10

Hi @Pieras2

however in my opinion it shall be reported as Error instead of Fail ... unless this case really relates a launched page and is in fact a test failure

If JavaScript errors are not caught, this can lead to web application problems, which are difficult to find. That is why it's necessary to immediately pay attention to such JavaScript errors. It allows web site developers to quickly learn about problems and fix them.

I found a TestCafe problem on the web site from your example. This bug is related to our internal web proxy, so I will transfer this issue to its repository.
For team:
The problem caused by EventEmitter returned as localStorage property value. The site code expects only strings.
We need to hide from enumeration the all internal properties of StorageWrapper


"Edit Note" for notebook post produces blank screen

Attempts to edit a new notebook entry (Landscape Pilot Program) in the group, ETHDenver, result in a blank screen. I tried four times with the same result. Refresh has no effect, can only exit the page/go back.
The issue doesn't appear to be affected by browser (used Arc + Chrome).

Ok actually - when you click into the post it's possible to edit. But when you attempt to edit using the kebab menu that produces the blank screen.

Good catch, thank you!


Bump k8s version 1.22

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.734%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
444

Relevant Lines:
1090

💛  - Coveralls


About Page - Content Sections

Do you think you can adhere to three sections for this page? They'd be:

Site Use Policies
BSSw Contrbutors
The BSSw Team

Currently, there is no Site Use Policies header and we will have four large page heads with very little content under each. It's a little awkward. Of course, this approach presumes you agree that Site Use Policies covers both Intended Use of Site and Contributing and Collaborating. LMK if you prefer the current approach.

Fixed.  There are separate pages for Policies and Contributors, so assuming we want brief text and a link.  Will get back to you about the Team question.  Thanks.

Yes, the brief text and link makes sense. I'm now concerned that Contributors is becoming too much of a blanket term. Case in point is Contributing and Collaborating and Contributors being sequential sections. I think you do mean that the institutions are responsible for getting the site operational and that contributors are contributing to the site. Should we clarify?


Window title switches to "index.html"

When Museeks opens (normally or toggling native frame), the window title is Museeks.
Switching tab to playlists or settings will cause it to change to index.html.
(Affects the taskbar, and title bar if native frame is enabled)
Tested on 0.9.0, Windows 10.
I couldn't reproduce this in 0.8.1 (x64).
Used fresh 'AppData/Roaming/Museeks' each time.

Hello!
Thanks for the report, can you share a screenshot and tell me your OS and which binary you used?

np, I can reproduce it. I will investigate :)


env path

Hi umer @UmerShahidengr
this is the correct path to env : ~/riscv-arch-test/riscv-test-suite/env - (i passed this manual to get passed the error)
but if we try to generate a test using ctg , it pointing to the wrong path (the path that we specific for the test) ~/riscv-arch-test/riscv-test-suite/rv32i_m/zcmp/src/push.( this is a sample path i used for generating tests )
previously along with the each test that was generated using ctg the env was also copied there , but now since this was eliminated and everything this pointing to single arch_test.h , there is a error thrown up while generating using ctg .
error is from ctg.py
Traceback (most recent call last):
File "/home/saravana/.local/bin/riscv_ctg", line 33, in
sys.exit(load_entry_point('riscv-ctg', 'console_scripts', 'riscv_ctg')())
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/saravana/riscv-arch-test/riscv-ctg/riscv_ctg/main.py", line 30, in cli
ctg(verbose, out_dir, randomize ,xlen, int(flen), cgf,procs,base_isa,inst,z_inx)
File "/home/saravana/riscv-arch-test/riscv-ctg/riscv_ctg/ctg.py", line 110, in ctg
if not os.path.exists(env_dir):
NameError: name 'env_dir' is not defined

@JAYANTH-IITM can you update this path, and make a pull request. We will merge this change right away. Thank you for pointing this issue.

ok sir will do it


I have some problem with tradingbot.

There are some bugs in my project.
But I can't  fix.
Please help me.

I see.
I found.


Translations

can i translate to Indonesia?

Btw, can i translate it to Chinese?

yes, absolutely!

I can help on the French translation.
I've seen that you created language directories, I would create the FR one (I hope all French speaking people agree on using only one Franche translation :sweat_smile: ).
One question though:
As I won't be able to translate the whole (huge!) file in one go, do you prefer I left the not-yet-translated part in English in the FR file or do I only include the translated part ?
Thanks for the effort on creating this !

As I won't be able to translate the whole (huge!) file in one go, do you prefer I left the not-yet-translated part in English in the FR file or do I only include the translated part ?

Either is fine.


Parse inline inequalities similar to regular binary operators

    rotate-x: = $z < 0.5;
}```

Seems to parse improperly (as two constraints re-using same variable $z).

Also need to support ~ | ^ & and % binary operators


CAMEL-21402 Added means to verify expressions in MockEndpoint

Yes, I know there is a way to verify expressions like:
mock.message(0).header("foo").matches().constant(123);
But still I can't verify a regex this way
There are more possible usages. Say, XpathExpression against a header. I don't think it's possible with the current API

Here is how you can already do this using the existing API
https://github.com/apache/camel/commit/98ab77779a3f24642ddf412ce75e08357080cd6b

Hi Claus @davsclaus ,
your PR gives a good hint on the capabilities, which I missed. I like this functional Stream-like API, but in some cases you need something less rigid.
I don't insist, that my proposed changes in API cover something previously completely uncovered.
My point is:

For each type of processing like regex("value[2,3]") you need to add a method into MockValueBuilder. What happens if I want to use an expression with xpath()? I need to add a method. Another type of processing? Another method. Sounds like poor extendability/maintainability.
If you ask me how somebody may want to process a header with xpath, I have this link https://stackoverflow.com/questions/49381455/extract-xml-using-xpath-in-camel
So, people send XMLs in HTTP headers :)
I check options for xpath and I can see that currently it can be applied only to request's body, not to headers.

MockEndpoint already provides means to test a header value against a constant:
resultEndpoint.expectedHeaderReceived("header", "value");
I believe the same expectation can be checked with:
mock.message(4).header("header").regex("value");
or
mock.message(4).header("header").asExpression("value");
(More cumbersome, but still it's a duplication of capabilities of method expectedHeaderReceived() - I can understand that it may be preserved for the sake of backward compatibility)

That's why I decided to extend the API. New method expectedExpressionMatches() is designed very similar to expectedHeaderReceived()
expectedExpressionMatches() provides extendability. My plan was to create XpathExpression(Expression expr, String xpath) - maybe in a separate PR.
The more testing capabilities, the better. Like ThereIsMoreThanOneWayToDoIt principle in Perl

You can already use any of the languages, see this xpath test
https://github.com/apache/camel/commit/5308773e385397159c19175cfe591da56d3a434c
We could improve its API a little bit to allow spefiying the xpath directly without having to use .expression(...) to set its literal value.

I can see that this chain calls probably cover all the testing needs. Still: what if I want to test a custom Expression, created on the fly? It's about extensibility without needing to alter existing classes in the core.
I'll take a look at built-in languages

Yeah a custom Expression method on the fly, where you may want to have some lambda style, ala
message(0).header("cheese").expression(e ->  // code goes here).isEqualTo("gauda")

You are welcome to take a fresh look and see if something non intrusive can be improved without too much complexity or yet another way of doing something. We need to be more consistent and lean on the built-in functionality today.
Closing this PR


Local php.ini copy causes state problems when changing machine

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create
  ~ update in-place
-/+ destroy and then create replacement
 <= read (data resources)

Terraform will perform the following actions:

  # data.archive_file.code_build_package will be read during apply
  # (config refers to values not yet known)
 <= data "archive_file" "code_build_package"  {
      ~ id                  = "8f789d38d8ce5a9eccebd06a7a297f80465ab9c7" -> (known after apply)
      ~ output_base64sha256 = "+yuX8RAJXgqjjVs1LyH6XFzJS5eH40rlkij23d/drD0=" -> (known after apply)
      ~ output_md5          = "7a89164d8f2a0b268c5383caaea68823" -> (known after apply)
      ~ output_sha          = "8f789d38d8ce5a9eccebd06a7a297f80465ab9c7" -> (known after apply)
      ~ output_size         = 3990133 -> (known after apply)
        # (4 unchanged attributes hidden)
    }

  # aws_s3_object.wordpress_dockerbuild will be updated in-place
  ~ resource "aws_s3_object" "wordpress_dockerbuild" {
      ~ etag               = "7a89164d8f2a0b268c5383caaea68823" -> (known after apply)
        id                 = "wordpress_docker.zip"
        tags               = {}
      + version_id         = (known after apply)
        # (10 unchanged attributes hidden)
    }

  # local_file.php_ini will be created
  + resource "local_file" "php_ini" {
      + content              = <<-EOT
            upload_max_filesize=64M
            post_max_size=64M
            max_execution_time=0
            max_input_vars=2000
            memory_limit=2048M
        EOT
      + directory_permission = "0777"
      + file_permission      = "0777"
      + filename             = "./codebuild_files/php.ini"
      + id                   = (known after apply)
    }

  # null_resource.trigger_build must be replaced
-/+ resource "null_resource" "trigger_build" {
      ~ id       = "287917269824831391" -> (known after apply)
      ~ triggers = {
          - "codebuild_etag" = "7a89164d8f2a0b268c5383caaea68823"
        } -> (known after apply) # forces replacement
    }

Fixed with #4


Finish crate split

From https://github.com/embedded-graphics/embedded-graphics/pull/498#pullrequestreview-540484691:

[ ] Move PointsIter from into embedded_graphics_core::iterator
[ ] Move RawDataIter into embedded_graphics::iterator
[ ] Check which types in the iterator module need to be in core
[ ] Try to remove draw target adapters, like Clipped or ColorCoverted, from core
[ ] Move TextStyle ~and TextStylePixels~ to core

How will we document which e-g-core version is compatible with which e-g versions? Should a README file of an external crate mention the e-g-core version it's compatible with instead of the e-g version? The core version number might not be familiar for application developers who only depend on e-g itself.

I just noticed that we missed to move the external font renderer support to the core crate.

Dangit. What needs moving over though? I can see the Text struct and TextStyle/TextStylePixels traits, but I'm not sure what else.

TextStyle and TextStylePoints should be in core and Text should stay in e-g. Additional traits might be added in the future to add frame text support.

Both TextStyle and TextStylePixels (which is what I assume you mean by TextStylePoints) require Text though, so we'd have to move Text into core as well.

Good point. I'm not sure yet if it's better to move Text into core or replace Text by &str and Point in TextStyle and TextStylePixels.

I'm not sure either. At any rate, moving the text stuff into core won't be a breaking change as far as I can see, so we can do it at our leisure.
Maybe @bugadani can add some comments on what's required from e-g-core in terms of text.

I think TextStyle and co. is rather renderer-specific, so I wouldn't necessarily move them. To be fair, I haven't had the time to dive into 0.7 and how it affects e-t. In the current versions, although I use TextStyle and TextStyleBuilder, they aren't strictly necessary. I treat e-t as it's own text renderer, and for that the most important dependency is the Font trait, besides the mechanisms to create my own pixel renderers.
I think I should spend some time with the new code, though, before I say anything legally binding.

I think TextStyle and co. is rather renderer-specific, so I wouldn't necessarily move them.

TextStyle was changed to be a trait and isn't renderer specific. The old TextStyle is now called MonoTextStyle.

Interesting. Since it works with Text so closely, I don't think extracting it would make a difference for e-t, though. Kinda hard to describe a textbox using only a position :)

#509 removes the TextStylePixels trait and replaces the Text arguments in the TextStyle methods, so that Text can stay in embedded-graphics.

After porting e-t over to use e-g 0.7, I need to depend on the main crate instead of core for a number of reasons:

e-t implements the Transform trait for TextBox and co., which (the trait) is not present in core.
Currently e-t supports MonoFont by default. I could make this optional, behind a feature flag for example.
Current tests and examples are built on top of MonoFont support. I'll need to extend this to other font renderers, though.

If e-g core would include the Transform trait, e-t could be split into a renderer-agnostic core (some more cores and we'll have a cob of corn in our hands!), as well as a complete package with support for the most widely available font renderers.

After porting e-t over to use e-g 0.7, I need to depend on the main crate instead of core for a number of reasons:

e-t implements the Transform trait for TextBox and co., which (the trait) is not present in core.
Currently e-t supports MonoFont by default. I could make this optional, behind a feature flag for example.
Current tests and examples are built on top of MonoFont support. I'll need to extend this to other font renderers, though.

If e-g core would include the Transform trait, e-t could be split into a renderer-agnostic core (some more cores and we'll have a cob of corn in our hands!), as well as a complete package with support for the most widely available font renderers.

I would prefer to not add additional traits to the core crate at and have e-t depend on the main e-g crate instead. Because we control e-t it shouldn't be too hard to keep it compatible with the latest e-g version.
The Transform trait might change in the future and shouldn't be included in core at the moment IMO. Perhaps we could include it in a future version of e-g-core, if we recognize that it's necessary, but we should try to keep the core crate as small as possible.

I would prefer to not add additional traits to the core crate at and have e-t depend on the main e-g crate instead. Because we control e-t it shouldn't be too hard to keep it compatible with the latest e-g version.
The Transform trait might change in the future and shouldn't be included in core at the moment IMO. Perhaps we could include it in a future version of e-g-core, if we recognize that it's necessary, but we should try to keep the core crate as small as possible.

All right, depending on e-g proper works as well.

All right, depending on e-g proper works as well.

Bumping this to see if we can close it or there's any more to do.

I'll take another look and close it if I don't find anything more that needs to be done.

It looks like the two unchecked items in the OP are no longer valid. The discussion now seems to be around text items which could be added to core as their own piece of work in the future, likely as a non-breaking change. With this in mind, I'll close this issue and we can open news ones in the future for other work.


chore(release): v0.3.0 🎉

:robot: I have created a release *beep* *boop*
0.3.0 (2022-01-03)
Features

types: upgrade simple-type-guards and use HasMetadata to support asserting timestamps returned (#6) (d21359b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/uladkasach/sql-dao-generator/releases/tag/v0.3.0 :sunflower:


cannot override osd_cluster_network and ose_public_network

Tried example/kubernetes but couldn't override them through environmental variables. I had to manually change them in ceph-docker/examples/kubernetes/generator/templates/ceph/ceph.conf.jinja.
Looking at jinja2 doc, there is no builtin filter to pick up the environmental variables.
@leseb

Ah, yes, that's a problem and the workaround is as you mentioned or switching back to sigil. Here are a couple links to comments for more context:
https://github.com/ceph/ceph-docker/pull/618#issuecomment-303453232
https://github.com/ceph/ceph-docker/pull/652#issuecomment-303766097

Looks like a PR with the fix was just opened. 😃  https://github.com/ceph/ceph-docker/pull/726

+1


Improve duniverse representation

Depends on #38 so creating as draft.
This PR aims at using a better internal representation of the duniverse so that the "hard" part is building and there's no need for complex logic when manipulating it afterwards.
In other word once duniverse init has written the dune-get, rest is easy.
It's a pretty big PR compared to what we had so far so I'll try to summarize the changes here a bit. This is a refactoring and shouldn't result in a change of behaviour of the tool (with one exception that I'll bring up later).
The duniverse is now split in two parts: the configuration and the dependencies.
The configuration is just the set of parameters we use to resolve the dependencies during the init command and that we might eventually reuse elsewhere, especially if we need to run opam operations.
The dependencies are as the name suggest the set of dependencies for the root packages of your project. It is now split in two complementary parts: a duniverse which contains everything we can clone and build from sources in the duniverse/ folder and an opamverse which contains all the packages we have to install through opam.
We didn't lose any information compared to what we use to have since the new representation contains the list of provided opam packages for each source repository in the duniverse.
We lost the log that was warning users that conflicting tag/branch were found for a given repo and telling them which one we were picking but it should be fairly easy to bring back if we really want it, which I assume we kind of do but wanted your opinion.
There's been a bunch of small refactors on the way, a lot of new tests, a bit of documentation and so on. It's just a first step but I think overall it's a huge improvement and should make it much easier to work on new features and improve the tool from there.

Note that once #38 is merged the diff will be much smaller.

@Julow should be good now!

Great! Let's merge!


getSignedUrl fails with insufficient permissions on GKE although IAM & devstorage scopes are set

Environment details

OS: Kubernetes/Alpine
Node.js version: 13.8.0
npm version: 6.13.7
@google-cloud/storage version: 4.3.1

Steps to reproduce
I created a kubernetes deployment calling getSignedUrl as follows:
await storage
          .bucket(config.FILL_IMAGE_BUCKET)
          .file(fillImageName)
          .getSignedUrl({
            version: "v4",
            action: "read",
            expires: Date.now() + 167 * 60 * 60 * 1000 // 1 week
          });

and receive this error:
Permission iam.serviceAccounts.signBlob is required to perform this operation on service account<EMAIL_ADDRESS>
The node pool is using the default compute account and has the following oAuth-Scopes set:
      "https://www.googleapis.com/auth/logging.write",
      "https://www.googleapis.com/auth/monitoring",
      "https://www.googleapis.com/auth/devstorage.full_control",
      "https://www.googleapis.com/auth/pubsub",
      "https://www.googleapis.com/auth/iam",
      "https://www.googleapis.com/auth/cloud-platform"

Thanks!

As the error suggest, your service account that you used to sign the request needs to have the iam.serviceAccounts.signBlob permission for the generated URL to have access.
See https://cloud.google.com/compute/docs/access/service-accounts#service_account_permissions


Blog section

Embed blogs from https://medium.com/techequilla

Please assign it to me @smaranjitghose and further guide me to proceed for the same.

I would like to work on this. Please assign this to me.

I am interested in working on this issue, please assign me

medium.com/techequilla

I am interested to work on this

@smaranjitghose please assign this issue to me, i am interested in working on this.

@smaranjitghose Please assign this issue to me

@smaranjitghose  Can i work on this issue please?!!

@shreoshi-roy  You are assigned this for the next week.. Please makes sure there's no conflict with the home page while working

Please assign me this issue to me @smaranjitghose .I am excited to work on this.

I have already worked on this issue and working on a PR rn (just have to
fix alignment of a button)
On Mon 30 Mar, 2020, 8:18 PM Roshan Krishnachandra Jha, <
<EMAIL_ADDRESS>wrote:

Please assign me this issue to me @smaranjitghose
https://github.com/smaranjitghose .I am excited to work on this.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/smaranjitghose/girlscript_chennai_website/issues/4#issuecomment-606045815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANM444KRC6LAPQ4KMIVUJ5TRKCWM3ANCNFSM4LGTROEQ
.

@roshankcjha after @shreoshi-roy 's Pull Request, you can take over


Can I make it use CTRL+SHIFT+vi for navigation instead of CTRL+vi

I'm using bash vi mode. So when using this plugin Ctrl+l does its job of navigation but takes away the clear screen ability. Currently I can only think of adding shift to either the navigation or to the clear screen command. What are some other workarounds for this conflict?

In case you didn't see the FAQ, there is a workaround:
https://github.com/christoomey/vim-tmux-navigator#restoring-clear-screen-c-l

@Verisana thanks for sharing link to the readme section on this. I'm going to close the issue now as I think that section largely covers the issue.


Auth LoginWithRedirect - how to specify page to redirect to after login?

Hi,
is it possible to specify the redirect page after login with redirect?
Thanks
Regards
Benny

Hi @Benny739! Please use stackoverflow for these kind of questions. This library is dedicated to troubleshooting issues.


[UWP] Fix leak in IsBackgroundImageValid

Fixes #3372
We were accidentally using an HSTRING* (bare pointer) rather than an HString (WRL smart ptr) in IsBackgroundImageValid(), and weren't calling the appropriate deallocator. Fix is to move to HString.
Verified with UWP test app and debugger stepping
Microsoft Reviewers: Open in CodeFlow

HRESULT JsonObjectToJsonCpp(In ABI::Windows::Data::Json::IJsonObject* jsonObject, Out Json::Value* jsonCppValue)

nit: Unrelated but something to think about and address -- In general (zero)initialize out parameters first thing. refer osgwiki (https://osgwiki.com/wiki/Cpp_Core_Guidelines#OUT:_Output_Parameters) ..

Refers to: source/uwp/Renderer/lib/Util.cpp:1290 in fa4f17a. [](commit_id = fa4f17aba6bb77f857b428516c05fb79a7a28ac5, deletion_comment = False)

Do we have unit tests that exercise the code path that we could potentially turn into perf tests? If not, let's add them?

HRESULT JsonObjectToJsonCpp(In ABI::Windows::Data::Json::IJsonObject* jsonObject, Out Json::Value* jsonCppValue)

interesting -- I didn't realize that we were using this guidance for non-public-facing APIs. the old rules said that if the function is a public API, it should zero out params, but if it was an internal helper, it was explicitly preferred not to initialize since you control the callers and can define the contract however you see fit. I filed #3384 to track.

In reply to: 524142178 [](ancestors = 524142178)

Refers to: source/uwp/Renderer/lib/Util.cpp:1290 in fa4f17a. [](commit_id = fa4f17aba6bb77f857b428516c05fb79a7a28ac5, deletion_comment = False)

The Card object model test hits this codepath. We don't currently have any tracking of these tests for perf.

In reply to: 524143619 [](ancestors = 524143619)

@shalinijoshi19 - can you take another look? thanks!

Great thanks! Let's file a separate issue here so we can start tracking potential perf scenarios? @RebeccaAnne for FYI

In reply to: 524387679 [](ancestors = 524387679,524143619)

Looks good - but let's file tracking issues and/or follow up on the error contract related issues offline as well. Also nit but i updated the description to have a clear Description + How Verified title in the PR description :) (the content was there just added the headings.)

In reply to: 525857790 [](ancestors = 525857790)


DT Flexibility

There is a need to make the clock heartbeat smaller to match the remapping sub-step in FV. Since we cannot afford to run every single gridded component at such smaller time step, we need to design a scheme to run at least some gridded components less frequently. As @wmputman suggested, we will start with Moist.
As @tclune suggested yesterday, here is a list tasks to accomplish this:

Check that Moist never gets its DT from the CLOCK. I am nearly 100% sure that the current code is Ok, and Moist gets its DT from the resource RUN_DT. Still this should be double-checked
Make sure we export tendencies and not increments (again, I am almost sure this is the case)
Create a new alarm in Moist during Initialize. MAPL already creates its own RUN_DT alarm. but that alarm rings at the last step of the RUN_DT interval. The new alarm should ring at the first step of the interval, so that Moist could populate its exports properly.
Add logic in the run method to skip the calculations if the alarm is not ringing.  All the exports and internal state variables will automatically persist when the component skips the run step. Execute the actual Run method only when the alarm is ringing
Double-check the logic that updates in-place some variable (sync T and Q logic)

@atrayano Thanks.  Are there things to be done inside MAPL as well?  Or do you think the existing alarm situation suffices?

Mentioning @wmputman in case he wants to follow/comment.

I do not think we need to make MAPL changes at this time...

Should we add a new MOIST_DT ? make its default as RUN_DT.

@weiyuan-jiang Yes, I totally forgot about this. Good catch

We should add MOIST_DT entry in AGCM.rc


Compilation to arm fails

Describe the bug
Compiling to ARM does not work
To Reproduce
$ GOARCH=arm go build

Expected behavior
Compilation works fine
Actual behaviour
This error is displayed:
# github.com/ergo-services/ergo/lib/osdep
../../go/pkg/mod/github.com/ergo-services/ergo@v1.999.210/lib/osdep/linux.go:15:11: invalid operation: usage.Utime.Sec *<PHONE_NUMBER> + usage.Utime.Nano() (mismatched types int32 and int64)
../../go/pkg/mod/github.com/ergo-services/ergo@v1.999.210/lib/osdep/linux.go:16:11: invalid operation: usage.Stime.Sec *<PHONE_NUMBER> + usage.Stime.Nano() (mismatched types int32 and int64)
# github.com/ergo-services/ergo/lib
../../go/pkg/mod/github.com/ergo-services/ergo@v1.999.210/lib/tools.go:166:11: cannot use<PHONE_NUMBER> (untyped int constant) as int value in assignment (overflows)

Environment (please complete the following information):

Arch: arm
OS: Linux
Framework Version [v1.999.210]
Number of CPU or (GOMAXPROCS not set)

Additional context
Removing GOARCH fixes it however I need to run few services on ARM

Thanks for the report. I have tested it on arm64 only. Will take a look

Thanks for your response. Indeed it compiles fine for arm64. However when I try to run it on Asus Tinker Board T it hangs and after a while the asus shuts off.
To reproduce:
cd ergo/examples/simple
GOARCH=arm64 go build simple.go
// scp to arm64 device

on the arm64 device:
./simple

The result: it hangs. I have to restart the device.
Occasionally I get this error log:
Message from syslogd@vexing-eft at Apr 22 08:13:22 ...
 kernel:[   64.830251] Internal error: undefined instruction: 0 [#1] PREEMPT SMP

Message from syslogd@vexing-eft at Apr 22 08:13:22 ...
 kernel:[   64.964868] Process simple (pid: 4048, stack limit = 0xffff000013498000)

Message from syslogd@vexing-eft at Apr 22 08:13:22 ...
 kernel:[   65.199004] Code: d2800014 54000be1 b9404004 f9401c03 (23232323)

However usually there is no log at all.
I debugged it a little and found that it hangs on this line: https://github.com/ergo-services/ergo/blob/79bebaa/proto/dist/resolver.go#L225
However the value of the dsn variable seams to be correct: localhost:4369
On my local PC it works fine (but I have erlang installed) but on the arm machine it does not. Could you give me some clues, I would really appreciate it.

To be specific, I have tested it on aarch64 and all tests passed. I will
try to find the same hardware. It's a bit difficult to resolve it with no
access to the similar environment.
On Fri, Apr 22, 2022, 10:32 Szymon Wygnański @.***>
wrote:

Thanks for your response. Indeed it compiles fine for arm64. However when
I try to run it on Asus Tinker Board T it hangs and after a while the asus
shuts off.
To reproduce:
cd ergo/examples/simple
GOARCH=arm64 go build simple.go
// scp to arm64 device
on the arm64 device:
./simple
The result: it hangs. I have to restart the device.
Occasionally I get this error log:
Message from @.*** at Apr 22 08:13:22 ...
kernel:[   64.830251] Internal error: undefined instruction: 0 [#1] PREEMPT SMP
Message from @.*** at Apr 22 08:13:22 ...
kernel:[   64.964868] Process simple (pid: 4048, stack limit = 0xffff000013498000)
Message from @.*** at Apr 22 08:13:22 ...
kernel:[   65.199004] Code: d2800014 54000be1 b9404004 f9401c03 (23232323)
However usually there is no log at all.
I debugged it a little and found that it hangs on this line:
https://github.com/ergo-services/ergo/blob/79bebaa/proto/dist/resolver.go#L225
However the value of the dsn variable seams to be correct: localhost:4369
On my local PC it works fine (but I have erlang installed) but on the arm
machine it does not. Could you give me some clues, I would really
appreciate it.
—
Reply to this email directly, view it on GitHub
https://github.com/ergo-services/ergo/issues/102#issuecomment-1106189951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5ATFEMHDT77JI5ZYZS5LVGJP2ZANCNFSM5T7VMSSQ
.
You are receiving this because you commented.Message ID:
@.***>

Sorry for the delay. I still don't have anything similar to your device.
May I ask you to try these fixes:
/ergo-services/ergo@v1.999.210/lib/tools.go:166
replace:
  limit =<PHONE_NUMBER>

by
  limit = math.MaxInt

it also requires to add "math" module to the import section.
And update ResourceUsage function in<EMAIL_ADDRESS>with this code
	var usage syscall.Rusage
	var utime, stime, bln int64
	bln =<PHONE_NUMBER>
	if err := syscall.Getrusage(syscall.RUSAGE_SELF, &usage); err == nil {
		utime = usage.Utime.Sec*bln + usage.Utime.Nano()
		stime = usage.Stime.Sec*bln + usage.Stime.Nano()
	}
	return utime, stime

Sure I will try it out. However I'm OOO currently and will be able to check it early next week.

Hi,
Unfortunately this does not seam to help. I've added go.mod to ergo/examples/simple:
module simpl.com/simple

go 1.18

replace github.com/ergo-services/ergo => ../../
replace github.com/ergo-services/ergo/etf => ../../etf
replace github.com/ergo-services/ergo/gen => ../../gen
replace github.com/ergo-services/ergo/node => ../../node
require github.com/ergo-services/ergo v1.999.211 // indirect

and then I've made the fixes you've mentioned. There was one mistake on line:
var utime, time int64

I assume it should be:
var utime, stime int64

I've built everything and ran the script again but it hanged the same way it did last time.

so there were a few issues

compilation (it's been fixed, I assume).
run built binary on arm hardware (it hangs on start, I suppose)

It seems I need to get the same HW (or a similar one) or a way to run it somehow in the VM (I have no clue how to do this so far).

Yes the compilation issue has been fixed (actually I was compiling to the wrong target: it should be arm64, not just arm).
The running part appears to still be a problem. Let me know if you wish me to test anything else on the device.

I finally bought this device. Waiting for the shipment.

I've just tested simple example on my tinker board. No issues (master branch)

Could you please check on your board the same way? You may also want to add -ergo.trace to see extra debug info. Like this...
mendel@tinker:~$ ./simple -ergo.trace
2022/07/27 10:09:15 Start node with name "node@localhost" and cookie "cookies"
2022/07/27 10:09:15 Node listening range: 15000...65000
2022/07/27 10:09:15 Started embedded EMPD service and listen port: 4369
2022/07/27 10:09:15 EPMD accepted new connection from [::1]:46830
2022/07/27 10:09:15 Request from EPMD client: [0 22 120 58 152 77 0 0 6 0 5 0 4 110 111 100 101 0 4 17 59 1 0 0]
2022/07/27 10:09:15 [node@localhost] EPMD client: node registered
2022/07/27 10:09:15 [node@localhost] CORE registering behavior "erlang" in group "ergo:applications"
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1001>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1001> (registered name: "")
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1002>): net_kernel_sup
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1002>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1002> (registered name: "net_kernel_sup")
2022/07/27 10:09:15 [node@localhost] SUPERVISOR "net_kernel_sup" with restart strategy: one_for_one[permanent]
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1003>): net_kernel
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1003>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1003> (registered name: "net_kernel")
2022/07/27 10:09:15 NET_KERNEL: Init: []etf.Term(nil)
2022/07/27 10:09:15 [node@localhost] LINK process: <2C323E75.0.1002> => <2C323E75.0.1003>
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1004>): global_name_server
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1004>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1004> (registered name: "global_name_server")
2022/07/27 10:09:15 [node@localhost] LINK process: <2C323E75.0.1002> => <2C323E75.0.1004>
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1005>): rex
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1005>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1005> (registered name: "rex")
2022/07/27 10:09:15 REX: Init: []etf.Term(nil)
2022/07/27 10:09:15 [node@localhost] CORE registering behavior "erpc" in group "ergo:remote"
2022/07/27 10:09:15 [node@localhost] LINK process: <2C323E75.0.1002> => <2C323E75.0.1005>
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1006>): observer_backend
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1006>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1006> (registered name: "observer_backend")
2022/07/27 10:09:15 OBSERVER: Init: []etf.Term(nil)
2022/07/27 10:09:15 [node@localhost] RPC provide: proc_lib:translate_initial_call (gen.RPC)(0x1fc500)
2022/07/27 10:09:15 [node@localhost] RPC provide: appmon_info:start_link2 (gen.RPC)(0x1fc740)
2022/07/27 10:09:15 [node@localhost] LINK process: <2C323E75.0.1002> => <2C323E75.0.1006>
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1007>): erlang
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1007>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1007> (registered name: "erlang")
2022/07/27 10:09:15 ERLANG: Init: []etf.Term(nil)
2022/07/27 10:09:15 [node@localhost] LINK process: <2C323E75.0.1002> => <2C323E75.0.1007>
2022/07/27 10:09:15 [node@localhost] LINK process: <2C323E75.0.1001> => <2C323E75.0.1002>
2022/07/27 10:09:15 [node@localhost] CORE registering name (<2C323E75.0.1008>): gs1
2022/07/27 10:09:15 [node@localhost] CORE registering process: <2C323E75.0.1008>
2022/07/27 10:09:15 [node@localhost] CORE spawn a new process <2C323E75.0.1008> (registered name: "gs1")
2022/07/27 10:09:15 [node@localhost] CORE route message by pid (local) <2C323E75.0.1008>
2022/07/27 10:09:15 [node@localhost] GEN_SERVER <2C323E75.0.1008> got message from <2C323E75.0.1008>
2022/07/27 10:09:15 m: 100
HandleInfo: 100
2022/07/27 10:09:16 [node@localhost] CORE route message by pid (local) <2C323E75.0.1008>
2022/07/27 10:09:16 [node@localhost] GEN_SERVER <2C323E75.0.1008> got message from <2C323E75.0.1008>
2022/07/27 10:09:16 m: 101
HandleInfo: 101
2022/07/27 10:09:17 [node@localhost] CORE route message by pid (local) <2C323E75.0.1008>
2022/07/27 10:09:17 [node@localhost] GEN_SERVER <2C323E75.0.1008> got message from <2C323E75.0.1008>
2022/07/27 10:09:17 m: 102
HandleInfo: 102
2022/07/27 10:09:18 [node@localhost] CORE route message by pid (local) <2C323E75.0.1008>
2022/07/27 10:09:18 [node@localhost] GEN_SERVER <2C323E75.0.1008> got message from <2C323E75.0.1008>
2022/07/27 10:09:18 m: 103
HandleInfo: 103
2022/07/27 10:09:19 [node@localhost] CORE route message by pid (local) <2C323E75.0.1008>
2022/07/27 10:09:19 [node@localhost] GEN_SERVER <2C323E75.0.1008> got message from <2C323E75.0.1008>
2022/07/27 10:09:19 m: 104
HandleInfo: 104
2022/07/27 10:09:20 [node@localhost] CORE route message by pid (local) <2C323E75.0.1008>
2022/07/27 10:09:20 [node@localhost] GEN_SERVER <2C323E75.0.1008> got message from <2C323E75.0.1008>
2022/07/27 10:09:20 m: 105
HandleInfo: 105
2022/07/27 10:09:20 [node@localhost] CORE unregistering process: <2C323E75.0.1008>
2022/07/27 10:09:20 [node@localhost] CORE unregistering name (<2C323E75.0.1008>): gs1
2022/07/27 10:09:20 [node@localhost] MONITOR process terminated: <2C323E75.0.1008>
exited
2022/07/27 10:09:20 accept tcp <IP_ADDRESS>:15000: use of closed network connection
mendel@tinker:~$

Sorry for the late answer.
That's quite strange becuase for me it still does not work. I don't have any customizations on the device, just a bare tinker os installation.
$ uname -a
Linux vexing-eft 4.14.98-imx #1 SMP PREEMPT Wed Jun 9 15:32:53 UTC 2021 aarch64 GNU/Linux

It seams that we even have the same kernel versions (only the compilation time is different).

what version of golang are you using? OS, distro?
PS: forgot to mention. I've updated simple.go by adding flag.Parse() in order to use -ergo.trace

just to make sure I've tested one more time (recently updated my OS environment)

I'm compiling it on:
$ go version
go version go1.19 linux/amd64
$ uname -a
Linux rog 5.15.59-1-MANJARO #1 SMP PREEMPT Wed Aug 3 11:20:04 UTC 2022 x86_64 GNU/Linux

May I ask you to build it using golang 1.18?

Unfortunately it's the same.

could you please add flag.Parse() into the main function of simple.go and run it with -ergo.trace on this board?

btw, is this hostname present in the /ets/hosts?

thanks for the quick reply. I'll take a look at why the node couldn't connect to itself on the 4369.
PS: do you have any firewall settings on this board?

and the last thing I would like to ask you... could you please try the v220 branch? It's got some changes in the network module.

This got me thinking. If it hangs on trying to connect to itself then a simple http server should also be broken:

So I guess you can close this issue because it's clearly not related to the ergo library.

There is one difference: with the http server it does not hang. I can close it with Ctrl+C.

I guess there must be a firewall setting that drops any income connections. You may check this out with iptables -L and iptables -F to flush them out.

It seams that it's not a firewall

When I find some time I will try to reinstall the system.

Since this bug is not related to ergo I'm closing it.


Iframe in dialog

Is there a way to load the ajax into an iframe inside the dialog?

Yes, just surround content with iframe tag. If you do Ajax call first and in contentLoaded callback call confirm with content as return data, it works a little smoother.
Dale
Sent from my iPhone
On Dec 17, 2016, at 12:14 PM, Eytan Chen <notifications<EMAIL_ADDRESS>wrote:
Is there a way to load the ajax into an iframe inside the dialog?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/craftpip/jquery-confirm/issues/186, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQw9yNyWrRKT2vGx3V69ucAMPwPl_H1qks5rJBhugaJpZM4LP7vP.

I must add a iframe example in the docs,


OBJ include without space after colon highlights incorrectly

I'll fix it, good catch.
(what are you conserving on white space?) ;-)

ok, found that the underlying syntax parse is correct. Further semantic processing is breaking it.
The fix will appear in the next release.

Changes committed. Fixes appear in v1.8.7 and later.


Modernize strpos

Replace strpos() calls with str_starts_with() or str_contains() if possible.

Closing all these. If you want to propose a style change, edit the code style fixing configuration, and make sure the tests pass before submitting.


Membership Screening rules accept() + view() methods

Summary
Add a rules attribute in discord.Guild where we can accept or read the rules.
What is the feature request for?
The core library
The Problem
I am trying to accept the rules in various servers so that I can verify or send messages in a certain channel.
The Ideal Solution
Add an attribute named rules to discord.Guild with both accept and read (or view, whatever) that allows us to accept or read/view the rules of the server, as well as accepting them too (requires read()ing them first in order to accept() them).
The Current Solution
None (?). I checked welcome_screen but it has nothing to do with the membership screening (or the rules feature), nor does it have both accept() / view()/read() methods.
Additional Context

Accidentally leaked the whole code, well done Link Safe 🎉

The blocker on this was that membership screening v2 meant the API was in a state of flux. However, it (mostly?) stabilized now that screening v2 was put on the backburner. However, the API for this can be very complicated and will need some thought, so this probably won't make it into the v2.0.0 release.

Cheers, thanks for the response! 🚀


[Documentation Bug]: add techstack logo

Describe the bug ✍
there is no techstack logo in the fontend,backend .
Provide step by step information reproduce the bug 📄
i will add it the readme file.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

can you assign it to me

@Debayan-Ghosh2005  assigning this issue to U

@roy7077  assign a gssoc level on it.

@roy7077  is this active?


Unable to create machines - getsockopt: connection refused

I can't get machine creation to work - every time try I get: "getsockopt: connection refused".
I tried reinstalling whole docker toolbox, virtualbox, tried docker-machine 0.7.0-rc1, 0.6.0, 0.5.6 - same results. There are no logs under ~/.docker/machine, the only file there is boot2docker.iso
mabn@Marcins-MacBook-Pro:/Applications/Docker$ docker-machine --debug create -d virtualbox
Docker Machine Version:  0.7.0-rc1, build 0fb68ca
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver virtualbox
Plugin server listening at address <IP_ADDRESS>:51114
dial tcp <IP_ADDRESS>:51114: getsockopt: connection refused
mabn@Marcins-MacBook-Pro:/Applications/Docker$

Kitematic displays similar error message:

Command failed: /usr/local/bin/docker-machine -D create -d virtualbox --virtualbox-memory 2048 default,Docker Machine Version: 0.7.0-rc1, build 0fb68ca,Found binary path at /usr/local/bin/docker-machine,Launching plugin server for driver virtualbox,Plugin server listening at address <IP_ADDRESS>:51184,dial tcp <IP_ADDRESS>:51184: getsockopt: connection refused,

There is something listening on the port because:
docker-ma 3291 mabn    4u  IPv4 0x7496dcc7ff4e7e1      0t0  TCP <IP_ADDRESS>:50680-><IP_ADDRESS>:50679 (SYN_SENT)
docker-ma 3292 mabn    3u  IPv4 0x7496dcc84ac27e1      0t0  TCP <IP_ADDRESS>:50679 (LISTEN)

I also tried to manually create a vm and add it using generic driver - it fails as well:
mabn@Marcins-MacBook-Pro:~/.ssh$ docker-machine create --driver generic --generic-ip-address=<IP_ADDRESS> --generic-ssh-key=~/.ssh/id_rsa --generic-ssh-user=ubuntu vm
dial tcp <IP_ADDRESS>:54731: getsockopt: connection refused
mabn@Marcins-MacBook-Pro:~/.ssh$ ssh<EMAIL_ADDRESS>hostname
ubuntu-amd64
mabn@Marcins-MacBook-Pro:~/.ssh$

What am I doing wrong?
(I'm on OS X Yosemite 10.10.5)

What's listening on the port is the Machine plugin server (Machine invokes a plugin server and runs commands from that, it's how we support 3rd party drivers).  But, I'm not sure why it's refusing to connect in your case.

Any restrictive, or oddball network configuration on your machine?

I see nothing odd - no VPN, I turned off firewall during testing. Besides docker-machine everything seems to be ok.

After some investigation it seems that in general Go has some issues on my machine (see: http://stackoverflow.com/questions/36532359/go-http-server-does-not-work-on-osx) so this issue can be closed.


How to skip authorizeURL

Description:
hello sir, sorry to spam issue.
i will build app with API and Oauth, but my API skipped authorizeURL
so, how to skip authorizeURL in oauth ?
my code :
    `  import UIKit
       import OAuthSwift

   class ViewController: UIViewController {

var oauthswift: OAuth1Swift?

override func viewDidLoad() {
    super.viewDidLoad()
    doAuthPetani()
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

func doAuthPetani() {

    print ("hei")
    self.oauthswift = OAuth1Swift(
        consumerKey:   "Sjt29_vS0RmK6t-QeXsieYn9Kq0.",
        consumerSecret: "YUVeUSiF_I5ZEoZLnD66dQ6pBu4Oi6D96NpyRbJ-Suo.",
        requestTokenUrl: "https://oauth.8villages.com/tokens/request-token",
        authorizeUrl:    **"my api without this",**
        accessTokenUrl:  "https://accounts.8villages.com/oauth/access-token"
    )

    let handle = oauthswift?.authorize(
        withCallbackURL: URL(string: "8villages://app/oauth-callback")!,
        success: { credential, response, parameters in
            print ("menda")

            self.oauthswift?.authorizeURLHandler = OAuthSwiftOpenURLExternally.sharedInstance
            self.oauthswift?.allowMissingOAuthVerifier = true

    },
        failure: { error in
            print ("a")
            print(error.localizedDescription)
    }
    )

}
}`

OAuth Provider (Twitter, Github, ..):
8villages
https://accounts.8villages.com/authentication
OAuth Version:

[x] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[x] Carthage
[x] CocoaPods
[ ] Manually

Library version:

[ ] head
[ ] v1.0.0
[ ] v0.6
[x] other: (i don't know.)

Xcode version:

[ ] 8.0 (Swift 3.0)

[x] 8.0 (Swift 2.3)

[ ] 7.3.1

[ ] other: (Please fill in the version you are using.)

[ ] objective c

Yes it's a spam
Duplicate of issue 350
Please do not close an issue to open a same one without answering questions...


Text data type

Hey, I'm trying to wrap my head around the library, it looks great!
I might be wrong, but how do we store long text in database? "Text" is one of the basics data types, how is it not implemented?..
Thanks.

Hi and thanks for the kind words. For the front end, use nvarchar and specify a length. The library is designed to provide commonality across different database types. Some database types permit a text designation with no length property and others don't. Since the library allows you to abstract the database it has to work with the least common denominator. Cheers


Split rally cases for different envs

Some envs have no ceph nodes so that ceph-related rally cases cannot be run successfully.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

@paulczar Thanks for your suggestion, I've updated by using getopt()

Thanks @ivy275,  however there's a subtle distinction between getopt and getopts, with the latter being preferred.   Here's a good page showing the differences http://abhipandey.com/2016/03/getopt-vs-getopts/

@paulczar Yeah, I saw the distinction.
But I think it's more clear to use getopt, since getopts does not support long option such as (--cinder-enabled). If I use getopts, only short option is supported like "-c" which I think someone may still don't know what it is.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

getopt is an external binary that can be different on different systems and isn't always predictable,  getopts is bash native and works on any POSIX consistently.   that's more important than long vs short for something this simple.   the main thing here is to get away from positional args.

@paulczar Changed to use getopts. Please review.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

retest

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

retest


Add QR code/button or page for donations to Mee website

add a link/button (and maybe QR code) for it to our website somewhere: https://www.patreon.com/TheMeeFoundation
Consider adding a separate page similar to this one: https://veilid.com/donate/

https://github.com/MeeFoundation/browser-extensions/pull/2