text:
Bernoulli log probability under probit link

Hi,
thanks for your great work on this framework!
I have some doubt regarding the Bernoulli likelihood module. Plotting the log likelihood for a probit model,
import tensorflow as tf
from gpflow.likelihoods import Bernoulli
import matplotlib.pyplot as plt

bernoulli_lik = Bernoulli()
sess = tf.Session()
with sess.as_default():
    F = tf.lin_space(-10., 10., 100)
    y = tf.log(bernoulli_lik.invlink(F))
    plt.plot(F.eval(), y.eval())
    plt.savefig('log_cdf.pdf')

gives

Did you think about implementing the logcdf? Does it even make a difference? Or is the function intended to bottom out at -6.9 (e.g. numerical reasons)?
Best,
Tobi

Hi Tobi, if you look at the output of the inv_probit() function directly (not in log-space) or go through the code carefully, you'll see that the output is clamped between 0.001 and 0.999. This is intentional (if you set the jitter constant in that function to zero, you get the exact cdf back), I think for reasons of numerical stability (otherwise the log-probability would shoot off for very solitary outliers in regions where almost all observations are of the other class), though I also have to admit this is one of the oldest parts of GPflow so maybe it is not actually necessary in practice or there are other, better ways to deal with it - but this also suggests the code generally does what it is intended to :) You're very welcome to experiment with it, and if you think you find a way to improve the code (whether in the Bernoulli likelihood or elsewhere), please open a pull request! Hope this helps:)

authors: st-- tohein

repo: GPflow/GPflow


text:
Draft PR

Some of the required functionality implemented, but I'm a bit stuck on certain parts. See the comments in logger.py (prefaced with #4 for ease of searching).

@SarahJohnsonONS - had a binge on this and pushed code to it.
Logger should be working and pumping out json lines now and I've sketched how we can test it with a few comments.
can you have a look and get back to me if it doesn't make sense? It's much simpler like this.

source: gharchive/pull-request

authors: SarahJohnsonONS mikeAdamss

repo: GSS-Cogs/dp-python-tools

license: MIT

license_type: permissive

license_source: github-api


text:
Capital letter in domain name

Hello,
Is there a way to use the request_domain function to lower case the domain name?
I'm getting a lot of errors
auto-ssl: could not get certificate for tEst.com
and
No such file or directory:../crypto/bio/bss_file.c:72:fopen('/openresty/resty-auto-ssl/letsencrypt/certs/tEst.com/cert.pem','r')
I saw something like ngx.exec(string.lower(domain))
but wasn't working for me

Look like this fixed it
auto_ssl:set("request_domain", function(ssl, ssl_options)
      local domain, err = ssl.server_name()
      if domain then
        return string.lower(domain), err
      else
        return domain, err
      end
    end)

source: gharchive/issue

repo: GUI/lua-resty-auto-ssl

license: mit

license_source: bigquery


text:
Tinygrad dependancy for weights conversion

May I ask why the need of Tinygrad for the weights conversions? The script seems to be dumping them with np afterwards is read by tinygrad.

I used the tinygrad whisper implementation as a reference when porting since it's concise. There's no reason the script couldn't be easily modified to only use torch for loading the weights.

authors: DavidGOrtega Gadersd

repo: Gadersd/whisper-burn


text:
Removing the servers from bottom

Is it possible to remove the small server list at the bottom? It's kind of annoying me since i live near Russia and i keep getting these annoying DarkRP and Sandbox servers there.

This server list in your favorites servers, if you don't want to see them, remove it from your favorites (in server browser)

This server list in your favorites servers, if you don't want to see them, remove them from your favorites list (in server browser)

I think I'll develop a software for updating this menu and customise it later !

authors: Gaerisson SayaMadness

repo: Gaerisson/Gmod-Custom-Menu


text:
文件缺失

你好，如何配置多个客户端同时工作？

可以将客户端的CLIENT_ID参数设置一个和已有客户端不同的整型数字即可。
如客户端1的CLIENT_ID=0，客户端2的CLIENT_ID=1

您的意思是指在fl_client.py输入两个CLIENT_ID，即0，1？还是说将fl_client.py程序以不同的CLIENT_ID运行两次

您的意思是指在fl_client.py输入两个CLIENT_ID，即0，1？还是说将fl_client.py程序以不同的CLIENT_ID运行两次

可以参考example文件夹下面的范例。
如果有两个客户端，客户端ID分别为0和1。那么就需要创建两个fl_client.py文件, 如fl_client_0.py和fl_client_1.py。
fl_client_0.py的CLIENT_ID=0，fl_client_1.py的CLIENT_ID=1

repo: GalaxyLearning/GFL


text:
Fix: Remove thrown errors in code.

Fixes #362

This was replaced by #370

repo: GaloyMoney/galoy-mobile


text:
feat: add stablesats-modal

Introduce persistent storage provider. This storage provider is capable of data migrations and is loaded before the rest of the app. Several migrations have been demonstrated as a pattern.
Add Stablesats modal that appears one time when a user has access to the stablesats feature. Acknowledging the notification is stored in the persistent state, so that it is not shown again. In the debug screen you can reset the persistent state to see the modal once again.

This PR is waiting on translations for the Stablesats modal.


text:
Fix: 新創公開房間不帶 password

DoD
當新創公開房間時，不需要帶入密碼。
Schema
{
    "name":"abcd",
    "gameId":"6496cff366371525c35a04c5",
    // 前端公開房不要帶
    //"password":"",
    "minPlayers":4,
    "maxPlayers":4
}

resolve: #265

authors: IamSaker bxbdev

repo: Game-as-a-Service/Game-Lobby-Web


text:
a docker net problem

i try to build a pzserver by docker, game server is already been download, but there is a net problem
==> /data/log/script/pzserver-script.log <==
Aug 17 14:04:02.023 pzserver: MONITOR: WARN: Default Admin password detected
Aug 17 14:04:02.065 pzserver: MONITOR: PASS: Using cached IP as public IP address
Aug 17 14:04:04.088 pzserver: MONITOR: PASS: Using cached IP as public IP address
Aug 17 14:04:05.729 pzserver: MONITOR: INFO: Checking session: CHECKING
Aug 17 14:04:05.949 pzserver: MONITOR: PASS: Checking session: OK
Aug 17 14:04:07.460 pzserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:16261 : 1 : QUERYING
Aug 17 14:04:12.463 pzserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:16261 : 1 : FAIL
Aug 17 14:04:13.970 pzserver: MONITOR: INFO: Querying port: gamedig: 172.17.0.1:16261 : 1 : QUERYING
Aug 17 14:04:18.965 pzserver: MONITOR: WARN: Querying port: gamedig: 172.17.0.1:16261 : 1 : FAIL
Aug 17 14:04:20.472 pzserver: MONITOR: INFO: Querying port: gamedig: 66.42.45.61:16261 : 1 : QUERYING
Aug 17 14:04:25.459 pzserver: MONITOR: WARN: Querying port: gamedig: 66.42.45.61:16261 : 1 : FAIL
Aug 17 14:04:26.966 pzserver: MONITOR: INFO: Querying port: gamedig: 66.42.45.61:16261 : 1 : QUERYING
Aug 17 14:04:31.981 pzserver: MONITOR: WARN: Querying port: gamedig: 66.42.45.61:16261 : 1 : FAIL

it looks like the server can not connect to the host, what i do?
don't warry, the public VPS is down :p

funny
it works for me by install without docker, it seem to be like database setting problem, you have to be set a password when gameserver starting

network:host

authors: igortsev pureGavin

repo: GameServerManagers/docker-gameserver


text:
Better ReadMe adding Table of Contents such as About,Features, Installation, Contributing, License

Describe the bug ✍
ReadMe shows the steps to create PR and doesn't describe the project.
Provide step by step information reproduce the bug 📄
We can add Table of Contents such as About , Features, Installation, Contributing, License in. Snippets of community page will be added in ReadMe to enhance readability. Please assign this ask to me . I am a GSSOC-24 contributor
Select program in which you are contributing
GSSOC-24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@Roshr2211 I think so we have added proper detail how a contributor send a PR. Contributing, License and CodeofCoduct. If you have any better approach you can explain

If you have any doubt you can directly as on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)

The PR has been made. Please let me know if there are any changes to be made.

@Roshr2211 Don't send PR untill the issue is not assigned you

I'll appreciate your learning spirit, but this PR is waste because the Table of Content is already provide by GitHub

If you have any doubt you can directly as on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)

I am closing this issue for now

repo: GameSphere-MultiPlayer/Community-Page


text:
Unable to see any captures

I'm using UE_4.26.2.
Download includes only source files so I added the plugin to project plugins folder. Compiled and enabled the plugin.
In UE Editor when I click on GPA Captures it starts and clicking it again it stops captures.
Notifications are shown in the bottom right corner.
After capturing is stopped Graphic Monitor is opened. But I cant see captures from my project.

What am I missing?

Hi @ZoguBK, can you download the latest version of the GPA Framework and the latest version of this plugin and give it a try? I made changes in the plugin to make sure there are no compatibility issues
Here's a direct link to the GPA download:
https://registrationcenter-download.intel.com/akdlm/irc_nas/18161/intel-gpa-framework-21.3.msi

With the latest version it is working as intended.

authors: ZoguBK rmkawiak


text:
v0.8.6_06: Color scale is not appearing according to the option.

SEVERITY: Major
MODULE:  Pop by Age Chart
Platform: Nexus 5(6.0) / Chrome
RELEASE: v0.8.6
STEPS TO REPRODUCE:

Navigate to the URL: http://static.gapminderdev.org/vizabi/release/v0.8.6/preview/popbyage.html
“Pop-by-Age Chart” page will be loaded.
Tap on “Color” icon and pop-up will appear.
Select “Geo name” or “Region” from dropdown.
Note that respective color scale is not appeared.

ACTUAL RESULTS:
Color scale is not appearing according to the option.
EXPECTED RESULTS:
Color scale should be appearing according to the option.
SCREENSHOT:

Related to #884

https://github.com/Gapminder/vizabi/pull/904

closed by https://github.com/Gapminder/vizabi/commit/aed7c868f5c4d9f0287a1b9fa3fc570597662dea

authors: jheeffer k6Labz sergey-filipenko

repo: Gapminder/vizabi


text:
fix(vite-config):vite@2.4.2

thanks for pr :fix(config): vite

net: ERR_ABORTED 404

net: ERR_ABORTED 404


text:
ts-ignore is not working.

Currently I am using "native-base@3.2.2" with "React native".
The bug is identical to the one talked about here.
The bug is the same as talked about here, i.e. ts-ignore is not working.
Please help me.

Can you share an example of this bug somewhere? The way to reproduce can also help us identify and fix this bug.

authors: Ajamuar shunki-github

repo: GeekyAnts/NativeBase


text:
Button: don't show text when isLoading is true

Description
So with many component libraries, or at least many design systems, buttons with isLoading is true don't show text, only a spinner. With current implementation of the NativeBase button, there is no neat way of not showing text when isLoading is true. One has to resort to set isLoadingText to a space in order to get it removed. Also one needs to update this text manually with each button instance, or one needs to make a abstract Button component purely to automate this.
Problem Statement
As mentioned above
Proposed Solution or API
A prop on the button component, called showTextWhenLoading or renderChildrenWhenLoading, that may be set to false as a default prop in your theme. This prop prevents the regular children from being rendered and only renders the spinner when isLoading is set to true.
Alternatives
No response
Additional Information
Maybe there is another smart way of doing this, but I couldnt figure it out. My ultimate goal here is not be forced to create a layer / custom component around the regular NativeBase button in order to achieve mentioned result.
I don't really like the proposed prop names because they are too long to my taste, but they do picture the desired behaviour of the button.

Ive created an example PR to demonstrate this feature
https://github.com/GeekyAnts/NativeBase/pull/4626

Hello @JaapWeijland, Thanks for reporting. We'll surely look into this request.

Hello @JaapWeijland, this issue has been fixed in the latest version release.


text:
Copy stack produces un-stopable error (3.0.93-7)

Copy stack appears to be not only broken, but require at least 23 dialog closes, or hard-kill of the image, to continue working.

Fixed in 3.0.93-8.

stacks copy fine in pr8

authors: LisaAlmarode ericwinger

repo: GemTalk/Jadeite


text:
Dark mode

I might be too greedy here, but is there an easy way to turn dark mode on? How, or where, do I specify
this.$q.dark.set(true);

?

With the latest version you can do
Stipple.js_created(MyDashBoard) = raw"this.$q.dark.isActive = true;"

But I'm afraid that you will have to adapt your css a bit. My short attempt did colour the uploader component dark, but the rest of the GUI remained white.
If you find a solution to that, I'd be happy if you could share this hear. 😉

Awesome, this worked as you advertised. But yea, almost everything doesn't comply so currently it's not usable.

I think I found the solution for this.
Define a css-style for the dark-mode with modified color constants.
css() = style("""
:root.stipple-blue body.body--dark{
    --st-dashboard-module: #4e4e4e;
    --st-dashboard-line: #a2a2a2;
    --st-dashboard-bg: #616367;
    --st-slider--track: #aab2b2;
}
""")

You can also change the other theme colors, of course.
Prepend or append css() to your dashboard and you're done 😃.
function ui()
  [
    dashboard(
      vm(model), class="container", title="Hello Stipple",
      [
        h1(["Hello, " span("", @text(:name))])
        row(cell(class="st-module", [
            p(toggle("Camera on", fieldname = :cameraon)),
        ]))
        p([
          "What is your name? "
          textfield("", :name, placeholder="type your name", label="Name", outlined="", filled="")
        ])
      ]
    )
    css()
  ] |> html
end

Thanks for this, it worked better than before, but right now, I can find some edge-cases (things that are not specifically mentioned are missed by this; e.g. lines around things, text boxes, etc), and rather avoid fiddling too much with the colors... What with the magic of Stipple, I half hoped that there would be some complete standard default pallet we can tap into.
Again, this is more of a feature than an issue!

Let's keep this open until we have a good dark-mode color-palette.
Furthermore, I struggled to define a dark color for the background outside the vue-app. We would need to change the background-color with a listener...

This should be implemented around Stipple's themes architecture as implemented here: https://github.com/GenieFramework/Stipple.jl/blob/master/files/css/stipplecore.min.css
The theme is passed here: https://github.com/GenieFramework/Stipple.jl/blob/8b6c9e613ea600dba163192d4f050e714163649f/src/Stipple.jl#L410

authors: essenciary hhaensel yakir12


text:
optimize map generate code using copilot chat

I haven't test it yet, but these optimizations should work.

getFather:
use path compression
Path Compression refers to the gradual adjustment of the parent node's pointer during the query process, so that it points to higher-level nodes, gradually moving many deep stages closer to the root node.

checkConnection
This optimized version of the method uses a const declaration for the conn and size arrays, and initializes them using the fill() and map() methods. It also initializes a connected variable to false to keep track of whether a connected component that contains all the non-obstacle points has been found.

The method uses a for...of loop to iterate over the neighbors of each non-obstacle point, instead of using forEach(). This can improve performance because for...of loops are generally faster than forEach().
The method also uses a break statement to terminate the loop early if a connected component that contains all the non-obstacle points is found. This can significantly reduce the number of iterations required to check the connectivity of the map.
Overall, these optimizations can improve the performance of the checkConnection method.

Oh yes, thank you very much.😋

Thank you again for your contribution!

authors: Jackiexiao Reqwey

repo: GenniaApp/Gennia


text:
🛑 WWWW xyz is down

In 05e76dc, WWWW xyz (https://www.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WWWW xyz is back up in fe07435.

repo: GentlemanHu/own-status


text:
Mirror window/tab doesn't show up on PC

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Android
scrcpy version: Tried 2 different ones, but let's stick with the newest: scrcpy-win64-v1.17
installation method: Just a windows Zip
device model: Xiaomi Redmi9  (M2004J19C)
Android version: 10

Describe the bug
A clear and concise description of what the bug is.
I have no errors, but the mirror screen/tab/window does not come up on the PC. This is what the console says:
INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy
C:\Users\directory\scrcpy-win64-v1.17\scrcpy-ser... file pushed, 0 skipped. 66.6 MB/s (34930 bytes in 0.001s)
[server] INFO: Device: Xiaomi M2004J19C (Android 10)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2336
Which looks like it's working, I know this coz it works on my Samsung S6 just fine.

Try with a lower definition (scrcpy -m1024) or with another encoder.

Try with a lower definition (scrcpy -m1024) or with another encoder.

Where do I type the scrcpy -m1024, coz if I do it after I open scrcpy it doesn't do anything (sorry I'm not familiar with how to do this)
[server] INFO: Device: Xiaomi M2004J19C (Android 10)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2336
scrcpy -m1024

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

scrcpy --encoder c2.android.avc.encoder
This one worked, is there any way I can make it default? Not that it's a big issue to do it every time, just convenience.
And thank you very much for the super prompt and nice answers!

Actually wait. I can't use anything in there, clicking or moving anything with my mouse doesn't work.

And USB debugging is on (I read FAQ)

scrcpy --encoder c2.android.avc.encoder
This one worked, is there any way I can make it default?

Create a batch file with these arguments (see the end of https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows).

Actually wait. I can't use anything in there, clicking or moving anything with my mouse doesn't work.

"USB debugging (Security settings)"
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mouse-and-keyboard-do-not-work

Can't believe that within 30 minutes you have given me all these working solutions.
Much better than most companies even, and you aren't one. Is there any way to donate a few coins to you? :)
Best regards,
me

Glad it works for you :)

Is there any way to donate a few coins to you?

paypal.me/rom2v (referenced from https://blog.rom1v.com/about/) :heart:

repo: Genymobile/scrcpy


text:
scrcpy recording =Unable to find the video file

[ ] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

It's in your current directory: C:\Scrcpy\file.mp4.


text:
Scrcpy doesnt start

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 10
scrcpy version: 2.0
installation method: Windows release
device model: moto g6 (ali)
Android version: 12.1 (Lineage 19.1)

Describe the bug
Hey guys!
I used to get my screen on my PC before, but i moved from android 10 to 12, updating to Lineage 19.1.
Now, when i try to start scrcpy, nothing occurs. I can acess shell trough adb as well, with no luck.
Every command that i put on bat file, ends like this:
D:\Arquivos Notebook\arquivos backup\scrpy\v2>scrcpy.exe -b 6m -m 960
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
D:\Arquivos Notebook\arquivos backup\scrpy\v2\scrcpy-server: 1 file pushed, 0 skipped. 37.4 MB/s (52867 bytes in 0.001s)
ERROR: Server connection failed

How can i get this working? Thanks for help!

What is the result of:
adb devices
scrcpy -Vdebug

Also check logcat:
adb logcat -c  # clear
scrcpy
adb logcat -d > logcat.txt

(and post logcat.txt)


text:
Failed To Install scrcpy: "libvorbis"

Environment

OS: macOS 10.15
scrcpy version: 2.2
installation method: brew
device model: macOS 10.15
Android version: 13

Bug Description
I am trying to install scrcpy on my Mac. However, I get the following error when I run brew install scrcpy
I searched on existing issues and found a solution that suggested using a different version of curl installed by Homebrew and setting an environment variable called HOMEBREW_FORCE_BREWED_CURL=1. I followed the steps to do that but still got the same error.
I also tried to reinstall Homebrew and install the missing dependency manually, but none worked.
Can anyone help me solve this issue and install scrcpy on my Mac? I would appreciate it. Thank you.
Error: scrcpy: Failed to download resource "libvorbis"
Download failed: Homebrew-installed `curl` is not installed for: https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.xz

See #3505 or report to homebrew.