text:
🛑 Sanarous is down

In 2f07d7c, Sanarous (https://bestzuo.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sanarous is back up in e86368c.


text:
🛑 06IILeeのBlog is down

In a326354, 06IILeeのBlog (https://www.iilee.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 06IILeeのBlog is back up in 260ca01.

source: gharchive/issue

repo: iwyang/check

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 20Leonus is down

In 2f9c0c3, 20Leonus (https://blog.leonus.cn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 20Leonus is back up in 9220221 after 6 minutes.


text:
🛑 05Takagi is down

In 2305d1e, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 05Takagi is back up in 2167cae after 9 minutes.


text:
🛑 05Takagi is down

In 3e9e8ea, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 05Takagi is back up in 4188b55 after 39 minutes.


text:
🛑 21Eurkon is down

In ca28ea9, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 8e8f65b after 9 minutes.


text:
🛑 Takagi is down

In f31aba6, Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Takagi is back up in 203e350.


text:
🛑 21Eurkon is down

In 4e97afe, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in bc8e6f9 after 29 minutes.


text:
🛑 21Eurkon is down

In ee33ee0, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 5d01861 after 17 minutes.


text:
guide how to use it in xml.

I want to implement this library for my app. but i am stucked howto use this as we have code view in doc but dont know how to make my recyclerview get cast to your library?

Watch the demo, there are multiple usage scenarios.

authors: ThreeMinutesFix ixueadev

repo: ixuea/android-downloader


text:
Server error

I keep on running into the following issue when following the installation wizard.
Server error
PostInstall.SetupException: Error starting database service: postgresql at PostInstall.SetupExecutor.StartDbService() at PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action1 stateChanged, Action1 errorNotifier) at PbxWebConfigTool.PbxSetupService.CreatePbxInternal(SetupSettings settings)
Any idea what this could be?

Would you have information on the environment (host/docker) and more logs (console output and /var/lib/3cxpbx/Data/Logs/PbxConfigTool.log)?

That looks very strange. Particularly the “chown: invalid user: 'phonesystem:phonesystem'” as the user should be part of the image…
How do you run the container (e.g. docker run or compose)? Would you share the command line and/or config?
Lastly, would you share the output of “docker info”?

Docker compose conf
version: "3"
networks:
web:
external: true
internal:
external: false
services:
portainer:
image: ghcr.io/izer-xyz/3cx:latest
container_name: 3cx
restart: unless-stopped
security_opt:
- no-new-privileges:true
tmpfs:
- /tmp
- /run
- /run/lock
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
labels:
- traefik.http.routers.3cx.rule=Host(3cx.dckr.address)
- traefik.http.routers.3cx.entrypoints=websecure
- traefik.http.routers.3cx.tls=true
- traefik.http.routers.3cx.tls.certresolver=lets-encrypt
- traefik.http.services.3cx.loadbalancer.server.port=5001
networks:
- internal
- web
ports:
- 5000:5000
- 5001:5001
- 5060:5060
- 5060:5060/udp
- 5090:5090
- 5090:5090/udp
Docker Info
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
  compose: Docker Compose (Docker Inc., v2.5.0)
  scan: Docker Scan (Docker Inc., v0.17.0)

Server:
 Containers: 4
  Running: 4
  Paused: 0
  Stopped: 0
 Images: 7
 Server Version: 20.10.16
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslo      g
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
 runc version: v1.1.1-0-g52de29d
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.18.0-348.el8.x86_64
 Operating System: AlmaLinux 8.5 (Arctic Sphynx)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.585GiB
 Name: dckr01
 ID: UAMI:KNYE:VZVL:DRRW:NB7W:PTYV:SS6N:VEYD:AQSH:RBY3:MDIM:DOFC
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

All looks okay. I will have to try to reproduce with a clean install when I have some time (maybe this weekend).
In the mean time would you mind posting the full console log (with the services starting). Something like this:
irst run. Configure instance ...
Check config tool logs in case of any issues /var/lib/3cxpbx/Data/Logs/PbxConfigTool.log
Run WebConfig on port :5015
Created symlink /etc/systemd/system/multi-user.target.wants/setup-3cx.service -> /etc/systemd/system/setup-3cx.service.
chown: invalid user: 'phonesystem:phonesystem'
Start systemd

Welcome to Debian GNU/Linux 10 (buster)!

[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Reached target Sockets.
         Starting Journal Service...
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Create System Users...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create System Users.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
         Starting A high performance web server and a reverse proxy server...
         Starting Setup 3CX...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Created slice system-postgresql.slice.
         Starting PostgreSQL Cluster 11-main...
[  OK  ] Started A high performance web server and a reverse proxy server.
[  OK  ] Started PostgreSQL Cluster 11-main.
         Starting PostgreSQL RDBMS...
[  OK  ] Started PostgreSQL RDBMS.
[  OK  ] Started Setup 3CX.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.

I did a clean install and all worked.
Would you post the console log after “start systemd”?

Hi,
i have the same error. But the system isn't starting.
System: UnRAID 6.10.2
Docker: 20.10.14
First run. Configure instance ... Check config tool logs in case of any issues /var/lib/3cxpbx/Data/Logs/PbxConfigTool.log Run WebConfig on port :5015 Created symlink /etc/systemd/system/multi-user.target.wants/setup-3cx.service -> /etc/systemd/system/setup-3cx.service. chown: invalid user: 'phonesystem:phonesystem' Start systemd

If Start systemd is the last message it seems systemd isn’t starting…
Does the container quit right away? Is AppArmor enabled on the host?
Would you provide the output of the following commands ([id] is the 3cx container id):
docker info
docker exec -it [id] sh -c "ps eax"
docker exec -it [id] sh -c "netstat -ln"

Hello,
Yes, this is the last display after which the container is immediately terminated. I cannot say exactly whether AppArmor is activated.

Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 37
  Running: 16
  Paused: 0
  Stopped: 21
 Images: 36
 Server Version: 20.10.14
 Storage Driver: btrfs
  Build Version: Btrfs v4.20.1
  Library Version: 102
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc version: v1.0.3-0-gf46b6ba2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.15.43-Unraid
 Operating System: Slackware 15.0 x86_64
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 62.55GiB
 Name: XXXXX
 ID: QXDN:LSG3:EJPH:LMOY:UBKS:6OB6:Q7OX:2EGY:JOI3:LYER:MK53:GDTN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

The container is on too short so then I always get the error message Error response from daemon: Container c1c3389e785bff1a1009d731c9984ce8b04fbcd0724222fcbd1c1967731382bd is not running I get

Thanks. I will send you command line to try to get more info on what's going on but need to test first when I have some time (probably later this week). Something like this:
docker run -it —rm ghcr.io/izer-xyz/3cx:latest “/lib/systemd/systemd --log-target=console --log-level=debug”

Would you try to run this command and send the output?
docker run -it --rm  --tmpfs /run --tmpfs /run/lock -v      /sys/fs/cgroup:/sys/fs/cgroup:ro      ghcr.io/izer-xyz/3cx:latest /lib/systemd/systemd --log-level=debug --log-target=console --show-status=true

Unable to find image 'ghcr.io/izer-xyz/3cx:latest' locally
latest: Pulling from izer-xyz/3cx
Digest: sha256:348699118db4b80270c3b4b1864f0d09d71025f4b8520e42c07fa8edaf567386
Status: Downloaded newer image for ghcr.io/izer-xyz/3cx:latest
Failed to parse kernel command line, ignoring: Cannot allocate memory
systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
Detected virtualization docker.
Detected architecture x86-64.
Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio.
Failed to mount cgroup at /sys/fs/cgroup/net_cls,net_prio: Operation not permitted
Failed to create symlink /sys/fs/cgroup/net_cls: File exists
Failed to create symlink /sys/fs/cgroup/net_prio: File exists
Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
Failed to mount cgroup at /sys/fs/cgroup/cpu,cpuacct: Operation not permitted
Failed to create symlink /sys/fs/cgroup/cpu: File exists
Failed to create symlink /sys/fs/cgroup/cpuacct: File exists

Welcome to Debian GNU/Linux 10 (buster)!

Set hostname to <d6e89be65977>.
Failed to add address 127.0.0.1 to loopback interface: Operation not permitted
Failed to add address ::1 to loopback interface: Operation not permitted
Failed to bring loopback interface up: Operation not permitted
Failed to bump AF_UNIX datagram queue length, ignoring: Read-only file system
Setting 'fs/file-max' to '9223372036854775807'.
Failed to bump fs.file-max, ignoring: Read-only file system
RLIMIT_MEMLOCK is already as high or higher than we need it, not bumping.
Failed to read /proc/cmdline: Cannot allocate memory
Cannot determine cgroup we are running in: No data available
Failed to allocate manager object: No data available
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...

if i use docker run -it --rm --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro izerxyz/3cx:latest /lib/systemd/systemd --log-level=debug --log-target=console --show-status=true
Failed to parse kernel command line, ignoring: Cannot allocate memory
systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
Detected virtualization docker.
Detected architecture x86-64.
Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
Failed to mount cgroup at /sys/fs/cgroup/cpu,cpuacct: Operation not permitted
Failed to create symlink /sys/fs/cgroup/cpuacct: File exists
Failed to create symlink /sys/fs/cgroup/cpu: File exists
Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio.
Failed to mount cgroup at /sys/fs/cgroup/net_cls,net_prio: Operation not permitted
Failed to create symlink /sys/fs/cgroup/net_prio: File exists
Failed to create symlink /sys/fs/cgroup/net_cls: File exists

Welcome to Debian GNU/Linux 10 (buster)!

Set hostname to <bc683044a4c9>.
Failed to add address 127.0.0.1 to loopback interface: Operation not permitted
Failed to add address ::1 to loopback interface: Operation not permitted
Failed to bring loopback interface up: Operation not permitted
Failed to bump AF_UNIX datagram queue length, ignoring: Read-only file system
Setting 'fs/file-max' to '9223372036854775807'.
Failed to bump fs.file-max, ignoring: Read-only file system
RLIMIT_MEMLOCK is already as high or higher than we need it, not bumping.
Failed to read /proc/cmdline: Cannot allocate memory
Cannot determine cgroup we are running in: No data available
Failed to allocate manager object: No data available
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...

The container doesn’t seem to have access to the host /sys/fs/cgroup which is needed by systemd.
Do you get any errors when you run this?
docker run -it --rm --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro ghcr.io/izer-xyz/3cx:latest ls -la /sys/fs/cgroup

i found this -> https://forums.unraid.net/bug-reports/stable-releases/6102-docker-error-r1970/
my out:
total 0
drwxr-xr-x 15 root root 320 Jun  5 08:38 .
drwxr-xr-x  8 root root   0 Jun  6 10:43 ..
dr-xr-xr-x  6 root root   0 Jun  5 08:38 blkio
dr-xr-xr-x  6 root root   0 Jun  5 08:38 cpu
dr-xr-xr-x  6 root root   0 Jun  5 08:38 cpuacct
dr-xr-xr-x  6 root root   0 Jun  5 08:38 cpuset
dr-xr-xr-x  6 root root   0 Jun  5 08:38 devices
dr-xr-xr-x  6 root root   0 Jun  5 08:38 elogind
dr-xr-xr-x  6 root root   0 Jun  5 08:38 freezer
dr-xr-xr-x  6 root root   0 Jun  5 08:38 hugetlb
dr-xr-xr-x  6 root root   0 Jun  5 08:38 memory
dr-xr-xr-x  6 root root   0 Jun  5 08:38 net_cls
dr-xr-xr-x  6 root root   0 Jun  5 08:38 net_prio
dr-xr-xr-x  6 root root   0 Jun  5 08:38 perf_event
dr-xr-xr-x  6 root root   0 Jun  5 08:38 pids
lrwxrwxrwx  1 root root   7 Jun  5 08:38 systemd -> elogind

That link could explain why. Please note, I don’t think my image works cgroup v2… someone reported an issue that was never resolved ( #4 ).
The output doesn’t look good… For example the /sys/fs/cgroup/cpu,cpuacct file is missing, which systemd tried to create in your previous logs and failed as the filesystem is readonly.
I can’t really advise you any further.

authors: DjSni includes08 sinegar


text:
Fix README.md

fix typo

thx ! :smile:

source: gharchive/pull-request

license: mit

license_source: bigquery


text:
Authentication

In This Milestone:
Remove current_user method in ApplicationController.

Install and setup devise.

Can register a new user.
User logs in with a combination of email and password.
Hashed password should be stored in the database.
Ask for confirmation of email.
Can reset password

STATUS: CHANGES REQUIRED ♻
Hi @j-tee, and @ecekpo👋,
Good job so far! There are some issues that you still need to work on to go to the next project but you are almost there!
To Highlight 🎉

No linter errors. ✔
Gitflow is followed. ✔
Professional README file. ✔
PR has a good title and summary. ✔

Required Changes ♻

[ ]  Devise isn't installed properly on your application, Views are missing for the devise and I'm not able to access the sign-up and login-in pages, Please make sure the user is able to access devise views and able to sign-up and log-in. I would suggest following the steps in getting started link it will generate the devise views automatically.
[ ]  Please remove The current_user method in ApplicationController. Devise provides a method to do this.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
You can also consider: N/A
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@thecodechaser
I have my login and signup pages working. How about a zoom call so you can see for yourself?

repo: j-tee/my-blog-app


text:
ROS Package

Would it be possible if you'd include the ROS package used in the demo video ?
Was the inference time affected when the code was deployed to ROS ?
Thank you.

I am also going to use DenseFusion in a ROS Environment. It would be really great if you could provide your ROS code or could tell, how you did it. That would make implementation a lot easier.
Thank you in advance!

Same!

+1

Could someone who are using DenseFusion with ROS share code for us?
It could be much helpful for us.

Since the author did not respond until now, i switched to DOPE (Deep Object Pose Estimation) which provides a training-script as well as a ROS-Package. https://github.com/NVlabs/Deep_Object_Pose
Maybe switching would be reasonable for you too or you maybe can at least use some of the code there @Mo-637 @jonherke @eyildiz-ugoe @trevor-taeyeop @danfeiX

Thank you for the information @JRauer. DOPE does look convenient in this regard. Will do the same.

authors: JRauer Mo-637 eyildiz-ugoe jonherke trevor-taeyeop


text:
Create UMath

UMath class
At the moment I only wrote min, max
However I'd like to expand it with glm common functions such as mix, step, clamp, uintBitsToFloat, etc..

I'd also like to add methods to each unsigned type for multiplication and division as well..

May I also ask why constructors are privates?

However I'd like to expand it with glm common functions such as mix, step, clamp, uintBitsToFloat, etc..

Hmm, what are those? Would you mind sharing what they do and why they're generally useful?

I'd also like to add methods to each unsigned type for multiplication and division as well..

Sure, great idea. The naming of these methods would ideally match that of BigInteger and BigDecimal

May I also ask why constructors are privates and value final?

These classes are value types. Users should not be allowed to construct them manually, or modify the final value. Do note that Number constructors (such as Integer(int)) are finally deprecated in Java 9, as they should be: http://download.java.net/java/jdk9/docs/api/java/lang/Integer.html#Integer-int-

Since unsigned numbers in JOOU are classes we don't need these overloads:
static <T extends Comparable<T>> min(T a, T b) {
    return a.compareTo(b) < 0 ? a : b;
}

static <T extends Comparable<T>> max(T a, T b) {
    return a.compareTo(b) > 0 ? a : b;
}

@sirikid You're right, thanks for the feedback. Given the limited advantage of having actual methods called min() and max() over the comparison with the compareTo() result, I'm going to reject this PR for now, as there are currently no other useful UMath method proposals.

Hi Lukas,
just wanted to say sorry if I didn't show up further, but I got totally keen up on Kotlin now, and I am switching definitely to it...
Thanks anyway for your avaialbility and sorry again!
Giuseppe

@elect86 : Hey, no worries at all. Totally understand!

@elect86 Kotlin is addictive language :^) I'm also tried to write jOOU analogue in Kotlin, it isn't easy as it might seem at first glance.

authors: elect86 lukaseder sirikid

repo: jOOQ/jOOU


text:
🔨 Add Make targets to run the postgres sql scripts

These make targets will persist the data to the postgreSQL database.

Thanks a lot for your suggestions.
You've mixed unrelated concerns in a single pull request, mainly:

Whitespace change in readme, etc. Please refrain from doing that, it creates distractions when reviewing
A potential bug where you explicitly deleted an enum? Please create a new issue for this. It's not related to creating make targets
The main improvement of creating make targets

I will reject the make targets for these reasons:

They might work on some OS but not on others (e.g. Windows)
You only created them for PostgreSQL, not the other dialects

I'm open to improving such things, but in order to prevent unnecessary work in the future, I would expect the change to include several OS's, all dialects, and possibly even tests. It's also OK not to change anything in this area, so perhaps, let's just leave things.

authors: ksinkar lukaseder

repo: jOOQ/sakila


text:
ramp-capacity cause module to not display at all

Hi all,
I'm a newbie to polybar. When I'm trying to add the configuration for battery using  tag it's not working at all. When I remove the ramp-capacity the module appear again.
My configuration for battery
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging =
format-discharging =
label-full = %percentage%
ramp-capacity-0 = 
ramp-capacity-0-foreground = ${colors.alert}
ramp-capacity-1 = 
ramp-capacity-1-foreground = ${colors.warning}
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750

Sorry guys, I just found out the reason why, my colors alert is missing in XResources, Sorry for this :(

repo: jaagr/polybar


text:
update mongo adapter

Added Close() method for mongo adapter

Coverage decreased (-0.03%) to 49.04% when pulling 19ea58c629522524f6cf11fd600fe725f7c114b5 on devghosh:mongo_update into ca56a0197fc678d4bfffa06f60f3a738ae1c38f1 on jabong:master.

Coverage decreased (-0.03%) to 49.04% when pulling 19ea58c629522524f6cf11fd600fe725f7c114b5 on devghosh:mongo_update into ca56a0197fc678d4bfffa06f60f3a738ae1c38f1 on jabong:master.

authors: coveralls devghosh

repo: jabong/florest-core


text:
Develop a Log utility to show data.

WEBSOCKET REQUEST: [2015-08-10T09:52:53+02:00]
GET /tail/?app=c2821f8f-3671-48ff-b3ba-20eeb15e255e HTTP/1.1
Host: wss://loggregator.MY_IP.xip.io:4443
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: [HIDDEN]
Origin: http://localhost
Authorization: [PRIVATE DATA HIDDEN]

WEBSOCKET RESPONSE: [2015-08-10T09:52:54+02:00]
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-Websocket-Accept: xdXbtZjCfzGQ2sKQ1ahMLgFD8II=

Starting app StaticWebsiteHelloWorld in org DevBox / space dev as admin...

http://docs.run.pivotal.io/devguide/deploy-apps/streaming-logs.html

https://github.com/websockets/ws

Fixed

repo: jabrena/cf-nodejs-client


text:
Create grading sheets as part of panel pack

Background
User Story
Feature(s) Description

[ ] Feature

Acceptance Criteria
Definition of Done

[ ] User stories/acceptance criteria met
[ ] Internal reviews passed (feedback actioned)
[ ] User testing passed
[ ] Relevant technical documentation updated
[ ] User guidance updated
[ ] Deployed and merged without errors

User Testing Steps
Specify for users what is being tested (but not how to test it.)

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub @warrensearle

Please add your planning poker estimate with Zenhub @KoWeiJAC

@drieJAC let's pair on this ticket!
Just to clarify this is a digital-platform task, no UI is needed as part of this ticket.
In the first iteration (spike) please could you look at creating a Sheet on Google Drive (as part of the panel pack export) and see if you can create fields/columns which restrict what values can be entered (I guess like a dropdown). For example we would like to have columns on the sheet with the following input types:

Grade (only allow A, B, C or D as input value)
Yes / No (only allow Yes or No as input value)
Pass / Fail (only allow Pass or Fail as input value)
Level (only allow None, Basic, Medium, High as input value)

For the Document we create on google drive we cheat slightly by creating HTML and then converting this to a Google Doc. In this instance I think we'll need to do things properly and use the Drive API (or Sheets API?) so that we can (hopefully) define the input values as described above.
Let me know when you are done with the above as at that point I should have a defined data model for you to use. Essentially there will be an array of columns where each column has a ref and a type, for example:
[
  { ref: 'PQE', type: 'grade' },
  { ref: 'Welsh questions', type: 'level' },
]

authors: HalcyonJAC nickaddy warrensearle

repo: jac-uk/admin


text:
Change type to string to solve props validation warning

If we use the props width with a string we will receive the following  message:
ExceptionsManager.js:73 Warning: Failed prop type: Invalid prop width of type string supplied to Dialog, expected number. in Dialog (at PopupDialog.js:23)
But in this way everything works fine.
However if we use with as number we get this error:
JSON value '90' of type NSString cannot be converted to a YGValue. Did you forget the % or pt suffix?
And break the app.

@kleyson I don't know why you got the error JSON value '90' of type NSString cannot be converted to a YGValue. However, width must a number type.

Hi @jacklam718,
This error (and warning) showed up when I upgraded react to version 16.0.0 and react-native to 0.48.4. Anyway, putting a number in there break everything... 😬


text:
allow /* comment */ in json parser

Hi Jacob.
I've hacked the json parser a bit to allow /**/ style comment, with a stupid test case attached. If you think this needs more work or you don't like this feature please let me know :)

LGTM, thanks! Closes #22

Thanks for the quick turnover!

authors: jacobdufault jagt

repo: jacobdufault/fullserializer


text:
Metal Archives handling of lyrics

This is just to chime in on your message to H2Swine about having Openlyrics continue to search past Metal Archives if the results produce a "(lyrics not available)" return.
The Metal Archives website returns the message "(lyrics not available)" if an Advanced Search (Band and song title) DOES find a hit for that band and song on the website but the lyrics for that song are not available to them.  In that case, clicking on the "Lyrics" column in the Search results will show the "(lyrics not available)" message below the search results line.  A full example is below:

It would be nice if OpenLyrics could interpret that as a non-hit and just continue to another provider.  Another popular source that behaves like this is SongLyrics, which in the same circumstance will return a message "We do not have have the lyrics for (song title) yet" and the search stops. Example from website:

Thanks for the examples. Tagging @H2Swine for visibility in case they'd like to add anything or track this.
For completeness, the comment you're referring to is in #253 (specifically this one)

Just for simple examples in the Metal Archives lyrics URL format:
Available: https://www.metal-archives.com/release/ajax-view-lyrics/id/1234
Not available: https://www.metal-archives.com/release/ajax-view-lyrics/id/12345

@jacquesh show a popup to notify user of new features and sources I just remembered metal-archived is added

authors: H2Swine Rexadev jacquesh sveakul


text:
Translate sentence by sentence

Can I load the model once and give as input a single sentence and accordingly get the response and repeat the process?

Why not?  Assuming you have a trained model to load.  Did you try it?

@nikhiljaiswal
It could be done now (and can only be done in this style).
Please take a look on the newest code. Thanks!
Hope this helps.

authors: colllin jadore801120 nikhiljaiswal


text:
🛑 DN0 Social is down

In db754e5, DN0 Social (https://soc.jae.fi) was down:

HTTP code: 502
Response time: 409 ms

Resolved: DN0 Social is back up in 1556b45.


text:
build(dependencies): update devDependencies and configuration

Closes #39 and #40

:tada: This PR is included in version 1.1.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: jaebradley/wakatime-cli


text:
plugin/storage/badger/spanstore: use (TB).TempDir not hardcoded non-portable /mnt/*

Previously the Benchmark code ALWAYS assumed that "/mnt/ssd/" would
exist, yet when there is no permission or on read only systems,
using it would fail. This change instead uses the benchmarks'
temporary directory as the base for operations.
Fixes #3301
Signed-off-by: Emmanuel T Odeke emmanuel@orijtech.com

I see that the commit is signed but the DCO is failing.

authors: odeke-em pavolloffay

repo: jaegertracing/jaeger


text:
Issue #3349 - enable -shuffle=on in tests

Which problem is this PR solving?

Resolves #3349

Short description of the changes

Enabling shuffling in tests

Generally I am not aware of inter-test dependencies, we always tried to keep tests independent. I see that TestAggregateThroughput is failing, which is a relatively recent test, some side-effect dependency might have sneaked in & we should fix it.

Generally I am not aware of inter-test dependencies, we always tried to keep tests independent. I see that TestAggregateThroughput is failing, which is a relatively recent test, some side-effect dependency might have sneaked in & we should fix it.

Found the source of the bug: global variable :relieved:
My approach in the test was to change all the global variables of the file to methods which return the same value, this way we cannot share state across tests (even in future developments)

Update on this one:
TestHotReloadUIConfigTempFile fails now. I think shuffle is already paying some dividends spoting flakiness.
It will probably take a while for me to troubleshoot those issues as I'm not yet familiar with the code.
Another intriguing thing is that the all-in-one tests fail but only for the debug image, the release one works fine :thinking:

authors: rbroggi yurishkuro


text:
Add Kafka exporter and receiver configuration

Which problem is this PR solving?

Resolves #4868

Description of the changes

Add config files for replacement of  jaeger-collector and jaeger-ingester.
Add the architecture for the integration tests for kafka.
Add e2e integration tests for Kafka.

How was this change tested?

Manually ran the collector, ingester configs to check if the data is being pushed and pulled the right way and verified the architecture.

Checklist

[x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[x] I have signed all commits
[x] I have added unit tests for the new functionality
[x] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

Lgtm, but we need e2e tests

Yeah, will get started on it!

Do you need to add this new test to the gh workflow? I don't see how it's getting run now.

Yes, I'll be doing that

I think we should merge this is the build is green. It's not running the e2e test, but we can add that in a separate PR.

I think we should merge this is the build is green. It's not running the e2e test, but we can add that in a separate PR.

Yeah sure, i'll open another PR for the e2e test


text:
[FR] Transient fields

Since I see a natural evolution of astronomy to be a forms framework, I'd like the fields to have a selective:

persisted
transient

property where persisted is default but if marked as transient it becomes a part of the model and not saved in the db.
A practical use of transient fields would be form fields where we would like to validate, but only save a calculation or part of. For example, a form may consist of an address part where the user needs to enter areacode, areaname, district, province, city, state but evidently, only areacode is sufficient to deduce that whole set of fields. So I would not want to persist the whole thing, only the areacode.
This goes for the view as well, such that the user would be able to see the complete address information that is only derived from a few persisted fields.
Another example would be two fields, age<integer> and isAdult<boolean> where age needs to be persisted but isAdult is actully age>=18.
I know some of this can be done using methods, but I believe methods should be reserved mostly for mutators.
Actually, that kind of semantics goes for relationships as well, indicating that a field is actually a reference to another database object that is mapped by it.
This is actually not new, they are concepts from java's persistence api implementation. This is a very brief, but effective read: http://www.objectdb.com/java/jpa/entity/fields
PS: It also discusses @version which is used for optimistic locking of database records, and may be a good candidate to become a behaviour in astronomy.

Thanks for this FR. It's good idea but it will probably be the part of the forms module instead of the feature in the model / schema. I'm going to introduce the Form class that will store class instance with all the persisted fields. On the level of the form you will define what fields (from schema) do you want to be visible as the form fields. You will be also defining list of transient fields. I hope it makes sens.

Yes it makes sense and it would actually cover the whole field if you also provided form states: create/update/view.
Also, regarding the definition of visible form fields, does this mean that a model and its form will have a one to one mapping? Are we going to be able to create multiple forms that use the same model fully or partially?
For example, we could have a form to create a user, but have a different form to update the user profile in which some information cannot be updated, perhaps not even displayed.
Considering such scenarios, and form states, I would rather see something like this:

a forms module that can be used to create multiple forms and each form has form-scoped properties (style classes, attributes, form state etc) as well a list of the fields that are available to the form and for each field, properties such as readonly, visible, hidden, style classes, attributes etc.

I've never heard before about the view form. I assume that you think just about displaying a document without possibility to edit it. I don't think that it should be a part of the forms module.

Yes, it will be possible (by default) to map one to one. However, you will be able to omit some fields or add transient fields (inputs).

Yes, you will be able to create multiple forms based on the same model. It's especially important when considering two forms types (create, update). You will be able to define two separate forms, one for creating and one for updating a document. Of course, you always can use one form for both tasks.

Yes, it will be possible to define some fields attributes. However, in the first version it will be simplified. I want to create base form package that we can build upon. Some people only need tool for binding their forms (created with any custom tool) with a model, so it's not reason to build complex tool. It's much better to add additional package if you need higher complexity.

It is a concept from java server faces (facelets) and JPA (java persistence api) where a view of a form can be created by automatically rendering text values instead of form controls.

2-4. :+1:

Ok, I will think about it. If it will be desired feature I will implement it.

An easy v0.0.1 hack would be to automatically add the readonly attribute to all form fields/elements and add custom styles to override the form look&feel to make it look like divs.
select [readonly], input [readonly], textarea [readonly] {
  border: none;
  background-color: transparent;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

Ok, I will take it into consideration :)

Transient fields implemented and will appear in the 1.0 :). It was quite tough feature to implement however I'm happy that I gave it a try. During implementation I've noticed some problems with other elements that could have side effects in the future. "So I've killed two birds with one stone" :).
Wow, I've just noticed that you've proposed this feature July 23, it was almost 50 days ago. It took me a lot of time to get from the previous version to almost 1.0 :). But all main features are implemented. Now I have to add some tests and check if everything works correctly :).

Wow, great to hear that. I'm looking forward to giving 1.0 a go!

authors: jagi serkandurusoy

repo: jagi/meteor-astronomy


text:
[Feature Request] Add a config option to allow the bot to accept commands from other bots.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe the basic flow/steps of using this feature
How this feature would be used:

Set something '...'
Run some command '...'
Other steps or related info '...'
...

Additional context
Add any other context or screenshots about the feature request here.
Have you confirmed that this idea is not already described here?
https://github.com/jagrosh/MusicBot/projects/1

This won't be added, as it is generally bad practice for a bot to listen to other bots, and usually there is some other underlying reason why this would be wanted (and thus it would be better to just make that improvement instead of layering bots).

repo: jagrosh/MusicBot


text:
It's not working again

Pretty explicit. I'm on Discord for Window on stable 134842 (3e9741b)

Mb I forgot to mention I was talking about Hidden Channel sorry !

repo: jaimeadf/BetterDiscordPlugins


text:
Forwarding arguments?

I'm not sure if this feature would be useful or necessary at all, and honestly this may just stem from my bash inexperience, but I'm having trouble forwarding (if this is the correct expression) arguments to a command that is run by mask.
For simplicity sake, say you are building a binary with cmake and attempting to run the output:
Binary usage is such:
$ ./HelloWorld -n <NAME> -l <LANG>
My mask script looks like this:
## standalone

> Builds and runs the standalone executable (cli) portion of the project

**OPTIONS**
* run
    * flags: -r --run
    * type: boolean
    * desc: Run the standalone executable after building

* args
    * flags: -a --args
    * type: string
    * desc: The args to pass to the executable when it is run (flag will be ignored if run is not also passed). If not provided the default will be '--help'.

```bash
INPUT_ARGS=${args:-"--help"}
cmake -S standalone -B build/standalone
cmake --build build/standalone

[[ "$run" == "true" ]] && ./build/standalone/HelloWorld $INPUT_ARGS
\```
(^ Ignore this backslash, it was the only way I could get this block to close)

But I'm getting errors from Mask regarding unexpected arguments (-n flag):
$ mask standalone -r -a "-n Tony"
error: Found argument '-n' which wasn't expected, or isn't valid in this context

USAGE:
    mask standalone --args <args> --run

For more information try --help

Please let me know if I'm doing something wrong or if this is indeed expected behavior, and whether there can be option to forward remaining args "inside" the mask command.
Edit: Sorry for the edit, I fat fingered control + enter to submit this too soon.
Edit2: I'm bad at formatting.

Hey @tonyb983, it appears you've found a bug with our argument parser!
I was testing this using the cmd block below to find out what was going on:
INPUT_ARGS=${args:-"--help"}
[[ "$run" == "true" ]] && echo "$INPUT_ARGS"

When running mask standalone -r --args "-" it succeeds and prints -.
However, when running mask standalone -r --args "-X" using any character where X is located, then I get the same error as you:
error: Found argument '-X' which wasn't expected, or isn't valid in this context
This is because our cli args parser (clap) seems to be confusing it for an argument even though it's wrapped in quotes.
I also tried adding a space after the quote and before the dash: mask standalone -r --args " -X". This actually works! You might be able to use this as a workaround in the meantime until we find a fix for this.
As for a real fix, we might be able to workaround that bug, but it's probably worth trying to update clap first and maybe taking a look at their documentation for an option we can use to allow/ignore dashed args it doesn't know about.

repo: jakedeichert/mask


text:
False throw fix

Because libssh2_channel_read_ex can return 0.
"Note that a return value of zero (0) can in fact be a legitimate value and only signals that no payload data was read. It is not an error."
http://manpages.org/libssh2_channel_read_ex/3

The command "brew install libssh2" failed and exited with 1 during . -1:

Thanks for your contribution!

authors: BigTows jakeheis

repo: jakeheis/Shout


text:
BE | Create Django App

Probably only need a single App to begin with, perhaps 'Trips'?
Maybe later we could include Wishlist as a seperate App, or as a different model within Trips.

Hi @jakjarvis, Can I solve this issue?
Please,elaborate about this issue little bit in depth.

Hi @apoorvthedude , thanks for reaching out - actually this is really just a project for me and my friend to learn about Django and React, we're not really ready to collaborate more widely until we know a bit more about what we're doing. Honestly I didn't know these issues were visible publicly!

Okay

authors: apoorvthedude jakjarvis

repo: jakjarvis/dream-itinerary


text:
Activity Stream

Hello,
This thread is about feature request.
Activity Stream when someone pull/push a code into repository would be great.
Thanks!

What exactly are activity streams?

They are a activity that occurred in all repos such as someone push some codes into the repo like in GitLab.
https://about.gitlab.com/images/feature_page/activity_stream_full.png

@rabin111 In Bonobo, which doesn't have issue tracking or pull-requests, would you see anything in this list other than commits?

Same as #304

repo: jakubgarfield/Bonobo-Git-Server


text:
Fix #396 #295 #394 #374 Fix WindowsAuth with Internal DB

Added option ImportWindowsAuthUsersAsAdmin to be able to import all users automatically as admins if wanted. The first user is always imported as admin.
Since we cannot store the Password (we never see it) added WindowsAuth also to Gitauthorization.
Usernames are now saved again with the domain separator in the name as that is how i see it on the back side.
The edit user page does not work at the moment. I'm lookin into it.
Hopefully this fixes #396 #295 #394 #374 without introducing too many new problems.
Pinging @Ollienator since he introduced most of the new OWIN auth part.

There are two remaining issues:
The personal repository links can be mangled if there is a \ in the username. I have no idea on how to fix this as the doman is required to log in with git.
When viewing a repository details it wll show the userid instead of a pretty name. This is because the RepositoryModel only gets UserIds. Maybe on a second PR this can be fixed.


text:
Styles with capital "I" in !Important disappear

If I use !Important with capital "I" at the beginning, clean-css just removes all the property.
Fore example
.some-class{
  position: fixed!Important;
}

This selector will just disappear from final file.

Released in 3.4.11, thanks @antonkhrit for the fix!

authors: antonkhrit jakubpawlowicz

repo: jakubpawlowicz/clean-css


text:
License

Hi,
Can you please add a license. Thank you.

Hi, it's done and you were right to ask for it because I simply forgot to add it, so I did for all my packages thanks! (MIT license)

authors: fxv jalik

repo: jalik/jalik-roles


text:
🛑 Repo1 is down

In 3208373, Repo1 (https://repo1.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Repo1 is back up in 657fdaf after 4 minutes.

repo: james-martinez/dso-mil


text:
network.go

need the network.go to be working

Issue was fixed

repo: jameson-m-jolley/Gorebrum


text:
Add typescript example to the readme

Currently there are questions as to how the typescript integration works and so adding an example should clear that up for people interested in using typescript for their projects.

Blocked by #117

Hi! I don't think the types are actually being exported correctly right now when you are publishing versions of the package - I think you need to add
"types": "dist/index.d.ts"

to your package.json.
See https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Hi! I don't think the types are actually being exported correctly right now when you are publishing versions of the package - I think you need to add

"types": "dist/index.d.ts"

to your package.json.
See https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

@disambiguator I will test this as part of the fix I am trying to find for #117, this might be the issue, will validate tomorrow 👌🏻

This is currently blocked by #117. Until we resolve the P5Instance interface issue that currently exists, there isn't a reason to add TS documentation. Hoping to resolve #117 ASAP.

authors: disambiguator jamesrweb


text:
BallGridBeat animation is broken.

Describe the bug
When using BallGridBeat there is no animation.

:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: jameswlane/react-pure-loaders


text:
Update to embedded_graphics with prelude

Embedded graphics got a prelude in jamwaffles/embedded-graphics@c5b8eb36425b172cab7b3d33b045b1ef8f71c3bd.
This allows us to fix a lot of the import noise for using embedded_graphics. I've also removed the embedded_graphics dependency from your terminal demo @therealprof.
Some rustfmt stuff snuck in as well, mostly item ordering.

Woohoo!

authors: jamwaffles therealprof


text:
Multiprocessing based concurrency

Hi thanks for the great library!
I have gone through the docs, past issues and a good part of the code but haven't found anything related to multiprocessing based concurrency. There are jobs that wont benefit much from the current async based approach but would still like to continue using pgqueuer for the convenience it brings me.
Is it already there and I have missed it or are there any plans to implement such a thing if not?
This is not a deal breaker as I imagine that I will be fine if I just spawn multiple process workers. Is this this correct? In some ways this is better than multiprocessing, less limitations about what can be done and better process isolation are the first that come to my mind.
My first idea is to have a shell script create and background N workers.
Edit: I went looking around and found the workers branch!

I tried to run multiple separate instances of pgqueuer manually but either i do not understand something of they just work kinda wonky for me- when i queue multiple jobs in batch it is always all picked by a single worker process.

Thanks for the interest and for digging into the details!
This is actually something I've been working on and off with, but I haven't yet found a solution that I'm completely satisfied with. The current "workers" branch, as you've discovered, just creates more instances of PGQueuer, but doesn't directly submit jobs to a new process.
Adding proper multiprocessing support could indeed be fairly straightforward, but I'm a bit reluctant to implement it right away. My concern is that it could easily lead to what I'd call "process spawn flooding," where too many processes are spawned without adequate management, leading to performance degradation or instability.

I tried to run multiple separate instances of pgqueuer manually but either i do not understand something of they just work kinda wonky for me- when i queue multiple jobs in batch it is always all picked by a single worker process.

you need to use @qm.entrypoint("...", concurrency_limit=1) to dispath jobs to multiple worker.

Depending on how you want the system to behave, it might be worth to take a look at https://pgqueuer.readthedocs.io/en/stable/limits.html#serialized-dispatch as well. This ensures one(1) 'global' running task. While the 'concurrency_limit' is local (jobs per processes)

FYI: playing with the idea of merging something like this https://github.com/janbjorge/pgqueuer/pull/155 it will allow you to write custom executors.

may also need to。set batch_size to 1

I merged #155 this allows the creation of custom execturs. In the below (untested) executor will run the decorated function in a new process (given its not async).
class ProcessesExecutor(JobExecutor):
    def __init__(
        self,
        func: Entrypoint,
        requests_per_second: float = float("inf"),
        retry_timer: timedelta = timedelta(seconds=0),
        serialized_dispatch: bool = False,
        concurrency_limit: int = 0,
    ) -> None:
        self.func = func
        self.requests_per_second = requests_per_second
        self.retry_timer = retry_timer
        self.serialized_dispatch = serialized_dispatch
        self.concurrency_limit = concurrency_limit
        self.is_async = is_async_callable(func)
        self.processes_pool = ProcessPoolExecutor()

    async def execute(self, job: models.Job) -> None:
        """
        Execute the job using the wrapped function.

        Args:
            job (models.Job): The job to execute.
        """
        if self.is_async:
            await cast(AsyncEntrypoint, self.func)(job)
        else:
            await asyncio.get_event_loop().run_in_executor(
                self.processes_pool,
                self.func,
                job,
            )

qm = QueueManager(...)

@qm.entrypoint(name="heavy_cpu_func", executor=ProcessesExecutor)
def heavy_cpu_func(job):
    ...

This looks a little bit unnecessary since it's easy to do this?
    executor = ProcessPoolExecutor()

    @qm.entrypoint(name="heavy_cpu_func", concurrency_limit=1)
    async def execute(job):
        await asyncio.get_running_loop().run_in_executor(executor, heavy_cpu_func, ...)

@trim21 Great suggestion! Leveraging ProcessPoolExecutor within run_in_executor() is a natural way to manage spawning processes while mitigating process flooding risks.
However, there are cases where a custom ProcessesExecutor might be particularly useful. For example, if you need more structured process management or want to encapsulate specific retry logic, rate limiting, or other execution parameters that are challenging to implement directly with ProcessPoolExecutor, a reusable executor can help reduce boilerplate and improve maintainability.

However, there are cases where a custom ProcessesExecutor might be particularly useful. For example, if you need more structured process management or want to encapsulate specific retry logic, rate limiting, or other execution parameters that are challenging to implement directly with ProcessPoolExecutor, a reusable executor can help reduce boilerplate and improve maintainability.

This can be done by this:
    executor = ProcessPoolExecutor()

    @qm.entrypoint(
        name="heavy_cpu_func",
        concurrency_limit=1,
        retry_timer=timedelta(seconds=10),
        requests_per_second=3,
    )
    async def execute(job):
        await asyncio.get_running_loop().run_in_executor(executor, heavy_cpu_func, ..

Thanks @janbjorge and everybody for the discussion and the solutions offered. I will try them as soon as I can.
@trim21 I think @janbjorge was meaning a more general scenario than the specific examples that were presented. To my mind comes managing GPU resources for example.

@trim21 I think @janbjorge was meaning a more general scenario than the specific examples that were presented. To my mind comes managing GPU resources for example.

Yes, I understand, and I'm suggesting do it in nature asyncio way, a new executor type is not very necessary here.
A example in mind:
import asyncio
import contextlib
import os
import time
from collections.abc import Callable
from concurrent.futures import Executor
from concurrent.futures.thread import ThreadPoolExecutor
from datetime import timedelta

import asyncpg
from pgqueuer.db import AsyncpgPoolDriver
from pgqueuer.models import Job
from pgqueuer.qm import QueueManager

def run_in_executor(executor: Executor, sem: asyncio.Semaphore | None = None):
    if sem is None:
        sem = contextlib.nullcontext()

    def wrapper(fn: Callable[[Job], None]):
        async def wrapped(job: Job):
            async with sem:
                await asyncio.get_running_loop().run_in_executor(executor, fn, job)

        return wrapped

    return wrapper

async def create_qm() -> QueueManager:
    connection = await asyncpg.create_pool("...")
    driver = AsyncpgPoolDriver(connection)
    qm = QueueManager(connection=driver)

    @qm.entrypoint(
        "heavy_cpu_func",
        concurrency_limit=8,
        retry_timer=timedelta(seconds=60),
        requests_per_second=3,
    )
    @run_in_executor(
        ThreadPoolExecutor(max_workers=32),
        asyncio.Semaphore(4),  # give you extra parallel control, for GPU maybe
    )
    def heavy_cpu_func(job: Job) -> None:
        print("run in process {} start".format(os.getpid()))
        time.sleep(10)
        print("run in process {} done".format(os.getpid()))

    return qm

@GCBallesteros Can I close the issue? Or do you have another questions/comments?

@janbjorge Yes, sorry for the late reply. I think that with the latest additions and all of the suggestions provided above I should have plenty to resolve all my issues.
Thanks for the library again!

authors: GCBallesteros janbjorge jumski trim21

repo: janbjorge/pgqueuer


text:
Updated Ppx_deriving interface for version 4.0

I just copied in the new signature from ppx_deriving 4.0. Tests ("make test") seem to pass fine.

Can confirm, once applied, this patch make it possible to use latest ppx_deriving and ppx_type_conv, as well as other derivers (tried ppx_sexp_conv and ppx_jsobject_conv).
Would be really great finally merge this and be able use ppx_type_conv and ppx_deriving.
@diml, wdyt?

Alright, I imported the same fix as in the master branch and did a new minor release: https://github.com/ocaml/opam-repository/pull/7368

authors: diml juanchanco little-arhat


text:
Fix spork/stream/lines. Refine spork/stream functions.

spork/stream/lines ignored separator argument. Now, it is respected.
separator argument in spork/stream/lines is now a named argument.
minor issues with docstring in spork/stream functions are fixed.
supervisor argument is added to spork/stream/lines-channel. The supervisor channel is notified of stream errors.
closing the channel returned by spork/stream/lines-channel finishes the tasks that feed the channel.

I think it is ready.

Thank, god. It's over.

repo: janet-lang/spork


text:
Optimize and cleanup code

Show date in readable format.
Appropriately pluralize upvote and comment.
Make URLs easily readable.
Deal with duplicate code.

Complete.

repo: janimuhlestein/just-tech-news


text:
Exception when reading/writing many consecutive objects

I was getting/putting and committing a bunch of objects to the database. Got an exception eventually:
Exception in thread "main" java.io.IOError: java.io.IOException: Serializer readed more bytes than is record size.
at net.kotek.jdbm.BTreeSortedMap.put(BTreeSortedMap.java:257)
at PersistenceTest.main(PersistenceTest.java:61)
Caused by: java.io.IOException: Serializer readed more bytes than is record size.
at net.kotek.jdbm.BTreeLazyRecord.fastDeser(BTreeLazyRecord.java:73)
at net.kotek.jdbm.BTreeNode.readValues(BTreeNode.java:1002)
at net.kotek.jdbm.BTreeNode.deserialize(BTreeNode.java:943)
at net.kotek.jdbm.BTreeNode.deserialize(BTreeNode.java:43)
at net.kotek.jdbm.DBStore.fetch2(DBStore.java:386)
at net.kotek.jdbm.DBStore.fetch(DBStore.java:356)
at net.kotek.jdbm.DBCache.fetch(DBCache.java:269)
at net.kotek.jdbm.BTreeNode.loadNode(BTreeNode.java:829)
at net.kotek.jdbm.BTreeNode.insert(BTreeNode.java:388)
at net.kotek.jdbm.BTreeNode.insert(BTreeNode.java:389)
at net.kotek.jdbm.BTree.insert(BTree.java:281)
at net.kotek.jdbm.BTreeSortedMap.put(BTreeSortedMap.java:255)
... 1 more

Would you post some code to reproduce this issue? Is it with recent Alpha2?

It was in Alpha1. Not seeing it in Alpha2 so the issue can be closed.

authors: ajermakovics jankotek


text:
IRB history (up arrow key) prepends a few characters to the command

irb(main):001:0> p "first command"
irb(main):002:0> p "second command"

Now if I press up twice to remember first command, I get this
irb(main):003:0> p "second command"    first
______________________________________^
And I can only delete to here
I then have to control-C to goto a new empty line
In my .irbrc:
require 'fancy_irb'
FancyIrb.start({:colorize => {:input_prompt => [:white]}})

I cannot reproduce; it is probably readline-related, though.
Can you please give your: Readline::VERSION


text:
Package audit lodash security issue moderate with Prototype Pollution

Hi,
Can we do a patch update of lodash version to 4.17.11? yarn audit is giving a moderate security issue of Prototype Pollution. Thanks.

I created a PR for that: https://github.com/jantimon/iconfont-webpack-plugin/pull/34

I don’t see why the pull request would fix this issue as the or upgraded only nyc but not lodash

Problem was a peer dependency of nyc:
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ handlebars                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ nyc [dev]                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ nyc > istanbul-reports > handlebars                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/755                       │
└───────────────┴──────────────────────────────────────────────────────────────┘

Removed lodash

authors: Kennypt danielkoch jantimon

repo: jantimon/iconfont-webpack-plugin


text:
[ACR Plugin] QE for ACR plugin

Description:
Test ACR plugin and update test plan
Acceptance Criteria:

[ ]  Test Plan

Hi @invincibleJai,
Please review e2e test case. Thanks,
OCI Registry (ACR) plugin install and verification (readme/instruction)
Prereqs:

setup instance of ACR server and obtain an authorization token

OCI Registry (ACR) plugin install and verification:

install @janus-idp/backstage-plugin-acr plugin and enable it
start backstage and navigate to the ACR tab for a component with the 'azure-container-registry/repository-name' annotation
navigate to the ACR tab and check if you can view the tags, last update and Manifest (SHA) of an image related to a catalog deployed by an image in the Azure Container Registry
test the table to see if moving to next/prev/first/last page works
test the table filtering/sorting functionality and page size

Hi @invincibleJai, Please review e2e test case. Thanks,
OCI Registry (ACR) plugin install and verification (readme/instruction)
Prereqs:

setup instance of ACR server and obtain an authorization token

OCI Registry (ACR) plugin install and verification:

install @janus-idp/backstage-plugin-acr plugin and enable it
start backstage and navigate to the ACR tab for a component with the 'azure-container-registry/repository-name' annotation
navigate to the ACR tab and check if you can view the tags, last update and Manifest (SHA) of an image related to a catalog deployed by an image in the Azure Container Registry
test the table to see if moving to next/prev/first/last page works
test the table filtering/sorting functionality and page size

@josephca yeah this looks good

authors: invincibleJai josephca

repo: janus-idp/backstage-plugins


text:
feat(tekton): add support for downloading task and pipelinerun logs

Fixes:
https://github.com/janus-idp/backstage-plugins/issues/878
Description:
Add download actions to download task and pipelinerun logs.
Screenshots:
https://github.com/janus-idp/backstage-plugins/assets/9964343/d7f5c36c-d447-4de7-b213-049a5882905b

Steps to test:

Click on task node to open the logs modal.

Unit tests:
  getPodLogs
    ✓ should return empty logs if there are no pods (3 ms)
    ✓ should return logs if there are pods (1 ms)

  PodLogsDownloadLink
    ✓ should download the pipelineRun logs (74 ms)
    ✓ should disable download button during download and enable it back the process is complete (30 ms)

  PipelineRunLogDownloader
    ✓ should return download links (47 ms)

  getPodLogs
    ✓ should return empty logs if there are no pods (2 ms)
    ✓ should return logs if there are pods (1 ms)
    ✓ should display logs only for the pods that has logs

@karthikjeeyar could you resolve the code smells ?

Thanks @karthikjeeyar for working on this. Overall looks good. Can you add tests for components as well?

@karthikjeeyar While click on download i see the file name by default is undefined Can we use the task name ?

Hmm, I'm not seeing this last column when testing this locally but I do see these download links that are disabled, are there any additional required labels for this link to work?  Also, the disabled links still seem to do something, so that probably needs to be fixed, for example clicking on the "Download" link in dev mode reveals this error:

While click on download i see the file name by default is undefined Can we use the task name?

Task name & pipelinerun name is used for Download and Download all task logs button respectively.
In this case it seems like there isn't any valid pods available to fetch the logs, so I have added check to not show the download buttons if there are no pods and added more tests.

Thanks @karthikjeeyar works as expected. In the dev setup I observed option to download is not shown i blv that is because we would need to mock the proxy response for logs. It'll be nice if we can get this.

@invincibleJai I have mocked theKubernetesProxyApi.getPodLogs method in dev mode, now logs will be displayed and download buttons is functional in dev mode as well.
https://github.com/janus-idp/backstage-plugins/assets/9964343/c0154213-0787-468b-a6f2-02f40f3cb4ce

authors: debsmita1 gashcrumb invincibleJai karthikjeeyar


text:
chore(orchestrator): point the README at the new backstage-orchestrator-workflows repo

Signed-off-by: Roy Golan rgolan@redhat.com

/approve

authors: kim-tsao rgolangh


text:
fix(techdocs): hiding raise issue

Description
Please explain the changes you made here. : Removed raise issue button on selecting the text of docs
Which issue(s) does this PR fix : https://issues.redhat.com/browse/RHDHBUGS-97

Fixes #? Removed raise issue button on selecting the text of docs

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Closing this , since this is not fix for the root cause . Root cause is CSS styles defined for components in backstage is not getting applied while using the same component in backstage-showcase .

Closing this , since this is not fix for the root cause . Root cause is CSS styles defined for components in backstage is not getting applied while using the same component in backstage-showcase .

repo: janus-idp/backstage-showcase


text:
Linux Server Support

Reported by adam.keun, Mar 13, 2013
Hi just wondering if there is any plans for having linux support for the JMM server?
Apr 21, 2013 dominik.karadeniz
Yes, that would be great. I am dreaming of integrating it in my server setup, with transmission, xbmc.
Everything works like a charm now and is fully automated, but handling anime is still poor.
I hope to change that with jmm. Unfortunately, being a windows application severely limits its use cases and modularity.
May 15, 2013  Craige1Emmott
I can tell you now this probably wont happen any time soon. JMM as a whole is completely built around MS technologies. Anything running on Linux will ether require mono or a complete rewrite. Even the API used for communication is a MS technology. It would take one skilled Linux dev with some serious dedication to make this happen.
May 15, 2013 adam.keun
I had a feeling it was built around MS, tis a shame because it's such a great program and I would have loved to integrate it with my linux machine.

Can I add a huge +1 here guys. Been a looooooong time user since inception when it was just a MediaPortal plugin but would love to move my home server to a linux server to get more out of aging hardware.

I'd also like to add a +1 while i'm here.

+1.  Would love to get this going in a docker container on my UnRAID box.  Would love to not have this running on m desktop.

+1 Yeah. I can just image how many more people would start using this thanks to Linux support!

+1 don't let this project die please, my raspberry needs you :(

both hasher and JMMServer project is not compatible with MONO out-of-box

Stage 1: Is on the way. Just to update you guys.

Thanks for the update Mike, glad to hear this is coming!

Very exciting.
On Oct 6, 2016 4:30 PM, "Marshal Walker" notifications@github.com wrote:

Thanks for the update Mike, glad to hear this is coming!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/jmmserver/issues/52#issuecomment-252116696,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB8DqW6xHnwfuqTFxf5eqyxSZJQIWWfks5qxYSOgaJpZM4CYrXG
.

Out of curiosity, how many stages are there?
-------- Original Message --------
From: Ben Longman notifications@github.com
Sent: October 6, 2016 7:57:50 PM EDT
To: japanesemediamanager/jmmserver jmmserver@noreply.github.com
Cc: counterfit counterfit@me.com, Manual manual@noreply.github.com
Subject: Re: [japanesemediamanager/jmmserver] Linux Server Support (#52)
Very exciting.
On Oct 6, 2016 4:30 PM, "Marshal Walker" notifications@github.com wrote:

Thanks for the update Mike, glad to hear this is coming!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/jmmserver/issues/52#issuecomment-252116696,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB8DqW6xHnwfuqTFxf5eqyxSZJQIWWfks5qxYSOgaJpZM4CYrXG
.

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/japanesemediamanager/jmmserver/issues/52#issuecomment-252120776
Give a man a fish, he owes you one fish. Teach a man to fish, you give up your monopoly on fisheries.

3 major stages, more substages.

First stage was the hardest to enforce and still need some polish also with it webui have been started , second stage - stripping server out of ui and moving it to console/service is easier, the third stage should be on medium level as moving console/service to mono/core.
On October 7, 2016 2:38:00 AM GMT+02:00, counterfit notifications@github.com wrote:

Out of curiosity, how many stages are there?
-------- Original Message --------
From: Ben Longman notifications@github.com
Sent: October 6, 2016 7:57:50 PM EDT
To: japanesemediamanager/jmmserver jmmserver@noreply.github.com
Cc: counterfit counterfit@me.com, Manual manual@noreply.github.com
Subject: Re: [japanesemediamanager/jmmserver] Linux Server Support
(#52)
Very exciting.
On Oct 6, 2016 4:30 PM, "Marshal Walker" notifications@github.com
wrote:

Thanks for the update Mike, glad to hear this is coming!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub

https://github.com/japanesemediamanager/jmmserver/issues/52#issuecomment-252116696,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAB8DqW6xHnwfuqTFxf5eqyxSZJQIWWfks5qxYSOgaJpZM4CYrXG

.

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/japanesemediamanager/jmmserver/issues/52#issuecomment-252120776
Give a man a fish, he owes you one fish. Teach a man to fish, you give
up your monopoly on fisheries.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/japanesemediamanager/jmmserver/issues/52#issuecomment-252126091

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Any updates?  I'm super interested on how close you're coming on stage 1.

Network communications are now cross platform implementations. A webui is in the works as well. It's coming along, slowly.

network communication was always cross platform... but now it use proper api
webui is limited to act as "gui" for server
server is not close to be cross platform unitl everything is fixed.
in current situation 1+ year
PS. Please correct me if I am wrong (I hope I am)

Will the webui eventually replace the client, or is it planned to be continue to be client/server based?

Nope, WebUI is just a replacement for the Server UI so we can make server headless. We have no plans for a Linux client.

there will be open gate for all clients, with open apiv2 you could make any client you want...
as main leader ElementalCrisis support windows only clients.
Imo, if there ever be a working cross platform server there will be 1- or 3-rd party client for other platforms anyway.. it will be matter of time...

Considering that platform currently uses either SQLite, MySQL and SQL Server as options, would the installation method have the ability to trigger the use of a particular dependency by user entry, or will one be automatically chosen?
Or would this SQL setup be an isolated installation from the primary Linux package install...

from one point of time the main developer @maxpiva wanted to drop those sql for one RavenDB or something similar.
How that is related to current situation is beyond me right now
If its no the case then proper package wont be used as dependency as shoko use what ever you put in config and the database don't have to be on same host. So installing shoko without database is also an option. But that is to early to say anything...

@bigretromike we are one step closer!

Currently Todo, there are still some issues to resolve code wise
Pri.longpath is completely incompatible with Linux
Still some UI references in the logic DLL.
CLI exe

We need Pri.longpath for Windows, maybe there's a similar library we can use for Linux? If not I guess Linux well be restricted to its default path length for import folders.

Linux don't have the limitation windows has ;-)

I believe the Linux limitation is 255 bytes in filename, and 4096 bytes in
path.
On Thu, Apr 20, 2017 at 12:56 AM, BigRetroMike notifications@github.com
wrote:

Linux don't have the limitation windows has ;-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/issues/52#issuecomment-295618549,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB8DjBS4o-JC0bkvZq2sTnBPHdftSu1ks5rxw-_gaJpZM4CYrXG
.

That's a limitation at the filesystem level anyway, so there would be no use adding workarounds for it.
Currently I am in the design stage on how we want to work around Pri.LongPath on mono, preferably keeping a single exe for feature matching.

it could have `function check_path' or similar that would repleace all pri.longpath or something and all the logic checking filesystem and/or platform would be there.

Right now I am just making a drop-in fork for pri.longpath that diverts to System.IO as looking at the other options, it would make a lot more boilerplate code to add in the long run.

Some good news for those wanting linux port Soon
@bigretromike you will like this one.

No setup UI, some functions of cloud are just broken, and this is my first run.
SQLite is also broken.
Not too sure about most functions as well.
Some changes have to be made to support it as well, for example, NutzCode.CloudFileSystem/AuthorizationFactory.cs#L28 needs to use string dirname = Pri.LongPath.Path.GetDirectoryName(Uri.UnescapeDataString(uri.Path).Replace("/", $"{System.IO.Path.DirectorySeparatorChar}")); else the server crashes on boot.

Fyi, code isn't in master as I had to break some of the cloud stuff to get it to boot on Linux, currently working out a fix.

@Cazzar that screenshot made me hard.... You did well comrade ... now throw me the sh!t repo url and lets the party started

It's a bit of a confusion as I'm operating off a custom built pri.longpath that isn't being built against, I'll add it so it'll work soon, most likely in a "linux" branch

so basicly you needed to modify pri.longpath. can we add it then to our repo so we maintain it and update if ever needed ?
@maxpiva will you update code in that nutzcode thing?

Nutzcode has already been done via da3soul, and for having the
pri.longpath, we'd need a repo preferably
On Tue., 25 Apr. 2017, 5:47 pm BigRetroMike, notifications@github.com
wrote:

so basicly you needed to modify pri.longpath. can we add it then to our
repo so we maintain it and update if ever needed ?
@maxpiva https://github.com/maxpiva will you update code in that
nutzcode thing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/issues/52#issuecomment-296946736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8rprhdtKcQeE_rMCho4-SjZagsti2nks5rzaT_gaJpZM4CYrXG
.

@ElementalCrisis you heard the man, please make repo for him

MSSql seems painfully slow on linux, looking at mysql performance, on the side of acceptable.

https://github.com/japanesemediamanager/ShokoServer/tree/linux @bigretromike

finally something I will have fun working on ;-)

do we have issue/project with what is working what isin't or what to check in first run ?

@Cazzar posted some info on Discord but off the top of my head; Longpath needs to be converted (Which we forked) and Cloud does not work.

are we transiting to ravendb or other database solution in near feature or we stick with what we go ?

At this point my intention is to get what's running now operating.
If you're able to jump on discord i can list what I have right now...
Though most of its find what's broken as I go
On Wed., 26 Apr. 2017, 6:50 pm BigRetroMike, notifications@github.com
wrote:

are we transiting to ravendb or other database solution in near feature or
we stick with what we go ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/issues/52#issuecomment-297300260,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8rpmRavhrluEqcXc0jRFY50dTSQ_jXks5rzwVagaJpZM4CYrXG
.

@bigretromike
Currently known issues

Sqlite
anidb socket seems to sometimes be closed.

Though if you want to help, pull the latest Linux branch that should build and run fine.

Thanks for the great effort 👍 , we have to figure out how to map the OAuth authentication into the linux version, so cloud can work. Any suggestions?. We could copy the initial oauth configuration from a windows version initially to the linux version, at least you can test the cloud funcionality in that way... But probably a refactor is needed into cloudfilesystem to support OAUTH via WebUI. So user could add and authorize Cloud Folders.

@Cazzar  did you try this solution for sqlite errors : https://stackoverflow.com/questions/6203597/trying-to-using-nhibernate-with-mono-sqlite-cant-find-system-data-sqlite#6203812 ?
I wanted to try them myself but currently there is something broken with models so I can't even compile it properly. Sadly I miss opportunity to build it 12days ago when it was for sure working.
Don't know what is the orgin of my problem, maybe vsc2015 dunno... maybe next time

Currently no, I have not tried it.
I am running a major test as my main DB had failed due to openssl upgrades on archlinux.
I am currently re-generating my database via MySQL + Linux + Mono right now.
Once we have this, and @maxpiva 's OAuth setup done, I'll be happy to merge
Also, for the models issue @bigretromike git submodule update --recursive should resolve it, as I built the software yesterday.
I might push a couple of updates in a moment.

For people curious, I whipped up a quick script to monitor file status via Cacti..
This is my current status.
I'm still ~4k files hashing.
don't mind the two gaps in the graph, as that is more so poller errors due to my own doing.

I did update submodules it more of those 'get => ' 'set =>' things there. as VS tell me its not allowed.
nice-desu Cazzar-san 👍

Also better command for submodules would be:
git submodule update --init --recursive

Those are the issues im talking about:

don't forget --remote

Give me 5, I'll push my latest changes.

@bigretromike try 3862bbaaeed940513fc603410a84897609a7670a

same errors as the one on screenshots.. it looks like lang errors so something that interpreter language is missing or code is broken (I would put my bet on the first option)

Is your working directory at least clean?

yes? I just clone it fresh, pull submodules, open project in vs, pick build/rebuild/debug and boom

You're not getting the latest c# 5 constructs as that is valid.
On Mon., 8 May 2017, 5:09 pm BigRetroMike, notifications@github.com wrote:

[image: sssssss]
https://cloud.githubusercontent.com/assets/6052025/25793699/f13a5cb0-33cd-11e7-84f6-e9c8bb2f1fc5.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/issues/52#issuecomment-299789999,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8rpmhksd0cSRYXQpyjEmwB9tGM6wr1ks5r3r-TgaJpZM4CYrXG
.

? any solution for this ?

Go redownload the .net sdk (NDK)

@da3dsoul yeah thats my bet also.
Sadly windows is telling me that I have 4.6.x installed even when i uninstalled it because I couldn't force installer to overwrite installation... Looks like another win10 issue with himself.
I have better chances at home with not windows 10.

@bigretromike see what happens when you manually build with MSBuild https://msdn.microsoft.com/en-us/library/dd393574.aspx#Anchor_0

@Cazzar thank for info, but I will stop messing with this at work today ;-) I don't have time to resolve windows issue today 👍 probably one of my prevent-ransomware application prevent cleaner from cleaning after .net clean up tool - and end up with mess. Will check at home.

Took me some time... but...
It looks like windows 10 prevent you from installing any older .net than you already have as system component (which in win10 anniversary is 3.6.2) that is why I was unable to install another version after uninstalling 4.x from add/remove software which where installed before w10anniv_patch.
also hasher have set tool set for v141 which is vs2017 :-) which is my problem
Also VS currently don't see that I have NDP462 installed so this is one problem I currently have as of before it did saw it but didn't used it as mention above with error in code that should work :-)

yes , go ahead and change the toolset back

changing toolset didn't help at work; I will check with vs2015 at home.

Finally.
Hasher was setup for windows10 with some version that I was missing and VS2017 did the job.
Sadly...

We also need hasher preferably ported to linux as well, right now the C# code on my Xeon E3-1270 averages about 4-13 seconds.
Also, thoughts on multi-threading hashing operations?
Being bound to one CPU core could be making hashing a little slower, as so far for 9K files, I am at the ~24 hour mark.

hmmm for linux we can fallback to c# hasher which is slow. and look for something better in mean time.
for start it should be fine, as it will be more of experimental package. there should be a hell-tone of hashers native for linux, and we could use those .. no need to maintain something like that

the C++/x86/x64 version is probably near IO bound on spinning disks on latest CPUs. I don't know if multi thread will work, without over-engineering the C++ library. Anyway, we miss an MD4 (ED2K) x64 assembler version, we could add MD5 x64 if we want, there is code already. But there is no code for MD4 for x64. (its possible to adapt the MD5 x64 version), but it will be a pain in the ass.

but if its not working on linux then we are not sure if porting wont end up sacrificing that 'speed' on windows machines - or in the end there would be 2 different hashers platform specific, and im more than sure that there are hashers that are good as this on linux platform already and in 99% there are opensource anyway.

We could see if we can p/invoke Linux libcrypto for native hashing.
On Tue., 9 May 2017, 3:24 pm BigRetroMike, notifications@github.com wrote:

but if its not working on linux then we are not sure if porting wont end
up sacrificing that 'speed' on windows machines - or in the end there would
be 2 different hashers platform specific, and im more than sure that there
are hashers that are good as this on linux platform already and in 99%
there are opensource anyway.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/issues/52#issuecomment-300064453,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8rpj3lj_Xy06H8WYRTES3pa6sSnN5Xks5r3_iEgaJpZM4CYrXG
.

Currently we still have hard coded references to \ in the code base
These need to be replaced when referencing paths

I know it's been looked at before, but librhash is out there and supports a
plethora of hash formats:
https://github.com/rhash/RHash
On Thu, May 11, 2017 at 8:51 AM, Cayde Dixon notifications@github.com
wrote:

Currently we still have hard coded references to \ in the code base
These need to be replaced when referencing paths
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/issues/52#issuecomment-300833075,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB8Dgm-pC3LnhgjmfveE3oELaYCjjhoks5r4y51gaJpZM4CYrXG
.

@bmfrosty we can look into it, namely the reason for thinking about libcrypto is it's implemented in most systems as part of OpenSSL/LibreSSL
Though on other news @bigretromike you might like this, mono 5 was released, which is now using Roslyn, which means in the long run, we should be able to compile shoko on linux as well.

http://www.mono-project.com/docs/about-mono/releases/5.0.0/ for reference.

http://blog.wezeku.com/2016/10/09/using-system-data-sqlite-under-linux-and-mono/ also will get SQLite working on mono. Downside being needing to build the interop library.

its good for start. later we could just use the lib on system

How's it going?

It's coming along, we've got an alpha docker image out

Join our discord, this thread is really only updated when a significant milestone has been reached.

@bmfrosty thanks to hard work and some extra work from @Cazzar we are having jmm/shoko in docker on linux :-) alpha or not it works

@ElementalCrisis I think that this is done, a lot of work was putted into this, and we got running linux version right ? 👍

I wouldn't say done until we make sure everything works and is accessible. There's still things that are only available in the server UI

imo that should be done in other issue as the prime goal which was running it on Linux is done. Even it could goes to WebUI issues as missing gui features. IMO alot of us are happy with milestone that linux supoort was achive. This way we could enourage people to start using linux in testing so there will be more up-2-date issues that we could handle one by one vs one-ass-long-issue-that-never-ends.

It's not just WebUI though. Those things don't have endpoints or Desktop access either, else it would be closed

Technically it work, but its not usable when you have to use Desktop or Windows Server to still properly run it.

as you said many times webui which is essential part of linux version never was meant to replace Desktop, right ? and using Server (on windows) never gave us same thing as Desktop app did. But ok.

My point is that there are things that Desktop and webui can't do that the server UI can.

@ElementalCrisis any chance we could make a proper milestone to close this VERY important for all of us Issue ?

As far as I know, work on the Linux version has been halted as @cazzar has been busy with other projects. I'm actually not quite sure what's left either.

As for right now, this is what needs done:

More logging/progress report on certain things
make sure that all settings and buttons that exist in Server's UI are accessible in webui and Desktop
I may be misremembering, but proper cloud UI for login and whatnot
migration to and from Linux DB (not needed, but would be nice)

The .Net Standard refactor is something else that needs to be done before this issue can be closed.
@hidden4003 added all the settings we have endpoints for in Web UI.

Yep. Right now, I'm worried about Desktop, as it's the one missing some

@da3dsoul Desktop v2? because we dont port v1 to linux, right.

We don't port either to Linux

We just need to be sure that nothing is exclusive to the server UI

Is anyone able to build shokoserver on linux ?

jetbrains raider dont support C# 7.0 especially get => set => also the *.csproj looks broken for Raider
visual studio code can't build launch.json to be able to run it

Firstly it's Rider. Secondly, I don't know what you are doing wrong, but it does build on Linux. Running it on Linux takes a few extra steps. I know you need the .net core build tools for it to work, and make sure that msbuild is up to date

Currently the build on Linux is stuffed because of mono issues that I CBA
working out
On Mon, Jun 3, 2019, 2:41 AM da3dsoul notifications@github.com wrote:

Firstly it's Rider. Secondly, I don't know what you are doing wrong, but
it does build on Linux. Running it on Linux takes a few extra steps. I know
you need the .net core build tools for it to work, and make sure that
msbuild is up to date
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ShokoAnime/ShokoServer/issues/52?email_source=notifications&email_token=AAHSXJWGXSHVPEPC7OHDLGDPYPZ4ZA5CNFSM4ATCWXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWXZNOI#issuecomment-498046649,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHSXJS5OEMCGZ6IL4RBPFTPYPZ4ZANCNFSM4ATCWXDA
.

oh, so its still not .net core migrated ? oh I was thinking It was for some unknown reason.
19:01	Project 'Shoko.Server' load failed: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  /home/brm/RiderProjects/ShokoServer/packages/Microsoft.AspNetCore.Mvc.Razor.Extensions.2.2.0/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.Extensions.props at (1:1)

19:02	Project 'Shoko.Server' load failed: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  /home/brm/RiderProjects/ShokoServer/packages/Microsoft.Extensions.FileProviders.Embedded.2.2.0/build/netstandard2.0/Microsoft.Extensions.FileProviders.Embedded.props at (1:1)

19:03	Project 'Shoko.Server' load failed: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  /home/brm/RiderProjects/ShokoServer/packages/Microsoft.AspNetCore.Razor.Design.2.2.0/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.props at (1:1)

19:03	Project 'Shoko.Server' load failed: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  /home/brm/RiderProjects/ShokoServer/packages/Microsoft.AspNetCore.Server.IIS.2.2.0/build/netstandard2.0/Microsoft.AspNetCore.Server.IIS.targets at (1:1)

Looks like Rider don't like the project files of external reference.
@da3dsoul you tried raider on linux?
Looks like I will be waiting for anything to move to be able to do anything from home :-)

The project files for net standard look entirely different so no, the rewrite branch being what I am working on now is being written in .net standard & .net core
Maybe .net core 3 once it's more stable

oh, ok. so basically the best chances for compiling is the rewrite branch which is WIP right now because you rewrite most of the core code.
Thanks for info.

Firstly it's Rider. Secondly, I don't know what you are doing wrong, but it does build on Linux. Running it on Linux takes a few extra steps. I know you need the .net core build tools for it to work, and make sure that msbuild is up to date

If you are able to give me those extra steps then msg me please :-)

I'm just repeating what I've read. I've never done it myself

oh, then Im telling you its not compiling because of those issues:
Project 'Shoko.Server' load failed: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  /home/brm/RiderProjects/ShokoServer/packages/Microsoft.AspNetCore.Mvc.Razor.Extensions.2.2.0/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Razor.Extensions.props at (1:1)
``

It will run probably without any issues, but you are unable to compile it from source.
Im thinking If I will be able to pre-compile those broken dlls and side-load them so I shouldn't compile them.

This has been done... ages ago

authors: CatmanIX Cazzar ElementalCrisis Jimmyson OzWookiee bigretromike bmfrosty counterfit d3xMachina da3dsoul jmediamanager maxpiva

repo: japanesemediamanager/ShokoServer


text:
drop reference in linear_map.rs:L467

is that right, drop the reference drop(&self.buffer);

Nope, see https://github.com/japaric/heapless/pull/376

authors: birkenfeld frank-amy

repo: japaric/heapless


text:
memory safe data sharing

this commit allow lock-less memory safe data sharing between the "main" context,
the setup / loop functions, and cloud functions through the Resource
abstraction.
Resources are global variables that are safe to access from different
contexts. Safety is enforced in two ways:
Single context memory safety: The Resource.access{,_mut} methods take a
"context" token, App or Cloud, to preserve Rust borrowing rules: only one
mutable reference (&mut -) OR several shared references (&-) may exist at
any given time. This rule prevents pointer invalidation. This is the inked of
problem we prevent at compile time:
fn loop_(ref mut app: App) {
    static OWNED: Resource<Option<i32>> = Resource::new(Some(0));

    let owned = OWNED.access(app);
    let shared_ref: &i32 = owned.as_ref().unwrap();
    let mut_ref = OWNED.access_mut(app);
    // ~^ compile error (`app` has been frozen by the `shared_ref` borrow)

    // `OWNED` changed to `None`. `shared_ref` has been invalidated
    *mut_ref.as_mut().unwrap() = None;

    let bad = *shared_ref;
}

Memory safety during preemption: If SYSTEM_THREAD is not enabled, which is our
case, then cloud functions can only preempt the main context, loop /
setup, when the App.delay_ms method is called. To ensure no pointer
invalidation occurs in that case a App.delay_ms call won't compile if there
are outstanding borrows to resources in the current context. This is the kind of
problem we prevent at compile time:
static SHARED: Resource<Option<i32>> = Resource::new(Some(0));

fn loop_(ref mut app: App) {
    let shared = SHARED.access(app);
    let shared_ref: &i32 = shared.as_ref().unwrap();

    // `task` preempts this context during this delay
    app.delay_ms(100);
    //~^ compile error (`app` has been frozen by the `shared_ref` borrow)

    // `shared_ref` would have been invalidated at this point because `SHARED`
    // now contains a `None` variant
    let bad = *shared_ref;
}

fn task(_: String, ref mut cloud: Cloud) {
    // "empties" the SHARED resource
    *SHARED.access_mut(cloud) = None;
}

cc @dbrgn the function and variable examples are now fully safe

@homunkulus r+

:pushpin: Commit 69a7ffd has been approved by japaric

:hourglass: Testing commit 69a7ffd with merge 69a7ffd...

:broken_heart: Test failed - status-travis

Error: Download failed on Cask 'gcc-arm-embedded' with message: Download failed: https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update/+download/gcc-arm-none-eabi-5_4-2016q3-20160926-mac.tar.bz2

Network error
@homunkulus retry

:pushpin: Commit ddbfd92 has been approved by japaric

@homunkulus r+

:hourglass: Testing commit ddbfd92 with merge ddbfd92...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing ddbfd92b6b487ca5f90fd859a62c61c6bbe04b1a to master...

Awesome!

authors: dbrgn homunkulus japaric

repo: japaric/photon-quickstart


text:
bump syn to v1

to reduce the chance of compiling several instances of it

bors r+

bors r-

bors r+

bors r+

repo: japaric/stlog


text:
release v0.3.25

Let's release https://github.com/japaric/xargo/pull/331.

bors r+

failed to get 200 response from `[https://crates.io/api/v1/crates/cfg-if/0.1.10/download`,](https://crates.io/api/v1/crates/cfg-if/0.1.10/download%60,) got 403

bors retry

crates.io seems to be having a bad time...

bors retry

repo: japaric/xargo


text:
Add a scaladoc

It would be useful for getting a searchable list of the attribute names that you can use

Closed by #112

authors: Risto-Stevcev japgolly

repo: japgolly/scalacss


text:
improved: Railcraft Cokeoven,

is now Undoable and easier ZenScript functions
modified:   src/main/java/modtweaker2/mods/railcraft/handlers/CokeOven.java
@Yulife please update the wiki

Nice changes, should be easier to use the functions.
:+1:

authors: Voidi Zixxl


text:
Stylus

Razzle latest
Webpack and other - latest
Can i add stylus loader ?
At this moment styl files does not append to header via style loader
Code example
  webpackConfig.module.rules.push({
    test: /\.styl$/,
    use: [
      // MiniCssExtractPlugin.loader,
      'style-loader',
      {
        loader: 'css-loader',
        options: {
          importLoaders: 1,
          sourceMap: true,
          modules: {
            // exportOnlyLocals: isNode,
            getLocalIdent,
          },
        },
      },
      {
        loader: 'stylus-loader',
        options: {
          sourceMap: true,
          stylusOptions: {
            use: ['nib'],
            hoistAtrules: true,
            import: [path.resolve('src/components/Theme/config.styl')],
          },
        },
      },
    ].filter(Boolean),
  });

import st from './style.st'
st -> url to js code (?)
How to use st as modules ?
Code above works with raw webpack configuration

https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/config/createConfigAsync.js#L146
Add sty here
module.exports = {
  modifyWebpackOptions({
    options: {
      webpackOptions, // the modified options that will be used to configure webpack/ webpack loaders and plugins
    },
  }) {
    webpackOptions.fileLoaderExclude.push(/\.sty$/);
    return webpackOptions;
  },
};

@fivethreeo only when target === web ? What about server side ?

next failed - ReferenceError: document is not defined

Style loader is only client side.
https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/config/createConfigAsync.js#L604

thanks !

authors: dmitryshelomanov fivethreeo

repo: jaredpalmer/razzle


text:
add canopy to python applications

https://github.com/tbruno25/canopy

Thanks a ton! That is a sick application.

Thanks for accepting the PR and maintaining this awesome resource!

repo: jaredthecoder/awesome-vehicle-security