text:
🛑 Top Warranty is down

In 2202419, Top Warranty (https://topwarranty.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Top Warranty is back up in 63e01fa after 1 hour, 7 minutes.

repo: JNA-Dealer-Program/stats


text:
Please add support for more MTU values

The MCPE game uses the MTU 1492 but JRakNet doesn't support that MTU. The way I have fixed this for my own use is by adding new MaximumTransferUnit(1492, 3) to the list of units in RakNetClient. I put it as the first item in the array

I can do that! :) Would something like this work?:
RakNetClient client = new RakNetClient(); // Client
client.addMaximumTransferUnit(new MaximumTransferUnit(mtu, retries)); // New MTU

// Server connection code

Added in version 2.5! The code example in the comment I made earlier is how you can do what you were asking for :)

source: gharchive/issue

repo: JRakNet/JRakNet

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 HelpDesk is down

In 5d7c8e0, HelpDesk (https://soporte.petroil.dev) was down:

HTTP code: 503
Response time: 257 ms

Resolved: HelpDesk is back up in bb3a133.

repo: JReyesPetroil/upptime


text:
Boundaries for the variables

I could not find the way of adding upper and lower boundaries for variables. is it an attribute "max", "min" for each variable?

That's what constraints are used for. For example:
"constraints": {
            "oatmeal": {"max": 4},
        },
        "variables": {
            "oatmeal": {"oatmeal": 1 },
        },

Would ensure that the maximum value for oatmeal would be 4.

"oatmeal": {"oatmeal": 1 },
Can you tell me what does this line do?

This means for each oatmeal in the solution you want the oatmeal variable to increase by one.
If you have
"variables": {     "x": {"y": 1 }, },
you can only use y in your constraints, not x. So have to use "oatmeal": {"oatmeal": 1 }, to limit the number of oatmeals.

Maybe I'm missing something here, but I don't seem to be able to set a negative lower bound on a variable.
Is there always an implicit positivity constraint for every variable?

@waeltut try this:
let model = {
    "name": "food",
    "optimize": "cost",
    "opType": "min",
    "constraints": {
        "oatmeal": {
            "max": 4
        },
        "chicken": {
            "max": 3
        },
        "egg": {
            "max": 2
        },
        "milk": {
            "max": 8
        },
        "muffin": {
            "equal": 2
        },
        "soup": {
            "max": 2
        },
        "kcal": {
            "min": 2000
        },
        "prot": {
            "min": 55
        },
        "ca": {
            "min": 800
        }
    },
    "variables": {
        "oatmeal": {
            "kcal": 110,
            "prot": 4,
            "ca": 2,
            "cost": 0.1,
            "oatmeal": 1
        },
        "chicken": {
            "kcal": 205,
            "prot": 32,
            "ca": 12,
            "cost": 0.8,
            "chicken": 1
        },
        "egg": {
            "kcal": 160,
            "prot": 13,
            "ca": 54,
            "cost": 0.4,
            "egg": 1
        },
        "milk": {
            "kcal": 160,
            "prot": 8,
            "ca": 285,
            "cost": 0.3,
            "milk": 1
        },
        "muffin": {
            "kcal": 420,
            "prot": 4,
            "ca": 22,
            "cost": 0.7,
            "muffin": 1
        },
        "soup": {
            "kcal": 260,
            "prot": 14,
            "ca": 80,
            "cost": 0.6,
            "soup": 1
        }
    }
}

let results = solver.Solve(model);

// See what we have so far...
console.log(results);

// Roll it all up for proof:
let output = {};
Object.keys(results).forEach(function(rAttr){
    if(model.variables[rAttr]){

        let tmp = model.variables[rAttr];

        for(attr in tmp){
            output[attr] = output[attr] || 0;

            output[attr] += tmp[attr] * results[rAttr]
        }

    }
})

console.log(output);

If I wanted to set the constraints this way, would it be correct?
"constraints": {
"oatmeal": {
"max": 4,
"min": 2
},

If I wanted to set the constraints this way, would it be correct?
"constraints": {
"oatmeal": {
"max": 4,
"min": 2
},

authors: ASIF-Mahmud1 JWally diligence-dev jgbranco mbleichner ojame waeltut

repo: JWally/jsLPSolver

license: unlicense

license_source: bigquery


text:
🛑 Glitch is down

In 428f22d, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 188 ms

Resolved: Glitch is back up in 3514477 after 25 minutes.

repo: JYFUX/upptime


text:
🛑 Glitch is down

In 82618a6, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 291 ms

Resolved: Glitch is back up in 2f60326 after 55 minutes.


text:
🛑 Glitch is down

In 51e2d36, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 358 ms

Resolved: Glitch is back up in 6209aa5 after 36 minutes.


text:
🛑 Glitch is down

In d80a81d, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 213 ms

Resolved: Glitch is back up in acc4b39.


text:
🛑 Glitch is down

In 6ac1612, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 391 ms

Resolved: Glitch is back up in dd7ac8c after 67 days, 8 hours, 52 minutes.


text:
Cannot undo an insertion after undoing a later update to same document

If a document is inserted in one transaction and updated in a second transaction, and then I try to undo both transactions in reverse order, the undo of the insertion will fail because the transaction_id of the doc doesn't match.  Test case.
In my app, I disabled this check because the app enforces a linear undo history.  I'm not sure what would be an appropriate fix in general.  One idea: keep a list of all transaction IDs that have updated the document after it was inserted.  When one of those transactions is undone, remove it from the list.  When attempting to undo the insertion, check that the list is empty.  But this list could grow indefinitely, which could become a problem.

I don't have a good solution for this. The list of transaction id values would work but, like you say, it would blow out the size of documents with lots of writes done on them via transactions.
We could control the indefinite growth of transaction_id arrays by cleaning up old transactions with a cron job and removing transaction_id values from documents affected by the transactions being removed.  Not ideal.

authors: JackAdams mattmccutchen

repo: JackAdams/meteor-transactions

license: mit


text:
Percentage circle for ReactJS?

Hi, I love the percentage circle for React Native, It works very well, good work. I was wondering If it could be possible to use it with ReactJS in the web?

OK，I'll write one soon. It is easy to extend to web.

@epas1117  Hello, I have publish a new component for ReactJS. You can use ReactJS-percentage-circle now 😁💐.

Thx, I'll use it soon. I bet that to a lot of people will be useful.

repo: JackPu/react-native-percentage-circle


text:
Alenjojo

If you need anything- help or support - please reopen this issue, people will still be able to see your profile, even if it is closed. Thank you.

sure, tq so much

authors: Alenjojo CodingSpecies

repo: Jaidevstudio/Unique-Github-Profiles


text:
Hide FAB and Action Bar when scrolling down?

As in other apps, would be nice to give a bit more room to News Feed.

Immersive mode could be used to hide the Action Bar.

authors: JakeLane conzorz

repo: JakeLane/Toffeed


text:
Proposal: Resolved Attributes support

Been mulling over this for my Barber library, but wondering if this something that would be better suited to Butter Knife given its more general use case. The idea would be this:
@BindAttr(R.attr.colorPrimary) @ColorInt int primaryColor;

// And would generate code like this
TypedValue outValue = new TypedValue();
context.getTheme().resolveAttribute(R.attr.colorPrimary, outValue, true);
target.primaryColor = outValue.data;

Could possibly reuse a TypedValue instance as well.

Corresponding issue I opened about this awhile back: https://github.com/hzsweers/barber/issues/15

This would definitely be helpful, as it makes switching themes a lot easier. Also, we could have a generic @BindAttr without the need for specifying the resource because TypedValue provides a type field which can be used to determine the resource/variable type.
Actually, I think it's possible to completely generalize the reference through Resources. getResourceTypeName(int id), so it's technically possible to @Bind(R.id.anything) Class name.
@BindAttr(R.attr.colorPrimary) int primaryColor;

TypedValue value = new TypedValue();
context.getTheme().resolveAttribute(R.attr.colorPrimary, value, true);
switch (value.type) {
    case TYPE_INT_COLOR_ARGB4:
        ...
    case TYPE_STRING:
        ...
}

context.getTheme().resolveAttribute(R.attr.colorPrimary, outValue, true);

#613 would give you this for free

How do you determine which context to use? My Toolbar will have a different theme than my Activity. Named annotation parameter set to a view ID?

Well, logically it would inflate with the form of Context which you pass to ButterKnife.bind(). I don't think you should be expecting a theme attribute inside a Context whose theme is different from where you bind the attribute. I feel like in that example, you'd want to bind the attribute inside the Toolbar, or well I guess a subclass, so that you access the correct Context.

We're all on the same board concerning the default behavior.

Like hell am I going to subclass Toolbar to inflate drawables for a menu which is completely decoupled. That's why I suggested an annotation parameter.

We'll be using the context that's passed in directly or the one inferred from the view which is passed in.

+1 It pains me to admit that I just figured out how themes and styles work. I went to do this with butterknife and couldn't. I so wish I could. Good to know its at least going to be made.
Is anyone working on this right now? It doesn't look like it, but it doesn't look like anyones working on 9.0 stuff so idk.

authors: JakeWharton TheKeeperOfPie consp1racy dstocking-ext hzsweers kageiit

repo: JakeWharton/butterknife


text:
About navigationView BindView

Hello,
I want to use @BindView() to bind a navigationView.getHeaderView(0).findViewById()
but I failed, How can I bind it?

Pass the result of getHeaderView to bind() with the object that has the bindings you want bound.

authors: JakeWharton JingweiWang


text:
Add support for GET TIME VALUE

I will soon start on adding support for Vensim's GET TIME VALUE function.
https://www.vensim.com/documentation/fn_get_time_value.html

Working on this.

It is complicate to include the full functionality of this function:

Seems that Vensim has a bug on it, I am running it with Vensim 7.3.4 in Windows and I have the same results when relativeto is set to 0 an to 1
In order to implement the measures 0 to 10 with relativeto 0 or 1 we need to parse the "Base date" which is included in the sketch

Therefore, for now I will only include measures 1 to 10 with relativeto 2 and measure 0 with relative to 0.

relativeto=2 has been fully implemented in branch dev.
In the future maybe some other users may want to implement the missing cases.

repo: JamesPHoughton/pysd


text:
Fixing some issues and improvements

In this PR I'm fix the next issues: #171, #167, #166, #165

Now generated models don't contains full-path names in the top comment
Now generated models has new function getPysdCompilerVersion() that returns version of compiler that was used for generating this model, this can improve function for smart loading of model. Details about it you can see in issue #165
Now XMILE models don't require the time_units attribute in sim_spec node, that is correct for XMILE specification. Previously this attribute was required. By default this value is empty.
Now XMILE models correctly handle the complex identifiers that wrapped with double quotes, f.ex. "Room Temperature". Previously this model definitions can't be loaded by PySD library.

Regards,
Alexey - Core Lead Developer
from sdCloud.io development team

Coverage increased (+0.2%) to 90.541% when pulling a5923ab571e0cd4f4a96129387450ef13074e179 on alexprey:master into ed166bae4c40c3f0e5f5cab41bbe9972a27898e9 on JamesPHoughton:master.

Hi @JamesPHoughton, can you check this PR and release a new version of library before next week? It would be great, if yes!
Thanks!

Hey Alexey,
Looks great - had some suggestions for you, and then I’ll go ahead and pull. I’ll try and release a new version to pip, too.
James

Coverage increased (+0.2%) to 90.541% when pulling 134e3d47fdfeb3b846b33123e7d1bf5c82b9cdcb on alexprey:master into ed166bae4c40c3f0e5f5cab41bbe9972a27898e9 on JamesPHoughton:master.

Coverage increased (+0.2%) to 90.541% when pulling 134e3d47fdfeb3b846b33123e7d1bf5c82b9cdcb on alexprey:master into ed166bae4c40c3f0e5f5cab41bbe9972a27898e9 on JamesPHoughton:master.

Hi @JamesPHoughton, any news about merge and release?
Thanks.

New release on pypi: https://pypi.python.org/pypi/pysd/0.8.3
Let me know if you have trouble!
James

@JamesPHoughton update complete successfully, great, thanks!

source: gharchive/pull-request

authors: JamesPHoughton alexprey coveralls


text:
Sox Installation error in Centos 7

Hi,
I tried to install Sox in centos 7. I searched in google and installed it. But now when i tried to run Sox command to make loop (sox audio.mp3 audio-loop.mp3 repeat 15) I got error
-bash: sox: command not found
Can you please help me.

Did you resolve this? If you've installed sox from your OS's repo's it should work fine. Maybe the path is missing?

authors: JamesTheHacker sardarsaab

repo: JamesTheHacker/Facebook-Live-Reactions


text:
Exit with non-zero status code on error

Steps To Reproduce The Error

brew install imageoptim-cli
do NOT install imageoptim, the GUI app

Expected Behaviour
i Running ImageOptim...
! ImageOptim.app is not installed (https://imageoptim.com/mac)
! No size savings
✓ Finished

Exit status 1, indicating a failure. The ! ImageOptim.app is not installed line should be !!! and red to indicate an error.
Actual Behaviour
i Running ImageOptim...
! ImageOptim.app is not installed (https://imageoptim.com/mac)
! No size savings
✓ Finished

No error. Process exits with exit status 0, indicating a success. The ! lines are yellow, indicating a warning, not error.
Version Numbers or N/A
% imageoptim --version
2.3.9

macOS: N/A
/Applications/ImageOptim.app: N/A
/Applications/ImageAlpha.app: N/A
/Applications/JPEGmini.app: N/A

Help Needed

What kind of help or information do you need to help you create a PR? This can
help others understand what they can do to help you get started.

I'm not interested to create a PR.

I'm not interested to create a PR.

Just an FYI then?
@JamieMason maybe a different logger level?
export const notinstalled = (value: string): void => {
    console.log(color.red('!!! %s'), value);
    process.exit(1);
  };

Then change the warning() calls in the runners, e.g.:
if (!(await pathExists(IMAGEOPTIM_BIN_PATH))) {
    return notinstalled(`ImageOptim.app is not installed (${IMAGEOPTIM_URL})`);
}

Not sure if this means it would be caught by your exception handler, I don't think so... I think the Node process stops as soon as you call process.exit(1);
https://github.com/JamieMason/ImageOptim-CLI/blob/8a25ef91e97e7529add28f666fd6c9545f080266/src/index.ts#L60-L63
Seems a bit overkill for a rare scenario to me though.

Thanks @jamesstout, I think you're right that a new log level is the way to go – it seems better to throw than warn and it's easy for those who might not have been using --no-imageoptim and we ignoring the warnings to just add --no-imageoptim to prevent the error and quit.

I think the Node process stops as soon as you call process.exit(1);

that's correct

that's correct

Thanks, so if bug() calls process.exit(1);, will this line ever run?
https://github.com/JamieMason/ImageOptim-CLI/blob/8a25ef91e97e7529add28f666fd6c9545f080266/src/index.ts#L62
[not sure what await does .. something something async promises?]

Thank you guys for looking into it!
I've just corrected the issue title. Not sure how it ended up like that.

Seems a bit overkill for a rare scenario to me though.

Not sure how rare it is but I used imageoptim on Linux for years, and now when I'm on Mac I installed it using brew and thought it was working (seeing success messages and all that) but it actually did not.

[not sure what await does .. something something async promises?]

await is a modern JS way to convert visually cluttered callbacks to code that looks iterative but still operates on callbacks. More on it here: https://blog.bitsrc.io/keep-your-promises-in-typescript-using-async-await-7bdc57041308

[not sure what await does .. something something async promises?]

that's right, it waits for the promise to resolve before continuing to the next line. Good thing you mentioned this as I'd missed the tearDown stuff, so I'll make sure that is always run.

Not sure how rare it is but I used imageoptim on Linux for years, and now when I'm on Mac I installed it using brew and thought it was working (seeing success messages and all that) but it actually did not.

Yes, apologies .. I was thinking only in macOS terms, and I agree, a correct return code is needed.

await is a modern JS way to convert visually cluttered callbacks to code that looks iterative but still operates on callbacks.

Thanks. I'm a JavaScript novice trying and failing to get this TypeScript project to build 😢

Good thing you mentioned this as I'd missed the tearDown stuff, so I'll make sure that is always run.

Definitely doesn't run clean() (at the moment) when it exits on error:

I realised after releasing 😬 and started this change in a dev branch https://github.com/JamieMason/ImageOptim-CLI/commit/5a6b1d4f2977131b6b12b5ee33d51952b7caba81

authors: JamieMason Nowaker jamesstout

repo: JamieMason/ImageOptim-CLI


text:
Add support for PHPStan 2

on top of #345, #347
and do " Remove not longer required stubs" @see #309 .

Todos - needs HELP!

[ ] Update README example code.
[ ] Update .docker (or remove?)
[ ] Update gha matrix to test with PHP 8, PHPUnit 10,11

This PR includes a lot of changes to pass CI.
requiments, dependency

Update requirements PHPUnit >=9.1 .

Becaouse, run test with  PHPUnit 8 would cause deprecation warning.
PHPUnit 9 requires PHP 7.3, and PHPStan requires PHP 7.4. So update requirements is acceptable, I think.

Add requiments phpspec/prophecy-phpunit
Update php-cs-fixer 2 to 3. ( .php_cs to .php-cs-fixer.php)

to run under  recent PHP 8 versions
I'm not familiar with php-cs-fixer, so if you find any problem, please tell me.

tests

Use PHP's reflection to get stub object, instead of prophesize() call

PHPStan 2's Reflection\ClassReflection is final class.
I can't see any good reason to use prophesize() in these unit tests.

phpspec/prophecy-phpunit 2.3.0 is now released: https://github.com/phpspec/prophecy-phpunit/releases/tag/v2.3.0
Note that this implicitly bumps the Prophecy requirement to 1.18: https://github.com/phpspec/prophecy-phpunit/blob/8819516c1b489ecee4c60db5f5432fac1ea8ac6f/composer.json#L16
The only remaining blocker seems https://github.com/phpstan/phpstan/issues/8439, but we can keep the WillExtendOrImplementDynamicReturnTypeExtension as a workaround for now. WDYT?

I would keep it aslong as https://github.com/phpstan/phpstan/issues/8439 is not solved. If that is solved we can in future versions remove it and increase the phpstan min version.

Ok, so we're ok with leaving the WillExtendOrImplementDynamicReturnTypeExtension. Is this PR mergeable then? @sasezaki asked for help on updating the GHA matrix, I can do that but I need to know where; if this isn't merged, I don't know if I should start another PR or not.

@Jean85 fine to continue things in another Pull request.

authors: Jean85 alexander-schranz sasezaki


text:
Gaps in Log data accompanied by screen flash - Priority 2

Summary: Identify and fix cause for spontaneous all-off.
Description: Occasionally there is a flash on the arena screen (flash meaning the LEDs turn off for about ~20 ms). The log of this data then shows an accompanying ~20 ms gap in all data, including timestamps. This happens in any context, whether a trial is being run in a particular mode or whether the screens are just running an all-on command. We have been unable to recreate any particular circumstance in which this happens. Running the same code on different days will result in different frequency, but it does inevitably happen on occasion.

Maybe the delay is a short version of the issue #57, although there the "all on" command is delayed by seconds.

Based on the suggestion received via email, the following code was used for testing:
function gapsInLogXLSX(testCase)
    testCase.panelsController.setRootDirectory("C:\matlabroot\G4");
    testCase.panelsController.setControlMode(1);
    rsps = [];
    runTime = [];
    seqTime = [];
    for ii=1:400
        testCase.panelsController.startLog()
        testCase.panelsController.setPatternID(ii);
        testCase.panelsController.setPatternFunctionID(ii);
        testCase.panelsController.setPositionX(ii);
        startTime = tic;
        rsp = testCase.panelsController.startDisplay(23);
        seqComplete = toc(startTime);
        rsps = [rsps; rsp];
        runTime = [runTime; 23];
        seqTime = [seqTime; seqComplete];
        testCase.panelsController.stopLog();
    end
    T = table(rsps, runTime, seqTime);
    writetable(T, "gapsInLog.xlsx", "Sheet", "gaps")
end

With G4 Host version 237 the following metrics were produced:

Threshold
Fails run 1
Fails run 2
Fails run 3

0.02s
1%
1%
1%

0.01s
1.5%
1%
1%

0.008s
2.75%
1.75%
1.25%

0.005s
40.5%
34.75%
26.75%

G4 Host version 239 was suggested as a solution to this issue. Similar metrics for this version looks like this:

Threshold
Fails run 1

0.02s
1%

0.01s
1.5%

0.008s
2%

0.005s
29.5%

After the first iteration of the test the above summary suggests that there are roughly the same amount of issues happening, so version v239 doesn't seem to fix the issue.

Looking into the issue a bit more in depth:
The gapsInLog.xlsx file generated from the script above can be used to identify the trials where the gaps occur. For example, the attached file shows a slowed down response for the 396th trial of around 2,319s (compared to the median of around 2.304).

I then looked into the TDMS-log files of that trial, specifically the *_Frame_Time.tdms. There I calculated the difference between two successive frames and plotted the value. In general, a difference of 2000µs is expected (for 500Hz FPS), but in this specific example the frame takes 18000µs.

In other cases of the same test I have seen gaps as big s 50000µs

...or 42000µs

Since the total number of trials above the threshold hasn't changed between version 237 and 239, the assumption is that v239 doesn't fix the issue.

For the tests before I had used a wrong combination of pattern and arena configuration (4x12 pattern, 3x12 arena).
Configured correctly, the issue seems to become less frequent on my setup. I ran 3 full experiments with v239 and only in one of them I found the error using the same strategy (inside 05-03-2022_15-03-43-46_Frame_Time.tdms and 05-03-2022_15-03-57-29_Frame_Time.tdms of gapsInLog-v239-test9.zip ):
 and

After updating the G4 Host to v240, I ran two tests, both produced the same type of errors.
For gapsInLog-v240-test1 one example for an error is inside 05-12-2022_15-03-31-16_Frame_Time.tdms around the timestamp 200332765.
For gapsInLog-v240-test2 there are 9 errors within 28 frames (timestamp 50192333 to 50270332) in 05-12-2022_17-05-28-35_Frame_Time.tdms.

Response via email:

Looking at the first set of v240 data, it showed an error interval of 108-109 runs again and I also didn't see any dequeue error.  I ran the test 7 times (2800 total scans) on my PC without an issue so this is difficult to debug. I have to come up with some more debug utilities to help me isolate this issue.

Via email:

Can you run this tester for about an hour or so whenever you have some time and take a screenshot of the front panel at the end?

if this happens only 3 times during a 66 hour interval, then we can live with the problem.
If it happens several times during a 20min experiment (as it does for the test scripts), then this would ruin a lot of valuable experiments.
Blank frames (or even delayed frames) are not an option for our experiments, they ruin data as well. For an increasing number of our experiment we are using electrophysiology and rely on continuous delivery of stimuli -- any small deviation from the 2ms frame length might look like a false signal in our measurements. I just wanted to give you this as an explanation why we are so persistent on getting this issue fixed now -- or at least understand why we are seeing them on some of our setups so we can avoid the same problem on others.

To confirm that the error might get fixed with v243, I reran the test with v240 and I was still able to replicate the issue, for example in gapInLogs-v240-test11, 08-01-2022_10-10-56-56_Frame_Time:

After the upgrade to v243 (linked above) I still see a similar error (gapsInLog-v243-test03, 08-01-2022_14-02-12-20_Frame_Time)

even several times within 400 trials (gapsInLog-v243-test03, 08-01-2022_14-02-32-08_Frame_Time)

Can you go into the configuration file and change the  GS16 Buffer Size (Stream) to 20000 and try it again?

I ran it a few times with the increased GS16 Buffer size and did not see the same problem. That's great.
For my understanding: What are the side effects of this change. What exactly are the expected changes in the timing?

So this tells me that host software will occasionally have a blip where it prevents the next frames from being pushed into the buffer in time. This is probably due to windows being a non RT OS. Increasing the buffer size helps mitigate this moments because there are more frames in the buffer giving it enough time to recover.  The issue with increasing the buffer size is higher latency for closed operations because the buffer needs to be emptied out before the new frames reach the arena.  20000 may be on the high end so you may be able to lower that. Each frame is around 2000 elements for GS=16.  I may have to think of an alternative way to do this if the closed loop latency is too long.

Yesterday's measurements were promising, but I ran another test this morning while being at a meeting. I just came back and saw errors in at least 10 of the 400 trials (test gapsInLog-v243-test07).
Its not quantified at this point, but my impression is that the larger buffer also increases the length of the error once it occurs. Would that make sense?
in 08-05-2022_09-09-32-37_Frame_Time:

in 08-05-2022_09-09-45-30_Frame_Time:

in 08-05-2022_09-09-45-43_Frame_Time:

in 08-05-2022_09-09-45-52_Frame_Time:

in 08-05-2022_09-09-46-51_Frame_Time:

in 08-05-2022_09-09-55-18_Frame_Time:

in 08-05-2022_09-09-55-22_Frame_Time:

in 08-05-2022_09-09-55-40_Frame_Time:

in 08-05-2022_09-09-55-45_Frame_Time:

in 08-05-2022_09-09-55-58_Frame_Time:

It is possible and likely that I miss errors in the other trials since I am not actually parsing all the tdms files but instead use an imprecise pre-selection of trials that I actually look at. So this might only be the tip of the iceberg and I might have missed some errors in the previous trials.
Let me know if I should run other tests...

Tried to move frame data to the FPGA for more reliable frame outputs, but insufficient space on FPGA to store all the data. Will try running the software in 64-bit LabVIEW to see if any performance is more reliable.
Do you know if C-state is enabled in your BIOS? When C-state is enabled, it can affect performance of PCIe slots.

Has this been resolved with the latest releases?

@floesche Has this issue been resolved?

authors: achiusciotex floesche taylorlm88


text:
Issue 8

Put Pause on bat/sh script to make sure people have time to copy out the output

Looks good, maybe add a 'output.txt' or "MissingMoview.txt"?

I was going to do that as a different issue. Since that's a slightly larger fix.

repo: JasonHHouse/Gaps


text:
Complete Share::ProcessObject

ProcessObject
An Object stored within the CWS will be saved with a set of Metadata (Object Type), and an encrypted data. The data is encrypted using the Circle's Symmetric Key, which can be retrieved from the Member's Circle relation, where it is stored encrypted with the Member's Asymmetric Key.
With this request, it is possible to add, update and delete Objects. However, it depends on the Members Trust Level, what may be done. Generally there's 4 Trust Levels:

Administrator
Write
Read
Guest

Anyone with the Trust Level Write and Administrator may perform all operations on the Objects within the Circle. Members with Read access may only decrypt and retrieve the data and finally, Guests may only view Meta data.

With the current state of the logic, this should be completed. Testing is still not completed, but will be extended as the code quality is being checked.

repo: JavaDogs/cws


text:
pluginWorker.js filesystem access

pluginWorker.js must be given filesystem access to load plugins without recompiling. Any ideas?

For plugins I would recommend not saving them locally. Instead have a list of them stored in local storage or something, then fetch them on startup. Make sure add-on fetching does not block the the app from rendering.

For plugins I would recommend not saving them locally. Instead have a list of them stored in local storage or something, then fetch them on startup. Make sure add-on fetching does not block the the app from rendering.

Saving plugins locally in the Catalyst directory is literally the only way to load plugins without recompiling.

No, I meant if plugins were downloaded from catalyst.plugins.com (Just an example) everytime someone downloads a plugin, it saves the link to the plugin in local storage. Then on browser start up, using those links. Catalyst reinstalls all of those plugins.
Here is an idea of what that would look like in code.
if (site == "catalyst.plugins.com) {
    //Insert a click listener onto the install button in the webview.
    localStorage.setItem('pluginList',  webview.getUrl);
    //Catalyst would probably have to add that to the list by getting the current list then adding the url to it
}

For plugins I would recommend not saving them locally. Instead have a list of them stored in local storage or something, then fetch them on startup. Make sure add-on fetching does not block the the app from rendering.

Saving plugins locally in the Catalyst directory is literally the only way to load plugins without recompiling.

No, I meant if plugins were downloaded from catalyst.plugins.com (Just an example) everytime someone downloads a plugin, it saves the link to the plugin in local storage. Then on browser start up, using those links. Catalyst reinstalls all of those plugins. Here is an idea of what that would look like in code.
if (site == "catalyst.plugins.com) {
    //Insert a click listener onto the install button in the webview.
    localStorage.setItem('pluginList',  webview.getUrl);
    //Catalyst would probably have to add that to the list by getting the current list then adding the url to it
}

I don't see how this would work. Also I would have to host the plugins on github pages, but like how would I host them. How would this work.

For plugins I would recommend not saving them locally. Instead have a list of them stored in local storage or something, then fetch them on startup. Make sure add-on fetching does not block the the app from rendering.

Saving plugins locally in the Catalyst directory is literally the only way to load plugins without recompiling.

No, I meant if plugins were downloaded from catalyst.plugins.com (Just an example) everytime someone downloads a plugin, it saves the link to the plugin in local storage. Then on browser start up, using those links. Catalyst reinstalls all of those plugins. Here is an idea of what that would look like in code.
if (site == "catalyst.plugins.com) {
    //Insert a click listener onto the install button in the webview.
    localStorage.setItem('pluginList',  webview.getUrl);
    //Catalyst would probably have to add that to the list by getting the current list then adding the url to it
}

I don't see how this would work. Also I would have to host the plugins on github pages, but like how would I host them. How would this work.

I doubt you could host on GitHub Pages. Replit would probably be better. But basically, you would use a fetch request
to get the addons from wherever you hosted/

For plugins I would recommend not saving them locally. Instead have a list of them stored in local storage or something, then fetch them on startup. Make sure add-on fetching does not block the the app from rendering.

Saving plugins locally in the Catalyst directory is literally the only way to load plugins without recompiling.

No, I meant if plugins were downloaded from catalyst.plugins.com (Just an example) everytime someone downloads a plugin, it saves the link to the plugin in local storage. Then on browser start up, using those links. Catalyst reinstalls all of those plugins. Here is an idea of what that would look like in code.
if (site == "catalyst.plugins.com) {
    //Insert a click listener onto the install button in the webview.
    localStorage.setItem('pluginList',  webview.getUrl);
    //Catalyst would probably have to add that to the list by getting the current list then adding the url to it
}

I don't see how this would work. Also I would have to host the plugins on github pages, but like how would I host them. How would this work.

I doubt you could host on GitHub Pages. Replit would probably be better. But basically, you would use a fetch request to get the addons from wherever you hosted/

No matter how, I'd still have to write my own API.

authors: Darth-Ness JaydenDev

repo: JaydenDev/Catalyst


text:
"Start wit Slide/Scroll off" setting doesn't save

Every time a profile is opened for editing, the  setting reverts to False.
Manually setting the .xml setting to True works, but it will instantly be set to False once DS4W attempts to edit it.
Alright thanks!

I found the error and it will be fixed for the next version, thank you for noticing it


text:
Disable XInput => use DS4 as DS4

The double input issue can be turned off with the 'Hide DS4' option. I would like to do the reverse, hide the XInput-emulated DualShock 4 and use it as a DS4 alone, as if the driver were never installed.
Is this possible? If not, consider this a feature request.

You can get these feature now...
Is easy... modify a Profile, and you can see the option "Use Dimput Only".
But the only problem you need to disable the "Hide DS4" option in Settings, but a good idea is making this thing in profiles too... and you can change easily Emulated xBox360 to Real DS4 Profile without open the DS4Windows with Swipe to change profiles.

Thank you very much for your swift and helpful response!
I had no idea that plain DS4 worked merely as a generic DirectInput controller (which means no rumble!). I was under the impression by online commenters that the buttons in Dragon's Dogma: Dark Arisen and Metal Gear Solid V would magically change to DS4 style, but I just tried it and can confirm that's not the case.

authors: Evropi SiTWulf


text:
Which attributes to use for the model

Hello Jeevesh,
I would like to ask which attributes from the NSRDB are best suited to be used as inputs for the models.
Thank you so much for your attention, my best regards.

You can use as many features as you want, Camilo. I would say the more the better. Since I am no meteorologist, I would defer from telling you which feature is important and which is not. And will only tell you statistical methods to find it out for yourself.
If you want to reduce training time or model size, you can plot the correlation heat map by first loading the data into a dataframe and then running :
import seaborn as sns
corr = df.corr()
sns.heatmap(corr,
            xticklabels=corr.columns,
            yticklabels=corr.columns)

[For more on plotting heatmaps : https://stackoverflow.com/questions/39409866/correlation-heatmap ]
Then eliminate features having very low correlation with the feature(GHI) being predicted. But this is only a heuristic way. And we need to be careful as features having zero correlation doesn't necessarily mean that there is no dependence. So do this, only if you want to reduce size desperately.
Another way could be to first train the model on all features , then replace(in the test set) any feature you wish to remove with its mean value(calculated over train set) and check how much accuracy drops compared to the accuracy on the original dataset. If it doesn't drop by much, you can eliminate that feature, and trian on the reduced feature set.
Also, you can check gradients, if the gradient to a feature is near to zero,almost always, then surely that feature is not influencing the loss much, so you can drop it.
I am glad that you found the repository useful. And wish you all the best for your future endeavours !
Yours sincerely


text:
[Tutorial/Basic] #60 networking

Changes
Added networking section of code.
Plus: I'm considering to add  https://github.com/axios/axios#cancellation for more detail explanation of axios.
References
#60
Reviewers: @sonypark, @Haerang94
Note: This pull request is in Work In Progress.

Ok it looks good to me, I think you can keep working on this progress

Good job. Do not forget to use capital letter for first character of you commit messages.

@sonypark, @Haerang94 Please review my code and let me know if there is something to change.

I think it there is not a big thing to change.

authors: JeffGuKang qkreltms sonypark

repo: JeffGuKang/react-native-tutorial


text:
DR-HSH009S: local turn on not being detected

When I turn on the DR-HSH009S (WH719S) heater using the local button on the unit, the Dreo iOS app detects that the heater is on, but the climate part of the HA integration does not show that it is in use. It still looks like it is set to off in HA.
The only thing that updates when using the local button is the 'device power' switch in the integration.
I can't control the heater remotely until I first pick a mode so HA thinks that it is on.
Hope this makes sense. I don't have a lot of log detail to share, but I'm willing to provide more detail if I can be told where to look. Please let me know. Thank you.
Image of what HA shows when I turn on the heater locally.

Debug detail seen after pressing the local turn on button on the unit:
2024-08-10 10:11:03.474 DEBUG (DreoWebSocketStream) [pydreo] CommandTransport::_ws_consumer_handler - got message
2024-08-10 10:11:03.474 DEBUG (DreoWebSocketStream) [pydreo] {Sunroom heater }: got {{'method': 'report', 'devicesn': '164442639873-53dce8fd21e7d49b:001:0000000000w', 'messageid': '7463560a-599c-422a-9041-6a79d8afc9a9', 'timestamp': 1723299063, 'reported': {'poweron': True}}} message **
2024-08-10 10:11:03.474 DEBUG (DreoWebSocketStream) [pydreo] PyDreoHeater:handle_server_update(Sunroom heater ): {'method': 'report', 'devicesn': '164442639873-53dce8fd21e7d49b:001:0000000000w', 'messageid': '7463560a-599c-422a-9041-6a79d8afc9a9', 'timestamp': 1723299063, 'reported': {'poweron': True}}
2024-08-10 10:11:03.474 INFO (DreoWebSocketStream) [pydreo] poweron reported: True

Please check out v1.0.0b2 and let me know if that fixes it.

authors: JeffSteinbok cbhiii

repo: JeffSteinbok/hass-dreo


text:
Use copysign?

Maybe using copysign instead of the ternary operator, to avoid the branch, may be more efficient?

I will put in the emendations tonight.

See #7.
It is not clear to me what the 5.0e-324 is there for?

Its there to make it be more often correct for very small values.
I have to rerun this for timing -- the choices I made at the time were a
balance of accuracy and quickness.
On Tue, May 30, 2017 at 10:13 AM, David P. Sanders <notifications@github.com

wrote:

See #7 https://github.com/JeffreySarnoff/AdjacentFloats.jl/pull/7.
It is not clear to me what the 5.0e-324 is there for?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JeffreySarnoff/AdjacentFloats.jl/issues/6#issuecomment-304891167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABmqxrxJttuBP-7bAlTNM27HnIXG2Gdjks5r_CQSgaJpZM4NopLs
.

this is done -- I am keeping it open for reference and as a reminder (and new version tagged)

done

authors: JeffreySarnoff dpsanders


text:
Refund ctor servermode

微信退款API支持服务商模式；
先决条件：服务商在微信支付服务商后台请求特约商户授权API退款权限。
在未发布nuget前的解决方案：
 var request = new Senparc.Weixin.MP.TenPayLibV3.TenPayV3RefundRequestData(***params***);

            request.PackageRequestHandler.SetParameter("sub_appid", ***your sub app id***);
            request.PackageRequestHandler.SetParameter("sub_mch_id",  ***your sub mchId***);
            request.PackageRequestHandler.SetParameter("sign", request.PackageRequestHandler.CreateMd5Sign("key", request.Key));

感谢！

欢迎成为我们的Contributor！

repo: JeffreySu/WeiXinMPSDK


text:
[TASK] changes/values for child items

add tests for changes, values, changed, revert (all this test must work for child Form).
Now some methods don't work with parent. Like revert:

На базе этой задачи нужно реализовать метод cleanChanges(...fieldNames: string[])

CleanChanges Deprecated
В текущей реализации необходимо вместо cleanChanges использовать revert.

checkDependenceForChangedStatus - возможно не лучшее название. Необходимо продумать это.

Все методы должны вызывать процесс compare и обновления дочерних элементов.
Revert этого не делает

repo: Jenesius/vue-form


text:
D10.2.1

After active pressing any key get
Access violation
debug at line 61 of main it happens.
P.S once it worked OK

I can't reproduce it

Tried with my new compiler
D10.2.3 same problem
Sorry

I can't reproduce it
Create me at test application

authors: JensBorrisholt limelect

repo: JensBorrisholt/Hooks


text:
🛑 CMS Escuela Técnica Valentín Virasoro is down

In c122fba, CMS Escuela Técnica Valentín Virasoro (https://cms.evirasoro.edu.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CMS Escuela Técnica Valentín Virasoro is back up in 3420f7e after 17 minutes.


text:
🛑 Página web Hostería Valle Frío Ushuaia is down

In 21c8331, Página web Hostería Valle Frío Ushuaia (https://vallefrioushuaia.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Página web Hostería Valle Frío Ushuaia is back up in c88ff09 after 22 days, 8 hours, 45 minutes.


text:
Stopping Test

Add all stopping tests and methods to Charlotte.

[ ] add classic stopping tests: nmax, tmax
[ ] add cross validation stopping test for First-order methods like Adam
[ ] add T-test stopping criteria for adaptative sampling methods

repo: JeremyRieussec/Charlotte


text:
Nuget restore fails for FluentValidation >=6.4.0-beta1

I was trying to use FluentValidation.AspNetCore 6.4.0-beta9 everytime i am trying to restore it from Nuget it results in a timeout error. Seems the same error for all version 6.4.0-beta1 -> 6.4.0-beta9. I wrote a StackOverFlow Question describing my workflow. Is that an known issue? Any workarounds for that?
FluentValidation 6.4.0-beta* nuget package restore failed, operation timed out

Sounds like a nuget problem, not a FluentValidation problem so I don't think I can be of much help. The only thing I would suggest is from looking at the error you report d on stack overflow, nuget is trying to pull from http://10.0.10.49/NugetServer. That looks like a custom internal nuget feed to me....try switching back to the default MS feed instead.

I'll check that alternative internal Nuget feed next.
As hint, like described in the StackOverflow Question, i also tried to restore
FluentValidation 6.2.1
FluentValidation 6.3.3-Alpha
FluentValidation 6.3.4-Alpha
which worked well to restore from nuget. And restoring other Nuget packages does success as well

Okay, I have deactivated my additional NuGet Package Source from 10.0.10.49, and now i can restore FluentValidation 6.4.0-beta9.
Strange behavior. I'll take that issue in mind for later problems. I'll Close this Question. Thank your for your fast response.

authors: JeremySkinner chubbson

repo: JeremySkinner/FluentValidation


text:
ValidatorOptions not working on .net core 2.1

System Details

FluentValidation.WebApi version:  8.0.100
FluentValidation.AspNetCore version:  8.0.100
Web Framework version : ASP.NET Core 2.1  WebApi 2:

Issue Description
I'm tryin to add a custom LanguageManager to my .net core API but it seems not work very well with .net core, the documentation says to use the static class named ValidatorOptions but this does not work.
The implematation is on this github repository LINK
The files are:

ListaCompra-Api/ListaCompra.API/Startup.cs
ListaCompra-Api/ListaCompra.Infraestrutura/Validacao/ConfiguracaoFluentValidation.cs
ListaCompra-Api/ListaCompra.Infraestrutura/Validacao/TraducaoPtBr.cs

am i doing this right??

Hi.
You're going to need to provide details of what's not working. The documentation in this case is correct - ValidatorOptions is the correct class to use. This is a static class in the FluentValidation namespace.
What do you mean it "does not work"?

Hi,
Thaks for reply, i figure out what i was doing wrong..
I have misunderstood the documentation, the correct way is:
ValidatorOptions.LanguageManager.Culture = new CultureInfo("pt-BR");
Sorry for bothering you and thanks for help me! :)

authors: FrankWendel JeremySkinner


text:
Update channels.txt

added the channel "fresh jerma", with 🐶 because this channel is epic. there's not very much content at the moment, but all very high quality YTPMVs, which are a lot of work to make

Reordered, we can add the 🐶 when it's been around for a while! Thanks for the addition 🙂

authors: DJMoffinz JakeSteam

repo: JermaSites/channels


text:
Plan: Categories Page

Basic Plan

[ ] Main Section - 4 columns, evenly spaced

[ ] Left Column

[ ] Categories - Heading
[ ] Refining Search - Heading

[ ] Type
[ ] Price
[ ] Color
[ ] Order Options
[ ] Shop Location
[ ] Ships To

[ ] Right Column (3)

[ ] Left top box

[ ] What category
[ ] result amount

[ ] Right top box - select

[ ] sort (Most Recent, *Relevancy, Highest Price, Lowest Price)

[ ] Listings evenly spaced in 3 columns

[ ] One listing

[ ] Image
[ ] Description - Brief
[ ] Shop - link, Price

[ ] One Listing: Hover

[ ] Right corner

[ ] Heart - Favorite
[ ] Hamburger Menu - Add to user lists, can
[ ] create a new list

[ ] One Listing: Hover (extended)

[ ] Detailed description

[ ] Bottom

[ ] Links to  relevant shops
[ ] Previous arrow, pages, next arrow

Static vs. Placeholder

[ ] Items that are static

[ ] grid columns/size
[ ] Sort By Select box (right side)
[ ] Show Results for box
[ ] All categories
[ ] Refine your search box
[ ] Item type
[ ] Price
[ ] Color
[ ] Ordering options
[ ] Locations
[ ] Ships to

[ ] Items that change (placeholder)

[ ] Grid
[ ] Item images
[ ] Item names
[ ] Item prices
[ ] What path you took
[ ] How many results were returned
[ ] Show Results For
[ ] Current category
[ ] Child Categories

https://github.com/MStaehling/TIY-Catalog/pull/5

authors: JessyRiordan MStaehling

repo: JessyRiordan/TIY-Catalog