text:
How to change color range of heatmap chart

This is a great plugin, I just wanna know if there is any easy way to change color range of heatmap? For example, the lowest value will be red, and highest value should be green.
Thanks.
Best Regards,
Kenny

I have exactly the same question as the previous one, is there a way to select red, yellow, green cell backgrounds?
Thanks in advance, Mike

Hi Mike,
I need to upgrade this plugin then, let me find sometime to do it.
Currently it won’t support changing the map chart background.
On Tue, 14 Mar 2023 at 3:14 AM, mikedavidson1959blue <
@.***> wrote:

I have exactly the same question as the previous one, is there a way to
select red, yellow, green cell backgrounds?
Thanks in advance, Mike
—
Reply to this email directly, view it on GitHub
https://github.com/tkarkuvelraja/heat_map_chart_apex_plugin/issues/1#issuecomment-1467006732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUKVGE6UXIVLL2LZP4B5QM3W36IL5ANCNFSM5B5L3O5A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
com>

--
Regards,
Karkuvelraja Thangamariappan,
+971 582036853


text:
Return Empty(T) from copy(xf, T, foldable) instead of nothing

close #79

Codecov Report

Merging #80 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   84.26%   84.31%   +0.04%
==========================================
  Files          17       17
  Lines        1112     1109       -3
==========================================
- Hits          937      935       -2
+ Misses        175      174       -1

Impacted Files
Coverage Δ

src/processes.jl
91.42% <100%> (+0.51%)
:arrow_up:

src/core.jl
68.38% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

source: gharchive/pull-request

authors: codecov-io tkf

license: MIT

license_type: permissive

license_source: github-api


text:
申请适配新活动

新活动可以通过进入活动-关卡界面-左侧列表识别

没有贴录屏。最后源石不领导航会错位。

没有贴录屏。最后源石不领导航会错位。

知道了，谢谢
我去看看（捂脸）

source: gharchive/issue

authors: tkkcc yige-yigeren

repo: tkkcc/ArkLights


text:
Support PTVSD debugging in the container

Fixes #169
Previous startup remains the same, you need to use a different
docker-compose to add in PTVSD changes.

The only change to the current code is adding a new package to the requirements. Everything else is new/optional.
I like this method way of overriding the docker-compose.

This works beautifully!

Thanks for inviting me to review this PR, @jonespm.  However, I don't use VS Code or have it installed, so I don't have any way to test this.
I had looked at the changes before you requested my review.  I would have suggested removing comments from the JSON, but I see you've done that in a commit subsequent to my viewing.
So, I'll recuse myself from this review and leave it in the hands of the others.

Sure @lsloan, I just invited everyone. Do you have any way you're doing remote debugging with whatever software you're using? I find that remote debugging really speeds up development time and it even works when this is running out on Openshift. I don't think I could work in Java without using it in Eclipse and just working on the last issue I was thinking it would have saved me time if I just added this so I could inspect the variables.

authors: jonespm lsloan pushyamig

repo: tl-its-umich-edu/course-inventory


text:
activity: use new default when migrating

This fixes TLON-2531 by doing a similar migration to the original whereby we set current group's settings to old default and then set the new default gloablly.
PR Checklist

[ ] Includes changes to desk files
[ ] Describes how you tested the PR locally (test ship vs livenet)
[ ] If a new feature, includes automated tests
[ ] Comments added anywhere logic may be confusing without context

Fixes TLON-2531

Tested on a moon and main ship, seems to be working!

repo: tloncorp/tlon-apps


text:
Allow manual override of return type for fillvalue

I'm playing with ForwardDiff as a way of computing gradients, and needed this to handle the fact that sometimes the same FilledExtrapolation object gets called with two different types of indexes (Float64 and GradientNumber{Float64,...}). I added these lines (the last one being the relevant one here) to my own code:
# Some necessary ForwardDiff extensions
Base.real(v::ForwardDiff.GradientNumber) = real(v.value)
Base.ceil(::Type{Int}, v::ForwardDiff.GradientNumber)  = ceil(Int, v.value)
Base.floor(::Type{Int}, v::ForwardDiff.GradientNumber) = floor(Int, v.value)
# Type-stability in gradient computation
@generated function Interpolations.fillvalue{T<:ForwardDiff.GradientNumber}(val, args::T...)
    :(ForwardDiff.GradientNumber(val, args[1].partials.data))
end

and now ForwardDiff works fine.

I thought this was the purpose of exporting the FilledExtrapolation constructor, or am I misunderstanding something? Can all the goals of these two things be accomplished with just one of them?

It was, but that's a static mechanism. What if you call the same FilledExtrapolation object with two different types of indexes? For example, itp[-3.2] might give you NaN, but itp[dual(-3.2,1.0)] (with the same itp) should give you dual(NaN, 1.0).

Though I suppose we could use the promote_op mechanism instead?

My question was not as much "do we need this?" as "do we need both, or can this replace the other?" but if both are valuable I see no reason not to keep them both anyway. So it was more a curious question than criticism :)
But using promote_op sounds like a good idea to me - otherwise we'll basically re-implement a mechanism for the user to do the same thing, but hard-coded (and thus error-prone). Perhaps we can accomplish something similar to how we calculate T when creating B-spline interpolation objects, and/or the array type for gradient (see below, soon to be included in the PR for extrapolation behaviors)?
@generated function gradient{T,N}(itp::AbstractInterpolation{T,N}, xs...)
    n = count_interp_dims(itp, N)
    Tg = promote_type(T, [x <: AbstractArray ? eltype(x) : x for x in xs]...)
    :(gradient!(Array($Tg,$n), itp, xs...))
end

Regardless of what the actual solution ends up being, I think we should try to a) make sure that we are compatible with the promotion mechanisms in base Julia as much as possible, and b) make the user-interface as seamless ass possible. Leveraging promote_op to accomplish a) can probably help with b), so that's a good place to start :)

Btw, the test failure should be fixed once #73 is merged.

OK, see if you like this better (I do).
I deleted the docs for FilledExtrapolation, since they focused on controlling the return type (which has proven to be of very limited utility). Should we un-export the type, or leave it?

Should we un-export the type, or leave it?

Since exporting the type was mainly to make the type-controlling constructor available, I think we should probably un-export it. (That's a very simple breaking change to work around, should there be anyone who has already started using it - just say FilledExtrapolation = Interpolations.FilledExtrapolation and you're done...) Un-exporting also gives symmetry to other types, where almost no types - except the different configuration "flags" - are exported from the rest of the library.

Thanks for the review (and catches). Should be addressed now. There's some weird SSL error on nightly (I restarted, and that didn't fix it), but I doubt it reflects a problem with this PR.

All package PRs are failing this way today.

All package PRs are failing this way today.

:crying_cat_face:

Merge anyway? (I can't, it won't let me.)

I assume this is since JuliaLang/julia#11196 merged, and that it'll keep being broken until the regressions are fixed. I also assume this might take a while..:
I'll disable the build on nightly for now; after that, restarting the build should make it pass and allow merging (I'm using Github's semi-new "protect branch" feature on master, to prevent merging before checks pass, but it probably doesn't make sense to require that everything passes on a very unstable Julia master...).

See #75.

Rebasing this onto current master should fix the build (by not trying on 0.5...).

authors: timholy tlycken

license: mit

license_source: bigquery


text:
java.lang.ExceptionInInitializerError on tmc download

Version: 0.3.0-SNAPSHOT / Sprintti3
OS: Fedora 23
Java:
$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

Steps to reproduce:
$ wget https://github.com/tmc-cli/tmc-cli/releases/download/0.3.0-SNAPSHOT/tmc
$ ./tmc
$ . .bashrc

$ tmc login -s https://tmc.mooc.fi/mooc
username: varesa
password:
Login succesful.

$ tmc download 2016-aalto-c
Exception in thread "main" java.lang.ExceptionInInitializerError
	at fi.helsinki.cs.tmc.langs.util.TaskExecutorImpl.getLanguagePlugin(TaskExecutorImpl.java:122)
	at fi.helsinki.cs.tmc.langs.util.TaskExecutorImpl.extractProject(TaskExecutorImpl.java:64)
	at fi.helsinki.cs.tmc.core.commands.DownloadOrUpdateExercises.call(DownloadOrUpdateExercises.java:80)
	at fi.helsinki.cs.tmc.core.commands.DownloadOrUpdateExercises.call(DownloadOrUpdateExercises.java:24)
	at fi.helsinki.cs.tmc.cli.tmcstuff.TmcUtil.downloadExercises(TmcUtil.java:68)
	at fi.helsinki.cs.tmc.cli.tmcstuff.TmcUtil.downloadAllExercises(TmcUtil.java:80)
	at fi.helsinki.cs.tmc.cli.command.DownloadExercisesCommand.run(DownloadExercisesCommand.java:50)
	at fi.helsinki.cs.tmc.cli.Application.runCommand(Application.java:78)
	at fi.helsinki.cs.tmc.cli.Application.run(Application.java:134)
	at fi.helsinki.cs.tmc.cli.Application.main(Application.java:195)
Caused by: java.lang.NullPointerException
	at fi.helsinki.cs.tmc.testscanner.TestScanner.<init>(TestScanner.java:82)
	at fi.helsinki.cs.tmc.testscanner.TestScanner.<init>(TestScanner.java:76)
	at fi.helsinki.cs.tmc.langs.java.maven.MavenPlugin.<init>(MavenPlugin.java:44)
	at fi.helsinki.cs.tmc.langs.util.ProjectType.<clinit>(ProjectType.java:21)
	... 10 more

Could you please attach log from tmc-cli - it should be available at ~/.config/tmc-cli/logs/tmc-cli.log

The issue has been fixed in the underlying libraries and now in tmc-cli with de4607311624d8c6a38a5dc8baebf13abfca0ac4.
We'll release a new release shortly with the bugfix.

Thanks for for submitting the issue varesa! Could you please try version 0.4.2, it should be fixed now.

~/.config/tmc-cli/logs/tmc-cli.log from old version:

2016-06-09 19:34:10 INFO  TmcCore:87 - Creating new ListCourses command
2016-06-09 19:34:17 INFO  TmcCore:87 - Creating new ListCourses command
2016-06-09 19:34:18 INFO  TmcCore:82 - Creating new GetCourseDetails command
2016-06-09 19:34:18 INFO  TmcCore:76 - Creating new DownloadOrUpdateExercises command

I tested the new version and it works:

[esa@esaf ~]$ tmc download 2016-aalto-c
A new version of tmc-cli is available!
Do you want to download it? (y/N): n
Exception in thread "main" java.lang.ExceptionInInitializerError
at fi.helsinki.cs.tmc.langs.util.TaskExecutorImpl.getLanguagePlugin(TaskExecutorImpl.java:122)
at fi.helsinki.cs.tmc.langs.util.TaskExecutorImpl.extractProject(TaskExecutorImpl.java:64)
at fi.helsinki.cs.tmc.core.commands.DownloadOrUpdateExercises.call(DownloadOrUpdateExercises.java:80)
at fi.helsinki.cs.tmc.core.commands.DownloadOrUpdateExercises.call(DownloadOrUpdateExercises.java:24)
at fi.helsinki.cs.tmc.cli.tmcstuff.TmcUtil.downloadExercises(TmcUtil.java:68)
at fi.helsinki.cs.tmc.cli.tmcstuff.TmcUtil.downloadAllExercises(TmcUtil.java:80)
at fi.helsinki.cs.tmc.cli.command.DownloadExercisesCommand.run(DownloadExercisesCommand.java:50)
at fi.helsinki.cs.tmc.cli.Application.runCommand(Application.java:78)
at fi.helsinki.cs.tmc.cli.Application.run(Application.java:134)
at fi.helsinki.cs.tmc.cli.Application.main(Application.java:195)
Caused by: java.lang.NullPointerException
at fi.helsinki.cs.tmc.testscanner.TestScanner.(TestScanner.java:82)
at fi.helsinki.cs.tmc.testscanner.TestScanner.(TestScanner.java:76)
at fi.helsinki.cs.tmc.langs.java.maven.MavenPlugin.(MavenPlugin.java:44)
at fi.helsinki.cs.tmc.langs.util.ProjectType.(ProjectType.java:21)
... 10 more
[esa@esaf ~]$ alias tmc=/home/esa/tmc.new
[esa@esaf ~]$ tmc download 2016-aalto-c
[Module_1-02_intro, Module_1-04_func, Module_1-05_calc, Module_1-07_geometry, Module_1-08_characters, Module_1-09_ships, Module_2-02_basics, Module_2-03_mastermind, Module_2-04_sort, Module_2-06_strbasic, Module_2-07_altstring, Module_2-08_korso, Module_2-09_stringarray, Module_3-02_arrays, Module_3-03_join, Module_3-04_vessel, Module_3-05_fraction, Module_3-06_oodi, Module_3-07_queue, Module_4-01_anydata, Module_4-02_life, Module_4-03_strarray, Module_4-04_ip, Module_4-04_sudoku, Module_5-01_filedump, Module_5-02_stats, Module_5-03_base64, Module_5-04_arraytool, Module_5-05_myprint, Module_5-06_sheet]

I also figured out that installing the package java-1.8.0-openjdk-develfixed the issue in the older version

Awesome 👍 , thanks for confirming the fix!

authors: jamox juvester varesa

repo: tmc-cli/tmc-cli


text:
Setting CallbackFields in payment breaks the payment page

A very simple example:
        ->setOrderIdp($payID)
        ->setSubtotalP($payment->amount)
        ->setCustomerIdp($customerID)
        ->setCallbackFields(array('BilNumber'))
        ->setUrlReturnOk(self::successPage())
        ->setUrlReturnNo(self::failPage());

Uniteller displays an error in payment page.

Try to wrap self::successPage() and self::failPage() using urldecode function.
Debug - Uniteller may show error in page source code:

Error I get when I add:->setCallbackFields(array('BilNumber'))
Error:
MERCHANT ERROR: CallbackFormat is not valid
From documentation:

Do you have any clue why this is failing ?

Try to use BillNumber parameter. Works?

Just for reference for others.
The problem was that CallbackFields are not supported in the type of request I am doing.
I found documentation misleading (or i might have skipped a page)

Thanks for your answer, it will be userful for others 👍

By the way, parameter BilNumber incorrectly specified in the doc. It should be BillNumber (2 of l letter). I thought maybe problem was linked with him.

authors: moeHaydar roquie

repo: tmconsulting/uniteller-php-sdk


text:
Connection duplicated after disconnect and connect

Hello. The connection seems to be duplicated after trying to disconnect and connect again. So every time i try to reconnect, the duplicated messages are more and more.

public constructor() {
	this.tmiClient = new Client({
		channels: [twitch],
		options: { debug: true, messagesLogLevel: 'info' },
	});
}

public async reconnect(): Promise<void> {
	try {
		await this.tmiClient.disconnect();
	} catch (error) {
		console.log(error);
	}

	await this.tmiClient.connect();

	this.tmiClient.on('message', (channel: string, tags: ChatUserstate, message: string, self: boolean) => {
		console.log(tags['display-name'], message);
	});
}

Log of example of duplication:
[18:11] info: Executing command: JOIN #fakedo0r
[18:11] info: Joined #fakedo0r
[18:11] info: Disconnecting from server..
[18:11] info: Disconnecting from server..
[18:11] info: Connection closed.
[18:11] info: Connecting to irc-ws.chat.twitch.tv on port 443..
[18:11] info: Sending authentication to server..
[18:11] info: Connected to server.
[18:11] info: Executing command: JOIN #fakedo0r
[18:11] info: Joined #fakedo0r
[18:11] info: [#fakedo0r] <fakedo0r>: wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
[18:11] info: [#fakedo0r] <fakedo0r>: wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer
fakedo0r wefwer

Server configuration

Operating system: Windows 10
Node version: 16
NPM version: 8
tmi.js version: 1.8.5

So, what's the wrong?

This is because you've added duplicate event handlers. Event handlers are not removed on disconnect.

This is because you've added duplicate event handlers. Event handlers are not removed on disconnect.

Can you be more clear please? I just trying with that few lines of code.

You will eventually get this error message "(node) warning: possible EventEmitter memory leak detected. [...]" because that code will keep adding a new listener for the same message event every time "reconnect" is called.
async function reconnect() {
    await client.disconnect();
    await client.connect();
    client.on('message', messageHandler);
}
await reconnect();
// client._events.message is a function
await reconnect();
// client._events.message is now an array
console.log(client._events.message.length); // 2
await reconnect();
console.log(client._events.message.length); // 3
await reconnect();
console.log(client._events.message.length); // 4

Instead it should look more like this:
client.on('message', messageHandler);
async function reconnect() {
    await client.disconnect();
    await client.connect();
}

I think you're better off just moving when/where you add the listeners instead of removing all of them just to re-add them unnecessarily.

This works for me! Thanks @samyan!!!
this.tmiClient.removeAllListeners();

authors: AlcaDesign juliocbgomes samyan


text:
🛑 Portal 2 is down

In 3d0893d, Portal 2 (https://portal2.hcmus.edu.vn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal 2 is back up in 49ec990.

repo: tmkhiem/hcmus-web-uptime


text:
🛑 Portal 5 is down

In 034c503, Portal 5 (https://portal5.hcmus.edu.vn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal 5 is back up in e0b129b after 4 minutes.


text:
🛑 Homepage is down

In 9c7db58, Homepage (https://hcmus.edu.vn/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 3d4116f after 7 minutes.


text:
Encapsulate Blob details; fix FileReader

Prerequisite for #1644.

Superceded by https://github.com/tmpvar/jsdom/commit/f77cc1e3a9eb38fb7db6affa5a9c3d2acca1b351

authors: domenic isonmad

repo: tmpvar/jsdom


text:
Is it possible to disable closing a tag when it ends with />?

Hi,
I added '<*>': {'closer': ‘</*>’, ‘not_if’: [‘br’, …]} to g:pear_tree_pairs to enable auto-close for HTML tags, and it worked fine.
But I noticed, in JSX, there are tags that can take both form <Foo></Foo> and <Foo />, so that I can not simply add Foo to not_if condition.
I thought it would be nice to disable auto-closing when an opener ends with />. But I could not find a way to configure such a condition.
Could you tell me whether there is a way to achieve the above condition?
Anyway, thank you for publishing such a great plugin! I think this is the most sophisticated auto-close plugin.

I thought some modification is needed to achieve this.
For now, I'm using my forked version and seems to be working fine.
I also made a PR, but I'm not sure if the modification is compatible with your design concept.
So feel free to request me changes.
https://github.com/tmsvg/pear-tree/pull/14
Thank you. 😄

repo: tmsvg/pear-tree


text:
npm start 无法启动项目

本人Windows 环境, 有显卡, 项目install之后, 可以运行npm run examples 命令, 但是文档所说的npm start无法运行, 报错信息为找不到npm start命令, 同时package.json的scripts里面也没有相关命令的配置, 文档是否有问题, 还是得打开的方式不对
0 verbose cli C:\Program Files\nodejs\node.exe D:\nodejs\node_global\node_modules\npm\bin\npm-cli.js
1 info using npm@8.18.0
2 info using node@v16.17.0
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:D:\nodejs\node_global\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:D:\workspace\FFCreator-6.7.1.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:D:\Users\W9080814.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:D:\nodejs\node_global\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 12ms
19 timing npm:load:configload Completed in 12ms
20 timing npm:load:mkdirpcache Completed in 0ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm start
23 verbose argv "start"
24 timing npm:load:setTitle Completed in 1ms
25 timing config:load:flatten Completed in 2ms
26 timing npm:load:display Completed in 3ms
27 verbose logfile logs-max:10 dir:D:\nodejs\node_cache_logs
28 verbose logfile D:\nodejs\node_cache_logs\2022-09-20T02_45_58_523Z-debug-0.log
29 timing npm:load:logFile Completed in 4ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 22ms
33 silly logfile start cleaning logs, removing 2 files
34 silly logfile done cleaning log files
35 timing command:run-script Completed in 7ms
36 timing command:start Completed in 11ms
37 verbose stack Error: Missing script: "start"
37 verbose stack
37 verbose stack Did you mean one of these?
37 verbose stack     npm star # Mark your favorite packages
37 verbose stack     npm stars # View packages marked as favorites
37 verbose stack
37 verbose stack To see a list of scripts, run:
37 verbose stack   npm run
37 verbose stack     at RunScript.run (D:\nodejs\node_global\node_modules\npm\lib\commands\run-script.js:98:13)
37 verbose stack     at async module.exports (D:\nodejs\node_global\node_modules\npm\lib\cli.js:78:5)
38 verbose cwd D:\workspace\FFCreator-6.7.1
39 verbose Windows_NT 10.0.19044
40 verbose node v16.17.0
41 verbose npm  v8.18.0
42 error Missing script: "start"
42 error
42 error Did you mean one of these?
42 error     npm star # Mark your favorite packages
42 error     npm stars # View packages marked as favorites
42 error
42 error To see a list of scripts, run:
42 error   npm run
43 verbose exit 1
44 timing npm Completed in 46ms
45 verbose code 1
46 error A complete log of this run can be found in:
46 error     D:\nodejs\node_cache_logs\2022-09-20T02_45_58_523Z-debug-0.log

https://tnfe.github.io/FFCreator/#/qa/qa

你可以克隆这个项目, 在此目录下直接运行 npm start 即可生成视频.
src目录下是代码, 可以进行编辑.
https://github.com/zdu-strong/Technical_Backup/tree/master/ffcreator

authors: drawcall lcllge zdu-strong

repo: tnfe/FFCreator


text:
feat: add hpa for application

this is description

Atlantis commands can't be run on fork pull requests. To enable, set --allow-fork-prs  or, to disable this message, set --silence-fork-pr-errors

Did you mean to use atlantis instead of Atlantis?

authors: bot-hungran hungran


text:
Trained models

is there any Trained models  for test？
Can you reproduce the results reported in EfficientDet paper?
thanks very much.

thanks for your questioin @GreenTeaHua
I will public weight, data, performance soon.

thanks for your questioin @GreenTeaHua
I will public weight, data, performance soon.

Hello,
any update here? will the coco-pretrained model be released?

authors: GreenTeaHua alen-mask toandaominh1997


text:
Any way to automatically update CA cert upon expiry?

Proposal:
I was  unable to figure out why my project suddenly stopped sending updated to influxdb.
Current behavior:
Requires manual library update, but library not yet updated as on 02 jan 2021, cert expired 25 dec 2020.
Desired behavior:
Auto update certificate upon expiry
Alternatives considered:
maybe read file from filesystem & web ui for user to upload the cert.
Use case:
to prevent data loss due to connection failure, reduce downtime, user interference, develop, run and keep running.

@kARTechnology, the most feasible solution seems to be skipping the server certificate validation at all, as I described in your previous issue.
Technically, it may be possible to write some routine that would extract a certificate. But it will definitely require an insecure connection to achieve this. And with that, it is much easier to skip certificate validation.

library not yet updated as on 02 jan 2021, cert expired 25 dec 2020.

Version 3.7.0  brought updated incorporated InfluxDB Cloud CA certificate that should ensure trust for all servers from all InfluxDB Cloud providers (AWS, Azure, GCP).

@kARTechnology, the most feasible solution seems to be skipping the server certificate validation at all, as I described in your previous issue.
Technically, it may be possible to write some routine that would extract a certificate. But it will definitely require an insecure connection to achieve this. And with that, it is much easier to skip certificate validation.

library not yet updated as on 02 jan 2021, cert expired 25 dec 2020.

Version 3.7.0  brought updated incorporated InfluxDB Cloud CA certificate that should ensure trust for all servers from all InfluxDB Cloud providers (AWS, Azure, GCP).

authors: kARTechnology vlastahajek


text:
Update sbt to 1.9.4

About this PR
📦 Updates org.scala-sbt:sbt from 1.6.2 to 1.9.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #194.

repo: toddburnside/scalajs-react-table


text:
CloudQuery Plugin?

Hi Team, hopefully this is right place to ask, if not, I'd appreciate if you can direct me.
I'm the founder of cloudquery.io, a high performance open source ELT framework.
Our users are interested in a Toggl plugin, but as we cannot maintain all the plugins ourselves, I was curious if this would be an interesting collaboration, where we would help implement an initial source plugin, and you will help maintain it.
This will give your users the ability to sync Toggl data to any of their datalakes/data-warehouses/databases easily using any of the growing list of CQ destination plugins.
Best,
Yevgeny

Hi @yevgenypats,
I am Apostolos, Engineering Team Lead at the Integrations Team at Toggl. I wanted to reach out and tell you how much we appreciate you reaching out. We are delighted that your users find Toggl Track useful and want to see a plugin of it in your platform. Unfortunately, collaborating to implement and maintain such a plugin is not possible on our side, due to other priorities.
In case your team or another interested party wants to attempt such a plugin in the future, we would like to share with you our webhooks project, made to help developers easily integrate with Toggl Track. You can find a detailed documentation here.
Thanks again for reaching our and wish all the best to your team at cloudquery.io 🙌
Best regards,
Apostolos

Hi @akritiko Thanks for your response and the links! I'll keep you posted if we or anyone from the community will work on that so you can potentially reshare/retweet this to your users as well.

authors: akritiko yevgenypats

repo: toggl/pipes-api


text:
:bug: Fix modal detail presentation view

Closes #859
The modal presentation had to be .custom so it appears over the tabBar. That implied also some customization in ModalPresentationController

None of those changes are part of this commit, but I completely agree with you, I'll fix them and submit again.

repo: toggl/superday


text:
Update TE on using Edit Form

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?

Allow editing of stopped entries
Brings TE editing of stopped entries to feature parity with running entries

:bug: Recommendations for testing
All changes should be tested across Chrome and Firefox.

Open popup
Try editing some time entries
Try editing both stopped and active entry

:memo: Links to relevant issues or information

Please merge #1578 and #1580 before reviewing this
Closes #1582

@lise fixed in 90ea61af243a2812e0fdf24a70d68fd19b97accb

repo: toggl/toggl-button


text:
Synching with GitHub Enterprise

Describe the bug
A clear and concise description of what the bug is.

Unable to sync with Github Enterprise repo
Error is "Error synching with GitHub, check credentials"
tried using both Github
Once restarting app or Figma  all tokens are lost and do not recover

To Reproduce
Steps to reproduce the behavior:

Go to settings
Ensure tokens are added to Tokens Studio prior
Add incorrect credentials and allow the setting to fail
Get recover message
Does not matter if I attempt to recover or not

Expected behavior
Ability to sync with Github seamlessly
Screenshots or Screencasts
If applicable, add screenshots to help explain your problem.
Figma file (optional)
Send us the link to a Figma file containing a reproducible example
JSON (optional)
If possible, attach the JSON that leads to this bug.

Migrated to Featurebase

Closing as transitioned and we've had reports that GHES works fine

authors: UdayHyma diomededavid six7

repo: tokens-studio/figma-plugin


text:
token-transformer with --throwErrorWhenNotResolved blurts out unreadable content

Describe the bug
I'm having a weird issue with the token-transform when using the --throwErrorWhenNotResolved option. It correctly throws.
However, the output is unreadable. It just blurts out the contents of the minified token-transformer/dist/transform.js file.
What's weird is, if I run that token-transformer/dist/transform.js file through prettier save it, and rerun the transform, suddenly I get a nice error output saying which token failed to resolve.
To Reproduce
Steps to reproduce the behavior:

have a token output with a token that will fail to resolve
run token-transformer with the option --throwErrorWhenNotResolved

Expected behavior
Should output a nice error message saying which token failed to resolve.

@jorenbroekema is this issue still occuring?

token-transformer deprecated in favor of using sd-transforms, dont think it's a problem there, error message is from style-dictionary since it uses the ref utils from style-dictionary


text:
Fix overflow in duration

When trying to wait for Duration::MAX, mio will panic with an overflow. This is a work-around for that behavior.

Could you also fix it for Windows:
https://github.com/tokio-rs/mio/blob/7ed74bf478230a0cfa7543901f6be6df8bb3602e/src/sys/windows/iocp.rs#L231
?

Done

@Thomasdezeeuw I've updated the PR to fix some issues encountered by the CI.

Thanks @TethysSvensson

authors: TethysSvensson Thomasdezeeuw

repo: tokio-rs/mio


text:
If url contains '@', request ignores username and password

let username = 'abc';
let password = 'def';
let url = 'http://www.xxx.com/abc/@def/xyz.zip';
needle.put(targetUrl, stream, { username: username, password: password, parse: true });

In needle.js

if (uri.indexOf('@') !== -1) { // url contains user:pass@host, so parse it.
var parts = (url.parse(uri).auth || '').split(':');
options.username = parts[0];
options.password = parts[1];
}

'@' in the above url is not in the 'user:pass@host' format. But it is a part of url.

Ahh, I see. Now #255 makes sense. I'll take a second look at it now.

repo: tomas/needle


text:
Explicitly re-export tcod_sys (ffi)

Exporting extern crates without marking them public will be phased out
in future versions of the compiler, see
https://github.com/rust-lang/rust/pull/31362
This was caught in a crater run by the core team here:
https://gist.github.com/alexcrichton/78cf7d4740391546e2d5

Sorry for taking so long, somehow I managed to completely miss this :-(.

No problem!

authors: jgilchrist tomassedovic

repo: tomassedovic/tcod-rs

license: WTFPL


text:
yarn or npm

It appears that the repo contains both a yarn.lock file and a package-lock.json file.
As quoted by yarn:

It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files.

Which one should we use? Yarn or NPM?

Hi @FabienDehopre !
The default package manager for this repo is npm.
The yarn.lock file was added by other contributor some time in the past but was not kept in sync and I will remove it.
Everyone is anyway free to use package manager of their choice in their own fork / clone.

Fixed

By using pnpm package manager it has an error:
NullInjectorError: R3InjectorError(M1)

authors: FabienDehopre timsar2 tomastrajan


text:
Make Notes show up on create and edit order

when users try to create a new order from the dashboard they need to add some notes on the order.

fixed in #5

repo: tomatophp/tomato-orders


text:
CRS Simple?

Hi,
i'm having a trouble with CRS Simple.
i changed the CRS as suggested in issue
https://github.com/tombatossals/angular-leaflet-directive/issues/401
and the tiles load correctly, but as i try to pan/zoom the map, the tiles go away :(
http://jsfiddle.net/agostino_cinelli/ah041yxv/ (wait a few seconds for the server to wake up)
Am I missing something?
Thanks in advance.

Same problem here, could you fix it @agostinocinelli ?

Hi @octavioamu
sorry,I've been very busy lately :/
i really think we should move to @tombatossals 's angular-openlayers-directive. i'm trying it right now and it seems to manage CRS simple.
Unless you found a solution with leaflet :)

I have good news: i removed the
map._initialTopLeftPoint = map._getNewTopLeftPoint(map.getCenter());
line... and it seems to work now.
Check http://jsfiddle.net/agostino_cinelli/g3hh08xh/
Did you found another solution @octavioamu ?

No, I just jumped out of the ready directives and make my own adaptation of leaflet.

I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it.

authors: agostinocinelli octavioamu tombatossals

repo: tombatossals/angular-leaflet-directive


text:
Accessing google.maps when Using withScriptjs

Currently, you can only access the google.maps reference when you statically reference the Google Maps API (by add the <script src="https://maps.googleapis.com/maps/api/js"></script> to your HTML). However, my application is isomorphic, in order to avoid loading the Google Maps API multiple times, I needed to load it asynchronously- so I opted to loading my API Key via withScriptjs.
Is there a way to access google.maps when loading the Google Maps API asynchronously.
This will be useful for using functions not defined in the package, such as the LatLngBounds method that I am trying to access.
(I need this to try out the solution for centering the map around markers:
https://gist.github.com/dyyylan/a086ed46670efccace96404c8ab97ad8
related to- https://github.com/tomchentw/react-google-maps/issues/260)

The solution that I found was that you can access google.maps through the window:
window.google.maps
All the Google methods  can be accessed through this.

I think window.google.maps and google.maps are actually referring to the same thing. They both resolved to the global (window) space. There's no difference using them.
You just need to defer the initialization step after withScriptjs has render it's wrapped component.

repo: tomchentw/react-google-maps


text:
Components not being unmounted when map is under

See question on SO along with codesandbox example of issue:
https://stackoverflow.com/questions/52755024/react-native-maps-doesnt-unmount-components-when-under-strictmode

Not normally one to :+1: issues, but being as this is new and has no comments yet, I didn't know if a "subscribe" would be good enough to show the intention, so just a quick comment to say I too am seeing this issue.

Actually my situation is a bit different to this one (but ultimately the same, see end of post). My issue is that under strict mode, sometimes markers appear on the map (if present on or around the "load" of the map) and then get re-rendered shortly after and then doubled up as the previous markers are not removed.
Also it's worth my saying that it's not just markers - it's possible all map adornments. Certainly it is happening for me for Markers and a Circle too.
So, going back to my specific variant of this issue, I have been able to see what the cause of the issue is, though I'm not entirely sure of the best fix.
For me, it's because the Google Maps Marker object is set up and attached to the map in construct but only removed from the map in componentWillUnmount. This creates a situation in some cases whereby a marker that is constructed but never mounted leaves markers on the map.
So the underlying issue not actually a strict mode thing - simply an issue with the way that construct/mount/unmount is done in r-g-m.
However, strict mode has that exact situation happen: for me, without strict mode I never see a marker component construct without also being mounted, but under strict mode I see a construct with no mount. Why that is the case I am not sure, but there it is.
For reference, I was able to test this by simply adding some console.logs to the constructor, cDM, cDU and cWU methods of the r-g-m Marker class directly in my node_modules. You should be able to do the same, or use a proxy component as I do in a demo below.
So now, generalising this to the original issue encountered by @urikphytech, it appears to be the same thing - on mount, two markers are created but the first is constructed by never mounted. Here's a fork of @urikphytech's codesandbox demo with a proxy component (you'll want to open the console). Notice that as soon as you turn strict mode on, you get two "constructed" calls.
https://codesandbox.io/s/k95k7k1243
As such, I think the only fix for React's strict mode is to not do the Google Maps instantiation and initialisation in the component's constructor. Or maybe you can keep the initialisation in the constructor but only call setMap in cDM when you know you definitely mounted.

Also worth me saying that I added an answer to the SO post to the same effect but I think I did a semi-decent job of summarising what I said above, so here's the link should @tomchentw or another maintainer wish to get the TL;DR version of the above.

Yes! Great job! As you said, there is actually a Marker being constructed but not mounted.
This is due to:

Strict mode can’t automatically detect side effects for you, but it can help you spot them by making them a little more deterministic. This is done by intentionally double-invoking the following methods:
Class component constructor method
The render method
setState updater functions (the first argument)
The static getDerivedStateFromProps lifecycle

from: https://reactjs.org/docs/strict-mode.html
When moving the setMap call to cDM the codesandbox works.
Another issue we're gonna have with migrating to v17 is that this library heavily uses the legacy context api. I'm planning on migrating it to the new context when I have the time...
Thanks!

Ahh yes I forgot about the fact that string mode intentionally messes you about in order to prod you in the direction of compliance. Well there you go, it's working! :)

authors: alexrussell urikphytech


text:
Project in jeopardy after Thomas is hired by Grindr

Thomas Schneider, the owner of this project is hired by Grindr.

False. Wish I could delete spam issues.

authors: tomlandia ygengineers

repo: tomlandia/fuckr


text:
Extend Customization Options

Allow for broader customization (all in/out paths, selecting files by patterns etc.) and settings

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

authors: AMSNX tommander

repo: tommander/phpsphinx


text:
BETA APP CRASHES DURING LAUNCH

Beta app crashes EVERYTIME I launch it, I had to uninstall it...
It seems it is because i'm a Beta user: even after reinstalling the beta version, the app keeps crashing...
The app works when I quit the Beta and reinstall the public version.
My phone: Android 9 with MIUI 11 (Xiaomi).

java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1046)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1000)
at android.graphics.Bitmap.createBitmap(Bitmap.java:950)
at android.graphics.Bitmap.createBitmap(Bitmap.java:911)
at com.tommasoberlose.anotherwidget.helpers.BitmapHelper.getBitmapFromView(BitmapHelper.kt:24)
at com.tommasoberlose.anotherwidget.helpers.BitmapHelper.getBitmapFromView$default(BitmapHelper.kt:16)
at com.tommasoberlose.anotherwidget.ui.widgets.MainWidget$Companion.generateWidgetView(MainWidget.kt:107)
at com.tommasoberlose.anotherwidget.ui.widgets.MainWidget$Companion.updateAppWidget$app_release(MainWidget.kt:100)
at com.tommasoberlose.anotherwidget.ui.widgets.MainWidget.onUpdate(MainWidget.kt:49)
at android.appwidget.AppWidgetProvider.onReceive(AppWidgetProvider.java:66)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3412)
at android.app.ActivityThread.access$1300(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1684)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6810)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

Getting this now just after the most recent update (beta i believe) v2.0.5. OnePlus 7 Pro Android 10 OxygenOS 10.0.5.

Happens on 2.0.4 as well, the widged does not appear UNTILL added to the homescreen manually. OP5 with Android 9. Also the ADD button in app wasn't visible at least on first launch...

A new beta version of the app will be published asap.

Happens on 2.0.4 as well, the widged does not appear UNTILL added to the homescreen manually. OP5 with Android 9. Also the ADD button in app wasn't visible at least on first launch...

The "ADD" button is shown only when you add the widget from the launcher.

A new beta version of the app will be published asap.

The latest version updated on Play Store fixed the crash, and also allowed calendar events to update in a minute after calendar/event update on my OnePlus 7 Pro running Android 10 without need to manually refresh, and no need to disable battery optimisation at all. Seems fixed, great job!

A new beta version of the app will be published asap.

The latest version updated on Play Store fixed the crash, and also allowed calendar events to update in a minute after calendar/event update on my OnePlus 7 Pro running Android 10 without need to manually refresh, and no need to disable battery optimisation at all. Seems fixed, great job!

The new beta stills crash for me: java.lang.OutOfMemoryError...

A new beta version of the app will be published asap.

The latest version updated on Play Store fixed the crash, and also allowed calendar events to update in a minute after calendar/event update on my OnePlus 7 Pro running Android 10 without need to manually refresh, and no need to disable battery optimisation at all. Seems fixed, great job!

The new beta stills crash for me: java.lang.OutOfMemoryError...

I'm working on this problem. I can't figure out why on some devices the widget can't generate the view and throw the OutOfMemory exception.
I've just added a few log events in the latest beta version (code 74) and from now on you can check for any updates on #78.

authors: Moutony leoyinjou tjsuominen tommasoberlose

repo: tommasoberlose/another-widget


text:
Bump Python min version to 3.9

I can use types better.

Done in 646e3c17be9c2074c0aa0a74dcedf98bdd9c08b1

repo: tomshafer/scrivo


text:
Just two questions:

Why TenantTestCase Inherits from TransactionTestCase and not from TestCase directly? i have understood that TestCase is faster than TransactionTestCase

On TenantTestCase we can use the setup_tenant and setup_domain methods to add custom fields to a tenant, but this can't be done on FastTenantTestCase so FastTenantTestCase can't be used right now with 'custom fielded' tenants. There is a reason for that? this can be easily achieved, let me know if there is not a special reason and i'll send a PR.

Thanks.

Another question:
Is necessary to have cls.sync_shared() called on this line? (https://github.com/tomturner/django-tenants/blob/master/django_tenants/test/cases.py#L66) this calls the command migrate_schemas for every FastTenantCaseclass instantiation, i guess that is slower than call it right after the line: https://github.com/tomturner/django-tenants/blob/master/django_tenants/test/cases.py#L74 which i have tested and works fine, this gives a tiny speed boost but it's something.

@MiltonLn I didn't write this part of the program. I only use the TenantTestCase not FastTenantTestCase at the moment. I think I back ported FastTenantTestCase from Django tenant schemas.  I been meaning to use FastTenantTestCase to speed my testing up regrading cls.sync_shared() what we could do is put it as a setting.

@tomturner thanks for your answer, are you using just TenantTestCase?
what is your experience in terms of performance? i am worried about it because i have a Continuous Integration process and i don't want it takes so long doing tests, how many tests do you have and how much time they take to run?
About FastTenantTestCase i am using this on my project and my testing have increased the speed a lot, not as fast as testing without multitenant but considerably better.
So, do you want me to send a PR to enable the use of FastTenantTestCaseor do you prefer to discuss the idea here first?
Thanks!

Look at this scenario.
I have 52 test inheriting from TestCase and FastTenantTestCase alternately...
If i run tests with FastTenantTestCase inheriting like now, from TransactionTestCase it shows this:

Now if i switch FastTenantTestCase to inherit from TestCase these are the results:

i think is a huuuuuge speed boost!
Can anybody else do this test?
@tomturner what do you think? i think we must to implement this.

@MiltonLn  Is this better?

@tomturner Definetively, pls Let me finish some experiments and i will happily send a pull request with the testing enhancements

@MiltonLn Ok that sounds good

Everything working just fine, no additional work needed.

Thats good news I needed this for my project

Great, when will this be uploaded to pypi?

authors: MiltonLn tomturner

repo: tomturner/django-tenants


text:
#37 improve localization algorithm

5 New translation strings added to facilitate correctly building a sentence in another language.
"primary entity description": "Direction Entity",
"secondary entity description": "Secondary Entity",
"language description": "Direction Abbreviation Language",
"offset description": "Direction Offset",
"show north description": "Show North Indicator"

@woodcat64, @andilge, @rainer-geiger, @matteofranceschini, @hwikene, @porebas and @artemyevav
Would you be so kind to help translate the 5 new strings?
You can comment the translation to this PR, or add the code to the JSON and create a PR to the #37 improve localization algorithm branch

sure, pls follow this for fr, pt and es
pt
"primary entity description": "Entidade primária",
"secondary entity description": "Entidade secundária",
"language description": "Idioma abreviação de direção",
"offset description": "Offset de direção",
"show north description": "Mostrar o indicador norte"
fr
"primary entity description": "Entité primaire",
"secondary entity description": "Entité secondaire",
"language description": "Langue abréviation de la direction",
"offset description": "Décalage de la direction",
"show north description": "Afficher l'indicateur du nord"
es
"primary entity description": "Entidad primaria",
"secondary entity description": "Entidad secundaria",
"language description": "Idioma abreviatura dirección",
"offset description": "Desplazamiento de la dirección",
"show north description": "Mostrar indicador del norte"

If Rainer is taking longer than you want to wait, here German
de
"primary entity description": "Entität Richtung",
"secondary entity description": "Sekundäre Entität",
"language description": "Sprache Abkürzungen Richtung",
"offset description": "Richtungsversatz",
"show north description": "Nord-Indikator anzeigen"

ru
"primary entity description": "Объект направления",
"secondary entity description": "Дополнительный объект",
"language description": "Язык аббревиатуры направления",
"offset description": "Смещение направления",
"show north description": "Показать индикатор севера"

cz
"primary entity description": "Entita směru ",
"secondary entity description": "Sekundární entita",
"language description": "Jazyk zkratky směru",
"offset description": "Kompenzace směru",
"show north description": "Zobrazit indikátor severu"

"language description": "Sprache Abkürzungen Richtung",

Richtungsabkürzungssprache ?

pl
"primary entity description": "Encja Kierunku",
"secondary entity description": "Encja Dodatkowa",
"language description": "Język Skrótów Kierunków",
"offset description": "Przesunięcie Kierunku",
"show north description": "Pokaż Wskaźnik Północy"

I prefer not to translate
Richtungsabkürzungssprache
which is a  "holperiges Spaghettiwort".

If Rainer is taking longer than you want to wait, here German
de
"primary entity description": "Entität Richtung",
"secondary entity description": "Sekundäre Entität",
"language description": "Sprache Abkürzungen Richtung",
"offset description": "Richtungsversatz",
"show north description": "Nord-Indikator anzeigen"

Thank you @andilge for your translation, I took the liberty of making minor adjustments ;-)
"primary entity description": "Richtungsentität",
"secondary entity description": "Sekundäre Entität",
"language description": "Sprache der Himmelsrichtung",
"offset description": "Richtungsversatz",
"show north description": "Nord-Indikator anzeigen"

Wow you guys are fast!

no
"primary entity description": "Retningsenhet",
"secondary entity description": "Sekundær enhet",
"language description": "Retning Forkortelse Språk",
"offset description": "Retningsforskyvningt",
"show north description": "Vis nordindikator"

IT
"primary entity description": "Entità primaria",
"secondary entity description": "Entità secondaria",
"language description": "Lingua abbreviazione direzione",
"offset description": "Compensazione direzione",
"show north description": "Mostra indicatore Nord"

authors: Woodcat64 andilge artemyevav hwikene matteofranceschini porebas rainer-geiger tomvanswam

repo: tomvanswam/compass-card


text:
Movement left and right arrow keys

Movement: The left and right arrow keys of the keyboard must allow you to look left and right in the maze.

Movements:
https://github.com/tonnytg/42_cub3d/blob/main/src/engine/hooks/keys.c#L34
Key code defined:
https://github.com/tonnytg/42_cub3d/blob/main/includes/cub3D.h#L36


text:
TypeError when pane has no 'pane_current_path' key

Traceback (most recent call last):
  File "/usr/local/bin/tmuxp", line 9, in <module>
    load_entry_point('tmuxp==0.1.12', 'console_scripts', 'tmuxp')()
  File "/usr/local/lib/python2.7/dist-packages/tmuxp/cli.py", line 975, in main
    command_freeze(args)
  File "/usr/local/lib/python2.7/dist-packages/tmuxp/cli.py", line 351, in command_freeze
    sconf = freeze(session)
  File "/usr/local/lib/python2.7/dist-packages/tmuxp/workspacebuilder.py", line 308, in freeze
    'cd ' + p.get('pane_current_path')
TypeError: coercing to Unicode: need string or buffer, NoneType found

I have somehow managed to not have a current path for a pane in my tmux session.

@amonsch Do you still get this error?
I'm interested to know what path you were in when you tried to freeze your session. I'd like to be able to recreate this.

authors: amonsch tony

repo: tony/tmuxp


text:
[Ask] Download in background

What is the best scenario to make Fetch2 able to keep on downloading whenever user move to other activities?
Should I use single Fetch instant?

@dreasn You can create a global Fetch instance that you can reference from any Activity. For example you can extend the Application class and place your Fetch global instance there. Then you can access your custom application class and reference the Fetch instance. In the activity you can then attach and detach Fetch listeners. Have a look at the sample project to see different use cases. Hope this helps.

alright.  already did so.  Thanks.

I approached it with FetchService (background long-running service) which communicates via broadcasts with the rest of the app (also binder can be easily applied). Since there's single service it holds single Fetch reference.

authors: AlexStarc dreasn tonyofrancis

repo: tonyofrancis/Fetch


text:
Move to podman/buildah based actions

We can use:

https://github.com/redhat-actions/buildah-build
https://github.com/redhat-actions/push-to-registry

for the build and push actions instead of the Docker actions so that have a podman only stack (from image builds to toolbx).

I think this is a good idea :)

Yes, please.  :)

The reason why I've not done this change everywhere yet is that I could not find a clear way of doing multi-arch images with the podman/buildah actions.

authors: Foxboron debarshiray travier

repo: toolbx-images/images


text:
[BUG] Total Monthly Goals Ignores Debt Target Type

Describe the bug
The Total Monthly Goals doesn't include the debt target types, which causes it to show an incorrect total monthly goals amount.
To Reproduce
Add the "Total Monthly Goals" option in the budget area of the Toolkit to a budget with a debt target type. The total monthly goals will exclude the debt payment target type categories.
Expected behavior
All goal types should be included.
Screenshots
Not necessary.
Desktop (please complete the following information):
Windows, Chrome, Toolkit v2.37.0
Setting Export
Please replace the text 'REPLACE_ME_WITH_SETTINGS' below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the top right and copying the text in the modal which appears.
Note! DO NOT replace the leading and trailing ``` characters as they are required formatting characters.
[{"key":"AccountsDisplayDensity","value":false},{"key":"AccountsEmphasizedInflows","value":false},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AccountsStripedRowsColor","value":"#fafafa"},{"key":"AccountsStripedRowsDarkColor","value":"#1e1e1f"},{"key":"AssistedClear","value":false},{"key":"AutoDistributeSplits","value":false},{"key":"AutoEnableRunningBalance","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":false},{"key":"BottomNotificationBar","value":false},{"key":"BudgetProgressBars","value":false},{"key":"BudgetQuickSwitch","value":false},{"key":"BulkEditMemo","value":true},{"key":"BulkManagePayees","value":false},{"key":"CalculateIRR","value":false},{"key":"CalendarFirstDay","value":false},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":false},{"key":"ChangeEnterBehavior","value":false},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseInspector","value":false},{"key":"CompactIncomeVsExpense","value":true},{"key":"ConfirmEditTransactionCancellation","value":false},{"key":"CreditCardEmoji","value":false},{"key":"CtrlEnterCleared","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomFlagNames","value":false},{"key":"CustomizeColourScheme","value":true},{"key":"DateOfMoney","value":false},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingExcludeCreditCards","value":false},{"key":"DeselectTransactionsOnSave","value":false},{"key":"DisableToolkit","value":false},{"key":"DisplayMonthlyGoalsOverview","value":false},{"key":"DisplayTargetGoalAmount","value":false},{"key":"DisplayTotalMonthlyGoals","value":"show-total-only"},{"key":"DisplayTotalOverspent","value":false},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":false},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":false},{"key":"HideAccountBalancesType","value":false},{"key":"HideAgeOfMoney","value":false},{"key":"HideClosedAccounts","value":false},{"key":"HideDebtRatio","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":false},{"key":"HighlightNegatives","value":false},{"key":"HoveredBudgetRows","value":true},{"key":"ImportNotification","value":false},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LiveOnLastMonthsIncome","value":false},{"key":"MasterCategoryRowColor","value":true},{"key":"MasterCategoryRowColorSelect","value":"#c7c7d6"},{"key":"MasterCategoryRowDarkColorSelect","value":"#636366"},{"key":"MemoAsMarkdown","value":false},{"key":"MonthlyNotesPopupWidth","value":false},{"key":"NavDisplayDensity","value":false},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":false},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":false},{"key":"QuickBudgetWarning","value":false},{"key":"ReconcileAssistant","value":false},{"key":"ReconcileBalance","value":false},{"key":"ReconcileConfetti","value":false},{"key":"ReconciledTextColor","value":false},{"key":"RemovePositiveHighlight","value":true},{"key":"RemoveZeroCategories","value":false},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":false},{"key":"RowsHeight","value":"2"},{"key":"SavingsRatio","value":"0.10"},{"key":"ScrollableEditMenu","value":false},{"key":"ShowAvailableAfterSavings","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SplitTransactionAutoFillPayee","value":false},{"key":"SplitTransactionTabExpand","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":false},{"key":"StripedBudgetRows","value":false},{"key":"SubtractUpcomingFromAvailable","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleAccountColumns","value":true},{"key":"ToggleMasterCategories","value":true},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"2"},{"key":"ToolkitReports","value":true},{"key":"UnclearedAccountHighlight","value":false},{"key":"ViewZeroAsEmpty","value":false},{"key":"options.dark-mode","value":false}]

Confirmed, this is also a current issue for me.

Can confirm it's still an issue.

As of v3.2.1, Total monthly goals amount include debt payment goals.

repo: toolkit-for-ynab/toolkit-for-ynab


text:
Manual Transactions Not Adding/Deducting to Register

Describe the bug
While adding new transactions manually, the amount does not show up in the register, nor does the account balance change.
To Reproduce
Steps to reproduce the behavior:
Have Toolkit enabled.
Expected behavior
See Above.
Screenshots
The Walmart transaction with a blank amount was entered to be $100.00.

Desktop (please complete the following information):

OS: [e.g. OSX, Windows] Windows
Browser [e.g. chrome, firefox] Chrome
Toolkit Version [e.g. 2.22.0] 3.6.1

Setting Export
Please replace the text 'REPLACE_ME_WITH_SETTINGS' below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the top right and copying the text in the modal which appears.
Note! DO NOT replace the leading and trailing ``` characters as they are required formatting characters.
[{"key":"AccountsDisplayDensity","value":false},{"key":"AccountsEmphasizedInflows","value":false},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AccountsStripedRowsColor","value":"#fafafa"},{"key":"AccountsStripedRowsDarkColor","value":"#1e1e1f"},{"key":"AutoDistributeSplits","value":true},{"key":"AutoEnableRunningBalance","value":true},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":false},{"key":"BottomNotificationBar","value":false},{"key":"BudgetProgressBars","value":false},{"key":"BulkEditMemo","value":true},{"key":"BulkManagePayees","value":false},{"key":"CalculateIRR","value":false},{"key":"CalendarFirstDay","value":false},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":false},{"key":"ChangeEnterBehavior","value":true},{"key":"ChangeMemoEnterBehavior","value":true},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseInspector","value":true},{"key":"CompactAccountHeader","value":false},{"key":"CompactIncomeVsExpense","value":false},{"key":"ConfirmEditTransactionCancellation","value":false},{"key":"CreditCardEmoji","value":false},{"key":"CtrlEnterCleared","value":false},{"key":"CurrentMonthIndicator","value":false},{"key":"CustomAverageBudgeting","value":false},{"key":"CustomizeColourScheme","value":true},{"key":"DateOfMoney","value":false},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingExcludeCreditCards","value":false},{"key":"DefaultCCToCleared","value":false},{"key":"DeselectTransactionsOnSave","value":false},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":false},{"key":"DisplayTotalMonthlyGoals","value":"show-total-only"},{"key":"DisplayTotalOverspent","value":false},{"key":"DisplayUpcomingAmount","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":false},{"key":"EmphasizeNegativeLoans","value":false},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"FilterCategories","value":true},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":false},{"key":"GoogleFontsSelector","value":false},{"key":"HideAccountBalancesType","value":false},{"key":"HideAgeOfMoney","value":false},{"key":"HideClosedAccounts","value":false},{"key":"HideDebtRatio","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":false},{"key":"HighlightNegatives","value":false},{"key":"HoveredBudgetRows","value":false},{"key":"ImportNotification","value":false},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":true},{"key":"LiveOnLastMonthsIncome","value":false},{"key":"MasterCategoryRowColor","value":false},{"key":"MasterCategoryRowColorSelect","value":"#d1d1d6"},{"key":"MasterCategoryRowDarkColorSelect","value":"#636366"},{"key":"MemoAsMarkdown","value":false},{"key":"MonthlyNotesPopupWidth","value":"2"},{"key":"NavDisplayDensity","value":false},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":"3"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":false},{"key":"QuickBudgetWarning","value":false},{"key":"ReconcileAssistant","value":false},{"key":"ReconcileBalance","value":false},{"key":"ReconcileConfetti","value":false},{"key":"ReconciledTextColor","value":false},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":false},{"key":"ResetColumnWidths","value":true},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":false},{"key":"RowsHeight","value":false},{"key":"SavingsRatio","value":"0.10"},{"key":"ScrollableEditMenu","value":true},{"key":"ShowAvailableAfterSavings","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SpareChange","value":false},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SplitTransactionAutoFillPayee","value":false},{"key":"SplitTransactionTabExpand","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"StripedBudgetRows","value":false},{"key":"SubtractUpcomingFromAvailable","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleAccountColumns","value":true},{"key":"ToggleMasterCategories","value":false},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":false},{"key":"ToolkitReports","value":true},{"key":"UnclearedAccountHighlight","value":false},{"key":"ViewZeroAsEmpty","value":false}]

Reporting the same issue
OS: Linux/Debian 22.04.1 / Kernel 5.19.0-40-generic
Browser: Chrome 112.0.5615.165 (Official Build) (64-bit)
Toolkit: 3.6.1

I'm also having this issue. I have "Save Transaction on Enter" enabled and have found that if I click on the save button, all information is saved. If I hit enter to save, the amount field is blank upon save.

Same issue here. Like mrshunsy said, it does appear to be related to "Save Transaction on Enter" feature. When I disable that, the issue no longer occurs.

Same issue. When "save transaction on enter" feature is disabled, the issue no longer occurs.

authors: FrozenDragoon Khantractor mrshunsy tonydm valkolp


text:
Fix budget progress bars

This is based on #241 and shouldn't be merged before testing that PR.
Fixes #249.

Thank you!

authors: blargity egens


text:
fix: prevent app from executing data fetching when useApp is false

What kind of change does this PR introduce?
Bug fix
What is the current behaviour?
Pages receive pageProps from custom app even when useApp is set to false
What is the new behaviour?
Ensure useApp = false prevents custom app from fetching data whatsoever
Does this PR introduce a breaking change?
No
Other information:
Please check if the PR fulfills these requirements:

[X] Tests for the changes have been added
[ ] Docs have been added / updated

Coverage remained the same at 100.0% when pulling c2a02dc3a7648ba93a297fb929dbc3d618a64249 on fix-use-app-fetching-method into 3512c8fd2f97cce413181fbdb4d82bba5d856c7f on master.

authors: coveralls toomuchdesign

repo: toomuchdesign/next-page-tester


text:
feat: ignore Storybook build folder for Node

Pull Request
Thank you for contributing to @dvcs/gitignore and https://www.gitignore.io.
New or update
Select the appropriate check box for this pull request. This helps when merging to ensure there are no conflicts with other templates or misunderstandings of how thee template list works.
New

[ ] Template - New .gitignore template
[ ] Composition - Template made from smaller templates
[ ] Inheritance - Template similar to an existing template
[ ] Patch - Template extending functionality of existing template

Update

[x] Template - Update existing .gitignore template

Details
replace this section with links and/or info about the proposed request

Seems like it was override by a previous commit. Maybe because I was treating different tech on the same config file IDK.

@caedes @quibaritaenperdresatrompe thanks!

authors: caedes gobr

repo: toptal/gitignore


text:
Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@toptal/picasso-query-builder@6.0.0
Major Changes

#4261 cab40a729fae5009c40b028befc0108e7fd98f2b Thanks @angelinastavniiciuc!
remove totalCount and totalCountLoading props from Query Builder. Add runQueryButtonContent prop to Query Builder.
In order to allow consumers to add the desired functionality for the Run Query button, we added runQueryButtonContent prop.
totalCount and totalCountLoading are properties that should not be defined at the library level.
Instead they will be implemented in the consumer.

remove deprecation of hideControls propery.

[ ] ⚠ If major release, don't forget to check if peerDependencies needs to be also updated

@toptal-anvil ping reviewers

authors: angelinastavniiciuc toptal-build

repo: toptal/picasso


text:
Make sure with_metaclass always comes from Django

Wagtail requires six version 1.7 or higher to get the new implementation of with_metaclass.
Macs seem to have an old version preinstalled which takes priority over the version installed by PIP causing Wagtail to use the old version.
Django has a newer version of six bundled into it. This PR tweaks Wagtail's imports to use django.utils.six wherever with_metaclass is needed so we never get the old implementation.

Fixed the Python 2 issue

Why not convert all usages of six to use the Django bundled version?

I'd like that. Quite a bit of work though.

Nothing a liberal application of grep can't help with!

authors: kaedroho timheap

repo: torchbox/wagtail


text:
fix reverse for image_usage

The WagtailImage usage_url function has an invalid reverse string.

Good catch - thanks!

authors: gasman wgiddens


text:
Using sys.exit() does not release PID

When the python script running as a service uses sys.exit(), the process seems to quit without doing any of the service class' "clean up" functions that are supposed to be executed once the run() method finishes.
I see how this behaviour is actually not necessarily a bug, but is there any way of handling sys.exit() calls in a way that terminates the service gracefully?

In general, the daemon should not use sys.exit at all, since it's a forked child of the original control process and hence should use os._exit instead. However, calling os._exit from within the daemon's run method isn't a good idea, either, since that (by definition) immediately exits without any chance for cleanup.
The intended way of shutting down the daemon from within run is to simply return. That should be documented.
In addition, handling a call to sys.exit in run correctly would be rather easy, all we have to do is to catch the corresponding SystemExit exception, clean up, and exit.
In the meantime, you can do that yourself, @fedus:
def run(self):
    try:
        # Your usual daemon code goes here
    except SystemExit:
        # Swallow exception from sys.exit so that we can clean up
        return

Added support for using sys.exit in 9d94e835b648f2b7f79ce0e52c6cf304308c1f5a.

authors: fedus torfsen

repo: torfsen/service


text:
Having trouble with 'torquebox exec' command on Windows server

We have a windows server hosted with AWS on which we are running a production TorqueBox deployment. We have a .knob file that was packaged with gems, and we were hoping to use torquebox exec path/to/myapp.knob 'rake db:migrate' to run database migrations. However, running that command results in the error 'unzip' is not recognized as an internal or external command, operable program or batch file.
I believe this is due to the way that the torquebox exec command was changed during this commit a year ago.
extract_cmd = begin
                   `jar > /dev/null 2>&1`
                   $?.success? && "jar -xf" || "unzip -q"
              rescue
                    "unzip -q"
              end

The block of added code above is not conducive to Windows machines. jar > /dev/null 2>&1 will always return The system cannot find the path specified since Windows handles /dev/null/ differently. That means the next line will fail, and we will always hit the rescue condition of unzip -q. Unfortunately, that command is also not supported on Windows and gives rise to the first error I mentioned: 'unzip' is not recognized as an internal or external command.
I'm not sure what the best way to handle this is across different systems. We could do additional windows checking here similar to pieces of the DeployUtils file. If you have suggestions I'd be happy to make a pull request.

Link to the bug report on JBoss website: https://issues.jboss.org/browse/TORQUE-1258

repo: torquebox/torquebox


text:
[Feature]: 한글 검색 기능이 있다면 어떨까요?

Description
사용자가 입력을 다 마치지 않더라도 비교가 가능하게 하는 기능도 좋을 거 같아요
검색기능 구현시에 유용하게 쓰일거 같아요.
예시로는
"압구정 로데오" 검색시에
"압구저" 까지만 검색해도 나오고, "압구점" 이라고 검색하면 나오지 않게요!
Possible Solution
검색("압구정로데오", "ㅈㄹㄷㅇ") true
검색("압구정로데오","압구저") true
검색("압구정로데오","압구점") false
etc.
정식으로 구현하게 되게 된다면 컨트리뷰션도 해보고 싶습니다!

안녕하세요! 좋은 의견 감사해요
과거에
chosungIncludes, hangulInclude라는 함수가 있었지만, 2버전대부터는 삭제가 되었어요.
삭제된 이유에서는 한글을 다루는데 필요한 한글관련 도메인지식이 해당 함수를 구현하는데에는 필요하지 않았기 때문입니다!
관련 PR 목록 첨부드릴게요!

#188
#197

authors: LEEGURTS okinawaa

repo: toss/es-hangul


text:
Rename package to ts-reset

Short package names make installing and finding packages easier. There is already a ts-reset package, but it has few downloads and does not do anything, so you can use the dispute resolution policy to request it. If they ask for an explanation, tell them the package owner is squatting your project's name.

I agree - but it's also extremely recently published, which indicates that it's still active. If they're feeling generous I'd be happy to take it.

@mattpocock that ts-reset package is empty, it has no reference to a GitHub repo and has been created very recently—coincidence? It seems strange, but maybe the author reserved the name and is planning something more.

authors: mattpocock nickmccurdy peschee

repo: total-typescript/ts-reset


text:
OS X and Win10: Exported apps can't find SimpleOpenNI libs

Issue Summary
Works fine in the Processing IDE, but exported apps look at root of the boot drive for the SimpleOpenNI folder, instead of in the correct location. This is an issue shared by all versions of SimpleOpenNI 1.96, including the original Max Rheiner version.
Executed Command (if any)
File > Export Application
Processing Output (if any)
Exported app crashes with gray screen.
Type of Issue

Execution error

Your System Configuration
Operating system: OS X 10.12, Win10.

Hello I will try to get one Windows PC this week to taste on Windows, currently I just have a Mac to support the library.

I wouldn't worry about Windows support yet--this is a bug that's been in every version of SimpleOpenNI since the beginning. If you can fix the Mac side, I can test on other OSes. Could you add the source of the SimpleOpenNI library itself? Like:
https://github.com/jaegonlee/SimpleOpenNI/tree/master/src/SimpleOpenNI

I try this library for Processing 3.3.7 on Windows10. It goes well. However, export problem does not fix yet. Would you please fix nativLibPath in simpleOpenNI.java. It is explained in https://github.com/wexstorm/simple-openni/issues/73 .

OK, I think I have a solution--it needed a few changes from the wexstorm one. Not sure how a PR would work with your branch structure but would be great if you could add this to your versions!
https://github.com/n1ckfg/SimpleOpenNI/blob/Processing_3.3.6/SimpleOpenNI/src/SimpleOpenNI/SimpleOpenNI.java#L32

Oh, and can you add the Java source for SimpleOpenNI.jar to your repo? Might help future-proof things.

Unfortunately the fix worked for depth but not for NITE--seems like NITE looks in the user's home directory (for some reason) when exported as a library regardless of the path set in the main jar.

Oh hey, big fan of XYscope. So I've researched this quite a bit, even experimented with recompiling the jar, and my conclusion is it's a path issue with NITE, which we don't have the source for, so it can't be completely fixed. (Hope I'm wrong though.) The good news is, there's a workaround: place the SimpleOpenNI library folder at the root of your boot drive, and all exported apps can find it. This makes it really hard for distribution to civilians, but otherwise it's not even that bad a solution, because you don't need the same 200MB folder for every app. Further good news is it still works up to Win10 and High Sierra. (Haven't tried Mojave.)

Thaanks + super thanks for quick reply. Ahaa, I was wondering about this when seeing what was changed in your various commits.. yup yup worked great (indeed not sooo user-friendly) but better than a sad gray-screen of nothingness.
Is there a flag or snippet to prevent it from including the 200mb library one each export, or simply have to inspect package contents and trash it?
If using skeleton tracking, does one still need to install OpenNi2:

brew tap brewsci/science
brew install openni2

My setup already has it.. so hard to test if app runs on fresh machine..

I just trash it...don't believe it's necessary to install OpenNI separately but need to test. Fwiw I always install the SenseCast version of OpenNI 1 on a new machine as a good-luck ritual.

Aha, nice tip (will check if OpenNI 1 suites my needs)– thanks again.

Whoa, this is the first solid lead I think we've had in the several years this issue has been hanging around. Thanks!

I've done some research about this problem today. Below are what I have found out:
the error info is:
Can't load SimpleOpenNI library (libSimpleOpenNI.jnilib) : java.lang.UnsatisfiedLinkError: Can't load library: /SimpleOpenNI/library/libSimpleOpenNI.jnilib
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation

java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
	at SimpleOpenNI.SimpleOpenNIJNI.swig_module_init(Native Method)
	at SimpleOpenNI.SimpleOpenNIJNI.<clinit>(SimpleOpenNIJNI.java:290)
	at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
	at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:253)
	at Sketch.settings(Sketch.java:28)
	at processing.core.PApplet.handleSettings(PApplet.java:954)
	at processing.core.PApplet.runSketch(PApplet.java:10786)
	at processing.core.PApplet.main(PApplet.java:10511)
	at Main.main(Main.java:7)

Why this happend?
Open SimpleOpenNI.jar through IntelliJ, and view SimpleOpenNI.class, below are how libSimpleOpenNI.jnilib is loaded:
static {
        String var0 = System.getProperty("os.name").toLowerCase();
        String var1 = "SimpleOpenNI";
        String var2 = System.getProperty("os.arch").toLowerCase();
        if (var0.indexOf("win") >= 0) {
            // ...
        } else if (var0.indexOf("nix") < 0 && var0.indexOf("linux") < 0) {
            if (var0.indexOf("mac") >= 0) {
                var1 = "lib" + var1 + ".jnilib";
                nativLibPath = getLibraryPathLinux() + "/SimpleOpenNI/library/";
                nativDepLibPath = nativLibPath + "osx/";
            }
        } else {
            nativLibPath = "/SimpleOpenNI/library/linux";
            if (var2.indexOf("86") >= 0) {
                var1 = var1 + "32";
            } else if (var2.indexOf("64") >= 0) {
                var1 = "lib" + var1 + "64.so";
                nativLibPath = getLibraryPathLinux() + "/SimpleOpenNI/library/";
                nativDepLibPath = nativLibPath + "linux64/";
            }
        }

        try {
            System.load(nativLibPath + var1);
        } catch (UnsatisfiedLinkError var5) {
            System.out.println("Can't load SimpleOpenNI library (" + var1 + ") : " + var5);
            System.out.println("Verify if you installed SimpleOpenNI correctly.\nhttp://code.google.com/p/simple-openni/wiki/Installation");
        }

        _initFlag = false;
    }

notice that, the result of getLibraryPathLinux() should be added before /SimpleOpenNI/library/libSimpleOpenNI.jnilib, the string appeared in the error information. Let's look at the function:
public static String getLibraryPathLinux() {
        URL var0 = SimpleOpenNI.class.getResource("SimpleOpenNI.class");
        if (var0 != null) {
            String var1 = var0.toString().replace("%20", " ");
            int var2 = var1.indexOf(47);
            boolean var3 = true;
            int var4 = var1.indexOf("/SimpleOpenNI/library");
            return -1 < var2 && -1 < var4 ? var1.substring(var2, var4) : "";
        } else {
            return "";
        }
    }
···

Notice this line

```java
int var4 = var1.indexOf("/SimpleOpenNI/library");

SimpleOpenNI tries to find substring /SimpleOpenNI/library from the full path of SimpleOpenNI.class file. If the substring does not show up, this function return an empty string. This is why processing fails to load SimpleOpenNI.jnilib file in exported application: when running from processing ide, the SimpleOpenNI.jar in ~/Documents/Processing/libraries/SimpleOpenNI/library directory is used, the full path of which contains /SimpleOpenNI/library. On the other hand, when running from exported application, the SimpleOpenNI.jar embedded in the application is used, which does not contain the required substring.
How to solve it.
A new implementation of getLibraryPathLinux is required to fix this problem thoroughly. A temporary solution is given below:

cd into your exported application bundle, go to Contents/MacOS, there should be a executable file with the same name of your exported application, Sketch, for example. Remove this file, and create a new empty file with the same name, edit the file and add the following contents:

#!/bin/bash
cd "$(dirname ${BASH_SOURCE})"
cd ../..
APP_ROOT=$(pwd)
cd Contents/Java

JAR_LIBS=$(ls *.jar | tr "\n" ":")
JAR_LIBS=${JAR_LIBS}./SimpleOpenNI/library/SimpleOpenNI.jar

APP_NAME=$(basename "${BASH_SOURCE}")

# Caution: if your embedded java has a different version, replace jdk1.8.0_181.jdk with the correct name
# if you didn't choose to embedded java in your exported application, set JAVA_BIN=java to use the global java
JAVA_BIN=${APP_ROOT}/Contents/PlugIns/jdk1.8.0_181.jdk/Contents/Home/jre/bin/java

${JAVA_BIN} \
-Djna.nosys=true \
-Djava.ext.dirs=$APP_ROOT/Contents/PlugIns/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext \
-Xdock:icon=$APP_ROOT/Contents/Resources/sketch.icns \
-Djava.library.path=$APP_ROOT/Contents/Java \
-Dapple.laf.useScreenMenuBar=true \
-Dcom.apple.macos.use-file-dialog-packages=true \
-Dcom.apple.macos.useScreenMenuBar=true \
-Dcom.apple.mrj.application.apple.menu.about.name=${APP_NAME} \
-classpath ${JAR_LIBS} ${APP_NAME}

make this file executable
chmod +x ./Sketch

Copy the entire folder ~/Documents/Processing/libraries/SimpleOpenNI to Contents/Java.

Amazing! I actually saved the jar source with my fork: https://github.com/n1ckfg/SimpleOpenNI/tree/Processing_3.4_test/SimpleOpenNI/src ...tried a couple path fixes and recompiled but no luck. Do you have an idea of how you would implement that directly in the source?

Amazing! I actually saved the jar source with my fork: https://github.com/n1ckfg/SimpleOpenNI/tree/Processing_3.4_test/SimpleOpenNI/src ...tried a couple path fixes and recompiled but no luck. Do you have an idea of how you would implement that directly in the source?

FINALLY! Thanks to your fork I was able to apply a definitive fix for the infamous path bug in .exe files. With your build.bat file and small changes to the solution posted in this link, you can easily generate a brand new .jar file which works perfectly with standalone .exe files. Here´s how (requires Processing 3.4 + SimpleOpenNI-Processing_3.4):

Edit @n1ckfg ´s fork "SimpleOpenNI-Processing_3.4_test\SimpleOpenNI\src\SimpleOpenNI\SimpleOpenNI.java" file with any text editor.

Insert this code before line 32:
static String workingDir = System.getProperty("user.dir");

Replace lines 50 and 56 with:
nativLibPath = getLibraryPathWin() +  workingDir + "/SimpleOpenNI/library/";

(optional) Edit @n1ckfg ´s .bat file and replace the "core.jar" location with the one at your current Processing library path if it´s not the same (as in my case). Save file changes if required.

Launch build.bat file, which generates the new SimpleOpenNI.jar

Overwrite the current file at export folder "\application.windows64\lib" with the new one.

Manually copy the folder SimpleOpenNI to the same folder where your .exe is located. (the one that contains subfolders: "documentation", "examples" and "library").

Launch the .exe file and this time it will load the SimpleOpenNI library and run the Kinect. Et voilà!

This should do the trick. Thanks again!

Amazing!

@totovr If we put this solution in a pull request, which branch would you like us to work in?

Both OS X and Windows solutions tested and working.

repo: totovr/SimpleOpenNI


text:
🛑 MSP-HIT is down

In 401c199, MSP-HIT (https://hit.hanati.co.kr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-HIT is back up in 329dc62.

repo: touguy/uptime


text:
🛑 MSP-HIT is down

In e890eb3, MSP-HIT (https://hit.hanati.co.kr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-HIT is back up in a77ef61.


text:
How to change the init function of a theme?

Hi,
I want to derive the simlpe theme, and change some content of it to make my own theme.  Because I only want to change some default global settings, I don't like to leave a copy in my local.  Thus, I tried to change the default init function to inject the configuration.  But it failed.
I tried to do like this:
#show: simple-theme.with(
  aspect-ratio: "16-9",
  config-methods(
    init: (self: none, body) => {
      set text(size: 25pt, font: "Andale Mono", fallback: true)

      show heading.where(level: 2): it => {
        text(bottom-edge: "bounds")[
          *#it.body*
          // #v(-30pt)
          #line(length: 100%, stroke: 2pt + gradient.linear(..color.map.mako))
          // #v(-20pt)
        ]
      }

      set math.equation(numbering: "(1)")

      show link: underline

      show strong: alert

      body
    },
  ),
)

= A

== BB

cccc

However, it shows the error:
error: panicked with: "Unsupported mark `touying-fn-wrapper` at page 2. You can't use it inside some functions like `context`. You may want to use the callback-style `uncover` function instead."
   ┌─ @preview/touying:0.5.3/src/configs.typ:48:8
   │
48 │         panic("Unsupported mark `" + kind + "` at page " + str(page-num) + ". You can't use it inside some functions like `context`. You may want to use the callback-style `uncover` function instead.")
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Looks like I missed something.

Just remove show strong: alert

Just remove show strong: alert

Wow, interesting.  It works.
I just merged it from the old version, and there was such a line in the old version.

repo: touying-typ/touying


text:
🛑 Santa Clara City Library is down

In 6f8c949, Santa Clara City Library (https://www.sclibrary.org) was down:

HTTP code: 503
Response time: 277 ms

Resolved: Santa Clara City Library is back up in 7d13662 after 7 minutes.

repo: touzesabine/uppdownn


text:
huggingface_hub.utils._errors.LocalEntryNotFoundError ...

运行【1_build_image_search_engine.ipynb】过程中
在【p_display = p_embed.output('img_path', 'img', 'vec')】出如下错误：
huggingface_hub.utils._errors.LocalEntryNotFoundError ...
应该是下载模型出错，多次尝试多不行。确认网络没问题，手动能够访问huggingface.co。
手动下载后放在这个目录下，问题依旧。
.cache> huggingface > hub > models--timm--resnet50.a1 in1k>pytorch model.bin

RuntimeError                              Traceback (most recent call last)
/root/work/milvus/reverse_image_search/1_build_image_search_engine.ipynb Cell 12 line 2
1 # Display embedding result, no need for implementation
----> 2 p_display = p_embed.output('img_path', 'img', 'vec')
3 DataCollection(p_display('./test/goldfish/*.JPEG')).show()
File ~/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/pipeline.py:101, in Pipeline.output(self, *output_schema)
98 dag_dict[self._clo_node]['next_nodes'].append(uid)
100 run_pipe = RuntimePipeline(dag_dict)
--> 101 run_pipe.preload()
102 return run_pipe
File ~/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/runtime_pipeline.py:153, in RuntimePipeline.preload(self)
149 def preload(self):
150     """
151     Preload the operators.
152     """
--> 153     return _Graph(self._dag_repr.nodes, self._dag_repr.edges, self._operator_pool, self._thread_pool, TimeProfiler(False))
File ~/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/runtime_pipeline.py:67, in _Graph.init(self, nodes, edges, operator_pool, thread_pool, time_profiler, trace_edges)
65 self.features = None
66 self._time_profiler.record(Event.pipe_name, Event.pipe_in)
---> 67 self._initialize()
68 self._input_queue = self._data_queues[0]
File ~/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/runtime_pipeline.py:83, in _Graph._initialize(self)
81 node = create_node(self._nodes[name], self._operator_pool, in_queues, out_queues, self._time_profiler)
82 if not node.initialize():
---> 83     raise RuntimeError(node.err_msg)
84 self._node_runners.append(node)
RuntimeError: Node-image-embedding/timm-2 runs failed, error msg: Create image-embedding/timm-2 operator image-embedding/timm:main with args None and kws {'model_name': 'resnet50', 'device': None} failed, err: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on., Traceback (most recent call last):
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self._new_conn()
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connection.py", line 218, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fe7a11687c0>: Failed to establish a new connection: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /timm/resnet50.a1_in1k/resolve/main/pytorch_model.bin (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe7a11687c0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1232, in hf_hub_download
metadata = get_hf_file_metadata(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1599, in get_hf_file_metadata
r = _request_wrapper(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 417, in _request_wrapper
response = _request_wrapper(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 452, in _request_wrapper
return http_backoff(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/utils/_http.py", line 258, in http_backoff
response = session.request(method=method, url=url, **kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/utils/_http.py", line 63, in send
return super().send(request, *args, **kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /timm/resnet50.a1_in1k/resolve/main/pytorch_model.bin (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe7a11687c0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: 7bca68b0-7fc4-45dc-a413-b295b49193e8)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/nodes/node.py", line 88, in initialize
self._op = self._op_pool.acquire_op(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/operator_manager/operator_pool.py", line 106, in acquire_op
op = self._op_loader.load_operator(hub_op_id, op_args, op_kws, tag, latest)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/operator_manager/operator_loader.py", line 154, in load_operator
op = factory(function, arg, kws, tag, latest)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/operator_manager/operator_loader.py", line 137, in _load_operator_from_hub
return self._load_operator_from_path(path, function, arg, kws, tag)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/operator_manager/operator_loader.py", line 125, in _load_operator_from_path
return self._instance_operator(op, arg, kws) if op is not None else None
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/operator_manager/operator_loader.py", line 163, in _instance_operator
return op(*arg, **kws) if kws is not None else op(*arg)
File "/root/.towhee/operators/image-embedding/timm/versions/main/init.py", line 19, in timm
return TimmImage(**kwargs)
File "/root/.towhee/operators/image-embedding/timm/versions/main/timm_image.py", line 97, in init
self.model = Model(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/towhee/runtime/runtime_conf.py", line 88, in _decorated
return model(*args, **kwargs)
File "/root/.towhee/operators/image-embedding/timm/versions/main/timm_image.py", line 63, in init
self.model = create_model(model_name, pretrained=True, num_classes=num_classes)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/timm/models/_factory.py", line 114, in create_model
model = create_fn(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/timm/models/resnet.py", line 1283, in resnet50
return _create_resnet('resnet50', pretrained, **dict(model_args, **kwargs))
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/timm/models/resnet.py", line 547, in _create_resnet
return build_model_with_cfg(ResNet, variant, pretrained, **kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/timm/models/_builder.py", line 393, in build_model_with_cfg
load_pretrained(
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/timm/models/_builder.py", line 186, in load_pretrained
state_dict = load_state_dict_from_hf(pretrained_loc)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/timm/models/_hub.py", line 188, in load_state_dict_from_hf
cached_file = hf_hub_download(hf_model_id, filename=filename, revision=hf_revision)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/root/anaconda3/envs/milvusenv/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1349, in hf_hub_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

It should be a network issue, you can try using timm's interface directly. https://huggingface.co/docs/timm/quickstart

wget to confirm network to huggingface.co is ok.

but the error is always.

运行【1_build_image_search_engine.ipynb】过程中 在【p_display = p_embed.output('img_path', 'img', 'vec')】出如下错误： huggingface_hub.utils._errors.LocalEntryNotFoundError ...
应该是下载模型出错，多次尝试多不行。确认网络没问题，手动能够访问huggingface.co。
手动下载后放在这个目录下，问题依旧。 .cache> huggingface > hub > models--timm--resnet50.a1 in1k>pytorch model.bin

请问最后是怎么解决的呀，我也放在这个目录下了，还是报错。

authors: javahook junjiejiangjjj meoqi

repo: towhee-io/examples