text:
Unable to set dial code(country code)

after API response unable to change dial code (country code) in componentDidMount.
Need to update this library @superhit0
because m using this function for both add and update feature.

@patw0929 your call

@patw0929  on button click m calling changeCountry method to update country flag but its not working.
`
componentDidMount(){
country_short_name:'in' // in for india (default)
}
// method for update country flag
changeCountry = () => {
console.log("method call");
this.setState({
country_short_name:'us' // us for united state
});
};
//render  component
<IntlTelInput
fieldId="error"
preferredCountries={[this.state.country_short_name]}
onPhoneNumberChange={ this.handler }
onPhoneNumberBlur={ this.handler }
value= {this.state.contact}
css={ ['intl-tel-input', 'form-control error'] }
utilsScript={ 'libphonenumber.js' }
/>`

Actually, it cannot change country without value (phone number) now.
We will plan this new feature: changing country (flag) by passing new defaultCountry.

@patw0929 do u have any idea how much time it will take ?

There is news on this topic?

Currently you can set the dial code (country flag) based on the defaultCountry prop, however is there a way to dynamically change the flag for example re-rendering the country flag when the country is changed?

@patw0929 how time it will take to fix this issue ?

Since the dialCode cannot be set directly, here is an alternative solution (also mentioned above): The third parameter of the onPhoneNumberChange prop function is an object with data about the currently selected country, containing the fields areaCodes dialCode iso2 name priority. To load the component with a dialCode value, set the defaultCountry using the retrieved iso2 value.

@MaheshK02 I was facing the same issue, so I dig into the library itself and found a way to make this work.
What you've to do is, save the iso2(as @andreaswk mentioned just above) value in db as well while adding.
And create a reference for your IntlTelInput like below:
First create a ref property in your constructor: like this
this._country   = React.createRef();
And then assign the IntlTelInput ref to this.country  like below:
<IntlTelInput
          fieldId="error"
          preferredCountries={[this.state.country_short_name]}
          onPhoneNumberChange={ this.handler }
          onPhoneNumberBlur={ this.handler }
          value= {this.state.contact}
          css={ ['intl-tel-input', 'form-control error'] }
          utilsScript={ 'libphonenumber.js' }
          ref={elt => this._country = elt}
      />

and when you're fetching result from db to update,
set the dial code like:
this._country.setFlag( db_value.iso2 );
That's it.
It saved me to do rework for looking other libraries and experiment them.
Hope it'll help you too.

I did that in different way but @diliGp answer was inspiration for me (without creating new variable with ref):
I use that with React Hook Form lib.
<Controller
    name="number"
    control={control}
    render={({field}) =>
      <>
        <IntlTelInput
          onPhoneNumberChange={(status, value, country) => {
            setValue('country_code', country.iso2.toUpperCase());
            setValue('number', value.replace(/\D/g, ''));
            setValue('number_validation', status);
            setTimeout(() => {
              trigger('number');
            })
          }}
          defaultValue={getValues('number')}
          onSelectFlag={(data, t1, t2) => {
            if (!data || !Object.keys(t1).length)
              return
            setValue('country_code', t1.iso2.toUpperCase());
          }}
          containerClassName="intl-tel-input"
          inputClassName={`form-control ${errors && errors.number ? 'is-invalid' : ''}`}
          onlyCountries={['us', 'ca']}
          preferredCountries={['us']}
          format={true}
          style={{width: '100%'}}
          ref={ref => {
            if (ref) {
              ref.setFlag(getValues('country_code').toLowerCase());
            }
          }}
        /></>
    }
/>

I tried also use defaultCoutry prop but it worked only when I pass "static" value, but I needed to use dynamic value (retrieved from WS).
Great lib but I think it still needs few improvements :)

Thanks to @dominik-mrugalski @diliGp I'm not v good in react and JS but after spending few hrs you guys code gave me the hint and I was able to come with a solution where I need to update the phone country code and value (Complete Phone number as per user saved In DB) and on a form I got multiple users drop down list and on selecting a user auto-populating the phone number was required so here is my code:
using TypeScript with React
<Controller
        render={({ ref }) => (
            <IntlTelInput
                fieldName="phone"
                fieldId="phone"
                containerClassName="intl-tel-input"
                inputClassName="form-control pdglft phnoonly"
                placeholder={Strings.general.phoneNumber} maxLength={20}
                defaultValue={phone}
                autoHideDialCode="true"
                separateDialCode="true"
                style={{ width: '100%' }}
                preferredCountries={["sa", "ae", "qa", "om", "bh", "kw", "pk"]}
                useMobileFullscreenDropdown={false}
                autoComplete="on"
                onPhoneNumberChange={(valid: boolean, number: string, country: any) => {
                    const args = { 'valid': valid, 'number': number, 'country': country };
                    setPhone('+' + country.dialCode + number);
                    return phoneValue(args);
                }}
                ref={(ref:any) => {
                    if (ref && phone !== undefined) {
                        let formattedPhoneNumber = ref.formatNumber(phone, true);
                        ref.updateFlagFromNumber(formattedPhoneNumber, true);
                        ref.updateValFromNumber(formattedPhoneNumber, true);
                    }
                }}
            />
        )}
        control={props.control}
        name="phone"
    />

@ismaililsa
It's some kind of inception... More than a year ago I posted here my solution for this problem, later, you posted your solution based on my answer, and today, I'm using your code in my project! 😅 Of course, it's more complicated than the original code above, but still the same idea.
Thanks for cooperation! How cool is that!

n


text:
Feature request: only show filename unless full path is required to disambiguate

Issue
All of these have different filenames but it's impossible to tell which one I want (GraphIndex.java) without going through each.

Version and model info
Aider v0.56.0

Alternatively: showing one file per line instead of 3 would have room for all but the longest paths.

source: gharchive/issue

repo: paul-gauthier/aider

license_type: permissive

license_source: github-api


text:
Async callback from C# to javascript

Now，I am using Jurassic in unity3d。
And I encountered a problem：
C#
        private class Transform
        {
            public int public_value = 789;
            public int Add(int i) {
                return public_value + i;
            }
        }

        XXXX.CallMemberFunction("Update", new Transform());

javascript
Update: function(transform){
		console.log(transform.Add(123));//this line throw exception
	}

and throw error:   Cannot convert object of type  Transform  to an object   (from TypeConverter)
And I find engine.SetGlobalValue()   use "ClrInstanceWrapper" to wrapper it,  use So I edit my code:
var trans = new ClrInstanceWrapper(engine, new Transform());
XXXX.CallMemberFunction("Update", trans);

It's run OK.
So my question is：
1、Is there any problem with this?
2、Why SetGlobalValue use ClrInstanceWrapper but CallMemberFunction not use it?
@paulbartrum @Taritsyn @kpreisser

There are known problems with ClrInstanceWrapper and I'm not sure if it'll survive going forward.  For that reason, I recommend that people inherit from ObjectInstance instead (documented here: https://github.com/paulbartrum/jurassic/wiki/Exposing-a-.NET-class-to-JavaScript).
On the other hand, what you're doing should work fine right now (especially for simple cases) and my progress on this project has been pretty glacial lately, so it should work for a while yet.

repo: paulbartrum/jurassic

license: MIT


text:
Formula paste

Hello
is it possible to copy and paste formula like in Excel (For example: if you copy formula from E7=(C7 * D7) and paste it into E4, formula should contains =(C4 * D4) and not =(C7*D7) like now.
Thanks

This has been implemented on the Pro distribution and should be brought to CE eventually.
https://jexcel.net

authors: krosoftware paulhodel

repo: paulhodel/jexcel

license: mit

license_source: bigquery


text:
utils.js -> utils.ts

Convert utils/fs and utils/messages scripts to typescript.
@denar90 @paulirish ( @samccone i'm sorry... you're :1st_place_medal:)

May I merge? @denar90 @paulirish

@paulirish @samccone I'm merging. If you have smth to add - 👍
I think it might be minor, @pedro93 can add it in another PR.

sgtm!

source: gharchive/pull-request

repo: paulirish/pwmetrics


text:
Sub 1ms polling interval time?

Hi, I'm here because of an issue I have with fs.watch in nodejs where it can't watch for a file correctly on Windows when it is used by another process (probably). The thing is that I need to have nearly instant report when the file has been changed, because sometimes it can be modified really fast and I can only get the last line of the text file.
I achieved this with fs.watch and 0.5ms interval but it is only working correctly on Linux. fs.watchFile however works on Windows but I can't set the interval below 1ms. Chokidar is the same.
So, will there be a way to set the interval of chokidar below 1ms? I don't care for the CPU usage, I just need something that works on Windows.

not really, since we are using fs.watch/fs.watchFile

not really, since we are using fs.watch/fs.watchFile

repo: paulmillr/chokidar


text:
🛑 London is down

In c4749f5, London (https://prod01.london.platform-os.com/_status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: London is back up in 3c6adbd.

repo: pavelloz/instances-uptimez


text:
test

test

/start

/start

/start

/start

/start

/start

/start

/start

/start

/start

repo: pavlovcik/ubiquibot


text:
Use the proper python executable to start subprocesses

Signed-off-by: Reece Dunham me@rdil.rocks
The plan is that this should fix python not being properly resolved, and maybe help out with #91

Indeed, just tried in your docs repo on gitpod.io, this fixes the issue. The error message on gitpod.io now is "python not found", which might have been the root cause of #91 (but was hidden away somehow). Thanks!

That is what I was trying to fix, I recently created a custom image that doesn't have pyenv and started getting this issue because python itself isn't linked to anything, whereas python3 is

authors: RDIL pawamoy

repo: pawamoy/mkdocstrings

license: ISC


text:
iOS compatibility

@pawan-pk, congratulations on your initiative! One question, is there a forecast for IOS?

Tanks!

Tanks!

repo: pawan-pk/react-native-mapbox-navigation


text:
Update logback-classic to 1.2.7

Updates ch.qos.logback:logback-classic from 1.2.3 to 1.2.7.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback", artifactId = "logback-classic" } ]

labels: test-library-update, early-semver-patch, semver-spec-patch

Superseded by #64.

repo: pawelkaczor/akka-persistence-kafka


text:
Incorrect filename in documentation for SeLion-Grid

In this document -- http://paypal.github.io/SeLion/html/documentation.html#selion-grid -- the incorrect jar file is mentioned.
Rather than downloading and starting SeLion-Grid-{version}.jar, the document should be pointing to SeLion-Grid-{version}-jar-with-dependencies.jar

this is fixed with this commit https://github.com/paypal/SeLion/commit/0854d951c961fdce1016afe147653ce9f0ac27ee

repo: paypal/SeLion


text:
add Songlink to list of glamorous users

What:

Why:

How:

Checklist:

[ ] Documentation
[ ] Tests
[ ] Ready to be merged
[ ] Added myself to contributors table

Codecov Report

Merging #235 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #235   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         142    142
  Branches       36     36
=====================================
  Hits          142    142

Continue to review full report at Codecov.

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

authors: codecov-io kweiberth

repo: paypal/glamorous


text:
Option to stay true to source color

Is there a plan to support the following option as can be seen at https://material-foundation.github.io/material-theme-builder/?

For my app it would be great to supply a theme color and have that being used as primary color as well. Apparently the color library does support that as it's an option in the theme builder. For now I'm overriding the primary color manually, but as can be seen, some other colors change as well when you enable the option.
Support for this option would be very much appreciated! Thanks

Sorry for the delay, but you can try beta version @pchmn/expo-material3-theme@1.4.0-beta.1 with color fidelity option:
const { theme } = useMaterial3Theme({ sourceColor: '#3E8260', colorFidelity: true });

Tell me if it works for you, and I'll published it under stable version !

@JimVanEeden did you have time to test it ?

Thanks a lot for the effort! I'm excited to try it out, however I don't think I'll be touching the app for a couple of weeks, so I will post the update later. Of course if anybody else tries it out in the meantime, please let us know :)

authors: JimVanEeden pchmn


text:
learnGitBranching - display problem

Hi I noticed that something is broken on page http://pcottle.github.io/learnGitBranching/ . All graphical windows are not showing correct. Please fix your page as it is great source of knowledge

I'm waiting too :)

Still waiting ...

Hey, guys - believe it or not, there's a human out there maintaining this
site.
Filling his inbox with 'come on, man - you're taking more than an hour to
fix this' won't help at all - a single bug report is enough.
I'm pretty sure Pete will fix it whenever he has a bit of time for this -
pretty soon, I bet.
In the mean time, anyone can fork the project and publish his/her own fixed
version to be used until he fixes this.
It's great you report problems, but please have the patience the man
deserves :)
Finally, this duplicates #249 :)

Because do not know well how to use the github, it seems had posted without notice . I want to cancel I do not know but how . .><

Hi,
I did not mean, with creating this issue, to hurry up anyone :-)
I just report to authors that their great work has some problem.
I even don't know if anybody still takes care on this service.....
So guys.
You do a great job with this GIT training! It best that I ever seen.!
I hope that you find time to fix it. It would be great to teach git again  with your service.
And thank you for what you have done. Ale already learn a lot form this.
Cheers!

Hey guys,
Thank you @mgarciaisaia for the kind words! Indeed I am a human, and I'm actually in Manila right now for a work trip (hence on a way different timezone and with spotty internet).
I summarized this in #249 but it sounds like we had a bad push to production from my local machine (probably due to the same internet issues). We have a pretty big suite of tests that cover all the JS functionality, but at the end of the day we push to prod with a bash script that basically rebuilds, adds all the files, and pushes the branch (and then switches back to master).
Aka this beast:
grunt lint && git checkout master && git push && git checkout gh-pages && git merge master -m 'merge master' && grunt build && git commit -am 'rebuild for prod' && git push origin gh-pages && git branch -f trunk gh-pages && git checkout master && grunt fastBuild'

I'm guessing during the grunt build step, somehow the hashed CSS file wasn't added to version control (or failed to be generated) and the rest of the script executed correctly, meaning we pushed a broken version to prod and then switched back.
Anyways I fixed this over in #249 and apologize for the interruption! I'm glad you guys find the site useful (eager issue commenters is a good problem to have) and I'll be more careful when pushing to prod in the future.
Also if anyone has suggestions on an easy way to make test that no 404's register on the site let me know. The tricky thing is that github pages doesn't necessarily update instantly, so you would have to wait until the new version shows up...

Well done! Thank you very much for quick fix.

@pcottle I've just asked GitHub's support team about what could we do in this situation. There isn't a specific hook for when the site gets updated, but one could probably workaround this in a nasty way using the standard webhooks and polling the build status of the Pages site via the API.
Once you know the site got updated, it would be just a matter of using something like a recursive wget for checking 404's out.
We could create an issue for this - I'm not implementing this for the moment, and I don't know if/when you would be able to do so, but it would be nice to have it documented.

yeah I actually like polling the build status and maybe checking for the commit: field since we would have that locally. let me file an issue!

OK - James has corrected itself. There is a specific hook for when the site gets updated: page_build. That should be way easier to do.

authors: likeant marcalj mayu-yasu mgarciaisaia pcottle zeton3

repo: pcottle/learnGitBranching


text:
Will not open on a mac

Mac does not recognize developer  and will not open

also getting this


text:
pdf2txt.py HTML output has bad formatting

I've tried out a few of the PDFs found in the samples directory and most had pretty bad formatting. Is this a known limitation or did something go horribly wrong somewhere? For example, trying out samples/font-size-test.pdf with all three layout modes produced overlapping characters, with varying degrees of wonkiness when trying to interactively highlight the text.
To reproduce, run pdf2txt.py -o test.html font-size-test.pdf, then open the HTML in a browser of your choice.

to fix your trouble check this solution click
maybe this will solve your problem.

to fix your trouble check this solution click maybe this will solve your problem.

This is a malicious link. Do not click it. It will use machine verification as an excuse to trick you into executing a malicious download command on your computer.
If you have already executed it, you can follow these steps:
1.Disconnect from the internet.
2.Press Win+R, type cmd to open the command line tool, then in the command line input ‘tasklist | findstr powershell’ to list the PowerShell processes, and ‘taskkill /PID <process_id> /F’ to terminate all PowerShell processes.

authors: KaboChow f-t-alves ummm288


text:
Got exception when running this

Test program.
#include "sgcl.h"

int main()
{
	auto ptr = sgcl::make_tracked<int>(100);
}

Not every time though. Seems triggered after main return.
Using Windows 11 Visual C++ 2022

That's the assumption. The main thread doesn't wait for the garbage collector to finish its operation. The collector finishes its work after detecting the termination of the main thread.

I see. Then how to prevent this exception?
Fear it would be exploitable.
Message ID: @.***>

Now you can use terminate_collector() at the end of the main function.

authors: ntysdd pebal

repo: pebal/sgcl


text:
Fix possible miscalc in dict_calc_buffer_size

dict_calc_buffer_size takes both a tuple count and a variable number of tuple sizes.  The old code worked only because usually there was a 0 on the stack after the 1 due to coincidence.

Wow. Very very good catch. Thanks a lot!
:+1:

authors: sarfata unwiredben

repo: pebble-examples/pebble-faces


text:
Fixing font caps.

Renamed the font file capitalisation, since the actual file was all lower case but the .scss file was referring to the capitalised version.

Oops, just saw that https://github.com/pebble/slate/pull/8 includes this fix too... ignore this if that is going to be merged.

repo: pebble/slate


text:
Handler State Become Stale for Actions That Produce Long Running Flows

There are a couple ways I can see to fix this, neither of which is backwards compatible.

Pass StateFlow<State> as parameter instead of State in Handler

typealias Handler<State, Action, Mutation> = (StateFlow<State>, Action) -> Flow<Mutation>

//Flow<Action>.collectIntoHandler changes to
handler.invoke(state, action, LoggingEffectSender(logger))

//Inside handler functions the current state can be accessed using
{ state, action ->
  state.value
}

Pass function () -> State as parameter instead of State in handler

typealias Handler<State, Action, Mutation> = (() -> State, Action) -> Flow<Mutation>

//Flow<Action>.collectIntoHandler changes to
handler.invoke({state.value}, action, LoggingEffectSender(logger))

//Inside handler functions the current state can be accessed using
{ state, action ->
   state()
}

Example:  Notice that MyState(count=1) and MyState(count=2) are printed when it should print all the way up to count=6
data class MyState(val count: Int = 1)
  sealed class MyAction {
    object Start : MyAction()
  }

  sealed class MyMutation {
    data class IncrementCount(val newCount: Int) : MyMutation()
  }

  @Test
  fun testStaleState() {
    runBlocking {
      val handler: Handler<MyState, MyAction, MyMutation> = { state, action ->
        when (action) {
          MyAction.Start -> flow {
            emit(MyMutation.IncrementCount(state.count + 1))
            kotlinx.coroutines.delay(100)
            emit(MyMutation.IncrementCount(state.count + 1))
            kotlinx.coroutines.delay(100)
            emit(MyMutation.IncrementCount(state.count + 1))
            kotlinx.coroutines.delay(100)
            emit(MyMutation.IncrementCount(state.count + 1))
            kotlinx.coroutines.delay(100)
            emit(MyMutation.IncrementCount(state.count + 1))
          }
        }
      }
      val reducer: Reducer<MyState, MyMutation> = { state, mutation ->
        when(mutation){
          is MyMutation.IncrementCount -> state.copy(count =  mutation.newCount)
        }
      }
      MVFlow(MyState(), handler, reducer, this).takeView(this, object : MVFlow.View<MyState, MyAction>{
        override fun actions(): Flow<MyAction> {
          return flowOf(MyAction.Start)
        }

        override fun render(state: MyState) {
          println(state)
        }
      })
    }
  }

This is covered in the documentation:

Note: although the handler receives the current state when an action is performed, if the handler performs a slow operation, the handler will no longer know the most recent state. This is why the handler can’t mutate the state directly.

From https://pedroql.github.io/mvflow/#reducer
The reason we can't have the handler receiving the current state is because there's no way to guarantee that this is and remains the most up to date state while the handler does something with it because there could be multiple coroutines accessing and mutating the state.
Instead, MVFlow ensures that calls to the reducer don't interleave so it's the only safe place to update the state.
We do have unit tests for the scenarios you highlight here.
--
You need to update your code sample and use the mutations in a different way. In your mutations, you pass the desired final value. Instead, you should pass what you want to do to the state. So it goes from emit(MyMutation.IncrementCount(state.count + 1)) to emit(MyMutation.IncrementCount(1)). And your reducer (with a renamed property) becomes state.copy(count =  state.count+ mutation.changeValue).
This is what we mean when we say

Keep also in mind that Mutations should indicate how to change the state, but should not rely on/assume what the current state is (as of when the action was emitted).

MVFlow.kt#L28
--
Let me know if you have ideas to improve the documentation so other people don't miss this important detail!

authors: pedroql solcott

repo: pedroql/mvflow


text:
ExecuteScreenshotTests -Precord fail when ran for the first time

Actual behaviour
If I clone the repo, delete the shot-consumer-compose/screenshots folder and run ./gradlew executeScreenshotTests -Precord on shot-consumer-compose
I get:
> Task :app:connectedProDebugAndroidTest
Starting 10 tests on Pixel 2 XL - 11

> Task :app:proDebugDownloadScreenshots
⬇  Pulling screenshots from your connected devices!

> Task :app:proDebugExecuteScreenshotTests FAILED
💾  Saving screenshots.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:proDebugExecuteScreenshotTests'.
> java.nio.file.NoSuchFileException: /Users/gmarques/test/Shot/shot-consumer-compose/app/screenshots/pro/debug/com.karumi.shotconsumercompose.GreetingScreenshotTest_rendersAGreetingWithAnEmptyText.png

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 25s

The tests run normally, the screenshots are taken and copied to the computer, but they're being saved on:
/Users/gmarques/test/Shot/shot-consumer-compose/app/screenshots/pro/debug/screenshots-default

and I get this error that the screenshots aren't available on:
/Users/gmarques/test/Shot/shot-consumer-compose/app/screenshots/pro/debug/

If I manually copy the content from /debug/screenshots-default to '/debug' the test will run normally and subsequent executions with -Precord will update the screenshots.
The only problem is when I still don't have the screenshot folder populated and have to run with -Precord
Expected behaviour
./gradlew executeScreenshotTests -Precord to run successfully even when there's no screenshots folder.
Steps to reproduce

Clone repo.
Delete shot-consumer-compose/screenshots folder.
Run ./gradlew executeScreenshotTests -Precordonshot-consumer-compose`.

I had the same behaviour on my project and on the sample project.
Version of the library
Shot 5.12.0
Mac OS 11.6.1
adoptopenjdk-11
Pixel 2 XL with Android 11

This PR: https://github.com/pedrovgs/Shot/pull/259 seems to have caused the issue. Version 5.11.2 works as expected.

Stacktrace:
Caused by: java.nio.file.NoSuchFileException: /Users/gmarques/test/Shot/shot-consumer-compose/app/screenshots/pro/debug/com.karumi.shotconsumercompose.GreetingScreenshotTest_rendersAGreetingWithAnEmptyText.png
        at com.sksamuel.scrimage.Image$.fromPath(Image.scala:878)
        at com.sksamuel.scrimage.Image$.fromFile(Image.scala:875)
        at com.karumi.shot.screenshots.ScreenshotsSaver.getScreenshotDimension(ScreenshotsSaver.scala:73)
        at com.karumi.shot.Shot.$anonfun$readComposeScreenshotsMetadata$3(Shot.scala:267)
        at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
        at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
        at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
        at scala.collection.TraversableLike.map(TraversableLike.scala:286)
        at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
        at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:198)
        at com.karumi.shot.Shot.readComposeScreenshotsMetadata(Shot.scala:265)
        at com.karumi.shot.Shot.recordComposeScreenshots(Shot.scala:172)
        at com.karumi.shot.Shot.recordScreenshots(Shot.scala:49)
        at com.karumi.shot.tasks.ExecuteScreenshotTests.executeScreenshotTests(Tasks.scala:88)

I'm going to release a new version with the fix. 5.12.1 should fix it. Please, as soon as it is available, check if it is fixed and reopen this again if it is not.

repo: pedrovgs/Shot


text:
Uncaught ReferenceError: ext is not defined

[Enter steps to reproduce below:]

Enable preview of a plantuml file as svg
Select the filename on the preview
Press Cmd-C (Mac OS X) to copy the filename (as the right-click context menu does not have a copy option)
The below error occurs

Atom Version: 1.10.2
Electron Version: 0.37.8
System: Mac OS X 10.9.5
Thrown From: plantuml-preview package, v0.12.0
Stack Trace
Uncaught ReferenceError: ext is not defined
At /Users/jeroenp/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:117

ReferenceError: ext is not defined
    at space-pen-div.atom.commands.add.core:copy (/Users/jeroenp/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:117:99)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
  2x -3:08.1.0 core:move-down (atom-text-editor.editor.is-focused)
     -3:07.6.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  2x -3:07.2.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -3:06.8.0 core:paste (atom-text-editor.editor.is-focused)
     -3:00.3.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -2:55.6.0 core:copy (atom-text-editor.editor.is-focused)
  3x -2:53.8.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
     -2:52.8.0 core:paste (atom-text-editor.editor.is-focused)
     -2:50.7.0 core:save (atom-text-editor.editor.is-focused)
     -1:50.5.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:49.4.0 core:move-down (atom-text-editor.editor.is-focused)
     -1:48.9.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:48 core:save (atom-text-editor.editor.is-focused)
     -0:59.1.0 plantuml-preview:open-file (img.uml-image.open-file.zoomToFit)
     -0:50.2.0 broadcast:start (img.uml-image.open-file.zoomToFit)
  3x -0:25.7.0 core:copy (div.plantuml-preview.padded.pane-item)

Config
{
  "core": {
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ]
  },
  "plantuml-preview": {
    "jarLocation": "/usr/local/Cellar/plantuml/8037/plantuml.8037.jar"
  }
}

Installed Packages
# User
atom-beautify, v0.29.10 (active)
atom-keyboard-macros, v0.9.2 (inactive)
broadcast, v0.3.14 (active)
counter, v0.3.3 (active)
export-html, v3.0.0 (inactive)
file-icons, v1.7.18 (active)
language-batch, v0.3.3 (active)
language-bbcode, v0.1.1 (active)
language-inno, v2.1.6 (inactive)
language-innosetup, v2.2.1 (inactive)
language-pascal, v0.18.1 (active)
language-plantuml, v0.2.0 (active)
language-restructuredtext, v1.0.0 (active)
language-routeros-script, v0.2.0 (active)
nav-panel, v0.0.11 (active)
plantuml-preview, v0.12.0 (active)
print-atom, v0.1.1 (inactive)
rst-preview-pandoc, v0.1.12 (active)
sort-lines, v0.14.0 (active)
tabs-to-spaces, v1.0.2 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (active)
atom-light-ui, v0.44.0 (active)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (inactive)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
find-and-replace, v0.201.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.2 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.65.0 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.208.2 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Thanks. Does the fix copy the filename or the image itself?

It gives you the option to copy the filename from either the image or the filename above the image. Separate options for copying the filename or the image. Context menu only, no keyboard shortcut.

Though I'm a keyboard person (long story some of it at https://wiert.me/category/power-user/keyboards-and-keyboard-shortcuts/ ) this surely work for now. Thanks!

I'd like to have working keyboard shortcuts. The problem is identifying
what to copy. I should probably look into the tab indexing or something.
Closest to mouse pointer might defeat the point of keyboard shortcut.
On Tuesday, October 4, 2016, Jeroen Wiert Pluimers notifications@github.com
wrote:

Though I'm a keyboard person (long story some of it at
https://wiert.me/category/power-user/keyboards-and-keyboard-shortcuts/ )
this surely work for now. Thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/peele/plantuml-preview/issues/24#issuecomment-251405508,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANCTzI6mid6BnIx9mlCYebRfubErp8qfks5qwmNggaJpZM4KIxy6
.

Something like this?
If the filename has the focus or is selected then copy that, otherwise copy the picture.
In the mean time I've found a workaround : install the broadcast plugin, broadcast the preview to your browser (it opens localhost:8000) then copy from the browser.

The filename or the image can be copied directly from Atom using the right click menu based on which one your mouse if over.

I meant for the Cmd-C / Ctrl-C copy shortcut on Mac / Windows.

authors: jpluimers peele

repo: peele/plantuml-preview


text:
Example nits

Makes a few tiny changes to the docs for clarity.
Updates dependencies, since I was there.

OK, i'm done fiddling with this if anyone wants to review.

(sorry I added to it after your review, @Mingun)

I want to resolve https://github.com/peggyjs/peggy/issues/403 before merging this.  One thing that might need to change in the docs is to add a typescript example which uses import * as peggy from 'peggy'

I checked that TS didn't require any special effort, and that it was returning the correct types.  Tried to make it more clear that most people should be using the CLI and not the API anyway.  Found a couple of ways to configure TS that required import * as peggy, so added that as a hint.

repo: peggyjs/peggy


text:
Hide a sensor/probe

Please incorporate the ability to hide specified sensor.

you can do that already, just change the true to false for that sensor in the config.
"temperatureSensors": true,
"humiditySensors": true,
"solarRadiationSensors": true,

Please tolerate my ignorance…I have a RF hub that transmit outdoor, indoor and pool  to Ambient Weather net. I only want pool to show. If I setup temperatureSensors false all would be hidden!?!

authors: RxJock WotAGitUR


text:
How to check for Any?

Hello!
How can I check that one of the properties is an object? Let's say I described the following type:
const Person = Record({
name:String,
age: Number,
body: // what should I use here?
});
body is object - it can be filled with any values or empty ({}), but cannot be null or undefined
How I can describe it using runtypes?
Thanks!

I also needed this, where I want to permit an opaque dictionary. eg {} or {foo: 1, bar: "two", baz: { quux: [] }} should both be accepted.
Dictionary(Unknown, 'string') is pretty close, although it permits null and undefined at compile-time [although not in the default validator -- perhaps this is a bug?]
import { Dictionary, Record, Static, String, Unknown } from 'runtypes';

const X = Record({
  foo: Dictionary(Unknown, 'string')
});
type X = Static<typeof X>;

// Good: These fail to validate.
console.log(X.validate({}));
console.log(X.validate({foo: 1}));
console.log(X.validate({foo: null}));
console.log(X.validate({foo: undefined}));

// Good: These validate.
console.log(X.validate({foo: {}}));
console.log(X.validate({foo: {bar: 1}}));

// Good: These fail at compile time.
// const goodFooMustBePresent: X = {};
// const goodForbidsNonObject: X = { foo: 1 };

const goodPermitsEmptyObject: X = { foo: {} };
const goodPermitsArbitraryObject: X = { foo: {bar: 1, baz: { quux: false } } };

// Bad: These pass at compile time :(
//      They would fail the constraint check at runtime.
const badPermitsNull: X = { foo: null };
const badPermitsExplicitUndefined: X = { foo: undefined };

@annmirosh I'm sure what you want is not Any but NonNull, NonUndefined or similar thing. Maybe we'd implement some ways to "negate" runtypes in the future (along with https://github.com/microsoft/TypeScript/pull/29317 ?), but at this time the only option is Unknown.withConstraint(x => x !== undefined && x !== null).
@cldellow I can't confirm that your last two lines "pass at compile time", at least in runtypes 5.0.1 and TS 4.2.3. It expectedly emits static type-checking error. What versions of runtype and typescript are you using?

Well, please file a new issue if you found a bug on it. I believe the OP's issue is resolved by my previous comment, so I'll close this.

authors: annmirosh cldellow yuhr

repo: pelotom/runtypes


text:
🛑 Dinas Lingkungan Hidup is down

In ad90f7d, Dinas Lingkungan Hidup (https://dlh.bekasikota.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dinas Lingkungan Hidup is back up in 57a65a5.

repo: pemkotbekasi/website-status


text:
🛑 Web Bekasikota is down

In c1f7d8a, Web Bekasikota (https://www.bekasikota.go.id/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web Bekasikota is back up in 1c98ede.


text:
Merge changes from NSA-Ghidra

22/06/2019

Merge modifications from NSA-Ghidra

repo: penhoi/ghidra-decompiler


text:
fix #104, update laundry documentation

Add documentation for the multiple halls endpoint.

I think the 2 halls endpoint should be deprecated ASAP and replaced with a functional multiple halls endpoint.
Pull request LGTM

authors: adelq ezwang

repo: pennlabs/penn-mobile-server


text:
[BACKLOG-21368] Fixing minor UI issues with the Splunk Input and Output steps

@pentaho/r2d2

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl 'ui' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'ui' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'ui' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  ui/src/main/java/org/pentaho/di/ui/core/ConstUI.java
  ui/src/main/java/org/pentaho/di/ui/core/widget/StyledTextComp.java
  ui/src/main/java/org/pentaho/di/ui/trans/step/common/CommonStepDialog.java

authors: pentaho-amessier wingman-pentaho

repo: pentaho/pentaho-kettle


text:
[BACKLOG-28228] As a PDI on Foundry developer, I want Kitchen to supp…

…ort running ETL inside zip files, so that a containerized PDI can process ETL inside a zip
I will issue a follow-up PR with unit tests
@pentaho/rogueone

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/kitchen/Kitchen.java
  engine/src/main/java/org/pentaho/di/kitchen/KitchenCommandExecutor.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory

Branch Change: -7.2% :small_red_triangle_down:
Complexity Change: -7.7% :small_red_triangle_down:

org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.kitchen.KitchenCommandExecutor

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.4% :small_red_triangle_down:
Instruction Change: -2.8% :small_red_triangle_down:
Line Change: -2% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Branch Change: -2.6% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -1.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UIEERepositoryUser

Branch Change: -8.3% :small_red_triangle_down:
Complexity Change: -6.7% :small_red_triangle_down:
Instruction Change: -0.9% :small_red_triangle_down:
Line Change: -3.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/kitchen/Kitchen.java
  engine/src/main/java/org/pentaho/di/kitchen/KitchenCommandExecutor.java
  engine/src/test/java/org/pentaho/di/kitchen/KitchenCommandExecutorTest.java
  engine/src/test/resources/org/pentaho/di/kitchen/testKjbArchive.zip

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: +0.1% (click to expand)
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -3.1% :small_red_triangle_down:
Complexity Change: -3.1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

authors: pedrofvteixeira wingman-pentaho


text:
dex(events): use ProtoEvent to record events

Part of #3504

I'll add the SCT events in a separate PR. I also want to work through a couple examples of DEX integrations to make sure that we record everything useful. But I will do that offline.

repo: penumbra-zone/penumbra


text:
ci: workflow for standalone pd

We want to exercise the pd https logic, but we can't naively run it from scratch on every deploy, because that'd be far too many API requests to reissue certs from ACME. Instead, let's preserve the ACME directory before wiping state, and reuse it before bouncing the service.
This setup requires always-on bxoes provisioned out of band.  So far, this adds the base logic via a workflow. In order to get it running, I'll need to iterate on the workflow, but workflows must land on main prior to being available for ad-hoc execution.
Refs #3336.

So far, this adds the base logic via a workflow. In order to get it running, I'll need to iterate on the workflow, but workflows must land on main prior to being available for ad-hoc execution.

I'm going to get this in as a necessary-but-not-sufficient base for further iteration.


text:
Update minifront/node-status apps

Describe your changes
Pulls in the build outputs of the node-status and minifront apps.

At a glance, looks like you don't have git-lfs setup for this repo. The *.zip files within the assets/ dir should be using git lfs, and it looks like they're raw bin files here. See the (rather sparse) git-lfs docs here: https://guide.penumbra.zone/main/dev/build.html I'd be happy to pair with you to sort it out!

I'd be happy to pair with you to sort it out!

We straightened this out: CI should pass now.

Merging this PR broke serving minifront on the pd grpc endpoint:
❯ curl -I https://grpc.testnet-preview.penumbra.zone/
HTTP/2 404
access-control-allow-origin: *
access-control-expose-headers: *
date: Fri, 29 Mar 2024 17:48:19 GMT
vary: origin
vary: access-control-request-method
vary: access-control-request-headers
content-length: 25

Is it possible that a different procedure was used for generating the zipfile? Can we script that process so it's on-rails?

authors: conorsch jessepinho


text:
WIP: interface for TCT incremental serialization

This isn't ready for substantive looking-over, I'm just making a draft PR to ensure all work-in-progress branches are tracked.

Closing in favor of #1076, but preserving for future inspection because some of the ideas about packed encoding may be useful in the future.


text:
Log task result when job is done (#21)

Not a whole lot to see :o
The only decision is where to put the result. I chose to put in its own key, it could be in the job log_context. I don't mind either way :)

Codecov Report

Merging #33 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #33   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          11     11
  Lines         362    363    +1
  Branches       24     24
=====================================
+ Hits          362    363    +1

Impacted Files
Coverage Δ

cabbage/worker.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io pmourlanne

repo: peopledoc/cabbage


text:
Add a schema migration test

Closes #197
This adds a migration test that checks that developers don't forget to write migration scripts when making changes to the procrastinate schema.

Successful PR Checklist:

[x] Tests

[ ] (not applicable?)

[ ] Documentation

[x] (not applicable?)

[x] Had a good time contributing?

@ewjoachim I made changes as discussed.

Thanks for reviewing.

repo: peopledoc/procrastinate


text:
Add dynamic inner classes

Like #213, but also dynamic inner classes.

[Note to self]
Open questions:

Store only one reference to immediate enclosing class or a pointer to all or do it like with closures and actually check what is required?
Do we need something like x.new MyClass() as in Java?
Should instances of inner classes be destroyed automatically when destroying the parent object? (probably too expensive to keep a list of children)
Optimize the case where there can be at most one child? In this case it would be possible to share ids.

repo: peq/WurstScript


text:
EVEREST-107 Fix tests run

CHANGE DESCRIPTION
Problem:
EVEREST-0
Short explanation of the problem.
Related pull requests

[link]

Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?

Tests

[ ] Is an Integration test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Codecov Report

Merging #185 (a7c8f1d) into main (f7ac65b) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #185   +/-   ##
=====================================
  Coverage   5.02%   5.02%
=====================================
  Files         13      13
  Lines       3005    3005
=====================================
  Hits         151     151
  Misses      2827    2827
  Partials      27      27

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter oksana-grishchenko

repo: percona/percona-everest-cli


text:
K8SPS-90: Add sanity checks for backups

https://jira.percona.com/browse/K8SPS-90
In this PR operator, when creating a new backup, would check if the backup with the same name exists and delete it if true. When creating multiple backups at the same time, this could not work until https://github.com/percona/percona-server-mysql-operator/pull/215 merge.
Also, the operator will check the md5 file size after the backup creation and throw an error if its size is lower than 3000

Test name
Status

init-deploy
passed

demand-backup
failed

auto-config
passed

gr-init-deploy
failed

monitoring
passed

config
passed

semi-sync
passed

one-pod
passed

service-per-pod
passed

sidecars
passed

limits
passed

version-service
passed

gr-demand-backup
failed

tls-cert-manager
passed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/02c680789a386dd88b32666e5976897e9eaba7ef
image: perconalab/percona-server-mysql-operator:PR-219-02c6807

Test name
Status

auto-config
passed

init-deploy
passed

demand-backup
failed

gr-init-deploy
failed

config
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

one-pod
passed

sidecars
passed

limits
passed

version-service
passed

gr-demand-backup
failed

tls-cert-manager
passed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/13a848c992577315ed774f3f72104e2e371609ed
image: perconalab/percona-server-mysql-operator:PR-219-13a848c

Test name
Status

auto-config
passed

demand-backup
failed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

config
passed

sidecars
passed

limits
passed

one-pod
passed

version-service
passed

tls-cert-manager
passed

gr-demand-backup
failed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/1510bd24a71407242f6fe5d334e377c00e2139da
image: perconalab/percona-server-mysql-operator:PR-219-1510bd2

Test name
Status

auto-config
passed

demand-backup
failed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

config
passed

service-per-pod
passed

sidecars
passed

limits
passed

one-pod
passed

version-service
passed

tls-cert-manager
passed

gr-demand-backup
failed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/542562cca44d1dcbd8f27106a6cbc78bee1374df
image: perconalab/percona-server-mysql-operator:PR-219-542562c

Test name
Status

auto-config
passed

demand-backup
failed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

config
passed

sidecars
passed

limits
passed

version-service
passed

one-pod
passed

gr-demand-backup
failed

tls-cert-manager
passed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/c85f8d1598bdfddb3cbb311c4fcfa6ee64b07bd6
image: perconalab/percona-server-mysql-operator:PR-219-c85f8d1

Test name
Status

init-deploy
passed

auto-config
passed

demand-backup
failed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

config
passed

sidecars
passed

limits
passed

version-service
passed

one-pod
passed

tls-cert-manager
passed

gr-demand-backup
failed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/f010fcd1eaa62adbc42531c6f84a10d12ef60a6c
image: perconalab/percona-server-mysql-operator:PR-219-f010fcd

Test name
Status

auto-config
passed

demand-backup
failed

init-deploy
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

config
passed

service-per-pod
passed

sidecars
passed

limits
passed

one-pod
passed

version-service
passed

gr-demand-backup
failed

tls-cert-manager
passed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/02bceac76e3f1509c5491c5bc9a9903675b75a5a
image: perconalab/percona-server-mysql-operator:PR-219-02bceac

Test name
Status

demand-backup
passed

init-deploy
passed

auto-config
passed

gr-init-deploy
passed

monitoring
passed

semi-sync
passed

service-per-pod
passed

config
passed

sidecars
passed

gr-demand-backup
passed

limits
passed

version-service
passed

one-pod
passed

tls-cert-manager
passed

scaling
passed

users
passed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/219/commits/dfb7986eaf0cc2856c58b5bb0ea2a774c3c1fb29
image: perconalab/percona-server-mysql-operator:PR-219-dfb7986

authors: JNKPercona pooknull

repo: percona/percona-server-mysql-operator


text:
K8SPXC-811 fix haproxy status

Test name
Status

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/919/commits/1f146950adca39742d40e56c0bf4504d999635ff
image: perconalab/percona-xtradb-cluster-operator:PR-919-1f146950

As discussed kubectl scale should be fixed also under this ticket.

yes, you are right
fix https://github.com/percona/percona-xtradb-cluster-operator/pull/919/commits/860803ca75b117499e8de2db2477d8fa81052a7b

Test name
Status

upgrade-haproxy
passed

recreate
passed

scaling
passed

big-data
failed

haproxy
passed

scheduled-backup
passed

storage
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

self-healing-chaos
passed

limits
passed

demand-backup
passed

monitoring-2-0
passed

smart-update
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

self-healing-advanced-chaos
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

operator-self-healing
passed

pitr
passed

upgrade-consistency
passed

operator-self-healing-chaos
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

demand-backup-encrypted-with-tls
failed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/919/commits/860803ca75b117499e8de2db2477d8fa81052a7b
image: perconalab/percona-xtradb-cluster-operator:PR-919-860803ca

Test name
Status

haproxy
passed

recreate
passed

restore-to-encrypted-cluster
passed

init-deploy
passed

demand-backup
passed

limits
passed

pitr
passed

monitoring-2-0
passed

demand-backup-encrypted-with-tls
passed

affinity
passed

one-pod
passed

big-data
passed

auto-tuning
passed

scaling
passed

proxysql-sidecar-res-limits
passed

scaling-proxysql
passed

users
passed

security-context
passed

tls-issue-self
passed

scheduled-backup
passed

storage
passed

tls-issue-cert-manager
passed

self-healing
passed

tls-issue-cert-manager-ref
passed

self-healing-chaos
passed

validation-hook
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

upgrade-haproxy
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/919/commits/860803ca75b117499e8de2db2477d8fa81052a7b
image: perconalab/percona-xtradb-cluster-operator:PR-919-860803ca

authors: JNKPercona hors

repo: percona/percona-xtradb-cluster-operator


text:
Smartmatch with pairs is not too clear

The problem
Looking what the tip in #2621 referred to, I found this text in Pair.ACCEPTS:
uses the invocant's key as the name of the method to call on topic and check's its .Bool is the same as .Bool of the invocant's value. This form can be used to check Bool values of multiple methods on the same object, such as IO::Path, by using Junctions:

Suggestions
Wording could be improved. "its .Bool is the same as" is basically a translation of the source. It could be explained better in other terms.

@JJ: let me know whether you find that clearer? If so, please close.

Looks great. Thanks!

authors: JJ cfa


text:
Link to the "official" Travis Perl6 instructions.

See also my PR on https://github.com/perl6/doc/pull/350.
This PR makes http://modules.perl6.org and http://doc.perl6.org/language/modules consistent.

Thanks. I also created an Issue on the Travis Docs so we could incorporate the benefits from ugexe's repo into the doc page on Travis: https://github.com/travis-ci/docs-travis-ci-com/issues/480

Welcome. I am still trying to get a bit of an overview what documentation
can be found were ...
On Thu, 14 Jan 2016, Zoffix Znet wrote:

Thanks.  I also created an Issue on the Travis Docs so we could
incorporate the benefits from ugexe's repo into the doc page on Travis:
https://github.com/travis-ci/docs-travis-ci-com/issues/480

--
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

authors: zaucker zoffixznet


text:
Add support for gradle incremental annotation processing

Issue
resolves https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/473
Overview
This PR adds incremental compilation support. I suppose right now this feature is only for Java? 🤔
Ref

doc: https://docs.gradle.org/nightly/userguide/java_plugin.html#sec:incremental_annotation_processing
Dagger's issue and commit: https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/473#issuecomment-446132000

Kotlin does not have support for incremental annotation processing yet. There's an open issue, can't find the link...

@autonomousapps thank you I've just founded on Dagger's repo 🙇 https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/473#issuecomment-446445332

@hotchemi for incremental AP to work you also need to provide an originating element for every generated file.
From the Gradle documentation:

They must provide exactly one originating element for each file generated with the Filer API. If zero or many originating elements are provided, Gradle will recompile all source files.

For Java you can use TypeSpec.Builder.addOriginatingElement but I'm not sure what to use for Kotlin.
Here is relevant commit from Dagger: https://github.com/google/dagger/commit/baf235794459ea8318b89c9c3eb2f9ef5ede846a

@technoir42 ooh thank you let me address!

authors: autonomousapps hotchemi technoir42


text:
Add ByteArray and List workarounds.

https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/599 and https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/619 would be resolved by this PR.

Let me merge.


text:
Fix some formatting and typos

Fix some formatting and typos in several files.
Rename RpcUtilityMethods's get_proccess_details method to
get_process_details.

Hi @jsdanielh !
Thanks for the work here. I'll try to review it all tomorrow, typo fixes look great, there are some type changes I'd need to look more deeply into than a quick skim.

Looks great- few comments inline; most not critical, only the float->int change requires further discussion

@orweis I applied your suggestion on the type change for the timeout. I actually went and changed it in some other places that were specifying int.
For the line break changes, they go more into complying with PEP8 maximum line specification. Although I know there are some lines that doesn't fully comply with it, I thought a change towards that path would help. Let me know what you think.

authors: jsdanielh orweis


text:
Add AI-powered policy builder and testing environment

Related to #9
Implement an AI-powered policy builder and testing environment in the Permit CLI.

New Commands:

Add permit playground build command for interactive policy creation with AI suggestions.
Add permit playground test command for real-time policy testing and evaluation logs.

Documentation:

Update README.md to include new commands and their usage.
Describe the new AI-powered policy builder and testing environment features.

Dependencies:

Update package.json to include dependencies for AI-powered features.
Add scripts for building and testing the new features.

Command Implementations:

Create source/commands/playground/build.tsx to implement the permit playground build command.
Create source/commands/playground/test.tsx to implement the permit playground test command.

Command Index:

Update source/commands/index.tsx to include entries for the new permit playground build and permit playground test commands.

Hey, @vishwamartur, I'm closing this PR as we do not yet ranked the idea in the issue and it has invalid code in it (there's no v2/policies route in Permit).

authors: gemanor vishwamartur

repo: permitio/permit-cli


text:
Falling into ground when resizing window

Describe the bug
The player "falls" trought the ground and is then stuck.
To Reproduce
Steps to reproduce the behavior:

Resize the game window
Return focus to the game

Expected behavior
The player should remain at the location it was before resizing.
System Information (please complete the following information):

Does not matter.

Additional context
Could be caused by a very large delta time, as probably no update calls are made during resizing.

The game window is now not resizable or movable, the size can only be changed by setting it in the config or by switching to fullscreen.

repo: pershingthesecond/VoxelGame


text:
[ROS2] Realsense images stop getting delivered with too many subscribers

Our RealSense is running on a Jetson Nano. On the Nano itself, we can run at least 4 concurrent ros2 topic echo /camera/color/image_raw and ros2 topic echo /camera/depth/image_rect_raw each and not have issues.
On a computer other than the Nano, we can have one concurrent subscriber each. As soon as we add the second subscriber to the color image, all subscribers to the depth image stop receiving images. Switching to compressed images appears to make the problem better, but it doesn't go away entirely.
This may be related to this comment, although our librealsense is configured for CUDA (I verified that GPU utilization increases when we launch the realsense nodes).
One potential way to address this is to create a republisher that is only subscribed to by nodes running on the same non-Nano machine. However, if the republisher subscribes to too many different camera topics (e.g., color raw, color compressed, depth raw, aligned depth raw) the subscribers in the republisher itself stop receiving images.
Hence, we need to converge upon which ~2 topics all our perception nodes will use (probably compressed color and aligned depth) and develop a republisher for just those. Further, we should consider developing the republisher node such that it only publishers images if there is a subscriber, else doesn't (to save compute power).

Food segmentation and face detection use the compressed RGB image and aligned depth images.
Only food-on-fork detection uses the raw depth image, and that can be moved to aligned depth now that we have addressed the aligned depth unstability issue.

Update: On t0b1, we can have 4 concurrent subscribers each of /camera/color/image_raw/compressed and /camera/depth/image_rect_raw without issues (untested whether issues start with more than this).

With 4 concurrent subscribers each, the rate of the compressed image subscribers is ~15 Hz, and the rate of the aligned depth subscribers is ~7 Hz.
With 1 concurrent subscriber each, the rate of both the compressed image and aligned depth image subscribers is 20 Hz.
With only one subscriber or the other, the rate is 29 Hz.

On the other hand, with a republisher on t0b1 (#49 ), 4 concurrent subscribers each run at 19-20Hz, which is a 4x speedup for depth images and a 1.33x speedup for color images.


text:
How to use JSP in conjunction with Spark?

How do I set a path to a JSP file (like routing /sparkiscool to sparkisamazing.jsp)?

You don't typically use JSP with Spark. Try one of the template engines? Velocity and Freemarker are good.

I'll use Velocity. Thank you :)
On Sat, Mar 4, 2017 at 12:15 PM David notifications@github.com wrote:

Closed #795 https://github.com/perwendel/spark/issues/795.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/perwendel/spark/issues/795#event-986571698, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHZGgNVZD0LGlgOqwhDP3WhwNDiD5Ocuks5ricZ-gaJpZM4MTMKY
.

--
Fightin' Bad Guys
̿ ̿ ̿'̿'\̵͇̿̿\з=(•_•)=;5/̵͇̿̿/'̿'̿ ̿
Anthony

repo: perwendel/spark


text:
Bulk import of CSV or JSON  file fails with 413 Payload To Large error

I receive a 413 "Payload To Large" error when attempting a bulk import of a file (CSV or JSON format) DNS records into NetBox. While this may be related to the server's http proxy settings, does the DNS plugin have a default maximum payload size value? If so can the the maximum payload size value be increased in the Django configuration file?
$ ls -hl dc6-prod_records_dns.csv
55M May 23 12:19 dc6-prod_records_dns.csv

$ wc -l dc6-prod_records_dns.csv
727603 dc6-prod_records_dns.csv

Hi @KE8SOJ, that's not a NetBox DNS issue (nor NetBox, by the way), not even Django - it's your web server/reverse proxy config.
Are you using Apache or Nginx?

You can find instructitions for properly configuring Apache or Nginx here (and in about a million other places, if you know what to look for :-))

Update: There actually is a limit in Django, which is 2.5 MB (2621440 bytes) by default.
You can increase DATA_UPLOAD_MAX_MEMORY_SIZE in configuration.py and restart the netbox and netbox-rq services.

repo: peteeckel/netbox-plugin-dns


text:
Translate structure page

Source: https://github.com/laravel/docs/blob/5.2/structure.md

đang dịch bài này

bài này xong chưa @RioV ? PR lên đi

em commit lên brach của em rồi, phải làm gì nữa không a?

em fork về tài khoản github của em, tiến hành chỉnh sửa trên repo đó, commit hết lên. rồi ấn vào cái nút Pull Request trên repo của em, điền thông tin tiếp là được.

Closed via https://github.com/petehouston/laravel-docs-vn/pull/58

authors: RioV petehouston

repo: petehouston/laravel-docs-vn


text:
SQL parametrization fix to contact_list sample

Fixed a small sql parameterization error in the contact_list sample which meant that it would fail for ids over 9.
I just changed the get_contact() to use named parametrization to be inline with the other SQL functions.

Coverage decreased (-0.03%) to 96.275% when pulling f4a10fa756707fe6478ec09a770610866dd44833 on mronkain:master into 750f03a225574770b92aa456486397508ea56e9d on peterbrittain:master.

Looks good!  Thanks.

authors: coveralls mronkain peterbrittain

repo: peterbrittain/asciimatics


text:
Deprecate exporting of the codegen module

It felt wrong to export the codegen module to users of the library. They should just have straight access to the Function. Thoughts?

So I think this might not be necessary as I am replacing the export! macro so that it is no longer an expression macro.  Users won't see anything from the codegen module as a result.
Let's table this PR for now, we can revisit if the work I have isn't sufficient.  Sound good?

So with #145, the export! macro is simplified to just:
azure_functions::export! {
    my_function
}

As such, I'm going to close this since I don't think we need it; there are no remaining places where "codegen" leaks into something users would see through normal usage.

authors: peterhuene rylev

repo: peterhuene/azure-functions-rs


text:
🛑 PeterJSE.com is down

In 3324b55, PeterJSE.com (https://www.peterjse.com) was down:

HTTP code: 404
Response time: 553 ms

Resolved: PeterJSE.com is back up in eb08747 after 6 minutes.

repo: peterjse/Upptime


text:
Demo Dictionary to add a CSS Style via a W3C Web Publication Manifest

Demo Dictionary :
Available at https://github.com/petermr/semanticClimate/blob/main/test_dictionary.html
This is a small dictionary of 6 words enhanced with Wikipedia information and figures.

Thanks
On Mon, Oct 28, 2024 at 11:10 AM Renu @.***> wrote:

Demo Dictionary :
Available at
https://github.com/petermr/semanticClimate/blob/main/test_dictionary.html
This is a small dictionary of 6 words enhanced with Wikipedia information
and figures.
—
Reply to this email directly, view it on GitHub
https://github.com/petermr/amilib/issues/31, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTCS3QXNIFHOMPZWQARRDZ5YLQXAVCNFSM6AAAAABQXFEAQCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQMBZHAZDEMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK

Great thanks

I'll look at making a style for this document and others. I should be able setup a web interface and commline interface where HTML URLs can be added to a Manifest to be rendered as and when people need them.
Here is are the Wikidata terms from above in the old CSS theme, not really working yet. https://vivliostyle.org/viewer/#src=https://raw.githubusercontent.com/petermr/semanticClimate/refs/heads/main/test_dictionary.html&style=https://github.com/TIBHannover/report-style/blob/main/uhtml/css/appaloosa.css&spread=true

authors: mrchristian petermr rkclimate20

repo: petermr/amilib


text:
Using feature returned from QueryRenderedFeatures

Hi,
Firstly - this is a really great library! Thank you.
I want to use setCoords() on an object returned from QueryRenderedFeatures(). However, the object returned from QueryRenderedFeatures() doesn't contain this function/property.
The use case is for the user to drag/move a feature...so I want to use QueryRenderedFeatures to get the feature under the mouse, then setCoords to change it's position.
Thanks!
Joe

hi @joedjc, can you provide a test case of how you're trying to implement this?

Hi @peterqliu thanks for the reply.
Here's the test case. I use the on click event to get a Threebox feature under the mouse. I then try to set new coords on mouse move.
I actually got it to work using a box geometry created with a 'Object3D', but it doesn't seem to work with the feature created via the loadObj method.
`var selected_feature
map.on('style.load', function() {
map
.addLayer({
	id: 'custom_layer',
	type: 'custom',
	renderingMode: '3d',
	onAdd: function(map, mbxContext){

		window.tb = new Threebox(
			map,
			mbxContext,
			{defaultLights: true}
		);

		// import truck from an external obj file, scaling up its size 10x
		var options = {
			obj: 'models/Truck.obj',
			mtl: 'models/Truck.mtl',
			scale: 1,
			rotation: 180
		}

		tb.loadObj(options, function(model) {

			truck = model.setCoords(origin);
			tb.add(truck);
		})

	},

	render: function(gl, matrix){
		tb.update();
	}
});

})
.on('click', function(e){
selected_feature = tb.queryRenderedFeatures(e.point)[0]
})
.on('mousemove', function(e){
if ( selected_feature ) {
selected_feature.object.setCoords([e.lngLat.lng, e.lngLat.lat])
}
});`

@peterqliu Here's an example of what i'm trying to do. This one works with the cube geometry. Click the cube once then drag and mouse to move it:
https://www.iventis.co.uk/test/Object3D.html

Ah perfect. I can see how that was confusing -- will look into tweaking qRF to return the proper parent with the methods attached

authors: joedjc peterqliu

repo: peterqliu/threebox


text:
cookie based refreshToken not being unique.  There might be two

having two refreshTokens gets 401 error(custom made)

Even though there is a cookie resetter, it seems there are old cookies remaining

i had an overlapping code for refreshToken(cookie)


text:
python3.5

Hi! Is pygooglevoice working with python3.5? I'm getting this error when I try and run it in python3.5 File "voice.py", line 1, in <module>     from googlevoice import Voice   File "/usr/local/lib/python3.5/dist-packages/googlevoice/__init__.py", line 17, in <module>     from voice import Voice   File "/home/ubuntu/voice/voice.py", line 1, in <module>     from googlevoice import Voice ImportError: cannot import name 'Voice'``
Otherwise it works fine for me!

Your file is named voice.py, that's the same as the module you are trying to import.  Rename /home/ubuntu/voice/voice.py to something else.

I had to make significant changes in several of the modules to get pygooglevoice working under Python3.  Even after you get it to load, you will probably run into some more errors.

@woodyl
Care to contribute your working under Python3 version back as a pull request?

@chris001
When I get the time, I'll organize the changes and put them up here.

@woodyl  A tip if you want an app to help organize the changes for 3.5, try the free community edition of PyCharm, it's good. https://www.jetbrains.com/pycharm/download/

@chris001  Thanks, I'll take a look at it.

Feel free to give googlevoice a try. It has CI tests even on Windows demonstrating working functionality on Python 2.7 and 3.6 and 3.7.

Following the acceptance of #56, this issue should be fixed now.

authors: chris001 jaraco tom-slick wethegreenpeople woodyl

repo: pettazz/pygooglevoice


text:
Plans to include UI for scheduler?

We are investigating adaptdl's command line interface to use as a scheduler for our gpu cluster and are wondering if there are plans to include a UI to view submitted jobs, output files, etc? I see an issue already for Kubeflow integration, which has a UI to display these sort of things, so that could be one solution.

Hi @radao, we are currently working on a UI, but it's not finished yet. Would you care to share some specific UI features you are looking for? We might be able to help you address them. For the output files issue, you might be able to use something like JupyterLab to view and download the files from your cluster.
By the way, you can also email us at opensource (at) petuum (dot) com if you prefer to communicate that way.

Hey @aurickq, thanks for the prompt response! I'd say to start viewing the info available via the cli would already be helpful, so mainly the output of adaptdl ls (job name, status, times). Additional info that would be useful:

Requested/allocated resources for each job
User name associated with each job
Cluster status
Stdout/stderr

It would also be nice to interact with jobs via the UI, like deleting jobs, viewing output files generated (and ideally downloading them), submitting jobs via the UI, launching tensorboard instances, etc.
We're also evaluating Microsoft's OpenPAI for scheduling as it has a pretty nice UI already. It may be helpful to have a look there for inspiration.

authors: aurickq radao

repo: petuum/adaptdl


text:
"Radovan" , "Fântânele" , "Târnava" are listed in the drop-down menu

Description:
When user writes ”Radovan" , "Fântânele" , "Târnava" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Radovan"

Expected results
The location appears in the drop-down menu as "Sat Radovan, DOLJ (Radovan)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Târnava"

Expected results
The location appears in the drop-down menu as "Sat Târnava, DOLJ (Radovan)".


text:
The scraper does not show that the announcement job for Back-office Junior Customer Service Agent with German was posted 5 times

ENVIRONMENT:
https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Enter url in browser
In go to "https://admin.peviitor.ro/" and click to jobs for "Allianz"
Click on "Back-office Junior Customer Service Agent with German" tab on "Catre Job "option
EXPECTED RESULTS:
The page shows the full description of the job
ACTUAL RESULTS:
The pages show the same job announcement at accessing the other 4 tabs
See below the screenshot
Attachment:
Page from Validator for Allianz

Jobul nu mai este disponibil, dar din poze par a fi 2 joburi complet diferite. Uită-te atent la link ul jobului ca au id uri unice. Nu sunt duplicate.

repo: peviitor-ro/validator-ui


text:
cleanup clock/heartbeat from redux

This PR:

removed CLOCK_UPDATED action
removed backendHeartbeat action (only used in HeartbeatBackendListener component)
removed HeartbeatBackendListener component from OverlayScreen
naturally removed  getClock and getClockTime selectors
fix the toolbar clock after removing getClock, an useEffect with a interval of 1 sec using new Date()
fix display tab in settings after removing getClockTime

add temporary saga code to detect backend connection loss.
TODO (ethan/rohan):

finish saga part for the backend connection (improve/refactor)
fix unit tests after removing getClock
-~add the ability to dispatch event log for software connectivity loss.~

I did not really give much thought to my code for saga! it does work but I'm sure there is a better way to do things! @ethanjli maybe you can co-author that part??
Testing:

performance on chromium process has improved a lot.

We'll also need to add the heartbeat-related functionality back as a saga

I don't think I completely understood this, just add back what I deleted, or add a generator function that dispatches the action with some delay in saga.ts?

saw this TODO  and moved backend stuff from app to connection

@ethanjli can you take a look at the latest changes for saga? so basically I'm checking if we have a STATE_UPDATED in a time period of 3 seconds, if we don't then we dispatch BACKEND_CONNECTION_DOWN

CPU usage measurements after running the frontend dashboard with the simulator backend on the RPi for at least 10 minutes:

On develop (85ae493), CPU usage of the chromium process is usually between 90% and 100%, occasionally reaching 85% and rarely reaching 80% or 105%
On this PR (12dec45), CPU usage of the chromium process is usually between 65% and 75%, often reaching 60%, occasionally reaching 85%, rarely reaching 90% or 55%.

If end-user latency looks good to you, I think this concludes the performance optimization on the frontend for running in the dashboard; in future commits we just need to check against performance regressions. I think it's still worth fixing the issues of massive redraws for the alarm border, modals, etc., but that is less urgent and, if we're tight on time, can be delayed until future modes. In future modes with waveform plots, we'll definitely to fix the problem of unnecessary redraws.
CPU usage in the Python backend server is still very high, and based on what we've seen in this PR I suspect the culprit is that the backend is polling on clock updates (like what we removed with redux + sagas in this PR) every millisecond (!!!). The simple solution would be to accept higher clock jitter, e.g. by polling only every 2 ms or every 5 ms; the more efficient, more accurate, but potentially much more complicated solution, would be to have all timing-related filters (state synchronizers, backend protocol, server protocol) report the next clock updates they need, and then ventserver.integration._trio.process_clock would sleep for variable durations and wake for the deadline of each requested clock update.

Looks good to me in terms of latency!

This project is licensed under Apache License v2.0 for any software, and Solderpad Hardware License v2.1 for any hardware - do you agree that your contributions to this project will be under these licenses, too? Yes.
Were any of these contributions also part of work you did for an employer or a client? No.
Does this work include, or is it based on, any third-party work which you did not create? No.

Moving the connection-specific code from store/controller into store/connection turned into a giant renaming operation because then it also made sense to move the protobuf files (and some associated type definitions) from store/connection/proto to store/proto, so a lot of frontend files have been touched. I've tried to restrain myself by not doing more moving of code or renaming of things, since that should really be saved for a future PR. @rohanpurohit Can you try to go to all of the various frontend screens and press all of the various buttons to ensure that the frontend doesn't break (e.g. with console.log errors or with typescript/eslint/etc. complaints in yarn start) on these latest changes? Once it looks good to you, you can go ahead and mark this PR as approved.

Moving the connection-specific code from store/controller into store/connection turned into a giant renaming operation because then it also made sense to move the protobuf files (and some associated type definitions) from store/connection/proto to store/proto, so a lot of frontend files have been touched. I've tried to restrain myself by not doing more moving of code or renaming of things beyond that, since those things should really be saved for a future PR. @rohanpurohit Can you try to go to all of the various frontend screens and press all of the various buttons to ensure that the frontend doesn't break (e.g. with console.log errors or with typescript/eslint/etc. complaints in yarn start) on these latest changes? Once it looks good to you, you can go ahead and merge this PR.

mostly tried everything! looks good to me. merging

authors: ethanjli rohanpurohit

repo: pez-globo/pufferfish-software


text:
Update sbt to 1.5.7

Updates org.scala-sbt:sbt from 1.5.5 to 1.5.7.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #63.

repo: pfcoperez/thebutlerdidit


text:
Random values made test error.

As mentiond in PR #2374,
There is the same issue in test_fmod with #2381.
I only changed the documentation codes, but one of the python version (Linux Python 3.4) faild.
This is the error codes of https://travis-ci.org/pfnet/chainer/jobs/208596535 .
======================================================================
FAIL: test_backward_cpu (test_fmod.TestFmod_param_0)  parameter: {'shape': (3, 2), 'dtype': <class 'numpy.float16'>}
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/chainer/testing/condition.py", line 71, in wrapper
    fail()
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/chainer/testing/condition.py", line 51, in fail
    instance.fail(msg)
nose.proxy.AssertionError:
Fail: 3, Success: 0
The first error message:
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/chainer/testing/condition.py", line 57, in <lambda>
    lambda: f(*args, **kwargs),
  File "/home/travis/build/pfnet/chainer/tests/chainer_tests/functions_tests/math_tests/test_fmod.py", line 83, in test_backward_cpu
    self.check_backward_cpu(F.fmod)
  File "/home/travis/build/pfnet/chainer/tests/chainer_tests/functions_tests/math_tests/test_fmod.py", line 44, in check_backward_cpu
    self.check_backward(op, self.x, self.divisor, self.gy)
  File "/home/travis/build/pfnet/chainer/tests/chainer_tests/functions_tests/math_tests/test_fmod.py", line 41, in check_backward
    rtol=5e-3, dtype=numpy.float64)
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/chainer/gradient_check.py", line 265, in check_backward
    testing.assert_allclose(gx, x.grad, atol=atol, rtol=rtol)
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/chainer/testing/array.py", line 24, in assert_allclose
    x, y, atol=atol, rtol=rtol, verbose=verbose)
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/numpy/testing/utils.py", line 1297, in assert_allclose
    verbose=verbose, header=header)
  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.005, atol=0.0005
(mismatch 100.0%)
 x: array([[ 0.349365, -0.184937],
       [ 0.4021  ,  0.      ],
       [ 1.289542, -0.974609]])
 y: array([[ 0.349365, -0.184937],
       [ 0.4021  ,  0.      ],
       [ 4.675781, -0.974609]], dtype=float16)

I think the grad values are too small. https://github.com/pfnet/chainer/blob/master/tests/chainer_tests/functions_tests/math_tests/test_fmod.py#L69

It will be resolved by #2402. I close this issue.

repo: pfnet/chainer


text:
Stack function

I implemented stack function.
It is equivalent to stack method in numpy.
http://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.stack.html

Please check the behavior when NumPy is older than 1.10.0

I found that concat doesn't support negative axes.

I found that split function has bug. #1282

Negative axes are now supported. Please review the PR.

Could you consider applying this comment? I would like to check not only the shape but also the value of the resultant even if NumPy is older than 1.10.0.

I checked its values: https://github.com/pfnet/chainer/pull/1262/files#diff-440df1a13fc241a19aa1a40cd569074fR48

I checked its value: https://github.com/pfnet/chainer/pull/1262/files#diff-440df1a13fc241a19aa1a40cd569074fR48

Sorry, I missed it.

LGTM 👍 . I will merge it after Travis passed.


text:
Fix docstring

Fix docstring

LGTM 👍


text:
Add ProposalCreator

Depends on #146 and #150.

[x] docs
[x] tests

Since it is confusing to separate PRs into multiple ones, I will close this.

repo: pfnet/chainercv


text:
Update ubuntu 22.04.2 link

The old 22.04.1 link does not exist, update to the recent Ubuntu 22.04.2 link.

Thank you!

authors: pguyot razr

repo: pguyot/arm-runner-action


text:
Notice: Access to undefined property acl in

I  copy app/controllers/ControllerBase.php to  my website,
I get the error message like "Notice: Access to undefined property acl in ".

@kideny Could you provide more information, please?

I wasn't able to reproduce it and I propose to close this issue.

authors: kideny sergeysviridenko

repo: phalcon/vokuro


text:
Getting an error: sh: 1: ts-node: not found

When doing the "npm run start" part of the tutorial, it tries starting and then gives me this error:
sh: 1: ts-node: not found
Not sure what that means. Any help would be greatly appreciated!

Disclosure: I am not associated with this project. I was simply trying to run it as well and got the same error.
I was able to fix though by running the following commands:
npm install tslib
In my case, I also had to install tslib:
npm install tslib
Once those two were installed, I could run the program by typing:
npm run start
Hope that helps!

@tracer-tick , ts-lib will be installed when you use npm install command.
https://github.com/phamleduy04/texas-dps-scheduler/blob/main/package.json#L43C1-L43C23

Awesome - thank you

If using terminal under VSCode, just do npm update to install all the dependency packages for this project.

I also got the error but followed the steps on this forum and it resolved! thanks all

Was getting the error, then typed npm install tslib   -    after that, works fine.

authors: DSTEinbach95 Tyrannax phamleduy04 thisiskabdul tracer-tick ziserm


text:
Use Lastfm getSimilar api to recomendations.

A very early version, but I'm stuck.. 😞
At this point, if you have lastfm configured, use the getSimilar api of lastfm to return 25 recommended songs that are added to the 'info' api url of koel.
I think this is ok.. 😉  but I need help to add the panel recommendations. I would like to do it, but I do not know much about vue..
Thank you very much, for all the development!. 😄

Where/when is this API consumed?

The idea is add a side panel, with the list similar to the album view.
If the song is in your collection maybe you can queue it, and in any case just a song suggestion.
As I mentioned, due I not know VUE, I got stuck, and I could not advance in the panel.. 😞

Finally I was able to show the list of similar songs in the panel.. 😄
I am satisfied with ir, but ideally, it would be possible to add the songs to the queue.. Please, I ask for your help for that.

p.s: The same can be done to add suggested artists .. 😉

Thanks for the PR, but I'm not quite fond of this feature. Maybe another time.

authors: matiasdelellis phanan

repo: phanan/koel


text:
General Issue: Loading Spinner for Vignettes

Background Information
Vignettes can take a long time to load.  We should have a spinner that shows the screen is still loading.  I have seen and used these in shiny apps - unsure if they work with packagedown.
@galachad any ideas?
Definition of Done
Implement Spinner on Vignettes for letting users know page is still loading.

This is static content, I'm not 100% sure but look like datatable in some content slow down rendering. Need to check [deferRender](https://datatables.net/examples/ajax/defer_render.html) option, so maybe we will be able to speed up the process.

Would enabling cache=TRUE in the vignette's YAML header help at least after first time looking at the respective vignette? Might be something we want to play around with on a forked-website? @bms63

Hi @zdz2101, I think it's the time that DT needs to render output. I think we can consider migrating to {reactable}. I'm not sure if it resolves the problem, but it's nice to consider.

Hi @galachad - what do you think of this for a solution from reactable for the slow rendering of tables on our sites?
https://glin.github.io/reactable/articles/static-rendering.html.  Perhaps the dataset_vignette() function could get updated with the reactable function so we have this static option available?

repo: pharmaverse/admiral