text:
Leftover child processes when using Lwt.pick

The following example (saved as par.ml, in this example) will leave a stray par.native running after the main program exits.
let f x =
  Lwt_unix.sleep x

let () =
  Parallel.init ();
  Lwt_main.run @@ Lwt.pick [
    Parallel.run f 0.1;
    Parallel.run f 1.0;
  ]

built with
ocamlbuild -use-ocamlfind -package lwt-parallel par.native

par.native is the executable itself :)

There are multiple par.native instances running during execution of the program. The child processes are not killed when their Lwt thread is canceled.
So while you are correct, there shouldn't be any left running after the main process exits.

Do you mean, that there is a process left after the process exits?

@ivg yes, that's what happens for me in the example above. The forked child process remains after the parent process exits.

ah, sorry, I misread you the first time. Will take a look. I do remember that we had this problem in the original program from which this library was forked. Maybe I should bump the fix from the upstream.
Thanks for noticing this!

I even get a leftover process when compiling and running the following:
let _ = Parallel.init ()

Also it seems that there exist the same amount of leftover processes after execution of program as the times Parallel.run is called.

If someone need a quickfix like I do - I'm wrapping my ocaml program with the following script. This will of course not be a good idea to run if your program hasn't got a unique name (:
#! /bin/bash

PN=$1; shift 1

./$PN $*
retc=$?
killall $PN
exit $retc

authors: hcarty ivg rand00

repo: ivg/parallel


text:
build后，本地怎么直接点击index.html可以运行？

搭的代码就是直接下载下来了，我npm run build后 想本地直接点index.html看下，但是打开显示空白。还报错了
我应该怎么配置？有没有大神帮我说下

将文件放到 http服务器 的虚拟目录中 或则使用 npm run dev直接运行项目

呃   我说的是压缩后的代码  就是包含了dist文件夹 和index.html文件，怎么直接点击index就可以看到项目运行起来来

webpack.base.config.js里改成这样（当然目录结构你可以自己定）
output: {
path: path.resolve(__dirname, './dist/static')
},
webpack.prod.config.js里改成这样
publicPath: './static/',
npm run build之后就能本地看了，提示：dist文件在build文件夹里

source: gharchive/issue

authors: 7de siyangyuan wzcode

repo: iview/iview-admin

license: mit

license_type: permissive

license_source: bigquery


text:
Add support for range validation

Add a range annotation:
Range[NUMBER_TYPE, FROM, TO]

Implemented with switch to pydantic

repo: iwanbolzern/ConfMe

license: MIT

license_source: github-api


text:
🛑 28mao is down

In a46b9c0, 28mao (https://meuicat.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 28mao is back up in ebcf553.

repo: iwyang/check


text:
🛑 06IILeeのBlog is down

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

HTTP code: 0
Response time: 0 ms

Resolved: 06IILeeのBlog is back up in a2d29da after 9 minutes.


text:
🛑 29JACK小桔子的小屋 is down

In 9293980, 29JACK小桔子的小屋 (https://www.jackxjz.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 29JACK小桔子的小屋 is back up in 7f834ff after 4 hours, 18 minutes.


text:
🛑 05Takagi is down

In 1903ae1, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

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


text:
🛑 Ixtanet SAT is down

In 145d28f, Ixtanet SAT ($MEDIA_SAT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ixtanet SAT is back up in dee5a6b after 15 minutes.

repo: ixtanet/upptime


text:
⚠ Ixtanet SAT has degraded performance

In 46e08aa, Ixtanet SAT ($MEDIA_SAT) experienced degraded performance:

HTTP code: 200
Response time: 20553 ms

Resolved: Ixtanet SAT performance has improved in 7581074 after 290 days, 13 hours, 16 minutes.


text:
Compatibility with Sidekiq 7

I tried to integrate Sidekiq Throttled with the new impementation of Sidekiq but I get the following error:
undefined method `error_handlers' for Sidekiq:Module

        Sidekiq.error_handlers << Sidekiq.method(:default_error_handler)
               ^^^^^^^^^^^^^^^
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-throttled-0.17.0/lib/sidekiq/throttled/communicator/exception_handler.rb:17:in `<class:Communicator>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-throttled-0.17.0/lib/sidekiq/throttled/communicator/exception_handler.rb:8:in `<module:Throttled>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-throttled-0.17.0/lib/sidekiq/throttled/communicator/exception_handler.rb:7:in `<module:Sidekiq>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-throttled-0.17.0/lib/sidekiq/throttled/communicator/exception_handler.rb:6:in `<main>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-throttled-0.17.0/lib/sidekiq/throttled/communicator.rb:5:in `<main>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-throttled-0.17.0/lib/sidekiq/throttled.rb:8:in `<main>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.13/lib/bundler/runtime.rb:73:in `rescue in block in require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.13/lib/bundler/runtime.rb:51:in `block in require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.13/lib/bundler/runtime.rb:44:in `each'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.13/lib/bundler/runtime.rb:44:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.13/lib/bundler.rb:176:in `require'
/Users/davidchun/code/rails/text-book/config/application.rb:7:in `<top (required)>'
/Users/davidchun/code/rails/text-book/config/environment.rb:2:in `require_relative'
/Users/davidchun/code/rails/text-book/config/environment.rb:2:in `<top (required)>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-7.0.7/lib/sidekiq/cli.rb:302:in `require'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-7.0.7/lib/sidekiq/cli.rb:302:in `boot_application'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-7.0.7/lib/sidekiq/cli.rb:42:in `run'
/Users/davidchun/.rvm/gems/ruby-3.1.2/gems/sidekiq-7.0.7/bin/sidekiq:31:in `<top (required)>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/bin/sidekiq:25:in `load'
/Users/davidchun/.rvm/gems/ruby-3.1.2/bin/sidekiq:25:in `<main>'
/Users/davidchun/.rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `eval'
/Users/davidchun/.rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `<main>'

I tried to find the block of code causing the error in the library but couldn't find the exception handler file in the communicator directory. Any help would be much appreciated

while members create fix you can try
Sidekiq.define_singleton_method(:error_handlers) { [] }
Sidekiq.define_singleton_method(:default_error_handler) { 1 }

before configure

It looks like this repo has been moved, and this same issue is documented on that repo, as well: https://github.com/ixti/sidekiq-throttled-tmp/issues/16.

Sorry, I had some problems on getting back control over the original repo. The issue was resolved, and the development will be handled in this repo from now on. Closing as a duplicate of #134. Will try to resolve this this or next week.

Any update on this?

If you're not using Sidekiq-Pro, you can use 1.0.0.alpha2 version. I will try to finalize outstanding bits and release 1.0.0 final this week.

See #111

Hi @ixti - do you know when approximately we will have support for Sidekiq pro as well?

I'm gonna bring initial support of sidekiq pro this week ( no superfetch support for now ), and will try to find the way to have full compatibility after that.

authors: alexander-storozhenko dchun drewmoore ixti remy727 taltcher

repo: ixti/sidekiq-throttled


text:
Build instruction

Hello Jack,
I wouldn't mind to help but I am unable to build this project.
Could you please add minimalistic build instructions?
Thanks & regards,
Daniel.

Yeah! Added that to the README - it's just an Electron app :)

Thanks Jack!

authors: ddacunha jackhumbert

repo: jackhumbert/dfu-programmer-app


text:
An example for image feature

Could you please display an example for image feature, so that I can prepare it by myself by using another object detection method. I failed to run faster-rcnn with caffe. Thanks a lot!

+1 - me as well

Hi@changjiangamy, @yonatanbitton .
Have you found a solution to this?
thanks in advance.

您好，您发给我的信件已经收到，我会尽快查看。

authors: Ellyuca changjiangamy yonatanbitton

repo: jackroos/VL-BERT


text:
nested dropdown callouts dont display properly when initially uncollapsed

Describe the bug
parent has to be uncollapsed then recollapsed by end-user to display properly
To Reproduce
create a callout with a title and collapsible body
then a nested callout within it, with a title and collapsible body.
on the deployed page, uncollapse both. The nested callout will not display its body without recollapsing and reuncollapsing the parent.
I've created an example markdown document for this issue which demonstrates the bug.
here is the raw content which can be pasted into an .md as demonstration:
> [!warning]- Parent title
> Parent body
>> [!bug]- Nested Title. (collapse and collapse parent to see body with bugged behavior)
>> nested body hidden due to bug

Expected behavior
the body of the nested text ought to display as it does in obsidian, without the user having to un-collapse and re-collapse the parent callout
Screenshots and Source
Expected behavior, as handled in obsidian:
You can help speed up fixing the problem by either

providing a simple reproduction
linking to your Quartz repository where the problem can be observed
I've created an example markdown document for this issue which demonstrates the bug.

Desktop (please complete the following information):

Quartz Version: 4.4.0
node Version:
vscode: 20.11.1
deploy.yml: 22
//note that this issue occurs when hosted on github-pages and localhost
npm version: 10.2.4
//note that this issue occurs when hosted on github-pages and localhost
OS: Fedora Linux
Browser Brave

Additional context
none

maybe this solution will solve your problem click

authors: sgmustafi tinygwen


text:
Don't auto-close if I only have X tabs setting does not save "0"

If I set the Don't auto-close if I only have _ tabs setting to 0, it'll default back to 1 the next time I restart chrome

Hmm... are you saying you never want it to autoclose?
On Mon, Sep 14, 2015 at 10:52 PM, Steven Zhang notifications@github.com
wrote:

If I set the Don't auto-close if I only have _ tabs setting to 0, it'll
default back to 1 the next time I restart chrome
—
Reply to this email directly or view it on GitHub
https://github.com/jacobSingh/tabwrangler/issues/97.

--
+1 512-522-6281
twitter: @JacobSingh ( http://twitter.com/#!/JacobSingh )
web: http://www.jacobsingh.name
Skype: pajamadesign
gTalk: jacobsingh@gmail.com

Opposite. I want all tabs to be closed if possible.
With setting set to 1, I often have a bunch of single-tabbed windows at the end of the day. I would prefer not to have that and have the windows closed completely if unused or containing 0 pinned tabs

Sorry, that's what I meant, brain a little slow this morning...
Yes, sounds like a bug.
Honestly, I'm not actively maintaining it these days.  If you can patch it,
I'll do a code review, otherwise... not sure when I'll get to it.
Best,
J
On Tue, Sep 15, 2015 at 10:01 AM, Steven Zhang notifications@github.com
wrote:

Opposite. I want all tabs to be closed if possible.
With setting set to 1, I often have a bunch of single-tabbed windows at
the end of the day. I would prefer not to have that and have the windows
closed completely if unused or containing 0 pinned tabs
—
Reply to this email directly or view it on GitHub
https://github.com/jacobSingh/tabwrangler/issues/97#issuecomment-140277916
.

--
+1 512-522-6281
twitter: @JacobSingh ( http://twitter.com/#!/JacobSingh )
web: http://www.jacobsingh.name
Skype: pajamadesign
gTalk: jacobsingh@gmail.com

authors: jacobSingh stevenqzhang

repo: jacobSingh/tabwrangler


text:
output attribute not setting scope value correctly

When I used the directive, I found that the output value is not set on the scope. I could not access it using $scope in the controller.

There is not issue with the directive. I did not use it correctly.

repo: jacobscarter/angular-cron-jobs


text:
(WIP) Unpin grpc version and use serviceConfig to set loadbalancer

Signed-off-by: Jude Wang judew@uber.com

Which problem is this PR solving?

#1781

Short description of the changes

This PR aims to unpin grpc and replace deprecated code

I notice there's a new commit detected in git for idl/ and not sure if I should commit it.

@pavolloffay One question regarding the TestSpanReader_multiRead_followUp_query, after upgrading lock file this test starts to fail where mocks Index method was expecting two string instead of one. Any idea why?

@pavolloffay Actually it feels like TestSpanReader_multiRead_followUp_query is being flaky since the s.timeRangeIndices(s.spanIndexPrefix, startTime.Add(-time.Hour), endTime.Add(time.Hour)) could compute slice with either one entry or two based on the time zone and time.Now(). I think you need to add a second mock.AnythingOfType("string") to .On("Index", ...) mock function.

I notice there's a new commit detected in git for idl/ and not sure if I should commit it.

If it is not related to this change it should be reverted.

@pavolloffay One question regarding the TestSpanReader_multiRead_followUp_query(introduced in #1677 ), after upgrading lock file this test starts to fail where mocks Index method was expecting two string instead of one. Any idea why?

The changes here does not seem to be related to the ES reader. The test is probably flaky. Could oyu please report that in a separate issue?

There is already an issue for that test: https://github.com/jaegertracing/jaeger/issues/1713

source: gharchive/pull-request

authors: guanw pavolloffay yurishkuro

repo: jaegertracing/jaeger


text:
Ground truth pkl file for val & train

I was able to find the raw ground truth, but not the ground truth pkl file for the validation set to run the simple evaluator given in readme:
$ python eval_forecasting_helper.py --metrics --gt <path/to/ground/truth/pkl/file> --forecast <path/to/forecasted/trajectories/pkl/file> --horizon 30 --obs_len 20 --miss_threshold 2 --features <path/to/test/features> --max_n_guesses 6
Could you please share a link to the same, or guide to how to generate it with raw data, without generating features.

Hi Prakhar,
The ground truth for train and val was not released explicitly, but it should be fairly easy to generate that. Just preprocess the raw csv files or the generated features file to have ground truth in the format:
gt: Dict[int, np.ndarray] = {seq_id: traj_for_future_3_secs}
Eg. gt = {1: np.array([[1,2],[1,3],[1,4],....]), 2: np.ndarray([100, 200], [101, 200], ...)}

Okay got it, thanks!

Hi, sorry for re-opening the issue, but I had another query. When we open the csv file for creating 'val' dataset, we get 50 points for the AGENT. Do we save all 50 (whole 5 secs) in the ground truth pkl file, or only last 30 (last 3 secs)?

authors: ankuPRK jagjeet-singh

repo: jagjeet-singh/argoverse-forecasting


text:
ADM、SDM訂定資料格式及完成載入功能

[x] SDM訂定地圖格式及完成載入功能
[ ] ADM訂定玩家、怪物、子彈的物件的資料格式及完成載入功能

SDM 目前已可載入地圖檔，並檢查其格式是否正確

repo: jaidTw/FatelTale


text:
[Certification]: Hibernate 6.6.0.X Jakarta Data 1.0

Organization
Red Hat
Implementation
HIbernate ORM 6.6.0.Alpha1
https://hibernate.org/orm/releases/6.6/
Specification
Jakarta Data 1.0
Technology Compatibility Kit (TCK)
Jakarta Data 1.0.0 TCK
https://download.eclipse.org/ee4j/data/jakartaee11/staged/eftl/
Technology Compatibility Kit (TCK) Validation
starksm@Scotts-Mac-Studio /tmp % shasum -a256 data-tck-1.0.0.zip
02dda1984b67f57bf6996942bea6b1234476e7d1a14bd5770f54f1264decaf35  data-tck-1.0.0.zip
Technology Compatibility Kit (TCK) Results
https://github.com/jakartaredhat/hibernate-data-tck/wiki/JD_100_TCK_Results
Additional Specification Requirements
None
Java Runtime(s)
openjdk version "17.0.4.1" 2022-08-12
OpenJDK Runtime Environment Temurin-17.0.4.1+1 (build 17.0.4.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.4.1+1 (build 17.0.4.1+1, mixed mode
openjdk version "21.0.1" 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)
Environments
starksm@Scotts-Mac-Studio arq % uname -a
Darwin Scotts-Mac-Studio.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Feb 19 20:25:23 PST 2024; root:xnu-8020.240.18.707.4~1/RELEASE_ARM64_T6000 arm64
Eclipse Foundation Technology Compatibility Kit License (EFTL)

[X] By checking this box I acknowledge that the organization I represent accepts the terms of the EFTL

TCK Requirements and Compatibility

[X] By checking this box I attest that all TCK requirements have been met, including any compatibility rules.

@KyleAure @njr-11 This has been updated for the staged release of the 1.0.0 TCK

Closing as approved by lazy consensus

repo: jakartaee/data


text:
Basic execvp impl

Closes #47

Yeah, not being able to do anything after should be fine in Mint's case.
What directory would this run in? Is it possible to pass a directory?

It would just run in the current directory, but I'll add the directory arg for parity with run and capture

authors: jakeheis yonaskolb

repo: jakeheis/SwiftCLI


text:
Enable git server without a GUI

It's more lightweight; expose a 'GUI' option to use the Gitea GUI. they should be identical otherwise.
Look into this: https://spartanengineer.com/nixos/2017/09/25/basic-git-server-with-nixos.html

This is silly - it's not really useful or usable without a gui unless i'm backing up with git-lfs

This is silly - it's not really useful or usable without a gui unless i'm backing up with git-lfs

repo: jakeisnt/nix-cfg


text:
How to add vertical and horizontal lines to figures?

Please advise.

In master, you can do this by layering, but that's not very convenient at the moment. It would be something like:
ax = data.vgplot(x='x', y='y')

# draw a line at y = 5
hline = pd.DataFrame({'x': data.x,
                      'y': 5 * np.ones_like(data.x)})
hline.vgplot(x='x', y='y', ax=ax)

I've been thinking about this use case, and whether it would make sense to add an ax.hlines([5]) method a la matplotlib for this use case.

@jakevdp thanks.
I think it would be helpful to add the hlines and vlines feature. My top use cases are to emphasize the zero line and to highlight important values when plotting distributions. I can also imagine wanting to shade a range between vlines, for example shading recessions when plotting economic time series.

@jakevdp I'm loving altair so far but I agree that adding hlines and vlines would make it even better! Hopefully something easy to use like ggplot's + geom_vline(xintercept=2).
I tried following the advice given on altair's issue #1124 but it didn't really work that well.
Keep up the good work and thank you for this awesome library.

In Altair, just noticed that I posted on the pdvega repo, sorry about that. I was looking everywhere for ways to draw the vertical line and didn’t realize. I can post this to Altair if you prefer.

Maybe you could comment on #1124 with the problem you're having with the solution there.

authors: BlackArbsCEO jakevdp uribe-convers

repo: jakevdp/pdvega


text:
Setup Docker compose

It would be really nice if this can be setup in a docker environment. I don't have time right now but here are some details:
https://www.howtoforge.com/tutorial/dockerizing-lemp-stack-with-docker-compose-on-ubuntu/

hey folks,
started work today, in separate repo . But I need some help.

@jnmcfly I couldn't access the repo. Is this still under development?

Docker support would be awesome. Afaict we would need a custom image that installs the composer dependencies and runs the migrations. Therefore we would need a custom config that makes use of ENVs.

authors: andresmafra beevelop imprashast jnmcfly

repo: jakim/ig-monitoring


text:
reactjs project: it doesn't install

with these dependencies:
"dependencies": {
"bootstrap": "^4.3.1",
"bootstrap-v4-rtl": "^4.3.1-3",
"jquery": "^3.4.1",
"node-sass": "^4.12.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-bootstrap": "^0.25.0",
"react-router-dom": "^5.0.0",
"react-scripts": "3.0.1",
"reactstrap": "^8.0.0",
"rimraf": "^2.6.3",
"moment-jalaali": "^0.8.3"
}
error is:
An unexpected error occurred: "EPERM: operation not permitted, unlink 'E:\ClientApp\node_modules\.node-sass.DELETE\vendor\win32-x64-64\binding.node'".

It's not related to moment-jalaali. Google it, or ask on SO.

authors: meness pspejman

repo: jalaali/moment-jalaali


text:
🛑 Registry1 is down

In d19aca5, Registry1 (https://registry1.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Registry1 is back up in 62f5834 after 3 minutes.

repo: james-martinez/dso-mil


text:
🛑 Ironbank is down

In c9059e9, Ironbank (https://ironbank.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ironbank is back up in e91f201 after 3 minutes.


text:
There are not enough hits

I am getting this error just as mentioned in the other ticket however everything is being read correctly and the file names are fine.  This is my result:
2022-11-24 20:13:43.339231: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
Parsing args...
['Deep-Docking-NonAutomated/phase_2-3/progressive_docking.py', '-os', '10', '-bs', '256', '-num_units', '100', '-dropout', '0.2', '-learn_rate', '0.0001', '-bin_array', '2', '-wt', '2', '-cf', '-982.1397872332886', '-rec', '0.9', '-n_it', '1', '-t_mol', '883.891533', '--data_path', 'test/DeepDockABL1', '--save_path', 'test/DeepDockABL1', '-n_mol', '100']
100 0.2 0.0001 2 2.0 -982.1397872332886 256 10 test/DeepDockABL1
Training size not specified, using entire dataset...
Finished parsing args...

Getting data from iteration 1
Data acquired...
Train shape: (7688, 1) Valid shape: (3800, 1) Test shape: (3800, 1)
Data Augmentation iteration 1 data shape: (7688, 1)
Training labels shape:  (7688, 1)
There are not enough hits... exiting.

This error is displayed if there are less than 10 positive molecules in the validation and/or test set. I think it may be due to using such small samples for screening a library of >883M molecules. Can you check these values:
(y_valid_first.r_i_docking_score < cf).values.sum()
and
(y_test_first.r_i_docking_score < cf).values.sum()
Most likely, you have ~38 hits in the validation set but less than 10 in the test set due, assuming you are labelling top 1% molecules as positives in the validation set.

Yea I am debugging now.  What does "positive" molecules mean exactly?  All my labels have negative energy values from AutoDockGPU.  One thing I noticed in the get_data function is this line reads as if there is a header in the morgan files:
morgan = pd.read_csv(morgan_path, usecols=[0], header=0, names=['ZINC_ID'])

However when running setup scripts the morgan files have no header so might want to check this.
$ head -n2 morgan/*.csv
==> morgan/test_morgan_1024_updated.csv <==
548482427,33,36,39,80,98,128,138,162,214,218,233,249,268,293,294,310,330,356,357,366,367,378,385,406,428,444,456,460,511,521,531,538,561,567,573,650,656,658,659,667,675,695,698,726,730,751,757,758,760,792,807,812,823,849,857,875,893,926,935,944,950,985,1004,1019
1822322919,4,11,64,74,75,90,92,128,148,175,188,193,197,205,209,231,238,242,251,255,268,272,285,288,290,301,356,361,378,389,428,441,455,456,480,498,505,539,618,623,639,647,650,656,673,689,726,738,792,807,836,849,856,875,881,890,893,897,926,935,950,974,980,1019

==> morgan/train_morgan_1024_updated.csv <==
55646157,4,14,33,46,59,93,216,356,361,367,369,456,480,487,497,543,553,554,561,565,650,659,673,675,690,698,726,752,781,807,816,849,881,893,926,935,942,985
1566226336,1,33,36,46,59,65,80,114,120,128,150,197,216,231,250,283,356,393,429,561,575,609,623,641,650,659,679,689,693,723,726,737,807,808,816,849,867,884,893,904,926,1009,1019

==> morgan/valid_morgan_1024_updated.csv <==
1753308234,1,15,33,41,58,70,80,97,117,128,151,228,241,247,283,288,294,301,338,351,413,472,526,537,540,618,636,650,674,701,739,794,800,807,886,887,888,893,895,926,935,985,994,996,1009,1019
1025119100,4,56,64,70,80,112,128,162,179,193,213,242,255,301,319,340,343,356,360,378,428,436,440,448,456,480,496,497,504,528,580,650,656,658,674,675,726,790,807,842,849,862,890,893,918,926,935,974,976,1004,1009,1019

Ahh I bet it's because I was using AutoDock Vina before which was give extremely low energy values which was inaccurate and that there is a really low cf value from the last time I set up the model scripts.

Yup that was it!  Now just running into datatype issues.  I think I can figure them out.
x data from: /storage1/fs1/bolton/Active/projects/BWILEYtest/test/DeepDockABL1/iteration_1/morgan/test_morgan_1024_updated.csv
Done...
Index(['r_i_docking_score'], dtype='object')
r_i_docking_score
Traceback (most recent call last):
  File "/storage1/fs1/bolton/Active/projects/BWILEYtest/Deep-Docking-NonAutomated/phase_2-3/progressive_docking.py", line 346, in <module>
    X_test, y_test = get_morgan_and_scores(f, y_test)
  File "/storage1/fs1/bolton/Active/projects/BWILEYtest/Deep-Docking-NonAutomated/phase_2-3/progressive_docking.py", line 156, in get_morgan_and_scores
    train_data = pd.merge(ID_labels, train_pd, how='inner',on=['ZINC_ID'])
  File "/usr/local/lib/python3.8/dist-packages/pandas/core/reshape/merge.py", line 106, in merge
    op = _MergeOperation(
  File "/usr/local/lib/python3.8/dist-packages/pandas/core/reshape/merge.py", line 703, in __init__
    self._maybe_coerce_merge_keys()
  File "/usr/local/lib/python3.8/dist-packages/pandas/core/reshape/merge.py", line 1256, in _maybe_coerce_merge_keys
    raise ValueError(msg)
ValueError: You are trying to merge on int64 and object columns. If you wish to proceed you should use pd.concat

fixed but ugh...
Traceback (most recent call last):
  File "/storage1/fs1/bolton/Active/projects/BWILEYtest/Deep-Docking-NonAutomated/phase_2-3/progressive_docking.py", line 468, in <module>
    progressive_docking.fit(Oversampled_X_train,
  File "/storage1/fs1/bolton/Active/projects/BWILEYtest/Deep-Docking-NonAutomated/phase_2-3/ML/DDModel.py", line 138, in fit
    self.history = self.model.fit(train_x, train_y, epochs=epochs, batch_size=batch_size, shuffle=shuffle,
  File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/keras/engine/training.py", line 708, in fit
    return func.fit(
  File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/keras/engine/training_arrays.py", line 658, in fit
    return fit_loop(
  File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/keras/engine/training_arrays.py", line 394, in model_iteration
    batch_outs = f(ins_batch)
  File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/keras/backend.py", line 3475, in __call__
    fetched = self._callable_fn(*array_vals,
  File "/usr/local/lib/python3.8/dist-packages/tensorflow_core/python/client/session.py", line 1470, in __call__
    ret = tf_session.TF_SessionRunCallable(self._session._session,
tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
  (0) Internal: cuDNN launch failure : input shape ([256,1,1,100])
	 [[{{node batch_normalization/cond/FusedBatchNormV3}}]]
	 [[metrics/acc/Identity/_195]]
  (1) Internal: cuDNN launch failure : input shape ([256,1,1,100])
	 [[{{node batch_normalization/cond/FusedBatchNormV3}}]]
0 successful operations.
0 derived errors ignored.

Ok thanks for noticing the header issue, I corrected it in the repo. Regarding the last issue, what version of tensorflow are you using?

Using this image nvcr.io/nvidia/tensorflow:22.08-tf1-py3 from Nvidia so it's probably most up to date version.
Forgot to post this error:
E tensorflow/stream_executor/cuda/cuda_dnn.cc:377] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

Looking here was maybe just a memory issue.  Raised it from 32GB to 128GB and it worked.  Going to see if 64GB will work also.

This seems a lot of memory that is used for a batch size of 256. Have you checked how much memory the process uses on the GPU?

I can go see now.  Hard to do since it's on a cluster and LSF reporting is not always the best.  Can I do that from inside a blade I am on maybe?  It's working now in just 16GB given to the blade.  I think the blades are just a little wonky right now.

Quick question.  I get the "There are not enough hits" after running simple_job_models.py if -n_it is one less than -titr.  Is this supposed to happen?  If I increase -titr to 7 then simple_job_1.sh gives more hits because the cf variable increases from -13.280741910024236 to -13.17074191002422 which makes 12 hits.
simple_job_models.py -n_it 5 -titr 6 -mdd mdd_directory -time 00-04:00 -file_path fo -nhp 4

gives
simple_job_1.sh ...
...
Training labels shape:  (57288, 1)

# output debugging
y_valid_first.r_i_docking_score.min()= -14.3
cf= -13.280741910024236
# sorted
            r_i_docking_score
ZINC_ID
1834732158             -14.30
904471353              -13.65
1815850557             -13.64
1831236886             -13.57
1807156813             -13.34
448139959              -13.33
793490098              -13.31
105142162              -13.28
302933119              -13.27
1183914022             -13.25
570756767              -13.23
488239025              -13.22
1785720908             -13.17
1591004849             -13.14
1825766879             -13.08
(y_valid_first.r_i_docking_score < cf).values.sum()= 7

There are not enough hits... exiting.
complete

Hi Developers,
I am running the Deep-Docking-NonAutomated protocol.
At the phase 3, I have go the following error message. I could not able to understand what was wrong. All necessary file are in place, I have got model_7 as a best model.
Could you please let me know your thoughts on it.
Thanks in advance and best regards,
-Prajwal
#############
(base) iteration_1 $python -u ../../phase_2-3/Prediction_morgan_1024.py -fn smiles_all_01.txt -protein PROJECT-TEST -it 1 -mdd ../Ligands/ZINC20_fp_chunk_1 -file_path ../../PROJECT-TEST
Using TensorFlow backend.
sampling: Number of models to predict: 0
sampling: Starting Predictions...
sampling: We are predicting from the file smiles_all_01.txt located in ../Ligands/ZINC20_fp_chunk_1
sampling: We are currently running line ZINC000978196592_1,33,38,74,80,85,90,111,126,139,195,197,208,218,219,242,269,301,334,356,378,400,422,428,456,462,489,511,520,523,609,620,650,656,680,685,739,751,784,802,807,834,848,849,859,881,893,899,926,935,943,950,1019
 sampling: (1) Predicting... Time elapsed: 14.007264375686646 seconds.

Traceback (most recent call last):
File "../../phase_2-3/Prediction_morgan_1024.py", line 123, in
returned = prediction_morgan(fn, models, tr)
File "../../phase_2-3/Prediction_morgan_1024.py", line 67, in prediction_morgan
for j in range(len(pred[0])):
IndexError: list index out of range
#############

repo: jamesgleave/Deep-Docking-NonAutomated


text:
Subscribe to PUSH notification - incorrect parameter name

Version (e.g. 1.0, dev-master):
dev-master
Microsoft Exchange version:
online
Description of problem:
Getting SOAP-ERROR: Encoding: object has no 'URL' property when trying to subscribe to PUSH notifications. According to https://msdn.microsoft.com/en-us/library/aa563599(v=exchg.150).aspx the URL property of PushSubscriptionRequestType is all-upper-case. Changing it from Camel case to upper case will resolve this error.
PR with fix included

#391 has been merged, closing this.

authors: jamesiarmes senasi

repo: jamesiarmes/php-ews


text:
Multiple mailboxes for the same user

Version (e.g. 1.0, dev-master): 1.0.0
PHP version: 5.5.9
Microsoft Exchange version: 2016
Description of problem:
How can I access to different mailboxes associated to the same Exchange user?
I can easily access to my INBOX (related to my personal account) but the FindFolders doesn't provide other mailboxes associated to my account.
Example request:
I found the followinf example in C and I think it could solve the problem, so I need to tranlsate it in PHP with the php-ews library:
var service = new ExchangeService();
service.Credentials = new WebCredentials("user_with_access@example.com", "password");
service.AutodiscoverUrl("a_valid_user@example.com");

var userMailbox = new Mailbox("target_user@example.com");
var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);

Example response:
N.A.
Additional details:
I found a similar issue on Stackoverflow (http://stackoverflow.com/questions/25275060/access-another-mailbox-calendar-events-with-php-ews)
$request->ParentFolderIds->DistinguishedFolderId->Mailbox = new StdClass;
$request->ParentFolderIds->DistinguishedFolderId->Mailbox->EmailAddress = 'email@address.com';

but it doesn't work because the DistinguishedFolderId class doesn't have a Mailbox child class.

Based on examples/folder/find.php:
$parent = new DistinguishedFolderIdType();
$parent->Id = DistinguishedFolderIdNameType::ROOT;

// New Properties:
$parent->Mailbox = new StdClass;
$parent->Mailbox->EmailAddress = 'secondMailAdress@yourDomain.org';
// End of new Props.

$request->ParentFolderIds->DistinguishedFolderId[] = $parent;

Works like a charme for me; also inside Office 365...

Hey guys,
thanks for the example - worked like a charm. I am connecting with some sort of company admin account and reading another calendar entries worked but now i am trying desperately to write into another calendar. My first ideas was like this:
        $parent = new DistinguishedFolderIdType();
        $parent->Id = DistinguishedFolderIdNameType::CALENDAR;
        $parent->Mailbox = new StdClass;
        $parent->Mailbox->EmailAddress = 'myClientAccount@somedomain.xyz';

        $request->ParentFolderId = $parent;

But all i got is the event is stored into the "admin" account and not into myClientAccount.
Maybe someone can give me a hint...or example?

authors: boppy gtorassa tillhh


text:
Settings are missing when app is removed from background

On Xamarin.Forms Android (5.1,6.0,7.0) When saving the information, it works great. However, if you close the app and clear the Android stack of apps running on background the settings values are missing.
Note: On iOS it works very good.
Plugin version 3.1.1
Any idea what the issue could be?
Regards,
Victor

All values are store immediately into shared preferences. Has worked perfect for 6 years with 1+ million installs here... can you share code at all that you are using?
Is it redeploy via debugging? Perhaps you have clear values on?

Hello @jamesmontemagno , that is also why it is really weird that is not working for me on Android only.
This is the code I'm using:
{
    public static class Settings
    {
        private const string RememberUserKey = "RU_Key_1";
        private const string UserPasswordKey = "UP_Key_1";
        private const string UserEmailKey = "UE_Key_1";

        private static readonly bool RememberUserDefault = false;
        private static readonly string UserPassworDefault = string.Empty;
        private static readonly string UserEmailDefault = string.Empty;

        private static ISettings AppSettings
        {
            get {  return CrossSettings.Current; }
        }

        public static bool RememberUser
        {
            get { return AppSettings.GetValueOrDefault(RememberUserKey, RememberUserDefault); }
            set { AppSettings.AddOrUpdateValue(RememberUserKey, value); }
        }

        public static string UserPassword
        {
            get { return AppSettings.GetValueOrDefault(UserPasswordKey, UserPassworDefault);}
            set { AppSettings.AddOrUpdateValue(UserPasswordKey, value);}
        }

        public static string UserEmail
        {
            get { return AppSettings.GetValueOrDefault(UserEmailKey, UserEmailDefault); }
            set { AppSettings.AddOrUpdateValue(UserEmailKey, value); }
        }

    }
}```

However, when I retrieve the values on the ViewModel RememberMe is always false:

ObjectUser.RememberUser = Settings.RememberUser;
ObjectUser.Email = RememberUser ? Settings.UserEmail : string.Empty;
ObjectUser.Password = RememberUser ? Settings.UserPassword : string.Empty;

App1.zip
This code works absolutely perfect. No issues at all.

authors: jamesmontemagno vhugogarcia

repo: jamesmontemagno/SettingsPlugin


text:
[Feature Request]Expose a getpath method

file = await CrossMedia.Current.TakePhotoAsync (new Media.Plugin.Abstractions.StoreCameraMediaOptions {
					Directory = "directory",
					Name = "name'
				});

There is currently no way to know where the file will be stored, until after it is captured.
Can you expose a getpath method?

Is there a reason for this? It is calculated right before you take the photos based on the MediaOptions.


text:
Resolving generic relationships

This issue describes a limitation of the data structure of Redux Resource.
To understand the limitation, let's begin with an example. If you fetch an author, and that author has 5 books, you might have this resource object:
{
  id: '10',
  books: ['201', '9293', '2', '29', '992']
}

Right now, to retrieve this information from the store, you could do:
const author = state.authors.resources['10'];
const books = getResources(state.books, author.books);

Using this code, you can now write a function that lets you get the author and its books at the same time:
function getFullAuthorDefinition(state, authorId) {
  const author = state.authors.resources[authorId];
  const books = getResources(state.books, author.books);

  return {
    ...author,
    books
  };
}

In your code, you can now use getFullAuthorDefinition instead of manually piecing together the author.
Not so bad.
The problem is when you try to write this function:
getFullResourceDefinition(state, resourceName, resourceId)

This would let you get a full definition of any generic resource. On the one hand, it doesn't seem too bad to recommend that people write these functions for each resource. On the other hand, being able to get a generic full definition allows for better "subscriptions."
Here's what I mean:
Let's say you make a request for 5 authors, and you get those authors in addition to the author's books. You want to subscribe, via a render prop, to updates to the request status and the data returned from the request.
Right now, Redux Resource is limited to the very literal server response: the 5 authors and their specific books at that moment in time. But let's say that some of those authors have books added and removed from their definition. This subscription has no knowledge of that, because it is only able to pull the books from what was returned from the response.
If I were able to pull related resources down instead, then the subscription would be "live."

I'm going to close as revisit for now. Suspense caches may affect how I would build this

repo: jamesplease/redux-resource


text:
Implement a JavaScript is_enabled() function

Often feature changes involve PHP and JavaScript changes. It'd be useful to be able to call is_enabled('flag_key') via JavaScript as well.

This is a great idea. Something like this perhapse:
if ( featureFlags.is_enabled( 'foo') ) { /* Feature specific JS */ }

Just making a note that this should inherit the function name we decide to implement/update in #15.

Potentially a separate issue but we should also consider how this can be used within WordPress's new Gutenberg blocks.

authors: jamesrwilliams peterhartree

repo: jamesrwilliams/wp-feature-flags


text:
Wrong Amazon Link for soldering station

In this: https://github.com/jamisonderek/flipper-zero-tutorials/blob/main/electronics/README.md
The "Amazon Link" for the soldering station is referring to the logic analyzer.

Thanks for letting me know.  I updated with https://amzn.to/4267wwm link for the soldering station.  (I also added a comment that I no longer earn commissions on the links).

authors: almahallawy jamisonderek

repo: jamisonderek/flipper-zero-tutorials


text:
Top 'N' Populated Cities, Where 'N' is Provided by the User

The top 'N' populated cities in the world where 'N' is provided by the user.
The top 'N' populated cities in a continent where 'N' is provided by the user.
The top 'N' populated cities in a region where 'N' is provided by the user.
The top 'N' populated cities in a country where 'N' is provided by the user.
The top 'N' populated cities in a district where 'N' is provided by the user.

A city report requires the following columns: Name, Country, District, Population.


text:
How do I install the addon?

Hey, thanks a lot for making the addon. If I add the github repository to kodi sources, it appears to be empty.
Thanks for your help.

You need to download it as a zip and then copy it on to your Raspberry Pi to install.

so, we need to download the rpi-fanshim-master.zip file from the green "CLONE OR DOWNLOAD" button on this page: https://github.com/jane-t/rpi-fanshim right?
And then transport it to libreelec installation through a SMB shared folder, usb-stick or scp eg.? Then access the AddOns part of Libreelec and "add from ZIP file" and then point to the rpi-fanshim-master.zip file?

so, we need to download the rpi-fanshim-master.zip file from the green "CLONE OR DOWNLOAD" button on this page: https://github.com/jane-t/rpi-fanshim right?
And then transport it to libreelec installation through a SMB shared folder, usb-stick or scp eg.? Then access the AddOns part of Libreelec and "add from ZIP file" and then point to the rpi-fanshim-master.zip file?

That's the way it should work. But on my installation it doesn't actually ...

authors: Hessenpower01 aggeren davidoppen jane-t

repo: jane-t/rpi-fanshim


text:
Services

Implement the services page and get them from the API.

something is wrong with editing a service, you edit one, but there is another which will also get edited
then it should sort by id

repo: janlauber/autokueng-frontend


text:
🛑 Organitec is down

In 1afda3a, Organitec (https://organitec.com.py/) was down:

HTTP code: 530
Response time: 918 ms

Resolved: Organitec is back up in deb1557.

repo: janparkio/uptime


text:
get_contacts() -> KeyError: 'id'

Hi,
perhaps I am missing something, but using addressbook's get_contacts()
expects a mapping in line 286, at least I think so:
cf. pyo365/address_book.py:283ff:
[..]
if self.root:
    url = self.build_url(self._endpoints.get('root_contacts'))
else:
    url = self.build_url(self._endpoints.get('folder_contacts').format(self.folder_id))
[..]

Using the code in original form gives:

KeyError: 'id'

But changing line 286 into
[..]
if self.root:
    url = self.build_url(self._endpoints.get('root_contacts'))
else:
    url = self.build_url(self._endpoints.get('folder_contacts').format(id=self.folder_id))
[..]

appears to work fine. If I didn't miss anything, perhaps You'll add this change
to the code!?
Kind regards

Yes! that's a bug. It's fixed now.


text:
🔌  UI Plugin: Application Topology

Goal
A clear and concise description of the goal of this epic.
What problem does this solve? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Use cases
A clear and concise description of persona and associated use cases that need to be supported.
Acceptance criteria
A clear and concise list of acceptance criteria, noting what will be delivered as part of this epic.  This will help identify associated testing, documentation and support needs.
Issues in Epic

[ ] https://github.com/janus-idp/backstage-plugins/issues/85

It might be worth looking at the Catalog Graph plugin

@taras thanks for the reference.  I've started to more clearly articulate the goals of this plugin, hope this helps.

Thank you. They're similar but your mockups are much prettier. The Graph plugin hasn't gotten a lot of love since it was created. What you folks are planning is exciting!

FYI @invincibleJai note that I added #250 as a stretch

@josephca @rnapoles-rh can one of you sign off for QE.
@hmanwani-rh @rkratky can one of you sign off for doc?

authors: rtaniwa serenamarie125 taras

repo: janus-idp/backstage-plugins


text:
fix(orchestrator): fixes v2/instances endpoint

The start and end fields are annotated as strings instead of Date. The format of the string is provided as a hint for the developer as a comment (date-time)  due to limitations in the OpenAPI code generator.

The "Build all packages" task is failing due to a type-check error in our code base, unrelated to the changes I've made.
@caponetto PTAL 🙏


text:
Docs: enhance readme, add Community and Contributions section

Recently, we have added our Contributing.md file that guides a user on how to contribute. Add a section in the README.md named "Community and Contributions" that references the user to the contributing guidelines. Also, list all the contributors to the project in this section.
Example -

can you assign it to me !


text:
how to ssr only one entry in a multi page application

My project is configured to generate multiple entries. How can I configure razzle to only ssr one entry?

Do you have a razzle.config.js? Or are you trying to adapt a existing build? Post some code :)

authors: fivethreeo thezjy

repo: jaredpalmer/razzle


text:
Fix babel-jest with babelrc

createTransformer used to be able to accept presets: false but with this change it now requires null or undefined (logic changed from || to ??)

Can you change the commit message to
“fix(razzle): message”

Can you change the commit message to
“fix(razzle): message”

authors: CarsonF fivethreeo


text:
[Help] tsdx watch seems to only fully transpile index.ts, converts my other .ts files to .d.ts with no js, doesn't bundle with index

I've got a relatively fresh project.  Under src I have:
│   index.ts
│   TabletopSimulatorService.ts
│
└───domain
        TabletopSimulatorServiceMessages.ts

when I run npx tsdx build I get the following output:
│   index.d.ts
│   index.js
│   TabletopSimulatorService.d.ts
│   ttstk-channels.cjs.development.js
│   ttstk-channels.cjs.development.js.map
│   ttstk-channels.cjs.production.min.js
│   ttstk-channels.cjs.production.min.js.map
│   ttstk-channels.esm.js
│   ttstk-channels.esm.js.map
│
├───domain
        TabletopSimulatorServiceMessages.d.ts```

I would expect to see a .js and .js.map for both TabletopSimulatorService and domain/TabletopSimulatorServiceMessages

I'm assuming I need to change something in my configuration, but cannot find sufficient documentation.

Figured it out promptly after this, literally a day after first encountering it.
Change from
import * as tts from 'TabletopSimulatorService';
to
import * as tts from './TabletopSimulatorService';

Duplicate of #528 / #91 etc

repo: jaredpalmer/tsdx


text:
Integer overflow warnings on Ubuntu

Some sanity checks will not work as is, if this isn't fixed. See file outlinertypes.hh

Fixed in commit 38b4cfbbca09db7665bd9710ef9f91b46f00534d

repo: jariarkko/cave-outliner


text:
unicode character not shown correct in response

when I run an API, unicode character not shown correct in response .
Expected outcome
unicode character shown correctly.
Actual outcome
{
"response": 0,
"error": "Ø¹ÙÙÛØ§Øª Ø¨Ø§ ÙÙÙÙÛØª Ø§ÙØ¬Ø§Ù Ø´Ø¯."
}
Versions
App: 10.0.3
Platform: 5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Hi,
This is a duplicate of #1074.
It is fixed in 10.0.4 (already published).

authors: abmahmoodi jarrodek

repo: jarrodek/ChromeRestClient


text:
🛑 Dedicated NodeJS - TG Mute Scheduler is down

In f8fe26e, Dedicated NodeJS - TG Mute Scheduler ($DEDICATED_TG_MUTE_SCHEDULER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dedicated NodeJS - TG Mute Scheduler is back up in fcddd30 after 49 minutes.

repo: jasbanza/uptime-monitor


text:
tools on creating svg

Hi @jasineri  nice work here, do you use any tool in creating the svg

Thank you for raising the issue. Currently no additional tools are utilized to generate SVG images in the gitartwork project.

authors: Allaye jasineri

repo: jasineri/gitartwork


text:
[Jellyfin] Error getting jellyfin libraries

Version: 0.0.36-prealpha-linux-x64
Operating System: Debian 10, x64
Jellyfin Version: 10.7.5
Steps to Reproduce:

Add Jellyfin source (e.g. http://192.168.0.100:8096), with API Key

Logs:
(There is an actual user ID, it has been scrubbed from this log.)
May 19 17:38:53 server.example.com ErsatzTV[24012]: [17:38:53 INF] Successfully synchronized jellyfin media sources
May 19 17:38:53 server.example.com ErsatzTV[24012]: [17:38:53 DBG] Jellyfin admin user id is --------
May 19 17:38:53 server.example.com ErsatzTV[24012]: [17:38:53 INF] Successfully synchronized Jellyfin admin user id for source 6
May 19 17:38:53 server.example.com ErsatzTV[24012]: [17:38:53 ERR] Error getting jellyfin libraries
May 19 17:38:53 server.example.com ErsatzTV[24012]: System.NullReferenceException: Object reference not set to an instance of an object.
May 19 17:38:53 server.example.com ErsatzTV[24012]:    at ErsatzTV.Infrastructure.Jellyfin.JellyfinApiClient.Project(JellyfinLibraryResponse response) in /home/runner/work/ErsatzTV/ErsatzTV/ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs:line 199
May 19 17:38:53 server.example.com ErsatzTV[24012]:    at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
May 19 17:38:53 server.example.com ErsatzTV[24012]:    at OptionExtensions.Somes[A](IEnumerable`1 self)+MoveNext()
May 19 17:38:53 server.example.com ErsatzTV[24012]:    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
May 19 17:38:53 server.example.com ErsatzTV[24012]:    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
May 19 17:38:53 server.example.com ErsatzTV[24012]:    at ErsatzTV.Infrastructure.Jellyfin.JellyfinApiClient.GetLibraries(String address, String apiKey) in /home/runner/work/ErsatzTV/ErsatzTV/ErsatzTV.Infrastructure/Jellyfin/JellyfinApiClient.cs:line 58
May 19 17:38:53 server.example.com ErsatzTV[24012]: [17:38:53 WRN] Unable to synchronize libraries from jellyfin server server: Object reference not set to an instance of an object.
May 19 17:38:53 server.example.com ErsatzTV[24012]: [17:38:53 INF] Successfully synchronized Jellyfin libraries for source 6

Libaries in Jellyfin, and type:

Movies, type Movies
TV Shows, type Shows
Recordings, type Other
Music, type Music
Collections, type Other
Theatre, type Movies

This fix is available in v0.0.37-prealpha.

authors: anthonylavado jasongdove

repo: jasongdove/ErsatzTV

license: Zlib


text:
Upgrade ffmpeg to v5 for arm64

As mentioned in the Dockerfile, the issue https://github.com/linuxserver/docker-ffmpeg/issues/19 seems resolved, so should be possible to use the latest verison.

To be clear, the latest ffmpeg bundled in that repo is still 4.4.x, not 5.x, but I can update ETV's Dockerfiles to use latest again.

ah, gotcha, I was hoping they'll have the v5 there...

This should be resolved when #1052 is completed.

@theboxer please test the latest develop-arm64 tag, it should now have ffmpeg 5.1.2.

@jasongdove sorry for the delay, I didn't get to it until now. Installed the develop-arm64 and seems to work fine and has the ffmpeg 5.1.2
Thank you.

authors: jasongdove theboxer


text:
IHttpContextAccessor issue

I have used this sample as a reference. I really like the de-coupling through the project.
I have run into an issue i can't seem to fix.
I'm trying to use Azure B2C authentication, together with a claimstransformer which works nicely.
However the IHttpContextAccessor is always null unless i inject it in my web project directly.
Whenever i use IHttpContextAccesor or CurrentUserService which depends on it, in a class library (application/Infrastructure/persistence layer), it is null.
My startup.cs in web:
services.AddInfrastructure(Configuration, Environment);
services.AddPersistence(Configuration);
services.AddApplication();
        services.AddScoped<ICurrentUserService, CurrentUserService>();
        services.AddHttpContextAccessor();

appdbcontext:
private readonly ICurrentUserService currentUserService;
private readonly IDateTime dateTime;
    public AZManagerDbContext(DbContextOptions<AZManagerDbContext> options)
        : base(options)
    {
    }

    public AZManagerDbContext(
        DbContextOptions<AZManagerDbContext> options,
        ICurrentUserService currentUserService, IDateTime dateTime)
        : base(options)
    {
        this.currentUserService = currentUserService ?? throw new ArgumentNullException(nameof(currentUserService));
        this.dateTime = dateTime ?? throw new ArgumentNullException(nameof(dateTime));
    }

the IDateTime interface is working fine in the dbcontext, so injection works.
Do you have any suggestions to what i'm facing?
The only thing different in my sample is the identity platform used.

Thank you for your interest in this project. This repository has been archived and is no longer actively maintained or supported. We appreciate your understanding. Feel free to explore the codebase and adapt it to your own needs if it serves as a useful reference. If you have any further questions or concerns, please refer to the README for more information.

authors: jasontaylordev shareonline

repo: jasontaylordev/NorthwindTraders


text:
⚠ Ruby warnings

This PR removes Ruby warnings.
I'm not totally sure about removing the whole Archive::Zip::ExtraField::Unix #dump_local logic, but in fact the code is currently not at all in use because the method is redefined right afterwards.

@amatsuda Thanks for your contribution.  I'm looking over things now.

@javanthropus Thank you for the quick reply! I did so and push -fed.

Looks great!  Thanks!

:sparkles:

authors: amatsuda javanthropus

repo: javanthropus/archive-zip


text:
Support ClickHouse

Current version
How did the problem arise? (Make sure the latest version also has problems!!)
Repeat steps
Error message
Your expectations

done

repo: javaoffers/briefest


text:
Used javasymbolsolver to check our code

Hi,
Thanks a lot for javasymbolsolver.
I used it to check our code for possible errors.
I had to make a few modification to support symbol solving of our java 1.6 compliant code (not everything is supported yet but it's enough for now).
Would you be interested in those changes ?
Let me know if you need more information (I'm new to GIT)
Fred

Merci beaucoup Fred! Le père noël est arrivé en avance cette année pour moi :)
I appreciate very much this contribution and thank you so much for your nice words. I can see that all tests are passing so this is a very good sign already. I will take a look at the changes and include it soon. I will also add you to the list of contributors.

You did an amazing job! I just think that there is one change in the test resources which is wrong. For some reason the code resolve some calls to the accept methods as calls to com.github.javaparser.ast.expr.NameExpr.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) while they are calls to com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A). I just need to double check that. I have also added you as the author of all new classes and remove a couple of lines of code which was commented out

authors: FredLL ftomassetti

repo: javaparser/javasymbolsolver


text:
Crea pull_request_template.md

Description of the change:
Crea un archivo markdown pull_request_template.md con especificaciones para redactar un pull request.
Reason of the change:
Para tener un estandar al momento de redactar un PR.
Link to original source:
Closes #32

Creo que el template podría ir en español por lo que el Readme está en español para tener concordancia, además se podría añadir un requisito de captura de pantalla en el caso que sea un cambio visual y se debería renombrar el archivo a PULL_REQUEST_TEMPLATE.md o crear una carpeta .github y dentro poner el archivo con el nombre PULL_REQUEST_TEMPLATE.md como se menciona en esta página, esto con el fin de que github lo reconozca y automáticamente se genere cuando se cree un pull request como se muestra en la imagen

Es verdad, agregue el template en espaniol, con alguna descripcion de lo que se debe poner.

authors: israteneda rpalaciosg

repo: javascriptecuador/web


text:
Operator precedence and associativity

precedence (priority of different operators):

~[a-z]+ equals (~([a-z]))+

associativity (binding of operators with same priority):

INT '^' INT '^' INT equals ( INT '^' ( INT '^' INT ) )
INT '+' INT '+' INT equals ( ( INT '+' INT ) '+' INT )

moved to javaslang-parser

repo: javaslang/javaslang


text:
🛑 Joaquin Bau, 5 is down

In 58e4ef6, Joaquin Bau, 5 (http://159.65.204.200:7056/) was down:

HTTP code: 502
Response time: 18762 ms

Resolved: Joaquin Bau, 5 is back up in 645283a.

repo: javisu/monitor


text:
🛑 Ofelia Nieto, 57 is down

In 025eb87, Ofelia Nieto, 57 (http://159.65.204.200:7022/) was down:

HTTP code: 502
Response time: 18650 ms

Resolved: Ofelia Nieto, 57 is back up in a0c25d5.


text:
🛑 Rodriguez Marin, 88 is down

In dbca007, Rodriguez Marin, 88 (http://159.65.204.200:7057/) was down:

HTTP code: 502
Response time: 18798 ms

Resolved: Rodriguez Marin, 88 is back up in 25bbce0.


text:
🛑 Ofelia Nieto, 57 is down

In ba4c64b, Ofelia Nieto, 57 (http://159.65.204.200:7022/) was down:

HTTP code: 502
Response time: 18553 ms

Resolved: Ofelia Nieto, 57 is back up in 1258743.


text:
Dockerfile to build image based on python:3.10.10-slim-bullseye

Added Dockerfile for building a Docker image of picoGPT

Thanks for the PR!
I'm going to leave this unmerged, want to keep the repo as minimal as possible (while the dockerfile is minimal, I'd need to document it in the README.md and also I'd need to add a .dockerignore).

No worries!Sent from my iPhoneOn Feb 11, 2023, at 11:35 PM, Jay Mody @.***> wrote:
Thanks for the PR!
I'm going to leave this unmerged, want to keep the repo as minimal as possible (while the dockerfile is minimal, I'd need to document it in the README.md and also I'd need to add a .dockerignore).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Updating README is a small price to pay for a standard utility like Docker. Please consider merging because the people like me who do not notice this discussion, will write their own Dockerfile!

authors: argoneus jaymody shantanuo

repo: jaymody/picoGPT


text:
PowerMock JUnit Runner fails when test class extends TestCase and has an non-zero argument constructor

From johan.ha...@gmail.com on October 04, 2009 16:56:39
Apparently this works in standard JUnit.
Original issue: http://code.google.com/p/powermock/issues/detail?id=174

From johan.ha...@gmail.com on October 04, 2009 09:09:47
Fixed in r982
Status: Fixed
Labels: -Milestone-Release1.4 Milestone-Release1.3

repo: jayway/powermock


text:
Deprecate OBSERVE_REQUEST_CALLBACK setting

Description

Based on this comment, change the default implementation of OBSERVE_REQUEST_CALLBACK, observe_request(), to always return True.

Based on #1886, deprecate OBSERVE_REQUEST_CALLBACK, but do not remove it yet.

Checklist:

[X] I have added the relevant tests for this change.
[X] I have added an item to the Pending section of docs/changes.rst.

Thanks!

repo: jazzband/django-debug-toolbar


text:
Inheriting model from TimeStampModel and StatusModel results in TypeError

Problem
Inheriting custom model class from TimeStampModel and StatusModel results in TypeError
StatusModel.save updates the 'update_fields` kwargs like
kwargs['update_fields'] += ['status_changed']

maybe related to https://github.com/jazzband/django-model-utils/issues/464
Environment

Django Model Utils version: 4.1.0
Django version: 2.2
Python version: 3.6
Other libraries used, if any:

Code examples
class MyModel(TimeStampModel, StatusModel):
    .....

#later calling
my_model.save(update_fields=('fieldName',))

#results in
TypeError: unsupported operand type(s) for +=: 'set' and 'list'

should StatusModel.save convert the kwargs['update_fields'] too ?

Hello @LHolst, yes exactly, a similar fix was present in TimeStampedModel. I forgot to cover that case and thought the actual fix handled StatusModel as well, do you have capacity to implement a similar manner like the TimeStampedModel's implementation

This problem introduced in https://github.com/jazzband/django-model-utils/pull/446 because we save a set in kwargs['update_fields'] at TimeStampedModel.save  that is inconsistent with StatusModel.save(it saves list).
I created a PR and changed both save method to save list in kwargs['update_fields']

@hramezani sorry about me introducing this problem, i have noticed this missing functionality in our codebase and wanted to contribute back after implementing it for my code as well; was first months of my software engineering experience and implementation was not covering all the possible cases.

@bugraaydin Actually the changes that we made in https://github.com/jazzband/django-model-utils/pull/446 cause the problem I think

@bugraaydin Actually the changes that we made in #446 cause the problem I think

I have introduced the problematic code in #412 and #441, the PR you have linked was an attempt to fix it I suppose but it introduces another problem, inconsistency between kwargs types if the model is using both classes

authors: LHolst bugraaydin hramezani

repo: jazzband/django-model-utils


text:
Docs: Querying first and last swapped

Describe the bug
According to the Docs (https://django-simple-history.readthedocs.io/en/latest/querying_history.html#getting-previous-and-next-historical-record), history.frist() will return the first version of the object and therefore, prev_record will be None. But actually it is the other way around. history.frist() returns the most recent version and therefore next_record in None
Or did I misunderstand something?
Expected behavior
The documentation is not clear about it, which leads to errors.
Environment (please complete the following information):

Django Simple History Version: 3.5.0
Django Version: 4.2.11
postgres: 15

I started to answer with an explanation of how this worked and then realized I had misinterpreted the example code as well. So, yeah, agreed the docs could perhaps be a little more clear, perhaps some code comments in the example code.

@capoaira , yes, I do think you are misunderstanding how .first(), .last() and prev_record/next_record work. The Django docs (linked for Django 4.2) say that .first() retrieves the first object matched by the query and .last() returns the last item in the queryset. As the note says, it's important to understand how the QuerySet instance is sorted, either via Models.Meta.ordering or via an explicit .order_by() queryset operation.

Returns the first object matched by the queryset, or None if there is no matching object. If the QuerySet has no ordering defined, then the queryset is automatically ordered by the primary key.

Also note that .first() and .last() come from the Django QuerySet API and don't appear to be re-defined in django-simple-history at all. On the other hand, prev_record and next_record are provided by django-simple-history via the simple_history.models.HistoricalRecords API. These implementations specifically order by the history_date field, which may be very different than what the original queryset in your own code is ordered by (as noted above). That would definitely cause some confusion.
It's been a while since I've worked with django-simple-history and all of the above is coming from memory and reading the code, so I may be wrong! I'll try to spin up a test environment as soon as I can and verify what I said.

Thank you, @jnovinger.
After I realised that first() give me the last entered entry, I test a bit it it appears that it is exactly like you explained. Now, I'm using the earliest() method, which comes from django-simple-history and returns the first snapshot by simple history.

Well explained, @jnovinger!
I can add that I think the issue partly/mainly stems from the word "first" being slightly ambiguous, in that - in this context - it can both mean "first of a sequence" (i.e. [0]) and "first chronologically" (i.e. earliest). Django's first() method implements the former meaning. Additionally, the historical record querysets are ordered by -history_date (descending) by default, which means:

first() ([0]) returns the latest record

Recommend calling latest() instead, to reduce ambiguity

last() ([-1]) returns the earliest record

Recommend calling earliest() instead, to reduce ambiguity

I definitely agree that this should be clearer in the docs, which I'll try to improve at some point in the future - if not someone else gets to it first :)

authors: capoaira ddabble jnovinger

repo: jazzband/django-simple-history


text:
Remove EOL Python, Django and DRF versions

Remove all no longer supported Python, Django and DRF versions. Also fixes #684 as after Python 3.8 no workaround is necessary.
Closes #702

Hey @Andrew-Chen-Wang,
Can you take a look at this PR?
Thanks!

Python 3.12 has been released and pkg_resources is not installed by default in venv.
This means djangorestframework-simplejwt doesn't work on 3.12 if users forget to install pkg_resources aside.
Therefore this PR is very important to ease python 3.12 upgrade 🙂

DeprecationWarning's are now being thrown because of this, which will fail tests that set warnings as errors. It would be great to get this merged and released onto PyPI.

love it thank you!

authors: KOliver94 johnthagen kozlek yardensachs

repo: jazzband/djangorestframework-simplejwt


text:
Exception dictionary is not cleared between events

icalparser.py :280
The exceptions dictionary isn't cleared before each VEVENT item, so that exceptions compound accross VEVENTS and so valid events are rejected because of exception from previously processed items.
Line 280 should be moved inside the loop on line 281
for component in calendar.walk():

this is fixed. Thank you very much for this issue. Closing now

repo: jazzband/icalevents


text:
Question: Is it possible to extract or access comment data?

Hi John,
I'm digging into the code and am currently working on a BFF system and picked Mustache as the templating engine.
That said, I'd like to describe in some way associated assets to a template partial. Imagine a Mustache template with a "front matter". Think like we can do with Markdown document where what's on top until a line with ---.
I have 3 choices in front of me:

Have a file on filesystem just beside the mustache template
Have a "front matter" in the same file, import in PHP Mustache object only what's after the first line with ---
Use Mustache comments.

Looking at coments related tests in libmustache and mustache-spec, I see tests where you deal with getting content OUTSIDE the comments.
Is there a way to get what's inside too?
Maybe I'm stretching too much of what Mustache can do and I should just implement a "front matter".
$string = 'File contents AFTER first line with three dashes';
$tpl = new Mustache($string);

(Pretty much like you're doing with tests/*.phpt, while thinking about it)
Thank you for your advice.

Well, you can inspect the AST. See Mustache::parse and MustacheAST::toArray.

Or do you mean accessible from the template itself? In that case, you could use a lambda which receives the content of it's block unexecuted. Just note that lambdas are not supported using compile, only render. They're about the same speed anway IIRC, so nbd.

(Writing quickly from a phone, I will miss exact references, hopefully this'll be still expand my point)
I'm asking because I did not see --nor have enough experience reading C--  to have a mental model of other possiblilties outside of the tests.
I see that MustacheAST has a method that returns an array, where each members has a type property with an i teger.
I assume that means one integer means comment and I could get that string payload.  I guess I could walk the array recursively from the top of the AST, and if I se (and follow) the convention of having a comment first, i'd be able to get that string, pass it to a yaml parser, and so on.
That being said, writing this use-case makes me realize that i'd better leverage opcache (and/and APCu) once I've done the work of mangling with the templates files.
Which leads me to think that if  I just walk a folder tree, manipulate files in some way, dfigure out metadata, "hydrate" the mustache template string into a mustache class, serialize all this work for next request.
Using exclusively mustache may be stretching this a bit too far. And would't get benefits because i'll have a "cache warmer" system to have in-memory mustache templates (you classes do have __sleep and looks serializable :+1:
So, maybe I could contribute to tests here and see if I could use comments and MustacheAST as a data source for template metadata.
Or do it as a Service in my BFF microservice layer.
I'll see what I can assemble and publish publicly once I have something more concrete.
Since this is an unofficial PHP extension that isn't documented lfficially, I rely on tests. Anyway, reading tests is always useful along the code to see what's possible.

For more context, I'm building a PHP microservice that'll serve over HTTP (with appropriate Cache-Control, and so on) representation of a folder of templates.
The template input, would ideally be a directory tree of Mustache files with self contained description.
The container sill have a in-memory (e.g. tmpfs, and/or in RAM) of the metadata I wanna build from the files in that folder.
In the end, it should do things similar to
https://github.com/zalando/tailor/blob/master/examples/fragment-performance/fragment.js
Where I'll have Node.js (and Tailor, or BigPipe, or Fractal, or ...) do HTtP/2 streaming layout assembly from a normalized data source.

Since this is an unofficial PHP extension that isn't documented lfficially, I rely on tests. Anyway, reading tests is always useful along the code to see what's possible.

There is some basic documentation in the php stub: https://github.com/jbboehr/php-mustache/blob/master/mustache.php

(you classes do have __sleep and looks serializable

You might want to benchmark serialization vs reparsing the template. Mustache has very simple syntax, it may not be slower to just reparse.
If you need to extract the data separate from execution, I would go with either comments and walking the AST or preprocessing the template.
If you only need to extract the data after execution, then lambdas might be a good choice.

To double-check, is the ::tokenize() array outcome, for each type property comes from enum Type { ...} in jbboehr/libmustache.
Could it be possible to export as Mustache class constants (e.g. MustacheAST::NODE_COMMENT with libmustache's Note::TypeComment’s int 256 value. —sorry, talking C about PHP is rather new to me.

Yes, it does, and flags comes from the enum below it.

authors: jbboehr renoirb

repo: jbboehr/php-mustache


text:
Images

[x] Replace img tag with amp-img, maintaining attributes
[x] Add layout="responsive" if layout attribute missing
[x] Configurable default layout attribute value
[x] Get image dimensions and set width and height attributes if missing and if layout is fixed, responsive, or fixed-height

var amp = new Amperize({
  img: {
    layout: "responsive"
  }
});

Image size detection moved to #2.

repo: jbhannah/amperize


text:
About the “expire” of ST Model

Although I set the relevant properties, the expire doesn't seem to work.When over the time, it still can be visit without logining.Thanks！
models.py.txt

Hi @niceyida, sorry for the late reply.
Did you mean logging into MamaCas or logging into the client application (service)?

authors: manelclos niceyida

repo: jbittel/django-mama-cas


text:
Sync methods

Hello, is it possible to add sync method to mediatr? I don't want use only async method... Thank you very much

Do you have a specific scenario in mind?  Most of my calls make use of async routines and the small handful that cannot I return Task.CompletedTask or Task.FromResult(_result).

Supporting both sync and async pipelines was a...nightmare to say the least. I made it sync-only because behavior pipelines for both sync and async is impossible to maintain from both a library and consumer perspective. So the compromise is creating handlers with abstract sync methods 🤷♂

authors: andre-wells jbogard petrkasnal

repo: jbogard/MediatR


text:
ENTESB-19495: Skips problematic 1.6.8 release

For new release of 1.6.9, define a skip rather than replace to allow
users to workaround the probelmatic 1.6.8 release

@balejosg @squakez @VaishnaviR18
I have set this to draft for the moment as there may be other changes to be made for bumping the version to 1.6.9. However, at the moment this represented the minimum I needed to create a 1.6.9 operator and bundle.

repo: jboss-fuse/camel-k


text:
Fix SWITCHYARD-2841: Passthrough of SOAPFaultException on SOAPBinding

https://issues.jboss.org/browse/SWITCHYARD-2841

Can one of the admins verify this patch?

Hi, any comments for the pull request?

Can one of the admins verify this patch?

ok to test

Pushed.

authors: cunningt fusesource-ci sdirbach

repo: jboss-switchyard/switchyard


text:
Websphere client

Here's my patch that allows runnning JBoss 7.0.2 on WebSphere Application Client with IBM JDK.
The main problem was that WAC requires setting java.ext.dirs system property. JBoss Modules didn't make use of it so classes from ExtClassLoader were not resolvable through system module.
The patch lists all JARs found in java.ext.dirs and adds all paths to SystemLocalLoader.pathSet.

I agree that java.ext.dirs should be considered but I don't believe it is correct to flatten them into the system path.  I'll have to review the relevant SE spec to be sure.

authors: dmlloyd grgrzybek

repo: jbossas/jboss-modules


text:
JBTM-2749 Upgrade jboss-transaction-spi to 7.4.0.Final

https://issues.jboss.org/browse/JBTM-2749

out of date

repo: jbosstm/jboss-as


text:
Update to upstream version 0.7.16

I did not update debian/changelog because it’s generated by gbp dch. Please close https://bugs.debian.org/1069759 when doing it.
Updated upstream and pristine-tar branches as well as upstream/0.7.16 tag are present in my fork, please pull them from there.

@jbouse Hi! Gentle ping on this, in case you did not receive a notification initially.

repo: jbouse-debian/alabaster


text:
Inputs for Commands ?? Facing an error

Hi Can you tell me how does it work as I opened the voicebox.py file in Powershell
Afterwards following the onscreen instructions
Load previous session? y/n
n
1 .git
2 .gitattributes
3 .gitignore
4 batman
5 bourdain
6 bowie
7 howl
8 library_of_babel
9 poorrichard
Enter the number of the corpus you want to load:
9
Enter the weight for poorrichard:
1
Add another corpus to this voice? y/n
n
Name this voice:
Me
Add more? y/n
n
VOICES:
1: Me
Choose a voice to write with...
File "voicebox.py", line 408, in
main()
File "voicebox.py", line 405, in main
vb = Voicebox()
File "voicebox.py", line 71, in init
self.active_voice = self.choose_voice()
File "voicebox.py", line 353, in choose_voice
self.active_voice = self.voices[voice_keys[int(choice) - 1]]
IndexError: list index out of range
I get stuck at this last command as it gives me an error every time. It will be great if you can explain the inputs for the commands !! Since I am new to understanding this. Would really appreciate the effort from you end to make a novice like me little more aware.

Hi Raulricky, I think I know what's happening here. To choose that voice,
you need to input the number of the voice, rather than just pressing enter,
as it seems like you're doing. I'll change the prompt so that it explicitly
asks for a number, and I'll change the code so that pressing enter there
just does nothing, rather than crashing the program. Thanks for reaching
out about this!
On Sat, Oct 22, 2016 at 4:34 AM, Raulricky notifications@github.com wrote:

Hi Can you tell me how does it work as I opened the voicebox.py file in
Powershell
Afterwards following the onscreen instructions
Load previous session? y/n
n
1 .git
2 .gitattributes
3 .gitignore
4 batman
5 bourdain
6 bowie
7 howl
8 library_of_babel
9 poorrichard
Enter the number of the corpus you want to load:
9
Enter the weight for poorrichard:
1
Add another corpus to this voice? y/n
n
Name this voice:
Me
Add more? y/n
n
VOICES:
1: Me
Choose a voice to write with...
File "voicebox.py", line 408, in
main()
File "voicebox.py", line 405, in main
vb = Voicebox()
File "voicebox.py", line 71, in init
self.active_voice = self.choose_voice()
File "voicebox.py", line 353, in choose_voice
self.active_voice = self.voices[voice_keys[int(choice) - 1]]
IndexError: list index out of range
I get stuck at this last command as it gives me an error every time. It
will be great if you can explain the inputs for the commands !! Since I am
new to understanding this. Would really appreciate the effort from you end
to make a novice like me little more aware.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jbrew/pt-voicebox/issues/16, or mute the thread
https://github.com/notifications/unsubscribe-auth/APtUnu7qq9wnq7SNFp1nejx3ZptjBnHLks5q2diKgaJpZM4Kd0EJ
.

That will be great.
Can you also let ne know the number of the voice or the range as input for the last step as pressing a random number like 1,2,3,4.. 9 etc also yields the same error
IndexError: list index out of range

authors: Raulricky jbrew

repo: jbrew/pt-voicebox


text:
feat: support for JBETHPaymentTerminal3_1_2

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #4017   👈

This comment was auto-generated by Graphite.

repo: jbx-protocol/juice-interface


text:
Fixed generation of resolvers.conf.

This fixes scenarios where resolv.conf generated by dhcpcd has a nameserver with %interface appended to its IPv6 address.
For example, a line like this must be properly handled:
nameserver fe80::7747:4aff:fe9a:8cb1%br0

This is an automated message from CI:
Docker Image for build 2 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-1688
Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.


text:
[TR] Test report

I tried to package through jpackage but failed with an error as
[WARNING] Missing module descriptor: D: opensource repository me frawi jogl all v2.4.0-rc-20210111 jogl all v2.4.0-rc-20210111. jar
[WARNING] Missing module descriptor: D: opensource repository me frawi gluegen rt v2.4.0-rc-20210111 gluegen rt v2.4.0-rc-20210111. jar

I do not know where you have taken frawi packages from, since my domain is friwi.me, but module descriptors sounds like java 9 and we currently do not support the java 9 module ecosystem. Which java version have you tested on?
Am 10.10.2023 um 13:52 schrieb tangrufeii @.***>:

I tried to package through jpackage but failed with an error as
[WARNING] Missing module descriptor: D: opensource repository me frawi jogl all v2.4.0-rc-20210111 jogl all v2.4.0-rc-20210111. jar
[WARNING] Missing module descriptor: D: opensource repository me frawi gluegen rt v2.4.0-rc-20210111 gluegen rt v2.4.0-rc-20210111. jar
—
Reply to this email directly, view it on GitHubhttps://github.com/jcefmaven/jcefmaven/issues/86, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4BJ2GRGVG23TU2XECJVDX6UZG5AVCNFSM6AAAAAA52HDC52VHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTKMJWHAYTQMI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I do not know where you have taken frawi packages from, since my domain is friwi.me, but module descriptors sounds like java 9 and we currently do not support the java 9 module ecosystem. Which java version have you tested on? Am 10.10.2023 um 13:52 schrieb tangrufeii @.>:  I tried to package through jpackage but failed with an error as [WARNING] Missing module descriptor: D: opensource repository me frawi jogl all v2.4.0-rc-20210111 jogl all v2.4.0-rc-20210111. jar [WARNING] Missing module descriptor: D: opensource repository me frawi gluegen rt v2.4.0-rc-20210111 gluegen rt v2.4.0-rc-20210111. jar — Reply to this email directly, view it on GitHub<#86>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4BJ2GRGVG23TU2XECJVDX6UZG5AVCNFSM6AAAAAA52HDC52VHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTKMJWHAYTQMI. You are receiving this because you are subscribed to this thread.Message ID: @.>

I want to try creating a small desktop application through jcefmaven. I plan to package the program into exe through jpackage, and I am using

com. github. akman
jpackage aven plugin
0.1.3
I used to package it into a desktop program installation package before, but it only supports compilation of jdk15 or above

Still seems odd to me, due to the wrong package name in your error log. Have you tried a different version of java? I might not be able to help further than that, because I'm sadly no expert on java modules.

authors: FriwiDev tangrufeii

repo: jcefmaven/jcefmaven


text:
Missing context keys for HTML::Pipeline::EmojiFilter: :asset_root

Hi,
I'm with a Rails 5 application and adding html_pipeline gem with the EmojiFilter extension so that I can process the text sent by the users and filter the emojies.
I have the following:
def filtered_content
    pipeline = HTML::Pipeline.new [
     HTML::Pipeline::PlainTextInputFilter,
     HTML::Pipeline::MarkdownFilter,
     HTML::Pipeline::SanitizationFilter,
     HTML::Pipeline::AutolinkFilter,
     HTML::Pipeline::EmojiFilter
    ]
   pipeline.call(content)[:output].to_s
end

I followed the usual steps adding the gemoji gem so that I can use the EmojiFilter, but when I add it to the pipeline declaration and try to use the pipeline I get the error:
Missing context keys for HTML::Pipeline::EmojiFilter: :asset_root

I added this on my assets.rb initializer:
  Rails.application.config.assets.paths << Emoji.images_path
  Rails.application.config.assets.precompile << "emoji/**/*.png"

And also ran "rake emoji" but the error is still there.
Any ideas of I could solve this?
Thanks!
Marco

Hi! The asset_root is the base url to link emoji sprite, not related to sprockets.
So you need to change your html-pipeline code:
def filtered_content
    pipeline = HTML::Pipeline.new [
     HTML::Pipeline::PlainTextInputFilter,
     HTML::Pipeline::MarkdownFilter,
     HTML::Pipeline::SanitizationFilter,
     HTML::Pipeline::AutolinkFilter,
     HTML::Pipeline::EmojiFilter
    ], { asset_root: <the url of your assets> # <------
   pipeline.call(content)[:output].to_s
end

Hope this help! 😊

That's exactly what I was looking for!
Thanks a lot @JuanitoFatas
Perhaps that exact example could be on the readme file?
Thanks a lot for your help and for this gem!

authors: JuanitoFatas marcocanderle

repo: jch/html-pipeline


text:
Keep alive values

https://github.com/jchristn/SuperSimpleTcp/blob/5c4bfbef56dd7a5a2e437f17ac62450f26feb3bf/src/SuperSimpleTcp/SimpleTcpClient.cs#L1092
https://github.com/jchristn/SuperSimpleTcp/blob/5c4bfbef56dd7a5a2e437f17ac62450f26feb3bf/src/SuperSimpleTcp/SimpleTcpClient.cs#L1095
As far as I remember timeout and interval values should be in milliseconds for .NET Framework,

Great catch.  Will amend this!  https://docs.microsoft.com/en-us/dotnet/api/system.net.servicepoint.settcpkeepalive?view=netframework-4.6.2

Added fix in v3.0.0.1
NuGet: https://www.nuget.org/packages/SuperSimpleTcp/3.0.0.1
Commit: https://github.com/jchristn/SuperSimpleTcp/commit/52ba8d1aaea486a9599ac71e2aab3de7e8df1041
Please re-open if any issues and thank you for your contribution!

authors: CetinOzdil jchristn

repo: jchristn/SuperSimpleTcp


text:
Hairdryer + Arduino with a relay

I attached a tube to a hairdryer (with heating off) –– it seemed to work, meaning it blows really well. Planning to buy a relay for automation with Arduino.
Do you think this kind of build would be more accessible to a broader audience?
Also, I'll make the air go through a container with warm water to humidify it.
I'll be happy to hear back!

That's a really nice thing to try.  I would recommend find a way to measure either the pressure testing using the water tube fixture, or a flow rate measurement.  I suppose you could use a garbage bag to estimate Liters/min of air flow.   Time how long it takes to fill the bag up?
Would recommend first try making a PAPR with it.
https://github.com/jcl5m1/ventilator/wiki/Build-a-Low-Cost-PAPR
You can probably use a standard N95 face mask as a filter on the intake.  If you do this, take photo and describe your test results.

That’s a great idea, hairdryers offer good power output. Hairdryers usually employ AC motors, in order to modulate the fan speed a variable frequency drive is required. I recommend buying a solid state relay to modulate the speed using Pulse Width Modulation, which can be output from an Arduino DO pin. Here is a sample relay Register a new account on the Banggood APP and get $100 of coupons. I just found an amazing item with free shipping.https://banggood.app.link/iGvLLhSk84

i recently explored the hairdryer idea. in order to get it to work on batteries, I just needed to break apart the circuit board on top of the motor, a simple full bridge rectifier. Once that was done im now running the dryer on my drill battery.

I've tried the hair dryer will HEPA  filter and its not strong enough to allow enough airflow to breathe.

@chakahamilton what was the wattage on your hairdryer?
If it is in the upper spectrum of normal hairdryers, is this then unfeasible?
Is the N95 mask still an option to use as a filter, will it let more air through?

@chakahamilton what was the wattage on your hairdryer?
If it is in the upper spectrum of normal hairdryers, is this then unfeasible?
Is the N95 mask still an option to use as a filter, will it let more air through?

I use a 1875 watt hair dryer with a vacuum cleaner filter not (synthetic fiber)
I'm currently testing two new designs you should follow the build PAPR thread #32 for progress updates.

authors: PatoZG chakahamilton iaankrynauw jcl5m1 kyrgyz-nlp


text:
GCS-Example initial commit

Create Container, PutBlob and Multipart Upload wtih Google Cloud Storage

Thanks for the pull request but it's release week in jclouds and that means it's time to clean up the PR queue. This PR will be over 6 months old as of April 1. If you intend to continue work on it, please make a comment by April 2. Otherwise it will be closed on April 3.

It would be great to have a working well documented GCS example.
@hsbhathiya I encourage you to follow up on this!

authors: danbroudy everett-toews hsbhathiya

repo: jclouds/jclouds-examples


text:
Building libserial on macOS

Hi
I've just tested the library using macOS and Net Core 2.0.
Just preliminar, but seems to be working fine so far.  Port enumerations (GetPortDescriptions/GetPortNames) don't seem to work, but reading/writing are working fine.
Just made some changes in order to build  the dll  on the mac, and i am writing them here, just in case anyone is interested.
Disclaimer: i was focusing on building the serial library and had some problems building gtest, so i removed the tests and doxygen building . I'll try to get them to build when i have some free time. So, i don't recommend this procedure unless you know the risks of using an untested dll.
These are the steps.

open the cmake build file (./dll/serialunix/libnserial/CMakeLists.txt) and make these changes:

Change the script to generate a dylib instead of a framework. Look for this line:
FRAMEWORK ON
and replace it whit this:
FRAMEWORK OFF
EDIT: I did some extra tests, and now it seems to work even with doxygen and gtest in the build script. If just skip those if they're not installed. ¯\ (ツ)/¯ . So maybe we only need this first step, changing the framework to off.

don't build doxygen. To to that, Comment out or remove this line:
include(${CMAKE_MODULE_PATH}/doxygen.cmake)

don't build the tests. Remove or comment out these two lines :

add_subdirectory(unittest)
add_subdirectory(comptest)

That's it. Now you can build it.  The include and library files will be located in the subfolder ./bin/usr/local
Now, you can keep them there or copy then to your preferred location. Take into account that you need to include the path to the libraries in LD_LIBRARY_PATH so that your app can find them.
One last step. The source code is looking for a library called libnserial.so.1  , so you need to rename the library or create a symbolic link with that name. In my case, i installed the library in /usr/local/lib, an crated the link like this:
ln -s  /usr/local/lib/libnserial.dylib /usr/local/lib/libnserial.so.1.dylib
That's it. Did not test it much, but at least i got to send/receive data using .Net core on a mac, which is great.
When i have the time, i'll try to make the script work including doxygen and the tests...
thanks for this awesome piece of software!!

@jcurl
I think that with a small change , the build script can work in mac as well as linux.
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
  FRAMEWORK OFF
else
  FRAMEWORK ON
endif()

It just disables the framework if built on macos and keep it as it was in other systems.
would you accept a pull request with this change?

On 14/09/2017 03:51, Ernesto García wrote:

@jcurl https://github.com/jcurl
I think that with a small change , the build script can work in mac as
well as linux.
|if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") FRAMEWORK OFF else
FRAMEWORK ON endif() |
It just disables the framework if built on macos and keep it as it was
in other systems.
would you accept a pull request with this change?

Would do for this simple change. I will only be able to test on Linux as
I don't have a mac (and I'm not aware of any useful emulation software
to test on in its absence).

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jcurl/SerialPortStream/issues/36#issuecomment-329345912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABfbf51e7Zm7eWXkYxWECfTwSLoL21mfks5siIamgaJpZM4PVoqr.

Hello,
On 13/09/2017 08:25, Ernesto García wrote:

Hi
I've just tested the library using macOS and Net Core 2.0.
Just preliminar, but seems to be working fine so far. Port
enumerations (GetPortDescriptions/GetPortNames) don't seem to work,
but reading/writing are working fine so far.

I don't have a mac to write such software, nor do I know how a mac
organises its devices and how we can tell if such devices are really
serial ports (or terminal devices). I'd be more than happy to accept a
patchset/pull request on v2.x, with prior discussion on the organisation.

Just made some changes in order to build the dll on the mac, and i am
writing them here, just in case anyone is interested.
Disclaimer: i was focusing on building the serial library and had
some problems building gtest, so i removed the tests and doxygen
building . I'll try to get them to build when i have some free time.
So, i don't recommend this procedure unless you know the risks of
using an untested dll.
These are the steps.

open the cmake build file
(./dll/serialunix/libnserial/CMakeLists.txt) and make these changes:

don't build doxygen. To to that, Comment out or remove this line:
|include(${CMAKE_MODULE_PATH}/doxygen.cmake)|
don't build the tests. Remove or comment out these two lines :

|add_subdirectory(unittest) add_subdirectory(comptest) |

Change the script to generate a dylib instead of a framework. Look
for this line:
|FRAMEWORK ON|
and replace it whit this:
|FRAMEWORK OFF|

That's it. Now you can build it. The include and library files will be
located in the subfolder |./bin/usr/local|
Now, you can keep them there or copy then to your preferred location.
Take into account that you need to include the path to the libraries
in LD_LIBRARY_PATH so that your app can find them.
One last step. The source code is looking for a library called
|libnserial.so.1| , so you need to rename the library or create a
symbolic link with that name. In my case, i installed the library in
/usr/local/lib, an crated the link like this:
|ln -s /usr/local/lib/libnserial.dylib
/usr/local/lib/libnserial.so.1.dylib|
That's it. Did not test it much, but at least i got to send/receive
data using .Net core on a mac, which is great.
thanks for this awesome piece of software!!

If you know how to properly get CMake to handle all this stuff, i can
test on Linux and integrate the mac changes.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jcurl/SerialPortStream/issues/36, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABfbf0-GqDYywnfG_KA4tTyFTljp6Ap0ks5sh3VIgaJpZM4PVoqr.

If you want to prepare and build a library for a release, I can add it to the release page of GitHub, but I can't maintain it. As I understand, it's not compilable at the moment, so I need someone's branch, or patches to integrate, to ensure that whatever is released is based on the repository. Just a feature branch with the fixes is sufficient (I usually rework them before committing to keep coding styles, etc.)

@erndev Do you have some example code for mac and a copy of your compiled dylib?

authors: andymac4182 erndev jcurl

repo: jcurl/SerialPortStream

license: MS-PL


text:
test

jblablabla


text:
fix: nuxt v3.7 remove compilerOptions.types

close #210

Thanks so much for your contribution, I'll soon make a patch release 🙏🏻

Thanks so much for your contribution, I'll soon make a patch release 🙏🏻

Hello @jd-solanki , Any plans of making a release soon? Is there a work around  in the meanwhile?
Thank you for your great work.

Hi @khattaksd You can always use edge releases.

authors: everyx jd-solanki khattaksd

repo: jd-solanki/anu


text:
Adjust shadow offset based on menu location

This PR is related to this issue [comment] (https://github.com/jdehlin/Xamarin-Sidebar/issues/27#issuecomment-128358063)

Thanks for the pull request!

I just realized, rather than setting the offset to 0 for left menus, it should have been -5, so the shadow looks consistent with the right menu's shadow. I can do another PR if you want.

Go for it.

authors: jdehlin johnnysbug

repo: jdehlin/Xamarin-Sidebar


text:
Color legend for plate maps

Plate map cells change color after an entry has been added. Sometimes, it's not clear to the wetlab what the colors represent.

Either Amanda or myself would be the best people to handle this; it doesn't need to be both people.

@fedarko This would be a nice to have for the full launch, but it's just not as high a priority as the other issues. This would be a good thing for George to dig through the code and document, and if he needs help you might be able to provide it, since you're also working in the plate-mapper area.

@charles-cowart Got it! Between George and I, I think this issue should be handleable.
FYI to @gwarmstrong: from what I can tell, the code that handles the individual well styles does this via CSS classes (which seem to all be defined here). I would imagine that we could solve this fairly simply by just applying each of these classes to a <div> or something, and then wrapping all of that off to the side of the big plate div. (Charlie, feel free to yell at me if this is summary is lacking :)

@fedarko there will be no yelling. :)

I currently have a mock up going for this here
Before:

After:

@charles-cowart  @fedarko Thoughts on the initial layout? I can move this over to a PR if more appropriate

@gwarmstrong Looks great, thanks! I think moving two of them to the right to make it a 2x2 square rather than a 1x4 is a better use of space; it'll prevent people from having to scroll down more to view the entire legend.

@charles-cowart
How about now?

Also, is there any way to get feedback from the lab on whether the legend descriptions are reasonable?

Amanda and I looked them over and we have a few comments I'll pass on later
this afternoon.
On Thu, Aug 15, 2019 at 11:39 AM George Armstrong notifications@github.com
wrote:

Also, is there any way to get feedback from the lab on whether the legend
descriptions are reasonable?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jdereus/LabControl/issues/432?email_source=notifications&email_token=AKFU7E6KEN7WZGWCEHBEQPLQEWPEPA5CNFSM4HDPABJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MULDQ#issuecomment-521749902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFU7EZWVJLV3EGQ5PRAYALQEWPEPANCNFSM4HDPABJA
.

Great, should I go ahead and submit a PR, and we can handle the commenting there?

sure! I'll add them as part of a review
On Thu, Aug 15, 2019 at 1:16 PM George Armstrong notifications@github.com
wrote:

Great, should I go ahead and submit a PR, and we can handle the commenting
there?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jdereus/LabControl/issues/432?email_source=notifications&email_token=AKFU7E67HSXOROONV57UCXDQEW2QVA5CNFSM4HDPABJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4M4COA#issuecomment-521781560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFU7EYVJJUTRSHKDZJTUO3QEW2QVANCNFSM4HDPABJA
.

authors: charles-cowart fedarko gwarmstrong

repo: jdereus/LabControl


text:
Arbitrary change to test Labcontrol

Arbitrary change to test Labcontrol against Qiita Dev branch.

@charles-cowart, is this PR just for testing travis and can it be closed?

It is - It still needs to pass Travis with the Qiita dev, but it can be closed for now.

I'm working on this in https://github.com/jdereus/labman/pull/409 so closing.

authors: antgonza charles-cowart wasade

repo: jdereus/labman