id stringlengths 4 10 | text stringlengths 4 2.14M | source stringclasses 2
values | created timestamp[s]date 2001-05-16 21:05:09 2025-01-01 03:38:30 | added stringdate 2025-04-01 04:05:38 2025-04-01 07:14:06 | metadata dict |
|---|---|---|---|---|---|
1524258688 | The game does not respond to the mod
I extract files to the mods folder, but the mod does not work and does not appear in the modsettings, what im doing wrong? I have other mods installed that work fine.
Game Version 2.06. MelonLoader 0.6.0 instaled.
Sorry I wasn't available for a few days. Did you figure it out? If not, could you throw your MelonLoader log into our TLD Modding discord, so we could check what could go wrong?
https://discord.com/invite/nb2jQez
| gharchive/issue | 2023-01-08T01:08:40 | 2025-04-01T04:32:36.244600 | {
"authors": [
"HAHAYOUDEAD",
"ReusAg"
],
"repo": "HAHAYOUDEAD/Personality",
"url": "https://github.com/HAHAYOUDEAD/Personality/issues/1",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1590188820 | 🛑 Telly is down
In 5459c31, Telly ($TLY) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Telly is back up in f7fd8b3.
| gharchive/issue | 2023-02-18T03:30:36 | 2025-04-01T04:32:36.271009 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/10474",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1606156015 | 🛑 Telly is down
In eb66382, Telly ($TLY) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Telly is back up in 5352310.
| gharchive/issue | 2023-03-02T05:56:19 | 2025-04-01T04:32:36.273022 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/12061",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1628093924 | 🛑 Empornium is down
In a360ac7, Empornium ($EMP) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Empornium is back up in 221aeed.
| gharchive/issue | 2023-03-16T18:57:27 | 2025-04-01T04:32:36.275023 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/13920",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1641173197 | 🛑 SkipTheCommericals is down
In 1cc51f3, SkipTheCommericals ($STC) was down:
HTTP code: 0
Response time: 0 ms
Resolved: SkipTheCommericals is back up in 30792e6.
| gharchive/issue | 2023-03-27T00:43:15 | 2025-04-01T04:32:36.277071 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/15274",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1645282311 | 🛑 SkipTheCommericals is down
In c6c8966, SkipTheCommericals ($STC) was down:
HTTP code: 0
Response time: 0 ms
Resolved: SkipTheCommericals is back up in f1fe831.
| gharchive/issue | 2023-03-29T08:28:34 | 2025-04-01T04:32:36.279294 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/15563",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1292213340 | ⚠️ AlphaRatio has degraded performance
In f3441d3, AlphaRatio ($AR) experienced degraded performance:
HTTP code: 200
Response time: 1204 ms
Resolved: AlphaRatio performance has improved in 8842c6d.
| gharchive/issue | 2022-07-03T05:36:38 | 2025-04-01T04:32:36.281349 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/167",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1381551706 | ⚠️ BeyondHD has degraded performance
In 8fc52a0, BeyondHD ($BHD) experienced degraded performance:
HTTP code: 200
Response time: 16028 ms
Resolved: BeyondHD performance has improved in f9f6e12.
| gharchive/issue | 2022-09-21T21:56:26 | 2025-04-01T04:32:36.283373 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/2225",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1920556147 | ⚠️ BeyondHD has degraded performance
In 00f99d4, BeyondHD ($BHD) experienced degraded performance:
HTTP code: 200
Response time: 2254 ms
Resolved: BeyondHD performance has improved in a368855 after 6 minutes.
| gharchive/issue | 2023-10-01T04:40:16 | 2025-04-01T04:32:36.285434 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/24228",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2122110529 | ⚠️ SceneTime has degraded performance
In 81239bf, SceneTime ($ST) experienced degraded performance:
HTTP code: 200
Response time: 2074 ms
Resolved: SceneTime performance has improved in 167af7b after 6 minutes.
| gharchive/issue | 2024-02-07T03:27:53 | 2025-04-01T04:32:36.287486 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/26451",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2521348408 | ⚠️ TorrentLeech has degraded performance
In 2a800de, TorrentLeech ($TL) experienced degraded performance:
HTTP code: 200
Response time: 2736 ms
Resolved: TorrentLeech performance has improved in 5430011 after 8 minutes.
| gharchive/issue | 2024-09-12T05:00:12 | 2025-04-01T04:32:36.289736 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/29265",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2663540269 | ⚠️ SceneTime has degraded performance
In 7c6b27f, SceneTime ($ST) experienced degraded performance:
HTTP code: 200
Response time: 1266 ms
Resolved: SceneTime performance has improved in b90da4a after 18 minutes.
| gharchive/issue | 2024-11-16T00:20:13 | 2025-04-01T04:32:36.291771 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/29848",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1533863538 | 🛑 Telly is down
In 56bf952, Telly ($TLY) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Telly is back up in f01bbc0.
| gharchive/issue | 2023-01-15T15:15:50 | 2025-04-01T04:32:36.293904 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/5800",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1322999708 | 🛑 Redacted is down
In 48949a4, Redacted ($RED) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Redacted is back up in 0b06b26.
| gharchive/issue | 2022-07-30T11:35:40 | 2025-04-01T04:32:36.295865 | {
"authors": [
"HDVinnie"
],
"repo": "HDVinnie/TrackerHub",
"url": "https://github.com/HDVinnie/TrackerHub/issues/646",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2377904055 | promt
i need an python script, that creates an class named "Camera". it should have an function that takes an videostream an converts the image completly. It must follow following rules ...
not needed anymore
| gharchive/issue | 2024-06-27T11:33:11 | 2025-04-01T04:32:36.322251 | {
"authors": [
"EinEisbxr",
"Limonadeundco"
],
"repo": "HHGPhoenix/wro2025-fe-HHG_Phoenix",
"url": "https://github.com/HHGPhoenix/wro2025-fe-HHG_Phoenix/issues/9",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1612025787 | 🛑 heidpartner is down
In 2a4df39, heidpartner (https://heidpartner.de) was down:
HTTP code: 500
Response time: 3185 ms
Resolved: heidpartner is back up in a22af58.
| gharchive/issue | 2023-03-06T18:53:24 | 2025-04-01T04:32:36.333520 | {
"authors": [
"jroehl"
],
"repo": "HINTERLAND-software/uptime",
"url": "https://github.com/HINTERLAND-software/uptime/issues/296",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
823973228 | [Backend] Reset Password
Create a route via which one can reset their password.
It should only intake an email id.
Check if the email exists and then send them an email with a link to reset their password. The link should be valid only for 60 mins.
Feel free to ask questions if you have any doubts
Hey there @jackfrost13, I'd like to work on this feature. So if it's not already assigned to anyone I'd like you it assign it to me so that I could get started right away.
You can skip the email thing for now, you can raise the PR. Regarding the email configs and sending email we will have a seperate service, that can be incorporated later. For the meanwhile you can send the verification link as a response to forgotPassword endpoint.
In your workflow the endpoints should be located in /admin/... instead of auth
| gharchive/issue | 2021-03-07T17:35:51 | 2025-04-01T04:32:36.337772 | {
"authors": [
"Itsaadarsh",
"jackfrost13"
],
"repo": "HITK-TECH-Community/Community-Website",
"url": "https://github.com/HITK-TECH-Community/Community-Website/issues/479",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1243960339 | Update "curious to know more about us" section
Heyy,
I would like to update the "curious to know more about us" section according to the theme of the website.
The font styles used here, in this section are not uniform so would like to create new designs for the same.
I am a GSSOC'22 contributor, please assign it to me.
Thank you in advance! :)
@Ranjana550 This issue is already in process. #799
Thank you for your concern.
| gharchive/issue | 2022-05-21T12:18:05 | 2025-04-01T04:32:36.339643 | {
"authors": [
"AyushSingh22",
"Ranjana550"
],
"repo": "HITK-TECH-Community/Community-Website",
"url": "https://github.com/HITK-TECH-Community/Community-Website/issues/805",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
435623826 | Segmentation fault
when I run the test_net.py for evaluation with sh test.sh, I got following information :
Loaded dataset `kitti_val` for training
Preparing training data...
cache file ./data/kitti/object/kitti_val_gt_roidb.pkl
kitti_val gt roidb loaded from ./data/kitti/object/kitti_val_gt_roidb.pkl
done
3769 roidb entries
load checkpoint models_stereo/stereo_rcnn_18_6477.pth
load model successfully!
Segmentation fault (core dumped)s, solve time 0.41s (Press Esc to exit!)
It seems evaluation works well for a while, but after evalutating about 50 val samples, Segmentation fault is reported.
Btw I use cuda8.0 and pytorch 0.3.1, and the training process works just fine.
@PeiliangLi
seems it's working well with pytorch 0.3.0
OK, great
| gharchive/issue | 2019-04-22T07:01:50 | 2025-04-01T04:32:36.342308 | {
"authors": [
"Jokoe66",
"PeiliangLi"
],
"repo": "HKUST-Aerial-Robotics/Stereo-RCNN",
"url": "https://github.com/HKUST-Aerial-Robotics/Stereo-RCNN/issues/6",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2229773435 | fix bs bug
https://github.com/HLTCHKUST/InstructAlign/blob/c27093e6e91b315b405fbb77d3cdde9622d951c6/run_t2t_finetuning.py#L440
The above code makes increasing batch size do not work!
Remove it for fixing the bug!
Hi @lpq29743 : Thank you for fixing the bug and we apologize for the problem.
Upon further investigation, the code we ran for the experiments before also has this problem. In this case, our continual learning experiment is equivalent to using a batch size of 4 or 8 depending on the gradient accumulation steps.
| gharchive/pull-request | 2024-04-07T13:27:45 | 2025-04-01T04:32:36.346528 | {
"authors": [
"SamuelCahyawijaya",
"lpq29743"
],
"repo": "HLTCHKUST/InstructAlign",
"url": "https://github.com/HLTCHKUST/InstructAlign/pull/1",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
739181817 | compilation of hpcrun-fmt.h
I have to build hpctoolkit without spack.
commit ad00b12
Author: Mark W. Krentel <krentel@rice.edu>
Date: Tue Oct 27 00:22:10 2020 -0500
It fails because of:
head hpctoolkit.git/src/lib/prof-lean/hpcrun-fmt.h
"$Id$\n"
"\n"
etc...
gcc -DHAVE_CONFIG_H -I. -I../../../src/include -g -O3 -Wall
-I/hpctoolkit/hpctoolkit.git/src
-Imbedtls/v2.24.0-CrayGNU-20.08/include
-Ielfutils/0.180-CrayGNU-20.08/include
-MT libHPCprof_lean_la-hpcrun-fmt.lo -MD -MP -MF
.deps/libHPCprof_lean_la-hpcrun-fmt.Tpo -c hpcrun-fmt.c -fPIC -DPIC -o
.libs/libHPCprof_lean_la-hpcrun-fmt.o
In file included from hpcrun-fmt.c:84:
hpcrun-fmt.h:1:1: error: expected identifier or '(' before string constant
"$Id$\n"
^~~~~~~~
hpcrun-fmt.c: In function 'hpcrun_fmt_hdr_fwrite':
hpcrun-fmt.c:131:10: error: 'HPCRUN_FMT_Magic' undeclared (first use in this function)
fwrite(HPCRUN_FMT_Magic, 1, HPCRUN_FMT_MagicLen, fs);
^~~~~~~~~~~~~~~~
Is there a compilation flag that could help me compile hpcrun-fmt.h ?
jg.
I moved to hpctoolkit-release-2020.08, sorry for the noise.
Hi @jgphpc,
Would you mind give some more info regarding how your fixed this issue?
I have stumbled on the same problem except that I am using Spack. It uses commit d9d13c705d81e5de38e624254cf0875cce6add9a.
| gharchive/issue | 2020-11-09T16:38:02 | 2025-04-01T04:32:36.397040 | {
"authors": [
"RemiLacroix-IDRIS",
"jgphpc"
],
"repo": "HPCToolkit/hpctoolkit",
"url": "https://github.com/HPCToolkit/hpctoolkit/issues/343",
"license": "bsd-3-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
153016099 | Error while doing forgot password
Priority - P1
Steps
Click the forgot password
give the user id as "hari@"
Got the following error
Milestone - Features backlog
In step 2, enter the text "hari@" without quotes to replicate the error.
the bug report title should be "Error while requesting new password" on Forgot password page
I did recreate the error... I've submitted a pull request tofix it.
On 5 May 2016 at 16:00, Jyothi Rangaiah notifications@github.com wrote:
In step 2, enter the text "hari@" without quotes to replicate the error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/HTBox/crisischeckin/issues/515#issuecomment-217177130
I'll confirm again later...
On 5 May 2016 at 16:03, Martin Milan martin@mjmilan.com wrote:
I did recreate the error... I've submitted a pull request tofix it.
On 5 May 2016 at 16:00, Jyothi Rangaiah notifications@github.com wrote:
In step 2, enter the text "hari@" without quotes to replicate the error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/HTBox/crisischeckin/issues/515#issuecomment-217177130
| gharchive/issue | 2016-05-04T13:47:42 | 2025-04-01T04:32:36.417280 | {
"authors": [
"aarjay",
"hari",
"mjmilan"
],
"repo": "HTBox/crisischeckin",
"url": "https://github.com/HTBox/crisischeckin/issues/515",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
795678086 | wiki file link not working in readme
I'm submitting a
[x] bug report.
[ ] feature request.
Current Behaviour:
wiki file link under Natural Language querying format section not working.
https://github.com/HTTP-APIs/http-apis.github.io/blob/master/hydra-agent-redis-graph.md
Expected Behaviour:
It should redirect to the wiki section.
Steps to reproduce:
Do you want to work on this issue?
@Purvanshsingh I want to work on this issue. Thank you!
hey is anyone working on this? im new to this community
There is no wiki section that I could see on this repo.
| gharchive/issue | 2021-01-28T05:19:36 | 2025-04-01T04:32:36.421307 | {
"authors": [
"Megh05",
"Purvanshsingh",
"jkugsiya",
"rghdrizzle"
],
"repo": "HTTP-APIs/hydra-python-agent",
"url": "https://github.com/HTTP-APIs/hydra-python-agent/issues/162",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1920753475 | Add checks for empty Entry
Rerunning September desktop combined run now to confirm fix.
@rviscomi going to merge this tomorrow evening in time for Tuesday/Wednesday's run, but if you get a chance to review it before then, then please do!
| gharchive/pull-request | 2023-10-01T12:55:26 | 2025-04-01T04:32:36.434514 | {
"authors": [
"tunetheweb"
],
"repo": "HTTPArchive/data-pipeline",
"url": "https://github.com/HTTPArchive/data-pipeline/pull/211",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
46291330 | Conversion scripts for JSON, RDF, and XML
In the hxl.scripts package, add conversion scripts for JSON, RDF, and XML, with callable functions (so that they can also be used by software).
A while ago, added generator for JSON.
| gharchive/issue | 2014-10-20T16:00:12 | 2025-04-01T04:32:36.452998 | {
"authors": [
"davidmegginson"
],
"repo": "HXLStandard/libhxl-python",
"url": "https://github.com/HXLStandard/libhxl-python/issues/4",
"license": "unlicense",
"license_type": "permissive",
"license_source": "bigquery"
} |
1374180348 | Filmon Goitom: Welcome to JS, 3 Weeks
Learning Objectives
all of these skills are limited to short, single-page programs written with
Just Enough JavaScript
Priorities: 🥚, 🐣, 🐥, 🐔 (click to learn more)
There is a lot to learn in this repository. If you can't master all the material
at once, that's expected! Anything you don't master now will always be waiting
for you to review when you need it. These 4 emoji's will help you prioritize
your study time and to measure your progress:
🥚: Understanding this material is required, it covers the base skills you'll
need for this module and the next. You do not need to finish all of them but
should feel comfortable that you could do them with enough time.
🐣: You have started all of these exercises and feel you could complete them
all if you just had more time. It may not be easy for you but with effort you
can make it through.
🐥: You have studied the examples and started some exercises if you had time.
You should have a big-picture understanding of these concepts/skills, but may
not be confident completing the exercises.
🐔: These concepts or skills are not necessary but are related to this module.
If you are finished with 🥚, 🐣 and 🐥 you can use the 🐔 exercises to push
yourself without getting distracted from the module's main objectives.
1. What is Programming
What is a program? What is a programming language? How do programs and people
fit together?
[ ] 🥚 Data in, Data Out: You understand that computer programs are used
to transform data, and can explain a JS program from this module in terms
of the data that goes in and the data that comes out.
🥚 Three Audiences: You can explain how a single file of code is used to
communicate with 3 different audiences:
[ ] Developers: You can explain how code formatting, comments, logs and
variable names make it easier (or harder!) for a developer to understand
a program.
[ ] Computers: You can explain how a computer follows your instructions
to store, read and modify data in program memory.
[ ] Users: You can explain how the computer creates a dynamic user
experience by following different executions paths depending on user
input.
[ ] 🥚 Tracing Variables: You can complete a trace table for a program
that uses only variables, and can check your work using the "trace"
button.
🥚 JavaScript Syntax: Given a program, you can identify these parts of
JavaScript syntax:
[ ] Primitives
[ ] Operators
[ ] Identifiers
[ ] Keywords
[ ] Checks
[ ] Blocks
[ ] Function Calls
[ ] 🥚 Pseudo Code: You can explain what pseudo code is, how it's used and
why it's helpful.
[ ] 🥚 Program Goals: You understand that a full JavaScript program can be
explained as a series of smaller goals, and can write names for the goals
in a simple working program.
🐣 Program Analysis: You can study a simple working program and identify:
[ ] The program's behavior (data in, data out)
[ ] The program's goals
[ ] The program's syntax and language features
[ ] Which parts of the source code are for which audience (users, devs,
computers)
[ ] 🐥 Same Behavior, Different Code: You can study simple programs with
the same behavior (data in, data out) but different source code and
explain how the differences matter for each audience.
2. Just Enough JavaScript
Go in depth on JavaScript you need to know for writing interactive text-based
programs in the browser. Along the way you will learn how each language feature
works in small programs.
🥚 Listening and Reading: You can read code out loud, and understand your
classmates when they read code to you. You don't need to understand how a
program works to master these learning objectives!
[ ] Listening You can exactly re-write a program that a classmate has
read
[ ] Reading You can read a program out loud and guide your classmates to
re-write exactly the same code without them seeing the program. Every
indentation, semi-colon, comment and spelling in their program must be
identical to yours.
🥚 Static vs. Dynamic Analysis: You can explain and use these two ways of
studying a program, each can help you understand different aspects of your
code. To help understand this concept, the options panel in Study Lenses is
organized into static and dynamic study options:
[ ] Static: Studying the text in a code file without running it. Some
static study methods are creating a flowchart, analyzing variables,
filling out a trace table, and drawing on code.
[ ] Dynamic: Running code and studying the computer's behavior. Some
dynamic study methods are running code and reading console logs, using
the trace button, and stepping through in the debugger or JS Tutor.
[ ] 🥚 Tracing Execution: You can complete a "steps" trace table for all
JS language features in Just Enough JavaScript, and can correct your table
using console output from the "trace" button.
[ ] 🥚 Analyzing Variables: You can list all the variables in a program,
and answer these 5 questions for each variable:
Where is the variable declared?
What is the variable's scope?
Is the variable initialized with a value?
How many times is its value used (read) in the program?
How many times is the variable assigned a new value?
What types are assigned to this variable during the program's execution?
[ ] 🥚 Completing Programs: You can successfully fill in blanks for a
program when the missing words are provided, including distractors.
[ ] 🐣 Translating Pseudo Code: Given a program written in Pseudo Code,
you can translate it to working JavaScript.
[ ] 🐣 Comparing Programs: You can compare two programs with similar code
and explain if they have the same behavior or not. If they do not, you can
explain how they behave differently and why.
[ ] 🐥 Constructing Programs: You can reconstruct a program's lines and
indentation, successfully ignoring distractor lines.
[ ] 🐥 Linting: You can find and fix simple linting errors in JavaScript
programs.
[ ] 🐔 Writing Programs: You can write small programs that log specific
values, or pass specific test cases.
3. Understanding Programs
Learn how to understand a larger programs by finding connections between the
details and the big picture. By the end of this chapter you will know how to
read a new program and do a simple code review.
[ ] 🥚 Stepping Through: You can pause a script in a your browser's
debugger, arrange the debugger, collapse extra panels, and step through a
script written with Just Enough JS. At each point in execution you can
make a prediction of the next line before executing, and can check your
prediction using the scopes panel.
[ ] 🥚 Imperative Programming: You can explain what the Imperative
Programming paradigm is, and can explain how you know the programs in
Welcome to JS are Imperative.
[ ] 🥚 Logging: You can tracing specific aspects of a program's execution
and log them to the console.
[ ] 🐣 Naming Variables: You can analyze how a variable is used in a
program and give it two names:
Generic: You can give a generic name to a variable based on how it is
used in the program.
Specific: You can give a specific name to a variable based on how it's
used and the program's domain (the program's specific data and use-case).
[ ] 🐣 Describing Programs: You can read a program and describe it with
comments using to the methodology from /describing-programs:
Zoom Out
Zoom In
Find Connections
Describe Goals
[ ] 🐥 Code Review: Given a working program you can review the code for
clarity, correctness and style.
4. Developing Programs
Learn to modify and write larger programs in JavaScript. You'll cover many of
the hidden skills necessary to develop quality software and to work
collaboratively on a code base.
[ ] 🥚 Program Life Cycle: You can explain the two phases of a program's
life cycle.
Creation Phase
Execution Phase
[ ] 🥚 Fixing Errors: You can use the structured comment to describe an
error in your program, and can make several educated guesses at how to fix
the error.
[ ] 🐣 Fixing Bugs: You can use the structured comment to describe and fix
a bug in small programs.
[ ] 🐣 Modifying Programs: You can make small changes in a program to
change its behavior without breaking it.
[ ] 🐥 Refactoring: Given a working program, you can make changes to the
code without changing the program's behavior.
[ ] 🐥 Writing Programs: Given a description of a program's behavior
(user story + test cases), you can plan goals for the program and write
code to pass the tests.
🐔 Reverse Engineering: Given a working program with unreadable code, you
can:
[ ] Give the program a name.
[ ] Describe the program's behavior with a user story, acceptance criteria
and test cases.
[ ] Plan goals for the program.
[ ] Develop your own working program with the exact same behvior.
🐔 Imagining Programs: Given an empty page, you can imagine and develop
your own programs using Just Enough JavaScript. This includes:
[ ] A title.
[ ] A description with a user story, acceptance criteria and test cases.
[ ] Commented goals.
[ ] Fully working Code.
Week 1
I Need Help With:
better not to say now
What went well?
understanding the concept of programming
What went less well?
it's okay still now
Lessons Learned
comments, strings, console-log and string-concatenation
Sunday Prep Work
start to look about it
Hi @filmon-goitom,
Did you solved exercises in the repo(tracing variables, what is the programming, just enough js)?
It would be nice if you can push your solved exercises in your forked repo and add the link here.
Week 2
I Need Help With:
nothing until now
What went well?
practicing the exercises
What went less well?
nothing for now
Lessons Learned
loops and if functions
Sunday Prep Work
ongoing
| gharchive/issue | 2022-09-15T08:59:17 | 2025-04-01T04:32:36.491353 | {
"authors": [
"filmon-goitom",
"yildiztugba"
],
"repo": "HYF-Class19/home",
"url": "https://github.com/HYF-Class19/home/issues/241",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
114444373 | Not waiting for the clean task to finish
del 1.2.1 doesn't return a promise and the build doesn't wait fro the clean task to finish. Bumping del's version to 2.0.2 fixes things.
Thanks for the awesome generator!
Tanks a lot for reporting!
This issue has been solved in v2.0.0.
| gharchive/issue | 2015-11-01T01:35:56 | 2025-04-01T04:32:36.494096 | {
"authors": [
"AleksueiR",
"HaNdTriX"
],
"repo": "HaNdTriX/generator-chrome-extension-kickstart",
"url": "https://github.com/HaNdTriX/generator-chrome-extension-kickstart/issues/6",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
2158051954 | fix category group user data
Description
User route pulls too much data for expo
Issues
Looks good!
| gharchive/pull-request | 2024-02-28T04:03:27 | 2025-04-01T04:32:36.522822 | {
"authors": [
"PhillipPhanhthourath",
"rahikot"
],
"repo": "HackGT/api",
"url": "https://github.com/HackGT/api/pull/199",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
712701965 | Accepting Sponsorship on Website
Accepting Sponsors on the Website
#Hacktoberfest
i would like to do it
| gharchive/pull-request | 2020-10-01T10:15:16 | 2025-04-01T04:32:36.546660 | {
"authors": [
"NeelRaval-hacker",
"codetravellearn"
],
"repo": "HackclubVIT/HackClub-Website",
"url": "https://github.com/HackclubVIT/HackClub-Website/pull/10",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1240520764 | Typing the end date when using single datepicker doesnt work
Describe the bug
When using a single datepicker and selectsRange, typing just updates startDate.
To Reproduce
Use a single datepicker with selectsRange.
Type both the start and end dates.
Focus out of the field.
Start date will update and end date wont.
Expected behavior
I expected that both start and end dates would update.
Screenshots
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
Version: 101.0.4951.64 (x86_64)
Additional context
I've reproduced this in my app and in the docs page.
Any updates here?
@yurirpgarcia did you manage to solve this problem?
Actually no. I didnt look any further, so I ended up using another lib.
| gharchive/issue | 2022-05-18T20:59:48 | 2025-04-01T04:32:36.551085 | {
"authors": [
"alikinvv",
"yurirpgarcia"
],
"repo": "Hacker0x01/react-datepicker",
"url": "https://github.com/Hacker0x01/react-datepicker/issues/3632",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
130540062 | fix issue with requiring module
Seems like after installing the module, I couldn't use it doing things like "import VueSelect from 'vue-select2'".
After making these few changes, i'm not getting the error anymore.
Maybe there is a better way to fix it but I thought I'd propose that anyway :)
@charliegerard someone suggested a simpler way so I've created a pull request. Can you test and see if that fixed your issue too? https://github.com/Haixing-Hu/vue-select/pull/5
The bug has been fixed.
| gharchive/pull-request | 2016-02-02T01:29:55 | 2025-04-01T04:32:36.566449 | {
"authors": [
"Haixing-Hu",
"charliegerard",
"silverark"
],
"repo": "Haixing-Hu/vue-select",
"url": "https://github.com/Haixing-Hu/vue-select/pull/3",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
221655506 | Adjust layout in TutorialSDK
Scrollview padding is wrong.
Bug fixed.
| gharchive/issue | 2017-04-13T19:11:50 | 2025-04-01T04:32:36.631660 | {
"authors": [
"carlosuebbi"
],
"repo": "Hand-Talk/android-library",
"url": "https://github.com/Hand-Talk/android-library/issues/28",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1387403885 | Cannot register own DateTimeSerializer when using Hangfire.Mongo
I am using (latest) MongoDb C# Driver and Hangfire extension in a solution (different projects) and
want to configure DateTime to be stored as string in none-hangfire projects.
So I register as follows:
BsonSerializer.RegisterSerializer(typeof(DateTime), new DateTimeSerializer(DateTimeKind.Utc, BsonType.String));
During start up application fails:
MongoDB.Bson.BsonSerializationException: There is already a serializer registered for type DateTime.
This is probably because extension for hangfire registers its own date time serializer.
Is it possible to limit scope for serializers, so that I can still register own Serializers?
@yBother2,
Thanks for posting. We do not register custom serializers in Hangfire.Mongo, we use attributes to configure serialization.
check out: https://github.com/Hangfire-Mongo/Hangfire.Mongo/blob/master/src/Hangfire.Mongo/Dto/ServerDto.cs
You probably need to register your serializer earlier as the mongo driver does not allow you change a serializer once it has been used.
check out the mongo driver documentation:
https://mongodb.github.io/mongo-csharp-driver/2.17/reference/bson/serialization/
Indeed it works when registering before Configuring Hangfire in Startup!
@yBother2,
Did it work as expected? then I will close this issue. :)
Thanks
| gharchive/issue | 2022-09-27T09:09:54 | 2025-04-01T04:32:36.649690 | {
"authors": [
"gottscj",
"yBother2"
],
"repo": "Hangfire-Mongo/Hangfire.Mongo",
"url": "https://github.com/Hangfire-Mongo/Hangfire.Mongo/issues/323",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2217175712 | 🛑 French is down
In 260a9a0, French (https://fr.scratch-wiki.info) was down:
HTTP code: 508
Response time: 661 ms
Resolved: French is back up in 7981d94 after 31 minutes.
| gharchive/issue | 2024-03-31T20:44:15 | 2025-04-01T04:32:36.656514 | {
"authors": [
"Auto5958"
],
"repo": "Hans5958/Scratch-Wiki-Upptime",
"url": "https://github.com/Hans5958/Scratch-Wiki-Upptime/issues/2654",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1941486587 | 🛑 Portal is down
In 3a50691, Portal (https://scratch-wiki.info) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Portal is back up in fe0f5af after 51 minutes.
| gharchive/issue | 2023-10-13T08:23:47 | 2025-04-01T04:32:36.658757 | {
"authors": [
"Auto5958"
],
"repo": "Hans5958/Scratch-Wiki-Upptime",
"url": "https://github.com/Hans5958/Scratch-Wiki-Upptime/issues/928",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
264446917 | 可以显示作者么?
想搭建一个内部的博客,作者是多人,如何根据git上不同用户提交的md文件来显示作者呢?
可以可以,我感觉可以在front matter里面加一个可选属性然后在渲染时候贴出来
| gharchive/issue | 2017-10-11T03:35:00 | 2025-04-01T04:32:36.665307 | {
"authors": [
"garyshang",
"ttimasdf"
],
"repo": "Haojen/hexo-theme-Anisina",
"url": "https://github.com/Haojen/hexo-theme-Anisina/issues/78",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
2124202818 | 🛑 Let's Cook is down
In 77e4807, Let's Cook (https://cook.wasenk.cf/) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Let's Cook is back up in ae37db6 after 9 hours, 10 minutes.
| gharchive/issue | 2024-02-08T01:31:39 | 2025-04-01T04:32:36.667559 | {
"authors": [
"Haoqi7"
],
"repo": "Haoqi7/uptime",
"url": "https://github.com/Haoqi7/uptime/issues/4998",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2497533409 | 🛑 One网盘 is down
In 362896a, One网盘 (https://pan.haoqiyun.tk/) was down:
HTTP code: 504
Response time: 11820 ms
Resolved: One网盘 is back up in 68b5623 after 11 minutes.
| gharchive/issue | 2024-08-30T15:29:33 | 2025-04-01T04:32:36.669852 | {
"authors": [
"Haoqi7"
],
"repo": "Haoqi7/uptime",
"url": "https://github.com/Haoqi7/uptime/issues/5033",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1182007589 | 🛑 Happy Vibes Bot 2 is down
In b322bfa, Happy Vibes Bot 2 ($BOT2) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Happy Vibes Bot 2 is back up in 54b22ae.
| gharchive/issue | 2022-03-26T19:28:18 | 2025-04-01T04:32:36.676308 | {
"authors": [
"samosaman73"
],
"repo": "Happy-Vibes-Bot/status",
"url": "https://github.com/Happy-Vibes-Bot/status/issues/1268",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
971322723 | 🛑 Happy Vibes Bot 5 is down
In b6adeea, Happy Vibes Bot 5 ($BOT5) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Happy Vibes Bot 5 is back up in 37f45e5.
| gharchive/issue | 2021-08-16T03:10:58 | 2025-04-01T04:32:36.678330 | {
"authors": [
"samosaman73"
],
"repo": "Happy-Vibes-Bot/status",
"url": "https://github.com/Happy-Vibes-Bot/status/issues/13",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1410543895 | 🛑 Happy Vibes Bot 1 is down
In cc331e8, Happy Vibes Bot 1 ($BOT1) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Happy Vibes Bot 1 is back up in e572be9.
| gharchive/issue | 2022-10-16T16:38:01 | 2025-04-01T04:32:36.680379 | {
"authors": [
"samosaman73"
],
"repo": "Happy-Vibes-Bot/status",
"url": "https://github.com/Happy-Vibes-Bot/status/issues/3636",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1867627319 | 🛑 Happy Vibes Bot 5 is down
In ef473b4, Happy Vibes Bot 5 ($BOT5) was down:
HTTP code: 502
Response time: 22030 ms
Resolved: Happy Vibes Bot 5 is back up in 5bff447 after 744 days, 2 hours, 33 minutes.
| gharchive/issue | 2023-08-25T20:09:44 | 2025-04-01T04:32:36.682433 | {
"authors": [
"samosaman73"
],
"repo": "Happy-Vibes-Bot/status",
"url": "https://github.com/Happy-Vibes-Bot/status/issues/5618",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2028237923 | 🛑 Happy Vibes Bot 1 is down
In 1db3ae2, Happy Vibes Bot 1 ($BOT1) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Happy Vibes Bot 1 is back up in 6716398 after 8 minutes.
| gharchive/issue | 2023-12-06T10:33:13 | 2025-04-01T04:32:36.684642 | {
"authors": [
"samosaman73"
],
"repo": "Happy-Vibes-Bot/status",
"url": "https://github.com/Happy-Vibes-Bot/status/issues/5887",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
471595284 | 请教一个问题
我想把UIBezierPath的线转换成Metal绘制出来,该用什么思路去实现呢?
例如我从paintCode得到一段绘制代码:
//绘制swift logo
var bezierPath = UIBezierPath()
bezierPath.moveToPoint(CGPointMake(96.14, 86.59))
bezierPath.addCurveToPoint(CGPointMake(56.82, 94.83), controlPoint1: CGPointMake(81.83, 85.02), controlPoint2: CGPointMake(87.1, 95.75))
bezierPath.addCurveToPoint(CGPointMake(20.01, 79.31), controlPoint1: CGPointMake(42.17, 94.39), controlPoint2: CGPointMake(29.06, 87.05))
bezierPath.addCurveToPoint(CGPointMake(5.25, 62.38), controlPoint1: CGPointMake(10.35, 71.06), controlPoint2: CGPointMake(5.25, 62.38))
bezierPath.addCurveToPoint(CGPointMake(35.2, 74.85), controlPoint1: CGPointMake(5.25, 62.38), controlPoint2: CGPointMake(17.28, 72.33))
bezierPath.addCurveToPoint(CGPointMake(64.02, 69.54), controlPoint1: CGPointMake(53.11, 77.37), controlPoint2: CGPointMake(64.02, 69.54))
bezierPath.addCurveToPoint(CGPointMake(37.43, 44.73), controlPoint1: CGPointMake(64.02, 69.54), controlPoint2: CGPointMake(49.91, 58.13))
bezierPath.addCurveToPoint(CGPointMake(14.97, 16.34), controlPoint1: CGPointMake(24.96, 31.34), controlPoint2: CGPointMake(14.97, 16.34))
bezierPath.addCurveToPoint(CGPointMake(40.56, 37.05), controlPoint1: CGPointMake(14.97, 16.34), controlPoint2: CGPointMake(31.85, 30.51))
bezierPath.addCurveToPoint(CGPointMake(56.82, 47.75), controlPoint1: CGPointMake(45.62, 40.86), controlPoint2: CGPointMake(56.82, 47.75))
bezierPath.addCurveToPoint(CGPointMake(43.08, 32.22), controlPoint1: CGPointMake(56.82, 47.75), controlPoint2: CGPointMake(47.12, 37.33))
bezierPath.addCurveToPoint(CGPointMake(27.99, 11.26), controlPoint1: CGPointMake(37.51, 25.17), controlPoint2: CGPointMake(27.99, 11.26))
bezierPath.addCurveToPoint(CGPointMake(55.05, 35.46), controlPoint1: CGPointMake(27.99, 11.26), controlPoint2: CGPointMake(45.04, 27.34))
bezierPath.addCurveToPoint(CGPointMake(78.26, 52.03), controlPoint1: CGPointMake(61.79, 40.93), controlPoint2: CGPointMake(78.26, 52.03))
bezierPath.addCurveToPoint(CGPointMake(80.71, 31.34), controlPoint1: CGPointMake(78.26, 52.03), controlPoint2: CGPointMake(81.63, 45.61))
bezierPath.addCurveToPoint(CGPointMake(69.08, 3), controlPoint1: CGPointMake(79.8, 17.06), controlPoint2: CGPointMake(69.08, 3))
bezierPath.addCurveToPoint(CGPointMake(97.29, 34.58), controlPoint1: CGPointMake(69.08, 3), controlPoint2: CGPointMake(89.12, 14.76))
bezierPath.addCurveToPoint(CGPointMake(100.25, 67.8), controlPoint1: CGPointMake(105.45, 54.4), controlPoint2: CGPointMake(100.25, 67.8))
bezierPath.addCurveToPoint(CGPointMake(107.29, 81.07), controlPoint1: CGPointMake(100.25, 67.8), controlPoint2: CGPointMake(104.47, 72.3))
bezierPath.addCurveToPoint(CGPointMake(107.96, 96.25), controlPoint1: CGPointMake(110.12, 89.84), controlPoint2: CGPointMake(107.96, 96.25))
bezierPath.addCurveToPoint(CGPointMake(96.14, 86.59), controlPoint1: CGPointMake(107.96, 96.25), controlPoint2: CGPointMake(105.27, 87.59))
bezierPath.closePath()
我想把这个图形,使用MaLiang的库绘制出来,还请大神指点一下。
我觉得这个问题就是如何把UIBezierPath转成 [MLLine],
然后调用open func render(lines: [MLLine])
有什么推荐的方法吗?
从’UIBezierPath’直接取点比较复杂,目前可以使用MaLiang内置的贝塞尔曲线工具类。
后面我可能会想办法将贝塞尔曲线的计算逻辑迁移到UIBezierPath类上面去
像我这种需求的话,BezierGenerator这个类该如何去使用呢?如果能讲解一下思路,感激不尽。
@make1a 仔细看了下,你这个是三阶贝塞尔曲线了,BezierGenerator目前只实现了二阶贝塞尔曲线,暂时无法满足你的需求。
目前可行的办法是对 UIBezierPath 进行采样取点,然后把得到的点用 renderLines 方法绘制出来。由于UIBezierPath内部实际并不是点的集合,所以取点比较麻烦,资料也比较少,粗略找了下找个帖子, 没有实际操作过,你可以尝试下。
@Harley-xk 您好,我使用以下代码尝试导出UIBezierPath 点集合的方式
extension CGPath {
func forEach( body: @escaping @convention(block) (CGPathElement) -> Void) {
typealias Body = @convention(block) (CGPathElement) -> Void
let callback: @convention(c) (UnsafeMutableRawPointer, UnsafePointer<CGPathElement>) -> Void = { (info, element) in
let body = unsafeBitCast(info, to: Body.self)
body(element.pointee)
}
//print(MemoryLayout.size(ofValue: body))
let unsafeBody = unsafeBitCast(body, to: UnsafeMutableRawPointer.self)
self.apply(info: unsafeBody, function: unsafeBitCast(callback, to: CGPathApplierFunction.self))
}
func getPathElementsPoints() -> [CGPoint] {
var arrayPoints : [CGPoint]! = [CGPoint]()
self.forEach { element in
switch (element.type) {
case CGPathElementType.moveToPoint:
arrayPoints.append(element.points[0])
case .addLineToPoint:
arrayPoints.append(element.points[0])
case .addQuadCurveToPoint:
arrayPoints.append(element.points[0])
arrayPoints.append(element.points[1])
case .addCurveToPoint:
arrayPoints.append(element.points[0])
arrayPoints.append(element.points[1])
arrayPoints.append(element.points[2])
default: break
}
}
return arrayPoints
}
func getPathElementsPointsAndTypes() -> ([CGPoint],[CGPathElementType]) {
var arrayPoints : [CGPoint]! = [CGPoint]()
var arrayTypes : [CGPathElementType]! = [CGPathElementType]()
self.forEach { element in
switch (element.type) {
case CGPathElementType.moveToPoint:
arrayPoints.append(element.points[0])
arrayTypes.append(element.type)
case .addLineToPoint:
arrayPoints.append(element.points[0])
arrayTypes.append(element.type)
case .addQuadCurveToPoint:
arrayPoints.append(element.points[0])
arrayPoints.append(element.points[1])
arrayTypes.append(element.type)
arrayTypes.append(element.type)
case .addCurveToPoint:
arrayPoints.append(element.points[0])
arrayPoints.append(element.points[1])
arrayPoints.append(element.points[2])
arrayTypes.append(element.type)
arrayTypes.append(element.type)
arrayTypes.append(element.type)
default: break
}
}
return (arrayPoints,arrayTypes)
}
}
绘制一个swift logo时发现,这种方式无法绘制曲线。
var bezierPath = UIBezierPath()
bezierPath.move(to: CGPointMake(96.14, 86.59))
bezierPath.addCurve(to: CGPointMake(56.82, 94.83), controlPoint1: CGPointMake(81.83, 85.02), controlPoint2: CGPointMake(87.1, 95.75))
bezierPath.addCurve(to: CGPointMake(20.01, 79.31), controlPoint1: CGPointMake(42.17, 94.39), controlPoint2: CGPointMake(29.06, 87.05))
bezierPath.addCurve(to: CGPointMake(5.25, 62.38), controlPoint1: CGPointMake(10.35, 71.06), controlPoint2: CGPointMake(5.25, 62.38))
bezierPath.addCurve(to: CGPointMake(35.2, 74.85), controlPoint1: CGPointMake(5.25, 62.38), controlPoint2: CGPointMake(17.28, 72.33))
bezierPath.addCurve(to: CGPointMake(64.02, 69.54), controlPoint1: CGPointMake(53.11, 77.37), controlPoint2: CGPointMake(64.02, 69.54))
bezierPath.addCurve(to: CGPointMake(37.43, 44.73), controlPoint1: CGPointMake(64.02, 69.54), controlPoint2: CGPointMake(49.91, 58.13))
bezierPath.addCurve(to: CGPointMake(14.97, 16.34), controlPoint1: CGPointMake(24.96, 31.34), controlPoint2: CGPointMake(14.97, 16.34))
bezierPath.addCurve(to: CGPointMake(40.56, 37.05), controlPoint1: CGPointMake(14.97, 16.34), controlPoint2: CGPointMake(31.85, 30.51))
bezierPath.addCurve(to: CGPointMake(56.82, 47.75), controlPoint1: CGPointMake(45.62, 40.86), controlPoint2: CGPointMake(56.82, 47.75))
bezierPath.addCurve(to: CGPointMake(43.08, 32.22), controlPoint1: CGPointMake(56.82, 47.75), controlPoint2: CGPointMake(47.12, 37.33))
bezierPath.addCurve(to: CGPointMake(27.99, 11.26), controlPoint1: CGPointMake(37.51, 25.17), controlPoint2: CGPointMake(27.99, 11.26))
bezierPath.addCurve(to: CGPointMake(55.05, 35.46), controlPoint1: CGPointMake(27.99, 11.26), controlPoint2: CGPointMake(45.04, 27.34))
bezierPath.addCurve(to: CGPointMake(78.26, 52.03), controlPoint1: CGPointMake(61.79, 40.93), controlPoint2: CGPointMake(78.26, 52.03))
bezierPath.addCurve(to: CGPointMake(80.71, 31.34), controlPoint1: CGPointMake(78.26, 52.03), controlPoint2: CGPointMake(81.63, 45.61))
bezierPath.addCurve(to: CGPointMake(69.08, 3), controlPoint1: CGPointMake(79.8, 17.06), controlPoint2: CGPointMake(69.08, 3))
bezierPath.addCurve(to: CGPointMake(97.29, 34.58), controlPoint1: CGPointMake(69.08, 3), controlPoint2: CGPointMake(89.12, 14.76))
bezierPath.addCurve(to: CGPointMake(100.25, 67.8), controlPoint1: CGPointMake(105.45, 54.4), controlPoint2: CGPointMake(100.25, 67.8))
bezierPath.addCurve(to: CGPointMake(107.29, 81.07), controlPoint1: CGPointMake(100.25, 67.8), controlPoint2: CGPointMake(104.47, 72.3))
bezierPath.addCurve(to: CGPointMake(107.96, 96.25), controlPoint1: CGPointMake(110.12, 89.84), controlPoint2: CGPointMake(107.96, 96.25))
bezierPath.addCurve(to: CGPointMake(96.14, 86.59), controlPoint1: CGPointMake(107.96, 96.25), controlPoint2: CGPointMake(105.27, 87.59))
bezierPath.close()
let myOval = bezierPath.cgPath
let allPoints = myOval.getPathElementsPoints()
var lastPoint: CGPoint?
var array = [MLLine]()
for point in allPoints {
let line = MLLine.init(begin: lastPoint ?? point, end: point, pointSize: 2, pointStep: 0.5, color: MLColor.black)
array.append(line)
lastPoint = point
}
canvas.render(lines: array)
func CGPointMake(_ x: CGFloat, _ y: CGFloat) -> CGPoint {
return CGPoint.init(x: x, y: y)
}
不知道有什么方法可以改进一下曲线的问题吗?如果有的话,感觉可以用MaLiang的库和paintCode 软件结合起来,做更多有趣的事情
我修改了一下代码,使用了BezierGenerator实现了想要的功能。
//绘制swift logo
var bezierPath = UIBezierPath()
bezierPath.move(to: CGPointMake(96.14, 86.59))
bezierPath.addCurve(to: CGPointMake(56.82, 94.83), controlPoint1: CGPointMake(81.83, 85.02), controlPoint2: CGPointMake(87.1, 95.75))
bezierPath.addCurve(to: CGPointMake(20.01, 79.31), controlPoint1: CGPointMake(42.17, 94.39), controlPoint2: CGPointMake(29.06, 87.05))
bezierPath.addCurve(to: CGPointMake(5.25, 62.38), controlPoint1: CGPointMake(10.35, 71.06), controlPoint2: CGPointMake(5.25, 62.38))
bezierPath.addCurve(to: CGPointMake(35.2, 74.85), controlPoint1: CGPointMake(5.25, 62.38), controlPoint2: CGPointMake(17.28, 72.33))
bezierPath.addCurve(to: CGPointMake(64.02, 69.54), controlPoint1: CGPointMake(53.11, 77.37), controlPoint2: CGPointMake(64.02, 69.54))
bezierPath.addCurve(to: CGPointMake(37.43, 44.73), controlPoint1: CGPointMake(64.02, 69.54), controlPoint2: CGPointMake(49.91, 58.13))
bezierPath.addCurve(to: CGPointMake(14.97, 16.34), controlPoint1: CGPointMake(24.96, 31.34), controlPoint2: CGPointMake(14.97, 16.34))
bezierPath.addCurve(to: CGPointMake(40.56, 37.05), controlPoint1: CGPointMake(14.97, 16.34), controlPoint2: CGPointMake(31.85, 30.51))
bezierPath.addCurve(to: CGPointMake(56.82, 47.75), controlPoint1: CGPointMake(45.62, 40.86), controlPoint2: CGPointMake(56.82, 47.75))
bezierPath.addCurve(to: CGPointMake(43.08, 32.22), controlPoint1: CGPointMake(56.82, 47.75), controlPoint2: CGPointMake(47.12, 37.33))
bezierPath.addCurve(to: CGPointMake(27.99, 11.26), controlPoint1: CGPointMake(37.51, 25.17), controlPoint2: CGPointMake(27.99, 11.26))
bezierPath.addCurve(to: CGPointMake(55.05, 35.46), controlPoint1: CGPointMake(27.99, 11.26), controlPoint2: CGPointMake(45.04, 27.34))
bezierPath.addCurve(to: CGPointMake(78.26, 52.03), controlPoint1: CGPointMake(61.79, 40.93), controlPoint2: CGPointMake(78.26, 52.03))
bezierPath.addCurve(to: CGPointMake(80.71, 31.34), controlPoint1: CGPointMake(78.26, 52.03), controlPoint2: CGPointMake(81.63, 45.61))
bezierPath.addCurve(to: CGPointMake(69.08, 3), controlPoint1: CGPointMake(79.8, 17.06), controlPoint2: CGPointMake(69.08, 3))
bezierPath.addCurve(to: CGPointMake(97.29, 34.58), controlPoint1: CGPointMake(69.08, 3), controlPoint2: CGPointMake(89.12, 14.76))
bezierPath.addCurve(to: CGPointMake(100.25, 67.8), controlPoint1: CGPointMake(105.45, 54.4), controlPoint2: CGPointMake(100.25, 67.8))
bezierPath.addCurve(to: CGPointMake(107.29, 81.07), controlPoint1: CGPointMake(100.25, 67.8), controlPoint2: CGPointMake(104.47, 72.3))
bezierPath.addCurve(to: CGPointMake(107.96, 96.25), controlPoint1: CGPointMake(110.12, 89.84), controlPoint2: CGPointMake(107.96, 96.25))
bezierPath.addCurve(to: CGPointMake(96.14, 86.59), controlPoint1: CGPointMake(107.96, 96.25), controlPoint2: CGPointMake(105.27, 87.59))
bezierPath.close()
let myOval = bezierPath.cgPath
let allPoints = myOval.getPathElementsPoints()
var lastPoint: CGPoint?
var array = [MLLine]()
let bz = BezierGenerator.init(beginPoint: allPoints.first!)
for point in allPoints {
// let line = MLLine.init(begin: lastPoint ?? point, end: point, pointSize: 2, pointStep: 0.5, color: MLColor.black)
// bz.pushPoint(point)
// array.append(line)
// lastPoint = point
canvas.currentBrush.pointSize = 2
canvas.pushPoint(point, to: canvas.bezierGenerator, force: 1)
}
有一点小瑕疵,猜想应该是pushPoint 没有传入isEnd = true 导致的吧?
isEnd 属性不会影响单个笔画的表现的,这个缺口应该是 UIBezierPath 取样的误差导致的。
可以试一下把起点直接传给 Canvas 再多画一条线出来
把起点传进去之后缺口更大了。
| gharchive/issue | 2019-07-23T09:48:29 | 2025-04-01T04:32:36.706841 | {
"authors": [
"Harley-xk",
"make1a"
],
"repo": "Harley-xk/MaLiang",
"url": "https://github.com/Harley-xk/MaLiang/issues/52",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
723981686 | Added Huffman Encoder in java
Description
Please include a summary of the program i.e what problem it solves.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have added my code in its respective language folder.
[x] I have mentioned a short description about the code at the beginning of the program.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have not deleted any files that already exist in the repository.
Huffman Encoder is an algorithm to encode a string in a very confidential manner so that no other person can decode it and do misuse of it.
| gharchive/pull-request | 2020-10-18T11:02:25 | 2025-04-01T04:32:36.710164 | {
"authors": [
"gauravkhatri2698"
],
"repo": "Harshsngh07/Hacktoberfest2020",
"url": "https://github.com/Harshsngh07/Hacktoberfest2020/pull/322",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1961054095 | Added mergesortfile
added a merge sort file using c++
It shows excluded on hacktober fest website y is it so?? How can I resolve
it ?
On Wed, Oct 25, 2023, 5:51 PM Harshwardhan Patil @.***>
wrote:
Merged #268
https://github.com/HarshwardhanPatil07/HactoberFest2023/pull/268 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/HarshwardhanPatil07/HactoberFest2023/pull/268#event-10766645000,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWEEYAT3PTFFAWIWFZB7NODYBD725AVCNFSM6AAAAAA6PD6K5GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQG43DMNRUGUYDAMA
.
You are receiving this because you authored the thread.Message ID:
<HarshwardhanPatil07/HactoberFest2023/pull/268/issue_event/10766645000@
github.com>
| gharchive/pull-request | 2023-10-25T10:22:51 | 2025-04-01T04:32:36.714393 | {
"authors": [
"Swathi1203"
],
"repo": "HarshwardhanPatil07/HactoberFest2023",
"url": "https://github.com/HarshwardhanPatil07/HactoberFest2023/pull/268",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
95029727 | Trigger onRoundEnd when startNewRound is called in the middle of a round
In https://github.com/HarvardEconCS/turkserver-meteor/blob/master/lib/timers_server.jsx the code to update a round end time is in two places (startNewRound and endCurrentRound) but onRoundEnd is only called in one of them.
This should be fixed after @ldworkin's current project reaches a good break point.
@ldworkin: the onRoundEnd handler is now called with a constant indicating why a round ended, so you can use it like the following:
TurkServer.onRoundEnd( function (reason) {
if (reason === TurkServer.Timers.ROUND_END_TIMEOUT) {
// ...
}
});
See also
https://github.com/HarvardEconCS/turkserver-meteor/blob/master/lib/timers_server.jsx#L7
| gharchive/issue | 2015-07-14T20:14:35 | 2025-04-01T04:32:36.719042 | {
"authors": [
"mizzao"
],
"repo": "HarvardEconCS/turkserver-meteor",
"url": "https://github.com/HarvardEconCS/turkserver-meteor/issues/19",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
1684203416 | Supress pre-scan summary when input is a single file
We added the ability to scan a directory (and subdirectories) as some breaches contain multiple files. However, it's often only a single file so printing the summary of file types and sized is redundant and the scan should just begin immediately. For example, this is unnecessary
Found 1 files:
- .txt: 1 files : 44 bytes
Press ANY KEY to continue ['Q' to Quit; 'I' for info].
Scratch that, missed the "-y" arg 🤦♂️
| gharchive/issue | 2023-04-26T03:26:49 | 2025-04-01T04:32:36.752406 | {
"authors": [
"troyhunt"
],
"repo": "HaveIBeenPwned/EmailAddressExtractor",
"url": "https://github.com/HaveIBeenPwned/EmailAddressExtractor/issues/30",
"license": "BSD-3-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1242407268 | 🛑 Microsoft Minecraft API is down
In 0e4e593, Microsoft Minecraft API (https://api.minecraftservices.com/authentication/login_with_xbox) was down:
HTTP code: 502
Response time: 659 ms
Resolved: Microsoft Minecraft API is back up in 4819be7.
| gharchive/issue | 2022-05-19T22:52:33 | 2025-04-01T04:32:36.754881 | {
"authors": [
"drori200"
],
"repo": "HavenCoreNetwork/havencore-status-page",
"url": "https://github.com/HavenCoreNetwork/havencore-status-page/issues/45",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1328279480 | 🛑 [Server] Main Server is down
In d5437d8, [Server] Main Server (https://heartsdo.omg.lol) was down:
HTTP code: 0
Response time: 0 ms
Resolved: [Server] Main Server is back up in df7942a.
| gharchive/issue | 2022-08-04T08:45:33 | 2025-04-01T04:32:36.787350 | {
"authors": [
"heartsbot-dev"
],
"repo": "HeartsDo-Dev/YnH-Instance-Status",
"url": "https://github.com/HeartsDo-Dev/YnH-Instance-Status/issues/147",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1263396025 | Swipe up quickly and then swipe down quickly, the modal won't dismiss?
Describe the bug
Firstly, I swipe up the modal view quickly, and then swipe down quickly, the modal view won't dismiss as expected. It should dismiss when I swipe down quickly. In addition, it can dismiss if I swipe down quickly without the swiping up first.
To Reproduce
Steps to reproduce the behavior:
Swipe up quickly first.
Swipe down quickly.
The modal does not dismiss as expected.
Expected behavior
The modal should always dismiss as long as I swipe down quickly each time.
Screenshots
No screenshots needed.
Smartphone (please complete the following information):
Device: iPhone7
OS: 14.8.1
Version HWPanModal (= 0.8.9)
Additional context
I found some code snippets here.
- (void)handleDragUpState:(PresentationState)state {
switch (state) {
case PresentationStateLong:
[self transitionToState:PresentationStateLong];
[self cancelInteractiveTransition];
break;
case PresentationStateMedium:
[self transitionToState:PresentationStateLong];
[self cancelInteractiveTransition];
break;
case PresentationStateShort:
[self transitionToState:PresentationStateMedium];
[self cancelInteractiveTransition];
break;
default:
break;
}
}
if I swipe up quickly first, the case PresentationStateShort: will be called and the state will be PresentationStateMedium. Then I swipe down quickly to dismiss the modal, but It does not because the state has been reset to PresentationStateMedium.
Now as a temporary solution, I have to force to reset the state via overriding the super method - (void)didChangeTransitionToState:(PresentationState)state in HomePanModalSubView(Inherit from HWPanModalContentView) as follows:
- (void)didChangeTransitionToState:(PresentationState)state {
if (state != PresentationStateShort) {
// Force to reset the state to PresentationStateShort] here.
[self hw_panModalTransitionTo:PresentationStateShort];
}
}
Is it a bug or is that right for the solution above? Or it's designed as expected? Any answer will be appreciated.
it seems you set the mode as short -> medium -> long, now the design like this.
If you just set short -> long mode, it should not have this issue.
I check the drag logic, the design is: When the short, medium, long are different, it will go to next state, unless you are in short, you can drag to dismiss directly.
Thank you for reply. If that, swiping up first(the state changed to PresentationStateMedium), then I have to swipe down twice to dismiss the modal, which may be redundant.
As the solution seen above, can I do like that to insure that the modal can always swipe down to dismiss directly each time even after firstly swiping up?
@HeathWang
Now I try another way to avoid this problem like
// Override super method. Returns NO.
- (BOOL)shouldTransitionToState:(PresentationState)state {
return NO;
}
It also seems to solve the problem. As for two ways, which one is better?
yes, if you have tested, you can do like that.
Ok, thanks a lot. Closing the issue.
I have published HWPanModal (0.9.2).
Add a new API - (void)hw_dismissAnimated:(BOOL)animated completion:(void (^)(void))completion.
now for your case, you can handle like this:
// override this protocol
- (void)didEndRespondToPanModalGestureRecognizer:(UIPanGestureRecognizer *)panGestureRecognizer {
CGPoint velocity = [panGestureRecognizer velocityInView:self.hw_contentView];
// decide the velocity.y value you want to dismiss
// for ViewController, you can call `isBeingDismissed`, for view, you can get the dismiss start from `- (void)panModalWillDismiss;` delegate
if (velocity.y > 200 && !self.isBeingDismissed) {
[self hw_dismissAnimated:YES completion:^{
// do something.
}];
}
}
| gharchive/issue | 2022-06-07T14:27:00 | 2025-04-01T04:32:36.796227 | {
"authors": [
"HeathWang",
"lchenfox"
],
"repo": "HeathWang/HWPanModal",
"url": "https://github.com/HeathWang/HWPanModal/issues/120",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2261659015 | Updated version tag no. for docker-compose.yml
Updated version tag no. for docker-compose.yml
Thank you :)
| gharchive/pull-request | 2024-04-24T16:05:31 | 2025-04-01T04:32:36.860080 | {
"authors": [
"bjarneo",
"trulow"
],
"repo": "HemmeligOrg/Hemmelig.app",
"url": "https://github.com/HemmeligOrg/Hemmelig.app/pull/295",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
212533572 | Crash with fallback GET route
If you run the following test app:
var express = require('express');
var app = express();
require('express-ws')(app);
app.ws('/test', function(ws, req) {
console.log('incoming connection');
});
app.get('/*', function(req, res, next){
res.sendFile(__dirname + '/test.html');
});
app.listen(3000);
When you make a WebSocket request to ws://localhost:3000/invalidroute, the process crashes with the following exception:
http_outgoing.js:135
this.outputSize += this._header.length;
^
TypeError: Cannot read property 'length' of null
at ServerResponse.OutgoingMessage._send (_http_outgoing.js:135:38)
at ServerResponse.OutgoingMessage.write (_http_outgoing.js:477:16)
at ReadStream.ondata (_stream_readable.js:536:20)
at emitOne (events.js:90:13)
at ReadStream.emit (events.js:182:7)
at readableAddChunk (_stream_readable.js:153:18)
at ReadStream.Readable.push (_stream_readable.js:111:10)
at onread (fs.js:1818:12)
at FSReqWrap.wrapper [as oncomplete] (fs.js:614:17)
I'll have to look into this further to confirm, but I'm fairly sure that the issue is caused by the 'fake' GET route that's created for each .ws endpoint. If so, this might be a tricky one to fix...
Another case from #46:
app.get("*", (req, res, next) => { /* ... */ })
Two other cases from #65:
app.use((req, res, next) => { /* ... */ })
app.use("/", (req, res, next) => { /* ... */ })
And the culprit here would probably be:
app.get("/*", (req, res, next) => { /* ... */ })
In other words, the culprit seems to be with with any kind of wildcard-y route that matches the fake GET route created by express-ws.
Maybe this is a dumb question, but I still don't get why the /.websocket is necessary. It says here it is so that it can be distinguished from a normal GET request. But doesn't the protocol (i.e., ws or wss) in the URL distinguish it already?
Express has no awareness of "protocol" - all it sees is HTTP requests and responses, with methods. Technically speaking, WebSockets aren't an independent protocol anyway; a WebSocket connection is established using an upgrade request, which is the same as a regular HTTP request from a protocol perspective.
Express also has no concept of WebSockets - it expects every HTTP request to be followed up by a HTTP response, after which the connection is closed. So what express-ws does is essentially creating a 'fake' GET route, and sending the upgrade request + a dummy response object through it. This makes Express think it's a regular HTTP request, executing all the applicable middleware, and so on.
However, you can't just create a regular GET route at the same path as every WebSocket path - if an application does the following:
router.get("/foo", (req, res) => {
// ...
});
router.ws("/foo", (ws, req) => {
// ...
});
... then you want to treat these two routes as entirely separate routes with entirely separate behaviour. If express-ws did the naive thing and created a fake router.get("/foo") for the router.ws("/foo"), this would conflict with the existing /foo route, and break things as a result.
That's why express-ws instead suffixes the path with .websocket. It's highly unlikely that somebody would manually specify a regular route that has the same path as a .ws route and ends in .websocket, so this prevents conflicts.
Interesting. I was fully aware that websockets were just upgraded HTTP requests. But I didn't realize that there were no artifacts in the request that pointed to a web request.
I also understand the fact that you can't really have two handlers for the same HTTP request absent some way within the request itself to disambiguate them (what I thought the protocol would do, but apparently not). So in that sense, I understand the need now for the fake GET handler. However, I think the choice of appending .websocket clearly isn't the best solution. You say nobody would have a normal route that ended in .websocket. But, of course, we've seen in practice that it is entirely reasonable to have routes that end in *, so that is a bit problem.
I'm curious, wouldn't it be better to prefix the requests? It is seems quite easy for the developer of the application to carve out some part of the hierarchy for web socket handlers. In fact, a simple solution of prepending .websocket to the route has the same "unlikely to collide" with another route possibility (with the exception of /*, but that is easily worked around with a little regexp magic) but has the benefit over appending that you actually could handle *, i.e.,
/foo/* -> /.websocket/foo/* (no problem)
This rule about building the fake handlers is encapsulated in the library. Wouldn't it be simple to switch to this alternative strategy? I could even imagine allowing users to override this by providing their own transformation function that takes the original path as an input and returns the fake path.
Just some ideas.
Prefixing was how it was implemented previously, but this breaks when using routers (see also this comment). Routers will 'chomp off' a part of the path when mounted as a prefix, which means that the .websocket/ prefix wouldn't be at the start of the path, but rather just at the start of the path within the router.
This is a problem because the 'fake' GET request is created in the server connection handler (here), and that code has no knowledge of which WebSocket routes are mounted on what routers, so it will just prefix the entire path with ./websocket.
This means that if you do the following:
const express = require("express");
let app = express();
let router = express.Router();
router.ws("/bar", (ws, req) => {
// ...
});
app.use("/foo", router);
app.listen(3000);
... then when a WebSocket request for /foo/bar comes in, there's a disconnect between what the .ws route thinks the URL is, and what the server connection handle thinks the URL is:
The .ws route thinks the fake URL is /foo/.websocket/bar
The connection handler thinks the fake URL is /.websocket/foo/bar
That's why the .websocket bit is suffixed instead. No matter how many mountpoints you add into the mix, the fake URLs always match up:
The .ws route thinks the fake URL is /foo/bar/.websocket
The connection handler thinks the fake URL is /foo/bar/.websocket
Actually, I was just reading RFC 6455. Why can't you simply differentiate the requests based on the presence of the header Sec-WebSocket-Key? If that is there, this is a websocket requests. If not, it is normal GET request. It seems like then you could avoid the fake handler and just implement this as middleware with that logic. I'm guessing you thought of that too. But I figured it is worth asking even if only to help me understand better.
Because this would require changes to Express core, since it has no awareness of WebSockets whatsoever. The reason it works how it does now, is so that express-ws doesn't have to replicate the middleware implementation; it can simply pass off the req to Express and let it worry about executing middleware correctly, as if it were a normal request (which is critical for integration with eg. express-session).
The problem isn't that express-ws can't detect WebSocket requests, it's that Express itself won't care about them, and doesn't distinguish them from regular GET requests to the same route. So the fake route is used as a hack to isolate the WebSocket-specific logic while still taking advantage of the rest of Express' mechanisms.
Is there any workaround on this?
@suhasdeshpande just make sure any wildcard routes you have defined do not match the 'fake' route.
@ryanph how can I do this if I want to match all routes and render a default page for them?
Ok I solved it
the * route (everything except /websocket
router.get(/^.(?!websocket).*$/, (req, res) => {
res.render('angular/index', { environment: app.get('env') });
});
move the websocket to /websocket
app.ws('/websocket', (ws, req) => {
...
});
webSocketServer = expressWs.getWss('/websocket');
The root cause of the error is that the module is incorrectly overwriting the Node.js core method res.writeHead here: https://github.com/HenningM/express-ws/blob/master/src/index.js#L60-L65
The problem is that Node.js core is expecting that the call to res.writeHead sets a string to res._header, but the express-ws module does not do that. Ideally it should perform the same functions has the res.writeHead it is replacing or monkey patch more methods in Node.js core to achieve whatever it is trying to achieve (like perhaps it should be mokey-patching the res._send method instead of res.writeHead if it wants to block writes?).
I hope this helps. I'll funnel over the Express users who are encountering this issue to this thread.
Any progress?
I'm working on a project that has a middleware to catch all paths that don't match any route and return an HTML file.
To overcome the problem described in this issue, we added a check in the middleware to skip its action if the request contains the WebSocket header:
const frontendMiddleware = (req, res) => {
if (req.header('sec-websocket-version') === undefined) {
res.sendFile(path.join(FRONTEND_ROOT, 'build', 'index.html'))
}
}
app.use(frontendMiddleware)
| gharchive/issue | 2017-03-07T19:27:10 | 2025-04-01T04:32:36.881491 | {
"authors": [
"corruptmem",
"dougwilson",
"fyodor123",
"joepie91",
"nicolasiensen",
"ryanph",
"select",
"suhasdeshpande",
"xogeny"
],
"repo": "HenningM/express-ws",
"url": "https://github.com/HenningM/express-ws/issues/64",
"license": "bsd-2-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
1606373203 | Add grammar to context
Sometimes constraints need to access the grammar.
Therefore, we should also include a reference to the grammar in the GrammarContext
This branch contains no new changes now, so I will delete it.
| gharchive/pull-request | 2023-03-02T08:56:36 | 2025-04-01T04:32:36.897118 | {
"authors": [
"jaapdejong15"
],
"repo": "Herb-AI/Grammar.jl",
"url": "https://github.com/Herb-AI/Grammar.jl/pull/9",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
371663412 | Publish version 0.3.1
Closes #496
Coverage remained the same at 91.519% when pulling 74ab3791d769ba0bf6a5929b9dec71979cc2d9c7 on version/0.3.1 into ac6840613bfa48d97675078fee6b8fb88df7445d on master.
| gharchive/pull-request | 2018-10-18T18:51:27 | 2025-04-01T04:32:36.961499 | {
"authors": [
"coveralls",
"victorhugorodrigues"
],
"repo": "HewlettPackard/oneview-redfish-toolkit",
"url": "https://github.com/HewlettPackard/oneview-redfish-toolkit/pull/497",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
605577182 | self-update breaks script when GitHub is down
Running sudo rpi-update results in a broken rpi-update script, when GitHub is responding with 500/503 errors.
For me at the moment, https://raw.githubusercontent.com/Hexxeh/rpi-update/master/rpi-update responds 500: Internal Server Error. This is a general GitHub problem, not specific to rpi-update.
The problem is that the script does not detect the 500 code, and overwrites itself with this error response. So it will remain broken, even when GitHub is up again. Suggestion: it should only overwrite itself if the HTTP response is 200.
(As a workaround to download a valid script again, use apt install --reinstall rpi-update.)
Log:
pi@aleph:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26 100 26 0 0 1 0 0:00:26 0:00:21 0:00:05 5
*** Relaunching after update
/usr/bin/rpi-update: line 1: 500:: command not found
pi@aleph:~ $ cat /usr/bin/rpi-update
500: Internal Server Error
I'm surprised by that - the code at least appears to be checking that the result is a bash script. It's under investigation.
Thanks.
This was on a fresh Raspbian image (2020-02-13 buster lite) and I'd just run apt update && apt dist-upgrade.
If the version in apt repo is older than 22 Jul 2019 it won't contain the sanity check
https://github.com/Hexxeh/rpi-update/commit/a0c5de1e32194ed14818c93e183ca6cbb076059a
@XECDesign how old is rpi-update in apt?
For me, apt reports the latest rpi-update version is 20140705.
That's very old. I believe the issue is resolve in code from here, but apt needs an update.
Great, thanks! Do I need to file an issue somewhere else to get apt updated?
Let’s wait for a response from @XECDesign - he can get it updated.
Sorry, it's getting harder to spot mentions in all the github emails. Updated rpi-update package should show up in the repo within an hour.
Great, I can see the repo is now on version 20200409 which contains a0c5de1e32194ed14818c93e183ca6cbb076059a.
Thanks! Closing.
| gharchive/issue | 2020-04-23T14:17:31 | 2025-04-01T04:32:37.006694 | {
"authors": [
"XECDesign",
"mrankine",
"pelwell",
"popcornmix"
],
"repo": "Hexxeh/rpi-update",
"url": "https://github.com/Hexxeh/rpi-update/issues/299",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
2576876226 | Add getFormattedByte
In the FormattableTrait, add a function:
public function getFormattedByte(
to format a Byte filed in KB, MB, GB.
The suggestion is to take a look at the method getFormattedDateTime, and implement a logic similar to this one:
public static function formatBytes(string|null $bytes, $precision = 2): string
{
if (is_null($bytes)) {
$bytes = 0;
}
$kilobyte = 1024;
$megabyte = $kilobyte * 1024;
$gigabyte = $megabyte * 1024;
$terabyte = $gigabyte * 1024;
if ($bytes < $kilobyte) {
return $bytes . ' B';
}
if ($bytes < $megabyte) {
return number_format($bytes / $kilobyte, $precision) . ' KB';
}
if ($bytes < $gigabyte) {
return number_format($bytes / $megabyte, $precision) . ' MB';
}
if ($bytes < $terabyte) {
return number_format($bytes / $gigabyte, $precision) . ' GB';
}
return number_format($bytes / $terabyte, $precision) . ' TB';
}
closed in v0.4.1 with #25
| gharchive/issue | 2024-10-09T20:21:36 | 2025-04-01T04:32:37.008616 | {
"authors": [
"roberto-butti"
],
"repo": "Hi-Folks/data-block",
"url": "https://github.com/Hi-Folks/data-block/issues/24",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
179687621 | If I want to amend the definition of how to operate the font?
If I want to amend the definition of how to operate the font?
Custom fonts, How to set up
This is not currently possible.
I have flagged this as an enhancement request and will look into it.
@HiKay Thank you very much.
Any luck with this? I'd love to use DIN as a system font, but as it's a paid font there's little a developer can do to manually include this in an installer without running into licensing issues.
I hear everyone loud and clear!
The ability to choose any custom font (such as Comic Sans!) as your Mac's system font is indeed in the works. No ETAs yet.
How to modify it
For Chinese Users Only:
如果你希望修改中文的系统字体,macOSLucidaGrande 提供的方法以及 macOSLucidaGrande 更新后允许自定义英文字体的方法均不适用。
如需修改中文系统字体,可以在关闭 System Integrity Protection 后直接修改 /System/Library/Frameworks/CoreText.framework/Resources/DefaultFontFallbacks.plist,无需第三方软件。详情可参考知乎问答《如何修改 OS X 的系统默认中文字体?
》。
英文和数字 现在可以修改么?
@HiKay macOSLucidaGrande是不是马上就要更新一版,这版本可以自定义英文和数字字体?
现在 macOSLucidaGrande 还不能修改英文和数字字体。稍后推出的新应用 (发布时间未定,可能至少需要两个月或更多时间) 会增加此功能。因为新应用依赖 Wine,支持修改英文和数字字体的新应用可能明显大于 macOSLucidaGrande (可能有几百 MB)。我正在尝试解除新应用对 Wine 的依赖。
Again, macOSLucidaGrande does not yet support choosing your own customized System font. A new app (no ETA, will take at least 2 months or longer) will support this. Because the new app may depend on Wine, it may be significantly larger in its size compared to macOSLucidaGrande. Right now, I am trying to remove the dependency on Wine as best as I can.
@HiKay 有没有测试版可以先用用(依赖 Wine的也可以),感谢.
| gharchive/issue | 2016-09-28T06:06:30 | 2025-04-01T04:32:37.016646 | {
"authors": [
"HiKay",
"benmeroff",
"zb737472783"
],
"repo": "HiKay/macOSLucidaGrande",
"url": "https://github.com/HiKay/macOSLucidaGrande/issues/1",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1094678082 | Drop down menu needs to close upon click
When the link takes you to the contact us form the drop down menu will still appear and you have to close it to see the form
Had to remake the nav bar with Bulma Framework
-Nav bar now closes with click but does not take over the entire page. just goes below the hamburger button with links
| gharchive/issue | 2022-01-05T19:30:44 | 2025-04-01T04:32:37.019774 | {
"authors": [
"BurnsD"
],
"repo": "Hibo-ali/huh-food",
"url": "https://github.com/Hibo-ali/huh-food/issues/20",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
912106951 | ESV:0x73の状態変化時通知の値がDETAILsに溜まる。
もう一つ改良をお願いします。
#9 EL.parseBytes()での複数OPCの場合
エアコンに対象プロパティのESV:63状態変化通知要求を送信した後、状態変化時の通知ESV:73を受信しました。
データのプロパティが多く上記問題と同じようにDETAILsに溜まります。
主な利用目的はエアコンの赤外線リモコンの設定取得、エアコンの室内温度取得です。
ESV:73 状態変化時通知 RAWデータ
[16,129,0,36,1,48,1,14,240,1,115,3,176,1,64,241,2,48,82,250,80,237,0,0,0,5,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,52,0,0,0,0,0,0,0,0,0,0,1,0,90,0,0,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,56,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
EL.parseBytes()適用後
{"EHD":"1081","TID":"0024","SEOJ":"013001","DEOJ":"0ef001","EDATA":"7303b00140f1023052fa50ed00000005000020000000000000000000000000000001000000340000000000000000000001005a000000000000000000ff000000000000000038000100000000000000000000000000000000000000","ESV":"73","OPC":"03","DETAIL":"b00140f1023052fa50ed00000005000020000000000000000000000000000001000000340000000000000000000001005a000000000000000000ff000000000000000038000100000000000000000000000000000000000000","DETAILs":{"b0":"40","f1":"3052","fa":"ed00000005000020000000000000000000000000000001000000340000000000000000000001005a000000000000000000ff000000000000000038000100000000000000000000000000000000000000"}}
調査します
すみません,問題がよくわかりませんでした。
EDATA = 7303b00140f1023052fa50ed00000005000020000000000000000000000000000001000000340000000000000000000001005a000000000000000000ff000000000000000038000100000000000000000000000000000000000000
とのことなので,
EPC = 73
OPC = 03 (各EPC,EDTのセットがOPC=3個ある)
"b0":"40"
"f1":"3052"
"fa":"ed00000005000020000000000000000000000000000001000000340000000000000000000001005a000000000000000000ff000000000000000038000100000000000000000000000000000000000000"
は合っているような気がしました。
期待している正解例がいただければ,もう少し調査が進められると思います。
状況再現がうまくできませんでしたが、0x73ではないところで、受信時のデータ蓄積方法を変えたのでもしかしたら治っているかもしれません。また同様の問題が出るようでしたら改めてissueとしていただけますか
| gharchive/issue | 2021-06-05T05:18:08 | 2025-04-01T04:32:37.038173 | {
"authors": [
"Hiroshi-Sugimura",
"ryoma3111"
],
"repo": "Hiroshi-Sugimura/echonet-lite.js",
"url": "https://github.com/Hiroshi-Sugimura/echonet-lite.js/issues/10",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
420230688 | Include application forms for entering foreigners into voter's registry
On page for EU nationals voting in ČR, bullets-points 2 and 3 in prerequisites link to two forms that need to be also filled out if the applicant hasn't voted for EP previously. We already collect most of the required data on the Form Input Page, so if a foreigner is going via this flow, extending that page with Place and Country of Birth would enable us to generate these PDFs and offer for download as well.
Perhaps we could extend the end of Form Input page with another mandatory question "Did you previously vote for EP in ČR?" and radio-button answers "Yes" / "No, but I voted in communal (local, municipal) elections" / "No, I never voted in ČR". Based on this choice we would offer either of the forms and provide instructions where and how to deliver it.
closed wontfix
| gharchive/issue | 2019-03-12T22:17:33 | 2025-04-01T04:32:37.045015 | {
"authors": [
"zzen"
],
"repo": "HlidacStatu/Volicsky-Prukaz",
"url": "https://github.com/HlidacStatu/Volicsky-Prukaz/issues/46",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
744895136 | Remove "frozen=True" in the attr.s decorator of Business Objects
To use these objects in SQL alchemy they have to be mutable
Mist, jetzt hab ich die frozen=True in diesem Branch entfernt. Kann man dies ohne große Schmerzen rückgängig machen?
Mist, jetzt hab ich die frozen=True in diesem Branch entfernt. Kann man dies ohne große Schmerzen rückgängig machen?
revert commit? und dann ggf. cherry picken
revert commit? und dann ggf. cherry picken
erledigt. @hf-krechan : für deine saubere commit historie kannst du jetzt #16 squash mergen für alles was mit der Externen Referenz zusammenhängt und diesen hier für den frozen decorator
| gharchive/pull-request | 2020-11-17T16:34:57 | 2025-04-01T04:32:37.047289 | {
"authors": [
"hf-kklein",
"hf-krechan"
],
"repo": "Hochfrequenz/BO4E-python",
"url": "https://github.com/Hochfrequenz/BO4E-python/pull/15",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1610393503 | 🛑 Apicore Service is down
In 074f463, Apicore Service (https://az-hxg.hexabase.com/apicore/health_check) was down:
HTTP code: 0
Response time: 0 ms
Resolved: Apicore Service is back up in 1cb93c3.
| gharchive/issue | 2023-03-05T22:30:26 | 2025-04-01T04:32:37.058882 | {
"authors": [
"Hokutosei"
],
"repo": "Hokutosei/HexaUptime",
"url": "https://github.com/Hokutosei/HexaUptime/issues/504",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1076479400 | N1 67+o 单臂无法打开docker的映射端口
比如QL映射出的5700端口,我是单臂用的,请教下是不是旁路由不会有这种问题。
配置问题可以加F大的tg群讨论哈,我现在只是日常维护下固件,机器也换成x86了,没法帮你测试
比如QL映射出的5700端口,我是单臂用的,请教下是不是旁路由不会有这种问题。
| gharchive/issue | 2021-12-10T06:13:08 | 2025-04-01T04:32:37.059958 | {
"authors": [
"HoldOnBro",
"aixufan"
],
"repo": "HoldOnBro/Actions-OpenWrt",
"url": "https://github.com/HoldOnBro/Actions-OpenWrt/issues/7",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
822729998 | Very slow install of some formulas, maybe caused by Formulary::FormulaLoader
brew config output
HOMEBREW_VERSION: 3.0.4-32-g0b2a459
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0b2a459a6bbb78c44239cdabfcb4d140950ba215
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 0d818d6efcf2fc6bfeee0842ffbeb339e624ea2d
Core tap last commit: 4 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit haswell
Clang: N/A
Git: 2.25.1 => /bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 5.4.0-65-generic x86_64 GNU/Linux
OS: KDE neon User Edition 5.21 (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: 2.7.0
glibc: N/A
gcc@5: N/A
xorg: N/A
brew doctor output
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
isl@0.18
[ ] The brew doctor above contains no "Warning" lines.
What were you trying to do (and why)?
NOTE! Yes, there is one warning above, but isl@0.18 is required by gcc, which in turn is required by several of my installed packages. Maybe this is the problem, but I don't know how to install them otherwise.
$ brew remove isl@0.18
Error: Refusing to uninstall /home/linuxbrew/.linuxbrew/Cellar/isl@0.18/0.18
because it is required by gcc, which is currently installed.
$ brew remove gcc
Error: Refusing to uninstall /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7
because it is required by bat, binutils, docker-compose, gmp and mpdecimal, which are currently installed.
What I am actually trying to do:
Install dive, because I want to use it. Same issue when installing bat, but NOT when I install htop.
What happened (include all command output)?
Note: I replaced /home/linuxbrew/.linuxbrew/Homebrew/Library/ with /1/ in the output to make it less verbose.
$ brew install --verbose --debug dive | ts '[%.T]'
[19:03:12.539013] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/dive.rb
[19:03:12.540189] /1/Homebrew/shims/scm/git --version
[19:03:12.574638] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/go.rb
[19:03:12.576266] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gpgme.rb
[19:03:12.576939] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
[19:03:12.579182] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
[19:03:12.579770] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gdbm.rb
[19:03:12.580337] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
[19:03:12.580754] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
[19:03:12.581928] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/readline.rb
[19:03:12.582490] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/ncurses.rb
[19:03:12.586631] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gpatch.rb
[19:03:12.587211] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/sqlite.rb
[19:03:12.587928] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/zlib.rb
[19:03:12.588478] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/tcl-tk.rb
[19:03:12.589957] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/freetype.rb
[19:03:12.590455] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libpng.rb
[19:03:12.591182] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/bzip2.rb
[19:03:12.591939] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libx11.rb
[19:03:12.592641] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/util-macros.rb
[19:03:12.593162] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xtrans.rb
[19:03:12.593855] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xorgproto.rb
[19:03:12.594446] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxcb.rb
[19:03:12.595121] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xcb-proto.rb
[19:03:12.595781] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libpthread-stubs.rb
[19:03:12.596247] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxau.rb
[19:03:12.597091] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxdmcp.rb
[19:03:12.598000] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxext.rb
[19:03:12.600464] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xz.rb
[19:03:12.601004] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libffi.rb
[19:03:12.601792] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/unzip.rb
[19:03:12.602389] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/zip.rb
[19:03:12.603110] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/swig.rb
[19:03:12.603684] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/pcre.rb
[19:03:12.604333] /1/Homebrew/shims/scm/svn --version
[19:03:12.618108] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/ruby.rb
[19:03:12.618242] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libyaml.rb
[19:03:12.624726] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/autoconf.rb
[19:03:12.625637] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/m4.rb
[19:03:12.628065] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/perl.rb
[19:03:12.628108] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/berkeley-db.rb
[19:03:12.628329] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/expat.rb
[19:03:12.629216] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/automake.rb
[19:03:12.630346] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libtool.rb
[19:03:12.636616] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gnupg.rb
[19:03:12.638287] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/adns.rb
[19:03:12.639403] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gettext.rb
[19:03:12.640045] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxml2.rb
[19:03:12.649142] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gnutls.rb
[19:03:12.650901] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gmp.rb
[19:03:12.651635] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/guile.rb
[19:03:12.652431] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gnu-sed.rb
[19:03:12.653042] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/bdw-gc.rb
[19:03:12.653749] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libatomic_ops.rb
[19:03:12.654346] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gcc.rb
[19:03:12.655396] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/glibc.rb
[19:03:12.657060] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libmpc.rb
[19:03:12.657726] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mpfr.rb
[19:03:12.658516] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/binutils.rb
[19:03:12.659216] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/isl@0.18.rb
[19:03:12.660514] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libunistring.rb
[19:03:12.661461] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gperf.rb
[19:03:12.662039] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libidn2.rb
[19:03:12.673769] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libtasn1.rb
[19:03:12.682918] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/nettle.rb
[19:03:12.684346] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/p11-kit.rb
[19:03:12.685107] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/unbound.rb
[19:03:12.685917] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libevent.rb
[19:03:12.687631] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/nghttp2.rb
[19:03:12.689641] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/c-ares.rb
[19:03:12.690439] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/cmake.rb
[19:03:12.691046] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
[19:03:12.728744] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/ninja.rb
[19:03:12.736286] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/jemalloc.rb
[19:03:12.737445] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libev.rb
[19:03:12.745176] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/autogen.rb
[19:03:12.746123] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/coreutils.rb
[19:03:12.747048] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/attr.rb
[19:03:12.772059] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/guile@2.rb
[19:03:12.781697] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libassuan.rb
[19:03:12.782454] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libgpg-error.rb
[19:03:12.783139] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libgcrypt.rb
[19:03:12.783980] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libksba.rb
[19:03:12.784643] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libusb.rb
[19:03:12.785404] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/systemd.rb
[19:03:12.795645] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/docbook-xsl.rb
[19:03:12.798213] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/docbook.rb
[19:03:12.816573] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/intltool.rb
[19:03:12.818386] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/meson.rb
[19:03:12.846160] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libcap.rb
[19:03:12.847106] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/lz4.rb
[19:03:12.848087] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/util-linux.rb
[19:03:12.857530] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/bison.rb
[19:03:12.858703] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxslt.rb
[19:03:12.869508] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/npth.rb
[19:03:12.871350] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/pinentry.rb
[19:03:12.872590] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libsecret.rb
[19:03:12.886851] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gobject-introspection.rb
[19:03:12.910397] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/cairo.rb
[19:03:12.911876] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/fontconfig.rb
[19:03:12.924062] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/json-c.rb
[19:03:12.943694] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/glib.rb
[19:03:13.000013] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxrender.rb
[19:03:13.003076] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/lzo.rb
[19:03:13.003762] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/pixman.rb
[19:03:13.063362] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/flex.rb
[19:03:13.064261] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/help2man.rb
[19:03:13.084370] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/vala.rb
[19:03:13.141212] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/graphviz.rb
[19:03:13.142976] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gd.rb
[19:03:13.170950] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/jpeg.rb
[19:03:13.171927] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libtiff.rb
[19:03:13.172712] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/webp.rb
[19:03:13.173634] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gts.rb
[19:03:13.230385] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/netpbm.rb
[19:03:13.231321] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/subversion.rb
[19:03:13.232723] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/openjdk.rb
[19:03:13.234354] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/cups.rb
[19:03:13.235001] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/krb5.rb
[19:03:13.276655] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxrandr.rb
[19:03:13.286243] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxt.rb
[19:03:13.287045] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libice.rb
[19:03:13.290480] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libsm.rb
[19:03:13.297769] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxtst.rb
[19:03:13.298629] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxi.rb
[19:03:13.303044] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxfixes.rb
[19:03:13.306510] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/alsa-lib.rb
[19:03:13.317650] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/scons.rb
[19:03:13.334402] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/apr.rb
[19:03:13.358047] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/apr-util.rb
[19:03:13.391068] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mawk.rb
[19:03:13.392313] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/unixodbc.rb
[19:03:13.408360] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/utf8proc.rb
[19:03:13.421359] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/jasper.rb
[19:03:13.434401] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/freeglut.rb
[19:03:13.466957] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxxf86vm.rb
[19:03:13.473344] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mesa.rb
[19:03:13.535803] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxdamage.rb
[19:03:13.591175] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/llvm.rb
[19:03:13.608366] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libedit.rb
[19:03:13.622236] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libelf.rb
[19:03:13.625059] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/lm-sensors.rb
[19:03:13.660258] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxshmfence.rb
[19:03:13.661490] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxv.rb
[19:03:13.671638] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxvmc.rb
[19:03:13.692354] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libva.rb
[19:03:13.693388] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libdrm.rb
[19:03:13.748045] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libpciaccess.rb
[19:03:13.756413] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/wayland.rb
[19:03:13.768280] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libvdpau.rb
[19:03:13.878049] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/wayland-protocols.rb
[19:03:13.888732] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mesa-glu.rb
[19:03:14.247386] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xinput.rb
[19:03:14.262084] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxinerama.rb
[19:03:14.305772] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/librsvg.rb
[19:03:14.503667] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/rust.rb
[19:03:14.534709] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libssh2.rb
[19:03:14.535995] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/curl.rb
[19:03:14.536943] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/brotli.rb
[19:03:14.599451] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libmetalink.rb
[19:03:14.628055] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/openldap.rb
[19:03:14.629087] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/groff.rb
[19:03:14.630023] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/texinfo.rb
[19:03:14.656986] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/ghostscript.rb
[19:03:14.693858] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libidn.rb
[19:03:15.570421] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/psutils.rb
[19:03:15.571345] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/uchardet.rb
[19:03:15.657829] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/rtmpdump.rb
[19:03:15.658861] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/zstd.rb
[19:03:15.759016] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gdk-pixbuf.rb
[19:03:15.999574] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/shared-mime-info.rb
[19:03:16.002307] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/itstool.rb
[19:03:16.094961] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xmlto.rb
[19:03:16.110287] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gnu-getopt.rb
[19:03:16.205632] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/pango.rb
[19:03:16.563187] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/fribidi.rb
[19:03:16.619272] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/harfbuzz.rb
[19:03:16.992210] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/graphite2.rb
[19:03:17.014332] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/icu4c.rb
[19:03:18.734849] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/byacc.rb
[19:03:24.259433] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/device-mapper.rb
[19:03:24.260241] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libaio.rb
[19:03:46.895296] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gcc@5.rb
[19:03:46.903461] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/patchelf.rb
[19:06:07.779673] /usr/bin/curl --disable --globoff --show-error --user-agent Linuxbrew/3.0.4-32-g0b2a459\ \(Linux\;\ x86_64\ KDE\ neon\ User\ Edition\ 5.21\)\ curl/7.68.0 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://linuxbrew.bintray.com/bottles/dive-0.9.2.x86_64_linux.bottle.tar.gz
[19:06:07.779935] ==> Downloading https://linuxbrew.bintray.com/bottles/dive-0.9.2.x86_64_linux.bottle.tar.gz
[19:06:52.564209] Already downloaded: /home/peter/.cache/Homebrew/downloads/1f1c807ff0e2a0b44ed34804bf75913c8fb486a0a6c1c5ccb34b182f579bd554--dive-0.9.2.x86_64_linux.bottle.tar.gz
[19:06:52.564269] ==> Verifying checksum for '1f1c807ff0e2a0b44ed34804bf75913c8fb486a0a6c1c5ccb34b182f579bd554--dive-0.9.2.x86_64_linux.bottle.tar.gz'
[19:06:52.628072] tar xof /home/peter/.cache/Homebrew/downloads/1f1c807ff0e2a0b44ed34804bf75913c8fb486a0a6c1c5ccb34b182f579bd554--dive-0.9.2.x86_64_linux.bottle.tar.gz -C /tmp/d20210304-616210-9zzdkq
[19:06:52.628130] ==> Pouring dive-0.9.2.x86_64_linux.bottle.tar.gz
[19:06:52.728750] cp -pR /tmp/d20210304-616210-9zzdkq/dive/. /home/linuxbrew/.linuxbrew/Cellar/dive
[19:06:52.741500] chmod -Rf +w /tmp/d20210304-616210-9zzdkq
[19:07:04.432063] ==> Finishing up
[19:07:04.432119] ln -s ../Cellar/dive/0.9.2/bin/dive dive
[19:07:05.401672] ==> Summary
[19:07:05.401735] 🍺 /home/linuxbrew/.linuxbrew/Cellar/dive/0.9.2: 5 files, 11.9MB
[19:07:05.534824] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/cpulimit.rb
[19:07:05.540470] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/youtube-dl.rb
[19:07:05.543189] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/docker-compose.rb
Compare to the speed of installing htop:
[19:54:41.158739] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/htop.rb
[19:54:41.159452] /1/Homebrew/shims/scm/git --version
[19:54:41.190617] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/autoconf.rb
[19:54:41.191482] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/m4.rb
[19:54:41.192327] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/perl.rb
[19:54:41.193145] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/berkeley-db.rb
[19:54:41.193826] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
[19:54:41.195061] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gdbm.rb
[19:54:41.195638] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/expat.rb
[19:54:41.196248] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/automake.rb
[19:54:41.197221] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libtool.rb
[19:54:41.201053] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
[19:54:41.201701] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
[19:54:41.203656] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
[19:54:41.204355] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/readline.rb
[19:54:41.204849] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/ncurses.rb
[19:54:41.205598] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gpatch.rb
[19:54:41.206162] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/sqlite.rb
[19:54:41.207200] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/zlib.rb
[19:54:41.207941] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/tcl-tk.rb
[19:54:41.209477] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/freetype.rb
[19:54:41.209995] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libpng.rb
[19:54:41.210573] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/bzip2.rb
[19:54:41.211195] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libx11.rb
[19:54:41.211827] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/util-macros.rb
[19:54:41.212323] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xtrans.rb
[19:54:41.212931] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xorgproto.rb
[19:54:41.213640] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxcb.rb
[19:54:41.214283] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xcb-proto.rb
[19:54:41.214917] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libpthread-stubs.rb
[19:54:41.215349] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxau.rb
[19:54:41.216133] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxdmcp.rb
[19:54:41.217110] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libxext.rb
[19:54:41.219603] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/xz.rb
[19:54:41.220070] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libffi.rb
[19:54:41.220806] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/unzip.rb
[19:54:41.221461] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/zip.rb
[19:54:41.254830] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gcc@5.rb
[19:54:41.255828] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/glibc.rb
[19:54:41.258766] /1/Homebrew/brew.rb (Formulary::FormulaLoader): loading /1/Taps/homebrew/homebrew-core/Formula/patchelf.rb
[19:54:41.377346] /usr/bin/curl --disable --globoff --show-error --user-agent Linuxbrew/3.0.4-32-g0b2a459\ \(Linux\;\ x86_64\ KDE\ neon\ User\ Edition\ 5.21\)\ curl/7.68.0 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://linuxbrew.bintray.com/bottles/htop-3.0.5_1.x86_64_linux.bottle.tar.gz
[19:54:41.377470] ==> Downloading https://linuxbrew.bintray.com/bottles/htop-3.0.5_1.x86_64_linux.bottle.tar.gz
[19:54:41.585725] Already downloaded: /home/peter/.cache/Homebrew/downloads/801042cff0c103893276ee8748bc3ca23c633eda2249136e3b25ff94f70a31f7--htop-3.0.5_1.x86_64_linux.bottle.tar.gz
[19:54:41.585787] ==> Verifying checksum for '801042cff0c103893276ee8748bc3ca23c633eda2249136e3b25ff94f70a31f7--htop-3.0.5_1.x86_64_linux.bottle.tar.gz'
[19:54:41.638330] tar xof /home/peter/.cache/Homebrew/downloads/801042cff0c103893276ee8748bc3ca23c633eda2249136e3b25ff94f70a31f7--htop-3.0.5_1.x86_64_linux.bottle.tar.gz -C /tmp/d20210304-630867-1ryw5mh
[19:54:41.638676] ==> Pouring htop-3.0.5_1.x86_64_linux.bottle.tar.gz
[19:54:41.648086] cp -pR /tmp/d20210304-630867-1ryw5mh/htop/. /home/linuxbrew/.linuxbrew/Cellar/htop
[19:54:41.650741] chmod -Rf +w /tmp/d20210304-630867-1ryw5mh
[19:54:41.822057] ==> Finishing up
[19:54:41.822115] ln -s ../Cellar/htop/3.0.5_1/bin/htop htop
[19:54:41.822127] mkdir -p /home/linuxbrew/.linuxbrew/share/applications
[19:54:41.822135] ln -s ../../Cellar/htop/3.0.5_1/share/applications/htop.desktop htop.desktop
[19:54:41.822142] mkdir -p /home/linuxbrew/.linuxbrew/share/icons
[19:54:41.822149] mkdir -p /home/linuxbrew/.linuxbrew/share/icons/hicolor
[19:54:41.822155] mkdir -p /home/linuxbrew/.linuxbrew/share/icons/hicolor/scalable
[19:54:41.822162] mkdir -p /home/linuxbrew/.linuxbrew/share/icons/hicolor/scalable/apps
[19:54:41.822168] ln -s ../../../../../Cellar/htop/3.0.5_1/share/icons/hicolor/scalable/apps/htop.svg htop.svg
[19:54:41.822174] ln -s ../../../Cellar/htop/3.0.5_1/share/man/man1/htop.1 htop.1
[19:54:41.822181] mkdir -p /home/linuxbrew/.linuxbrew/share/pixmaps
[19:54:41.822187] ln -s ../../Cellar/htop/3.0.5_1/share/pixmaps/htop.png htop.png
[19:54:42.710567] ==> Caveats
[19:54:42.710662] htop requires root privileges to correctly display all running processes,
[19:54:42.710688] so you will need to run `sudo htop`.
[19:54:42.710695] You should be certain that you trust any software you grant root privileges.
[19:54:42.710702] ==> Summary
[19:54:42.710708] 🍺 /home/linuxbrew/.linuxbrew/Cellar/htop/3.0.5_1: 12 files, 390.0KB
[19:54:42.728467] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libaio.rb
[19:54:42.730821] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libyaml.rb
[19:54:42.732437] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/libmpc.rb
[19:54:42.739846] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/isl@0.18.rb
[19:54:42.741259] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gcc.rb
[19:54:42.743310] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/cpulimit.rb
[19:54:42.744214] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/bat.rb
[19:54:42.745343] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/gmp.rb
[19:54:42.746508] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/device-mapper.rb
[19:54:42.747245] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/binutils.rb
[19:54:42.748207] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/youtube-dl.rb
[19:54:42.748877] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/mpfr.rb
[19:54:42.749538] /1/Homebrew/brew.rb (Formulary::TapLoader): loading /1/Taps/homebrew/homebrew-core/Formula/docker-compose.rb
What did you expect to happen?
Install in less than a minute, not almost 4 minutes. It seems the actual installation is quick, but loading all the formulae is slow maybe?
Also, when installing without debug and verbose options, there is no output for several minutes, which makes it seem like it's stuck and not doing anything. Maybe a Loading formulae... when starting might be helpful?
Step-by-step reproduction instructions (by running brew commands)
brew install dive or brew install bat. I was able to replicate the slowness several times by removing and reinstalling.
It might be relevant to see what I have installed in order to replicate:
$ brew list --versions
bat 0.18.0
binutils 2.34
bzip2 1.0.8
cpulimit 0.2
device-mapper 2.03.11
docker-compose 1.27.4_1
gcc 5.5.0_7
gdbm 1.18.1_1
gmp 6.2.0
htop 3.0.5_1
isl@0.18 0.18
libaio 0.3.112
libffi 3.3
libmpc 1.2.1
libyaml 0.2.5
mpfr 4.1.0
ncurses 6.2
openssl@1.1 1.1.1h
patchelf 0.12_4
pkg-config 0.29.2_4
python@3.9 3.9.0_1 3.9.0_2
readline 8.0.4
sqlite 3.33.0
unzip 6.0_6
xz 5.2.5
youtube-dl 2020.11.21.1
zlib 1.2.11
Here are the timings in a nicer format.
For dive:
formulae
time
go.rb
2 ms
gpgme.rb
1 ms
python@3.9.rb
2 ms
pkg-config.rb
1 ms
gdbm.rb
1 ms
mpdecimal.rb
0 ms
openssl@1.1.rb
1 ms
readline.rb
1 ms
ncurses.rb
4 ms
gpatch.rb
1 ms
sqlite.rb
1 ms
zlib.rb
1 ms
tcl-tk.rb
1 ms
freetype.rb
0 ms
libpng.rb
1 ms
bzip2.rb
1 ms
libx11.rb
1 ms
util-macros.rb
1 ms
xtrans.rb
1 ms
xorgproto.rb
1 ms
libxcb.rb
1 ms
xcb-proto.rb
1 ms
libpthread-stubs.rb
0 ms
libxau.rb
1 ms
libxdmcp.rb
1 ms
libxext.rb
2 ms
xz.rb
1 ms
libffi.rb
1 ms
unzip.rb
1 ms
zip.rb
1 ms
swig.rb
1 ms
pcre.rb
14 ms
ruby.rb
0 ms
libyaml.rb
6 ms
autoconf.rb
1 ms
m4.rb
2 ms
perl.rb
0 ms
berkeley-db.rb
0 ms
expat.rb
1 ms
automake.rb
1 ms
libtool.rb
6 ms
gnupg.rb
2 ms
adns.rb
1 ms
gettext.rb
1 ms
libxml2.rb
9 ms
gnutls.rb
2 ms
gmp.rb
1 ms
guile.rb
1 ms
gnu-sed.rb
1 ms
bdw-gc.rb
1 ms
libatomic_ops.rb
1 ms
gcc.rb
1 ms
glibc.rb
2 ms
libmpc.rb
1 ms
mpfr.rb
1 ms
binutils.rb
1 ms
isl@0.18.rb
1 ms
libunistring.rb
1 ms
gperf.rb
1 ms
libidn2.rb
12 ms
libtasn1.rb
9 ms
nettle.rb
1 ms
p11-kit.rb
1 ms
unbound.rb
1 ms
libevent.rb
2 ms
nghttp2.rb
2 ms
c-ares.rb
1 ms
cmake.rb
1 ms
sphinx-doc.rb
38 ms
ninja.rb
8 ms
jemalloc.rb
1 ms
libev.rb
8 ms
autogen.rb
1 ms
coreutils.rb
1 ms
attr.rb
25 ms
guile@2.rb
10 ms
libassuan.rb
1 ms
libgpg-error.rb
1 ms
libgcrypt.rb
1 ms
libksba.rb
1 ms
libusb.rb
1 ms
systemd.rb
10 ms
docbook-xsl.rb
3 ms
docbook.rb
18 ms
intltool.rb
2 ms
meson.rb
28 ms
libcap.rb
1 ms
lz4.rb
1 ms
util-linux.rb
9 ms
bison.rb
1 ms
libxslt.rb
11 ms
npth.rb
2 ms
pinentry.rb
1 ms
libsecret.rb
14 ms
gobject-introspection.rb
24 ms
cairo.rb
1 ms
fontconfig.rb
12 ms
json-c.rb
20 ms
glib.rb
56 ms
libxrender.rb
3 ms
lzo.rb
1 ms
pixman.rb
60 ms
flex.rb
1 ms
help2man.rb
20 ms
vala.rb
57 ms
graphviz.rb
2 ms
gd.rb
28 ms
jpeg.rb
1 ms
libtiff.rb
1 ms
webp.rb
1 ms
gts.rb
57 ms
netpbm.rb
1 ms
subversion.rb
1 ms
openjdk.rb
2 ms
cups.rb
1 ms
krb5.rb
42 ms
libxrandr.rb
10 ms
libxt.rb
1 ms
libice.rb
3 ms
libsm.rb
7 ms
libxtst.rb
1 ms
libxi.rb
4 ms
libxfixes.rb
3 ms
alsa-lib.rb
11 ms
scons.rb
17 ms
apr.rb
24 ms
apr-util.rb
33 ms
mawk.rb
1 ms
unixodbc.rb
16 ms
utf8proc.rb
13 ms
jasper.rb
13 ms
freeglut.rb
33 ms
libxxf86vm.rb
6 ms
mesa.rb
62 ms
libxdamage.rb
55 ms
llvm.rb
17 ms
libedit.rb
14 ms
libelf.rb
3 ms
lm-sensors.rb
35 ms
libxshmfence.rb
1 ms
libxv.rb
10 ms
libxvmc.rb
21 ms
libva.rb
1 ms
libdrm.rb
55 ms
libpciaccess.rb
8 ms
wayland.rb
12 ms
libvdpau.rb
110 ms
wayland-protocols.rb
11 ms
mesa-glu.rb
359 ms
xinput.rb
15 ms
libxinerama.rb
44 ms
librsvg.rb
198 ms
rust.rb
31 ms
libssh2.rb
1 ms
curl.rb
1 ms
brotli.rb
63 ms
libmetalink.rb
29 ms
openldap.rb
1 ms
groff.rb
1 ms
texinfo.rb
27 ms
ghostscript.rb
37 ms
libidn.rb
877 ms
psutils.rb
1 ms
uchardet.rb
86 ms
rtmpdump.rb
1 ms
zstd.rb
100 ms
gdk-pixbuf.rb
241 ms
shared-mime-info.rb
3 ms
itstool.rb
93 ms
xmlto.rb
15 ms
gnu-getopt.rb
95 ms
pango.rb
358 ms
fribidi.rb
56 ms
harfbuzz.rb
373 ms
graphite2.rb
22 ms
icu4c.rb
1,721 ms
byacc.rb
5,525 ms
device-mapper.rb
1 ms
libaio.rb
22,635 ms
gcc@5.rb
8 ms
patchelf.rb
140,876 ms
For htop
formulae
time
htop.rb
32 ms
autoconf.rb
1 ms
m4.rb
1 ms
perl.rb
1 ms
berkeley-db.rb
1 ms
openssl@1.1.rb
1 ms
gdbm.rb
1 ms
expat.rb
1 ms
automake.rb
1 ms
libtool.rb
4 ms
pkg-config.rb
1 ms
python@3.9.rb
2 ms
mpdecimal.rb
1 ms
readline.rb
0 ms
ncurses.rb
1 ms
gpatch.rb
1 ms
sqlite.rb
1 ms
zlib.rb
1 ms
tcl-tk.rb
2 ms
freetype.rb
1 ms
libpng.rb
1 ms
bzip2.rb
1 ms
libx11.rb
1 ms
util-macros.rb
0 ms
xtrans.rb
1 ms
xorgproto.rb
1 ms
libxcb.rb
1 ms
xcb-proto.rb
1 ms
libpthread-stubs.rb
0 ms
libxau.rb
1 ms
libxdmcp.rb
1 ms
libxext.rb
2 ms
xz.rb
0 ms
libffi.rb
1 ms
unzip.rb
1 ms
zip.rb
33 ms
gcc@5.rb
1 ms
glibc.rb
3 ms
patchelf.rb
119 ms
Hard to say really - not all brew operations are printed so those formulae aren't necessarily reading slowly - it could be doing something inbetween.
For example gcc@5 and patchelf are common bottle dependencies and are probably loaded at a later time than formula-specific dependencies. device-mapper and libaio are a runtime dependencies of dive while the rest are build-time dependencies, so there's possibly a delay between the evaluation of build-time dependencies and the evaluation of runtime dependencies.
brew prof is a tool useful for performance measuring. You can try that and share the results.
patchelf.rb 140,876 ms
This won't be the time spent actually loading the formula but most likely a formula object that's recreated again and again.
Formulary.enable_factory_cache! will likely dramatically speed this up but may have other negative effects.
Also, in this case: we actually don't even need/use patchelf any more.
brew prof is a tool useful for performance measuring. You can try that and share the results.
Agreed.
https://github.com/Homebrew/brew/pull/10787 should be a partial fix for this.
I merged #10787, please update. It would be good to make some more measurements now to see if something can be optimised. I did notice that in some cases brew on linux was slower, but never had time to investigate.
Still very slow after the update, no noticeable improvement.
call_stack-3.0.4-32-g0b2a459.zip
call_stack-3.0.4-42-g2d1d20a.zip
I had to zip them since github doesn't allow HTML.
htop, which is not slow, for comparison:
call_stack-htop.zip
#10792 might help here.
That's merged now so let me know if you notice any performance improvement.
It's slightly faster, maybe 30 seconds faster, but it still takes over 2.5 minutes.
Homebrew 3.0.4-64-g31a4989
Homebrew/homebrew-core (git revision 747a7a3225b; last commit 2021-03-08)
Notice the call stack from prof is almost half the size though:
call_stack-3.0.4-64-g31a4989.zip
Of note though is that dive was updated from 0.9.2 to 0.10.0 so that might have a slight impact.
I've merged #10815 so try it again now.
Possibly. It's still higher than I'd like it to be (though we've made significant improvements here). I suspect the remaining issues might be the generally slow dependency tree traversal on Linux, but can you post one more profiler output so I can confirm?
#10887 improves the dependency expansion a bit. So instead of evaluating the dependency tree 5+ times, it should now only do it twice (hard to reduce that to once).
Good news is that it was really fast.
Bad news is this:
$ brew prof install dive
==> Downloading https://linuxbrew.bintray.com/bottles/dive-0.10.0.x86_64_linux.bottle.tar.gz
Already downloaded: /home/sarke/.cache/Homebrew/downloads/240c0c5dc27facf364111b45b34ba0fb53f22a152650a10f9ba7b6574d9dcd0e--dive-0.10.0.x86_64_linux.bottle.tar.gz
==> Pouring dive-0.10.0.x86_64_linux.bottle.tar.gz
🍺 /home/linuxbrew/.linuxbrew/Cellar/dive/0.10.0: 5 files, 9.4MB
Traceback (most recent call last):
8548: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/bin/ruby-prof:312:in `block in <top (required)>'
8547: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/bin/ruby-prof:312:in `chdir'
8546: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/bin/ruby-prof:316:in `block (2 levels) in <top (required)>'
8545: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/bin/ruby-prof:316:in `open'
8544: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/bin/ruby-prof:317:in `block (3 levels) in <top (required)>'
8543: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/lib/ruby-prof/printers/call_stack_printer.rb:49:in `print'
8542: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/erb.rb:901:in `result'
8541: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/erb.rb:901:in `eval'
... 8536 levels...
4: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/lib/ruby-prof/printers/call_stack_printer.rb:88:in `each'
3: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/lib/ruby-prof/printers/call_stack_printer.rb:89:in `block in print_stack'
2: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/lib/ruby-prof/printers/call_stack_printer.rb:63:in `print_stack'
1: from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/lib/ruby-prof/printers/call_stack_printer.rb:138:in `color'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/ruby-prof-1.4.3/lib/ruby-prof/printers/call_stack_printer.rb:138:in `===': stack level too deep (SystemStackError)
Error: Failure while executing; `ruby-prof --printer=call_stack --file=prof/call_stack.html /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb -- install dive` exited with 1.
Without the prof it installs fine in about 3 seconds, WELL DONE!
I've seen that ruby-prof error before, even before all the changes made here. Stackprof deals with it fine. It's probably not a brew bug, though I've not looked into it much.
Without the prof it installs fine in about 3 seconds, WELL DONE!
Glad to hear! Thanks for testing out the changes!
Install in less than a minute, not almost 4 minutes. It seems the actual installation is quick, but loading all the formulae is slow maybe?
Without the prof it installs fine in about 3 seconds, WELL DONE!
Fantastic performance optimisation here @Bo98 and thanks for your helpful responses, attitude and tone here @Sarke. Teamwork, dream work, etc. 😁
| gharchive/issue | 2021-03-05T04:22:43 | 2025-04-01T04:32:37.146491 | {
"authors": [
"Bo98",
"MikeMcQuaid",
"Sarke",
"iMichka"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/issues/10784",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
703231938 | centOS7 brew upgrade kept crashing/causing core-dump
Hello,
When I am running brew update , brew kept crashing/with core.dumps on centOS7, it seems the cause is from running the wrapped 'git' command - what might be the cause of this, way to fix my brew install?
Thanks!
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 50672 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
error: rev-list died of signal 4
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 50687 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Error: Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/knqyf263/homebrew-pet failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-extra failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-cask failed!
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 50825 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51045 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51156 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51468 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51507 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51561 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51589 Illegal instruction (core dumped) "$GIT_EXECUTABLE" "$@"
even run brew doctor would give illegal instructions :
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
ruby
openssl@1.1
sh: line 1: 5668 Illegal instruction (core dumped) git status --untracked-files=all --porcelain 2> /dev/null
sh: line 1: 5729 Illegal instruction (core dumped) git status --untracked-files=all --porcelain 2> /dev/null
Here is the brew diagnosis output :
brew config
HOMEBREW_VERSION: >=2.5.0 (shallow or no git repository)
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9dd5d42477f66ed0a61557f626799461a8ae7003
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 51e13dc407e0c998a942b4ccfe6b04bbe72ce048
Core tap last commit: 2 weeks ago
Core tap branch: master
HOMEBREW_PREFIX: /cluster/home/myuser/.linuxbrew
HOMEBREW_REPOSITORY: /cluster/home/myuser/.linuxbrew/Homebrew
HOMEBREW_CELLAR: /cluster/home/myuser/.linuxbrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: linux:10.0
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 72
Homebrew Ruby: 2.6.3 => /cluster/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: 16-core 64-bit broadwell
Clang: N/A
Git: 2.28.0 => /cluster/home/myuser/.linuxbrew/bin/git
Curl: 7.29.0 => /usr/bin/curl
Java: 1.7.0_201
Kernel: Linux 3.10.0-957.5.1.el7.x86_64 x86_64 GNU/Linux
OS: CentOS Linux release 7.6.1810 (Core) (Core)
Host glibc: 2.17
/usr/bin/gcc: 4.8.5
/usr/bin/ruby: N/A
glibc: 2.23
gcc: 5.5.0_7
xorg: 20170115_1
/cluster/home/myuser/.linuxbrew/bin/git seems to be broken.
Please always fill out the issue template.
Thanks, but the git is working well when using the direct path, ..., so I doubt that the git is broken ...
| gharchive/issue | 2020-09-17T03:18:26 | 2025-04-01T04:32:37.152870 | {
"authors": [
"MikeMcQuaid",
"ipstone"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/issues/8749",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
789937529 | Suggest alternative method for enabling ZSH completions
This PR suggests an alternative method for enabling ZSH completions when a framework like oh-my-zsh already runs compinit without the need to run this directly.
The benefit of using this method is that only one line of code is needed, rather than 5 lines for the currently suggested method, reducing configuration maintenance for the user. I have not included an if block to check for existence of the brew command, as this line comes directly after the command to setup brew's environment.
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] (n/a) Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[ ] (n/a) Have you successfully run brew typecheck with your changes locally?
[ ] (n/a) Have you successfully run brew tests with your changes locally?
[ ] (n/a) Have you successfully run brew man locally and committed any changes?
Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @davidbailey00!
Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @davidbailey00!
| gharchive/pull-request | 2021-01-20T12:29:14 | 2025-04-01T04:32:37.158256 | {
"authors": [
"MikeMcQuaid",
"davidbailey00"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/pull/10373",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
861640938 | workflows/tests: simulate macOS for brew style homebrew-core
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
We currently run brew style homebrew/core twice in the tap syntax (Linux) workflow, but both times the Homebrew/linuxbrew-core repo is checked. THis PR adds HOMEBREW_SIMULATE_MACOS_ON_LINUX=1 to the second brew style call so that Homebrew/homebrew-core is checked.
Review period skipped due to critical label.
THis PR adds HOMEBREW_SIMULATE_MACOS_ON_LINUX=1 to the second brew style call so that Homebrew/homebrew-core is checked.
This will happen without it because it's already tapped. If linuxbrew-core is tapped it won't try to retap homebrew-core (and vice-versa). No harm in adding, though 👍🏻
Ah, yes, I see now 👍
No preference, then, for whether to merge or not
| gharchive/pull-request | 2021-04-19T18:12:48 | 2025-04-01T04:32:37.163385 | {
"authors": [
"BrewTestBot",
"MikeMcQuaid",
"Rylan12"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/pull/11192",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
933223546 | adds an option to skip unversioned casks in outdated and upgrade command
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
Adds an additional flag --skip-unversioned for running brew outdated or upgrade. It skips casks that are given version :latest
Some documentation updates including within the terminal command outputs would also require updating.
Some of the areas I have added the flag as parameters may be superfluous at the moment.
Review period will end on 2021-07-01 at 01:22:35 UTC.
See https://github.com/Homebrew/brew/issues/11513#issuecomment-871034005
Adds an additional flag --skip-unversioned for running brew outdated or upgrade. It skips casks that are given version :latest
Isn't that the default unless you pass --greedy?
Adds an additional flag --skip-unversioned for running brew outdated or upgrade. It skips casks that are given version :latest
Isn't that the default unless you pass --greedy?
This is to be used in combination with greedy. I will need to document it properly. It updates casks with stanza auto_updates true but not version :latest
It updates casks with stanza auto_updates true
Which can mean a downgrade if the cask’s version is behind the app’s internal updater, which is not rare. Updating casks with auto_updates true is potentially more disruptive than updating ones with version :latest, which at worst will download the same thing.
So if adding a flag to skip version :latest, there should also be one to skip auto_updates.
That could be handled via an optional argument to --greedy or adding --greedy-auto-updates and --greedy-latest flags so the connection is clear.
That could be handled via an optional argument to --greedy or adding --greedy-auto-updates and --greedy-latest flags so the connection is clear.
This kinda makes me wonder if it warrants either a default behaviour change or an environment variable to effectively set this flag/these flags all the time?
This kinda makes me wonder if it warrants either a default behaviour change
Changing the default behaviour would, on every upgrade, either redownload already installed software or risk downgrading installed software or both.
The current default is the safest approach. --greedy should not be used. That’s part of the reason it was named that way, to make it clear there may be consequences.
or an environment variable to effectively set this flag/these flags all the time?
Isn’t that HOMEBREW_CASK_OPTS? Doesn’t seem worth it to make new ones.
Review period ended.
That could be handled via an optional argument to --greedy or adding --greedy-auto-updates and --greedy-latest flags so the connection is clear.
This looks to me like the best course of action. I will have a look at refactoring this PR when I get a chance. Thanks for your input @vitorgalvao
And people complain of stale bots. They’re a good reminder to recheck issues; I had not realised the do not merge was already out.
@becanjkay If you’re happy with the current state of the PR, I’m good.
@vitorgalvao As far as I am concerned it is good to go. My only concern would be that the parameters are being passed correctly through each method, as this is my first proper contribution to Homebrew/Brew
My only concern would be ensuring that the parameters are being passed correctly through each method, as this is my first proper contribution to Homebrew/Brew
For that I’ll defer to other maintainers who usually merge to the core. But from an HBC interface standpoint, thumbs up from me.
Thanks again @bevanjkay!
| gharchive/pull-request | 2021-06-30T01:22:35 | 2025-04-01T04:32:37.176448 | {
"authors": [
"BrewTestBot",
"Logicer16",
"MikeMcQuaid",
"SMillerDev",
"bevanjkay",
"vitorgalvao"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/pull/11629",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
1923363939 | Fix markdown linter errors
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
v0.13 of the markdownlint gem just got released and it has a few new rules which our docs ended up failing. This fixes those linter errors so that CI is no longer red.
Rules:
MD055 - Tables: Each row must start and end with a '|'
MD057 - Tables: In the second row every column must have at least '---',
possibly surrounded with alignment ':' chars
Related to: https://github.com/Homebrew/brew/pull/16070
For the curious, this is how you can fix the MD055 linter error. It doesn't seem like this linter has a built-in fix option.
$ gawk -i inplace '
BEGIN {
cmd = "bundle exec rake lint"
while((cmd | getline line) > 0) {
split(line, arr, ":")
filename = arr[1]
if(filename !~ /\.md$/) continue
lineno = arr[2]
if(lineno !~ /^[0-9]+$/) continue
error = arr[3]
if(error !~ /^ MD[0-9][0-9][0-9]/) continue
files[filename] = 1
lines[filename, lineno] = error
}
close(cmd)
for(filename in files) ARGV[ARGC++] = filename
}
files[FILENAME] && lines[FILENAME, FNR] ~ /MD055/ {
sub(/^[ ]*\|[ ]*/, "")
sub(/[ ]*\|[ ]*$/, "")
printf("| %s |\n", $0)
next
}
{ print }
'
I'd have simply disabled rule MD055 in docs/.mdl_style.rb, since leading and trailing pipes are not required for GitHub Flavored Markdown.
@EricFromCanada Feel free to change it if you think it's important. I was having fun using awk so I wasn't thinking about if there was a better way to handle this.
@apainintheneck ¯\_(ツ)_/¯
| gharchive/pull-request | 2023-10-03T05:52:40 | 2025-04-01T04:32:37.182634 | {
"authors": [
"EricFromCanada",
"apainintheneck"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/pull/16076",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
276913701 | vendor-install: Add ARM bottle for portable-ruby
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?
When is this bottle used?
This bottle is used on Linux systems running on ARM hardware. The most common example is Raspberry Pi.
Thanks again @sjackman!
Thanks for merging, Mike!
| gharchive/pull-request | 2017-11-27T06:29:58 | 2025-04-01T04:32:37.186026 | {
"authors": [
"MikeMcQuaid",
"sjackman"
],
"repo": "Homebrew/brew",
"url": "https://github.com/Homebrew/brew/pull/3486",
"license": "BSD-2-Clause",
"license_type": "permissive",
"license_source": "github-api"
} |
166501968 | clang-format380
[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same formula update/change?
[x] Have you built your formula locally prior to submission with brew install <formula> (where <formula> is the name of the formula you're submitting)?
[x] Does your submission pass brew audit --strict --online <formula> (after doing brew install <formula>)?
[x] Does your submission adhere to Versions "Acceptable Formulae" guidelines?
clang-format 3.8.0
Go for clang-format38 instead of 380.
Made the changes discussed. I added a comment to note the version as it was in homebrew-core, hope that is OK.
I can rebase before the merge if neccesary
@BrewTestBot test this please
| gharchive/pull-request | 2016-07-20T06:02:50 | 2025-04-01T04:32:37.442370 | {
"authors": [
"Ashton-W",
"MikeMcQuaid",
"apjanke"
],
"repo": "Homebrew/homebrew-versions",
"url": "https://github.com/Homebrew/homebrew-versions/pull/1317",
"license": "bsd-2-clause",
"license_type": "permissive",
"license_source": "bigquery"
} |
153246881 | Migrate from scss-lint to stylelint
Scss-lint is giving us huge value in helping keep our CSS structured, consistent, and maintainable. The huge downside for our project, however, is that it requires Ruby, and as a Node based project that makes getting started for new contributors (especially Windows devs who don't have Ruby already installed on their machine) a significant barrier.
Scss-lint does have a Node ported version, but unfortunately it doesn't support all of the linters we need, including a few of the most valuable ones.
However, there is hope. And it's name is Stylelint. Stylelint appears to support everything that Scss-lint does, and has even more features. And best of all it is made for Node projects so it's way faster than Scss-lint (we've done some comparrison tests at GH and we are strongly considering moving from Scss-lint internally to Stylelint), and it would mean we no longer require Ruby for our app.
I'm strongly in favor of moving to Stylelint. Any objections?
cc @HospitalRun/core-maintainers
Notes:
Usage docs
Stylelint repo
Stylelint rules
Scss-lint linters (will need to port from these to Stylelint rules)
TODO
[ ] Install Stylelint
[ ] Port scss-lint.yml rules to Stylelint config
[ ] Integrate Stylelint with Travis testing
[ ] Remove scss-lint
[ ] Remove ember-cli-scss-lint
@jglovier I'm fine with the change as long as it gets into the testing process with Travis. If we move to this we will also need to remove the ember-cli-scss-lint Ember addon.
Probably the best way to do this would be to build ember-cli-style-lint addon
also https://github.com/sasstools/sass-lint which is used by https://github.com/sir-dunxalot/ember-cli-sass-lint. pure node implementation.
also https://github.com/sasstools/sass-lint which is used by https://github.com/sir-dunxalot/ember-cli-sass-lint. pure node implementation.
@jkleinsc and I looked into switching to sass-lint at the hack week, but unfortunately it doesn't support a few key linting rules that we're getting with scss-lint.
so this is ready for use https://www.npmjs.com/package/ember-cli-style-lint
cc @jonrohan
This is a pretty new package https://github.com/kristerkari/stylelint-scss/ that has a lot of scss specific rules for stylelint. A++ would recommend
Closed in https://github.com/HospitalRun/hospitalrun-frontend/pull/488.
| gharchive/issue | 2016-05-05T14:43:33 | 2025-04-01T04:32:37.510363 | {
"authors": [
"billybonks",
"jglovier",
"jkleinsc",
"jonrohan"
],
"repo": "HospitalRun/hospitalrun-frontend",
"url": "https://github.com/HospitalRun/hospitalrun-frontend/issues/443",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
66008409 | Handle 3rd party payments made after final bill
EG We mark 1000 covered by the Hospital, but 3rd party gives us 500 after the fact.
HospitalRun's billing system is not meant to be the all-encompassing, system of record for financial interactions with a patient. It has features for defining a bill and collecting simple actions about payments and deposits. Once an invoice transitions out of the system into a more complicated finance system, we need to ensure that further financial actions cannot be taken on the invoice.
What we need is a new state on an Invoice called Closed. That breaks down into the following changes:
Add a boolean field to the invoice object that can be programmatically or explicitly set, called "Closed." A transfer process that moves Invoices into an outside financial system might set an invoice (or a batch of invoices) to closed.
Allow an invoice to be explicitly set to Closed. I suggest a button "Set to Closed" that sets the closed flag.
Once an invoice is set to closed, payments cannot be added. When an invoice is set to closed, remove the "Add Payment" button. Also remove the "Update" button.
When an invoice is in Closed state, we need to provide a way for an accountant to revert to an unclosed state. Thus, add a button on closed invoices called "Reopen" which will unset the boolean closed flag.
@jkleinsc @tangollama I can work on this issue.
| gharchive/issue | 2015-04-02T20:44:48 | 2025-04-01T04:32:37.513726 | {
"authors": [
"jkleinsc",
"marcorosas1991",
"tangollama"
],
"repo": "HospitalRun/hospitalrun-frontend",
"url": "https://github.com/HospitalRun/hospitalrun-frontend/issues/57",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
180497140 | Build acceptance test for pricing.search
In order to effectively use the no missing translations test, we need to make sure that every page is visited during acceptance tests.
This issue tracks the missing pricing.search acceptance test
for ember new commers the value some.route is the route that's missing you can find them under router.js
I can work on this.
@remotevision it's yours. Thanks for contributing!
Since there is no update on this, can I work on this issue? @jkleinsc Can you give me suggestion how to test the "search" functions?
@baoqchau sure feel free to work on this. As far as testing, you need to navigate to the module you are testing as the search is context sensitive to which module you are currently on. So to testing pricing, you need to navigate to /pricing and then put a value in the search text box at the top of the navigation pane and then click on the magnifying glass to execute the search. Does that make sense?
@jkleinsc should Elasticsearch be installed & running for Search (in general & for tests)?
@emadehsan there is a default search that runs when Elasticsearch isn't installed and that is used for testing.
For some reason default search is not working on my machine. One searching for a patient for example, it gives Uncaught TypeError: Cannot read property 'constructor' of undefined error
@emadehsan is that with the latest from GitHub? If you have the latest, you will need to also run npm install
@emadehsan is that with the latest from GitHub? If you have the latest, you will need to also run npm install
@jkleinsc I have the latest clone of the repo but still Search doesn't work with CouchDB 2. When I tested with CouchDB 1.6, the search is working fine.
Can you confirm this?
@emadehsan I haven't tested it in CouchDB 2 so it is possible it doesn't work right now. I think in general for our upcoming 1.0 release we need to back away from CouchDB 2 as there are other issues with using it right now.
Note that the actual search function does not seem to work....
| gharchive/issue | 2016-10-02T05:51:29 | 2025-04-01T04:32:37.519733 | {
"authors": [
"baoqchau",
"billybonks",
"emadehsan",
"jkleinsc",
"nzidol",
"remotevision"
],
"repo": "HospitalRun/hospitalrun-frontend",
"url": "https://github.com/HospitalRun/hospitalrun-frontend/issues/701",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
153885640 | Spanish localization
Spanish es-CO colombia south america
Fixes #[replace brackets with the issue number that your pull request addresses].
Changes proposed in this pull request:
[list out summary of changes here]
[list out summary of changes here]
[list out summary of changes here]
[etc]
Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Thanks! (you can delete this text)
cc @HospitalRun/core-maintainers
@chibchombiano26 is this still a work in progress? It looks like some of the text has not been translated yet? For example, I believe "Total Purchases Consumed" should be translated to "Las compras totales consumidas" or something similar.
Hi @jkleinsc, yeah you right there are some few missing translation because i need first navigate between pages to understand better what is this trying to say,. I am a native spanish speaking. In example, Total Purchases Consumed could be mean Total Purchases Consumed or inventario restante. that is the reason because i left some translation on english. of course when i navigated all the app i am going to complete those translations.
your traslation comes from google translator ? and another question do you want wait while i finish all the translation? or do you think it is a good start for the spanish localization
@chibchombiano26 my translation did come from google translator. I think it is a good idea to wait until the whole file has been translated before merging it.
Ok no problem
hi @jkleinsc i improve my translations files, but i have a llitle problem i dont know how exclude this file c9-couch.js from the pull request without modify the .gitignorefile
Thanks
@chibchombiano26 you can add c9-couch.js to the .gitignore
There also should be a way to have a local gitignore setup, but this file is ok to add to the .gitignore
ok... added... Could you please check if my last commit is ready to get included in your project?
Thanks so much
@chibchombiano26 you need to change the gitignore for c9-couch.js to c9-couch.js instead of /c9-couch.js because right now it is not ignoring that file. Other than that I think this PR is ready to merge.
done.
Done
@chibchombiano26 thanks for the PR! It looks good, so I am going to merge it now.
| gharchive/pull-request | 2016-05-09T22:37:07 | 2025-04-01T04:32:37.526752 | {
"authors": [
"chibchombiano26",
"jkleinsc"
],
"repo": "HospitalRun/hospitalrun-frontend",
"url": "https://github.com/HospitalRun/hospitalrun-frontend/pull/449",
"license": "mit",
"license_type": "permissive",
"license_source": "bigquery"
} |
297604160 | Collect cpu usage for tasks that have just started
Right now we won't update the overall slave usage for a task that has just started. This lets us calculate the cpus from the task starting timestamp to include those as well in the slave usage metrics
🚢
| gharchive/pull-request | 2018-02-15T21:34:08 | 2025-04-01T04:32:37.535631 | {
"authors": [
"baconmania",
"ssalinas"
],
"repo": "HubSpot/Singularity",
"url": "https://github.com/HubSpot/Singularity/pull/1717",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
141884605 | Thread check fallback
Although cgroup isolation is common, posix is the default. If we are not using cgroup isolation we will not find a cpu cgroup to parse and this will error every time. This PR does a few things:
Make two types of thread checks, CGROUP and PSTREE
Configurably fall back to PSTREE when CGROUP fails (defaults to false)
/fixes #741
I like the idea of removing the cgroups requirement for thread limiting, but our original pstree implementation wasn't great. For example:
$ pstree 91309 -p
daemon-runner(91309)───su(91330)───daemon-runner(91338)─┬─python2.6(91408)
├─tee(91339)
└─tee(91340)
The thread checker would conclude that process 91309 is using 3 threads, when it's really using 6. Are there any other UNIX facilities we can use to figure out the thread count? Do we know what pstree is using under the hood in order to generate this info?
Good, point. Let me look and see what else we could use.
Updated to have three possible thread checking types:
cgroup
ps
/proc//status
You can now configure the primary (defaults to cgroup) and a fallback (optional). If the fallback is set, it will be used in the case that the primary type does not result in a valid value
| gharchive/pull-request | 2016-03-18T14:37:01 | 2025-04-01T04:32:37.539457 | {
"authors": [
"ssalinas",
"tpetr"
],
"repo": "HubSpot/Singularity",
"url": "https://github.com/HubSpot/Singularity/pull/959",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2471673977 | fix(Sponsor Section): modified responsive layout, added link to index…
… and intl phrases for sponsor
types
:tada: This PR is included in version 1.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
| gharchive/pull-request | 2024-08-17T21:16:32 | 2025-04-01T04:32:37.618024 | {
"authors": [
"HumanLibrary"
],
"repo": "HumanLibrary/hulib",
"url": "https://github.com/HumanLibrary/hulib/pull/43",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
2244845324 | Glinner integration
i need some help to integrate the https://github.com/urchade/GLiNER for NER labeling project
Hi, @burstman ! Thanks for your great contribution, GliNER would be a valuable addition to the bundle.
Would you be open to squash all the changes and resolve conflicts with the master branch, leaving only target model updates?
| gharchive/pull-request | 2024-04-16T00:05:06 | 2025-04-01T04:32:37.619369 | {
"authors": [
"burstman",
"niklub"
],
"repo": "HumanSignal/label-studio-ml-backend",
"url": "https://github.com/HumanSignal/label-studio-ml-backend/pull/502",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
624581955 | Terrain mesh generation/manipulation
@HungryProton we discussed a Plane Mesh from Transforms node for terrain here: https://github.com/HungryProton/concept_graph/pull/59#issuecomment-633555264
The main idea is to be able to generate terrain meshes from noise.
But it would be nice to apply other operations/deformations as well.
You asked if it would need to be a perfectly aligned grid of transforms to generate a terrain?
Yes and no.
A uniform terrain mesh requires a single layer grid of points, where some jitter that's less than grid density is ok.
A triangulated mesh (Delauney) can be completely non-uniform, but still needs to be based on a 2D plane of points. Note: triangulation slows down generation considerably.
So yes the issue is that a NODE_3D input can be a very random set of 3D points.
Mesh from Transforms - Marching Cubes?
A proper Mesh from Transforms node would have to apply a marching cubes algorithm I think.
This would be very cool, but it's much more complex and possibly out of scope for this project?
It's definitely not what I'm intending here.
Plane Mesh options:
You pointed out that for a Plane Mesh node, a direct noise input might be better.
This solves the above problems, but it limits the possibilities.
Here's some examples of what I'd like to make possible:
Apply multiple Simplex Noises.
Apply 2D curves to each noise.
Apply 3D curves on top to add specific details (is CSG best here? I'm not familiar with it)
Start from a Voronoi diagram and apply Simplex Noise on top.
Simply generate a mesh from a heightmap
Some possible solutions:
Apply multiple noises - this could be partly solved with dynamic slots on the noise input, but that wouldn't allow for applying other manipulations as well.
A Merge Noises node might help here, and could be more widely useful? But if it wasn't working on a NODE_3D array (which it can't be here), I think it would have to pass a noise wrapper class around that encapsulates looping over multiple noises when sampling a point. This wrapper could also handle any new noise implementations we might get? (I've seen you mention that).
Apply a 2D curve to each noise - a CURVE_2D input on the Simplex Noise node could be worthwhile, as I can see it being useful elsewhere!?
A separate Smooth Noise node is another option, but again it has to be applied to a node array, or a noise wrapper class that applies the curve to the noise at sample time.
This comment is already way to long, so I'll stop there.
Let me know your thoughts.
So that confirms my fear that the input needs to be specific enough to work. The add-on doesn't have a hard defined scope so marching cubes could be an option (but I don't have the skills for that).
Initially, I only thought about the heightmap terrains, so I thought of adding nodes that edit heightmaps textures directly (that would be a new data type). Not sure how feasible it is with gdscript only though.
Another option is to add nodes that work on vertices directly and have the same operations that are available on regular transforms.
I'm not sure I understand what "Apply 2D curves to noise" means?
Making a Noise Combiner node is a valid option. It would work a bit like the CSG Mesh combiner and expose a generic Noise object. An since it simply exposes a new Noise, it can be chained in another combiner if needed.
The merge options could be add / substract / multiply and so on (I don't know which operation is needed / possible, the same as the scalar math node I guess?) This could be useful for other use cases as well.
Marching cubes
I don't have the knowledge for this right now either, but with time I'm pretty sure I could crack it. But this would definitely require gdnative implementation, so let's leave it for now.
Heightmap modification
We have Zylanns plugin for this, as well as other software, so as a procedural gen plugin I wouldn't go hard with this. And yeah modifying images with gdscript is slow.
Perhaps just a node that loads a heightmap into whatever format we decide on. This way you can use a heightmap as a starting point, or use it as is and be able to place objects on the resulting terrain.
*Work directly on vertices (Vector3)
So basically a new input/output type and nodes specific to terrain? That sounds great to me!
With that in mind, I wonder if it would be faster generation wise, if the modification nodes just pass along the operations to apply, and then the final Mesh node would run them all in a single loop? Maybe, maybe not.
Apply Curve to Noise
Each time you sample the Noise, you convert it from -1:1 to 0:1, then apply 2D curve interpolation in order to manipulate the noise into more realistic/usable terrain.
You can spend a lot of time tweaking this,
and Godots Curve inspector editor is a bit basic and fidgity for modifying curves accurately. Also switching from the graph to the inspector to tweak these curves is a bit tedious.
So ultimately a better in graph 2D curve editor would be nice.
Anyway, should adding a curve to a noise be done as a CURVE_2D input on the Simplex Noise node, or a separate node that saves the curve object into the generic noise object?
Noise Combiner
Just for clarity, combining noises means saving the noise objects in an array, then looping over them all each time you sample a point. And also applying the curves if supplied.
And yeah these noise changes will definitely be useful throughout.
Heightmap modification
Something I don't like about most heightmap tools is their non parametric, destructive nature. You paint on the terrain (which is a manual operation and requires more artistic skills) and you can't edit what you did later on.
If you have a Flatten map node for example that takes a spatial and a heightmap in input, flattens an area around the spatial node and then connect it to an Erosion map node, you can decide later on to move the spatial in another location and it just updates everything for you, other tools don't allow that. (Well, GAEA does but it's paid and closed source)
Editing pictures is slow but maybe is still fast enough? It doesn't have to be an actual picture either, even though a 1k heightmap is still 1 million values so I'm not sure there's actually a useful data structure beside images.
Vertex operations wouldn't necessarily need a new type, they should work on any Mesh objects. But adding terrain specific nodes is also an option if that's necessary.
Passing all operations at once wouldn't work if at least one of these operations requires data about neighboring vertices. (Like Smooth mesh for example, it needs to average a position using all the connected vertices and lerp the current vertex toward this averaged position. So you still need to apply every operations one by one and that would defeat the purpose of packing them together)
Yes, the noise combiner would be a new noise object (it needs a Noise super class), that exposes the same things as a regular noise would, except internally it queries other noise objects and combine their result. I still don't understand if the curve thing should be part of the noise or be something separated, I think I need more time to understand that part
I totally agree with you about heightmap tools. Non-destructive parametric editing all the way! :)
Flatten, Erode, Smooth, etc
My recent work in Godot has been about generating infinite terrain as fast as possible, so I have quite a different, and likely more limited perspective on this than you. So this discussion is good.
While we don't have to generate things as fast here, if we're not careful, chaining a few of these operations could very quickly slow things to a crawl.
I'm definitely keen for these types of nodes, especially an erosion node (note there's code for this in another project - perhaps Zylann's), but I do wonder how long this sort of node would run? Is using another thread for long operations an option for stopping the editor from hanging?
Image manipulation
While images are a decent storage medium for heightmap data, when manipulating the images, working on a raw array of bytes/floats is much faster.
The get_pixel() and set_pixel() Image functions are really slow in gdscript. Using get_data() to get a PoolByteArray, and then doing all chained operations on that array would be much faster (but likely trickier). But if you're wanting to pass an actual image between nodes, I think that could slow things down a fair bit. I should test this assumption!
Performance aside, I think we should definitely have nodes for loading and saving a heightmap, as well as a node for setting shader parameters on a material.
But in order to use the same nodes on both heightmaps and meshes, I think we should convert a heightmap to a mesh (or mesh arrays) and pass that around. Then convert back to a heightmap only when needed.
Vertex operations
Working on any Mesh object - Ah I see what you're wanting to do, and yeah it makes sense to generalise all this rather than make it just about terrain. This is likely much more complex than I was anticipating when I started the terrain discussion, but I'm up for it.
Just like with my comments about image manipulation above, I also wonder about the overhead of passing around MeshInstances and regenerating meshes on every node. I assume it would be much faster to pass around an array of mesh arrays, with the actual mesh generation only happening at output time. Again I should test this assumption! Any thoughts?
Applying a curve to noise
Modifying SimplexNoise with a Curve is really powerful! It allows you to smooth, sharpen, flatten, invert, ridge and generally tame the noise. This is great for terrain, but would also be useful when using noise to modify or exclude transforms.
So while a separate curve operation node would also be good, I do think it's worthwhile being able to couple a Curve object directly with a Noise object and have the changes show in the noise preview.
That's true, chaining a lot of heavy operations will hang the editor for a while. All the code to handle multi-threading is already there, but it's disabled because of an issue I haven't figured out yet. I guess that's my next priority if we want heightmap tools.
What could be a good test for this?
I don't know how Godot handle the PoolArrays internally or if there's a better data structure already available.
If you want to test, I think you can keep things simple without trying to create a new node in the plugin. Write a function in a tool script, create a PoolArray large enough to hold a 1k heightmap (more or less, I don't know what's the average useful size for this) and monitor how long it takes to loop through all values and fill it.
You can use OS.get_ticks_msecs at the beginning and at the end of the function and subtract both values to know how long it took. If it takes a few seconds at most it's probably fine, if it take several minutes ... we'll figure out something.
If we're talking about pure heightmaps (so vertical displacement only, not on all axis like, the Halo Wars terrain for example) then heightmap operations and vertex operations should be two separate things.
I should look into the engine source code just to be sure but I think a MeshInstance is just a container for an ArrayMesh so It probably won't change anything to pass around the raw ArrayMesh (plus a transform). I can't stop you from testing this but I don't think it's really important for now.
Ok I think I'm starting to understand what you mean with the curve. Is it something similar to the color curve found in most image processing software?
If so, yes it could definitely be integrated in the noise object.
(If I still got this wrong ... do you have an article / tutorial / example somewhere ?)
Multi-threading
Um, this might not be higher priority than some of the other features right now!?
But it would definitely make the editor more responsive and less likely to hang when modifying properties on complex graphs.
Pool Arrays
The docs say they're optimised for memory usage, as they don't fragment the memory.
And that they're passed by value, where as generic Arrays are passed by reference.
But based on some discussions I read, it's not as simple as that:
https://github.com/godotengine/godot/issues/8409
https://github.com/godotengine/godot/issues/17526
https://github.com/godotengine/godot/issues/15265
But it seem performance depends on what you do with the array.
Testing with tool script and OS.get_ticks_msecs
Yup that's how I normally do it.
But this benchmark project is even better.
On my system with Gogot 3.2 stable these are some significant results:
array append() ~200% faster than PoolIntArray append()
array[index] ~150% faster than array append()
array[index] ~3% faster than PoolIntArray[index] - I added this test for this
So basically don't append, especially to pool arrays, but if you access the pool arrays by index they're as fast as normal arrays, even if you pass them around (I added a tested for this too).
Some other things to consider:
empty function call 300% slower than not calling a function
So any function you call inside a large loop is expensive (like surface_get_arrays)
for ~130% faster while
for i in int: ~30% faster than for i in range(int):
if array: ~100% faster than if array.size():
if array: ~400% faster than if array == []:
the same is true for Dictionary, as well as float/int to a lesser degree
var init outside loop ~25% faster than var init inside loop
As an aside - a Timer node would be cool! It could pass through the input/output of other nodes, and have a second input/output to pass the msec value between two Timer nodes
MeshInstance vs ArrayMesh vs Raw Surface Arrays
So I added tests for this to my fork of the benchmark project if you ever want to take a look.
You're right that passing ArrayMesh around isn't significantly faster than using MeshInstance.
But what I meant was that passing around the raw surface arrays should be faster, and it is.
How much faster varies widely depending on 3 main things:
array size
number of loops
complexity of each loop body
But the bottom line is that it's can be between 25-100% times faster to pass around the raw surface arrays, rather than getting the surface arrays out and back into the ArrayMesh.
Heightmap vs Vertex operations
I haven't specifically tested this yet, but in previous tests I've done, the same was true for getting raw data in and out of images.
So heightmap operations should also pass around their raw array data if possible.
So in order to use use the same modification nodes for both, we might as well load it into a raw surface array!?
Like curves in image processing software
Yes that's a much better way to explain it - silly me.
When applying a curve to an image, it's basically a complex way to do brightness, contrast, invert and much more.
Cool lets add a curve input to the generic Noise class we add!
I can work on this after I get the Transform nodes cleaned up
I didn't knew about this benchmark project, I'll check it out. In this use case we will never have to append anything to the PoolArray since it size should never change. Getting and setting values are the only two that matters.
Ok that's really good to know! That means the MESH type currently in use should no longer represents a mesh instance but an array of raw surfaces.
Should we add the mesh instance transform somewhere in there to not lose this information?
Would creating a new object with two members, surfaces and transform, have a performance impact compared to passing the array only?
I don't know, heightmaps aren't really a mesh, their raw data is nothing more than a PoolIntArray (or PoolByteArray?)
I think it's best to separate heightmap and meshes operations.
Then when you actually want to turn the raw heightmap into a mesh, there's a node to do that and you can chain its mesh output to vertex operations nodes
But doing so, you lose the advantage of using a simplified runtime mesh generation and collision handling and are forced to use a per polygon collision. Which may or may not be an issue depending on the use case
If you don't need to generate a mesh here, there's a node to save the raw data in a picture and then use it in a heightmap system tailored for you game (which is not part of the plugin)
Class wrapper with surfaces and transform?
I just tested this, and t doesn't seem to add an impact.
So yeah a ConceptGraphMesh class?
Heightmaps separate
Ok, yeah that makes sense.
So a new type that just passes around the raw data?
PoolByteArray is a pain to work with, so for sanity we may want convert to/from an int or float array.
Will test what's best some time.
What do you mean by this?
lose the advantage of using a simplified runtime mesh generation and collision handling
Heightmap system not part of the plugin
Yeah not full on, but we could have a node for setting shader params on a material, and a basic vertex shader example, just to show the workflow.
ConceptGraphNoise
Cool I think I have a pretty good idea of what's required.
Thanks for the tests! ConceptGraphMesh sounds good to me.
PoolRealArray it is then, unless there's a good reason to use the int variant. Also, probably going to need its own wrapper class for meta data like heightmap range or other things I may have forgot about.
What I mean by simplified runtime mesh generation and collision handling is
Godot has a built in HeightMapShape object to handle terrain collisions.
It's faster for the physics engine to use this shaped compared to using a full collision mesh because it only have a height check to do.
If you apply a vertex operation after generating the heightmap mesh, the collision data won't match the geometry anymore, especially if the vertices are moved in another axis than the vertical one.
We could add a node that project a mesh geometry to a heightmap but that's yet another feature
HeightMapShape
Oh ok, yes I use this in my infinite terrain project.
It's not so much about heightmap vs mesh,
it just a question of whether you have a uniform grid of points or not.
I've messed with trimesh shapes for triangulated "low poly" terrain too, and while it's much slower to generate, I've never noticed any runtime performance issues with it.
I didn't have lots of physics bodies interacting with it though, just a character controller.
I've actually experienced more issues with the heightmap shape than with trimesh. Things like clipping on inclines when mesh resolution is low, and falling though when moving at speed.
Heightmap offers control
I see what your getting at though, mesh nodes can modify x/z, so it's best to stay in heightmap territory.
Possible Solution
When converting from heightmap to mesh, have a flag for whether x/z have been modified, and if so generate a trimesh shape for collision, otherwise generate a heightmap shape.
Then switch the flag in mesh modification nodes when the x/z of verts will be modified. Like if they're not 0 in an amount vector3 input.
On the same page
I see that you're pointing towards this heightmap stuff being the better simple terrain solution (which is what I originally wanted to work on). I've just been getting hung up on meshes vs images thing I guess.
So yeah I think we're on the same page now.
It's not going to be easy to have a reliable flag for x/z while making it clear for the end user what they can or can't do though. But I can start working on a prototype later this week end if I can fix two more pressing issues first.
I was just thinking a property on the new ConceptGraphMesh could work, but yeah checks would have to be added to every Mesh node that can modify x/z.
And yeah the UX of it could be rather tricky.
So I'd say, lets implement Heightmap stuff on it's own for now, and see how it progresses.
This flag thing isn't priority imo, but that's up to you.
My bad, I meant I can work on a minimal set of heightmap nodes just to see how it goes
Oh ok, but just note...
I've done quite a bit of work around terrain generation in recent months, so I have bits of pretty optimised code for this stuff already. So yeah that's why I was pretty keen to work on it if possible.
I have stuff like working with PoolByteArray, generating heightmaps and normalmaps from raw float arrays, an example vertex displacement shader with basic vertex coloring. Then there's the terrain mesh generation stuff, which could just be done as a simple end node for outputting the heightmap (for visualisation if nothing else).
But it would definitely be good if you could setup the Heightmap input/output type, as I haven't looked into that part of the code yet, so aren't sure what's involved.
I have some time this weekend too (public holiday on Monday too), so let me know what's priority for me to work on:
Node naming cleanup (I've done most of this, as well as tweaking the node panel to sort alphabetically)
Noise class/node (merging multiple, adding curves)
Heightmap nodes
I think it's best to finish what was already started before jumping to new features. I'll setup the new data type for heightmaps but then, work on what you want the most !
So I've added some very basic heightmap stuff in cab84503ccb4c3a6825f08e6d3114f816aaf8d11
There's a new ConceptGraphDataType.HEIGHTMAP type for node slots
There's a ConceptGraphHeightmap class in src/data_structures/heightmap.gd which is just a wrapper around a PoolRealArray
Nothing is optimized since it's mostly throwaway code
It works fine with really low resolutions (like 128*128)
256 already takes a lot longer (around 30 - 40 seonds) but at least it doesn't freeze the editor since everything runs on a separate thread now.
I tried 1k and the editor crashed so I assume Godot doesn't like continuous 1 million elements poolarrays, I haven't really investigated.
Awesome, thanks for setting that up.
So yeah, writing into a PoolXArray property on an object is very slow. This is because they're only passed by reference when reading, but have copy-on-write functionality (for mutability?). The same is not true of normal Arrays.
So in heightmap_from_noise doing map.data[i] = height inside the loop, copies the whole array every iteration - crazy huh. Juan from Godot seems to think GDscript shouldn't need to use pool arrays much, so I think fixing this is pretty low priority for him.
Anyway, this can be fixed while still using a PoolRealArray, by copying it to a local var before the loop and copying it back to the object after. In GDscript (and other languages), doing this for any variable reference external to a function is faster - when you're going to r/w it multiple times that is.
But, so that no one hits this issue in future, lets stick to using generic Array's, and only convert to Pool arrays when a Godot method requires it - as their constructor functions allow this and the overhead is minimal.
While this allows for much more flexibility with the ConceptGraphHeightmap class , there's still performance differences between common options - values are for my basic laptop with i7 5500U 2.8Ghz:
data[i] local var - 550ms (same for Pool or Array)
map.data[i] - 700ms (this is where a Pool array causes issues, but Array is fine)
map.set_index(i, height) - 780ms (same for Pool or Array, but unnecessary overhead for Array)
map.set_point(x, y, height) - 900ms (same for Pool or Array and is a useful method)
set_point could be set_data, but set_varname usually implies setting the whole value. set_height could be another option
Those are much better generation times huh! :)
Note that this loop is only running get_noise_2d, which is fairly fast. More complex operations will slow things down a lot more, and may make the difference between these options disappear.
So I'll add those class methods (already have locally), and we can test performance again once we have more nodes to chain. I'll probably use option 1 for now. Will PR soon.
Finally, in my quick benchmark test of this the other day, I was storing the object array to a local var, because it's something usually do anyway. So that's why the issue didn't show up then.
Then optimising Mesh from Heightmap will be my next task I think
Thank you for the detailed explanation, that makes it a lot clearer! I completely missed the copy on write part, no wonder it was so slow.
I tried generating a 2k heightmap and it worked well. It took 4 seconds on my CPU and the code only uses 1 thread so there's still room for optimization even before trying to do this in gdnative. (But that's not a priority).
I'd like to experiment with new heightmap nodes but I don't want to rewrite code you may already have done before. Let me know if there's things I shouldn't be working on.
My top priority will be adding from_image() and to_image() methods to the heightmap class, as I have decent code for doing this already. Feel free to suggest different function names.
I've also started work on:
Noise combining with curves
Have the new class done and Simplex Noise node updated (will PR)
Was going to add Curve input to Simplex Noise, but might add a separate node instead.
Optimizing Heightmap to Mesh
I have this mostly sorted, but need to iron out bugs
I've also added and tweaked some inputs (might discuss in separate issue)
But I had to stop work on this because of those errors I'm having.
And here's some nodes I'd like to see added (I'm keen to work on any)
Heightmap from Image (will use from_image()).
Heightmap to Image (will use to_image()).
Generate Normal Map (easy, I have code).
Generate Colour Map - based on height and slope (also have code for this), and noise masks etc.
Generate Splat Map - similar to above but output to RGBA channels rather than pixel colors.
Heightmap Splitting - output an array of multiple heightmaps for terrain chunking.
Heightmap to Mesh Grid - take the above and generate multiple meshes in a grid (optionally flat planes for use with a vertex shader).
Set Shader Param - for directly assigning images to materials.
Heightmap to Transforms - for scattering objects on the terrain.
Transform nodes to help with scattering:
Place/Mask based on height and slope.
Trees/rocks - Landscaper for Unity does some cool stuff.
Grass - a special case, as you have to account for mesh face normals or you get the floating grass issue (I've done some work on this).
Deformation - adding rivers or specific mountains based on curve 3D and other inputs.
Erosion - Zylanns Heightmap plugin has code for this.
So feel free to make a more final list which:
Adds your ideas
Removes ideas you aren't keen on adding (let me know why)
Sort in order of priority (or just point out which should be done first)
And notes the stuff you want to work on.
Heightmap to mesh
I've started working on a simple deformation node which made me realize there's a few inputs that should be moved to the heightmap class itself, like the mesh size, to allow operations like this:
It's available on the latest commit of develop, nothing definitive yet, I just canted to see if it would work.
New heightmap nodes
Looks good to me. I don't know if there's a need to prioritize anything. I was also thinking of using vertex colors to avoid generating color textures and use a shader to handle the tiling and blending. That could be an other option in addition to everything else.
That flatten area node is very cool, and I can see where it's leading.
As for needing to move properties into the Heightmap class?
I've been working on this the past few days, and it's finally working well! Here's what I've done:
I've got it working really robustly, so you can set the values to anything and it will always output a mesh.
I've changed all properties to scalars, as they're quicker to use, and they have the step, min, max options. Those options help make things more robust and easier to edit. There seems to be no way to limit a vector node the same way? Could vector inputs be in the node by default like scalars?
The current code isn't using separate x/y sizes yet, and terrain meshes are usually square anyway. Can change this if you really think we need to?
I also changed Density to Subdivide as it's easier to understand, and it allows you to connect either of the size values to it, optionally passing them though a scalar division (to change lod etc). Changing the Texture Size scales the noise, which allows you to mess with resolution without the terrain changing - super helpful.
So with all this, you can make Texture Size match Subdivision (better for fast update), and then later you can up the texture resolution for generating normal/color/splat maps.
Here's an example terrain that's using 3 blended noise nodes (which I've also just about finished).
I'll get things cleaned up and will PR over the weekend.
I feel like I've been a bit slow on getting this stuff sorted, but it's going to be worth it :)
Awesome work! Let me know if there's strange conflicts with the base branch when making the PR.
Apply Noise and Apply Image
I think it would be better, this would keep all the generation settings in one place without having to duplicate the code (I don't think users need to generate a lot of heightmaps in a single graph anyways), and having an Apply Noise node make it possible to chain them.
Could vector inputs be in the node by default like scalars
It used to be possible, but the UI was really bad and made every nodes twice as wide. Initially I thought it wouldn't be a big deal to separate them but now I realize how annoying it is to create a new vector node every time. I'm going to add them back and copy Blender's UI for this.
Parameter changes
Good catch on the texture size, my prototype just didn't cared at all about this, maybe we should add a setting to the noise preview too so the picture matches what's actually used, for now it displays a 175px square of noise. Also I guess the Subdivide parameter should be called Subdivision.
How does the Blend Noise work? The blend formula is usually (A * (1-x)) + (B * x) but I see the second input accepts multiple connections?
Apply Noise - ok will add this.
Naming format again
When naming the transform nodes I used brackets for the "variant" name:
Heightmap (Apply Noise)
But now I'm thinking a colon is better:
Heightmap: Apply Noise
Having "Heightmap" in there is mostly necessary for search. But you're going to make search also use the category we could drop "Heightmap:" It is still good for visual clarity though.
Perhaps we should decide on the node and input naming conventions and post it somewhere here for people to refer to?
Blend Noise formula
(A * (1-x)) + (B * x) - this is a "lerp" formula right?
My current code does this in the loop of noises:
get_noise -> apply curve -> clamp -> lerp (blend value) -> add to total
Then after the loop total / num_noise - when curves are involved this isn't perfect averaging.
I was thinking of adding a Blend Type input with various math options like Add, Subtract, Min, Max - kind of like your Flatten Area node. But this adds even more overhead, which is costly when calling get_nose thousands of times. It also makes the averaging (total / num_noise) part tricky.
Adding multiple noises to the second input isn't strictly necessary, and it might make things easier if we don't allow that.
Note: having the Apply Noise node makes Blend Noise slightly unnecessary for Heightmaps. It might still be useful for other situations, but I'm not sure how useful. Having a curve on the noise node is the most useful part.
It would be interesting to see if the Blend Noise setup (looping noises each get_noise) is faster or slower than looping heightmap points multiple times but only sampling a single noise in each loop.
I'll add a dedicated page for naming conventions in the wiki.
Blend Noise formula
Oh right, that's a lerp formula, my bad.
Having a Blend Noise node is still useful for users doing something unrelated to heightmaps. Having multiple operations could be useful too, maybe in a separate Math Noise node (maybe not the best name) but I think this one can wait until after your PR
Along with the height map to vertex shader node...
I'm working on an apply image node that takes a texture input from an inspector property.
Currently I have two vector3s for scale and offset, with the defaults fitting the image to the full size of the heightmap (like apply noise node).
I could change this to take multiple box inputs for stamping multiple instances of the image onto the heightmap? Or perhaps that should be a separate node?
Does that sound good, or can you think of a better workflow?
It would probably be simpler if the stamping was its own node. Otherwise you have an Apply Noise and an Apply Image that sounds like they do the same thing but from different sources, except Apply image has extra parameters and features.
So you would have to port that feature back in Apply Noise and I guess this makes a good rule of thumb : If two nodes can share the same feature then it should be extracted in its own node.
Hey @HungryProton
I was working on the Apply Image node by looping over the image data, but I had some trouble getting scaling and rotation right. I mostly have it sorted now, but...
I've jumped into an even better solution for real-time heightmap editing!
It uses canvas_item shaders on TextureRects inside of a Viewport, whose output is applied directly to a vertex/fragment shader on a PlaneMesh
It's basically using the Viewport like a document in Photoshop, where the TextureRects are layers and the canvas_item shader enables blending the layers.
So I'm now planning to redo the Heightmap class as an interface for setting up the Viewports and adding/transforming the TextureRects inside of it.
It's going to be epic! Hopefully I can get something usable setup this week.
If it work, it's going to be great! Let me know if you need anything, I'm mostly working on bug fixing for now
Hey I'm still working on this viewport based heightmap solution, but have been busy recently.
I have a bunch of it working well in real time, but still have a bunch to do to get it matching all the current features.
I may just put it up on my fork some time for you to look at, and then perhaps you can move forward with it quicker?
Hey! No worries, I've been quite busy too lately. I glad to see that your idea worked! Feel free to put it online so I can take a look.
I don't know if you heard about it but I'm turning the add-on into a full standalone software. It shouldn't affect your work at all, it's still made with Godot and I'm only rewriting the interface, I'm not changing anything about the nodes. Being standalone makes it much more stable and a bit faster too!
But that means ConceptGraph now works at runtime and the next big thing on my roadmap is to make work in a game, not only in an editor. I think that's something you were interested in too. I'll let you know once I made more progress on this part, it would be interesting to see how far we can go with your new height-map system :smiley:
| gharchive/issue | 2020-05-26T03:47:09 | 2025-04-01T04:32:37.711477 | {
"authors": [
"BryceBubbles",
"HungryProton"
],
"repo": "HungryProton/concept_graph",
"url": "https://github.com/HungryProton/concept_graph/issues/66",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1471488375 | 建议ServiceProvider开启类注解,避免声明许多无用的静态方法
/**
Created by ZhangTao on 17/8/11.
/
@Retention(RetentionPolicy.SOURCE)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.CLASS
)
annotation class ServiceProvider(val returnType: KClass<> = ServiceProvider::class,
val params: Array<KClass<*>> = [],
val priority: Int= 0 //当前实现,get返回值越大的对象
// 最终实现 List
)
只需要修改TheRouterAnnotationProcessor的方法
private fun genJavaFile(
pageList: ArrayList<ServiceProviderItem>,
flowTaskList: MutableList<FlowTaskItem>
) {
if (pageList.isEmpty() && flowTaskList.isEmpty()) {
return
}
val stringBuilder = StringBuilder()
stringBuilder.append("{")
var isFirst = true
flowTaskList.sort()
pageList.sort()
flowTaskList.forEach {
if (!isFirst) {
stringBuilder.append(",")
}
stringBuilder.append("\\\"").append(it.taskName).append("\\\":\\\"")
.append(it.dependencies).append("\\\"")
isFirst = false
}
stringBuilder.append("}")
val path =
processingEnv.filer.createSourceFile(PACKAGE + POINT + PREFIX_SERVICE_PROVIDER + "temp")
.toUri().toString()
val className = PREFIX_SERVICE_PROVIDER + abs(path.hashCode()).toString()
var ps: PrintStream? = null
try {
val jfo = processingEnv.filer.createSourceFile(PACKAGE + POINT + className)
val genJavaFile = File(jfo.toUri().toString())
if (genJavaFile.exists()) {
genJavaFile.delete()
}
ps = PrintStream(jfo.openOutputStream())
ps.println(String.format("package %s;", PACKAGE))
ps.println()
ps.println("/**")
ps.println(" * Generated code, Don't modify!!!")
ps.println(" * Created by kymjs, and APT Version is ${BuildConfig.VERSION}.")
ps.println(" */")
ps.println("@androidx.annotation.Keep")
ps.println(
String.format(
"public class %s implements com.therouter.inject.Interceptor {",
className
)
)
ps.println()
ps.println("\tpublic static final String TAG = \"Created by kymjs, and APT Version is ${BuildConfig.VERSION}.\";")
ps.println("\tpublic static final String THEROUTER_APT_VERSION = \"${BuildConfig.VERSION}\";")
ps.println("\tpublic static final String FLOW_TASK_JSON = \"${stringBuilder.toString()}\";")
ps.println()
ps.println("\tpublic <T> T interception(Class<T> clazz, Object... params) {")
ps.println("\t\tT obj = null;")
ps.print("\t\t")
val prop = Properties()
try {
val gradleProperties = FileInputStream(PROPERTY_FILE)
prop.load(gradleProperties)
} catch (e: Exception) {
e.printStackTrace()
}
for (serviceProviderItem in pageList) {
//处理 USE_EXTEND 开关
if (STR_TRUE.equals(prop.getProperty(KEY_USE_EXTEND), ignoreCase = true)) {
ps.print(
String.format(
"if (%s.class.isAssignableFrom(clazz)",
serviceProviderItem.returnType
)
)
} else {
ps.print(
String.format(
"if (%s.class.equals(clazz)",
serviceProviderItem.returnType
)
)
}
// 多参数判断
ps.print(" && params.length == ")
if (serviceProviderItem.params.size == 1) {
if (serviceProviderItem.params[0].trim { it <= ' ' }.isEmpty()) {
ps.print(0)
} else {
ps.print(1)
}
} else {
ps.print(serviceProviderItem.params.size)
}
//参数类型判断
for (count in serviceProviderItem.params.indices) {
if (!serviceProviderItem.params[count].trim { it <= ' ' }.isEmpty()) {
ps.print(
String.format(
Locale.getDefault(),
"\n\t\t\t\t&& params[%d] instanceof %s",
count,
serviceProviderItem.params[count]
)
)
}
}
ps.println(") {")
ps.println("\t\t\t// 加上编译期的类型校验,防止方法实际返回类型与注解声明返回类型不匹配")
if (serviceProviderItem.methodName.isBlank()) {
ps.print(
String.format(
"\t\t\t%s retyrnType = new %s(",
serviceProviderItem.returnType,
serviceProviderItem.className
)
)
} else {
ps.print(
String.format(
"\t\t\t%s retyrnType = %s.%s(",
serviceProviderItem.returnType,
serviceProviderItem.className,
serviceProviderItem.methodName
)
)
}
for (count in serviceProviderItem.params.indices) {
if (!serviceProviderItem.params[count].trim { it <= ' ' }.isEmpty()) {
//参数强转
ps.print(
String.format(
Locale.getDefault(),
"(%s) params[%d]",
serviceProviderItem.params[count],
count
)
)
if (count != serviceProviderItem.params.size - 1) {
ps.print(", ")
}
}
}
ps.println(");")
ps.println("\t\t\tobj = (T) retyrnType;")
ps.print("\t\t} else ")
}
ps.println("{\n")
ps.println(" }")
ps.println(" return obj;")
ps.println(" }")
ps.println()
ps.println("\tpublic static void addFlowTask(android.content.Context context, com.therouter.flow.Digraph digraph) {")
for (item in flowTaskList) {
ps.println("\t\tdigraph.addTask(new com.therouter.flow.Task(${item.async}, \"${item.taskName}\", \"${item.dependencies}\", new com.therouter.flow.FlowTaskRunnable() {")
ps.println("\t\t\t@Override")
ps.println("\t\t\tpublic void run() {")
ps.println("\t\t\t\t${item.className}.${item.methodName}(context);")
ps.println("\t\t\t}")
ps.println()
ps.println("\t\t\t@Override")
ps.println("\t\t\tpublic String log() {")
ps.println("\t\t\t\treturn \"${item.className}.${item.methodName}(context);\";")
ps.println("\t\t\t}")
ps.println("\t\t}));")
}
ps.println("\t}")
ps.println("}")
ps.flush()
} catch (e: Exception) {
e.printStackTrace()
} finally {
ps?.close()
}
}
最终达到代码生成效果
public T interception(Class clazz, Object... params) {
T obj = null;
if (com.therouter.app.service.IUserService.class.isAssignableFrom(clazz) && params.length == 1
&& params[0] instanceof java.lang.String) {
// 加上编译期的类型校验,防止方法实际返回类型与注解声明返回类型不匹配
com.therouter.app.service.IUserService retyrnType = new com.therouter.app.service.imp.UserServiceImpl((java.lang.String) params[0]);
obj = (T) retyrnType;
} else {
}
return obj;
}
同时建议USE_EXTENSION默认开启, isAssignableFrom 判断比 equal好一点,避免接口继承接口无法直接get父类
| gharchive/issue | 2022-12-01T15:11:49 | 2025-04-01T04:32:37.734277 | {
"authors": [
"mtzqc"
],
"repo": "HuolalaTech/hll-wp-therouter-android",
"url": "https://github.com/HuolalaTech/hll-wp-therouter-android/issues/37",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
475810617 | Added Multi-Bitbucket support for properties file
Pull Requests and Commits:
Added Multi-Bitbucket instance support for properties file
Added Multi-User/Password support for properties file with Base64 Encryption Required
I will be on PTO until Aug 28th. I'll look at it after then if it still
remains
On Fri, Aug 2, 2019, 6:55 AM Ragha Vema notifications@github.com wrote:
@andy-scollard https://github.com/andy-scollard Thanks for your
interest and your contribution! We are in the middle of migrating bitbucket
collector to its own repository under Hygieia Organization. This effort
should be done by 08/05, can you close this PR and create a PR under the
new repo - https://github.com/Hygieia/hygieia-scm-bitbucket-collector .
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Hygieia/Hygieia/pull/3075?email_source=notifications&email_token=AFJGN24Q5JPCLS4IGSFIA23QCQ4E7A5CNFSM4IITAOXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3N2AGQ#issuecomment-517709850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFJGN23ZVQQE5MEPI7V2OM3QCQ4E7ANCNFSM4IITAOXA
.
@raambabun and @andy-scollard The repository for bitbucket is now ready to be consumed from the location - https://github.com/Hygieia/hygieia-scm-bitbucket-collector. Please close this PR and create it under the new repository.
@andy-scollard Can you close this PR and open it against the new repository - hygieia-scm-bitbucket-collector .
@andy-scollard I am closing this PR due to no response. Please create this under the appropriate repo as mentioned above.
Sorry, I wasn't available. I will re-submit the PR in the new repo this week.
| gharchive/pull-request | 2019-08-01T17:49:21 | 2025-04-01T04:32:37.755560 | {
"authors": [
"andy-scollard",
"rvema"
],
"repo": "Hygieia/Hygieia",
"url": "https://github.com/Hygieia/Hygieia/pull/3075",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
724008726 | Adding fields when adding a new context entry doesn't work
If you click the reaction to add more fields to a context entry you're adding the reactions will be removed and the bot will keep adding them back, not letting you add extra fields. The only way to do this is to add the entry as it is and then edit it afterwards
This has already been fixed
This has already been fixed
| gharchive/issue | 2020-10-18T13:36:24 | 2025-04-01T04:32:37.765336 | {
"authors": [
"ImRodry"
],
"repo": "Hypixel-Translators/hypixel-translators-bot",
"url": "https://github.com/Hypixel-Translators/hypixel-translators-bot/issues/164",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1718501847 | Bluelink for Australia
Would it be possible to make this work for Australia too please?
Someone would need to sniff the traffic and see how close it is to our current regions.
| gharchive/issue | 2023-05-21T13:20:19 | 2025-04-01T04:32:37.766864 | {
"authors": [
"cdnninja",
"jptekno"
],
"repo": "Hyundai-Kia-Connect/kia_uvo",
"url": "https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/645",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1795154578 | License
Can you add a license to this repo?
Great work, BTW. I learnt a lot from this repo.
Hello,
All code in this repo is on MIT license, Thanks for the advice I'll add the license file later.
| gharchive/issue | 2023-07-08T22:46:26 | 2025-04-01T04:32:37.767859 | {
"authors": [
"Hyuto",
"Y-T-G"
],
"repo": "Hyuto/yolo-nas-onnx",
"url": "https://github.com/Hyuto/yolo-nas-onnx/issues/6",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
1888718682 | Step 5: Export lowest points on a graph of the model doesn't work
After training, I tried step 5 and it didn't work.
It either never loaded or when it did load, would just display nothing as if it was never pressed. No error showing up either.
Locally or Colab?
Local
Same for me with the latest version
works for me but sometimes shows not as many as selected
We removed this feature because its so buggy 🥹
Aw, I was using it. It was very useful when it worked. Hopefully you can fix the bugs.
I made an analysis of log file to choose lowest values. Anybody can inject this code to interface?
| gharchive/issue | 2023-09-09T12:11:31 | 2025-04-01T04:32:37.771550 | {
"authors": [
"Maelstrom2014",
"Mefuuu",
"blaise-tk",
"ccateni",
"cheezebone",
"molotovah"
],
"repo": "IAHispano/Applio-RVC-Fork",
"url": "https://github.com/IAHispano/Applio-RVC-Fork/issues/20",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
201890698 | Update start as per tutorials indications
'Update start as per tutorial indication'
First pull
| gharchive/pull-request | 2017-01-19T15:26:47 | 2025-04-01T04:32:37.789232 | {
"authors": [
"perdesali"
],
"repo": "IBM-Blockchain/learn-chaincode",
"url": "https://github.com/IBM-Blockchain/learn-chaincode/pull/89",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
265976725 | [CLOSED] Consistency
Issue by Wilson-Ding1
Thursday Sep 28, 2017 at 03:49 GMT
Originally opened as https://github.ibm.com/IBM-Swift/Kassandra/issues/12
Issue by sandmman
Wednesday Aug 10, 2016 at 15:05 GMT
Originally opened as https://github.com/IBM-Swift/Kassandra/pull/12
[x] Allows user set consistency
[x] Sets up global flags
[x] Returns and simplifies result for all execution types
[x] Adds additional datatype handling
[x] Renames some extensions/functions for clarity
sandmman included the following code: https://github.com/IBM-Swift/Kassandra/pull/12/commits
Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 03:49 GMT
Comment by sandmman
Wednesday Aug 10, 2016 at 15:15 GMT
I wasn't sure if I should update the test cases or not, since Chia's working on them and we'd have merge conflicts
| gharchive/issue | 2017-10-17T02:53:53 | 2025-04-01T04:32:37.812497 | {
"authors": [
"dingwilson"
],
"repo": "IBM-Swift-Sunset/Kassandra",
"url": "https://github.com/IBM-Swift-Sunset/Kassandra/issues/12",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
140881976 | Compiler Error
When trying to compile a Kitura project, Kitura-net fails to compile because of a dependency on Kitura-HttpParserHelper which as been recently deprecated. The compiler fails repeatedly with:
/Packages/Kitura-HttpParserHelper-0.4.0/utils.h:22:10: error: 'http_parser.h' file not found
@chrisozenne Could you please provide more details? Which project, branch, OS, Package.swift ?
The simplest way to diagnose the problem to check the latest Kitura Sample project master or develop branch, and compare it with your project.
@vadimeisenbergibm: I was calling swift build rather than make run and swift build would fail with the file not found errors, but make run seemed to get by just fine. I took a look at the Makefile but it still seems strange that I would get the errors that I did.
@chrisozenne I see, the problem is due to the fact that you probably did not pass the flags:
-Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib to swift build, as specified in README, Developing Kitura applications, step 8. http_parser.h is in /usr/local/include, the flag -Xswiftc -I/usr/local/include instructs swift compiler to look there for .h files.
@vadimeisenbergibm I was calling swift build because I was trying to build a project from scratch, rather than try to use Kitura-Sample. Currently it's very hard to build from scratch because of the dependency on the Makefile as well as having an initialized git repo and Kitura-CI.
Also, the Makefile from Kitura-CI has the following code which assumes you are building a project named Kitura-Sample:
run: build
@echo --- Invoking KituraSample executable
./.build/debug/KituraSample
I'm trying to write some documentation on how to get started with Kitura, however it's challenging to provide a step-by-step guide that doesn't rely heavily on Kitura-Sample as a starting point. It's much easier for me to explain the process by starting from scratch and slowly adding in pieces and explaining why each piece is being added in one-by-one. I think Kitura-Sample is fantastic, but it may be an overwhelming place to start for someone who is coming from an iOS background and looking to leverage their Swift skills in building a backend to an iOS app.
@vadimeisenbergibm Thanks for the info on the build flags. I actually had to omit those build flags for the first week or so while building Kitura because Swift would complain that it didn't recognize them, I think this had to do with some conflict with the Swift toolchain and Kitura at the time. As a result I got in the habit of just using swift build because at least that seemed to compile at the time. Things are changing very very fast around here :+1:. Thanks for helping me sort things out!
My from-scratch build seems to work now. Yay!
@chrisozenne You are right regarding the Makefile in Kitura-CI, I removed run target from it on develop branch Makefile in Kitura-CI develop branch. It will be merged into master in a couple of weeks.
Please note that the Makefile is written in such a way that you can just copy it and the script(s) in Kitura-CI/build into your example project and edit/add run target. You do not have to add Kitura-CI as submodule, though I think adding Kitura-CI is the best solution if you want to stay updated with the latest changes in swift build flags used by Kitura. One of the reasons to introduce Makefile was to shield Kitura users from changes in swift build flags we had to make.
Awesome, thanks for the tips!
| gharchive/issue | 2016-03-15T05:58:08 | 2025-04-01T04:32:37.820707 | {
"authors": [
"chrisozenne",
"vadimeisenbergibm"
],
"repo": "IBM-Swift/Kitura-net",
"url": "https://github.com/IBM-Swift/Kitura-net/issues/11",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
150994944 | Header refactoring
Description
This PR merges in the changes for the Header refactoring.
Motivation and Context
Resolves https://github.com/IBM-Swift/Kitura/issues/404
How Has This Been Tested?
Checklist:
[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.
This change is
After a lot of back and forth, we are finally ready to merge this in! It will be tagged immediately so the Kitura PR can see it.
| gharchive/pull-request | 2016-04-25T22:12:36 | 2025-04-01T04:32:37.824598 | {
"authors": [
"dfirsht"
],
"repo": "IBM-Swift/Kitura-net",
"url": "https://github.com/IBM-Swift/Kitura-net/pull/20",
"license": "apache-2.0",
"license_type": "permissive",
"license_source": "bigquery"
} |
534533089 | SCAN and KEYS missing from API ?
I am trying to retrieve all keys on Redis but I don't see in the API an option to use
SCAN "" nor KEYS *.
I assume that KEYS * is not present for performance issue but scan is pretty much needed to search through records. Perhaps I am missing something ?
it seems that the function scan exist but is not documented (https://ibm-swift.github.io/Kitura-redis/Classes/Redis.html) can someone please consider add it as an example in the readme? Examples of edit records and delete would also be necessary to have a complete overview.
| gharchive/issue | 2019-12-08T12:14:59 | 2025-04-01T04:32:37.826325 | {
"authors": [
"gurugeek"
],
"repo": "IBM-Swift/Kitura-redis",
"url": "https://github.com/IBM-Swift/Kitura-redis/issues/76",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
136637707 | Code quality badge
Hi, your code quality is not bad. I wonder whether you'd like to track you code quality with codebeat? :)
Duplicate of #235
| gharchive/pull-request | 2016-02-26T09:13:37 | 2025-04-01T04:32:37.827174 | {
"authors": [
"kweinmeister",
"lsolniczek"
],
"repo": "IBM-Swift/Kitura",
"url": "https://github.com/IBM-Swift/Kitura/pull/174",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2324847006 | Added support for Hipersockets - zVM HCP
Added support for Hipersockets - zVM HCP
Updated hcp creation command to accept additional flags from user
Updated docs
:tada: This PR is included in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
| gharchive/pull-request | 2024-05-30T06:47:39 | 2025-04-01T04:32:37.829286 | {
"authors": [
"AmadeusPodvratnik",
"veera-damisetti"
],
"repo": "IBM/Ansible-OpenShift-Provisioning",
"url": "https://github.com/IBM/Ansible-OpenShift-Provisioning/pull/281",
"license": "MIT",
"license_type": "permissive",
"license_source": "github-api"
} |
998350728 | Reference within a bundle could not be resolved with entry request conditional update
Describe the bug
References within a transaction bundle could not be resolved, when:
"fullUrl" of the referred resource is "urn:uuid:[id]" and "reference" field is the same "urn:uuid:[id]"
"request" is conditional update, search parameter is "identifier"
Environment
Which version of IBM FHIR Server?
4.9.0
To Reproduce
Steps to reproduce the behavior:
Upload the following bundle to base URL, e.g. "https://localhost:9443/fhir-server/api/v4/"
{
"resourceType":"Bundle",
"type":"transaction",
"entry":[
{
"fullUrl":"urn:uuid:patient",
"resource":{
"resourceType":"Patient",
"text":{
"status":"generated",
"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">Test Patient</div>"
},
"identifier":[
{
"system":"https://github.com/synthetichealth/synthea",
"value":"e531c09f-6887-6aba-af17-cbc521900b87"
}
],
"name":[
{
"use":"official",
"family":"Rath779",
"given":[
"Iliana226"
],
"prefix":[
"Ms."
]
}
],
"gender":"female",
"birthDate":"1992-08-02"
},
"request":{
"method":"PUT",
"url":"Patient?identifier=https://github.com/synthetichealth/synthea|e531c09f-6887-6aba-af17-cbc521900b87"
}
},
{
"fullUrl":"urn:uuid:observation",
"resource":{
"resourceType":"Observation",
"text":{
"status":"generated",
"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">Test Observation</div>"
},
"identifier":[
{
"use":"official",
"system":"http://www.bmc.nl/zorgportal/identifiers/observations",
"value":"0516"
}
],
"status":"final",
"code":{
"coding":[
{
"system":"http://loinc.org",
"code":"55233-1",
"display":"Genetic analysis master panel-- This is the parent OBR for the panel holding all of the associated observations that can be reported with a molecular genetics analysis result."
}
]
},
"subject":{
"reference":"urn:uuid:patient",
"display":"Ms. Iliana226 Rath779"
}
},
"request":{
"method":"PUT",
"url":"Observation?identifier=http://www.bmc.nl/zorgportal/identifiers/observations|0516"
}
}
]
}
Get the uploaded Observation and check the "subject" field
Expected behavior
After uploading the bundle, the reference field in Observation.subject is expected to be resolved, e.g. updated by the new location of the Patient, but it stays like "urn:uuid:[id]".
Additional context
The following requests are also tested:
upload a bundle with a QuestionnaireResponse and a Patient (the QuestionnaireResponse is referring the Patient as "subject"), using the same kind of reference, it works perfectly fine. The reference in QuestionnaireResponse then will be updated by "Patient/[new_id]".
upload a bundle with other types of resources referring a Patient, e.g. Practitioner, Encounter, DiagnosticReport.
upload a bundle with a QuestionnaireResponse referring a Patient, a Observation referring a Patient, then only the reference in QuestionnaireResponse could be resolved.
In the log of IBM FHIR server, a successful case and a failed case have different order of creating these two resources are different:
in the bundle with a QuestionnaireResponse and a Patient (the QuestionnaireResponse is referring the Patient as "subject"), the QuestionnaireResponse is created after the Patient, then the references are successfully resolved
in the bundle with a Observation and a Patient (the Observation is referring the Patient as "subject"), the Observation is created before the Patient, then the references are wrongly resolved
I suppose it is expected: first the patient is created, then the Observation should be created, so that the reference could be resolved.
So the first update is a conditional update Patient?identifier=https://github.com/synthetichealth/synthea|e531c09f-6887-6aba-af17-cbc521900b87.
If that resolves to a single resource, then that resource will get updated. If not, then the whole bundle will fail. Correct?
So what you're looking for is for the "reference":"urn:uuid:patient" in the Observation to get rewritten with the id that we get from the result of the conditional update in the first entry.
That is pretty advanced and I don't think I'd call that a bug on any server that doesn't support it.
Would you mind trying something on your end?
See what happens if you make the reference from Observation.subject a conditional reference instead of a bundle-local reference.
See Conditional References under https://www.hl7.org/fhir/http.html#transaction for more info.
Please give it a shot and let us know how it goes!
Thank you for the quick response!
First question:
Which of these are working / aren't working with the local reference replacement stuff?
What I tested was the first case: "No matches, no id provided: The server creates the resource." The resources were created, but unfortunately partially with the wrong reference.
I chose the label "bug", as the references were partially resolved - I thought the server might have the ability to completely resolve it.
Second question:
See what happens if you make the reference from Observation.subject a conditional reference instead of a bundle-local reference
I tried the conditional reference in the Observation.subject field, too. This works if "One Match, no resource id provided". But if there is no match, the error message is "Error resolving conditional reference: search returned no results"
So the first update is a conditional update Patient?identifier=https://github.com/synthetichealth/synthea|e531c09f-6887-6aba-af17-cbc521900b87.
So there's actually 5 cases there:
No matches, no id provided: The server creates the resource.
No matches, id provided: The server treats the interaction as an Update as Create interaction (or rejects it, if it does not support Update as Create)
One Match, no resource id provided OR (resource id provided and it matches the found resource): The server performs the update against the matching resource
One Match, resource id provided but does not match resource found: The server returns a 400 Bad Request error indicating the client id specification was a problem preferably with an OperationOutcome
Multiple matches: The server returns a 412 Precondition Failed error indicating the client's criteria were not selective enough preferably with an OperationOutcome
Which of these are working / aren't working with the local reference replacement stuff?
I think what you're saying is in the case of One Match, no resource id provided, you're looking for us to replace the "reference":"urn:uuid:patient" in the Observation with the id that we get from the result of the conditional update in the first entry.
That is pretty advanced and I don't think I'd call that a bug on any server that doesn't support it.
Would you mind trying something on your end?
See what happens if you make the reference from Observation.subject a conditional reference instead of a bundle-local reference.
See Conditional References under https://www.hl7.org/fhir/http.html#transaction for more info.
Please give it a shot and let us know how it goes!
Thank you for the quick response!
First question:
Which of these are working / aren't working with the local reference replacement stuff?
What I tested was the first case: "No matches, no id provided: The server creates the resource." The resources were created, but unfortunately partially with the wrong reference. Actually all the tests were executed to a fresh empty server.
I chose the label "bug", as the references were partially resolved - I thought the server might have the ability to completely resolve it.
Second question:
See what happens if you make the reference from Observation.subject a conditional reference instead of a bundle-local reference
I tried the conditional reference in the Observation.subject field, too. This works if "One Match, no resource id provided". But if there is no match, the error message is "Error resolving conditional reference: search returned no results"
Thank you for the quick response!
First question:
Which of these are working / aren't working with the local reference replacement stuff?
What I tested was the first case: "No matches, no id provided: The server creates the resource." The resources were created, but unfortunately partially with the wrong reference. Actually all the tests were executed to a fresh empty server.
I chose the label "bug", as the references were partially resolved - I thought the server might have the ability to completely resolve it.
Second question:
See what happens if you make the reference from Observation.subject a conditional reference instead of a bundle-local reference
I tried the conditional reference in the Observation.subject field, too. This works if "One Match, no resource id provided". But if there is no match, the error message is "Error resolving conditional reference: search returned no results"
Thanks for the additional info. Of the five cases in conditional update, I assume our behavior is right on the last two failure cases (should fail the transaction and return an OperationOutcome).
I do agree that it would be nice if the server could handle all of the 3 success cases of conditional update together with our bundle-local reference replacement feature, so thank you for opening this issue.
Until we support such functionality, I think the workaround would be to perform the search from the client before invoking the transaction bundle request. If the resources exist, you can do a normal update. If they don't, then you can do a normal create.
It doesn't sound ideal, but its actually not much different than our current conditional update implementation anyway...in either case there is a chance that someone sneaks in and creates the resource between the search and the create. See https://github.com/IBM/FHIR/issues/2051 for more info on that (and https://github.com/IBM/FHIR/issues/2050 on one idea we had to improve the situation). Please let us know if you think that one could help here (or not).
In #1869 all the ids and references will be resolved prior to any persistence operations (we do a prepare phase followed by a persist phase). This will probably need to be expanded to properly handle the issue outlined here. I'll take a look at this once the big refactor related to #1869 is working.
We already have a test case FHIRRestHelperTest#testTransactionBundlePostWithBackwardsConditionalDependency which replicates this. The test will need to be updated if we change the bundle processing behavior.
| gharchive/issue | 2021-09-16T15:32:02 | 2025-04-01T04:32:37.852225 | {
"authors": [
"lmsurpre",
"punktilious",
"qing-xia-brainlab"
],
"repo": "IBM/FHIR",
"url": "https://github.com/IBM/FHIR/issues/2769",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
923802383 | Release Notes
Where can I see all the relevant changes associated to the release versions please?
I have been lax about summarizing the changes. I've posted changes against issues people have raised and if the changes solved their problems they closed them.
I'll try to create a change list moving forward.
I am testing against jsonata.org's jsonata.js version 1.8.4 test suite. However, there are about 400 tests we don't currently pass. This was mainly due to a problem with the parsing that I fixed about a week ago. The problem was the entire expression was not being parsed so it was impossible to perform the full interpretation, etc. I fixed this issue last week were we now parse through the entire expression so everything gets put into a parse tree or we get a parse exception. However, I haven't had a chance to begin retesting the areas where we were not compatible so it will take time to add in more capabilities.
I consider it a bug if you can perform something in jsonata.js that is not possible in JSONata4Java. And there are open issues for such problems.
If there is a particular capability you need open an issue and I'll try to address it.
@wnm3 I think it would be very helpful to most users to at least be able to navigate the repository versions using git tags. Would it be feasible for you to push a new git tag every time you change the project version in pom.xml? From there on, we can manually create diffs of 2 versions and easily check whatever we need, such as the jsonata.js underlying version in use.
For example, at the moment, I have difficulties assessing benefits vs. risks of upgrading from 1.7.9 to 1.8.0 and even up to the version currently mentioned in the README, which is 2.5.0.
Yes, sorry I have been lax. Latest change was to move from JDK 1.8 to JDK 11
| gharchive/issue | 2021-06-17T11:15:27 | 2025-04-01T04:32:37.857449 | {
"authors": [
"pradeepcheers",
"tiffmaelite",
"wnm3"
],
"repo": "IBM/JSONata4Java",
"url": "https://github.com/IBM/JSONata4Java/issues/161",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2649026282 | Positional variable binding not working in java
Hello,
I wanted to use this feature to be able to store filtered element indexes like this doc example :
library.books#$i['Kernighan' in authors].{
'title': title,
'index': $i
}
It works well on the exerciser page which is based on the javascript version of this library but not with java where I get a Parsing exception :
com.api.jsonata4java.expressions.ParseException: line 1:13 at null: token recognition error at: '#'
, line 1:14 at [@3,14:15='$i',<47>,1:14]: mismatched input '$i' expecting {, '.', 'in', '?', '[', '{', '~>', '*', '/', '+', '-', '%', '=', '!=', '<', '<=', '>', '>=', '&', '^', 'and', 'or'}
Is it a bug or this feature is simply not supported by the java version ? If not is it planned ?
Thanks in advance.
All right thanks for the answer !
| gharchive/issue | 2024-11-11T11:16:29 | 2025-04-01T04:32:37.861216 | {
"authors": [
"ClementLagorce"
],
"repo": "IBM/JSONata4Java",
"url": "https://github.com/IBM/JSONata4Java/issues/325",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
705184101 | combobox : check on value
in formcontrol it can happen that a value has not yet been assigned and that the formcontrol value remains undefined
https://github.com/IBM/carbon-components-angular/blob/27e3216576c871a99e06fdbcc25bc6a93a94ca27/src/combobox/combobox.component.ts#L531
this can lead to a bug on the combox
"TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))",
possible solution
if (this.itemValueKey) {
// clone the specified item and update its state
const newValue = Object.assign({}, this.view.getListItems().find(item => item[this.itemValueKey] === value ? value || ""));
newValue.selected = true;
this.view.propagateSelected([newValue]);
} else {
this.view.propagateSelected([value ? value || ""]);
}
hi @cal-smith, can I take this up as part of hacktoberfest
I can't seem to assign you at the moment @JoelLau, but thanks for taking this on!
| gharchive/issue | 2020-09-20T20:53:09 | 2025-04-01T04:32:37.863526 | {
"authors": [
"JoelLau",
"cal-smith",
"huineng"
],
"repo": "IBM/carbon-components-angular",
"url": "https://github.com/IBM/carbon-components-angular/issues/1533",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
1093698598 | Improve left side nav
Ideas:
Collapse side nav when clicking outside of the component
Close button (somewhere on the top of the pane maybe?)
Collapse side nav after dragging a component onto the editor
etc...
Closed in https://github.com/IBM/carbon-components-builder/commit/17c6401f95517ad9e4503e78a66e807b590dc61e
| gharchive/issue | 2022-01-04T19:45:52 | 2025-04-01T04:32:37.865598 | {
"authors": [
"Donisius",
"zvonimirfras"
],
"repo": "IBM/carbon-components-builder",
"url": "https://github.com/IBM/carbon-components-builder/issues/24",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
2291258878 | Fixes after testing.
Why are these changes needed?
Related issue number (if any).
This seems like quite old version of the code. This said, I am not sure I understand why this is required
This seems like quite old version of the code. This said, I am not sure I understand why this is required
Testing PR showed that it did not fix the green box issue reported in https://github.com/IBM/data-prep-kit/issues/93 so this PR is intended to add code to fix it... it might not be clear that it is intended to be merged to launcher branch. Thanks
the code will be added to https://github.com/IBM/data-prep-kit/pull/113
| gharchive/pull-request | 2024-05-12T09:51:03 | 2025-04-01T04:32:37.868297 | {
"authors": [
"blublinsky",
"revit13"
],
"repo": "IBM/data-prep-kit",
"url": "https://github.com/IBM/data-prep-kit/pull/114",
"license": "Apache-2.0",
"license_type": "permissive",
"license_source": "github-api"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.