text:
Phaser examples

Hi man,
It's possible to use swip.js with Phaser Framework?
Regards, Nicholls

Yes It should work, although it might be a little bit more complicated than just using canvas. Everytime the game state changes an update event is triggered with the new state. With the canvas api it's really easy. We just rerender the whole game and forget about it. If you're using Phaser you would need to figure out what has changed and apply the changes to your Phaser game objects.
var socket = io.connect();

swip.init({ socket: socket, container: document.getElementById('root') }, function (client) {

  client.onUpdate(function (evt) {
    state = evt
    // apply updates to your phaser game here

  });
});

authors: jdnichollsc paulsonnentag

repo: paulsonnentag/swip


text:
php artisan mysql-dump custom_file How to Execute From Code

in My Function Code Executes:
public function execute(){
Artisan::call('backup:mysql-dump');
My Question is How To Write Code for Executing Command
php artisan mysql-dump custom_file

up

You can pass parameters to programic artisan commands by passing an array as the second parameter.
\Artisan::call('backup:mysql-dump', [
    'custom_file' => 'for_bar'
]);

https://laravel.com/docs/master/artisan#programmatically-executing-commands

Thank You Guys
it Worked! ))

i have same problem try the example and not work

@NazarAli have you tried the proposed answer from @Dewbud on https://github.com/paulvl/backup/issues/21#issuecomment-388569153

source: gharchive/issue

authors: Dewbud Madhackers21 NazarAli isdiop paulvl

repo: paulvl/backup

license: mit

license_type: permissive

license_source: bigquery


text:
File names

Hi and thank you for this jQuery Plugin.
How can i get the names of the files on server side if i  upload using base64 mode?
I got only the base64 encoded data.
Would you may comfortable with an snippet?

Hi!
In base64 mode filenames is not send to server.
If you need transmit filenames in this mode, you can write custom template, with:
<input type="hidden" name="{{data.filestyler.$input.attr('name')}}_name" value="{{file.name}}"/>

authors: mrdonthave paulzi

repo: paulzi/filestyler

license: MIT

license_source: github-api


text:
Instagram feed has been failed

http://developers.instagram.com/post/145262544121/instagram-platform-update-effective-june-1-2016
Instagram feed on all my apps are crashed. Can this be this script issue? Or I should do something with Instagram app?

Use this link to get an access token.
the first 8 digits of the access token is your user id. xxxxxxxx.shg638fhasjfbwejsfdsafbhds.....
then make sure you have these when initializing the feed:
client_id: 'xxxxxxxxxxxxxxxxxx...',
user_id: xxxxxxxx,
access_token: 'xxxxxxxx.xxxxxxxxxxxxxxxxxx...',

@ktaftaf your solution don't work. Also, my access_token have more than 8 digits before the dot.
The console error from line 513 of jquery.socialfeed.js is "Uncaught TypeError: Cannot read property 'id' of undefined"
id refers to user id. I have generated a new access token from Instagram's developers website but the problem still there.

Ok, I've solved by doing this:

go to you Instagram developer clients, open the client an then in "Security" tab uncheck "Disable implicit OAuth"
then go this url (change XXX to your client's data) and you will be redirected to you redirect_url page.
https://api.instagram.com/oauth/authorize/?client_id=XXX&redirect_uri=XXX&response_type=token&scope=public_content
Copy the token generated as a parameter on the address bar
use it in socialfeed's "access_token:"

It works with my user account, however Im having trouble getting the above to work with hashtags.
It was my impression that "scope=public_content" is all that we needed to pull hashtags.
Is there something I'm missing?

@andreabrunato i am having the same problem, followd your steps but i dont get a genareted parameter on the address bar i get a 404 page. Do you have any sollutions?
Thank you

@JohJohan you should be able to use Pixel Union's Token Generator http://instagram.pixelunion.net/

@ktaftaf Hello i did, but i still get Cannot read property 'id' of undefined, i have tried debuggin but couldnt figger out what was the problem

@JohJohan Not sure whats going on then. I would make sure you have your User ID in there as well, it'll be the first 8 digits of the access token
        get: 'user',
        userId: insta_id,
        accessToken: insta_token,

@ktaftaf Thanks for repling, i call my functuion like this:
`$('#instafeed').socialfeed({
    instagram:{
        accounts: ['@denderz_nl'],       //Array: Specify a list of accounts from which to pull posts
        limit: 9,                                                //Integer: max number of posts to load
        client_id: 'xxx',           //String: Instagram client id (option if using access token)
        access_token: 'xxx'                                         //String: Instagram access token
    }`

And then some other templating the error is in social.feed.js on line 515
var url = Feed.instagram.api + 'users/' + user.id + '/media/recent/?' + authTokenParams + '&' + 'count=' + options.instagram.limit + '&callback=?';
Where can i find my instagram id?

@JohJohan My guess would be that you should remove the "client_id" and replace with "user_id".
The first 8 of the access token you generated here http://instagram.pixelunion.net/ should be your "user_id"
e.g.
user_id: 19241354
access_token: '19241354.1677fd0.d8358b0e24c042d6952096383b3afffa'
if that still gives you issues, make sure your user_id isnt in quotes so xxxxxxxx and not 'xxxxxxxx'

@JohJohan Apparently I was mistaken, the User id isnt the first 8 digits of the access token. Someone correct me if Im wrong, but I believe its all the digits until the first . in the Access Token

@ktaftaf I have tried to replace the client_id to user_id, and changede it to the didgets of my acces token still doesnt work.

@JohJohan Sorry man, wish I could've been more help. Maybe someone else will see this thread and help you out. Im not sure what else to recommend.

@ktaftaf Thats okay, i thank you for trying :)

I'm very time poor, excuse the unprofessional response however this may help someone.
The api requests will not work if using @ in the accounts property of the Instagram settings ie: accounts: ['@apple'] due to the updates of Instgrams API discussed above. If you are desperate to get this working before contributors can update this plugin you're going to need to edit the main file jquery.socialfeed.js
line 483:
url = Feed.instagram.api + 'users/search/?q=' + username + '&' + authTokenParams + '&count=1' + '&callback=?';
change to
url = Feed.instagram.api + 'users/self/?q=' + username + '&' + authTokenParams + '&count=1' + '&callback=?';
line 515:
var url = Feed.instagram.api + 'users/' + user.id + '/media/recent/?' + authTokenParams + '&' + 'count=' + options.instagram.limit + '&callback=?';
change to
var url = Feed.instagram.api + 'users/self/media/recent/?' + authTokenParams + '&' + 'count=' + options.instagram.limit + '&callback=?';
This combined with adding the correct access_token and user_id plus ensuring you are the owner of the account you are trying to query should do the trick, working for me anyway.

i've the original script workign simply getting from here:
https://www.instagram.com/developer/
CLIENT ID
CLIENT SECRET
WEBSITE URL
REDIRECT URI
SUPPORT EMAIL
now using your CLIENT ID and REDIRECT URI call this url:
https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=token
you will get the right TOKEN to use.
I've made this and all works.

I have the same issue and also noticed that the same problem exists in http://pavelk2.github.io/social-feed/ where I no longer see any Instagram posts returned for any tag that I use!
This seem to be a real issue that needs to be addressed by the plugin.

isq uite simple because the demo of instagram not working. Look the code and you will find why:
            // INSTAGRAM
            instagram: {
                accounts: queryTags,
                limit: 2,
                client_id: '88b4730e0e2c4b2f8a09a6184af2e218',
                access_token: ''
            },

the access_token is clearly missing (pavel probably do't wanna share its own!)

authors: Ammet HartLarsson JohJohan andreabrunato ktaftaf pessato spairous


text:
move sidebar css rule to body tag instead of html

Saw this issue when I was tryna read the docs. Seems like this should fix it but idk. Here is a screen recording of the issue
https://github.com/paxengine/docs/assets/5827231/bc3e6712-e076-4a06-81b3-06f3431114c5

Thanks a lot for this Ben!

source: gharchive/pull-request

repo: paxengine/docs


text:
[3.x] Refactor ServiceConfig::class.

What the diff?
This Pull Request primarily consists of updates and changes related to a software component we use to configure settings for various services, ServiceConfig. The significant changes are as follows:

Change in File Library Imports
Across multiple files, we updated where ServiceConfig is imported from, changing it from the Fluent subdirectory to the primary Orchestration directory. This would ensure we're all using the latest version of ServiceConfig for our settings.

Use of Index-based Option Selection
In the OrchestrateProvider.php file, the method of option selection was changed to use the index of the option rather than its value. This was done to provide a more standardized and error-free way of choosing settings.

Variables Assignment Update
The OrchestrateService.php file introduced assignment expressions for improving the way we define and assign values to certain variables like $name and $id.

Standardization of Settings Retrieval
Methods for settings retrieval(get method) were used more extensively in files like OrchestrateProvider.php and DatabaseDriver.php, providing a more standardized way to get the selected option's values.

Creation of New Source Files
Two new files ServiceConfig.php and ServiceDriver.php were added to the src directory. These files are likely to include the updated configuration options and functionalities we're adopting, creating a better-organized codebase.

Modification in Test Files
Multiple testing files were updated to import the new ServiceConfig path. This ensures our test suites are in alignment with the changes made in the codebase.

Overall, these changes bring a shift towards more secure and efficient ways of managing service configurations, contributing to an improved code quality and enhanced application reliability.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.13%. Comparing base (e2cf082) to head (a8565c8).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #81      +/-   ##
============================================
- Coverage     92.14%   92.13%   -0.02%
- Complexity      189      190       +1
============================================
  Files            22       22
  Lines           662      661       -1
============================================
- Hits            610      609       -1
  Misses           52       52

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

authors: codecov-commenter r-kujawa

repo: payavel/orchestration


text:
feat: runInit timeout override

Fixes #8482 by enabling --initTimeout cli argument to override default of 4s.
Allows for the following syntax:
pnpm dev <folder> --initTimeout=<num>

This shouldn't happen now as for https://github.com/payloadcms/payload/pull/8532

repo: payloadcms/payload


text:
"yarn test" - Command "test" not found

Maybe I'm missing something super obvious, but:

Create new plugin project: npx create-payload-app@latest -t plugin -n myPlugin
cd myPlugin
yarn test

leads to ===>
$ cd dev && yarn test error Command "test" not found.
Looking at the package.json inside the dev folder explains the error - there is no "test" script there.

Hi i am facing this same issue have you got any solution for that ?

it's because dev folder doesn't have test command, you can run yarn jest in root folder or install jest to dev package.json. But tests still won't run because you need to somehow configure it to work with Payload local api. Would be great if we had this pre-configured, tests are making our plugins code base much better. While you can keep a plugin that only adds some ui without tests, but when plugin does business logic with database you should write tests.

I just made a PR fixing this issue: https://github.com/payloadcms/plugin-template/pulls

repo: payloadcms/plugin-template


text:
Navigations color Onclick

Hi @muperdev! It doesn't do this for me - what browser are you using?
https://github.com/payloadcms/website/assets/67977755/223728ff-b895-4956-9882-d4b00ce11b88

@JessChowdhury Hi jess, mine is safari

@JessChowdhury I would like to contribute on this issue.

authors: JessChowdhury muperdev ridoystarlord

repo: payloadcms/website


text:
CI tests broken

[test]  FAIL  src/__tests__/should-forward-property.js (8.597s)
[test]   ● should forward a random react-supported html attribute
[test]
[test]     expect(received).toBeTruthy()
[test]
[test]     Expected value to be truthy, instead received

What you did:
Opened a PR which didn't touch the main library or tests.
What happened:
Build failure on non typescript tests
Reproduction:
https://travis-ci.org/paypal/glamorous/builds/244838873?utm_source=github_status&utm_medium=notification
Problem description:
The current tests are failing on master
Suggested solution:
Investigate why and fix tests/library
I should get time to look into this tomorrow if no one solves it first :).

@luke-john are you sure it's only happening on CI? If you run npm start test locally on your #438 branch, do you get the same error?
Running the tests against master passes locally

Hrm, I pulled your branch down locally and, sure enough, tests are passing. Going to restart the build to see if something funky happened..

Restarting the build fixed the problem - not sure if it was a blip, or if you force pushed at it was showing an old status? Weird..

Weird indeed. Thanks for looking into it 👍 .
Will close this issue.

authors: ajwhite luke-john

repo: paypal/glamorous


text:
feat(glamorous): add withComponent api

What: Adds withComponent function as discussed in #135

Why: for changing the underlying component that's rendered :)

How:
function withComponent(newComp, options) {
  return glamorous(newComp, {
    ...options,
    forwardProps: GlamorousComponent.forwardProps,
  })(GlamorousComponent.styles)
}

Checklist:

[x] Documentation
[x] Tests
[x] Code complete
[x] Added myself to contributors table
[ ] Followed the commit message format

Codecov Report

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

@@          Coverage Diff          @@
##           master   #159   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         138    139    +1
  Branches       35     35
=====================================
+ Hits          138    139    +1

Impacted Files
Coverage Δ

src/create-glamorous.js
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 d32bd24...c948b5f. Read the comment docs.

I really like this and saw no issues in the code, but I do have one question.
Is it possible to add more styles to the resulting component?
The example in the docs show styling a Button and then using those styles for a Link, but by default an a tag is going to have text-decoration which is not a concern for a button.
Not sure is this is meant to accomplish that since their are others means to do that such as
const buttonStyles = { ... };
const Button = glamorous.button(buttonStyles);
const Link  = glamorous.a({ ...buttonStyles, textDecoration: 'none' });

I don't think this is a blocking thing, but just wanted to raise the question.

Let's actually add that. I think that'd be really useful. I'd like to be able to do:
const buttonStyles = { ... };
const Button = glamorous.button(buttonStyles);
const Link  = Button.withComponent('a', { styles: textDecoration: 'none' });

Or what about:
const buttonStyles = { ... };
const Button = glamorous.button(buttonStyles);
const Link  = Button.withComponent('a', {/* options must be present */}, ...styles);

I like the second one better because the API is familiar, but often you wont have any options so including an empty object could be annoying...

How do you think you would handle the dynamic styles? (styles as a function, not sure the name)

I made an update to the code example above. Wouldn't complicate the implementation any further

I would go with the first example and maybe modify the API a little bit to make way for styles object inside the options one
const buttonStyles = { ... };
const Button = glamorous.button(buttonStyles);
const Link  = Button.withComponent('a', { styles: {textDecoration: 'none'}, /* options if any */ });

I don't love the interfaces of the current proposals ☹  I think that's partially why this PR is somewhat stalled - none of us are in love with it and completely sold one way or the other.
I fully understand why they are the way they are -- we need to allow for glamorous options, and styles are variadic so they must be last in the argument list, which it makes it difficult to have a simple interface.
I'm going to drop a few alternatives here while we think about this, none of which are perfect either.

withComponent as a component factory
const Link = Button.withComponent('a', { /* options */ })({ /* styles */ })

Upsides

Interface is the same as glamorous(component, options)(...styles)
Reusability by creating a factory

Downsides

Less ergonomic, as we're now curried and it makes it harder to compose a new component when you don't have additional options:const Link = Button.withComponent('a')()

withComponentOptions as an expanded interface
Support withComponentOptions additionally to withComponent
// `withComponent` interface is strictly styles
const Link = Button.withComponent('a', ...styles)

// `withComponentConfiguration` interface is options + styles
const ConfiguredLink = Button.withComponentOptions('a', options, ...styles)

Upsides

Cleaner interface - use only what you ask for

Downside

Larger API surface area - using different functions to dictate the interface

Out of these two options, I like the component factory approach more.
Out of all the proposals in this PR, I'm juggling between:

Button.withComponent('a', {/* options must be present */}, ...styles)
Button.withComponent('a', options)(...styles)

What about this:
const Button = glamorous.button({})
const Anchor = Button.withComponent('a', options)
// this is probably as much as most people want. If they want to add styles:
const MoreStyledAnchor = glamorous(Anchor)(...styles)

// want to do that in a single line?
const Anchor = glamorous(Button.withComponent('a'))(...styles)

I think I like that the most. So we don't allow you to specify more styles in the withComponent API directly. I don't expect that will be a very common use case anyway. And if you want to, it's pretty easy to just wrap it in a glamorous call.
So why don't we consider which would be the most common use case?

Button.withComponent('a', {/* options must be present */}, ...styles)
Button.withComponent('a', options)(...styles)
Button.withComponent('a', ...styles) and Button.withComponentOptions('a', options, ...styles)
Button.withComponent('a', options) with docs indicating you can rewrap that in glamorous for additional styles.

I favor option # 4 most.

I'm going to push forward with option # 4. I'll push an update to this branch.

Option 4 looks good!
Simple enough:
const MyH1 = glamorous.h1({...})
const MyH2 = glamorous(
  MyH1.withComponent('h2')
)({...})

Yep! And I expect most of the time folks wont care to alter the CSS anyway. And even if they do, there are multiple ways to do it:
const MyH1 = glamorous.h1({...})
const MyH2 = MyH1.withComponent('h2')
// this
const MyStyledH2 = glamorous(MyH2)({...})
// or
<MyH2 css={{...}} />
// or
<MyH2 className={glamor.css({...})} />

Pretty flexible :)

For some reason I couldn't edit this PR, so I opened another one that's ready for review and merge! No worries @ansumanshah, your commit is still in that one! You wont be lost in the history :)

authors: ajwhite ansumanshah codecov-io kentcdodds kwelch


text:
🛑 Departamento is down

In 401bf5e, Departamento (http://cca.unb.br/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Departamento is back up in 1706f6b after 20 minutes.


text:
Update postgresql to 42.7.0

About this PR
📦 Updates org.postgresql:postgresql from 42.6.0 to 42.7.0
📜 Changelog
Usage
✅ Please merge!
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!

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.postgresql", artifactId = "postgresql" }
}]

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

Superseded by #726.


text:
ContentTooShortError continuously in logs seems to lead to not downloading correctly

Hello,
I noticed in the docker logs:
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/scanner/downloader.py", line 110, in download
tmp_pic = self.download_image(post)
File "/usr/local/lib/python3.8/site-packages/scanner/downloader.py", line 394, in download_image
urllib.request.urlretrieve(pic_url, out_pic)
File "/usr/local/lib/python3.8/urllib/request.py", line 286, in urlretrieve
raise ContentTooShortError(
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 2931389 out of 4183105 bytes>
while investigating some folders not populating/empty folders in general. Is there a max size on the json file? Do you know what could cause this?

Hey! There shouldn't be a limit, and 4MB is not very large so I'm guessing the problem is elsewhere. I never got this error before, do you get it a lot or only on some specific pictures?

Hello, thank you for your quick inquiry! I get this error very frequently in the logs along with a few others:
Exception in thread Thread-415:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/usr/local/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fc2f434a130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 724, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='a.4cdn.org', port=80): Max retries exceeded with url: /b/thread/numbers.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc2f4206340>: Failed to establish a new connection: [Errno -5] No address associated with hostname'))

I'll try see if I can reproduce the error but could it be random internet disconnection on your side? Also do you have a lot of searches in your config file?

Actually been getting it on two 500Mb connections (moved recently). I do have a lot of searches, is there a standard way to handle that to automatically space out connections?

Ok I think we can rule out the connection drop then, maybe you could try the throttle option (last one in here)? Since you have a lot of searches you might get throttled by 4chan's server.
For the caching you could just not add the second volume: -v /anywhere/else:/root/.4scanner, it's the volume used for the image cache. If you do that anytime you destroy and recreate your container the cache should not persist
Example:
Instead of doing this:
docker run -v /can/be/anywhere:/output -v /anywhere/else:/root/.4scanner lacsap/4scanner

Try this:
docker run -v /can/be/anywhere:/output lacsap/4scanner

When when you want to remove the cache delete your container:
docker rm YOUR_CONTAINER_ID

then you can start a new container with the same command above (docker run -v /can/be/anywhere:/output lacsap/4scanner)

I tried a lot of that and it didn't resolve. Seemed to be an issue with docker desktop. I moved over to docker EE and it resolved the issues I was having. Additionally I slit up the json file into 3 different containers. I'm now getting an issue where the process just halts and doesn't continue. Do you have any idea how we can kill if no activity exists in the logs/restart the container every 15 minutes or something like that?

Ah, I run docker only on linux so I have no idea how docker desktop work :(
What do you mean by "halts", does it still scan for new threads?

halts meaning not scanning for new threads. I switched server to ubuntu and everything seems to be fine. some periodic errors for above, but it never pauses. Must have been issue with DockerEE.

halts meaning not scanning for new threads. I switched server to ubuntu and everything seems to be fine. some periodic errors for above, but it never pauses. Must have been issue with DockerEE.

That's great! closing issue

That's great! closing issue


text:
Appraisal

Figure out how to get Appraisal working with GHA

Pull Request Test Coverage Report for Build 8820965034
Details

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.523%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/sanitize_email/engine_v6.rb
2
3
66.67%

Totals

Change from base Build 8790374553:
0.0%

Covered Lines:
240

Relevant Lines:
266

💛  - Coveralls

authors: coveralls pboling


text:
FOBI has a lot of broken IRIs which makes it impossible to process

I never noticed this before, but see http://dashboard.obofoundry.org/dashboard/fobi/dashboard.html
Trying to run ROBOT (any command):
robot -vvv remove -i fobi.owl --term BFO:0000050 -o test.owl

will cause:
For details see: http://robot.obolibrary.org/errors#invalid-element-error
java.io.IOException: errors#INVALID ELEMENT ERROR "http://purl.obolibrary.org/obo/fobi.owl#FOBI:050339" contains invalid characters
	at org.obolibrary.robot.IOHelper.saveOntologyFile(IOHelper.java:1745)
	at org.obolibrary.robot.IOHelper.saveOntology(IOHelper.java:846)
	at org.obolibrary.robot.CommandLineHelper.maybeSaveOutput(CommandLineHelper.java:667)
	at org.obolibrary.robot.RemoveCommand.execute(RemoveCommand.java:156)
	at org.obolibrary.robot.CommandManager.executeCommand(CommandManager.java:244)
	at org.obolibrary.robot.CommandManager.execute(CommandManager.java:188)
	at org.obolibrary.robot.CommandManager.main(CommandManager.java:135)
	at org.obolibrary.robot.CommandLineInterface.main(CommandLineInterface.java:60)

Looking in more depth, something about these terms has to be gone wrong:
Bad FOBI IDs
FOBI:050202
FOBI:050203
FOBI:050204
FOBI:050205
FOBI:050206
FOBI:050207
FOBI:050208
FOBI:050209
FOBI:050210
FOBI:050211
FOBI:050212
FOBI:050213
FOBI:050214
FOBI:050215
FOBI:050216
FOBI:050217
FOBI:050218
FOBI:050219
FOBI:050220
FOBI:050221
FOBI:050222
FOBI:050223
FOBI:050224
FOBI:050225
FOBI:050226
FOBI:050227
FOBI:050228
FOBI:050229
FOBI:050230
FOBI:050231
FOBI:050232
FOBI:050233
FOBI:050234
FOBI:050235
FOBI:050236
FOBI:050237
FOBI:050238
FOBI:050239
FOBI:050240
FOBI:050241
FOBI:050242
FOBI:050243
FOBI:050244
FOBI:050245
FOBI:050246
FOBI:050247
FOBI:050248
FOBI:050249
FOBI:050250
FOBI:050251
FOBI:050252
FOBI:050253
FOBI:050254
FOBI:050255
FOBI:050256
FOBI:050257
FOBI:050258
FOBI:050259
FOBI:050260
FOBI:050261
FOBI:050262
FOBI:050263
FOBI:050264
FOBI:050265
FOBI:050266
FOBI:050267
FOBI:050268
FOBI:050269
FOBI:050270
FOBI:050271
FOBI:050272
FOBI:050273
FOBI:050274
FOBI:050275
FOBI:050276
FOBI:050277
FOBI:050278
FOBI:050279
FOBI:050280
FOBI:050281
FOBI:050282
FOBI:050283
FOBI:050284
FOBI:050285
FOBI:050286
FOBI:050287
FOBI:050288
FOBI:050289
FOBI:050290
FOBI:050291
FOBI:050292
FOBI:050293
FOBI:050294
FOBI:050295
FOBI:050296
FOBI:050297
FOBI:050298
FOBI:050299
FOBI:050300
FOBI:050301
FOBI:050302
FOBI:050303
FOBI:050304
FOBI:050305
FOBI:050306
FOBI:050307
FOBI:050308
FOBI:050309
FOBI:050310
FOBI:050311
FOBI:050312
FOBI:050313
FOBI:050314
FOBI:050315
FOBI:050316
FOBI:050317
FOBI:050318
FOBI:050319
FOBI:050320
FOBI:050321
FOBI:050322
FOBI:050323
FOBI:050324
FOBI:050325
FOBI:050326
FOBI:050327
FOBI:050328
FOBI:050329
FOBI:050330
FOBI:050331
FOBI:050332
FOBI:050333
FOBI:050334
FOBI:050335
FOBI:050336
FOBI:050337
FOBI:050338
FOBI:050339
FOBI:050202
FOBI:050203
FOBI:050204
FOBI:050205
FOBI:050206
FOBI:050207
FOBI:050208
FOBI:050209
FOBI:050210
FOBI:050211
FOBI:050212
FOBI:050213
FOBI:050214
FOBI:050215
FOBI:050216
FOBI:050217
FOBI:050218
FOBI:050219
FOBI:050220
FOBI:050221
FOBI:050222
FOBI:050223
FOBI:050224
FOBI:050225
FOBI:050226
FOBI:050227
FOBI:050228
FOBI:050229
FOBI:050230
FOBI:050231
FOBI:050232
FOBI:050233
FOBI:050234
FOBI:050235
FOBI:050236
FOBI:050237
FOBI:050238
FOBI:050239
FOBI:050240
FOBI:050241
FOBI:050242
FOBI:050243
FOBI:050244
FOBI:050245
FOBI:050246
FOBI:050247
FOBI:050248
FOBI:050249
FOBI:050250
FOBI:050251
FOBI:050252
FOBI:050253
FOBI:050254
FOBI:050255
FOBI:050256
FOBI:050257
FOBI:050258
FOBI:050259
FOBI:050260
FOBI:050261
FOBI:050262
FOBI:050263
FOBI:050264
FOBI:050265
FOBI:050266
FOBI:050267
FOBI:050268
FOBI:050269
FOBI:050270
FOBI:050271
FOBI:050272
FOBI:050273
FOBI:050274
FOBI:050275
FOBI:050276
FOBI:050277
FOBI:050278
FOBI:050279
FOBI:050280
FOBI:050281
FOBI:050282
FOBI:050283
FOBI:050284
FOBI:050285
FOBI:050286
FOBI:050287
FOBI:050288
FOBI:050289
FOBI:050290
FOBI:050291
FOBI:050292
FOBI:050293
FOBI:050294
FOBI:050295
FOBI:050296
FOBI:050297
FOBI:050298
FOBI:050299
FOBI:050300
FOBI:050301
FOBI:050302
FOBI:050303
FOBI:050304
FOBI:050305
FOBI:050306
FOBI:050307
FOBI:050308
FOBI:050309
FOBI:050310
FOBI:050311
FOBI:050312
FOBI:050313
FOBI:050314
FOBI:050315
FOBI:050316
FOBI:050317
FOBI:050318
FOBI:050319
FOBI:050320
FOBI:050321
FOBI:050322
FOBI:050323
FOBI:050324
FOBI:050325
FOBI:050326
FOBI:050327
FOBI:050328
FOBI:050329
FOBI:050330
FOBI:050331
FOBI:050332
FOBI:050333
FOBI:050334
FOBI:050335
FOBI:050336
FOBI:050337
FOBI:050338
FOBI:050339

In functional syntax this becomes more clear:
Bad FOBI IRIs
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())
Declaration(Class())

cc @ddooley

Pol, let me know if you need a hand in resolving this. To match OBOFoundry ID pattern, all FOBI ids should look like:
http://purl.obolibrary.org/obo/FOBI_050339
rather than:
http://purl.obolibrary.org/obo/fobi.owl#FOBI:050339

it looks like it snuck into your FOBI minted biomarkers branch, about 225 terms:

I think the fix requires two search and replace operations that can be done on the src/ontology/fobi-edit.owl text file I guess, and then regenerate fobi.owl .  Note both FOBI:1234567 and FOBI_1234567 patterns exist
http://purl.obolibrary.org/obo/fobi.owl#FOBI: --> http://purl.obolibrary.org/obo/FOBI_
and
http://purl.obolibrary.org/obo/fobi.owl#FOBI_ --> http://purl.obolibrary.org/obo/FOBI_

I have fixed this annotation in fobi.owl on my computer; just awaiting the ok to upload that to github.

Thanks a lot @ddooley. Please, upload the changes to GitHub when it's OK for you. It's definitely OK for me:)

Fix uploaded.  Hopefully that helps get it into the OBO Foundry control panel stats.

Thank you so much @ddooley!

authors: ddooley matentzn pcastellanoescuder


text:
Error with connection to GitHub Proxy

Expected Behavior

Reported by @koglin. Looks like we couldn't find the psproxy connection to the outside world.
https://pswww.slac.stanford.edu/apps/portal/index.php?exper_id=794&app=elog:search&params=message:386981

Closing as it is an old issue

authors: ZLLentz teddyrendahl

repo: pcdshub/Bug-Reports


text:
Feature -- Mobile/Popular Repos

[ ] Feature/mobile/popular-repos

[ ] HTML

[ ] Create a container element within body

[ ] List out
 called Popular repositories

[ ] Use
s to create names for Repositories, 5 needed total

[ ] Title should include ocotocat/ as well as a repo name (i.e. Hello-World)

[ ] Titles need to include urls so that they can be clicked, and repo can be accessed

[ ] Assign a star value for each
 element

[ ] CSS

[ ] Create a lightgrey border for entire container as well as around
 and
s

[ ] Bold "Popular repositories"

[ ] Remove bullet points next to
s

[ ] Repo color, dark blue without underline

[ ] Add image of Repo to left of

[ ] Get
s to have a width of almost whole screen width, with small gutters

[ ] Position star rating to right

[ ] Add start image after star rating (darkgrey)

repo: pcreglow/TIY-Github


text:
No horizontal scrolling for selected 'PTT User Accounts' in Create Modify Contact List.(Company Panel)

Describe the bug
No horizontal scrolling for selected 'PTT User Accounts' in Create Modify Contact List.(see the attached screenshots)
To Reproduce
Steps to reproduce the behavior:
1.Enter in the address bar-pulseptt.com
2.Login With Id and Password.
UserName-tata
Password-12345678
3.Click On 'Modify Contact List' .
Expected behavior
horizontal scrolling for selected 'PTT User Accounts' in Modify Contact List must be present.
Desktop (please complete the following information):
OS: Windows 10
Browser: Version 100.0.4896.60 (Official Build) (64-bit)
Version: [0.4.1.1]

clicking on 'Select Contact-List' or 'PTT User Accounts' page turns into Blank.


text:
RTX 3050 drivers not detected

Hi,
Is there a way to make the drivers working? The main problem is that everything works with the videocard but my GPU fans are not running, even when the card is 90c.

Running on proxmox and PCI is passing through.

PS: Its running on DS923+.

Nevermind, everything is working. Fan issue was the videocard.


text:
希望补充一下文档或者示例，我想设置缩放比例，还有自定义列表

希望补充一下文档或者示例，我想设置缩放比例，还有自定义列表

还有如果只要个定位，不需要地图的话怎么做呢？跟其他amap插件冲突

还有如果只要个定位，不需要地图的话怎么做呢？跟其他amap插件冲突

不需要展示地图，只需单个定位功能现已开放：定位服务核心功能


text:
[Bug] 软件启动就报错了，提示有错误都打不开

下面是日志 windwos10 家庭版
2024-12-03 17:44:57:886 [ERROR] System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.UnauthorizedAccessException: 尝试执行未经授权的操作。
在 Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
在 Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
在 FreeControl.Utils.SysEnvironment.SetSysEnvironment(String name, String strValue)
在 FreeControl.Utils.SysEnvironment.SetPathAfter(String strHome)
在 FreeControl.Utils.ADB.AddEnvironmentPath(String path)
在 FreeControl.Main.InitPdone()
在 FreeControl.Main..ctor()
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 FreeControl.Utils.Singleton1.get_Instance()    在 FreeControl.Program.Main() 2024-12-03 17:45:10:279 [ERROR] System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.UnauthorizedAccessException: 尝试执行未经授权的操作。    在 Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)    在 Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)    在 FreeControl.Utils.SysEnvironment.SetPathAfter(String strHome)    在 FreeControl.Main.InitPdone()    在 FreeControl.Main..ctor()    --- 内部异常堆栈跟踪的结尾 ---    在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)    在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)    在 System.Activator.CreateInstance(Type type, Boolean nonPublic)    在 FreeControl.Utils.Singleton1.get_Instance()
在 FreeControl.Program.Main()

试试管理员身份启动

尝试了以管理员身份启动也会报同样的错误
闫万松
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2024年12月4日(星期三) 上午10:48
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [pdone/FreeControl] [Bug] 软件启动就报错了，提示有错误都打不开 (Issue #120)
试试管理员身份启动
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

尝试了使用管理员身份启动还是不行，应该是写入注册表的权限问题，请问有什么需要写入注册表我手动写入可以吗？

authors: pdone yanwansong

repo: pdone/FreeControl


text:
🛑 Garage App API is down

In 5db04bb, Garage App API ($GARAGE_API_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Garage App API is back up in a525091 after 11 minutes.

repo: pdroll/upptime


text:
PDS4 Information Model Release 1.19.0.0

Automated tagging of repo for nominal release of sub-model for PDS4 Release 1.19.0.0

I added 1.16 to the pds4_versions.txt, and the test ran again.
Everything now looks fine to merge.

authors: matthewtiscareno pds-ops

repo: pds-data-dictionaries/ldd-rings


text:
about traceDataSend

hi team:
我阅读代码，发现发送追踪数据的时候，是通过这种方式， 当创建span的时候去定时，发送数据的，这样怎么去确认是不是数据收集完整了呢

之前一直使用cls模块来判断请求结束，即HANDLE_RETENTION===0的时候，但是在测试中发现了BUG，所以目前没法判断某个请求什么时候 能结束,只能通过设置请求超时时间，默认30s，即30s之后会将收集到的数据发送给collector，当超过30s，会被agent认为请求超时，增加超时信息，返回给collecoter

为什么不在http模块收到request和发送response的时候来做span的开始和结束?

这样做只能实现http请求的trace，而对于其他插件无法通用

对于判断trace的开始和结束,本来就没有通用的办法.这是由代码的逻辑决定的,不同的协议的开始和结束的判断怎么能通用呢.实际的情况是,http的接受和发送作为开始和结束占了大部分业务逻辑的半数情况.
请问一下,您研究过newRelic的实现吗?我大概过了一眼,它是对http做了单独处理的.
还请问一下现在这个插件能正确的获取http处理的实际响应时间吗?这个是我最关心的功能.

可能理解的点不同，我指的通用是基础的监控数据的生成和发送对于所有协议来说应该是通用的，而不同协议的监控数据采集由协议定的，所以会有业务方自己开发插件来实现

请问一下,您研究过newRelic的实现吗?我大概过了一眼,它是对http做了单独处理的
如newRelic，zipkin-js等对于不同的模块都是单独处理的，pinpoint-node-agent实际上不同模块也是需要开发不同插件来实现的

还请问一下现在这个插件能正确的获取http处理的实际响应时间吗?这个是我最关心的功能.
能正确处理

authors: jiaojiaojiao jiaqifeng peaksnail

repo: peaksnail/pinpoint-node-agent


text:
🛑 najim is down

In 4206d14, najim (https://najimfoundation.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: najim is back up in 0c7a75a.

repo: pearanalytics/uptime


text:
Default to Number Keyboard

On iOS (maybe android too), when clicking in the number field for the slider, the default keyboard appears instead of a number keyboard.

That would only be an issue if you want to allow fractions. Maybe the keyboard selection could be a config property.

repo: pebble/clay


text:
Configure status layer colors

Allow the status layer's foreground and background colors to be configured.

Not clear why the build failed for 3.7, but passed for 2.9 and 3.8.

Hmm, yes, that failure is strange. I have actually implemented as part of my WIP branch to add Chalk support. You can see a similar commit here: https://github.com/pebble/pebblejs/commit/8fac33b538e8df29e6c5650bb4f0b3f1bd2a1c6f
Our implementations are similar, except I have created a separate packet to encourage changing the color on the fly, requiring less bytes. On the flip side, there are larger costs when switching between windows, which is actually the more common use case. A window with no status bar and no action bar however would also use less bytes. In any case I'm willing to pay the costs for maintainability since each bar is handled separately.
It will still take me a bit to merge https://github.com/pebble/pebblejs/tree/feature-chalk-wip into master (maybe this weekend!) so let me know what you think should happen with this PR.

Hmm.. I could see the utility of being able to change the status bar colors on the fly for notification purposes.   However, I worry about 'flashing' if the default status bar colors were to display briefly before I was able to use the separate api to change them after the screen transition. My use case is actually a desire to change the status bar color everywhere in the app for 'branding' purposes.  My solution still requires setting the status bar color with every screen transition. Maybe a separate 'global props' packet that sets the status bar (and maybe even the menu color themes) globally for the app would be better?

Ah, I wrote the underlying packet protocol to take care of this -- packets generated in the same JavaScript process tick are sent as a single group and are not processed until they are received in entirety, and usually it only takes up a single Bluetooth packet. That's actually what the 0th command number represents, a multi-packet packet. With this set up, multiple changes that need to occur synchronously on the watch can be written as separate packets, allowing you leverage the synchronous behavior along with being able to mix which packets you would like.
It's why the Menu in the demo app doesn't flash when it loads even though each item, the menu, and the window properties are all separate.

Hmm.. so, maybe your solution would be fine?  Still, I imagine it would be kind of nice for other developers to set menu and status colors once on startup for 'branding' rather than for every screen.  Should I create a pull request for that?

I can explain the underlying protocol more clearly if you like. It would be very concerning if such a pattern didn't work since it would degrade much of the functionality of Pebble.js, especially menus.
Hmm, you have an interesting idea of setting colors once, but I think something like that is for the user to handle. Having a global default for status bar may beg other values to have global defaults, such as text color.  A construct like that would also give preference to having a single style. Some apps can have two or more themes. Pebble firmware 3.0's settings is an example of an app with a dark and light theme.
In the mean time, you can create a function that creates or supplements the values that are passed to the window constructors, or create a function that styles a window accordingly after construction before it is shown.
// myStyler takes an initializer
var card = new UI.Card(myStyler({ ... }));

// or myStyler takes properties (same format as initializer)
var card = new UI.Card({ ... });
card.prop(myStyler({ ... }));

// or myStyler operates on the card
var card = new UI.Card({ ... });
myStyler(card);
card.show();

You could even wrap new UI.Card completely.
With that said, I don't think styles are a bad idea outright. I think it would be interesting to have an HTML/CSS-like language in the future, and that would solve all the issues above (although maybe introducing others).

When do you plan to a) merge your WIP changes into the master, and b) push a new release?

It's merged into master now, sorry for the long wait. Pebble.js development is actually not officially supported, only its integration with CloudPebble is supported.
I was a little weary of pushing that many changes to master (it completely changes how action bars and status bars work to fix the bugginess on 3.0), but that's actually the best way to get it tested, so I'll be less hesitant in the future.
For all the changes to be released on CloudPebble, I will need to create a PR with updated documentation to be merged once the new version is live on CloudPebble. This should give enough time for people to test master.
To use color in the status bar, status is now a nested property similar to action:
var card = new UI.Card({
  status: {
    separator: 'dotted', // 'dotted' or 'none'
    color: 'red', // separator and text color
    backgroundColor: 'white',
  },
});

I went with color instead of textColor since it specifies both the separator and text color, and theoretically the icon and pagination if that ever gets implemented/added to the base SDK.

Great.. thx.  Will fetch and take a look at it in the next few days.  This pull request is moot, right?

Yes, unless you have concerns with the API. I usually let the creator of a ticket/PR close the issue to know that it really is closed. Once again I'm really sorry about the whole issue of multiple independent implementations, it happens a lot with this kind of project. To prevent this from happening again, you can reach me on the pebbledev slack.

authors: Meiguro llamahunter

repo: pebble/pebblejs


text:
Ejercicio 4 y corrección de sage de ejercicios anteriores

No sé exactamente como implementar en sage un código para comprobar el resultado del ejercicio 4 apartado b

Lo miro. Gracias.

authors: MrRiversGit pedritomelenas

repo: pedritomelenas/Algebra-Lineal


text:
Lag in screen mirroring

Hi dear,
I am using RtspServerDisplay class for mirroring the surface of my Android device. when I start mirroring it, there is a lag (usually 3 seconds or more) showing my device's surface on Tv. I use Exoplayer for playing the stream. is there any way to fix it?

Yes, I mean delay. Thank you for helping me. Is there any way to reduce the delay of the Media Projection class?

Hello,
No, but the delay is less than 1 second. I tested using this command instead of Exoplayer:
ffplay -fflags nobuffer rtsp://192.168.0.158:1935/

With this command the delay is around 1s. I started a chronometer at same time in my PC and the phone and this is the delay result:

As you can see the delay is around 740ms

Thank you. I reduced the delay in Exoplayer by the link you gave me. At first, it works well, but after a few minutes, the time of delay goes up. Do you have any idea about it?  Do you think Exoplayer is a good tool for mirroring  RTSP streams?

Hello,

Do you have any idea about it?

I'm not sure about it, You can try use UDP instead of TCP to reduce the delay and check if this solve the problem because UDP just drop packets instead of add delay if you have any problem sending it. You should do it in player side because if you use UDP or TCP is player decision. You can try both cases (TCP and UDP):
https://github.com/google/ExoPlayer/issues/9151#issuecomment-874159111
Anyway, I recommend you ask in Exoplayer project about it and they can guide you more.

Do you think Exoplayer is a good tool for screen mirroring ?

No, exoplayer no aim to be a low delay player. You can check that one of the contributor said that:
https://github.com/google/ExoPlayer/issues/10694#issuecomment-1283809498
But I don't know a RTSP player designed for low delay. Usually all players add buffering.


text:
Problems with audio

I'm trying to make a livestream with youtube, but the audio quality is poor and noisy.
if (rtmpCamera1.prepareVideo(size[0], size[1], 30, 2500 * 1024, false, 0) &&
rtmpCamera1.prepareAudio(128 * 1024, 44100, false, false, true)){
rtmpCamera1.startStream(RTMP);
}
Can someone help me?

Increment audio bitrate and use stereo:
rtmpCamera1.prepareAudio(256 * 1024, 44100, true, false, true)

I performed the change. but the problem continues. But what can I do to improve the audio?

Try without noise suppressor, Maybe is not working good for you:
rtmpCamera1.prepareAudio(256 * 1024, 44100, true, false, false)

If the problem persist you can try find your own valid configuration modifying this class:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/audio/MicrophoneManager.java
I recommend you see if you can solve it with a different buffer size or using the secondary microphone.
Also make sure that it isn't a device problem, you can do a video with the default camera app to know it.

Thank you, it worked.


text:
Allow video only mode in RtspCamera2

Hi Pedro, at first I would like to thank you for the great library! It makes our lives easier ❤
The current RtspCamera2 version does not allow to enable video only mode and the only way to achieve it is to implement your own Camera2Base. I don't see any reason why this couldn't be added so hence my PR.
Tell me what do you think.

Hello,
Camera1 and Camera2 already support stream only video if you skip call prepareAudio that disable audio in encoder module.
With your line you disable audio in rtsp module level but microphone is still in use.
I think that the best way is add this PR and document it in the wiki to avoid confusions (ideally you should disable audio in both).
Also, one thing before merge. Please, add this method to RtmpCamera1, RtspCamera1 and RtmpCamera2 to keep all consistent.
After that, I will create an entry in wiki and merge this PR

I added setOnlyVideo to all cameras.

already support stream only video if you skip call prepareAudio

Even if I skip prepareAudio and call disableAudio, RtspClient still configures audio track.

I added setOnlyVideo to all cameras.

already support stream only video if you skip call prepareAudio

Even if I skip prepareAudio and call disableAudio, RtspClient still configures audio track.

Yes, because it is disabled only in encoder module so rtsp or rtmp module still send audio track using default audio config. For this reason I told you this:

With your line you disable audio in rtsp module level but microphone is still in use.
I think that the best way is add this PR and document it in the wiki to avoid confusions (ideally you should disable audio in both).

So this is the proper way to do it:
//disable audio in rtmp module to avoid send/configure audio track
rtmpCamera2.setOnlyVideo(true);
//skip prepareAudio to disable audio in encoder module (avoid create/use AudioRecord and AudioEncoder)
if (rtmpCamera2.prepareVideo()) {
  rtmpCamera2.startStream(endpoint);
}

In the future I will implement other way to do it easier to understand

Maybe this is a better solution (it is a git .patch):
onlyVideoPatch.zip
What do you think about it? With this if you skip prepareAudio the effect is the same that the code above.

Maybe this is a better solution (it is a git .patch):

I think it's much better, end user doesn't need to care about RTSP client configuration details 💪

I added this change in this commit:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/commit/0b14cad9e4ee5eb3743550060fb8b47c6aaf29a0
Closing PR because this commit solve the problem. Thank you for your time

Great, thanks!


text:
Fix tokenize errors caused by missing posTag categories, add more robust tokenize testing

This PR fixes issues while tokenizing some sentences, which were caused by the jisho_api/tokenize/cfg.py file not containing some word categories that were returned by Jisho. It thus closes #4 .
The missing categories were added, and the class was modified so it sets the word type of any future unexpected values as "unknown" and informing the user instead of crashing.
It also introduces some new testing for the tokenize function. This testing is based on a random subset of real japanese sentences from the tatoeba data set. Tatoeba was added as a dev dependency because of this.
For this testing to work, the python requirement had to be bumped from 3.6.1 to 3.7.1 .

This is amazing, thanks for the quality of delivery!

Would it be possible for you to update the version of this library that's hosted in PIP? The the bug is still not fixed there as the version hosted there is still at f636e0e54231bcf0c596d3e03f81fb68e4c77b58

repo: pedroallenrevez/jisho-api


text:
🛑 Beyond.pl is down

In b6e58f3, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 403
Response time: 1206 ms

Resolved: Beyond.pl is back up in f2c441a after 18 minutes.

repo: pejotes/upptime


text:
🛑 Beyond.pl is down

In a2e9994, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 403
Response time: 4258 ms

Resolved: Beyond.pl is back up in ebc4321 after 19 minutes.


text:
🛑 Beyond.pl is down

In 18599ef, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 403
Response time: 423 ms

Resolved: Beyond.pl is back up in 1c00e15 after 18 minutes.


text:
🛑 Dinas Pengendalian Penduduk dan Keluarga Berencana is down

In b1c58c4, Dinas Pengendalian Penduduk dan Keluarga Berencana (https://dppkb.bekasikota.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dinas Pengendalian Penduduk dan Keluarga Berencana is back up in 5c88a63.

repo: pemkotbekasi/website-status


text:
Add text to the Withdraw screen

Context
This ticket is to add text to make the user informed about upcoming errors or steps
Requirement

"Please dont change amount on offramp UI, changing would lead to error"
If first time user, show text "KYC needed, keep your documents ready"

Not relevant closing

repo: pendulum-chain/vortex


text:
do_chains now does the chains -- taken out of main

This code removed from main, now loadable in other contexts:
def do_chains(n_iters = 2000, best_penalty = .05, sample_obs = False, n_chains = 8):
    tuples_for_starmap = [(i, n_iters, best_penalty, 0, sample_obs) for i in range(n_chains)]
    # get the final answer based on the best penalty
    pool = mp.Pool(mp.cpu_count())
    chains = pool.starmap(chain, tuples_for_starmap)
    pool.close()
    df = pd.concat(chains, ignore_index=True)
    return df

Closing this because it was handled when mergining bayesmethod_xval


text:
[PDI-14375] - Incorrect time displayed in Version History after some operations with transformation/jobs in the DI repository

clear "createdDate" on renaming to force the repository to inject current time
update tests to check this condition

@mattyb149, @brosander, review it please

Changed files:
plugins/pdi-pur-plugin/src/org/pentaho/di/repository/pur/PurRepository.java
plugins/pdi-pur-plugin/test/org/pentaho/di/repository/pur/PurRepository_MoveAndRename_IT.java
Checkstyle violations:
Errors:File plugins/pdi-pur-plugin/src/org/pentaho/di/repository/pur/PurRepository.java

Message: File length is 2,870 lines (max allowed is 2,000). at Line: 1 Column: None

Unit test coverage change:
org.pentaho.di.repository.pur.PurRepository:

instructionPercentCoverageChange :-0.00%

Integration test coverage change:
org.pentaho.di.repository.pur.PurRepository:

instructionPercentCoverageChange : +0.01%

Changed files:
plugins/pdi-pur-plugin/src/org/pentaho/di/repository/pur/PurRepository.java
plugins/pdi-pur-plugin/test/org/pentaho/di/repository/pur/PurRepository_MoveAndRename_IT.java
Checkstyle violations:
Errors:File plugins/pdi-pur-plugin/src/org/pentaho/di/repository/pur/PurRepository.java

Message: File length is 2,870 lines (max allowed is 2,000). at Line: 1 Column: None

Unit test coverage change:
org.pentaho.di.repository.pur.PurRepository:

instructionPercentCoverageChange :-0.00%

Integration test coverage change:
org.pentaho.di.repository.pur.PurRepository:

instructionPercentCoverageChange : +0.01%

authors: akhayrutdinov brosander

repo: pentaho/pentaho-kettle


text:
[BACKLOG-35847] Add a new metadata discovery category to pdi

The Metadata Discovery step added to kettle-steps.xml is necessary since a category will only appear in the design tab of a transformation if there is a step as part of that category. This added step piggybacks off of the existing Dummy step and will require removal once the first real Metadata Discovery step is implemented.

:white_check_mark: Build finished in 19m 10s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:exclamation: No tests found!
:information_source:  This is an automatic message

authors: buildguy ddiroma


text:
[PDI-19290]- Added Validation checks for "Nr. of packets to send"

Added validation for nr. of packets to send .
In UI,Entering Any non-numeric value (and negative integers)
will show a message asking user to enter numeric values or positive numbers.
Incase, if a kjb/ktr already has non-numeric value (and negative integers) ,value will be replaced with
2 during runtime and user will be notified about this replacement in logs.

:white_check_mark: Build finished in 31m 59s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 2243, Failures: 0, Skipped: 4    Test Results

:information_source:  This is an automatic message


text:
renamed the artifact name from

pentaho-streaming-kafka-plugin-zip to pentaho-streaming-kafka-plugin

:white_check_mark: Build finished in 8m 56s
Build command:
mvn clean verify -B -e -Daudit -amd -pl assemblies/plugins

:exclamation: No tests found!
:information_source:  This is an automatic message


text:
[BACKLOG-5864] - REG: PMR: Reducer fails on the client due to job running.

Changed dependecy for swt.* packages to optional (in case these bundles are trying to start on cluster without UI)
Moved ui discoverFields metods into dialog classes.

Should be merged with https://github.com/pentaho/big-data-plugin/pull/589

@brosander @hudak Could you please take a look?

Build Commands:
Build:

rm -r ~/.kettle; rm -r ~/.pentaho; echo removed hidden folders
mvn -fn -DrunITs=true -f pom.xml clean install && mvn -Dpentaho-coding-standards.version=1.0.1 -f pom.xml site

Cleanup:
mvn build-helper:remove-project-artifact
Changed files:
pom.xml
src/main/java/org/pentaho/di/trans/steps/mongodbinput/MongoDbInputData.java
src/main/java/org/pentaho/di/ui/trans/steps/mongodbinput/MongoDbInputDialog.java
src/main/java/org/pentaho/di/ui/trans/steps/mongodbinput/models/MongoDbModel.java
src/test/java/org/pentaho/di/trans/steps/mongodbinput/MongoDbInputDataTest.java
Unit test coverage change:
org.pentaho.di.trans.steps.mongodbinput.MongoDbInputData:

instructionPercentCoverageChange :-1.56%
branchPercentCoverageChange :-2.16%
linePercentCoverageChange :-1.11%
complexityPercentCoverageChange :-2.65%

org.pentaho.di.trans.steps.mongodboutput.MongoDbOutputMeta:

branchPercentCoverageChange : +0.93%
linePercentCoverageChange :-0.34%

org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog:

branchPercentCoverage :5.33%
instructionPercentCoverageChange : +2.49%
linePercentCoverageChange : +3.48%
complexityPercentCoverageChange : +6.00%
methodPercentCoverageChange : +7.95%

org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.new DiscoverFieldsCallback() {...}:

branchPercentCoverage :50.00%
linePercentCoverage :83.33%
methodPercentCoverage :100.00%
complexityPercentCoverage :75.00%
instructionPercentCoverage :69.23%

authors: lucboudreau stepanovdg

repo: pentaho/pentaho-mongodb-plugin


text:
added toggle_qset param; qset.show toggles display of either question…

… page or organization page

to test this, in the console:

bundle exec rails console
qset = Qset.find(1)        access root qset
qset.settings(:permissions).toggle_qsets       this shows what the current toggle_qset value is
qset.settings(:permissions).toggle_qsets = 'questions'      this sets it to questions
or
qset.settings(:permissions).toggle_qsets = 'qset'       this sets it to qset and should show organizationpage
refresh browser and see if it changes view properly

To pull and test locally (so you can test toggling the parameter in the console):

To pull and test locally (so you can test toggling the parameter in the console):
git checkout -b rckim77-qset_toggle_settings master
git pull https://github.com/rckim77/askup.git qset_toggle_settings

@rckim77 ok, works well! I tested it locally. I have put some comments in there, a little more work to do, let me know when to look at it next.

Looks good. I think I'm going to hold off on merging this because I have a concern that this code maybe shouldn't go directly to production just yet -- we might want to 'release it' along with the UI portion. Why don't you push one more commit with the clarifications requested just now, then use that branch as the basis for the UI branch you were going to work on next. When we have both pieces, we'll merge to master! Great work!
We should probably talk about the concept of 'releases' and release branches this week too -- talking to myself here.

Closing -- superseded by #71, which includes these commits and expands upon them.

repo: penzance/askup


text:
To much used item box

if u have more same items they will show in separate box, not in 1 box with x22 redline
and float / stickers view .

Not a bug, also not adding floats & stickers.

authors: fortza pepzwee

repo: pepzwee/node-csgo-web-tradebot


text:
In lambdas with generic variable, [type]toIndex is not reverted

Sorry if this is reported already, but I couldn't find it at least. Also the dialog told me to report this problem.
Example:
interface TFunc<T>
    abstract function run(T t)

function runFunc(TFunc<bool> func)
    func.run(false)

init
    runFunc( (bool b) -> begin
    end )

Gives error when compiling from WE. Doesn't give one when I use Run from Eclipse, but throws to main menu (guess no PJass check there?).
function dispatch_TFunc_run takes integer this, integer t returns nothing
    call closure_impl(this, t) // cannot convert integer to boolean
endfunction

function runFunc takes integer func returns nothing
    call dispatch_TFunc_run(func, booleanToIndex(false)) // boolean is converted to integer
endfunction

It's a bug, but fixing this is not so easy at the moment. I am planning to rewrite the handling of generics some time, which would also fix this case.
If you need this for something important, I could add a quick and dirty workaround, but I would prefer to have a clean solution some time, as there are some other problems with the toIndex and fromIndex functions.

Nah I'd rather have the clean solution, so I'm open to waiting. Thanks for acknowledging this.

I'd actually like the quick and dirty workaround, sorry I didn't know the time scope was months...

I'll probably have some time to look at it this week or on the weekend.

@peq any progress on this?

Seems to be fixed by some other change

authors: BlueSaint Cokemonkey11 peq

repo: peq/WurstScript


text:
Convenience additions to SQL handling

If only one connection is defined, preselect that connection in the SQL tab

When opening a new SQL tab
When defining the first connection

Add checkboxes for Connection Wizard

for SQL server: integratedsecurity=true, applicationIntent=ReadOnly | ReadWrite
for Postgres: sslmode= disable | allow | prefer | require | verify-ca | verify-full

Add support for file and mem based h2 connections in Connection Wizard

add checkbox for ACCESS_MODE_DATA=r

Add Support for Oracle in Connection Wizard

fixed in 8752acd

repo: perNyfelt/ride


text:
Configs -> Properties

Each processor should have a fixed way of getting Configs inserted
Those configs should also have Verification and a Required functionality
THe proposal is using an Properties map which is map[ßtring]interface to handle that
Each processor then has to handle its own Reflection to read the connfigs
Properties should be added by Processor.AddProperty(name,value)
Verificatino should be done by Processor.RequiredPropertiesFullfilled() (error,[]unfullfilledprop)

Done

repo: percybolmer/workflow


text:
12-Factor workshop in Dotnet

I will move the script link after merging.

initial commit

authors: mosmabro perima


text:
Create a dedicated support resource for questions etc

There seems to be some support from core team for using Discourse for this in this thread:
https://groups.google.com/forum/#!searchin/camlistore/discourse|sort:date/camlistore/ra8HSQcQeIU/3v9yfxM9AAAJ
@lindner also mentioned (in 2018-02-21 IRC sync) that there is some mailinglist <-> Discourse bridging functionality available, which might help address concerns of team members that don't want to have to leave their email clients to respond to support requests.
If no one else wants to, and it's just down person-hours, I'm willing and able to set up an infra VPS node to run discourse and future infra services.

I was not particularly in favor of moving the mailing-list functionality to Discourse, but if Discourse allows us to have an, easily searchable, central point of important questions then it's another story. Especially if it takes the load of some of the questions from the issue tracker, so we can keep it strictly about bugs/docs/features.

authors: edrex mpl

repo: perkeep/perkeep


text:
Misprint in 'part BLOCK LIST' in POD

In POD,
http://search.cpan.org/~rehsack/List-MoreUtils-0.426/lib/List/MoreUtils.pm#part_BLOCK_LIST

Negative values are only ok when they refer to a partition previously created:
  my @idx  = ( 0, 1, -1 );
  my $i    = 0;
  my @part = part { $idx[$++ % 3] } 1 .. 8; # [1, 4, 7], [2, 3, 5, 6, 8]

Is $++ a misprint of $i++ ?
https://github.com/perl5-utils/List-MoreUtils/blob/master/lib/List/MoreUtils.pm#L575

Seems to be fixed without mentioning this issue

authors: commojun rehsack


text:
Convert wishlist items to github issues

Sounds familiar, right?
I've found another list: https://github.com/perl6/doc#wishlist-stuff

#1086
#1087
#1088

There is one item left in that wishlist section, but it's a wishlist item for Rakudo, not us.

authors: AlexDaniel coke


text:
'react' isn't findable

https://irclog.perlgeek.de/perl6/2017-08-14#i_15014533

But it is: Search for 'react' finds it under "Reference" as the first hit in that section.

Tagging @lizmat

This issue is possibly related: https://github.com/perl6/doc/issues/1108.
The matched part is already highlighted with bold, but when I tried searching for “react” it felt like it is not enough (I couldn't easily see it in the list even though it was bold).

authors: AlexDaniel coke rafaelschipiura


text:
How to use it?

Could you provide some information about what arguments you need to pass to get this working?

Good question, haven't used it myself since forever... but looking at https://github.com/perliedman/terrain-obj/blob/master/cli.js, it looks like the args should be:
[path to hgt dir] [south] [west] [north] [east] [proj.4 def]
That is, you provide the path to a directory of HGT files, the bounding box coordinates in some projection, and finally the definition of the projection itself.
If you don't know what projection to use, you can look at https://github.com/perliedman/local-proj, which can find a projection given a latitude and longitude.

First of all, thank you for your help. However, if I run
node cli.js C:\Users\malte\Desktop\HGTFiles 47 12 48 13 WGS84
it says
# Projection: undefined
# Bounds: [[12.000000000000002,47],[13,48.00000000000001]]
# Projected bounds: [[12.000000000000002,47],[13,48.00000000000001]]
# 3601 rows, 3601 cols
# 12967201 vertices

and all I get is a bunch of new HGT files whose filenames do not match the bounding box, such as "N44E006.hgt". Originally, I only had "N47E012.hgt" in the HGTFiles directory.

authors: malte-v perliedman

repo: perliedman/terrain-obj

license: ISC


text:
ResumeParser.parseResumeFile is not a function

 ResumeParser.parseResumeFile(       "./resumes/coolfreecv_resume_en_01.doc",       "./resumes/compiled"     )       .then((file) => {         console.log("Yay! " + file);         result.message = file;         result.success = true;         // fs.unlink(inputPath + fileName);       })       .catch((error) => {         result.message = error;         result.success = false;         console.error(error);       });

Just change the parseResume to parseResumeFile in the index.js

I believe the repository code has this fixed, but the latest repo code hasn't been published to npm.

repo: perminder-klair/resume-parser


text:
Update cats-effect to 3.2.0

Updates org.typelevel:cats-effect from 3.0.2 to 3.2.0.
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.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-minor

Codecov Report

Merging #270 (195796d) into master (87310ce) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   43.72%   43.72%
=======================================
  Files          25       25
  Lines         263      263
  Branches        6        6
=======================================
  Hits          115      115
  Misses        148      148

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 87310ce...195796d. Read the comment docs.

Superseded by #271.

authors: codecov-commenter scala-steward


text:
Added MoveFromMouth Actions

Description
In service of #53 . At the end of transfer, the robot is colliding with the wheelchair collision mesh. Therefore, the actions that take the robot from that position to above the plate or the resting position need to toggle that mesh off.
These actions for now execute the entire motion with the mesh toggled off. However, in the future we should consider only executing an initial part of the motion (e.g., move back to the staging location) with the mesh off, then re-enable it, and then complete the rest of the motion, for increased safety.
Testing procedure
Pull the code from ada_ros2#12.

[x] On the real robot, call MoveToMouth as documented in #42 .
[x] Run ros2 action send_goal /MoveAbovePlate ada_feeding_msgs/action/MoveTo "{}" --feedback and verify that it fails.
[x] Run ros2 action send_goal /MoveFromMouthToAbovePlate ada_feeding_msgs/action/MoveTo "{}" --feedback and verify that it succeeds.
[x] Run ros2 action send_goal /MoveToRestingPosition ada_feeding_msgs/action/MoveTo "{}" --feedback and verify that it fails.
[x] Run ros2 action send_goal /MoveFromMouthToRestingPosition ada_feeding_msgs/action/MoveTo "{}" --feedback and verify that it succeeds.

Before opening a pull request

[x] Format your code using black formatter python3 -m black .
[x] Run your code through pylint and address all warnings/errors. The only warnings that are acceptable to not address is TODOs that should be addressed in a future PR. From the top-level ada_feeding directory, run: pylint --recursive=y --rcfile=.pylintrc ..

Before Merging

[ ] Squash & Merge

Tested on t0b1 and ready to review @taylorkf . FYI this code depends on ada_ros2#12.

Subsumed by #72


text:
adding missing package.xml execution dependencies for build

Title is somewhat self explanatory :)

Hi @joeromano, I think this is actually the result of some extraneous CATKIN_DEPENDS directives in the CMakeLists.txt file.  These should be fixed in: ba86f07123101fb720d6717e220ac54014fefd2c.

cmake_modules is not an extraneous dependency. It is required for find_package(Eigen) to work!

Right, that's why cmake_modules is in package.xml and find_package(catkin REQUIRED COMPONENTS ...).  But there's no reason why it should be propagated to other packages via catkin(CATKIN_DEPENDS ...).

authors: joeromano mkoval psigen

repo: personalrobotics/apriltags


text:
Disable Jetty's locking of static files

reproduced on windows 7.
steps:

start server
change content of static file (any html for example)
try to save this file. Eclipse or any ide starts to complain

Static files were configured via Spark.externalStaticFileLocation.
looks like the same issue as https://code.google.com/p/run-jetty-run/issues/detail?id=7
I tried to configure "useFileMappedBuffer=false" according to above link but I didn't find how to do it

This should be fixed already. Did you try the master branch?

authors: sparkforreg tipsy

repo: perwendel/spark


text:
test without docker

Work in progress. Let's see what it takes to be able to install puppeteer in TravisCI "natively".

I think the reason we used Docker was because puppeteer couldn't be built in regular Travis. Seems to work now.

repo: peterbe/minimalcss


text:
TypeError: self.getLineBreakChar is not a function

Hi all,
I'm getting this error now in my AWS lambda function. I recently updated the runtime node version of the Lambda function to 16.
ERROR	TypeError: self.getLineBreakChar is not a function
I check the ical folder and getLineBreakChar function does exist in ical.js file.
Does anybody have any idea for a solution? Cheers!

This seems to be related to the fact that this is directly in parseICS, which isn't bound to any object. This occurred for me when I was importing the function like this:
import { parseICS } from 'ical';
...
parseICS(...);

The solution for me was:
import * as ical from 'ical';
...
ical.parseICS(...);

authors: Harisene RickyCook


text:
Unable to run samples/forms.py

Describe the bug
I am unable to run samples/forms.pym due to being unable to load "Background" from asciimatics.effects:

ImportError: cannot import name 'Background'

To Reproduce
Attempt to run samples/forms.py
Expected behavior
Script runs....
Screenshots
If applicable, add screenshots or cut and paste the erroneous text to help explain your problem.
System details (please complete the following information):

OS and version: [e.g. Windows 10
Asciimatics ersion [e.g. 1.9.0]

Additional context
Here's a recording of attempting to import Background from asciimatics.effects

That's because Background was originally (erroneously) in widgets.  It has only been moved to the effects module in master.
I'm guessing you're trying this because you've seen that error when running the samples from master against a v.1.9.0 installation of asciimatics.  To fix it run your samples at the same version as your installtion - e.g. checkout the v1.9.0 tag, or install from master.

I'm assuming this answered the problem and will close in a few days if I don't hear otherwise.

authors: peterbrittain tayjaybabee

repo: peterbrittain/asciimatics


text:
ewelink on Android and in HA at the same time

Hello, thank you for your great work!
Actually, this is probably not an issue or error. I would like to use ewelink, logged in on Android app, and in Home Assistant also.
Now, after use on Android, i have to restart Home Assistant to make it work. But after that, i have to log again in Android app to use it (due to message "session expired"). Everytime when i use Android app, i loose connection in Home Assistant.
Do you have any workaround for this problem? Could be one sonoff device linked to two accounts - if this is solution?
Thank you!

read the documentation, use a 2nd account and share the devices

repo: peterbuga/HASS-sonoff-ewelink


text:
"python" and "txt"

Thank you very much for this library!
In the explanation of Font to Python, the example is missing a call to "Python" OR "python3" so I wasted a few hours until I realized that I need to call Python first.
Also, the extension file name needs to have the extension ".txt"
$ font_to_py.py FreeSans.ttf 23 myfont.py
$ font_to_py.py -k extended FreeSans.ttf 23 my_extended_font.py
TO:
$ python font_to_py.py FreeSans.ttf 23 myfont.py # OR python3
$ python font_to_py.py -k extended.txt FreeSans.ttf 23 my_extended_font.py
It is also worth emphasizing that it is not mandatory to execute both lines in the example, but one of them is possible

If your system is properly configured there should be no need to explicitly call python. The first line of code is
#! /usr/bin/env python3

the purpose of which is explained here. I can run it as follows
[adminpete@meerkat]: ~
$ font_to_py.py --help
usage: /mnt/qnap2/Scripts/font_to_py.py [-h] [-x] [-y] [-r] [-f] [-b] [-i] [-s SMALLEST] [-l LARGEST] [-e ERRCHAR] [-c CHARSET] [-k CHARSET_FILE]
                                        infile height outfile

font_to_py.py V0.4.0
Utility to convert ttf, otf, bdf and pcf font files to Python source.
Sample usage:
font_to_py.py FreeSans.ttf 23 freesans.py

This creates a font with nominal height 23 pixels with these defaults:
Mapping is horizontal, pitch variable, character set 32-126 inclusive.
Illegal characters will be rendered as "?".

To specify monospaced rendering issue:
font_to_py.py FreeSans.ttf 23 --fixed freesans.py

positional arguments:
  infile                Input file path
  height                Font height in pixels
  outfile               Path and name of output file

options:
  -h, --help            show this help message and exit
  -x, --xmap            Horizontal (x) mapping
  -y, --ymap            Vertical (y) mapping
  -r, --reverse         Bit reversal
  -f, --fixed           Fixed width (monospaced) font
  -b, --binary          Produce binary (random access) font file.
  -i, --iterate         Include generator function to iterate over character set.
  -s SMALLEST, --smallest SMALLEST
                        Ordinal value of smallest character default 32
  -l LARGEST, --largest LARGEST
                        Ordinal value of largest character default 126
  -e ERRCHAR, --errchar ERRCHAR
                        Ordinal value of error character default 63 ("?")
  -c CHARSET, --charset CHARSET
                        Character set. e.g. 1234567890: to restrict for a clock display.
  -k CHARSET_FILE, --charset_file CHARSET_FILE
                        File containing charset e.g. cyrillic_subset.

I don't recognise the need for a .txt extension. None of the files here have such an extension and all have been tested.

When I download the "extended" file, it downloads as a "txt" file
And in any case, nothing worked for me without setting the two settings above, that is, adding "python" and also adding .txt

When I download the "extended" file, it downloads as a "txt" file

How odd. Try using git clone to copy the repository. That will preserve filenames.
Re python The only other thing I can think of is setting execute permission on font_to_py.py. Without access to your PC it's hard for me to diagnose this.

I think the reason is that I need to use python instead of python3, so if it had been written #! /usr/bin/env python it would have worked.

Interesting. On some machines #! /usr/bin/env python invoked python2 which doesn't work.

authors: peterhinch sgbmzm

repo: peterhinch/micropython-font-to-py


text:
🛑 Hornsea Pottery is down

In 0da4afb, Hornsea Pottery (https://hornseapottery.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hornsea Pottery is back up in 2c99627 after 4 hours, 38 minutes.

repo: peterjse/Upptime


text:
Fix config error

You can take this PR or leave it.  All that is really needed to get this extension working again is to add:
config: () => { return { }; },

In src/getUtilities.ts a config function needs to be added to the plugin functions arguments object.  I added experimental and future but these are not needed.  the config function should return an object.  An empty object is fine.

Awesome work - thanks for contributing a fix. I'll get it published.

authors: coderfin petermekhaeil


text:
CBORNumber.IsNumber() is classifying many numbers as 'not number'

Hello, one issue I found with CBORNumber.IsNumber() , is that it classifies many number elements as 'not number' (false). This happens if the number in the element, e.g. a CBOR unsigned integer, is tagged.
I see in the IANA assignments that in some cases 'non-number CBOR elements' , i.e. elements not integers and not floats, can be interpreted as numbers if these are prefixed with a particular tag like 30, 264, 265, 268, 269, 270 and 2,3,4,5.  These are special cases that the method can test for (and does test for).
However in the common case a tagged unsigned integer, signed integer or float should be classified as 'number' (so: true).  Because

there seem to be no tags (as far as I can tell) that when annotating a single uint/int/float with this tag will cause the CBOR element to be interpreted as something that's not a number. It is usually the other way around.
tags that aren't allocated yet can be used to annotate a CBOR number. For sure these do not change the meaning of a uint/float/int, in other words, unallocated tags when applied to a CBOR numeric type don't remote the "numberness" of the number element.

For information, my particular case was using an integer that is tagged with 47 ; a SID - which is a number for sure. Here IsNumber() gives 'false'.
So by default I would give any tagged uint/int/float object which isn't an array the benefit of the doubt and classify them as number. Only those tags that explicitly remove the "numberness" of a uint/int/float object would need to be included in the code as special cases and for those the method should return 'false'. It could be that the IANA registry contains such cases, but again I haven't seen these so far! I would be interested to learn if there are cases like these.  Thanks :)

Thank you for your comment.  In the meantime, you can also do cbor.Untag().IsNumber() to determine whether a CBOR object stores a number (or cbor.Type == CBORType.Integer || cbor.Type==CBORType.FloatingPoint).  You can also define a custom extension method that classifies CBOR objects in the manner you care about.

Thanks, yes I was already using the Untag() for this purpose.

This issue has seen no activity, and it appears to be resolved, so closing.

Hi, and first of all, thanks for the great library!
I ran into this same issue now, although with a different tag. In my case I have a CBOR object that has a base time value wrapped in the tag 1, and it isn't recognized as a number.
A minimal example:
[{-3: 1(1720696276)}]

I can't say if EskoDijk's suggestion above – interpreting all tagged numbers as numbers by default – would be feasible, but e.g. in this case of mine, tag 1 is defined in RFC 8949 as "Epoch-Based Date/Time", with the following explanation:

Tag number 1 contains a numerical value counting the number of seconds from 1970-01-01T00:00Z in UTC time to the represented point in civil time.

(I also realize the project is aimed to implement RFC 7049, and not RFC 8949 which was only published in December 2020. But the old one defined the tag pretty similarly.)
Untagging the value surely works in this case also, but unfortunately I use CBOR-Java as a dependency of another library, Eclipse Leshan, so I'm not in direct control of its usage. I've opened an issue there to discuss if this should be fixed there, and if so, how.
Any thoughts on this? If it would make sense to change this, I can provide a PR.

The README still says RFC 7049; I meant to update that to say RFC 8949 instead.  The Untag() approach will work fine as long as you have verified the correct tag.

authors: EskoDijk mjviljan peteroupc

repo: peteroupc/CBOR-Java

license: Unlicense


text:
Write docstring in the functions

Please write docstring for the main() function in the main.py file.

A pull request has been created to address this issue: https://github.com/petrakopic/fixit/pull/31

repo: petrakopic/fixit


text:
[WIP] Strict dtype check

This PR aims to fix dtype.char inconsistency between numpy and cupy filed in issue #1646.
Currently some tests will fail.
(for example: tests/cupy_tests/math_tests/test_misc.py)

Closing the PR for now, because the issue is not that urgent and I don't have much time for this.

repo: pfnet/chainer


text:
Check all urls in the content in all languages and regions

We have a script for this
Acceptance Criteria

[x]  Run the script to detect broken URLs
[x] Find unbroken URLs to the corresponding pages
[x] Update the content with the new URLs

did not check every single link but appears good.

authors: alysha-PG rasmus-storjohann-PG

repo: pg-irc/pathways-frontend


text:
feat: Add automatic reset

#31

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (4e1de29) compared to base (1cc3f79).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #46   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        15
  Lines          419       426    +7
  Branches        89        92    +3
=========================================
+ Hits           419       426    +7

Impacted Files
Coverage Δ

src/motionSensorAccessory.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter pgerke

repo: pgerke/homebridge-freeathome-local-api


text:
Usar uma estratégia de script no frontend para evitar que o cliente envie dados que não estejam no datalist (campos de curso)

sugestão base para a implementação do script:
https://www.jotform.com/blog/html5-datalists-what-you-need-to-know-78024/

Provável uso de select personalizado (ainda a ser feito)

Solução temporária implementada 👍

authors: Lucas-dev-back pgiselio

repo: pgiselio/JOLOS