Build Failed

Dear @herlesupreeth
The build have failed in open5gs_hss_cx branch as bellow:

Get:6 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ Packages [37.1 kB]
Fetched 38.7 kB in 2s (21.9 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libdbd-sqlite3 libdbi1 libmnl0 libosmo-gsup-client0 libosmo-mslookup0
  libosmoabis10 libosmocore18 libosmoctrl0 libosmogsm17 libosmovty9 libsctp1
  libtalloc2 osmocom-latest
Suggested packages:
  lksctp-tools
The following NEW packages will be installed:
  libdbd-sqlite3 libdbi1 libmnl0 libosmo-gsup-client0 libosmo-mslookup0
  libosmoabis10 libosmocore18 libosmoctrl0 libosmogsm17 libosmovty9 libsctp1
  libtalloc2 osmo-hlr osmocom-latest
0 upgraded, 14 newly installed, 0 to remove and 10 not upgraded.
Need to get 941 kB of archives.
After this operation, 2499 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libmnl0 amd64 1.0.4-2 [12.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libdbi1 amd64 0.9.0-5 [27.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libdbd-sqlite3 amd64 0.9.0-8ubuntu1 [175 kB]
Get:4 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ osmocom-latest 1.0.0 [1156 B]
Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 libsctp1 amd64 1.0.18+dfsg-1 [7876 B]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtalloc2 amd64 2.3.1-0ubuntu<IP_ADDRESS> [29.5 kB]
Get:6 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmogsm17 1.6.0 [209 kB]
Get:7 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmovty9 1.6.0 [101 kB]
Get:9 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmo-gsup-client0 1.4.0 [20.6 kB]
Get:10 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmo-mslookup0 1.4.0 [25.0 kB]
Err:5 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmocore18 1.6.0
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
Err:8 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmoabis10 1.2.0
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
Err:12 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ osmo-hlr 1.4.0
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
Err:11 https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04 ./ libosmoctrl0 1.6.0
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
Fetched 608 kB in 2min 2s (4973 B/s)
E: Failed to fetch https://ftp.gwdg.de/pub/opensuse/repositories/network:/osmocom:/latest/xUbuntu_20.04/amd64/libosmocore18_1.6.0_amd64.deb  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
E: Failed to fetch https://ftp.gwdg.de/pub/opensuse/repositories/network:/osmocom:/latest/xUbuntu_20.04/amd64/libosmoabis10_1.2.0_amd64.deb  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
E: Failed to fetch https://ftp.gwdg.de/pub/opensuse/repositories/network:/osmocom:/latest/xUbuntu_20.04/amd64/libosmoctrl0_1.6.0_amd64.deb  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
E: Failed to fetch https://ftp.gwdg.de/pub/opensuse/repositories/network:/osmocom:/latest/xUbuntu_20.04/amd64/osmo-hlr_1.4.0_amd64.deb  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: <IP_ADDRESS> 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c wget https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04/Release.key &&     apt-key add Release.key &&     echo "deb https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04/ ./" > /etc/apt/sources.list.d/osmocom-latest.list &&     apt-get update && apt-get -y install osmo-hlr' returned a non-zero code: 100
ERROR: Service 'osmohlr' failed to build : Build failed

This happened under docker-compose build --no-cache
Thanks
Best regards

I do not have any osmocom devices but if there is a way to send sms without any thing more than B210 and one or two pcs that would be really great

the osmocom hlr and msc are core network components used in this repo to send SMS over SGs interface
I am not sure why the build is failing. Its appearing from not able to resolve certain repository. I sugges tto check your IPTables or DNS or your networking. It works just fine for me

Thank you so much for adding an amazing Feature,
I can not connect UE's to the Network after Update
CORE+RAN.zip

@herlesupreeth
I have tested the usual network on [Append RPort to fix non-receiving of in-dialog replies](https://github.com/herlesupreeth/docker_open5gs/commit/95c1bb6826bf1719a0a06abfd3b5cf0d679b9313)
and everything works great. UE connect and VoLTE call works smoothly.
But when i used the [Bump tag to be used for UERANSIM to v3.2.6](https://github.com/herlesupreeth/docker_open5gs/commit/b8e03d4d0879853f5b46b4719a37925139d68b0b)
UE cannnot attach to the Network (maybe because of new components)
Do i need to add subscriber information into hlr and msc in order to connect the UE?
P.s. I'm using open5gs_hss_cx  CX in WebUI
Thanks
Best Regards

Hi @modyngs
You need to login to the osmohlr container and register the IMSI and MSISDN, as described below.
https://ftp.osmocom.org/docs/latest/osmohlr-usermanual.pdf
6.1 Example: Add/Update/Delete Subscriber via VTY

@s5uishida
Thank you so much for the help
@herlesupreeth
I have just one way SMS!
Just one UE can send messages to the other ( and can deliver that the message has arrived on the other side )
I mean the UE1 send messages and can confirm the message has arrived to the UE2 by delivery message but UE2 can not sent SMS to the UE1!  While both of them are able to start the VOLTE call.
Can you please give me some hint?
Core PCAP : https://drive.google.com/file/d/1kW3Y35R277UvXSUO0Yetwl3Dw5vIZ-ZC/view?usp=sharing
RAN PCAP : https://drive.google.com/file/d/1DtzLA-K0IrzTN58RsFA-yxBlyKDVGg44/view?usp=sharing
Thanks
Best regards

Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Ign:5 https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.04 ./ InRelease
Err:6 https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.04 ./ Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: <IP_ADDRESS> 443]
Reading package lists...
E: The repository 'https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.04 ./ Release' does not have a Release file.
ERROR: Service 'osmohlr' failed to build: The command '/bin/sh -c wget https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.04/Release.key --no-check-certificate &&     mv Release.key /etc/apt/trusted.gpg.d/osmocom-latest.asc &&     echo "deb https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.04/ ./" > /etc/apt/sources.list.d/osmocom-latest.list &&     apt-get update && apt-get -y install osmo-hlr' returned a non-zero code: 100

I am also getting same error while "docker-compose build --no-cache" command.
Tried on 2 different Ubuntu VMs. Tried with local as well as root user. Still same issue.
I also changed Server from India-Server to Main-Server in Software repo from Ubuntu UI.

I believe it your host machine networking issue so closing this.


Short blocks

After downloading anything it gets to the verify stage and fails immediately because of short blocks. It thinks the entire downloaded data is missing, there is no actual data integrity problem with the download. Using 1.10RC3.
I my first guess is it's a UID/GID problem? I don't know why else it would download all the files, then try to verify them and not see any of them?

I'm a fellow user and haven't seen this problem. Have you tried connecting to the sabnzbd container and create a test directory+file at /incomplete-downloads, move it to /data, then remove it? It's docker exec -it sabnzbd /bin/sh to connect.

Hello do you have a NZB File that shows this behaviour (And also a snapshot of your SABNZB Settings) so  can try and replicate it.

Haven't been able to reproduce, thanks for following up @ljdelight and @cmeindl.


Small refactor in AKAudioUnitManagerDelegate

Passes the AKAudioUnitManager itself in the delegate methods, making it easier to use multiple instances of AKAudioUnitManager
Adds specific types for notifications

I needed this change for a project I'm working on, so I thought it could be helpful for others.
Of course this breaks compatibility with clients that are already using the AKAudioManager.

Next version of AK will have several API updates so I think this is good to get in now. Thanks!


Percentiles support

Hi
This is a follow-up of the issue opened on the Timelion project requesting support for percentiles: could you please implement it in Mathlion so it would be available in Timelion?

Hi,
Does this function do what you need ? http://mathlion.docs.fermiumlabs.com/en/latest/functions/quantileSeq/
Davide

Hi, @ddavidebor,
quantileSeq function returns value (percentiles):
 (@1).math('quantileSeq(source, 0.99)')
will return 99th percentile but as single value for all source and what is expected (based on main issue in Timelion) is a percentile metrics, so I think its not a mathlion or math.js issue.
Regards.

Yeah if the percentile metric is already an output of elasticsearch then the problem is in the timelion elasticsearch source.
Regards,
Davide


Cleanup ServiceLocator pattern in favor of proper DI

[ ] Active Connection == own Scope

[x] Create Scope in host during hub/protocol initialization

Move the following types to a AddScoped lifetime

[x] BluetoothKernel (remove bluetoothAddress from constructor and move to ConnectAsync)
[x] PoweredUpProtocol (add deviceFactory as a constructor argument and remove IServiceProvider service locator trap)
[ ] Rewrite DeviceFactory/HubFactory to use Transient types in the IServiceProvider. OPEN QUESTION: How to handle hubId and portId in an elegant way
[x] Add constructor argument deviceFactory to hub.

[ ] Add interface to PoweredUpHost to wire up a protocol

non-breaking in theory

Wrongly aligned commit 3a4f709


Setup stackdump correctly; add debugger event

Signed-off-by: John Howard<EMAIL_ADDRESS>Doing a blanket update of the event name for consistency across docker, containerd, containerd-shim-runhcs-v1 and docker-signal to make life a lot easier and less typing.

We weren't previously ever setting up the dump stack event 😲
Adds a debugger wait event triggered during create

(https://github.com/moby/moby/pull/38741 for the related moby change.)
@jterry75 PTAL

LGTM


Feature/pie chart

For #202
Most of this work was done back when this crate was on version 0.6.2 (:fearful:), so there probably needs to be some changes to this PR. Please review and let me know how this looks :bow:

BTW, When you run the example, the pie chart may look more like an oval than a circle. This is due to terminal "rows" being more pixels tall than "columns" are wide.

Could we maybe use braille patterns to get a more accurate rendering?

I've done some testing with rendering circles in the terminal in a separate project, and it seems like a 8:15 width:height ratio for characters is typical, but I'll need to test in other terminals to confirm. As long as it's safe to assume this ratio, I should be able to get a nearly perfect circle.

Since I haven't touched this PR in a long time I'm going to close it. If anyone wants to continue where I left off, I'll keep the branch open and a fork of my fork can be created.


Clicking different lines and typing sometimes inserts text from other lines

Do you want to request a feature or report a bug?
bug
What is the current behavior?
See this video:
https://www.useloom.com/share/0863d42b72f64d1e8c53ac851065a132
You can reproduce like this:

Copy in a few lines of text - in the screen share I did 4 lines of lorem ipsum
Click on each line, one at a time, and type in some text. In my screen share I just typed in 1 or 2 characters each time after I clicked to the new line.
Sometimes sooner, sometimes later, Draft will copy the text from one line and put it on another line.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
This works with the sample fiddle. No changes necessary.
What is the expected behavior?
I would expect Draft to only insert the characters I type, not content from other unrelated lines.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Tested on Chrome 61.0.3163.79 / OSX where I see this issue. Also broken in Safari 10.1.2. But - works as expected in Firefox 55.0.3.

This looks similar to #989

Agreed. It's more than just a loss of cursor position, but I see the gif you created in #989 also shows the problem with copying the content from another line. I'll close this in favor of that ticket which already has more history.

@colinjeanne @michaelcox Anybody found the solution? how to fix this?

@againksy, there is a longer discussion in #989. My team had found a solution but Draft has changed since we implemented it in our fork and we haven't had time to rectify it with what's currently in Draft.

@colinjeanne , Dear is on draft 0.10 version this still occurs? i am now on 0.9.1, maybe if ill move to 10, it will fix?


docs: Fixed jekyll build

This PR aims at:

fixing documentation build

Codecov Report

Merging #5 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   42.63%   42.63%
=======================================
  Files           8        8
  Lines         441      441
=======================================
  Hits          188      188
  Misses        253      253


Added Shielded STM under "Libraries"

Hi! I'd like to add Shielded STM library to this list, if it satisfies the necessary quality standards. Thank you!

Thanks @jbakic. Appreciated.


Example tool

example function for readme and to point out in the readme for users.

Can we use one of our simpler existing tools at the example?  Maybe add a comment to each line in the program about what that line does.  Maybe something like bedToFasta?
I worry that this being called newTool instead of something like fastaTranslate will have it gather dust and not be used.


Account deletion does not work - without notice

On our hub account deletion seems to work (warning, password dialog and all) but in reality does nothing. Hubzilla v. 2.5.2.
I'm kind of glad it does nothing because we use ldapauth exclusively and recreating an account under these circumstances would probably be impossible (?). I really don't want account deletion to work on a hub that uses ldapauth, because the correct way to solve the problem would be to delete the ldap account. Everything else would just create an administrative mess. The purpose of ldap is to be the single point of user administration and that should not be jeopardized.
I've only created this issue because a message would be nice like "Your account was not deleted because of a problem, contact your friendly neighbourhood admin."

I can't reproduce this. Neither withy mysql nor with posgres DB backend.

To test this I'd need to setup a test hub with test ldap which is beyond my capabilities. I can't risk a real account on our hub.
I think there is no check, whether the account was really removed, after Removeaccount.php is called. And the account must not get removed - as long as there is ldap, never!
It could be important that we have set create_account to automatically create Hubzilla accounts based on the LDAP 'mail' attribute upon first login.
Maybe we'll leave it at that, it's working well. I'm just afraid account removal might somehow get enabled by mistake. At the moment just the missing message is causing confusion.

Account removal seems to work fine for me as well. I think you may be seeing a weird interaction with LDAP. When using automatic LDAP account provisioning, if you deleted the account and logged in again, it would get recreated, because the LDAP driver doesn't know it has been removed. It only knows that if the account doesn't exist it should create it. I think you may find that even if the account can still login, it is a fresh account with none of the previous content. I haven't tried this, I'm only guessing based on what I know of the LDAP plugin. The result you desire may be best accomplished with a dummy module for Removeme and Removeaccount which exist and are loaded but do nothing. If you placed the dummy modules in Zotlabs/SiteModule/{{modulename}}.php they would take precedence and the standard utilities would never get called. You could also copy the existing modules from Zotlabs/Module to Zotlabs/SiteModule and edit the code to display any message you wish and block the post() method and delete action from happening.

Thank you for coming back to me. I think you are right about the ldap interaction. So you are saying it is possible to recreate a deleted account? I might have mixed this up with recreating a deleted profile which seems to not be possible. Since we'd like our users to have a primary profile with their account name (identical) it's good that this "weird interaction" exists and that deletion is not possible. I'll see about your workaround for the error message.
I know that communication in closed communities is not the primary goal of hubzilla but I think it's an excellent tool.


Add function to set "Warm" and "Heat" mode

Describe the idea or improvement
I have the Xiaomi Smart Heater Fan and it has two main speeds or heating modes, warm and heat. Warm uses around 1200 watt and heat uses the full capacity of 2000 watt. In the Mi Home app you can adjust this but not in Apple Home. Would be great.
Describe the solution you'd like
Set warm and heat mode
Additional context
Add any other context or screenshots about the feature request here.

Hello, you should be able to use propertyControl to expose the needed properties in HomeKit. Did you try that out? You can find more about that with examples in the README.

No, sorry. I have no idea what that is
Norbert Heim

On 31 Oct 2024, at 08:50, Marcin @.***> wrote:
Hello, you should be able to use propertyControl to expose the needed properties in HomeKit. Did you try that out? You can find more about that with examples in the README.
—
Reply to this email directly, view it on GitHub https://github.com/merdok/homebridge-miot/issues/637#issuecomment-2449247866, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMOH6DRE2WTFSQOEK6WFV3LZ6HOKRAVCNFSM6AAAAABQ5WD4TKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBZGI2DOOBWGY.
You are receiving this because you authored the thread.

Then please try it out, all the info on the usage should be available in the README


Cannot run unit tests from PHPStorm on Magento 2.2.

Problem:
Cannot run tests from PHPStorm.
Magento version: 2.2.2
PHP Unit version: 6.2.4
Error I get.
sftp://vagrant@<IP_ADDRESS>:3173/usr/bin/php /home/vagrant/.phpstorm_helpers/phpunit.php --configuration /Users/pablo/Vagrant/magento2/vagrant-magento-22/magento2ce/dev/tests/unit/phpunit.xml /Users/pablo/Vagrant/magento2/vagrant-magento-22/magento2ce/app/code
Testing started at 10:14 AM ...
Fatal error: Class 'PHPUnit_TextUI_ResultPrinter' not found in /home/vagrant/.phpstorm_helpers/phpunit.php on line 253

@centerax I just ran into this problem myself. For whatever reason, PhpStorm is running the old class versions of phpunit in /home/vagrant/.phpstorm_helpers/phpunit.php. I kept messing with the configuration and suddenly it ended up working. If you want, you could try these steps and see if it works for you...might be a workaround for now:

SSH into the box and go to /home/vagrant/.phpstorm_helpers/ a run cp phpunit.php phpunit.php.bak
Try and run a test from PhpStorm, you should get the error that /home/vagrant/.phpstorm_helpers/phpunit.php doesn't exist
Go to Preferences > Languages & Frameworks > PHP > Test Frameworks and click on the + button
Choose PHPUnit by Remote Interpreter and set the CLI interpreter to the box's name
Select Use Composer autoloader and set the path to <install dir>/magento2ce/vendor/autoload.php
Set the Test Runner "Default configuration file" to <install dir>/magento2ce/dev/tests/unit/phpunit.xml

Note: the <install dir> is copied to the box using the path to where it's installed on the host. If you're on a Mac, the install dir on the box will be /Users/<username>/<path to git clone location>.
Hopefully that'll work for you!

thanks @nfourteen I will try that :)

@nfourteen thanks for the suggested solution, added current issue to the FAQ list in the readme.


Transparency is not working properly

Some modules are not working right when i use rgba colors. Here is an example with Volume module:
http://imgur.com/a/OLtdN
Custom scripts like the window title (using exec = xtitle -s) or the date/clock module, are not working too.

Thanks for reporting the issue. Could you post the config you are using and I'll look into it.

Sure. Here it is:

;====================================================;
;						     ;
;   To learn more about how to configure Lemonbuddy  ;
;   go to https://github.com/jaagr/lemonbuddy	     ;
;						     ;
;   The README contains alot of information	     ;
;						     ;
;====================================================;

[settings]
[bar/Bar]
bottom = false
dock = false
width = 100%
height = 24
lineheight = 3
border-top = 8
border-bottom = 1
border-left = 8
border-right = 8
padding-left = 2
padding-right = 1
module-margin-right = 2
modules-left = i3 Spotify
modules-center = Xtitle
modules-right = Volume Clock Shutdown
tray-position = right
background = #f2f2f2
font-0 = tewi:size=9;1
font-1 = -wuncon-siji-medium-r-normal--10-100-75-75-c-80-iso10646-1
[module/i3]
type = internal/i3
label-focused = 
label-focused-padding = 1
label-unfocused = 
label-unfocused-padding = 1
label-urgent = 
label-urgent-padding = 1
label-visible = 
label-visible-padding = 1
format-foreground = #0d000000
[module/Spotify]
type = custom/script
exec = ~/.config/lemonbuddy/Scripts/Spotify/Spotify.sh
interval = 5
maxlen = 40
ellipsis = true
scroll-up = xdotool key super+0
scroll-down = xdotool key super+z
format-padding = 1
format-foreground = ${bar/Bar.background}
format-background = #0d000000
format-overline = ${bar/Bar.background}
format-underline = ${bar/Bar.background}
[module/Xtitle]
type = custom/script
exec = xtitle -s
tail = true
maxlen = 40
ellipsis = true
format-foreground = #0d000000
[module/Volume]
type = internal/volume
master-mixer = Master
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 9
label-muted =  Muted
format-volume =
format-muted =
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-headphones-0 = 
ramp-headphones-1 = 
format-volume-foreground = #0d000000
format-muted-foreground = #0d000000
label-muted-foreground = #0d000000
[module/Clock]
type = internal/date
date = %a, %d %b | %H:%M
interval = 5
format-padding = 2
format-foreground = ${bar/Bar.background}
format-background = #0d000000
format-overline = ${bar/Bar.background}
format-underline = ${bar/Bar.background}
[module/Shutdown]
type = custom/script
exec = echo " "
click-left = shutdown now
click-right = reboot
click-middle = xdotool key super+shift+e
format-padding = 1
format-foreground = #0d000000

Another issue is, if RGBA color is set to #00000000, there is no transparency and everything becomes black. But ,if i set color to #00ffffff, which is the same thing (0% opacity on both), everything just works fine.

Yeah that sounds like a bug. Will have a look once I'm done with the new update.

#00000000 becomes fully transparent for me. Your configuration also shows transparency so this doesn't seem to be a problem with lemonbuddy. What compositor are you using?

Using xcompmgr and compton, both are not working.

You got transparency even on the xtitle and volume module ?

Yeah... with format-background = #0d000000

Sorry, but i mean a transparent foreground, like the icon on the volume module that i posted.

Ok, i give up. Thank you for the help and attention.

Make sure you are using an up-to-date version and that your compositor is running properly and it should work. Good luck.

shoulThe mistake was mine, i do not made myself clear. I know that the icon foreground from volume module works fine with the rgba colors, and that is awesome BTW. But, here the output of xtitle and the , or the Spotify output texts, all do not work with that. In my print maybe you can see it, a transparent icon and a black "61%" that should be transparent too. Anyway, sorry about the issue report and my bad english.

I changed to a white background and now I see what you mean.. Actually the transparency is working fine it's just that the layers don't blend (the icon is clipping through the bar).

This only happens when using an X font. Freetype fonts blend correctly.

Now the color should be displayed correctly for X fonts as well...

Okay, i recompiled it and now rgba bitmap and x fonts are black :/

What rgba value are you using?

foreground = #99ffffff

And it draws the text in black?

Yes. Also, changing the wallpaper does not affect the font, maybe i'm missing something.

The wallpaper affect the content when using an alpha transparent background for the bar.

Tried on a few different setups now and all render the text in gray so check ur config.

I know, and i'm using it right now. Good, the text is grey now. Did your setups changed the font color while changing wallpapers ? Print: http://imgur.com/a/FPsLw

Looks like the rgba is changing the opacity of the color but not making it transparent.

This should do the trick. Update and reload.

Should probably make that a config setting though.. to not screw up setups without compositorsw

Sorry, the bug persists.

Pushing a fix in a bit...

Alright :)

Xft is just horrible. I revert my "in a bit" comment but I'm working on it.

It's all fine. I don't know how to use non X fonts on lemonbuddy. At the moment i'm using tewi.

Looks like the transparent text is now fully disabled. Any update ?

Not yet. Did you change your config? If so, could you link it so I can test it out. My config works fine however the alpha value probably only brings it more to black and I'm using a dark background.

Actually not much. Look's like this:
[settings]
[bar/Bar]
bottom = false
dock = false
width = 100%
height = 24
lineheight = 3
border-top = 8
border-bottom = 1
border-left = 8
border-right = 8
padding-left = 2
padding-right = 1
module-margin-right = 2
modules-left = i3 Spotify
modules-center = Xtitle
modules-right = Volume Clock Shutdown
tray-position = right
background = #99f2f2f2
font-0 = tewi:size=9
font-1 = -wuncon-siji-medium-r-normal--10-100-75-75-c-80-iso10646-1;0
[module/i3]
type = internal/i3
label-focused = 
label-focused-padding = 1
label-unfocused = 
label-unfocused-padding = 1
label-urgent = 
label-urgent-padding = 1
label-visible = 
label-visible-padding = 1
format-foreground = #0d000000
[module/Spotify]
type = custom/script
exec = ~/.config/lemonbuddy/Scripts/Spotify/Spotify.sh
interval = 5
maxlen = 40
ellipsis = true
scroll-up = xdotool key super+0
scroll-down = xdotool key super+z
format-padding = 1
format-foreground = ${bar/Bar.background}
format-background = #0d000000
format-overline = ${bar/Bar.background}
format-underline = ${bar/Bar.background}
[module/Xtitle]
type = custom/script
exec = xtitle -s
tail = true
maxlen = 40
ellipsis = true
format-foreground = #0d000000
[module/Volume]
type = internal/volume
master-mixer = Master
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 9
label-muted = 
format-volume =
format-muted =
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-headphones-0 = 
ramp-headphones-1 = 
format-volume-foreground = #0d000000
format-muted-foreground = #0d000000
label-muted-foreground = #0d000000
[module/Clock]
type = internal/date
date = %a, %d %b | %H:%M
interval = 5
format-padding = 2
format-foreground = ${bar/Bar.background}
format-background = #0d000000
format-overline = ${bar/Bar.background}
format-underline = ${bar/Bar.background}
[module/Shutdown]
type = custom/script
exec = echo " "
click-left = shutdown now
click-right = reboot
click-middle = xdotool key super+shift+e
format-padding = 1
format-foreground = #0d000000

You said that the freetype fonts are working just fine. Can you tell me how i can use some of these freetype fonts, please ?

Get a list of fonts using fc-list | cut -d ' ' -f2 | sort -u
Specify size using :size=12

Example: font-0 = terminus:style=bold:size=12

Thanks ! Sadly they are not working. I will wait until a new update.

ah.. it's my dev build. I'm progressing at least so I'll keep you posted.

Great success...

transparency now works properly for freetype fonts... If you are using a git version you can grab the latest version.. X fonts aren't fix yet.

THIS IS AWESOMEEEE ! Can you tell me what font are you using, please ?

In the blue pic?

Can you please tell me if it's working with your clock module ?

Sadly, mine still changing only opacity, but not getting transparent (look at the window title, for example). The good news are: the icons of seji-font are now working again with the rgba colors.

I'm so sorry about all the work that you have just to fix this :/

Yeah, now it does (d8c309ec3571254402d5e5210a99e28f407196d8)... was a bug in the date module.

Can't see what's wrong in that image. The green color?

Yeah, it should be blue, cause is set to #9900ff00. Am i doing something wrong ?

Everything else is working flawless. i3 Module, for example, is perfect, fully transparent, matching the wallpaper color.

The third bit is blue. #990000ff

I hate the fact that i just cant expresse myself english. What i wanted to say was that it should be transparent, not green. And, if the wallpaper is blue and the text is transparent, the text should be blue too. I Changed the wallpaper to be sure that you can understand now. Please, take a look at the i3 module and see the way it changes to the color of wallpaper. Now look at the xtittle, it still green.

Ah I see, that's because of the font. I only fixed transparency for freetype fonts so far.

I tried with all my freetype fonts and i just cant get it working. Maybe i'm missing something.

What fonts did you try? Tewi for example is a bitmap font.

Used all of the fonts of the "fc-list | cut -d ' ' -f2 | sort -u".

Could you link the list.

Sure:

AvantGarde
C059:style=Bold
C059:style=Italic
C059:style=Roman
Cantarell:style=Bold
Cantarell:style=BoldOblique
Cantarell:style=Oblique
Cantarell:style=Regular
Clean:style=Regular
ClearlyU
ClearlyU:style=Regular
cursor.pcf:style=Regular
D050000L:style=Regular
deccurs.pcf:style=Regular
decsess.pcf:style=Regular
DejaVu
East
Estrangelo
Fixed:style=Bold
Fixed:style=ja
Fixed:style=ko
Fixed:style=Oblique
Fixed:style=Regular
Fixed:style=SemiCondensed
FontAwesome:style=Regular
FZChaoCuHei-M10,方正超粗黑_GBK:style=Regular
FZFangSong-Z02,方正仿宋_GBK:style=Regular
FZHei-B01,方正黑体_GBK:style=Regular
FZKai-Z03,方正楷体_GBK:style=Regular
FZLiShu-S01,方正隶书_GBK:style=Regular
FZShuSong-Z01,方正书宋_GBK:style=Regular
FZSongS-Extended(SIP),方正宋体S-超大字符集(SIP):style=Regular
FZSongS-Extended,方正宋体S-超大字符集:style=Regular
FZWeiBei-S03,方正魏碑_GBK:style=Regular
FZXiaoBiaoSong-B05,方正小标宋_GBK:style=Regular
FZXiHeiI-Z08,方正细黑一_GBK:style=Regular
FZXingKai-S04,方正行楷_GBK:style=Regular
FZYaoTi-M06,方正姚体_GBK:style=Regular
GE
Goha-Tibeb
Inconsolata:style=Bold
Inconsolata:style=Regular
Material
Meslo
micro.pcf:style=Regular
Newspaper:style=Regular
Nimbus
NimbusSans:style=Bold
NimbusSans:style=Oblique
P052:style=Bold
P052:style=Italic
P052:style=Roman
Roboto,Roboto
Roboto:style=Bold
Roboto:style=Italic
Roboto:style=Regular
Serto
Siji:style=Regular
Standard
Terminus:style=Bold
Terminus:style=Regular
tewi2a:style=Bold
tewi2a:style=Regular
tewifw:style=Bold
tewifw:style=double-wide
tewii:style=Bold
tewii:style=Regular
tewi:style=Bold
tewi:style=Regular
Ubuntu:style=Regular,Normal,Standard,Normaali,Normale,Standaard,Normalny,Arrunta
URW
Z003:style=Medium

Try now

WOW, now spotify and clock are working with rgba colors too !!!  Almost everything is working now, just label-volume and xtitle. Any guess ?

Great! Hm. And they are using freetype fonts?

Yeah ! Can i specify a font to an specific module ?

Could you just test with my latest commit. The alpha channel was wrong.

Tested, sadly no changes. Idk why.

You can specify the format-font = <font-index> property.

Also try to remove the Siji font to see if it related to having an X font loaded.

I removed Siji, but it persists. The same thing happens to they, the alpha channel is setting the opacity and not the transparency.

I think that i found something. Looks like if i set the rgba color to something like #99f2f2f2 or #990d0d0d, the Spotify module or the clock module works just fine. But, if set a color with a high transparency ratio, like #0d000000, they do not work.

Sorry about the question but, are you going to give up ? It looks really hard to fix.

We need to specify better how it should work... what the expected result is etc when using different colors... should the color blend with the bar background or should it burn through..

It should work like the i3 module. The text should be completely transparent if setted. The problem actually is only that the alpha bit is setting the opacity and not transparency. Images for a better example :

This is no plain alpha blend and it would require compsiting. Plain X fonts render like that by default because they replace the existing pixels (currently being premuled).

OK, so the plan is to make the text blend with bar background now ?

at least to me it's the most natural default.... but we could just make it a setting if we find a way to make make the xft glyphs replace the background pixels..

This is now possible using the new rendering.. for example:
[settings]
compositing-background = over
compositing-foreground = xor

NOTE: only freetype fonts are supported now


feat(docker): Add option to run via Docker Compose

I know this isn't necessarily a needed option at this point, but I thought I'd try my hand at Dockerizing this project in the interest of making it able to run on more platforms. Open to any questions, suggestions, or concerns you might have!
The Dockerfile and Compose spec included in this draft are relatively basic at this point; for one thing, the choice of version to run currently has to be manually specified in the Dockerfile. However, if further development is desired, it may be possible to work around this while developing a more formal build workflow through GitHub Actions or the like.

You should add volumes for persistent data:

/.env
/snaps.db
/snaps/

Otherwise the image will just lose all state when it is restarted.

Something like this would work cleanly for the environment variables:
services:
  web:
    build:
      context: .
    container_name: harmony-container
    image: harmony
    ports:
      - "8000:8000"
    volumes:
      - ./snaps/:/app/snaps/:rw
      - ./snap.db:/app/snap.db:rw
    environment:
      HARMONY_CODE_URL: ${HARMONY_CODE_URL}
      HARMONY_SUPPORT_URL: ${HARMONY_SUPPORT_URL}
      MUSICBRAINZ_URL: ${MUSICBRAINZ_URL}
      DENO_DEPLOYMENT_ID: ${DENO_DEPLOYMENT_ID}
      FORWARD_PROTO: ${FORWARD_PROTO}
      HARMONY_SPOTIFY_CLIENT_ID: ${HARMONY_SPOTIFY_CLIENT_ID}
      HARMONY_SPOTIFY_CLIENT_SECRET: ${HARMONY_SPOTIFY_CLIENT_SECRET}
      HARMONY_TIDAL_CLIENT_ID: ${HARMONY_TIDAL_CLIENT_ID}
      HARMONY_TIDAL_CLIENT_SECRET: ${HARMONY_TIDAL_CLIENT_SECRET}

This would work as docker compose also reads the .env file and makes the variables available.
Side note: While the above is a little verbose I would very much advise this over e.g. using something like env_file: .env. Explicitly listing the variables to be passed in allows you to have fine control over which variables are used, instead of just everything. Probably not so much of a problem here, but definitely something I see done wrong in many compose files involving multiple containers.

I don't really see the point of using Docker here, after all Deno is a single, self-contained binary which only depends on its cache directory and, in case of this project, the contents of this repository's checked out directory. But I also don't have a lot of experience with Docker, so I may be missing some other benefits.

One advantage is that it can allow you to run a different (stable) version of Deno inside the container than your system has installed. (Or you don't need to install Deno at all if you don't want to.) It may only be a single binary, but I still install it through my system package manager (which may provide an older version than I want) and would rather not manage multiple binaries.

Hi all,
Thanks for the discussion and contributions so far! Unfortunately, I'm more than a bit busy today and this weekend, but will work on responding to all of this early next week.

Apologies for not meeting my own timeline of "early next week"... here I am a full week later. 😅
Part of my initial motivation with putting this together was to enable deployment of Harmony in environments where one does not necessarily have access to an underlying operating system/dev environment. With a built container (e.g., published through GitHub Packages), it becomes substantially easier to run things like Harmony on platforms that simply offer Docker container hosting. In addition, as @mwiencek indicated, having a Docker container obviates the need to have Deno installed wherever Harmony is being run. (e.g., personally I didn't have Deno installed on my computer before beginning to work with Harmony)
Finally, there's a bit of a security benefit by running this application in an isolated environment from its host, especially in production environments. For example, I know someone at my day job who tends not to install software directly onto his work computer whenever possible, and instead prefers to run things as VMs or containers.
In any case, I'm going to go through the discussion in this PR and address things as appropriate. Thanks again for all of your input so far!

    volumes:
      - ./snaps/:/app/snaps/:rw
      - ./snaps.db:/app/snap.db:rw

Unfortunately, I'm having a little trouble with this portion. Regardless of whether I put it into my docker-compose.yml as is or edit the second volume to mount as /app/snaps.db (with a final S in snaps), I get an error like this upon running docker compose up while trying to test the .env-based versioning process:
[+] Running 1/0
 ✔ Container harmony  Recreated                                            0.1s
Attaching to harmony
harmony  | error: Uncaught (in promise) Error: Is a directory (os error 21): open 'snaps.db'
harmony  |       const rid = Deno.openSync(path, { read: true, write, create }).rid;
harmony  |                        ^
harmony  |     at Object.openSync (ext:deno_fs/30_fs.js:620:15)
harmony  |     at js_open (https://deno.land/x/sqlite@v3.8/build/vfs.js:29:24)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:5566)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:145428)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:141310)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:147518)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:3869)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:611986)
harmony  |     at https://deno.land/x/sqlite@v3.8/src/db.ts:208:27
harmony  |     at setStr (https://deno.land/x/sqlite@v3.8/src/wasm.ts:19:20)
harmony exited with code 1

Here are the only differences in my working directory besides adding a .env with DENO_DEPLOYMENT_ID specified:
diff --git a/Dockerfile b/Dockerfile
index ee48b9e..00de358 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,5 @@ ADD . /app

 RUN deno cache server/main.ts

-ARG version
-ENV DENO_DEPLOYMENT_ID $version
 USER deno:deno
 CMD deno run -A server/main.ts
diff --git a/docker-compose.yml b/docker-compose.yml
index b800f65..91ddd3a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,9 +2,12 @@ services:
   web:
     build:
       context: .
-      args:
-        version: v2024.6.12
     container_name: harmony
     image: harmony
     ports:
       - "8000:8000"
+    volumes:
+      - ./snaps/:/app/snaps/:rw
+      - ./snaps.db:/app/snaps.db:rw
+    environment:
+      DENO_DEPLOYMENT_ID: ${DENO_DEPLOYMENT_ID}

@phw @atj any suggestions for how to properly handle persisting that file and making it available to the container? I've done some looking around, and I also tried manually touching snaps.db locally before trying to bring up the container, but that didn't do the trick.

I think you need to specify a bind mount volume type, e.g.
volumes:
   - type: bind
     source: ./snaps.db
     target: /app/snaps.db
``
See this Stack Overflow post:

https://stackoverflow.com/questions/42248198/how-to-mount-a-single-file-in-a-volume

I think you need to specify a bind mount volume type, e.g.
volumes:
 - type: bind
   source: ./snaps.db
   target: /app/snaps.db

See this Stack Overflow post:
https://stackoverflow.com/questions/42248198/how-to-mount-a-single-file-in-a-volume

Tried that too, and unfortunately no luck there:
λ › docker compose up
[+] Running 0/0
 ⠋ Container harmony  Recreate                                             0.0s
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /Users/julian/harmony/snaps.db
λ › touch snaps.db
λ › docker compose up
[+] Running 1/1
 ✔ Container harmony  Recreated                                            0.1s
Attaching to harmony
harmony  | error: Uncaught (in promise) PermissionDenied: Permission denied (os error 13): open 'snaps.db-journal'
harmony  |       const rid = Deno.openSync(path, { read: true, write, create }).rid;
harmony  |                        ^
harmony  |     at Object.openSync (ext:deno_fs/30_fs.js:620:15)
harmony  |     at js_open (https://deno.land/x/sqlite@v3.8/build/vfs.js:29:24)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:5566)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:83582)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:77354)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:76776)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:75649)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:62724)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:28928)
harmony  |     at <anonymous> (wasm://wasm/0028679a:1:115655)
harmony exited with code 1

If mounting an SQLite DB into Docker is such a PITA, we could also create the DB in a dedicated data directory by passing it as an argument here:
https://github.com/kellnerd/harmony/blob/dfdffd425cdc21820640f06cb4292cff5c021300/providers/registry.ts#L114
Ideally that would be done using another environment variable, with the default still being the current working directory for backward compatibility.
Another option (which I haven't tested to confirm it is working) would be to mount a data/ directory from outside the container into the container's /app working directory, then the source code doesn't even have to be adapted.

Yes, having a separate directory would be preferable and easy management, because when bind mounting a single file it should exist beforehand.
Also this allows specifying this directory as a volume directly in the Dockerfile. Then one can easily run the docker image and have the persistent data in a volume even without explicitly defining a local directory as a bind mount.


Show basic service details

This PR removes JSON.stringify() from the Service Details page. Instead, we now show some basic information about a service: The name, group, repository, and task board.
Please note that this only affects the Service Details page. On the Group Detail page, we are still showing the JSON.stringify() content.
Screenshots

If a particular piece of information is not available, it will simply not be shown in the list (here, the group is missing):

Not sure if I messed up, the PR has merge conflicts 😅 Could you please rebase?

I have rebased this. I assume that this is caused by the Squash Merge of #40. Interestingly, when rebasing this, I did not have to resolve any conflicts. Instead, the Git CLI just said the following:
warning: skipped previously applied commit 573f5c7

After that, I had to force-push. So it seems like Git itself is able to detect the Squash Merge, while GitHub doesn't.

My assumption is the following. Let's say the commit of #40 is called A, the commit introduced in #41 is called B, and the head commit of branch main is called X. We basically have the following commit structure:
... - X              main
        \
          A          Branch#40
            \
             B        Branch#41

So when creating PR #40, the merge base of the main branch and PR#40 is X. And for PR#41, the merge base of PR#41 and the main branch is also X. If we merged PR #40 "normally", then we would end up with this:
... - X - A              main
             \
               B        Branch#41

So now, the merge base of the main branch and PR#41 is B. Thus, Git knows that the changes introduced in #41 are actually "ahead" of commit A. But if we use Squash Merging instead, a new commiti s created, let's call it A*:
... - X - A*              main
        \
          A
            \
               B        Branch#41

So the merge base is still X. Which makes Git believe that both in A* and in A+B, a file has been introduced which has a different content.
I am not sure about this - it is just my assumption. I don't know how the Git CLI managed to automatically detect this Squash Merge.


Restore pnpm-lock.yaml, add Development chapter to README

From https://pnpm.io/git:

You should always commit the lockfile (pnpm-lock.yaml).

Please disregard this PR if you merge #17 first.


Usage of "CMD+D" deletes URL field

Expected Behavior
Pressing "CMD+D" duplicates the selected request and does not delete the URL field from the original request.
Actual Behavior
When I duplicate a request with CMD+D, the URL of the original request is deleted.
Reproduction Steps

Select a stored request in your request-list
Focus the URL field
Press CMD+D for duplicating request
Enter new name for the new request press enter
Switch back to original request
URL field is empty

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
System:
macOS 12.6.1 (21G217)
Insomnia v2022.6.0
Insomnia Version
v2022.6.0
What operating system are you using?
macOS
Operating System Version
macOS 12.6.1 (21G217)
Installation method
download from official website
Last Known Working Insomnia version
No response

Found references here https://github.com/Kong/insomnia/issues/3133

Fix for this is available on 2022.7.0 beta versions, you can download latest iteration of beta, 2022.7.0-beta.4


PostInstallScript and friends adds #!/bin/sh

Currently the PostInstallScript (and others) adds #!/bin/sh to the script.
https://github.com/qmfrederik/dotnet-packaging/blob/63b290277b4c8b7d3f09f696c2307740f0a12e52/Packaging.Targets/Deb/DebPackageCreator.cs#L176
The way I've been using this is to have MSBuild read in a file from disk that I've specified as the postinstall script. I've already added my shebang to the file, but when I go to deploy it has double them now. I think this should be up the user to add their shebang.

The reason #!/bin/sh get added is that other options (such as CreateUser or InstallService) dynamically construct a script, and we add the shebang at the very end to make the script valid.
Another way to handle this may be to store the user script "as is" in the package, and invoke it from the PreInstallScript.

Or would it make sense to have a separate implementation for "inline" scripts and file paths?

That may work as well. Would you like for that to override any "auto-generated" script (like for CreateUser or InstallService)?

Yeah, if I'm providing my own scripts, I should bear the burden of setting up users/services correctly.


Base magic-wormhole image on Alpine rather than Debian

Following #21, we've reduced the size of the image to 190MB.
But we might even reach 120MB if we we decide to switch from slim-bullseye to alpine3.17!
Is this worth it?

As commented here, I don't think it is worth the effort (even that small).


Typings

Does anyone know if there is Typing created for this awesome lib?
If not, is there a plan for it?
Thanks!

What is a typing?

It is for people who uses Typescript for react native.
Wiki can explain better than I can: https://en.wikipedia.org/wiki/TypeScript#Declaration_files
Most popular libs have typing for the typescript developers.
You can see some examples of typings here https://github.com/DefinitelyTyped/DefinitelyTyped
This repo have over 1000 typings.

Why is this closed? I think this is a very important library for which typings should be created

For feature requests that are not on our roadmap, we close the issue. That way we can focus on the active bugs that people are facing.
Feel free to add TS types to the library, if it is done in a nice way, we will happily accept the pull request.
But keep in mind that things are still changing, even with the flow types that are used by the library authors. (See here for example, where some major changes are happening:  https://github.com/react-community/react-navigation/pull/984)

@ericvicenti I totally agree in postponing the TS types until the API has stabilized. After this I'm willing to provide a TS declaration file and tests.

I think given that the default navigator has been removed from react-native is an indicator that this API has stabilized enough. I think it is high time the type script community is provided with a typings for this library


Issue using "-c tessedit_page_number=1" to process only second page of a multipage tiff G3/G4 compression

Environment

Tesseract Version:
tesseract 4.0.0
leptonica-1.76.0 (May 30 2019, 11:18:56) [MSC v.1916 LIB Release x86]
libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 2.0.1) : libpng 1.6.37 : libtiff 4.0.10

Platform:
Windows 10 Enterprise 1903 10.0.18362.175 Client

Current Behavior:
I am using tesseract to extract text from a multi page tiff image (G3 or G4), but I only want to process the second page. I am using the following command:
tesseract.exe FILE.TIF OUT --tessdata-dir ."\tessdata" -l eng --psm 1 --oem 1 -c tessedit_page_number=1
For some reason it always processes the first page no matter what page number I put in the option. If I remove that option, it processes all the pages. I am attaching a zipped sample tiff file that reproduces the issue.
Expected Behavior:
I would expect the page I am selecting in the option to be processed.
18.zip

The problem already exists in Tesseract 4.0.0.

Ok,
I first asked a question on user forum (here). I was asked to enter an issue here. Should I close it?

No. It should be fixed.

My comment regarding 4.0.0 simply should narrow down in which versions of Tesseract the problem exists. A next test is needed with 3.05 or even 3.04 to find out whether some old version worked fine. Maybe someone has an old installation and can test it? If we know that older versions worked, we can find out which code modifications introduced the bug. As @zdenop said, the goal is fixing this issue at least in the latest release.

I also reproduced it with 3.05.02. Here is version output:
tesseract 3.05.02
leptonica-1.74.4 (Aug 27 2018, 16:26:07) [MSC v.1915 LIB Release x86]
libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 1.5.3) : libpng 1.6.35 : libtiff 4.0.9 : zlib 1.2.11

It seems to be working fine with 3.04.00. Here is version output:
tesseract 3.04.00
leptonica-1.71 (Mar 19 2016, 22:28:52) [MSC v.1600 DLL Release x86]
libgif 4.1.6(?) : libjpeg 8c : libpng 1.4.3 : libtiff 3.9.4 : zlib 1.2.8
Unfortunatelly I don't have other versions at hand.

Same issue with 3.05.01. Here is output version:
tesseract 3.05.01
leptonica-1.74.1
libgif 4.1.6(?) : libjpeg 8d (libjpeg-turbo 1.5.0) : libpng 1.6.20 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.3 : libopenjp2 2.1.0

It is working with an early 3.05.00dev. Here is output version:
tesseract 3.05.00dev
leptonica-1.72
libjpeg 9 : libpng 1.5.14 : libtiff 4.0.3 : zlib 1.2.5 : libopenjp2 2.1.0


Loot tracker displays items as Members objects

Describe the bug
Loot tracker displays all members items as members objects and doesn't stack all of them properly.
To Reproduce

Open runelite client
Log in an F2P account
Log out
Log in an P2P account
Now P2P account has loot tracker items displayed as members objects

Expected behavior
Runelite still recognizes members objects and displays them correctly both on F2P and P2P worlds.
Or atleast after logging into P2P account, makes sure items have names instead of members objects.
Screenshots

Environment (please complete the following information):

OS: Windows 7
RuneLite version: 1.7.1
Launcher version: 1.5.2

fixed in fd2c4a40af8102890c742dd014e03bac5e608e77


TypeError: init() got an unexpected keyword argument 'syntax'

So I have NVIDIA-caffe-0.11.0 and DIGITS and protobuf 2.6.1 and when I run digits-devserver as soon ad I provide the path for the caffe install I get an error stack cumlinating in TypeError: init() got an unexpected keyword argument 'syntax'. I have protobuf 2.6.1 installed. protoc --version yields libprotoc 2.6.1

Can you provide the full stacktrace?
I suspect this is some sort of library mismatch. I'm also looking at https://github.com/BVLC/caffe/issues/2092.

root@ubuntu4caffe:~/NVIDIA-caffe-0.11.0/caffe/DIGITS# ./digits-devserver
Default value for caffe_root "" invalid:
caffe binary not found in PATH
==================================== Caffe =====================================
Where is caffe installed?
    Suggested values:
    (P*) [PATH/PYTHONPATH] <PATHS>

/root/NVIDIA-caffe-0.11.0/caffe
Using "/root/NVIDIA-caffe-0.11.0/caffe"

Traceback (most recent call last):
File "./digits-devserver", line 42, in
config.load_config('quiet')
File "/root/NVIDIA-caffe-0.11.0/caffe/DIGITS/digits/config/load.py", line 147, in load_config
option.apply()
File "/root/NVIDIA-caffe-0.11.0/caffe/DIGITS/digits/config/caffe_option.py", line 232, in apply
import caffe
File "/root/NVIDIA-caffe-0.11.0/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver
File "/root/NVIDIA-caffe-0.11.0/caffe/python/caffe/pycaffe.py", line 14, in
import caffe.io
File "/root/NVIDIA-caffe-0.11.0/caffe/python/caffe/io.py", line 8, in
from caffe.proto import caffe_pb2
File "/root/NVIDIA-caffe-0.11.0/caffe/python/caffe/proto/caffe_pb2.py", line 23, in
nels\x18= \x01(\x05:\x01\x30\x12\x15\n\nnew_height\x18> \x01(\x05:\x01\x30\x12\x14\n\tnew_width\x18? \x01(\x05:\x01\x30\x12\x1d\n\x0eshuffle_images\x18@ \x01(\x08:\x05\x66\x61lse\x12\x15\n\nconcat_dim\x18\x41 \x01(\r:\x01\x31\x12\x36\n\x11hdf5_output_param\x18\xe9\x07 \x01(\x0b\x32\x1a.caffe.HDF5OutputParameter".\n\nPoolMethod\x12\x07\n\x03MAX\x10\x00\x12\x07\n\x03\x41VE\x10\x01\x12\x0e\n\nSTOCHASTIC\x10\x02"W\n\x0ePReLUParameter\x12&\n\x06\x66iller\x18\x01 \x01(\x0b\x32\x16.caffe.FillerParameter\x12\x1d\n\x0e\x63hannel_shared\x18\x02 \x01(\x08:\x05\x66\x61lse*\x1c\n\x05Phase\x12\t\n\x05TRAIN\x10\x00\x12\x08\n\x04TEST\x10\x01')
TypeError: init() got an unexpected keyword argument 'syntax'
root@ubuntu4caffe:~/NVIDIA-caffe-0.11.0/caffe/DIGITS# protoc --version
libprotoc 2.6.1
root@ubuntu4caffe:~/NVIDIA-caffe-0.11.0/caffe/DIGITS# libprotoc 2.6.1
libprotoc: command not found
root@ubuntu4caffe:~/NVIDIA-caffe-0.11.0/caffe/DIGITS#

I've never seen that before.
Can you try upgrading to NVIDIA/Caffe v0.12? You may also need to upgrade to DIGITS v2.0 if you haven't already.

Thanks Luke - That's fixed it.
On Fri, Jul 24, 2015 at 11:40 AM, Luke Yeager<EMAIL_ADDRESS>wrote:

I've never seen that before.
Can you try upgrading to NVIDIA/Caffe v0.12
https://github.com/NVIDIA/caffe/tree/caffe-0.12? You may also need to
upgrade to DIGITS v2.0 https://github.com/NVIDIA/DIGITS/tree/digits-2.0
if you haven't already.
—
Reply to this email directly or view it on GitHub
https://github.com/NVIDIA/DIGITS/issues/178#issuecomment-124618970.

--

Dan Buckler
<EMAIL_ADDRESS>

So how do you solve this problem ? Is that the same error ?

import caffe
Traceback (most recent call last):
File "", line 1, in
File "caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "caffe/pycaffe.py", line 15, in
import caffe.io
File "caffe/io.py", line 8, in
from caffe.proto import caffe_pb2
File "caffe/proto/caffe_pb2.py", line 23, in
x01(\r:\x01\x30\x12\x1d\n\x10\x64\x65t_fg_threshold\x18\x36 \x01(\x02:\x03\x30.5\x12\x1d\n\x10\x64\x65t_bg_threshold\x18\x37 \x01(\x02:\x03\x30.5\x12\x1d\n\x0f\x64\x65t_fg_fraction\x18\x38 \x01(\x02:\x04\x30.25\x12\x1a\n\x0f\x64\x65t_context_pad\x18: \x01(\r:\x01\x30\x12\x1b\n\rdet_crop_mode\x18; \x01(\t:\x04warp\x12\x12\n\x07new_num\x18< \x01(\x05:\x01\x30\x12\x17\n\x0cnew_channels\x18= \x01(\x05:\x01\x30\x12\x15\n\nnew_height\x18> \x01(\x05:\x01\x30\x12\x14\n\tnew_width\x18? \x01(\x05:\x01\x30\x12\x1d\n\x0eshuffle_images\x18@ \x01(\x08:\x05\x66\x61lse\x12\x15\n\nconcat_dim\x18\x41 \x01(\r:\x01\x31\x12\x36\n\x11hdf5_output_param\x18\xe9\x07 \x01(\x0b\x32\x1a.caffe.HDF5OutputParameter".\n\nPoolMethod\x12\x07\n\x03MAX\x10\x00\x12\x07\n\x03\x41VE\x10\x01\x12\x0e\n\nSTOCHASTIC\x10\x02"W\n\x0ePReLUParameter\x12&\n\x06\x66iller\x18\x01 \x01(\x0b\x32\x16.caffe.FillerParameter\x12\x1d\n\x0e\x63hannel_shared\x18\x02 \x01(\x08:\x05\x66\x61lse*\x1c\n\x05Phase\x12\t\n\x05TRAIN\x10\x00\x12\x08\n\x04TEST\x10\x01')
TypeError: init() got an unexpected keyword argument 'syntax'

This looks like a problem with protobuf - https://github.com/BVLC/caffe/issues/2092.
Have you installed protobuf 3.0? You may need to roll back to 2.6.

Thank you Luke, I update the protobuf2.5 to protobuf2.6, and it works well~

I installed protobuf 3.1, and also met this problem?  Do I need to roll back to 2.6 ?

It works after I unify the versions of python protobuf and protoc .


Upgrade log4j and structured logging version

Upgrade log4j version to 2.17.0
Upgrade structured-logging version to 1.9.12

Output of mvn dependency:tree | grep log4j:
[INFO] |  |  +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.17.0:compile
[INFO] |  |  |  \- org.apache.logging.log4j:log4j-api:jar:2.17.0:compile
[INFO] |  |  +- log4j:log4j:jar:1.2.17:compile

Resolves DEBT-1586.

Confirmed from @ch-tstrickland and @DTaylor-CH that the log4j bom is NOT required and removing it would be best. Agreed that this will still be merge-able with this change without explicit approval after the commit. Merging in now.


SNIP-15: Only an account can call its execute

Won't this also break older account not having the validate flow?


A question about Phishing.Database and VirusTotal

Hello, I was wondering about the following:

Is the "Phishing Database" URL engine on VirusTotal the same as this repository?
If so, I've seen some of the domains listed in this repository be marked clean by "Phishing Database" on VirusTotal, how is it decided which parts of this repository get published to VirusTotal as Phishing detections?
why is this list not present in any of the final "output" lists?

Hello @gerwusa1823,
VT uses this repository as one source for their Phishing URL comparison.
Feel free to submit a new PR for any new entry.
@mitchellkrogza, can you check the 3rd point ?
Stay safe and healthy.


Failed to parse the PDF file: Job failed: PDF_IS_PROTECTED

Failed to parse the PDF file: Job failed: PDF_IS_PROTECTED
How can I find out which file in my directory caused this error? Would be great with "verbose=True" to tie the job_id to the actual file name that is being processed.

Hello! I also find it quite important to see the file name. I have just created a PR for it. Perhaps the maintainer will merge it.


Epoch updated

Output for analytics updated
Metrics for cases saved in db

Hello @nicl-nno! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file app/api/showcase/schema.py:

Line 12:47: W292 no newline at end of file


JMLL-1122 Remove reference to SSO from SRE pages

Codecov Report
Base: 75.13% // Head: 75.14% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (6bfe048) compared to base (f391935).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #246   +/-   ##
=======================================
  Coverage   75.13%   75.14%
=======================================
  Files         207      208    +1
  Lines        7954     7957    +3
=======================================
+ Hits         5976     5979    +3
  Misses       1978     1978

Impacted Files
Coverage Δ

leavers/models.py
81.72% <ø> (-0.10%)
:arrow_down:

...s/0068_remove_leavingrequest_sso_access_removed.py
100.00% <100.00%> (ø)

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

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


Please add support for regular usename/password authentication

Or provide a clear, easy to follow migration path to use any other auth mechanism for external applications.

We are considering adding AD support only at this time.  Timeline is TBD as we are working on the MSAL port right now.   In general User /PW flows for Non-Interactive connections will be blocked by Azure Active Directory Policies over the next year or 2.. currently all new tenants being created cannot use UID/PW non interactive flows. .
We will not be adding in any of the WS-TRUST support we had in the prior lib as that path is being retried, along with the OrganziationServiceProxy class.

Please see : https://docs.microsoft.com/en-us/power-platform/important-changes-coming#deprecation-of-office365-authentication-type-and-organizationserviceproxy-class-for-connecting-to-common-data-service


Only invoke code action handler when code action method is supported

It seems like this has broken the plugin for me https://github.com/neovim/neovim/pull/15926
Now getting the following error:
Error detected while processing CursorHold Autocommands for "<buffer=1>":
method textDocument/codeAction is not supported by any of the servers registered for the current buffer

I have tried adding the following into my on_attach function to guard against this
    if client.resolved_capabilities.code_action then
        vim.cmd([[
        augroup lsp_code_action
            autocmd! * <buffer>
            autocmd CursorHold,CursorHoldI <buffer> lua require('nvim-lightbulb').update_lightbulb()
        augroup END
        ]])
    end

But that doesn't help with something like null-ls where I believe code actions supported but (in my case) are only available for javascript/typescript files and errors with markdown files
EDIT:
I also tried the standard config:
vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()]]

but get the same errors

@kosayoda looks like that did the trick for any lsps with correctly reported resolved capabilities. For null-ls, it reports as supporting code actions despite me not having any enabled. I'll open an issue ticket there

@wbthomason Not really fixes per se but my solution was to either register a code action source to null-ls (such as gitsigns) or in the on_attach I put
if client.name == "null-ls" then
   client.resolved_capabilities.code_action = false
end
``


80 20 split

80 20 split on combined data

80/20 didn't seem to improve it from the combined 50/50 split

80/20 didn't seem to improve it from the combined 50/50 split

Good to know. But the change in performance between previous runs confirms that the data splits are pretty noisy.


Fix PED bugs and add glossary to UG

Codecov Report

Merging #184 (4bb8b5a) into master (a5e642a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #184   +/-   ##
=========================================
  Coverage     59.23%   59.23%
  Complexity      725      725
=========================================
  Files           122      122
  Lines          2806     2806
  Branches        329      329
=========================================
  Hits           1662     1662
  Misses         1015     1015
  Partials        129      129

Continue to review full report at Codecov.

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

LGTM


Use Crypto functions to sign an unsigned transaction

if HLF could not create and send unsigned transactions, we may need to implement a part of the HLF API in the frontend

outdated


chore(attr-macros): allow internal, macro-generated non-snake fn names

Description

This seems to made necessary by our recent nightly version bump in #476.
The threading, hello-world, and http-server examples can be used to test the effect of this (with the #[thread], #[task], and #[spawner] attribute macros respectively): before, the threading raised warnings OOTB when inspected by rust-analyzer, and the three macros raised duplicate warnings when the function names were not snake case (e.g., containing two consecutive underscores __).
Issues/PRs references

Open Questions

Change checklist

[x] I have cleaned up my commit history and squashed fixup commits.
[x] I have followed the Coding Conventions.
[x] I have performed a self-review of my own code.
[x] I have made corresponding changes to the documentation.

We can't expect here?

We can't expect here?

No :(


feature request: offer pre-built binaries for Mac

Similar to the Windows one already offered, but for Mac, so users don't need to compile it.

this is on the todo list. will need help as don't have a mac.


Implement account call

Implementation of Account Call as per #54. Currently there are still issues with most of the tests under "withoutentryproc". These are the less important of the two tests as they were mostly written when we couldn't rely on the entry procedure to work correctly.
The problem is that in order to make the calls adequately transparent, direct calls from web3 0.2 don't work correctly. This is also the case when we use the entry procedure, which is why this isn't an issue in the newer tests. To fix these tests we have three options:

Update the code to manually encode the arguments correctly.
Update to web3 1.0 and rely on that to encode the arguments (falls under the same issue as Truffle 5).
Just delete these tests as they are duplicated in "withentryproc" and don't actually test the exposed API.

1 is quite a lot of work, so if we are going to invest it, it might be better to update to Truffle 5. They are safe to be deleted but it would be a shame to remove them if we can avoid it.
This does not yet test input data to externally called contracts.

Fixed the test issues by making Kernel correct to the specification, but TestKernel does some simplification/truncation of the results for the purposes of the tests.

Added tests for input data.

Looks great! As you mentioned, it's noticeable how both Truffle v4 and solc0.4.17 are starting to introduce wear here.

Yes, I did start a branch updating to a new version of Solidity, but I didn't want to do that in the middle of changes because there are quite a few corners to clean up. I didn't know how to fix the empty struct issue.
Actually even moving to 0.4.24 would give us the shift assembly functions, which would be nice.

Looks great! As you mentioned, it's noticeable how both Truffle v4 and solc0.4.17 are starting to introduce wear here.

Yes, I did start a branch updating to a new version of Solidity, but I didn't want to do that in the middle of changes because there are quite a few corners to clean up. I didn't know how to fix the empty struct issue.
Actually even moving to 0.4.24 would give us the shift assembly functions, which would be nice.

I started a branch with truffle 5 again, and ran into some failing tests with conflicting error codes. Looks like most syscall formats are not up to spec.

Agreed, the truffle 5 move (or more importantly web3 1.0, which is in truffle 5) needs to be done in isolation, not mixed in with other stuff.

I've removed F() and brought in the newer memcopy from update-call.

Whoo! Is this ready to merge?

Yep, I'll pull in master and let you hit the merge button. The only remaining thing is that discrepancy around using fselector or not, but resolving that stdlib API issue is probably separate anyway.


Adjust Copr build epoch handling for None

Adjust how we include the epoch in the build result page. We get the value in packit-service from Copr API and the behaviour there recently changed: https://github.com/fedora-copr/copr/pull/2876

RELEASE NOTES BEGIN
N/A
RELEASE NOTES END

recheck


Create HTML5 rendering backend

This is motivated in part by text selection, so it's been assigned to the text selection milestone.
We have the following options for rendering:

Canvas
SVG
HTML5 (not yet implemented)

(By HTML5 I mean: use all HTML elements, not just <canvas> :))
I'd like to analyze the pros and cons of a fully HTML5 backend. The main driving force for this is that it seems like the documents industry is investing heavily on this platform:

Crocodoc: http://techcrunch.com/2011/02/16/crocodoc-launches-html5-based-document-viewer-with-annotations-embeds-and-its-own-api/
SlideShare: http://techcrunch.com/2011/09/27/professional-content-sharing-platform-slideshare-goes-mobile-with-new-html5-site/
Scribd: http://techcrunch.com/2010/05/05/scribd-html5/

Check out in particular Crocodoc's rendering of tracemonkey.pdf :)

http://crocodoc.com/cXTowmY

It feels pretty smooth and fast to me, and text selection is piece of cake.
I'd like to gather the opinion of the community on this possibility. It'd solve our text selection problem, but it might open another can of worms. In particular Julian seemed to think that certain things (overlapping image+text?) were not possible. Chris pointed out performance bottlenecks. Another concern I can think of is printing.
Can we start a dialog about this?

Text selection has landed in #738. Unassigning self, closing until someone wants to revive the whole new HTML5 backend issue.


Add llvm-hs-pretty

Added llvm-hs-pretty to Stackage.
https://hackage.haskell.org/package/llvm-hs-pretty

Unfortunately I've had to re-remove llvm-hs-pretty from the build plan, since there was a build failure. https://github.com/llvm-hs/llvm-hs-pretty/issues/47

We just released version 0.3.0 which should fix the reported error.
https://hackage.haskell.org/package/llvm-hs-pretty-<IP_ADDRESS>


updates and future of this project

Hello,
I recently came across Bret Victor's video and tried searching for implementations of it - and found this! However, I notice this project has been put on pause. Do you have any thoughts on what it would take to make the project a reality? I'd like to help, but I do not have the programming skills (I am a junior data scientist).
Surely many people would like to see Bret's ideas become a reality, right?

Hey, welcome to this project!
Maybe you already notices but there is a java version of this project as well: https://github.com/laszlokorte/reform-java
The java variant is further along an has almost all the features Bret Victor shows in his talk.
The main missing features are: array-variables (including importing csv files), saving/opening projects and passing parameters to nested graphics.
The swift version is missing some important features but has some additional ideaas implemented.
To continue the project it would just take someone with the time and dedication to implement the missing features and someone with the vision to improve uppon the existing ideas.
To make a real product out of this idea there are many details to be solved around usability/debuggability/refactorbility of large graphic compositions. And maybe one has to rethink what core primitives and operations should be. In essence all the same issues you are faced with when designing a programming language.
There are other projects connected to Bret Victors ideas as:
http://aprt.us/
http://ravichugh.github.io/sketch-n-sketch/
http://idl.cs.washington.edu/projects/lyra/app/
While reform is based on an imperative programming paradigm sketch-n-sketch is functional based with an own lisp dialect that can be edited visually or by hand.
While reform lets you specify the instructions to achieve the result step by step, AprtUs uses a constrained solver to let you modify the end result and back propagate the changes needed to achieve the result.
In my opinion Lyra is the closes to Reform and to Bret Victors original idea and for me it readily usabled for simple tasks.

Hey, thanks for quick and detailed response!

To continue the project it would just take someone with the time and dedication to implement the missing features and someone with the vision to improve uppon the existing ideas.

Right. Unfortunately I am not that person! Sounds like you need serious software engineering skills to do this. But I'd like to at least try and find people who could take it over. It would be a shame for the idea to just fade away.

There are other projects connected to Bret Victors ideas as:
http://aprt.us/
http://ravichugh.github.io/sketch-n-sketch/
http://idl.cs.washington.edu/projects/lyra/app/

Cool! I'll check the out.


JPG format not working because old outdated automatic1111 version

Hi, first of all thanks for your work. It´s nice to have a quick way to test those models
The problem that I am facing is when I setup Automatic1111 to use jpg instead of PNG. I got an error on Colab and no results on the interface.
I think that it´s because your colabs are using an outdated cloned repo of Automatic1111
cheers

just remove the version like this
!git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui
to
!git clone https://github.com/camenduru/stable-diffusion-webui

Hi, thanks for the quick response. I'll do it that way.
Just for corridor curiosity, are you forcing the use of a previous version for a special reason? Maybe because it's a more reliable version?
I guess that the "-b v1.6" command does that.

yep not stable for colab at this time

yep not stable for colab at this time

Ah, so that's why I was having problems with other colabs.
Thanks!


[BUG] Relaxation not working for Multimers on v2.3.0

Relaxation step is failing for multimers using AlphaFold v2.3.0.
Monomers are working fine.
Error:
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: Failed to load in-memory CUBIN: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
E external/org_tensorflow/tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:1043] could not synchronize on CUDA context: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered

I tested the relaxation with up to 8 x A100 GPUs, but it failed (apparently there is a memory leak somewhere).
If I run the inference with v2.3.0 and relaxation with v2.2.4, it works fine.
I attached a sequence that returned this error (changed the suffix to txt to work on github UI).
1S78.txt

we are looking into this, but might not come back with something until after the holiday period.
can i check: if you run inference+relax all in v2.2.4, rather than inference and then separately relax, it does work?

Hi @joshabramson
I tried to run v2.3.0 using the run_docker.py from https://github.com/deepmind/alphafold/tree/main/docker/run_docker.py.
I tried with both full_bfd and reduced_bfd without any success.
First try:
nohup python3 docker/run_docker.py \
  --fasta_paths=/home/renatoleite/workspace/vertex-ai-alphafold-inference-pipeline/sequences/1S78.fasta \
  --output_dir=/home/renatoleite/workspace/outputs \
  --max_template_date=2030-01-01 \
  --model_preset=multimer \
  --data_dir=/mnt/nfs/alphafold \
  --num_multimer_predictions_per_model=1 &

Second try:
nohup python3 docker/run_docker.py \
  --fasta_paths=/home/renatoleite/workspace/vertex-ai-alphafold-inference-pipeline/sequences/1S78.fasta \
  --output_dir=/home/renatoleite/workspace/outputs \
  --max_template_date=2030-01-01 \
  --model_preset=multimer \
  --data_dir=/mnt/nfs/alphafold \
  --num_multimer_predictions_per_model=1 \
  --db_preset=reduced_dbs &

I also tried with my pipeline (separated prediction and relaxation), but got the same error.
https://github.com/GoogleCloudPlatform/vertex-ai-alphafold-inference-pipeline
For v2.2.4 it worked with both solutions (separated and inference+relax).

The latest fix should solve this issue. Thank you for your patience.

@alexanderimanicowenrivers Thank you very much!


Added docker-compose file

I thought this would make it easier to get this excellent application up and running :)

Fixed the typo in the readme, thanks for catching that.

https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept

Docker compose file.


Upgrade SonarQube to 5.6.2

SonarQube upgraded to 5.6.2
Added environment variables to enable JMX with or without authentication,
Pointed access logs to stdout.

This also needs a change to the adop-nginx proxy rules.
When deploying sonar 5.6.2 behind adop-nginx, the top navigation bar is not loading. Sonar tries to run few java scripts (example below) when loading the navigation bar -
http:///sonar/js/bundles/vendor.js?v=5.6.2
This is failing because of the regexps in proxy. Specifically -
   location ~* /bundles/.* {         proxy_pass         http://kibana:5601;     }
I'll create another PR for adop-nginx to fix this issue.

LGTM.
When this release is taken into adop-docker-compose it'll need to be alongside the Nginx change please.

I have made some updates to #10 which relates to this issue. I think we should bump to 5.6.3 now we are in the process. I have also included the list of compatible plugins/versions we have battle tested so far. Most notably JMeter plugin is no longer binary-compatible with SQ API and must be removed until it is either upgraded (or we fork it, which is something we are considering to do).


Re-export conditionally required module in Node.js

TypeScript Version:  3.9.6
Search Terms:
conditional require, export = cannot be used with export
Code
Let's say I have a module snappy-js which implements the snappy compression algorithm in pure TypeScript, and it has the following typings:
export function compress(input: string, callback: (err: Error, data: Buffer) => void);
export function uncompress(data: Buffer, callback: (err: Error, data: Buffer) => void);
export class SnappyStream extends Duplex { ... }

Now let's say I have another module called snappy-c++ which internally depends on snappy-js, but replaces the compress and uncompress methods with C++ implementations and re-exports everything with the same typings.
Now in a third project snappy I want to be able to conditionally require the snappy-c++ IFF a user has added it to their dependencies, and then re-export these methods from this new project. In order to use type information for either module internally in snappy it seems like I need to use an export = statement:
local-snappy.ts:
import * as _snappy from 'snappy-js';
let snappy: typeof _snappy = require('snappy-js');
try {
  snappy = require('snappy-c++');
} catch (_) {}

export = snappy;

local-using-snappy.ts:
import { SnappyStream } from './local-snappy';
class ExtendedSnappyStream extends SnappyStream { }

This works just fine, but does not allow me to re-export the module:
index.ts:
export * from './local-snappy';

results in:
error TS2498: Module '"/home/mbroadst/Development/export-test/src/local-snappy"' uses 'export =' and cannot be used with 'export *'.

It seems like the only way to do this today is to hand-roll a local-snappy.d.ts file and force the typings myself.
Expected behavior:
This is not an uncommon pattern in Node.js, I think there should be some way to do this that doesn't require hand crafted typings files
Actual behavior:
See error above
Playground Link:
I don't think the playground let's you work with multiple files like this
Related Issues:

I think this is maybe desired behavior actually, so I'll close the issue. It looks like it's just fine to re-export "selectively" rather than using export * I can do export { compress, uncompress, SnappyStream } from './local-snappy' just fine.


Limit amount of transactions which clients verify in parallel

Motivation
Our clients can and do run out of memory, probably because they have no limit on how many transactions they verify in parallel. This PR proposes to queue them (just like the validator does in Consensus) and limit how much parallel verification we do.
We can do a lot of clever things to increase the processing speed, like check how many constraints the incoming transactions have, await on a channel to rapidly start verifying, but the focus for now is simplicity and safety.
Test Plan

Verified that the client still runs fine with https://github.com/AleoHQ/snarkOS/pull/2972

Related PRs
Implicitly assumes we have https://github.com/AleoHQ/snarkVM/pull/2271 to limit size of transactions coming through.
And this would help to minimize the overhead of transaction verification when syncing blocks with already seen transactions: https://github.com/AleoHQ/snarkVM/pull/2270

Closing in favour of: https://github.com/AleoNet/snarkOS/pull/3358


Bytes-only interface

This PR is an alternative to #37. I'm not expecting everything to work just yet. I'll fix those issues in subsequent commits.
IMO this really simplifies the bindings since all of them convert to/from bytes.

Definitely still needs some work! I'll do that tomorrow.

In what way is this PR an alternative to #37? The idea with #37 is that client devs would never need to interact with any cryptographic objects and they would just pass bytes to the library. Does this PR have the same goals?

Also, this is ready for review now. A few things to note:

The python bindings compile, but I was unable to run the tests on my development system. Something about an unknown option -Bsymbolic during linking. I was uncertain about the change in py_ecc_tests.py.
I'm not confident that the C# tests are properly testing. I made some bad changes, ran the test, and it seems fine. It could be a cached build or something, not sure. Worth looking into. Also, if it were up to me, I'd remove the other two wrapped functions (verify_aggregate_kzg_proof_wrap and verify_kzg_proof_wrap) but I see the appeal to having ret=0 be the success value for all of the functions.

Regarding performance, benchmarks are just a hair slower but that makes sense because the conversion from G1 to bytes was done in setup and wasn't including in the benchmark time. In reality, it's probably the exact same overall.
Before:
$ ./bench.sh
goos: darwin
goarch: arm64
pkg: github.com/jtraglia/cgo-kzg-4844
BenchmarkBytesFromG1-20                         463127452               78.02 ns/op          192 B/op          2 allocs/op
BenchmarkBytesToG1-20                           89462080               402.3 ns/op           192 B/op          2 allocs/op
BenchmarkBytesToBlsField-20                     87647565               411.7 ns/op            64 B/op          2 allocs/op
BenchmarkComputeAggregateKzgProof-20<PHONE_NUMBER>2 ns/op             336 B/op          3 allocs/op
BenchmarkVerifyAggregateKzgProof-20                15478           2330489 ns/op             145 B/op          2 allocs/op
BenchmarkBlobToKzgCommitment-20                    18087           1990456 ns/op          131408 B/op          4 allocs/op
BenchmarkVerifyKzgProof-20                         41899            858431 ns/op             353 B/op          5 allocs/op

After:
$ ./bench.sh
goos: darwin
goarch: arm64
pkg: github.com/jtraglia/cgo-kzg-4844
BenchmarkComputeAggregateKzgProof-20<PHONE_NUMBER>6 ns/op              48 B/op          1 allocs/op
BenchmarkVerifyAggregateKzgProof-20                15142           2381334 ns/op              49 B/op          2 allocs/op
BenchmarkBlobToKzgCommitment-20                    17972           2009970 ns/op          131120 B/op          2 allocs/op
BenchmarkVerifyKzgProof-20                         40689            891162 ns/op             161 B/op          5 allocs/op

(note the removed functions are no longer benchmarked)

WRT "this is ready for review", there were no modifications required for the Rust bindings?

Hey George, this is associated with some chats in telegram. After marking it as ready to review, it was decided to merge the rust bindings (#4) into main. Then main got merged into this PR's branch. @pawanjay176 (who wrote the rust bindings) said that he will update them to the bytes interface today.


K8SPG-363 - Add scaling test

CHANGE DESCRIPTION
This adds a scaling test for instances and pgbouncer.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

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

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PG version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
passed

telemetry-transfer
passed

We run 7 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/448/commits/4652f03bfa499b46858fb79a0bf8f22825e9a1e2
image: perconalab/percona-postgresql-operator:PR-448-4652f03bf

Test name
Status

init-deploy
passed

demand-backup
passed

scaling
passed

scheduled-backup
passed

start-from-backup
passed

monitoring
passed

telemetry-transfer
passed

We run 7 out of 8

commit: https://github.com/percona/percona-postgresql-operator/pull/448/commits/49c5ec87c583ff123d10b49fca394e193e776b18
image: perconalab/percona-postgresql-operator:PR-448-49c5ec87c


Change implementation section of DG

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


Reduce StaticFileContext allocation/struct copy

Lazy alloc the TypedHeaders _requestHeaders and _responseHeaders; waiting until StaticFiles is actually producing a file rather than just the middleware executing and checking if it should be serving a file.
Move ServeStaticFile() to StaticFileContext rather than passing the large struct into the method in the middleware and causing a large struct copy.
Combine the three bools _isGet, _isHead and _isRangeRequest in to a single _requestType byte flags enum.
Change PreconditionState from int enum to byte enum for the 4 states.

@aspnet-hello triage

This comment was made automatically. If there is a problem contact<EMAIL_ADDRESS>I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2423

Feedback addressed

@aspnet-hello triage https://dev.azure.com/dnceng/public/_build/results?buildId=172654

This comment was made automatically. If there is a problem contact<EMAIL_ADDRESS>I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2394
https://github.com/aspnet/AspNetCore-Internal/issues/2407

@Tratcher; delayed creating and using stack for StaticFileContext until validation hits the point of checking file exists; just before trying to serve it, so cost is not paid for other endpoints

Also reordered the declarations of the fields and the initialization of the fields in StaticFileContext to match orders


⚠ Bofrost.fr has degraded performance

In 0be8015, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 3059 ms

Resolved: Bofrost.fr performance has improved in d3ad8d4 after 26 minutes.


Target object freed before starting, aborting Tweener

Steps to Reproduce

Kill player

A and B are called instantly on player death, this means the player death animation is not getting a chance to be played. The reason for this is unknown.


[MC-1.16.5][ATBYW-1.4.2] ATBYW Items and blocks do not show up in minecraft's creative search bar

As mentioned above items and blocks do not appear in the search menu of vanilla minecraft, even when by itself.

I'm rather sure this is a fabric 1.16 bug, need to check

After investigation, this is a fabric issue.
This is due to how Fabric injects new items into the game, which it does AFTER the creative tabs have been created in the memory, causing any modded item to not appear in that search menu.


endpoint: fix panic in RunMetadataResolver due to send on closed channel

This commit fixes a "send to closed channel" panic during the execution of Endpoint.RunMetadataResolver.
Determine whether the regenTriggeredCh channel has already been closed by a previous controller run can't be checked in the same select statement that writes to the same channel. The execution order of case statements within a select isn't guaranteed by the Go language spec.
https://go.dev/ref/spec#Select_statements:

If one or more of the communications can proceed, a single one that can proceed is chosen via a uniform pseudo-random selection. Otherwise, if there is a default case, that case is chosen. If there is no default case, the "select" statement blocks until at least one of the communications can proceed.

Therefore, this commit fixes the check by introducing a variable callerBlocked.

/test


Upgrade all crates to at least version 0.1.0

Summary of Bug
Most of our crates are on v0.0.1 currently. Config.toml has the option to cut the last or last two segments of the version for compatibility and tracking version dependency. (For example: use version 0.1 or version 0.1.1. The first case will use the latest 0.1 version.)
We should give the option to our developers to do compatible upgrades. Our first published crate should be at least 0.1.0.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Based on today's discussion, we'll revisit this when we are ready to share our code on crates.io with external developers. Internal releases with 0.0. will stick around until then to get us into the habit of regular releases.

With the upcoming v0 release, we'll aim to publish all three crates aligned at v0.1.0.

With the upcoming v0 release, we'll aim to publish all three crates aligned at v0.1.0.


feat: onboarding todo

@reneaaron I made some improvements, please review. What do you think about the hover state? if not I can revert the change

Looks great, I added some minor improvements now, LGTM!


IGNITE-5077 - Support service security permissions

IGNITE-5077 | Resolved
closing PR, feel free to reopen if needed


Refactor flaky pytest plugin to avoid reporting test retries as passes.

Previously, flaky monkey-patched the pytest runner's call_runtest_hook
method. This was called by the runner's call_and_report method.
This commit monkey-patches the runner's call_and_report method so it
can inspect the result and avoid reporting tests that are going to be retried.
Fixes #91
Fixes #92
Fixes #94

Verified that @Jeff-Meadows has signed the CLA. Thanks for the pull request!

LGTM


Render raw html in text block content items

Turned from React fragments into HTML strings during migration from
example.js to DB seeds.
REDMINE-17260

Coverage remained the same at 99.025% when pulling dcaba798786404e7f81726cb61aa529156654119 on tf:scrolled-html into 0fa72a514f620f169737a4eb908630fd8d0064da on codevise:master.


Searching using |, not getting the results I expect.

I tried typing several mod names in sequence using | to try to show any of those mods, but I am only getting a few of them at a time.  Thanks for your time!


Fix CI workflow

Fix JSON formatting
Use separate step to post results (the previous code wasn't called because the CI commands exited with an error code)

CI is passing--this is ready for review.


Fixes from laravel-microscope package

This PR adds some fixes discovered and applied by laravel-microscope package.

Thanks for these fixes @imanghafoori1.
Note, I removed the inclusion of the package in 82e671a06d2d18757a9ff0be83f11e0a7053b3d5. I couldn't seem to successfully run all checks when giving the package a go. It would error on the controller/route checks due to the helpers file. I had a quick look at your package's code but could not see why. The helpers file was included in a fairly forced/awkward manner so I changed that up (Seen in the above commit) to use composer to load the file instead but that did not seem to help prevent the error.

I think you need to check for the existence of the functions like laravel core does:
if (!function_exists(...)) {
 function ...(){
     ...
  }
}


OSX: BTML search path for Mods folder broken

Backslash isn't used for directory navigation on OSX. As a result, BTML creates & uses a folder literally named ..\..\..\Mods.
It needs to navigate the directory structure in an OS agnostic way.

https://github.com/Mpstark/BattleTechModLoader/blob/master/BattleTechModLoader/BTModLoader.cs#L111
Needs to look like Path.GetFullPath(Path.Combine({manifestDirectory, "..", "..", "..", "Mods"})
(I'm not much in the way of a C# dev, I'll take some time to figure out how to build it myself sometime this weekend)

For whatever reason, my(or BT's?) version of .NET doesn't have a version of Path.Combine that can simply take a list. Hence the more hacky nested version in my PR.

Merged pull request.


test.data=null fails

ans = fit.bst(obs.train=obs.train, x.obs.train=x.obs.train, x_src=x_src, x_dst=x_dst, x_ctx=x_ctx,out.dir = "/tmp/unit-test/simulated-mtx-uvw-10K", model.name="uvw", nFactors=3, nIter=10);

WARNING: You did not specify the following components in factor: gamma
WARNING: You did not specify the following components in param: h0, var_gamma
================= START fit.MCEM =====================================
Initial loglik: CD =  -19358.42494, E =            NA (0.01 sec)
Error in data.frame(Method = "MCEM", Iter = iter, nSteps = nSamples, CDlogL = loglik,  :
arguments imply differing number of rows: 1, 0

I get the same error with very last commit. How to deal with that? Could you please help? Thanks a lot!


Improve font contrast on website

Could you please improve the contrast in the code samples on http://www.guzzlephp.org/?
I am having a very hard time reading it because the colors are nearly identical :(

Thanks for letting me know that it was hard to read.  I've changed the Sphinx highlighting template so that it will be easier to read.  I modified Guzzle's DNS records to start hosting off of github pages, so once that propagates, you will see the new colors.


AzureResourceEstimator uses incorrect error_budget param name

Line 78 of /resource_estimation/azure.py is the following:
azure_error_budget["tstates"] = remaining_error / 2
However, the Azure QRE requires "tStates" to be used. Otherwise, the following error is thrown:
  File "ZZZ/benchq/src/benchq/resource_estimation/azure.py", line 119, in _estimate_resources_for_circuit
    job_results = job.result().data()
                  ^^^^^^^^^^^^
  File "ZZZ/anaconda3/envs/benchqenv/lib/python3.11/site-packages/azure/quantum/qiskit/job.py", line 100, in result
    return make_estimator_result(result_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "ZZZ/anaconda3/envs/benchqenv/lib/python3.11/site-packages/azure/quantum/qiskit/results/resource_estimator.py", line 18, in make_estimator_result
    raise RuntimeError(message)
RuntimeError: Cannot retrieve results as job execution failed (IOError: cannot parse JSON: 'data did not match any variant of untagged enum ErrorBudgetSpecification at line 1 column 299')

Changing line 78 to azure_error_budget["tStates"] = remaining_error / 2 corrects the error.
To test this ex_3_packages_comparison.py can be used after properly setting the AZURE_RESOURCE_ID environment variable.
This was seen with the latest version of the code and Python 3.11.

I would be happy to fix this issue and submit a PR if you would like to assign it to me.


Subgraphs

Hey folks, really cool library! I was wondering if its possible to have subgraphs. If I had two graphs of two kinds with different hashes, I'd like to connect them somehow.

Hi! At the time, something like that doesn't exist.
There will be functions for merging and connecting graphs of the same type. Subgraphs of different types sound interesting - I haven't thought about that yet, but it makes sense.

+1 for supporting subgraphs, currently have to use https://github.com/awalterschulze/gographviz to work with them