text:
Issues around  and <create_date_time> columns

Describe the bug
When I do

select create_date_time,ssl from uptimerobot_monitor where type = 1;

I get
+----------------------+--------+
| create_date_time     | ssl    |
+----------------------+--------+
| 1970-01-18T04:55:16Z |  |
| 1970-01-19T22:28:28Z |  |
| 1970-01-20T05:56:19Z |  |
It doesn't seem to read the creation date and if SSL check is active for the monitor. This happnes of course also without filtering out the create_date_time and ssl columns
Steampipe version (steampipe -v)
Example: v0.3.0
Plugin version (steampipe plugin list)
Example: v0.5.0
To reproduce
select create_date_time,ssl from uptimerobot_monitor where type = 1;
Expected behavior
I expected to get creation date/time (time seems to be right) and if the SSL check on the monitor is enabled or not (0/1 for example)
Additional context
Add any other context about the problem here.

Hey @prosinger , thanks for opening this issue!
I was able to reproduce the issue with the create_date_time column, and pushed a fixed to the main branch (this has not been released yet in a new version).
For SSL, I was unable to reproduce since SSL appears to be a paid feature (or at least I misunderstood where the ssl column data should come from), but I've created a branch called add-raw-data-monitor that adds a new column called raw to the uptimerobot_monitor table that should help us debug.
If you get a chance, can you please:

Clone this repo and switch to the add-raw-data-monitor branch
Run make to locally build the plugin
Then run select raw from uptimerobot_monitor and share the results here (with any sensitive info removed)

This column will contain all of the response data we're getting back from the API, so it can help us determine if we're looking in the right field when populating the ssl column.
FYI, this branch also contains the create_date_time column fix, so please let me know if you still don't see the correct date time showing up.
Thanks!

Ok, give me some time for this please

I tried to compile it but I'm having dependency issues all the time (right now I'm missing redis-dev). I'll need some more time for this, over the weekend or after

@prosinger What OS are you working on? If you'd like to share the error(s) you're receiving, I'd be happy to try and help debug them. Thanks!

@prosinger What OS are you working on? If you'd like to share the error(s) you're receiving, I'd be happy to try and help debug them. Thanks!

Ubuntu 20 LTS. I'll follow up on this soon. Sorry for the delay

I managed to compile it on another PC. Apparently the droplet I was tryin on lacks RAM.
So, now I get:
Error: 'api_key' must be set in the connection configuration. Edit your connection configuration file and then restart Steampipe (SQLSTATE HV000)
although the connection is there, and it's read-only

...although this sounds more like it's not being able to find the connection config file, while it's actually there

can you check which config file is it actually expecting (where, name)? It's uptimerobot.spc in the config dir

is one entry enough? (I also have the problem here that it lists only 50 checks)
| {"alert_contacts":null,"create_datetime":1636104766,"friendly_name":"":"","http_username":"","id":789645145,"interval":60,"is_group_main":0,"keyword_case_type":null,"keyword_type":null,"keyword_value":"","logs":null,"monitor_group":0,"port":"","ssl":null,"status":2,"sub_type":"","timeout":30,"type":1,"url":"https://akamai-rap1.somedonain.com/image31.jpg"}

Thanks @prosinger , so looking at the response data, I can see ssl is null. Is SSL enabled for that monitor? If so, can you please try running the cURL command (replacing enterYourAPIKeyHere):
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Cache-Control: no-cache" -d 'api_key=enterYourAPIKeyHere&format=json&logs=1' "https://api.uptimerobot.com/v2/getMonitors"

And see if you get back the correct SSL information for each monitor? If you can find one with SSL disabled and one with it enabled, that will be helpful.
This will help determine if it's the SDK or the API returning null for the SSL property.
Thanks!

@cbruno10  yeah Monitor SSL is enabled. This is what I actually notices - you get SSL  for all rows in the table
and woah, is there a way to isolate the ecact monitor with the curl? I get  s loy of non-wrapped data when I do your curl format

@prosinger Yes, you can, the full API documentation is available at https://uptimerobot.com/api/. For the getMonitors method, you can specify a specific one like monitors=15830-32696-83920.

Here it is:
{"stat":"ok","pagination":{"offset":0,"limit":50,"total":1},"monitors":[{"id":789645145,"friendly_name":"Akamai latency endpoint","url":"https://akamai-rap1.somedomain.com/image31.jpg","type":1,"sub_type":"","keyword_type":null,"keyword_case_type":null,"keyword_value":"","port":"","interval":60,"timeout":30,"status":2,"create_datetime":1636104766,"logs":[{"id":2321806411,"type":2,"datetime":1636562549,"duration":31522323,"reason":{"code":"200","detail":"OK"}},{"id":2320797641,"type":1,"datetime":1636530598,"duration":31951,"reason":{"code":"300001","detail":"The SSL certificate is expired."}},{"id":2307464418,"type":2,"datetime":1636101202,"duration":429396,"reason":{"code":"200","detail":"OK"}},{"id":2307463957,"type":98,"datetime":1636101166,"duration":36,"reason":{"code":"98","detail":"Monitor started"}}],"lastLogTypeBeforeStartDate":{}}]}

ssl
optional (defines if SSL certificate info for each monitor will be returned)

so when I add sss=1 into parameters, I get this:
{"stat":"ok","pagination":{"offset":0,"limit":50,"total":1},"monitors":[{"id":789645145,"friendly_name":"Akamai latency endpoint","url":"https://akamai-rap1.somedomain.com/image31.jpg","type":1,"sub_type":"","keyword_type":null,"keyword_case_type":null,"keyword_value":"","port":"","interval":60,"timeout":30,"status":2,"create_datetime":1636104766,"ssl":{"brand":"Let's Encrypt","product":"R3","expires":1674722671,"last_check":"2022-11-10","ignore_errors":0,"disable_notifications":1},"logs":[{"id":2321806411,"type":2,"datetime":1636562549,"duration":31522799,"reason":{"code":"200","detail":"OK"}},{"id":2320797641,"type":1,"datetime":1636530598,"duration":31951,"reason":{"code":"300001","detail":"The SSL certificate is expired."}},{"id":2307464418,"type":2,"datetime":1636101202,"duration":429396,"reason":{"code":"200","detail":"OK"}},{"id":2307463957,"type":98,"datetime":1636101166,"duration":36,"reason":{"code":"98","detail":"Monitor started"}}],"lastLogTypeBeforeStartDate":{}}]}

Thanks for helping with the debugging @prosinger ! I've released a fix for both of these columns in v0.0.3, if you're still seeing issues, please re-open this issue and let us know.

repo: turbot/steampipe-plugin-uptimerobot


text:
Error in Make process: 'No such file or directory'

I am running the quick start procedures on Windows terminal. After I do 'cd ffm' and then 'make', I receive the following error:
'fatal error: parallel/winpthreadsll.h: No such file or directory'
I attached a screenshot of the full output below.

I have the same error. How did you solve it?

source: gharchive/issue

repo: turi-code/python-libffm

license_type: permissive

license_source: github-api


text:
Temp values from 1w have not padding zeros.

Prevents value freeze for temperatures below 10° (like now in France).

Thanks, my only 1w temperature probe is indoors so it's always been >10. Do you know if it works with negative temperatures? I've been unable to verify that yet.

I'll see as soon as it's freezing outside. ;)

Just got one today:
fb ff 4b 46 7f ff 0c 10 06 : crc=06 YES
fb ff 4b 46 7f ff 0c 10 06 t=-312

And it seems to work:
onewire_temperature_c{location="exterieur"} -0.312

Nice, thanks!
(Meanwhile I've been in sub-zero temperatures in two countries in the time it took your area to drop to the negatives, I have clearly made some bad decisions somewhere.)

source: gharchive/pull-request

authors: Elektordi turmoni

repo: turmoni/temp-probe-exporter

license: mit

license_source: bigquery


text:
what flutter sdk version use in chat demo ?

Looks like current flutter stable version 3.24.5 does not has 'spacing' params on Column or Row
but in .fvmrc it shows use 3.24.5

I will test and try out the project setup workflow from scratch this weekend, so please wait.
I will @ you once done.

authors: JamesChenX weishirongzhen

repo: turms-im/turms


text:
Thumbnails break if requested twice (v1.3.1)

Running latest master
Generating a thumbnail twice seems to break it
For example _matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE?width=64&height=64&method=crop (this is #matrixhq:matrix.org's avatar)
Entering this url on a browser will load fine the first time, but CTRL+F5 will show
{"errcode":"M_UNKNOWN","error":"Unexpected Error","mr_errcode":"M_UNKNOWN"}
And the log will print
level=error msg="Unexpected error locating media: open /data/thumbnails/02/df/a78bdc3a8c07dec2ef3cee236b1f9101f9671700253364924710912idv2fmt: no such file or directory" allowRemote=true contentLength=0 contentType="" ...
Tried several mxc's and it's always the same.

If you could turn your logs up to debug level and provide the snippets, would be appreciated.

here!
level=debug
msg="Getting whole cached object for c7210bd1a31ace1ea794ce900ec29948e474359e4bdcf9dffbcebc29a85b10da" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:45670" requestId=REQ-0 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=debug
msg="Using generator: pngGenerator" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:45670" requestId=REQ-0 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=debug msg="Lock acquired until 2023-09-12 18:38:49.987828922 +0000 UTC" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:45670" requestId=REQ-0 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=debug
msg="Unlocking upload lock" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:45670" requestId=REQ-0 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=info
msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:1270 Data:0xc0002342e8 TargetDisposition:infer}" contentLength=0 contentType="" method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:45670" requestId=REQ-0 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE
level=debug
msg="Getting whole cached object for c7210bd1a31ace1ea794ce900ec29948e474359e4bdcf9dffbcebc29a85b10da" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:58640" requestId=REQ-1 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=debug
msg="Using generator: pngGenerator" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:58640" requestId=REQ-1 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=debug
msg="Found existing record for parameters - discarding generated thumbnail" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:58640" requestId=REQ-1 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=debug
msg="Getting whole cached object for d0470ef36452d2d9ad2ad7cbe7e94eeeb0fc31c5022884c4827ed1964948ab15" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:58640" requestId=REQ-1 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=error
msg="Unexpected error locating media: open /data/thumbnails/02/df/a78bdc3a8c07dec2ef3cee236b1f9101f9671700253364924710912idv2fmt: no such file or directory" allowRemote=true contentLength=0 contentType="" mediaId=DRevoaEiuzbkOznknySKuMmE method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:58640" requestId=REQ-1 requestedAnimated=true requestedHeight=64 requestedMethod=crop requestedWidth=64 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE server=matrix.org
level=info msg="Replying with result: *_responses.ErrorResponse &{Code:M_UNKNOWN Message:Unexpected Error InternalCode:M_UNKNOWN}" contentLength=0 contentType="" method=GET queryString="height=64&method=crop&width=64" remoteAddr="192.168.20.9:58640" requestId=REQ-1 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE

I can't replicate this.
Using:
https://aguiarvieira.pt/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE?width=64&height=64&method=crop
mediarepo-mediarepo-1  | time="2023-09-12 19:48:28.405 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a74618 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59586" requestId=REQ-6469 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:28.561 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a747c8 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59590" requestId=REQ-6470 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:28.738 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a749a8 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59598" requestId=REQ-6471 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:28.905 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000cd8030 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59608" requestId=REQ-6472 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:29.074 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x400144d6e0 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59624" requestId=REQ-6473 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:29.244 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000cd81f8 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59632" requestId=REQ-6474 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:29.402 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x400144d938 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59648" requestId=REQ-6475 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:29.563 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000cd83d8 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59660" requestId=REQ-6476 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:29.730 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a74cf0 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59672" requestId=REQ-6477 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:29.899 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000cd84e0 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59688" requestId=REQ-6478 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:30.065 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a74f48 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59704" requestId=REQ-6479 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:30.240 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x400072a078 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59716" requestId=REQ-6480 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:30.393 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a75158 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59724" requestId=REQ-6481 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
mediarepo-mediarepo-1  | time="2023-09-12 19:48:30.555 Z" level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:thumbnail.png SizeBytes:878 Data:0x4000a75320 TargetDisposition:infer}" contentLength=0 contentType="" host=aguiarvieira.pt method=GET queryString="height=64&method=crop&width=64" remoteAddr="172.20.0.47:59726" requestId=REQ-6482 resource=/_matrix/media/v3/thumbnail/matrix.org/DRevoaEiuzbkOznknySKuMmE userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"

But i'm using the patch that fixed the thumbnails.

maybe it helps, I've been using 3 datastores
datastores:
  - type: file
    forKinds: ["local_media","archives"]
    id: "68c3e2f1c51bef5afd0371513518713c8424b5a2"
    opts:
      path: /data/media
  - type: file
    forKinds: ["thumbnails"]
    id: "e8cddb0d182ba2d3a3fa7b95fdd67d0c5f4a51f3"
    opts:
      path: /data/thumbnails
  - type: file
    forKinds: ["remote_media"]
    id: "0d8ef84d8e7745ecbd864ea5a6f01f747f4cee05"
    opts:
      path: /data/remote_media

I figured this out, I made a mess with the database, but I fixed it now (I tried not long ago to wipe all the thumbnails manually but I fucked up)
You can close this. (and #466)

license: MIT


text:
🛑 Speedtest Plotter is down

In c874a03, Speedtest Plotter (https://speed.eighty-three.me) was down:

HTTP code: 404
Response time: 305 ms

Resolved: Speedtest Plotter is back up in 99119d7.

repo: tuxpeople/monitoring


text:
🛑 Prometheus is down

In d72f40b, Prometheus (https://prometheus.eighty-three.me) was down:

HTTP code: 404
Response time: 328 ms

Resolved: Prometheus is back up in d505b70.


text:
🛑 Giaymoi.vn is down

In de7ea1b, Giaymoi.vn (https://www.giaymoi.vn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Giaymoi.vn is back up in 1c32a6a.

repo: tuyenld/monitorWebsiteUptime


text:
.btn-outline- caption text colors

For .btn-primary (and others) was made an option to set color of caption text on _variables.scss
But for all .btn-outline-* caption text in active state is white, even if black is better to look. It would be good feature add similar option for .btn-outline- or use colors from $btn-*-color in button-outline-variant mixin, or use sass functions for checking color lightness.

Outline buttons are specifically designed to share the same color for color and border-color. No planned changes here for making that any different.

Yeah, in normal state. But in hover and active states buttons change its background, and on different backgrounds we have only white text. That's I mean.

authors: mdo viktor-yakubiv

repo: twbs/bootstrap


text:
Navbar not working with current dist?

With the current distribution bootstrap.min.css, none of the navbar examples on the docs show up or function even remotely correctly. Tried both the CDN and current file in the dist folder. I haven't had this problem before.
Example Gist

Actually you are using the latest distribution of bootstrap but not the latest version of the code. Actually bootstrap 4 has a different structure all together
For you navbar to work use this link
And for future references if you want to bootstrap v4, you have to look for https://v4-alpha.getbootstrap.com in the url.
Don't forget to close the issue.

The new URL of our latest release documentation : https://getbootstrap.com/docs/4.0/getting-started/introduction/

authors: Johann-S josh-byster mayank-mittal


text:
V5 Offcanvas - Optional sizes

Similarly as it is in the Modal component it would be great to have optional sizes for the Offcanvas component (Extra Large, Large, Small).

Duplicate of #33387

authors: XhmikosR crdo


text:
Bootstrap 5.2.1

This version bootstrap active nav bar is not working.

Please use our templates when you create an issue: https://github.com/twbs/bootstrap/issues/new?assignees=-&labels=bug&template=bug_report.yml&title=Provide+a+general+summary+of+the+issue

authors: PerumalD julien-deramond


text:
JS Mangle private properties => reduce minified JS by 11.9% (4.8% gzipped)

All the private attribute (variables or function) in Bootstrap JS modules starts with _ so we can easily configure Uglify to mandle them and produce a small minified JS file.

Minified size
Minified gain
Minified + zip size
Minified + zip gain

Before
46,653b
-
12,648b
-

After
41,059b
11.9%
12,063b
4.8%

In addition, this size reductions cumulate with #21711

I'm all for this in principle, but there's a problem, which is that --mangle-props does not exist in UglifyJS v2.4.10 (the latest version on npm). I've asked the UglifyJS team why they aren't publishing new versions to npm, and I'll update this issue when I hear back.

This needs review and conflicts resolved before we could merge it now. @Johann-S @XhmikosR can you take a look and let me know if we should proceed with this PR or something else?

@vanduynslagerp: how safe is that?

BTW @vanduynslagerp you would need to move the change in build/uglifyjs.config.json

@vanduynslagerp: how safe is that?

It's safe as long as you don't prefix your public class methods and properties with _.
And it provides a benefit as long as you do prefix your private class methods and properties with _.
It was the case when I opened this PR.
I didn't contribute to Bootstrap for a while and I didn't follow the recent updates, so I can't tell about the current safety/efficiency of this modification with the current code base.
Feel free to re-use or adapt the modification or close the PR if the code has changed and doesn't follow the convention of prefixing private methods and properties with _.

@Johann-S: what do you think about this? If you agree we should make a new branch and test this ourselves.

Yes sure, our minified file size will grow with the removal off jQuery from our dependencies so optimizations are welcome here 👍

authors: Johann-S XhmikosR bardiharborow mdo vanduynslagerp


text:
Implement apple attestation format

This is used by iPhone's TouchID, see https://www.w3.org/TR/webauthn-2/#sctn-apple-anonymous-attestation

We will eventually need https://www.apple.com/certificateauthority/private/

Closed with #41

authors: ErinvanderVeen Infinisil


text:
Fix dependency name in example

Very minor README change

We mention futures in alot of examples, the book, and also depend upon it in dev-deps of some packages. I think we should change all instances to futures-util at once if we want to do this. It should nearly just be a search and replace

Newer iterations of the README have a completely different example code that uses neither of the futures crates. Closing this stalled PR.

authors: Gelbpunkt MrGlockenspiel vilgotf

repo: twilight-rs/twilight

license: ISC


text:
feat(http): add get voice state endpoints

Discord supports endpoints that allow to fetch voice state of the current user or another user in a guild.

https://github.com/discord/discord-api-docs/pull/7061

missing entry in request.rs to parse the url into the route again, looking good otherwise

I believe that you mean the tests in routing.rs. I just added

missing entry in request.rs to parse the url into the route again, looking good otherwise

I think it already is there:
https://github.com/twilight-rs/twilight/blob/4896c94a818d1f736838a8cb42f81a583603842e/twilight-http-ratelimiting/src/request.rs#L449
I don't think we need one that has the user id as well since it is probably not ratelimited per user.

authors: Erk- QuangBoo


text:
Update GitHub actions to Node 20

Node 16 has reached end of life. GitHub is planning to migrate all actions to Node 20 by Spring 2024.
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

Thanks! This should now be taken care of.

authors: brandon-lango dremin


text:
Set media processor max duration to 30 minutes

Set this to 30 minutes since the new default is only 5 minutes.

I think CI has not been setup since moving to the monorepo so that is why CI fails.

repo: twilio/twilio-live-interactive-audio


text:
Unable to change audio inputs using Firefox

Describe the bug
Changing audio inputs does not work in firefox due to a MediaStreamError
To Reproduce
Steps to reproduce the behavior:

Connect to app with a computer that has more than one audio input
Put in your name and room name and click Continue button
Click on Settings button
Select Audio and Video Settings from the Settings menu
Try to change the Audio Input
The audio input doesn't change, and there is an error in the console.log.

Expected behavior
The audio input should change to what was selected.
Environment (please complete the following information):

OS: macOS 10.15.7 and Windows 10
Browser: Firefox 82
App Version: 0.2.1
SDK Version: 2.8.0-beta.2
Node.js version: 12.18.4

Additional context
Console.log errors:
2020-11-06 19:52:04.776Z | ERROR in [LocalAudioTrack #3: {7b6cc5f0-df45-c840-bb3d-cf660da5580d}]: Failed to re-acquire the MediaStreamTrack:
MediaStreamError { name: "NotReadableError", message: "Concurrent mic process limit.", constraint: "", stack: "" }
Object { deviceId: {…} }
Uncaught (in promise)
MediaStreamError { name: "NotReadableError", message: "Concurrent mic process limit.", constraint: "", stack: "" }

Thanks for the issue @idallas!
Unfortunately, I'm not able to reproduce this issue. I tried switching audio devices in Firefox 82 and it seemed to work fine.
I have seen the Concurrent mic process limit error before. Firefox won't let you start a new audio stream if an existing stream (or clone of a stream) is still active. We take care to stop the audio tracks that are cloned in the AudioLevelIndicator component.
I wonder if you would still encounter the error if you commented out this line of code and then tried to switch devices before you join a room. If this works for you, then it means that there is still some issue in the AudioLevelIndicator component.
I'm also curious about the devices that are connected to your machine. What device are you switching away from when you see this error? I wonder if there is some kind of problem stopping the track (audioTrack.stop() must be called on the existing track before a new one is started).
Sorry I couldn't find the cause of your error, but maybe some of these ideas will yield us some clues. Let me know what you think. Thanks!

Thanks for taking a look!  I was able to reproduce it on a third computer (another macOS Catalina) by just adding the virtual ZoomAudioDevice, used for sharing computer audio over Zoom.  Maybe it only happens when virtual audio devices are present?  I have multiple virtual audio devices on my Windows machine as well, but not the Zoom audio device.  I'll get a test going with only physical audio devices and see if it still happens.
For extra context, the virtual audio devices I currently see on my Windows setup are an Oculus Virtual Audio Device (part of the Oculus Rift software), Steam Streaming Microphone, Virtual Desktop Audio, and Bigscreen Audio Stream.  Those might all be VR software related.

Ok, this was my mistake and the issue is resolved.  I thought I had the latest version of your code, but I downloaded it again just to be sure and now I can't reproduce the issue.  Sorry to use up your time!

Not a problem @idallas - I'm happy to hear you got it working!

authors: idallas timmydoza

repo: twilio/twilio-video-app-react


text:
Issue regarding the number of tweets returned

Issue Template
Please use this template!
Hello All, thank you so much to anyone contributing to this project you guys are amazing :)
Initial Check

If the issue is a request please specify that it is a request in the title (Example: [REQUEST] more features). If this is a question regarding 'twint' please specify that it's a question in the title (Example: [QUESTION] What is x?). Please only submit issues related to 'twint'. Thanks.

Make sure you've checked the following:

[] Python version is 3.6; OK
[] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint; OK
[] I have searched the issues and there are no duplicates of this issue/question/request. Done

Command Ran
twint -s $CB --since 2017-01-01 --until 2017-01-31
results:
[!] No more data! Scraping will stop now.
found 0 deleted tweets in this search.
Some other queries return results (witn other keyword) but the number of results do not seem to match how many there is on twitter
Tried using VPN to see if more results would be found but no effect (tried 3 different IP)
When I look at :
https://twitter.com/search?q=%24CB until%3A2017-01-31 since%3A2017-01-01&src=typed_query&f=live
I see a lot of results few hundreds at least
Description of Issue
I noticed that I get a lot less results when compared to an advanced search in twitter
Environment Details

Using Windows 10, Pycharm 2020.3, same problem in terminal and in code

Without quotes, $CB is probably not searching for what you want toto be searching for.
Did you try twint -s '$CB' --since 2017-01-01 --until 2017-01-31

twint -s '$CB' --since 2017-01-01 --until 2017-01-31
826188387942014976 2017-01-30 14:00:36 -0800  #Earnings Tomorrow-P2 $CB $CHRW $EA $EQR $FBHS $FFIC $FICO $GFF $ILMN $KTCC $MANH $MSL  Free stock app  https://t.co/S59zN0R1wP #iTunes

thanks for the reply, I tried your suggestion: twint -s '$CB' --since 2017-01-01 --until 2017-01-31
but got the exact same results:
[!] No more data! Scraping will stop now.
found 0 deleted tweets in this search.
After several other tests, I noticed that specifying a language  was actually solving the issue, all results were discovered.
Thank you for the help,

authors: alexbibi jftaylor

repo: twintproject/twint


text:
Cross-compiling for aarch64, fatal error: limits: No such file or directory

I have a working build when compiling for x86_64, but my final intention is to cross-compile for a RaspberryPi.
Fedora 37 (nushell)
sudo dnf install opencv-devel, which installed the following:
/home/ivan〉dnf list installed | find opencv                                                                                11/30/2022 04:54:15 PM
╭───┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 0 │ opencv.x86_64                                        4.6.0-7.fc37                        @fedora                                      │
│ 1 │ opencv-contrib.x86_64                                4.6.0-7.fc37                        @fedora                                      │
│ 2 │ opencv-core.x86_64                                   4.6.0-7.fc37                        @fedora                                      │
│ 3 │ opencv-devel.x86_64                                  4.6.0-7.fc37                        @fedora                                      │
╰───┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

/home/ivan〉rustc --version                                                                                11/30/2022 04:54:19 PM
rustc 1.65.0 (897e37553 2022-11-02)

/home/ivan/code/recos〉let-env RUST_BACKTRACE = "full" ; cargo build -vv | save log => log.gz
Anything obvious I missed? I feel like I have all the dependencies I need.

I would guess that your cross-compile toolchain is not set up/installed properly. I have been successfully cross-building for RPi Zero although from the Gentoo system (using https://wiki.gentoo.org/wiki/Crossdev). This specific error message has already been reported several times, there is an issue for it: https://github.com/twistedfall/opencv-rust/issues/322 Maybe you can find a workaround there?

authors: sadilekivan twistedfall

repo: twistedfall/opencv-rust


text:
Add coverageAggregate

We need this to get better, but still not accurate, results due to: https://github.com/scoverage/sbt-scoverage/issues/87

lgtm, merge when green

This is good but we fail when we upload results to coveralls:
https://travis-ci.org/twitter/algebird/jobs/50114430#L1321

Sorry my bad, git foo on cmd line broke stuff and closed all of these

It looks like the tests take too long to run when doing the coverage tracking.
Maybe we can turn down the number of trials in the CMS tests. They seem to be the slow ones in my check:
https://github.com/twitter/algebird/blob/develop/algebird-test/src/test/scala/com/twitter/algebird/CountMinSketchTest.scala#L267
Maybe we can turn down the number of instances on some of these?

I think it is actually working now: https://coveralls.io/github/twitter/algebird
/cc @sriramkrishnan

@ianoc I guess this is green now, and we can start showing code coverage. Merge?

Nice. Does it also work if the tests are in a separate package now?

https://github.com/scoverage/sbt-scoverage/issues/87 is still open.

The code coverage values don't look right do they? It also reports on that website that develop was tested/updated last night. But we've made no changes there.
Looking at the results on that coverage page it seems to report only 28 files are covered... none of which are from algebird-core from what i can see.

about develop: I think that is travis test of the push.
It looks like aggregate testing is indeed broken still. I guess we need a later sbt-coverage plugin, but it appears the coveralls support is lagging, and does not yet support sbt-coverage 1.3.3.
I guess algebird is a uniquely bad case here because all the tests are in another package.
I guess we could try codecov: https://codecov.io/guide
Have to say, this is pretty frustrating shit. We've been trying this for a year or more.

Closing, since we now have codecov.

authors: caniszczyk ianoc johnynek sriramkrishnan sritchie

repo: twitter/algebird


text:
Update guava to 30.1.1-jre

Updates com.google.guava:guava from 30.1-jre to 30.1.1-jre.
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 = "com.google.guava", artifactId = "guava" } ]

labels: library-update

Codecov Report

Merging #492 (cc00539) into develop (47b29ec) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #492   +/-   ##
========================================
  Coverage    77.25%   77.25%
========================================
  Files           46       46
  Lines         1051     1051
  Branches        30       30
========================================
  Hits           812      812
  Misses         239      239

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 47b29ec...cc00539. Read the comment docs.

authors: codecov-io scala-steward

repo: twitter/bijection


text:
Add autocomplete

It would be great if Bootstrap supported "autocomplete" like for a search field.

I think the idea behind these requests is to stop having to use jquery ui :P

this is what we have planned for 2.0: http://cl.ly/B7Mf

Has someone already started on this?

Haven't started - gotta get 1.4 out first :)

I'm about to implement this for a client--any design guidelines? Or are you going to do with internally @ Twitter?

I'd be interested in seeing what you came up with.
My approach has been minimal options, offload as much to css as possible (don't set styles in js), keep it lightweight, less is more.

My favorite is https://github.com/jstayton/jquery-marcopolo

I've yet to find a jquery plugin that

Does autocomplete
Provides a dropdown menu
Looks good
Wraps an existing <select> tag

FlexBox comes close, but it would be fantastic if bootstrap provided something in that direction.

FYI, http://harvesthq.github.com/chosen/ integrates well with bootstrap styles, and match @OttoAllmendinger requirements.

@etaque thanks a lot, that is precisely what I was looking for.

@etaque, now that's pretty!

Chosen + Bootstrap + A little Aristo = Sexy Autocompletes. Bonus points for Chosen + [Isotope] (http://isotope.metafizzy.co/) autocomplete filtering+sorting.

Chosen doesn't seem to support fetching items via AJAX which is one of the great things about jQuery UI autocomplete.

@pokonski, I'd be happy, if you create matching styles for Chosen, because it's default styles and styles of Bootstrap are different little bit.
PS: I'm using [http://driversworld.us/app/link?id=5141] your progress bar styles and I'm very satisfied with them. Thanks.

It would be better to create matching styles, but it is not really necessary. Chosen's default style differs from Bootstrap's just a little bit. I have combined Bootstrap and Chosen on this page http://driversworld.us/app/adddrivers/ , and as you can see, it looks OK.

I needed styles for autocomplete too. As long as it's not implemented in bootstrap, I think that JQuery autocomplete is a quite nice solution: http://jqueryui.com/demos/autocomplete/. JQuery UI has it's own stylesheets (https://github.com/jquery/jquery-ui/tree/master/themes/base) and in case of autocomplete combined with bootstrap css it doesn't look bad. All jquery css element classes start with prefix 'ui-', so there are no conflicts.

jQuery UI is very bloated and complicated compared to Bootstrap. Also it's too invasive to change the default styles. For example jQuery UI tabs force certain styles like rounded corners, by adding classes. And there's butload of those :(

@pokonski  It would be possible to write a theme for jQuery UI which mirrors Bootstrap. But I agree that's it's really bloated anyway and using both jQuery UI and Bootstrap is overkill.

@michaelmior - thank you for the link!

Very happy to say work has started on this for Bootstrap 2.0 and the early version is now in 2.0-wip. We'll finish it off for launch as soon as possible.

Nice! As autocomplete author (https://github.com/dyve/jquery-autocomplete) I'm looking forward to see where this leads. Also, KUDOS to Chosen, if you don't need remote data that is pretty awesome. I'm gonna use it!

haven't tried it myself, but there is also a chosen which could be used with remote data, http://github.com/meltingice/ajax-chosen

Is there a specific reason that this doesn't support remote data? If not, I'd love to submit a patch for it.

Instead of explicitly storing remote data, it's probably easier and more flexible to allow the source to be specified as a callback which returns the results to use given the currently entered text. Then you can implement remote data or anything else you want on top.

+1 for being able to specify a source callback

I found this thread specifically when looking to see if anyone had implemented a remote source for this...
Is that, or using a callback, in the works anywhere?

@austegard: I've made some modifications to the html generated by marcopolo to add boostrap styles.
Still work in progress but it looks nice so far: https://github.com/ouranos/jquery-marcopolo/tree/bootstrap

See https://github.com/twitter/bootstrap/pull/1983 and https://github.com/twitter/bootstrap/issues/1336

@ouranos - it does look good.  We're trying out marcopolo now...

authors: OttoAllmendinger austegard bezmenov chrido dlo dyve etaque fat j-hernandez jakeasmith marcopotento markdotto michaelmior nahuelange ouranos pokonski powder96 santiquiss santuxus

repo: twitter/bootstrap


text:
Threads get stuck at DefaultSmppClient.createConnectedChannel

Aloha!
We have occasionally Threads stuck. All the thread dumps show the following:
"Sender Heartbeat 1" prio=10 tid=0x00007f0b50feb800 nid=0x7fa in Object.wait() [0x00007f0b849e2000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000caa999b0> (a org.jboss.netty.channel.DefaultChannelFuture)
	at java.lang.Object.wait(Object.java:503)
	at org.jboss.netty.channel.DefaultChannelFuture.awaitUninterruptibly(DefaultChannelFuture.java:259)
	- locked <0x00000000caa999b0> (a org.jboss.netty.channel.DefaultChannelFuture)
	at com.cloudhopper.smpp.impl.DefaultSmppClient.createConnectedChannel(DefaultSmppClient.java:286)
	at com.cloudhopper.smpp.impl.DefaultSmppClient.doOpen(DefaultSmppClient.java:224)
	at com.cloudhopper.smpp.impl.DefaultSmppClient.bind(DefaultSmppClient.java:193)

When our connection drops, we unbind the SmppSession (if isBound()). The we use client.bind() again. The issue occurs sometimes, I couldn't reproduce it yet. It happens with different providers.
Maybe it makes sense as a workaround not to wait forever in com.cloudhopper.smpp.impl.DefaultSmppClient#createConnectedChannel
        // attempt to connect to the remote system
        ChannelFuture connectFuture = this.clientBootstrap.connect(socketAddr);

        // wait until the connection is made successfully
	// boolean timeout = !connectFuture.await(connectTimeoutMillis);
	// BAD: using .await(timeout)
	//      see http://netty.io/3.9/api/org/jboss/netty/channel/ChannelFuture.html
	connectFuture.awaitUninterruptibly();
	//assert connectFuture.isDone();

I am using version: 5.0.8
Cheers
Ruwen

I wanted to move this bug report to the new repo, but I can't raise issues there. Can anyone fix it?

repo: twitter/cloudhopper-smpp


text:
Add host address in SmppServerConfiguration

Sometimes you don't want to bind on localhost nor 0.0.0.0
This patch allow to bind DefaultSmppServer to a specific address.

Hey @pgoergler this is a useful PR.  Nice work.  Not sure when we'll do the next release to maven central -- I'm assuming you could use this pretty quickly?

authors: jjlauer pgoergler


text:
Additions to getting-started-troubleshooting.md

This is an updated addition to getting-started-troubleshooting.md. Please ignore the previous pull requests #900 and #901 (already closed).

Added fixation for an issue with resolving localhost.

@billonahill fixed.

👍

👍

👍

@maosongfu The sample error output is already written.

authors: billonahill maosongfu objmagic taishi8117

repo: twitter/heron


text:
Implement fancy tab

The feature is fully working except that it's missing skins, everything else works, even tho i would like to remove the code from the header module, and create it's own module, also some events that update it may be missing
PS: any help implementing skins will be nice

/team alias doesn't change the name in the tab
There are others bugs like this one http://imgur.com/09Eygy1

@TiTo-418 i already fixed the team join updating

@Pablete1234 Minor, but some tab UUID's match real player's UUID.

how should i go arround it?

This should be ready to use in all servers, but may have issues if the server has +70 players (even tho it shouldn't)

Only known bug atm is that hats don't show up (skins show up, but not the overlay)

Great job @Pablete1234! :clap:

@Pablete1234 look at this: http://dentmaged.github.io/docs/sportbukkit/org/bukkit/Skin.html

@xFracTV already known bug, and i have a patch for it, i'll push it later

@xFracTV fixed

Made a few notes on formatting, this is looking really great though.

when you use " ". Team name does not appear

I knew you could "/team alias blue \u00A74Red" and it would use unicode values, didn't think quotes would give problems
@twizmwazin what is the best way i could escape that?
L329: IChatBaseComponent.ChatSerializer.a("{text:\"" + displayName + "\"}")

means:
{text:" + whatever + "}

I think you figured it out. Alternately, we could prohibit certain chars from being used in team names

I don't think we need to prohibit any characters, i only need to escape the characters that go into the text, my question is, what is the best method to escape a string?

I don't think we need to prohibit any characters, i only need to escape the characters that go into the text, my question is, what is the best method to escape a string?

Backslashes are the only way to escape strings

I know that, but what method/library/util/whatever does it with all chararters that need it?

@Pablete1234 try out apache commons https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/org/apache/commons/lang/StringEscapeUtils.html#escapeJava(java.lang.String)

moved on to fancy tab V2 #956

authors: CaptainElliott Eudaldca Pablete1234 TiTo-418 dentmaged twizmwazin xFracTV

repo: twizmwazin/CardinalPGM


text:
Refactor refresh

The current implementation of refresh interval could be improved to consider system sleep.  Instead of setting a timer interval to check for refresh this could set a timer to check system time.  Then if the system sleeps for some duration the intended refresh behavior could be maintained.

i looked and i had already done this. i now added in the time it will check again in the menu as of 5077

authors: davelebbing twocanoes

repo: twocanoes/xcreds


text:
Su command for moderators

Allow moderators to run a command as the user they tag instead of wasting time repeatedly instructuing them how to run a command.

We need to understand how this will work with passing context to the command.

Won't add this. Instead we should consider separate commands for mods to quickly dump helpful information.

Won't add this. Instead we should consider separate commands for mods to quickly dump helpful information.

repo: twohoursonelife/dictator

license: Unlicense


text:
groovy output control fails #4003

actually it works fine, but the documentation (groovy-examples.bkr) is wrong it should say ...useOutputPanel = true

FIXED

do not also change the output display logic.

authors: kpaharelau scottdraves

repo: twosigma/beaker-notebook


text:
3203 render tex errors in red instead of throwing

somehow got it to work

does not fix the blue lambda.  please follow the new plan i wrote yesterday on the issue.

authors: scottdraves sluhtoja


text:
Add logging of the PID

both mpub and msub processes should report their process ID in the DEBUG notification level

done in 28b32fd

repo: twosigma/mbeat


text:
Question about data augmentation

Thanks for your code, it helps me a lot. But I have some questions about data augmentation. In the generate_train_lap_pry.m, you only used downsizing to make more training data. While in the paper, the author augments the training data in three ways, scaling, rotation and flipping. Your performance is better than the paper, but your training data only has 7488 examples. I'm confused about it.

@yuanshuai220 Hi， I am reproducing the paper result recently. The training data provided is a tiny sample, you can collect the BSD200,  T91 and general100 total 391 images as your training dataset using generate_train_lap_pry.m. I get the datasets size of (11712, 1, 32, 32). After 200 epochs, I get average psnr 31.32 on Set5 for 4X.  After server test, I find that the training datasets play a important roles in resluts.  The more richer training datasets is, the better result you will get. Meanwhile data augmentation is also important, you can add scaling, rotation and flipping function in generate_train_lap_pry.m script by yourself.

@CasdDesnDR I agree with you. If the trianing data is not enough, the nerual network will overfit with the training set. So the performance on test set is not good. I will add rotation and flipping in the generate_train_lap_pry.m

@yuanshuai220 @CasdDesnDR Please refer https://github.com/twtygqyy/pytorch-SRResNet/blob/master/data/generate_train_srresnet.m for adding flipping and rotation

@twtygqyy Hi, Thank you for sharing your code. I want to know why you convert RGB images into YCbCr colour space and only use the Y channel information. How about the results directly using all RGB channels?

Hi @baiyancheng20, I followed the LapSRN paper for the implementation. Actually, you can check https://github.com/twtygqyy/pytorch-SRResNet which I used RGB image as inputs.

@twtygqyy Hi, Thank you for sharing your LAPSRN code. I took your pytorch code from Git-hub and executed it. It works only for grayscale images.
I modified the lapsrn.py to extend support for RGB color images. Then I took just one color image from Urban100 dataset. On this image, I performed augmentations as given in  your matlab code (generate_train_lap_pry.m). I got around 165  color image patches of size 128x128. Using these image patches (h5 file ) I trained the network for 100 epochs.
For testing I modified the test.py for color images, and gave as input,
a 32x32 cropped image from the original training image. The results are very poor. I'm not sure where I'm going wrong. I have attached modified codes and my results. I request that I may be kindly given technical advise as to how I can proceed further to get the correct results.
sourcefiles.zip

@sriprabhar Hi, I understand that you tried to overfit the network on a small dataset. How is the loss looks like in your training? Did it converge well?

Thanks for your response.
I took the building image (attached) and took several overlapping patches.
Training trial 1
stride = 64 and
number of patched = 15x11 patches of size 128x128.
Convergence noticed. Attached Plot no 1.
Trained for 100 epochs
Training trial 2
stride = 16 and
number of patches were 41x57, each of size 128x128.
Convergence noticed. Attached Plot no 2.
Trained for 5 epochs using training trial 1 model as pre-trained model.
Test image

Image of size 32x32 cropped from building image
Image patch taken from building image used for training. This image is downsampled to 32x32.

I'm not sure how to solve, if its an overfitting problem. Please have a look at the attachments.

Hi,
Also, for training, we have to create dataset in hdf5 format using matlab code. For creating h5 file using patches of single image, the file size is huge. (for 165 color patches, h5 file size is around 500 MB for 57x41 patches the file size is around 3GB)
If I have a folder containing around 50 images of size 1080x1080 and if I run the matlab code for RGB color images, the system hangs.
I'm not sure if I'm following the correct methods for dataset creation and training. Thanks for any kind of help/suggestions

@sriprabhar Hi, I think the way how you generate the h5 is correct, while you will probably get to many small patches out of 1080x1080 because of the huge size. (3GB is not that big, TBH : ) )
A quick way to solve this is to change the stride when you run the matlab code for generation.
The best way to solve this is to generate multiple h5 files, create a new generator with the folder contains h5 files as input, and fetch data from one h5 at a time.

@sriprabhar also the result you plotted makes sense to me. Cause the image you tested might not be the exactly same one as you used in training. Grab one image from h5 which you used for training, and see if the result looks better.

Thank you for your response, I will give the training patch and try.
Also, one more doubt is that, the LapSRN works for Y component alone, we combined the bicubic interpolated cb and cr and merged with the Lap-srn super resolved y component. The results were good. If y component is sufficient for training and for PSNR measurement, then I would like to know why we have to train for RGB images (like in SRResNet)

Hi @sriprabhar you can have a look at section 5.1 in this paper Fast and Accurate Image Super-Resolution Using A Combined Loss. They compared the difference between training with Y and RGB for SR.

repo: twtygqyy/pytorch-LapSRN


text:
AuxiliaryData encoding is not using uint keys

The line here uses the type transaction_metadata: &KeyValuePairs<Metadatum, Metadatum> which doesn't match the Cardano binary spec. While Metadatum uses int, the spec has a special type for top-level keys called transaction_metadatum_label which uses uint instead.
Concretely, you can see in this transaction that the metadata representation used by Oura ends up being 82a21b12127f810d7dcee28264594554491907e53b08ef38d198e051b4a080 which gives the following cbor.me representation:
82                        # array(2)
   A2                     # map(2)
      1B 12127F810D7DCEE2 # unsigned(1302243434517352162)
      82                  # array(2)
         64               # text(4)
            59455449      # "YETI"
         19 07E5          # unsigned(2021)
      3B 08EF38D198E051B4 # negative(643795744601428404)
      A0                  # map(0)
   80                     # array(0)

As you can see, instead of the expected 17802948329108123211 key, we instead get -643795744601428404
You can see, for example, Cardano Multiplatform Lib uses the special label type here

thanks @SebastienGllmt. Nice catch, the metadatum label should indeed be a uint instead of the current representation.
Regardless of the required change, is it possible that you're using an old version of Oura / Pallas to generate the CBOR? The current version of the lib represents INT metadatum using a minicbor struct that allows up to 2^64, which should be able to accommodate the mentioned value.
I've downloaded the block and decoded it. The rust representation of the auxiliary data shows me:
[
    (
        Int(
            Int {
                neg: false,
                val: 1302243434517352162,
            },
        ),
        Array(
            Def(
                [
                    Text(
                        "YETI",
                    ),
                    Int(
                        Int {
                            neg: false,
                            val: 2021,
                        },
                    ),
                ],
            ),
        ),
    ),
    (
        Int(
            Int {
                neg: false,
                val: 17802948329108123211,
            },
        ),
        Map(
            Def(
                [],
            ),
        ),
    ),
],

I'm using Oura 1.3
Here are all the steps more concretely:
let event = input.recv()?;
let data = event.data.clone();
match data {
  EventData::Block(block_record) => {
    let alonzo::BlockWrapper(_, block) = alonzo::BlockWrapper::decode_fragment(payload);
    let aux_data = alonzo_block
            .auxiliary_data_set
            .iter()
            .find(|(index, _)| *index as usize == idx);
    let auxiliary_data = aux_data.map(|(_, a)| {
        let auxiliary_data_payload = a.encode_fragment().unwrap();
        println!("{:?}", auxiliary_data_payload);
    }
  }
}

authors: SebastienGllmt scarmuega

repo: txpipe/pallas


text:
Autocompletion of args in vscode is incorrect

When I try to use a gts file, it seems like if there are other autocompletions it wont show the autocompletions for my component args. However when I get to a more specific argument (past those other autocompletions) it will show, and then if you delete characters to get it back to where it wasn't showing before it will still show (and not show the other autocompletions).
I suspect this could be a env issue with my vscode but would love for someone to confirm this for me.
Here is what I am talking about with pictures.

And just to confirm, this is only in .gts files—you don't see this behavior in .hbs ones?

Thats correct. I just made a test

file with a normal template. Here is an attached picture.

repo: typed-ember/glint


text:
Warn unused is reporting on XML literals

If I am using scala-xml literals, then I am seeing compile warnings starting with Scala version 2.13.9.
Example:
import scala.xml.Elem

case class ToDoItem(name: String) {
  def toXml: Elem = {
    <to-do-item>
      <name>{name}</name>
    </to-do-item>
  }
}

Compile errors:
[error] ToDoItem.scala:5:5: unused value of type scala.xml.NodeBuffer (add `: Unit` to discard silently)
[error]     <to-do-item>
[error]     ^
[error] /ToDoItem.scala:6:7: unused value of type scala.xml.NodeBuffer (add `: Unit` to discard silently)
[error]       <name>{name}</name>

Perhaps this is a bug report for the Scala compiler? :)

You are probably right. I'll open an issue with scala-xml

Closing because this is covered under https://github.com/scala/bug/issues/12658

authors: BennyMcBenBen armanbilge

repo: typelevel/sbt-tpolecat


text:
Restore "core" projects to front page

We can quibble about which these are, but this matches the status quo.
See #347.

Yep.  I'll want us to think about what belongs here, but getting back to status quo is the right move IMO.

I'm merging what I perceive to be non-controversial ones aggressively.  Unless someone says whoa, this one's getting merged in the morning.

authors: jducoeur rossabaker


text:
Stop hogging the incredibly generic identifier "State"

Quits hogging all the cool identifiers.

:boat:

repo: typelift/SwiftCheck


text:
Drag & Drop reordering seems to be broken

In Safari the dragging of a page in the sidebar just behaves like dragging a normal link. In Firefox Typemill v1.3.6.2 does show the initial drag, but dropping or reordering has no effect.

In Firefox 68 the reordering works well, in Firefox 76 it doesn't.

Hmm, I use FF 76 in Linux and Windows and it works well, you probably use iOS? That is hard for me to test, I can check if I still have access to browserstack...

I'm using macOS 10.15. In iOS Firefox is just another Webkit browser without the Gecko engine.
But I'm so sorry 🙈. This is no bug. It's caused by the Browser-extension StopTheMadness which I forgot to disable for Typemill. Now it works even in Safari.

That is good to hear !!! 👍

authors: Tekl trendschau

repo: typemill/typemill


text:
TS for JS Programmers 페이지 내 Interfaces and Types 문구에 설정된 404 링크 제보드려요

내용:
TS for JS Programmers 페이지 내 타입 정의하기 (Defining Types) 섹션의 마지막 블럭에 설정되어 있는 Interfaces and Types 링크가 404로 안내되고 있습니다.

구글링 해보니 여기 에 대한 내용이었던 것 같긴 하네요~

동일 섹션 내에 unknown 과 never 에 설정되어 있는 링크는 여기인 것 같아요.


text:
How can I delete or put or push or patch using similar SQL's where?

I have read the total README.DOC
and can do successfully the example.
But I have a problem ,how can I delete the post with its title instead of its id.
example:
{
"posts": [
{
"id": 1,
"title": "json-server",
"author": "typicode"
},
{
"title": "rest",
"author": "Alpha",
"id": 5
},
{
"course": "restful",
"teacher": "Mr.Alpha",
"id": 6
},
{
"id": 7,
"title": "hello kit",
"author": "alpha",
"titles": "hello kit",
"titless": "hello kit"
},
{
"title": "hello world",
"id": 8
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
]
}
Can I delete the post which title is hello world ?
I know I can do it with DELETE /posts/8.
Thanks for the trouble.

You'd need to find the post(s) with the specific title you are looking for using the "q" parameter in the collection
GET /posts?q="hello world"
Then grab the IDs from the response for the DELETE call.  As far as I know there is no way to go straight to the title (or any other attribute).

A little disappointment,but thanks for your answer.    :)

authors: coconilu ryantemple

repo: typicode/json-server


text:
fix volume reference

This implements a fix suggested entirely by @zepinglee
The issue, which is described in more detail below, is that hayagriva fails to find the volume when it is stored in the articles parent.
https://github.com/typst/typst/issues/2643

Thanks!

authors: laurmaedje mpmdean

repo: typst/hayagriva


text:
Option to quickly check whether the document compiles, without producing output

Description
With the proposed feature, the typst compiler should test whether my document compiles, and exit with an appropriate exit code, in the minimal amount of time possible.
I am therefore interested in the cold, non-incremental compilation time.  I do not need a generated PDF nor do I need any other form of page output.
While the functionality is already covered by typst compile, I believe speedups should be possible when no output needs to be produced.
Use Case
I use a pre-commit hook to check whether my document compiles before allowing a commit to be made. This ensures that I do not commit broken typst sources.
As the document grows bigger and more complex, these compilations take more and more time, slowing down the commit process and productivity.
In a similar fashion, the proposed feature can be helpful in CIs for repos which version control typst documents.

Interesting, I just gave it a try in my biggest project! It indeed works, but sadly not that much faster than a real compile. Not sure if speed gains are even possible?
Hyperfine benchmark:
Benchmark 1: typst compile main.typ
  Time (mean ± σ):     12.073 s ±  0.063 s    [User: 11.772 s, System: 0.194 s]
  Range (min … max):   11.966 s … 12.125 s    5 runs

Benchmark 2: typst query main.typ '<a>'
  Time (mean ± σ):     11.869 s ±  0.086 s    [User: 11.558 s, System: 0.207 s]
  Range (min … max):   11.762 s … 11.946 s    5 runs

Summary
  typst query main.typ '<a>' ran
    1.02 ± 0.01 times faster than typst compile main.typ

There can also be errors during layout. The only thing we could skip is export, which is not that expensive typically.

should we close this?

I'm not yet sure about whether to have such a command since even export will have the capability for errors in the future, but we can in any case close in favor of https://github.com/typst/typst/issues/3792, which has seen a bit more traffic based on the reactions.

authors: laurmaedje raphCode

repo: typst/typst


text:
a few minor issues, errors, and questions

Hi buddy,
Amazing work thus far, such an awesome repo.
I'll be opening a small pull request for some minor fixes but wanted to throw these up for visibility so others can see for the record.

Tailwind auto complete/intellisence dropdown in vscode doesn't work for me when using twrnc; does it work for you am I missing any settings (could we need a tailwind config in the project UI folder so the vscode plugin picks it up)?
Remix doesn't auto refresh on any changes on ui components.

Looks like this was being discussed here:
https://github.com/remix-run/remix/issues/1193#issuecomment-1033366665

Expanding on the second point: hot-reload/refresh is working in the Expo app but not in the Remix app when making changes to the shared-ui components. I need to manually save the remix app to render changes, bit of a minor dev flow issue when making changes to a component we need to double save the changes in both remix and the UI folder.
Errors remaining that I haven't been able to solve.

"Cannot find module '~components/index' or its corresponding type declarations."
I managed to work around by just using the full path resolution when importing, which you will see in my upcoming PR as the TS component alias didn't work when using named exports or trying to export multiple component files from the UI folder.

Resolution:

I also had this error but solved it by going up one directory as it wasn't resolving the correct path to the file :)

@algoflows figured out a fix for tailwind CSS intellisence assuming you're using the extension in VSCode, you have to add style custom class attributes in the settings so it picks it up:

Also having issues with the typescript errors and resolving paths. Will dig deeper and update if I find a solution. @tyrauber any suggestions here? Assuming it has to do with eslint in a monorepo, but I have limited experience here.

authors: algoflows joelrojo

repo: tyrauber/remix-expo


text:
🛑 (dev) Tyre Pharmacy is down

In ef02097, (dev) Tyre Pharmacy ($DEVELOPMENT_TYREPHARM/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: (dev) Tyre Pharmacy is back up in 5f422fb.

repo: tyrepharm/upptime-test


text:
No more development ?

Hi @tzcnt . Have you abandoned development? I was really looking forward to a release.

Hey, thanks for reaching out. Since this past summer I have been dealing with some health issues that took me off the project for a bit. I do plan to continue this work.
Before my hiatus, I had attempted to create a comprehensive documentation suite. This led me to work on adding the next missing feature - heterogeneous awaiter combinators - which would support async cancellation or timeouts. I feel like this is a critical feature for real world async. Once this feature is complete, I think that will be sufficient for an initial release.
I'll make no promises at timelines, but given that it is now winter, it would be a good time for me to pick up this development again. Thanks for your support.

authors: pfeatherstone tzcnt

repo: tzcnt/TooManyCooks


text:
[Feature] Terminal窗口支持拖拽功能

预计在下一个release版本支持拖拽功能，计划提供鼠标拖动header和api调用两种方式实现，敬情期待~

拖拽功能已在vue2-2.0.8和vue3-3.0.6版本支持，使用方法见拖拽功能

repo: tzfun/vue-web-terminal


text:
AssertionError: Missing string id : useDefaultLabel

labelImg>python labelImg.py
Traceback (most recent call last):
File "C:\Users\Downloads\Compressed\labelImg\labelimg.py", line 1649, in
sys.exit(main())
File "C:\Users\Downloads\Compressed\labelImg\labelimg.py", line 1645, in main
app, _win = get_main_app(sys.argv)
File "C:\Users\Downloads\Compressed\labelImg\labelimg.py", line 1636, in get_main_app
win = MainWindow(args.image_dir,
File "C:\Users\Downloads\Compressed\labelImg\labelimg.py", line 124, in init
self.use_default_label_checkbox = QCheckBox(get_str('useDefaultLabel'))
File "C:\Users\Downloads\Compressed\labelImg\labelimg.py", line 87, in
get_str = lambda str_id: self.string_bundle.get_string(str_id)
File "C:\Users\Downloads\Compressed\labelImg\libs\stringBundle.py", line 47, in get_string
assert(string_id in self.id_to_message), "Missing string id : " + string_id
AssertionError: Missing string id : useDefaultLabel.

OS: Windows 10
PyQt version: 5

i have this issue also
Traceback (most recent call last):
File "labelImg.py", line 1649, in
sys.exit(main())
File "labelImg.py", line 1645, in main
app, _win = get_main_app(sys.argv)
File "labelImg.py", line 1638, in get_main_app
args.save_dir)
File "labelImg.py", line 124, in init
self.use_default_label_checkbox = QCheckBox(get_str('useDefaultLabel'))
File "labelImg.py", line 87, in
get_str = lambda str_id: self.string_bundle.get_string(str_id)
File "C:\Users\AHBOO\Documents\ObjectDetection\TFODCourse\Tensorflow\labelimg\libs\stringBundle.py", line 47, in get_string
assert(string_id in self.id_to_message), "Missing string id : " + string_id
AssertionError: Missing string id : useDefaultLabel
OS : window 10
PyQt version: 5
using Jupyter notebook

Same for me :/
File "labelImg.py", line 1649, in
sys.exit(main())
File "labelImg.py", line 1645, in main
app, _win = get_main_app(sys.argv)
File "labelImg.py", line 1636, in get_main_app
win = MainWindow(args.image_dir,
File "labelImg.py", line 124, in init
self.use_default_label_checkbox = QCheckBox(get_str('useDefaultLabel'))
File "labelImg.py", line 87, in
get_str = lambda str_id: self.string_bundle.get_string(str_id)
File "\libs\stringBundle.py", line 47, in get_string
assert(string_id in self.id_to_message), "Missing string id : " + string_id
AssertionError: Missing string id : useDefaultLabel
OS: Windows 11
PyQT version 5

Guys, there is an alternative way to execute it that don't required coding, follow this links : https://github.com/tzutalin/labelImg/releases/tag/v1.8.1 , just download extract and run the .exe files to run the labelling interface

i am also getting the same error..

@ahboon6945 which exe file you're talking about?

Hey guys! I found the solution..
Refer this code: https://github.com/sulieman-kh/LabelImg , and don't have to change the code at 1114th line.

Guys, there is an alternative way to execute it that don't required coding, follow this links : https://github.com/tzutalin/labelImg/releases/tag/v1.8.1 , just download extract and run the .exe files to run the labelling interface

Thank you! it works for me

Add the following line in labelImg.py should work
from libs.resources import *

Hi I think it was a mistake caused by the previous pull request. I will revert the change

Fixed
https://github.com/tzutalin/labelImg/commit/d685e50269387b5c5c0cb6c7d60725ae29244ee6

repo: tzutalin/labelImg


text:
feat: support sizing system in content grid and portlet card

This intends to offer a more flexible extension to the current is-small property, offering ability to create new sizes easily.

A big +1 I approve this change and I think that I will extend number of size ;)

authors: ChristianMurphy jgribonvald

repo: uPortal-contrib/uPortal-web-components