text:
Action login by default

Pengguna menggunakan email dan password untuk masuk kedalam sistem. Dilakukan pengecekan:

jika email tidak terdaftar.

jika password salah.

ketika benar, maka return value nya adalah username dan email.

@elfarqy Jangan lupa bikin konfigurasi, pengguna template ini bisa ngatur di konfigurasi, apakah mau login pakai email, username, atau keduanya..

@elfarqy tolong ini di reject aja mas @haqqi

authors: elfarqy haqqi


text:
Issue 30 Add support for build args

Fixes #30
Added support for build args in captain.yaml format
Example of captain.yaml:
hello-world:
  build: Dockerfile
  image: harbur/hello-world
  build_arg:
    NODE_ENV: production

LGTM

source: gharchive/pull-request

authors: dgil spiddy

repo: harbur/captain

license: mit

license_type: permissive

license_source: bigquery


text:
Issues with "Ohm: Parsing Made Easy" article

Hi,
Re: https://nextjournal.com/dubroy/ohm-parsing-made-easy
First I want to say that this article is amazing. It got me super excited to trying out Ohm!
As I was reading through I noticed a couple of things:
Broken code runner?
This is just one example:

Repeated list items

Repeat list items + one dead link

Thanks for letting me know, and I appreciate the super clear bug report :-)
I've fixed up the duplicated content and the broken link. However, the ohm:nil thing is something specific to Nextjournal that I don't know how to resolved. I've emailed the team, hopefully they can tell me how to fix it.

@pdubroy Looks like they fixed the nil issue. Thanks for fixing so quickly!

Cool! Thanks go to @mk and crew for the quick fix on Nextjournal :-)

Oh yes, @zampino fixed it promptly and I said I’d write you @pdubroy but then forgot. 🙈 Sorry for breaking it in the first place!

source: gharchive/issue

authors: customcommander mk pdubroy

repo: harc/ohm


text:
Project Proposal: Project Description

Write out the Project description part

Please go over my project description and see if  anything needs to be added.
Also, please add more question to be asked. I can't think of anymore.
Thanks!

license: MIT

license_source: github-api


text:
Add support for bring-your-own NGINX ingress controller

Adding values and objects alongside of Istio objects to support an already-installed NGINX ingress controller.

Current challenges / issues:

Where should host(s) be pulled from for Ingress objects?
Should Ingress and Istio be supported alongside of each other (both enabled at the same time)?
How should TCP ingress be exposed?

This is configured as a single ConfigMap targeted by the Ingress controller; if the ConfigMap already exists for an installed NGINX ingress controller, non-Helm changes would be needed to add TCP ingress

repo: harness/helm-charts


text:
Add fixes for target_group

Describe your changes

Change the type when creating the target group
Add fix for target type

Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck
gitleaks: trigger gitleaks

@davejohnston I've updated the functional tests to test the behaviors as you can see in the PR.

repo: harness/terraform-provider-harness


text:
Pre-activation as output of VGGish

Hello there,
when comparing this code to the one placed in tensorflow/models I've found that implementations use different layers as output of VGGish model (if considering activation as a separate layer),
yours:
https://github.com/harritaylor/torchvggish/blob/46701162fd6b3684b6f6cf3b1afda100073850ae/torchvggish/vggish.py#L19
google's: https://github.com/tensorflow/models/blob/f32dea32e3e9d3de7ed13c9b16dc7a8fea3bd73d/research/audioset/vggish/vggish_slim.py#L104-L106 (activation_fn=None)
Also, it's mentioned in README

Note that the embedding layer does not include a final non-linear activation, so the embedding value is pre-activation

Changing output layer of VGGish in your implementation to pre-activation one (w/o RELU) makes embeddings (almost) equal in both cases, - raw and PCA'ed ones.
Thanks for porting though, great work!

First, I would like to echo the kudos for publishing this port of VGGIsh. I am implementing a Fréchet Audio Distance (FAD) library and will definitely make use of it.
For anyone else who arrives here looking for a workaround, the final ReLU can be removed from the pretrained VGGish model with the following snippet:
vggish = pt.hub.load("harritaylor/torchvggish", "vggish")
vggish.embeddings = pt.nn.Sequential(*list(vggish.embeddings.children())[:-1])

authors: brentspell eatsleepraverepeat

repo: harritaylor/torchvggish


text:
Title: Enhancement of compound interest

Which pre-existing extension will you be working on?
It's a simple compound interest calculator
Describe your enhancement/improvement
Need to add the simple interest calculator also
Add any other context or screenshots about the enhancement here.
No response

I want to work on this issue under JWOC.

Assigning


text:
charts: bump version to v0.1.1

- for golang v1.22.7 and bci image 15.6

reference: https://github.com/harvester/harvester/issues/6568

close, we bump image version directly on harvester side

repo: harvester/charts


text:
[BUG] {"data":"EOF"} after removing cd image from virtual machine

Describe the bug
I created a Debian VM and attached a cd image disk to it.
Went through install process and finished the installation. I then edited the configuration to remove the cdrom drive and saved it. Now it won't boot and when I try to start the vm or edit and save configurations, I get {"data": "EOF"} error messages.
Even worse, whatever happened created a login timeout (I think, cannot confirm) and I can't log in because it keeps giving me ERROR button.
To Reproduce
Steps to reproduce the behavior:

Upload debian 12 dvd iso
Go through installer
Finish installer
Stop VM
Remove ISO image
Attempt to start
Get error

Since I can't log in, I'll try reinstalling and confirm whether I see this bug.
Expected behavior
I'd like to see an easy way to remove cd images from virtual machines as that's pretty standard behavior. Maybe a "Detach" or "Disconnect" link/button.
That said, I'd expect the vm to run after removing an iso image.
Support bundle
Since I can't access the web ui, perhaps include a way to access support bundles via command line as I do have physical access to the server it's installed on.
Environment

Harvester ISO version: v1.2.0 amd64
Underlying Infrastructure: Dell Poweredge r515, 2x Opteron 4386 with 32Gb RAM and 30Tb in RAID 50

Additional context
This occured the day after installation upon my first virtual machine installation. As fresh an install as I can get.

I will attempt to reproduce and comment whether it occurs. Can also record a screen capture video when I do.

Unable to reproduce. When I went through the debian installer the first time, it didn't have the blue menu installer, but a basic command line one. Might have been an issue with the upload; When attempting to reproduce, the first time I uploaded the debian image it failed at around 19%. Second time worked.
I don't have enough info for you so I'll close this for now.

repo: harvester/harvester


text:
[BUG] Corrupted XFS filesystem in VMs after node restart

Describe the bug
After restart 1 harvester node, 2 VMs started with corrupted XFS filesystem (Almalinux 9.4) in 3 node Harvester v1.3.1 cluster.
To Reproduce
Steps to reproduce the behavior:

Create 3 node RKE2 cluster on Almalinux 9.4
Restart one harvester node.
Wait until everything will have healthy status
Again, restart one harvester node.

Expected behavior
The cluster could be more stable.
Environment

Harvester ISO version: v.1.3.1
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal with Dell PowerEdge R630

Hi @dawid10353,
Could you give more information like the support bundle and the screenshot of the xfs corruption?
The screenshot you can take when the system advises you to run xfs_repair. I would like to check the metadata the system display.
Thanks!


text:
Knesset Dataservice: wrong vote total against count returned for vote id 22156

Reproduction Steps

Open vote id 22156 on Knesset website: http://www.knesset.gov.il/vote/heb/Vote_Res_Map.asp?vote_id_t=22156
note the number of votes against is 4 (both in the total number and if you add up the separate votes)
Open the same vote in DataService: [http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc/View_vote_rslts_hdr_Approved?$top=20&$filter=vote_id eq 22156](http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc/View_vote_rslts_hdr_Approved?$top=20&$filter=vote_id eq 22156)
look at the value for "total_against" property

Expected

total against should be 4 (as it is on the website)

Actual

total against is 3

Sent: Feb 23, 2016 | From: @OriHoch  To: Knesset Contact

גילינו באג חמור בנתוני ההצבעות שבו ממשק הנתונים מציג עבור הצבעה שסה"כ 3 ח"כים הצביעו נגד אבל באתר מופיע ש-4 ח"כים הצביעו נגד.

הבאג הזה מדאיג מאוד, חייבים לוודא שהנתונים שהממשק מחזיר נכונים אחרת לא נוכל להשתמש בו.

Sent: Feb 23, 2016 | From: Deputy Director of the Information Departmnet (סגן מנהל חטיבת המידע)

כל ההצבעות במליאת הכנסת נבדקות בצורה פרטנית, כך שכל הצבעה עוברת לבדיקה של ארכיון הכנסת לצורך טיוב.

הטיוב עצמו נעשה מול פרוטוקול מליאת הכנסת ואם נדרש גם בעזרת וידיאו.

במקרה ונמצאו פערים, נשמרים כל הנתונים, שהם ההצבעה המקורית, ביצוע התיקון ותוצאות ההצבעה הרשמיות.

מכאן, לשאלתך, חטיבת המידע מוודאת שהנתונים מדויקים.

באשר לנתונים של הממשק, נערכת בדיקה עם אגף הטכנולוגיה לגבי אופן הצגת הנתונים בממשק זה.

תודה על הדוגמה ואשלח עדכון.

Sent: Mar 6, 2016 | From: @OriHoch  To: Knesset Contact

יש הרבה באגים חמורים נוספים שעדיין לא החזרתם לנו תשובה לגביהם:

(link to this bug)

התכתבות חדשה עם שי ברקוביץ טכנולוג ראשי בנושא הבאג הזה
נראה שב API משנה אחר יש נתונים נכונים
רק לא בסכימה
http://knesset.gov.il/KnessetOdataService/VotesData.svc/vote_rslts_kmmbr_shadow()?$filter=vote_id eq 22156

less relevant with the new knesset API

authors: OriHoch alonisser

repo: hasadna/knesset-data


text:
Added a development tool to create a filter mask.

Usage:
./tools/create_mask.py --input img1.png img2.png --output mask.png
TODO:
Support other filters in addition to MM_DARK.

Cool!

authors: hasegaw hiroyuki-komatsu

repo: hasegaw/IkaLog


text:
Disable winit default features

This helps when targeting linux as you can drop the (often out of date) wayland stack.

LGTM

authors: cwfitzgerald hasenbanck


text:
TC: Property access does not work for tuples and structs

Examples:
>>> (a = 3)
(a = 3)
>>> (a = 3).a
error[0010]: variable `a` is not defined in the current scope
 --> <interactive>:1:9
1 |   (a = 3).a
  |           ^ variable not defined in the current scope

info: compiler terminated with 1 error(s), and 0 warning(s).

>>> Dog := struct(foo: str); x := Dog(foo = "3"); x
{value Dog}
>>> Dog := struct(foo: str); x := Dog(foo = "3"); x.foo
error[0010]: variable `foo` is not defined in the current scope
 --> <interactive>:1:49
1 |   Dog := struct(foo: str); x := Dog(foo = "3"); x.foo
  |                                                   ^^^ variable not defined in the current scope

info: compiler terminated with 1 error(s), and 0 warning(s).

This seems fixed somehow..

repo: hash-org/lang


text:
Update pop-up window text

Problem
Update the pop-up window text.
Ex:
The account update transaction succeeded. The following account properties were updated for <accountID>:

Account memo
Auto renew period
Receiver signature required

Solution
see above
Alternatives
No response

authors: DSMatusevich SimiHunjan

repo: hashgraph/hedera-transaction-tool-demo


text:
Cross Project authentication not working

Hi I have 2 projects, infra and production.
my vault cluster runs in infra and my jenkins worker spins up in the production project. I also have jenkins workers that spin up in the infra project
my service account/IAM user applied to my infra jenkins worker is infra-jenkins@infra-project-name.iam.gserviceaccount.com
my service account/IAM policy applied to my production jenkins worker is infra-jenkins@production-project-name.iam.gserviceaccount.com
they both have the same permissions including

compute admin
editor
service account user
service account token creator

the gce auth role created for both instances is as below
vault read auth/gcp/role/jenkins-slave-infra
Key                       Value
---                       -----
add_group_aliases         false
bound_projects            [infra-project]
bound_service_accounts    [infra-jenkins@infra-project-name.iam.gserviceaccount.com]
max_ttl                   2h
policies                  [jenkins]
type                      gce

vault read auth/gcp/role/jenkins-slave-production
Key                       Value
---                       -----
add_group_aliases         false
bound_projects            [production-project]
bound_service_accounts    [infra-jenkins@production-project-name.iam.gserviceaccount.com]
max_ttl                   2h
policies                  [jenkins]
type                      gce

I authenticate with Vault using the method described here - https://petersouter.xyz/demonstrating-the-gce-auth-method-for-vault/
my infra project jenkins worker and any other instances in this project can authenticate and retrieve secrets from Vault without issue.
however my production jenkins worker is unable to authenticate based on an IAM permission I know it has assigned to it, specifically.
Error from vault: [
"error when attempting to find instance (project production-project-name, zone: europe-west1-d, instance: jenkins-worker-production-jngotu) :unable to find instance associated with token: googleapi: Error 403: Required 'compute.instances.get' permission for 'projects/production-project-name/zones/europe-west1-d/instances/jenkins-worker-production-jngotu', forbidden"
]

ah i figured it out.. the service account assigned to my Vault instance needed to be in the production account

repo: hashicorp/terraform-google-vault


text:
Maintainers

I'd be happy to come on as a maintainer to help get this package up to date with the latest dependencies, fix the version bounds of older releases, update the package metadata, get the CI working again, etc.

Thank you for your contributions. If you could get CI working again, I'd be much obliged! Do you need anything from me?

Would you mind giving me commit privileges on the github repository and adding chris_martin as a maintainer on Hackage? Otherwise I guess I can give you a boring checklist of requests for metadata revisions and github settings to tweak.

I do not think I have permission to give you commit privileges.
@Kleidukos, are you able to assist?

I've added you as a maintainer on Hackage.

@centromere good catch, you should be full admin now.
@chris-martin I've added you :)

Revised existing releases to add appropriate base16-bytestring upper bound. Should get a release out soon!

authors: Kleidukos centromere chris-martin

license: Unlicense


text:
sync-from-archive does not consider ${archive_version}/${store_hash} subfolder if syncing from (local) archive directory

Issue
When syncing from a local archive directory it seems like cabal-cache sync-from-archive does not sync libraries that are contained in the ${archive_version}/${store_hash} sub-folder even if the store hash for the store to sync to coincides with store_hash.
What and why?
Using cabal-cache in a CI/CD setup to avoid having to rebuild all dependencies, we encountered a number of cache-misses for dependencies that were contained in the (store-hash subfolder of the) archive. This did not make the builds fail. However, the corresponding dependencies had to be rebuilt which increased build times.
Notably, we encountered lines such as the following even though the package was contained in the archive and the store hashes coincide:
Not found: Local "cabal-cache/v2/ghc-9.4.8/colour-2.3.6-e74462c0ef939bc168bf448e20d49ad726c72b5868b56e583db62c85090062d2.tar.gz" :| [Local "cabal-cache/v2/fcfe93a36b/ghc-9.4.8/colour-2.3.6-e74462c0ef939bc168bf448e20d49ad726c72b5868b56e583db62c85090062d2.tar.gz"]
...
Failed to download: colour-2.3.6-e74462c0ef939bc168bf448e20d49ad726c72b5868b56e583db62c85090062d2
...

It was possible to reproduce the problem locally.
Steps to reproduce (locally)

Create a cabal project (ideally small to avoid long build times) with at least one dependency whose build artifact contains absolute paths to the cabal store. For us (ghc-9.4.8) colour-2.3.6 was one such dependency.
Set store path in cabal.project.local to some absolute path, e.g., store-dir: /tmp/.cabal-store/ (this step is optional but it helps to avoid messing with the default store).
Build the project, respectively its dependencies: cabal build --dependencies-only
Sync store to archive: cabal-cache sync-to-archive --archive-uri my-archive --store-path /tmp/.cabal-store.
At this point a folder my-archive with the following sub-folder structure should have been created:

my-archive/${archive_version}/${compiler_id}/
my-archive/${archive_version}/${store_hash}/${compiler_id}/

Delete content of /tmp/.cabal-store.
Sync store from created archive: cabal-cache sync-from-archive --archive-uri my-archive --store-path /tmp/.cabal-store

Expected behavior
After syncing from the archive, the store should contain exactly the same library artifacts as before. Invoking cabal build --dependencies-only again should not rebuild anything.
Actual behavior
cabal-cache sync-from-archive encounters cache misses for all dependencies that are contained in the store_hash sub-folder of the cache:
Not found: Local "cabal-cache/v2/ghc-9.4.8/colour-2.3.6-e74462c0ef939bc168bf448e20d49ad726c72b5868b56e583db62c85090062d2.tar.gz" :| [Local "cabal-cache/v2/fcfe93a36b/ghc-9.4.8/colour-2.3.6-e74462c0ef939bc168bf448e20d49ad726c72b5868b56e583db62c85090062d2.tar.gz"]
...
Failed to download: colour-2.3.6-e74462c0ef939bc168bf448e20d49ad726c72b5868b56e583db62c85090062d2
...

Checking the store indicates that colour was not synced down and invoking cabal build --dependencies-only again yields:
Build profile: -w ghc-9.4.8 -O1
In order, the following will be built (use -v for more details):
 - alex-3.5.1.0 (exe:alex) (requires build)
 - byteable-0.1.1 (lib) (requires build)
 - colour-2.3.6 (lib) (requires build)
...

Suspects
It seems like the issue comes from HaskellWorks.CabalCache.IO.Lazy.readFirstAvailableResource. This function takes a non-empty list of the two possible locations to search for a library artifact. To do so it invokes HaskellWorks.CabalCache.IO.Lazy.readResource for the first location. This function throws NotFound if the artifact is located in the store_hash folder. In this case readFirstAvailableResource is not prepared to handle NotFound which means that the second location (which contains the store-hash) is never looked at.
Handling NotFound the same way as AwsError and HttpError are handled seems to fix the issue:
diff --git a/src/HaskellWorks/CabalCache/IO/Lazy.hs b/src/HaskellWorks/CabalCache/IO/Lazy.hs
index de4360c..13c7adf 100644
--- a/src/HaskellWorks/CabalCache/IO/Lazy.hs
+++ b/src/HaskellWorks/CabalCache/IO/Lazy.hs
@@ -105,6 +105,10 @@ readFirstAvailableResource :: ()
   -> ExceptT (OO.Variant e) m (LBS.ByteString, Location)
 readFirstAvailableResource envAws (a:|as) maxRetries = do
   (, a) <$> readResource envAws maxRetries a
+    & do OO.catch @NotFound \e -> do
+          case NEL.nonEmpty as of
+            Nothing -> OO.throwF (Identity e)
+            Just nas -> readFirstAvailableResource envAws nas maxRetries
     & do OO.catch @AwsError \e -> do
           case NEL.nonEmpty as of
             Nothing -> OO.throwF (Identity e)

After installing a local version that contains the change above, cabal-cache synced everything down from the archive as expected and no dependencies had to be rebuilt.

I was not sure about the PR-policies for this repo (and also about possible side-effects of the change suggested above) which is why I have not opened a PR. I am happy to do so if you agree that the described issue should be fixed and this is the way to do it :smiley:?

Thank you for raising the issue.
Yes, we do accept PRs.

@newhoggy: Is it possible to say when this fix will be available on hackage :smile:?

Can you try the latest version cabal-cache-1.1.0.2?

Works great. Thx a lot @newhoggy!

authors: newhoggy snetramo

repo: haskell/cabal-cache


text:
Haddock renders ambiguous type/value names strangely

(Originally observed in https://github.com/ekmett/lens/pull/1042.)
Here is a stripped-down version of Haddocks that you'd find in a typical lens module:
-- Bug.hs
module Bug where

data ReifiedLens = Lens

type Lens = ()

-- | A 'Lens'.
f :: Lens
f = ()

Note that the 'Lens' reference in f's Haddocks is ambiguous, as there is both a type and a data constructor named Lens. My reading of this section of the Haddock readthedocs is that when such ambiguities arise, Haddock will default to the type name:

Since values and types live in different namespaces in Haskell, it is possible for a reference such as 'X' to be ambiguous. In such a case, Haddock defaults to pointing to the type.

This is not what I observe in practice, however. If you render the Haddocks for this module by running the following command:
$ haddock Bug.hs -o bug --html
Warning: 'Lens' is ambiguous. It is defined
    * at Bug.hs:4:20
    * at Bug.hs:6:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Bug.hs:4:1
  25% (  1 /  4) in 'Bug'
  Missing documentation for:
    Module header
    ReifiedLens (Bug.hs:4)
    Lens (Bug.hs:6)

You will end up with the following HTML page:

I believe there are two bugs here:

The rendered Haddocks say "RenderedLens", which is completely different from the original "'Lens'". I'm not sure why this happens.
Moreover, RenderedLens refers to the value-level version of Lens, not the type-level Lens. If I understood the readthedocs correctly, it should be the other way around.

Note that I can't reproduce this bug on the ghc-9.6 branch of this repo, so presumably https://github.com/haskell/haddock/pull/1597 helped (cc @FinleyMcIlwaine).
Regarding the buggy code though, this comment looks suspicious to me...

Hi, thank you for this ticket, but Haddock now lives full-time in the GHC repository!
Read more at https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576.
Let me know if you feel it is still needed, and I'll migrate it. :)

authors: Kleidukos RyanGlScott ncfavier

repo: haskell/haddock


text:
Add dependency on exceptions because GHC.Exception was boiled down (ghc #18075)

As per GHC ticket #18075, the Exception module in GHC was boiled down, and functions like Exception.gcatch should be replaced with their Control.Monad.Catch equivalents from the exceptions package. This PR implements this replacement for Haddock as well as adding the exceptions dependency.

@harpocrates I'm not sure about the CI failure…

@harpocrates thanks for your feedback! I tried to address it.

FYI: GHC HQ usually handles merging in these changes (and really most things related to the ghc-head), but let me know if they want this merged first.

Not sure. @mpickering suggested I create the PR, so maybe he has an idea…


text:
Check length of current directory on Windows in install.hs

My suggestion is:

if we are on Windows
if length <$> System.Directory.getCurrentDirectory is above a threshold (currently some 160 chars isn't buildable)
create some long path and attempt to setCurrentDirectory there.
If it succeeds then we have long paths enabled.
if it fails print a warning and/or abort building

(a blind advice to enable long paths systemwide is not a good idea. Also note that for most of the users Haskell is a toy so the toy shouldn't break their systems used for more serious tasks)

Sounds like a nice idea in general. Isn't it possible to detect long paths via some system variable or something? Creating and cding there sounds very ad-hoc.

The setting is only read during boot, and only by certain builds of Windows 10 and Windows Server 2016/2019.
Also, it's actually a bug in GHC older than 8.6.1 which the Windows setting manages to work around, see https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/win32-dlls.html#windows-file-paths
So by checking for a breakage using a broken GHC API we make it very robust against both these issues.
Oh, and my idea about cd actually seems wrong as SetCurrentDirectoryW keeps broken after long-paths setting is applied, so we need to check using another API which is fixed by long-paths (but I'm not sure).

authors: Anrock nponeccop

repo: haskell/haskell-ide-engine


text:
macOS Big Sur beta build fail.

Build fails on macOS Big Sur beta(System Version: macOS 10.16 (20A4300b)) with the following error:
# stack (for check)
# git (for submodules)
# git (for submodules)
Options:
    Verbosity level: Info
# stack (for hie-8.8.3)
Building all executables for `haskell-ide-engine' once. After a successful build of all of them, only specified executables will be rebuilt.
haskell-ide-engine> configure (lib + internal-lib + exe)
haskell-ide-engine> Configuring haskell-ide-engine-1.4...
haskell-ide-engine> build (lib + internal-lib + exe)
haskell-ide-engine> Preprocessing library for haskell-ide-engine-1.4..
haskell-ide-engine> Building library for haskell-ide-engine-1.4..
haskell-ide-engine> [ 2 of 28] Compiling Haskell.Ide.Engine.Plugin.ApplyRefact
haskell-ide-engine> <command line>: can't load framework: CoreFoundation (not found)

--  While building package haskell-ide-engine-1.4 using:
      /Users/happyo/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.0.1.0 build lib:haskell-ide-engine lib:hie-test-utils exe:hie exe:hie-wrapper --ghc-options ""
    Process exited with code: ExitFailure 1

********************************************************************************
Building failed, Try running `stack clean` and restart the build
If this does not work, open an issue at
	https://github.com/haskell/haskell-ide-engine
********************************************************************************

Error when running Shake build system:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.5-44KSA7uQF2VObxzEvLYZx:Development.Shake.Internal.Args
* Depends on: hie-8.8.3
  at command, called at src/Stack.hs:80:3 in hie-install-0.8.1.0-8ohdCuWWpTvCH8woxBxMKH:Stack
* Raised the exception:
Development.Shake.command, system command failed
Command line: stack --stack-yaml=stack-8.8.3.yaml install --verbosity=info
Exit code: 1
Stderr:
Building all executables for `haskell-ide-engine' once. After a successful build of all of them, only specified executables will be rebuilt.
haskell-ide-engine> configure (lib + internal-lib + exe)
haskell-ide-engine> Configuring haskell-ide-engine-1.4...
haskell-ide-engine> build (lib + internal-lib + exe)
haskell-ide-engine> Preprocessing library for haskell-ide-engine-1.4..
haskell-ide-engine> Building library for haskell-ide-engine-1.4..
haskell-ide-engine> [ 2 of 28] Compiling Haskell.Ide.Engine.Plugin.ApplyRefact
haskell-ide-engine> <command line>: can't load framework: CoreFoundation (not found)

--  While building package haskell-ide-engine-1.4 using:
      /Users/happyo/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.0.1.0 build lib:haskell-ide-engine lib:hie-test-utils exe:hie exe:hie-wrapper --ghc-options ""
    Process exited with code: ExitFailure 1

I used the following commands:
stack ./install.hs hie-8.8.3

I tried running stack clean, but not work.

That looks like a stack issue. Can you use stack on other projects successfully?

That looks like a stack issue. Can you use stack on other projects successfully?

Yes, I can use stack new stack build stack exec stack ghci successfully. The problem can be reproduced on another mac (macOS Big Sur beta).

That looks like a stack issue. Can you use stack on other projects successfully?

Yes, I can use stack new stack build stack exec stack ghci successfully. The problem can be reproduced on another mac (macOS Big Sur beta).

same experience here.

authors: esjmb fendor happyo


text:
How to make our own design

Hi there, may i know how to build on custom ui regarding to this library?

Currently, you can customize it by making changes in the source code according to your requirements, but I am making it a widget rather than an activity so you can customize and make custom UI using this widget.

use this one
https://github.com/imranbaigshortcut/android-qibla-finder

authors: hafiz013 hassaanjamil imranbaigshortcut

repo: hassaanjamil/hj-qibla-compass


text:
kriti: add support for custom function

Description
This PR adds the support of custom functions.
Proposed runKritiWith function with the following type:
runKritiWith ::
    T.Text ->
    [(T.Text, J.Value)] ->
    [(T.Text, J.Value  -> Either CustomFunctionError J.Value)] ->
    Either KritiError J.Value

Here, (T.Text, J.Value  -> Either CustomFunctionError J.Value) is a tuple provided by the user, where the first element is the name of the function and second element is the function. For using this custom function, user would have to specify it in the template.
Click here for an example.
Template:
{
  "author": {
    "name": {{$.event.name}},
    "age": {{$.event.age}},
    "articles":
      {{ range _, x := $.event.author.articles }}
          {
              "id": {{x.id}},
              "title": {{customFunc x.title}}
          }
      {{ end }}
  }
}

Input:
{
  "event": {
    "name": "Freddie Jones",
    "age": 27,
    "author": {
      "articles": [
        { "id": 0, "title": "The Elements", "length": 150, "published": true},
        { "id": 1, "title": "ARRL Handbook", "length": 1000, "published": true},
        { "id": 2, "title": "The Mars Trilogy", "length": 500, "published": false}
      ]
    }
  }
}

Output:
{
  "author": {
    "age": 27,
    "articles": [
      {
        "id": 0,
        "title": "THE ELEMENTS"
      },
      {
        "id": 1,
        "title": "ARRL HANDBOOK"
      },
      {
        "id": 2,
        "title": "THE MARS TRILOGY"
      }
    ],
    "name": "Freddie Jones"
  }
}

Where customFunc is defined as:
uppercased :: J.Value -> Either CustomFunctionError J.Value
uppercased inp = case inp of
  J.String txt -> Right $ J.String (T.toUpper txt)
  _ -> Left $ CustomFunctionError "unexpected"

TODOs

[x] Add RFC: https://github.com/hasura/kriti-lang/pull/49
[x] Add support for user supplied custom function name
[x] Add example of a usecase of custom function.
[x] Add ability to use multiple user defined functions.

Future scope (can be taken up in separate PR)

Wrap the function inside the Function wrapper instead of passing to evaluator.
Don't split up the evaluator as eval and evalWith.
Add some more basic custom functions.
Extend this beyond unary functions.

Great work!

repo: hasura/kriti-lang


text:
🛑 Analytics Server is down

In 2178451, Analytics Server (https://analytics.arash-hatami.ir) was down:

HTTP code: 504
Response time: 15741 ms

Resolved: Analytics Server is back up in ee0c553 after 45 minutes.


text:
🛑 Status Page is down

In 74d3866, Status Page (https://status.arash-hatami.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Status Page is back up in 6a05e18 after 15 minutes.


text:
Build/Dependency issue

Hi, congrats on this pretty nice project, I was looking for text-based log viewer and I found your project. My issue is to find the right dependencies to build it.
After install catkin and rosscpp, I am still getting an error "Could not find the required component 'roscpp'"
Installation commands on ubuntu distro:
apt install catkin
apt install ros-noetic-roscpp

The binary version should be available through apt with the standard ROS source list: http://wiki.ros.org/noetic/Installation/Ubuntu#Installation.2FUbuntu.2FSources.Setup_your_sources.list
sudo apt install ros-noetic-log-view

To build it from source, it's the same as any ROS1 package.  I usually use catkin_tools because it is more friendly than straight catkin.

Follow the Ubuntu ROS instructions linked above to install base ROS packages.
Install and initialize rosdep: http://wiki.ros.org/rosdep
Install catkin_tools:

$ python3 -m pip install catkin-tools

Create a catkin workspace with the package

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws
$ catkin init
$ catkin config --extend /opt/ros/noetic
$ catkin config --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo
$ git clone https://github.com/hatchbed/log_view.git src/log_view

Install dependencies

$ rosdep install --from-paths src --ignore-src

Build

$ catkin build

Run

$ source devel/setup.bash
$ rosrun log_view log_viewer

Thank you very much @malban ! I was not used to using ROS. I will install those packets point by you!

All the procedures pointed out above worked. Thanks for your support!

authors: dr-kino malban


text:
initial ansible playbooks/roles

@pilhuhn here's a PR with an initial set of Ansible roles/playbooks. See README.adoc for quick-start docs. I will blog about this, but first wanted to get your take.
Note that the Wildfly roles are really here just to make things easy on the person testing these. It does a download/install of WF 10 (so we can install an agent into it) and start/stop/status of the WildFly instances. The role we really care about is "fetch-and-install-hawkular-wildfly-agent" since that does the download and installation of the agent.

Note that each file blows up because of the license header stuff. I'll add those once I find out what a yaml header file looks like :)

closing - we don't want to merge this anytime soon.

repo: hawkular/hawkular-agent


text:
Aggregate Events Extension/Alerter

Defines a new API to add extensions to the Alerting engine
Make extensions enable/disable by configuration
Extensions can filter Data/Events before they are processed by the Alerting engine
Define a new AggregatedEvents Extension that defines a new Alerter
New Alerter defines a DSL expressions to evaluate aggregated Events defining constraints on aggregated values

@jshaughn this is a preliminar PR for this new feature. I want to work more on tests coverage but the main architecture is coded and I think is good to take a review after Christmas break :-)

Travis is failing with some unrelated issues to this PR.
Some problem to download from nexus .zip artifacts.

I do find some terminology a little confusing (I know, I have a problem, I always get caught up in terminology :-) ).

:-) I know.

Engine "Extensions" is not bad, I thought about some alternatives but none seemed better; "Inteceptors" is clunky. "Filters" is not quite right. "Preprocessors" is pretty accurate but not enough better to merit a change.

Well, it is some sort of optional "add-on", I guess that any term will need any description. "Extension" sounded reasonable readable in programming context, I guess.

From what I see, the fundamental approach is that we can optionally have a set of extensions, potentially ordered (in the future), such that incoming data (or events) are processed by extension 1..N before finally reaching the core engine. Each extension can act on, and then forward data as it sees fit. The extension can alter the data, forward it unchanged, or filter it completely (no forwarding).

Correct. Excellent description.

One thing that may be more clear for me is to use the term "Extension" a bit more pervasively. For example, in ExtensionsService, instead of"
void addListener(ExtensionEventListener listener);
void addListener(ExtensionDataListener listener);
maybe:
void addExtension(EventExtension extension);
void addExtension(DataExtension extension);
I guess I sort of don't like "Listener" in this use case, it seems unnecessary and not exactly the right fit. And I don't really like the word "filter" in a few places it is used. Anyway, see the more detailed comments and we can go from there...

I guess "Listener"/"Filter" could fit here, but I agree that perhaps this use case is special so I agree with the proposal, I will update the name of the interfaces and the API in a following commit.

Thanks for your review and suggestions @jshaughn. I will prepare a follow-up commit with the changes.

These changes look good, thanks. So now we still have the issue of handling the disabled triggers downstream, or did I miss that?

I don't think it is necessary. It is done already as if the trigger is disabled the events will be ignored.

I've sent a final commit.
Let me know if there is more comments, otherwise I can squash and set a proper JIRA code with description before to merge.

I don't think it is necessary. It is done already as if the trigger is disabled the events will be ignored.

OK, if you are satisfied then we can keep it as is.  I was afraid maybe we would end up persisting an Event that should not really have been generated.  But maybe that is not actually possible.
I had recommended EventAggregation as opposed to EventsAggregation but the plural works fine as well, I am ready to merge if you want to squash and update the final commit comment.

OK, if you are satisfied then we can keep it as is. I was afraid maybe we would end up persisting an Event that should not really have been generated. But maybe that is not actually possible.

The new events generated by the extension use alertsService.sendEvents(Arrays.asList(event)); instead to add, so none of the incoming or generated events are persisted, only the generated by the trigger itself.

I had recommended EventAggregation as opposed to EventsAggregation but the plural works fine as well, I am ready to merge if you want to squash and update the final commit comment.

Yeah, I know, I took the license to use the plural, as it is wide used in the terminology.
Let me to prepare a commit with the three commits and the proper code.

Renaming a module triggered some weird issues with the files and license plugin but it is not fixed.
From my side I think this PR is ready to merge.

authors: jshaughn lucasponce

repo: hawkular/hawkular-alerts


text:
feat(ForwardMessage): Add typeahead suggestions to forward message input

Added suggestions to forward message text input as in legacy hawtio:

Looks great!

@tadayosi  this is different. Here  I'm fetching list of endpoints from the context. So for message-headers it I still has to investigate how to do it properly. I did this at first at least to figure out the React stuff.
Thanks for the positive feedback :)

authors: joshiraez mmelko

repo: hawtio/hawtio-next


text:
question: conditional template injection

I'd like to run an injection only if an input resolves to true. is there a way I can do this now?

I don't think this is explicitly supported, I think this would work if you did something like this?
inject:
  - name: "add role to site.yaml"
    path: site.yaml
    at: "# $Scaffold.role_name"
    template: {{ if .Scaffold.some_value }} whatever thing you want {{ end }}

If that doesn't work, I can add this so that when the template evaluates to empty or whitespace we can ignore the inject.

ahh I see the light. I was originally looking into go generate for my use case, but it looks like this is powered by the text/template. docs are clear on how to do the thing. thank you!

repo: hay-kot/scaffold


text:
【功能请求】希望能够在日历中将某一个任务从  all day  拖拽到 下方时间表，从而将全天的任务 变为某个时间段的任务，反之亦然

这个需要使用的日历组件支持，组件支持以后我这边会尽快集成

Agenda3 已支持

repo: haydenull/logseq-plugin-agenda


text:
legend of zelda bad opcode

this is on altra64

other games appear to work fine. kinda want to play zelda tho

license: ISC


text:
🛑 Lessonpal is down

In 3927e4c, Lessonpal (https://lessonpal.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lessonpal is back up in 4b69d08 after 5 minutes.

repo: heIsThePirate/upptime-lessonpal


text:
Devise returns unauthorized (401) when the user has timed out, even with skip_before_action :authenticate_user!

Environment

Ruby 2.5.1
Rails 5.2.4.2
Devise 4.7.1

Current behavior
I have a controller, which uses skip_before_action :authenticate_user!
It works when no user is logged in. However, when a user is logged in and it times out, it returns unauthorized instead of skipping authentication.
Sample code:
class PagesController < ::ApiController
  skip_before_action :authenticate_user!

  def index
    @pages = policy_scope(Page)
  end
end

class ApiController < ActionController::API
  include Pundit
  before_action :authenticate_user!
  after_action :verify_authorized, except: :index
  after_action :verify_policy_scoped, only: :index
end

class User < ApplicationRecord
  devise :database_authenticatable, :omniauthable, :validatable, :timeoutable
end

And this is the spec that fails:
RSpec.describe 'Getting existing pages', type: :request do
  context 'when logged user is expired' do
    let(:user) { create(:user) }

    before do
      allow(user).to receive(:timedout?).and_return true
      login_as(user, scope: :user)
    end

    it 'returns pages' do
      get pages_path
      expect(response).to have_http_status(:ok)
    end
  end
end

Expected behavior
Always skip user authentication when skip_before_action :authenticate_user! is used, even if the user has timed out.

This issue has gone stale but it is still relevant. What do we need to get this moving?

I believe this is due to the timeoutable Warden hook running regardless of skipping authentication.
https://github.com/heartcombo/devise/blob/main/lib/devise/hooks/timeoutable.rb
I have a workaround by explicitly skipping the timeoutable hook in addition to skipping authenticate_user!
prepend_before_action :skip_timeoutable # prepend to force it to run before any inherited before_actions that could affect things
skip_before_action :authenticate_user!

def skip_timeoutable
   request.env["devise.skip_timeoutable"] = true
end

authors: matt-whiteley tbcooney thaispeixoto

repo: heartcombo/devise


text:
NER: incorrect label positions in results

Label positions are not always correct. Perhaps this is due to the fact that the text contains emojis and special symbols ('\r\n').
Example of marked result:
{'completions': [{'created_at': 1609789589,
   'id': 25001,
   'lead_time': 72.553,
   'result': [{'from_name': 'label',
     'id': 'BtfOIVC3G2',
     'to_name': 'text',
     'type': 'labels',
     'value': {'end': 44,
      'labels': ['City'],
      'start': 28,
      'text': 'Великий Новгород'}},
    {'from_name': 'label',
     'id': '5n2MsvFQur',
     'to_name': 'text',
     'type': 'labels',
     'value': {'end': 56,
      'labels': ['Organization'],
      'start': 48,
      'text': 'Тинькофф'}},
    {'from_name': 'label',
     'id': '5rvNQe_aK7',
     'to_name': 'text',
     'type': 'labels',
     'value': {'end': 998,
      'labels': ['Organization'],
      'start': 991,
      'text': 'Тинькоф'}},
    {'from_name': 'label',
     'id': 'wRpqxOZF08',
     'to_name': 'text',
     'type': 'labels',
     'value': {'end': 1295,
      'labels': ['Organization'],
      'start': 1292,
      'text': 'МТС'}},
    {'from_name': 'label',
     'id': 'K-UimKZwcE',
     'to_name': 'text',
     'type': 'labels',
     'value': {'end': 1305,
      'labels': ['Organization'],
      'start': 1298,
      'text': 'Мегафон'}}]}],
 'data': {'text': 'Дружеская ссылка Подслушано Великий Новгород oт Тинькофф 😏👇🏻 \r\nОформить зaявку: \r\n📱Мобильная связь - https://www.tinkoff.ru/sl/AI7jxNzyhYS \r\n💳Тинькофф Блэк - https://www.tinkoff.ru/sl/1UHixhPqR8k \r\n \r\nЕсли вы давно хотели стать клиентом банка, то пора, т.к. по нашим ссылкам условия чуть лучше чем для всех остальных. Оформите заявку на карту, или сим-карту, а прeдставитель банка доставит вам её в любое удобное место. Хоть на рaботу, хоть домой. Доставка бeсплатно. Карта дебетовая, в кредиты никoго не вгоняем 😄 \r\n \r\nТак-же можете ознакомиться с другими прoдуктами банка: \r\nКаско, Брокерский счёт, вклaды и т.д. \r\nВот 👉🏻 https://www.tinkoff.ru/sl/7XLeMJDq1e9 \r\n \r\nПреимущества карты Tinkoff Black: \r\n1) 3,5% на остаток по карте. \r\n2) Переводы на другие карты до 20 тыс. без кoмиссии. \r\n3) Переводы СБП межбанк по номеру тeлефона до 100 тыс. рублей без комиссии. \r\n4) Снятие наличных до 100 тыс. без кoмиссии в любых банкоматах. \r\n5) Снятие наличных до 500 тыс. без % в банкoматах Тинькоф. \r\n6) Кеш-бэк 1% на всё, 5% в категориях и до 30% у пaртнёров. \r\n7) Удобное приложение и интернет бaнк. \r\n8) Бeсплатное обслуживание карты на тарифе 6.2, или 99 р. в мес. \r\n9) Пополнение карты в банкоматах банка, тeрминалах qiwi и с других карт без %, у партнёров банка, в том числе в сaлонах МТС и Мегафон до 150 тыс. в меcяц. \r\n \r\nМобильная связь: #tinkoffmobile2020 \r\n1) К симке выпускается абcолютно бeсплатная виртуальная бaнковская карта, которой можно пoльзоваться для оплаты покупoк и привязывать к Samsung Pay, Google и Apple. \r\n2) Номер мoбильного и виртуальной карты имeют общий баланс. \r\n3) На остаток по счёту идёт 3.5% без oграничений по сумме. \r\n4) Самый дeшевый роуминг за грaницей. \r\n5) Пополнение бaланса, с любых карт в прилoжении как оплаты мобильного телефона, так и пo номеру карты или у партнёров пункт 9 ☝🏻 \r\n6) Никаких лишних кoмиссий и списаний за обслуживание виртуальной карты к мобильному телефону. \r\n7) Возможность смены номера прямо в приложении без замены сим. \r\n8) Бeсплатное СМС информирование об операциях. \r\n9) Отличный вариант для обнала кредиток без потери льготного периода. Оплачивая мобильный, вы пополняете и счёт виртуальной карты. \r\n \r\n#ВеликийНовгород #Новгородскаяобласть'},
 'id': 25}

And example of a label and its position in the text:
'value': {'end': 998,
      'labels': ['Organization'],
      'start': 991,
      'text': 'Тинькоф'}

But when I take a chunk of the text at the specified positions, I get this:
>>> item['data']['text'][991:998]
>>>  \r\n6) К

How do I need to format the text to get the correct positions?

Hi, @blanchefort ! Tested this in different cases and finally understood what might be a problem.
That's emoji, right, these complicated unicode characters.
And in LS we just use internal browser's mechanic, but it treats emoji as 2 (or more) symbols, so region calculations are broken after this point.
(\r\n are fine by the way)
I'll try to figure out what to do with emojis. For now (if you have a lot of labeled data) you can try to replace all emojis with corresponding codepoints for example, for correct offsets and text slicing.
And we'll fix this bug soon anyway, sorry for problems and thanks for report.

Hi, @blanchefort ! Tested this in different cases and finally understood what might be a problem.
That's emoji, right, these complicated unicode characters.
And in LS we just use internal browser's mechanic, but it treats emoji as 2 (or more) symbols, so region calculations are broken after this point.
(\r\n are fine by the way)
I'll try to figure out what to do with emojis. For now (if you have a lot of labeled data) you can try to replace all emojis with corresponding codepoints for example, for correct offsets and text slicing.
And we'll fix this bug soon anyway, sorry for problems and thanks for report.

This bug was fixed in https://github.com/heartexlabs/label-studio/tree/release/1.1.0. Feel free to reopen if you have this problem again.

authors: blanchefort hlomzik makseq

repo: heartexlabs/label-studio


text:
Form success 24

Hey @hecrj
As suggested, added the Success case to the State type.
I updated the documentation and updated the login example with this new state.
However, this is a major change that brings the library to 8.0
Closes #24

Awesome! Thank you! :rocket:

authors: hecrj kalutheo

repo: hecrj/composable-form


text:
feat: add config

Support similar configuration as in: https://github.com/gistia/json-log-viewer#configuration

Closed in favor to https://github.com/hedhyw/json-log-viewer/issues/30

repo: hedhyw/json-log-viewer


text:
[Feature] Add JuliaWin.ini or JuliaWin.bat for User Configuration for Launcher

Add the functionality of winpython.ini file which allows defining System Variables / Environment Variables to be applied to all launchers.

From v1.8.1-0 if the file userdata\startup.cmd or userdata\startup.bat exists, it will be automatically executed at the end of the activate-julia-environment routine (to grant the opportunity to change/overwrite those variables as well).

Could we write some documentation? What activate-julia-environment defines?

juliawin_home = absolute path of base directory
juliawin_bin = %juliawin_home%\bin
juliawin_packages = %juliawin_home%\packages
juliawin_userdata = %juliawin_home%\userdata
juliawin_sh = juliawin_packages%\git\bin\sh.exe or %PROGRAMFILES<(x86)>%\Git\bin\sh.exe or sh.exe from where git
juliawin_activated = 1
JULIA_DEPOT_PATH = %juliawin_userdata%\.julia
CONDA_JL_HOME = %juliawin_packages%\conda
PYTHON = empty by use of %JULIA_DEPOT_PATH%\config\startup.jl, since bat cannot set empty variables
The following directories are added to PATH

%juliawin_packages%\julia\bin
%juliawin_packages%\curl\bin
%juliawin_packages%\vscode

Above is a summary of what the activate script sets, I'm not sure where to properly document it. PRs are welcome

I started with the Wiki: https://github.com/heetbeet/juliawin/wiki/Setting-System-Variables-(Environment-Variables)

authors: RoyiAvital heetbeet

repo: heetbeet/juliawin


text:
Onley support unix system build?

Onley support unix system build?

Yeah.

Yeah.

Thank you very much for your contribution so that I can use it quickly. Can it be supported on mobile?

https://github.com/heiher/hev-socks5-tunnel#use-cases

https://github.com/heiher/hev-socks5-tunnel#use-cases

i build it ,but it can't work:
[2023-12-16 22:02:37] [D] socks5 tunnel init
[2023-12-16 22:02:37] [E] socks5 tunnel open

Are there any other error messages? I don't know what happened?

Which system do you use?

Which system do you use?

I currently want to write a cross-platform gfw software. I want to use this project to implement tun2socks, so both iOS and Android may want it. Also, let me ask, boss, are you Chinese?

I currently want to write a cross-platform gfw software. I want to use this project to implement tun2socks, so both iOS and Android may want it. Also, let me ask, boss, are you Chinese?

No problem. I believe it can works well on Android and iOS. (I'm Chinese.

No problem. I believe it can works well on Android and iOS. (I'm Chinese.

I try in wsl ubuntu 22.04:
git clone --recursive https://github.com/heiher/hev-socks5-tunnel
cd hev-socks5-tunnel
make

but it not work, error is :
[2023-12-16 22:02:37] [D] socks5 tunnel init
[2023-12-16 22:02:37] [E] socks5 tunnel open

I do not know why。 What is the possible reason for this?
I am a chinese too.

据我所知，WSL不支持Linux Tun/Tap功能。不知道WSL2现在是否能支持。不过就算可以的话，估计也不能在WSL里捕获Windows的网络流量吧。如果你有Linux的路由器，我认为跑在网关上是个不错的选择。

据我所知，WSL不支持Linux Tun/Tap功能。不知道WSL2现在是否能支持。不过就算可以的话，估计也不能在WSL里捕获Windows的网络流量吧。如果你有Linux的路由器，我认为跑在网关上是个不错的选择。

忘记说了我用的是wsl2.。。。意思就是wsl2里面的ubuntu2不能用吗？
我看了wsl的issue：
https://github.com/microsoft/WSL/issues/874
貌似好像可以用？
wsl2 ubuntu22.04好像是有tun的？

另外我想知道如何获取更多的错误信息：
[2023-12-16 22:02:37] [D] socks5 tunnel init
[2023-12-16 22:02:37] [E] socks5 tunnel open
这个错误信息太少了

我刚实测了一下，确认WSL2是可以跑的，并且功能正常。只是只能路由Linux的流量，而不包含Widows的。你遇到的问题很可能是没有使用root用户运行或增加sudo前辍。

我刚实测了一下，确认WSL2是可以跑的，并且功能正常。只是只能路由Linux的流量，而不包含Widows的。你遇到的问题很可能是没有使用root用户运行或增加sudo前辍。
好的，我试试，没提示，我也不知道为啥错了，哈哈哈

我刚实测了一下，确认WSL2是可以跑的，并且功能正常。只是只能路由Linux的流量，而不包含Widows的。你遇到的问题很可能是没有使用root用户运行或增加sudo前辍。
好的，我试试，没提示，我也不知道为啥错了，哈哈哈

我刚试了一下，确实可以跑哦，谢谢大佬

在WSL2中使用tun2socks代理Windows的流量也是可以的，比如IPv4这样配置：
WSL2 (IP 172.28.160.215):
sudo sysctl -w net.ipv4.ip_forward=1
sudo hev-socks5-tunnel main.yml
sudo ip route add 1.1.1.1 dev tun0

Windows (IP 172.28.160.1):
route add 1.1.1.1 mask 255.255.255.255 172.28.160.215 metric 1

在WSL2中使用tun2socks代理Windows的流量也是可以的，比如IPv4以1.1.1.1为例这样配置：
WSL2 (IP 172.28.160.215):
sudo sysctl -w net.ipv4.ip_forward=1
sudo hev-socks5-tunnel main.yml
sudo ip route add 1.1.1.1 dev tun0

Windows (IP 172.28.160.1):
route add 1.1.1.1 mask 255.255.255.255 172.28.160.215 metric 1

ok，谢谢大佬，我确实是个tun2socks的新手，刚忘记了tun需要root权限或者管理员权限才能开启

authors: heiher hezhaozhao-git


text:
Do not hide tooltip if mouse over tooltip content itself

Feature:
Right now when you hover on a tooltip and try to mouseover the tooltip it disappears. In my case I have to display "Learn more" link inside a tooltip and make it clickable by a user. I know that it can be achieved by attaching tooltip element as a child of element that triggers tooltip so it keeps hovered when user mouseovers the tooltip. I couldn't find a way to achieve that with vue-directive-tooltip. There is container option in Popper.js/tooltip (https://github.com/FezVrasta/popper.js/blob/master/docs/_includes/tooltip-documentation.md search for 'container') but it seems that you are using Popper.js directly without it's tooltip component.

Yes, Popper.js is the positioning engine and I prefer to have my own implementation of the tooltip built on top of that.
You can already "kind of" achieve what you want with the programmatic option describe in the doc below:
https://hekigan.github.io/vue-directive-tooltip/
But I feel that the behaviour that you want is just a hover with a small delay. And if the user keep the mouse over the tooltip during that interval, it cancels out the removal of the tooltip to be able to interact with the content. Am I correct?

@hekigan Hey, I will try to experiment with programmatic usage.
However I am not sure if interval is the right way. Normally you achieve (AFAIK) something like this by adding tooltip element as a child of the element that triggers the tooltip, and when you are moving mouse from trigger element to the tooltip, trigger does not "loose" hover state.

When I have some time, I will add the 'delay' before disappearing feature (default value + as an option).
That way it will be easier to have a good control over the tooltip.

@hekigan your solution does not work for me :(. There is a gap between tooltip and trigger. When user moves cursor too slowly then tooltip disappears before mouse enters it's area. On the other hand if I set timeout to higher value it works (still if user does not move cursor too slow) but when I move mouse from the trigger then it looks "laggy" and strange because tooltip disappears after some moment. I experimented with timeouts 200-1000ms. For me the only solution is to attach tooltip element as a child of the trigger. so there is no gap when user moves cursor from trigger to tooltip and everything works very quick. Is there any chance that you could add such functionality? For example additional prop/option that is #id of element inside which tooltip should be appended/displayed.
For example:
Trigger

I will work on the delay option that I wrote about in my last message this weekend.
It should work for your use case.
When implemented, I will write you back here.

@hekigan thanks!

@alekbarszczewski
I just updated the script.
You can now use the delay option.
The documentation has been updated too, so you can take a look there.
I think that you should use something like that as a test:
Trigger

@hekigan Hey, it kind of works, but in case this solution is not acceptable. It looks very laggy when tooltip disappears after some delay... As I said if I set short delay then when user moves mouse to the tooltip too slow then tooltip will disappear before cursor hovers tooltip itself.

I now understand better what you want to achieve.
It's like when you have a list UL > LI for example. If you hover the LI tag, the UL tag knows that it's still being in the hover state because of the parent/child relationship.
The current implementation does not allow to do that. Sorry about that.
This kind of behaviour is mostly seen in menus more than tooltips.

@hekigan I found one bug in current behaviour I think:

      some text

      aaaaaaaa

some text

      tooltip

If you hover the trigger and then move mouse to a tooltip it's ok. But then if you will move your mouse down in the place below "some text" but above tooltip edge then tooltip will disappear after delay. This bug is more "visible" if you add padding to the tooltip content and place some elements inside tooltip (paragraphs, links, etc). When you move mouse over those elements it's ok, but then if you move it from them to the tooltip content (but still inside tooltip!) then tooltip disappears (after delay). It seems that somehow "mouseleave" events from elements that are inside tooltip are propagated down to the tooltip and it "thinks" that mouse is no longer over it.

You are right. Thank you for pointing that out.
I am going to fix this right now.

Just an update on the disappearing matter, it should be fixed now!

@hekigan On 1.3.2 this issue still remains. Same example, nothing changed and tooltip disappears when you move cursor of of any of its children, but still inside tooltip.

Okayyyyyyy.   :)
Looks like it was an event propagation issue.
What about version 1.3.3?

@hekigan works now :D. Thanks!

authors: alekbarszczewski hekigan

repo: hekigan/vue-directive-tooltip


text:
Feature: earnings buckets

We want to be able to answer questions like "what was the total HNT earned by all hotspots on the network between two timestamps?" and "what was the median hotspot earning between those timestamps?". We also want to be able to separate out earnings by "buckets" between those timestamps. So for a given hotspot, we could chart a bar graph for each day's earnings within the past week. Ideally the design of this API will be flexible enough to serve different use cases.

@allenan for clarification: How do buckets and the median values between two timestamps relate to each other?

the median would probably be top level between the timestamps, separate from the buckets

So technically a different endpoint or param I guess?

On Nov 10, 2020, at 4:12 PM, Andrew Allen notifications@github.com wrote:
the median would probably be top level between the timestamps, separate from the buckets
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/helium/blockchain-http/issues/129#issuecomment-724998296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACZBVJL7SFO7PS55YQGVLSPG3DJANCNFSM4TRGFL6Q.

authors: allenan madninja

repo: helium/blockchain-http


text:
Update keep-alive timer to prevent router from closing connections

updated TCP keep-alive from 300 seconds to 30 seconds to prevent local router for closing the connection

Closing.. let us know if this needs to be configurable. It does not seem to be a common occurrence

authors: joecryptotoo madninja

repo: helium/gateway-rs


text:
Accommodate change to rx_delay from Console without device re-joining

Ticket for tracking development, testing/staging and deployment for Part 3 of rx_delay.

Part 1 was issue 531 and PR#548 which has already been merged into master
Part 2 was associated with same ticket and PR#557
Part 3 (this one) -- Accommodate change to rx_delay from Console without device re-joining

EDIT: corrected link to first PR.

Apparently, this feature is not completely correct.  See issue #571

We will continue work with https://github.com/helium/router/issues/571

authors: dpezely macpie

repo: helium/router


text:
Add support for GNSS location

Allow user to enable / disable GNSS location. This may be useful for the Solar Thingy in case the device is outdoors.

[x] show GNSS location on map

Fixed via https://github.com/hello-nrfcloud/web/commit/c830f2fb40c02613db7c46e5a89889735d32534e

repo: hello-nrfcloud/web


text:
run example app failed, AndroidX

[!] Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the
steps on https://goo.gl/CP92wY.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.

1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)

[!] Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the
steps on https://goo.gl/CP92wY.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.

1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules classes.jar (androidx.core:core:1.1.0) and classes.jar (com.android.support:support-compat:28.0.0)

Duplicate of #23

authors: foxsofter kmfish


text:
能限制用户速度吗，比如某个用户限速200Kb/s

限制用户最大速度，避免过于占用网速，不限制流量

@djfly 楼主你有解决方案吗？可以提供一下吗

repo: hellofwy/ss-bash


text:
What's the meaning of bottleneck features?

"The bottleneck feature extractor used in this paper is a speaker-independent LSTM model for ASR". The above quote appears in your article.I don't quite understand the meaning of bottleneck features extractor and can't find the corresponding part in the code. Could you explain to me how to implement this model?
Thanks and regards.

The model used to extract the bottleneck features is derived from an acoustic model for Automatic Speech Recognition. The acoustic model outputs the posterior probabilities and the BN features are the output of the hidden layer in front of the output layer. You can use other similar open-source ASR models to get this feature.


text:
fix vmx installer makefile by clearing the CMD after the install phase

otherwise the CMD persists with --trace --install flags, and that prevents the VMX from booting

closed via #16

closed via #16

repo: hellt/vrnetlab


text:
stable/jenkins Changelog

Describe in detail the feature/behavior/change you'd like to see.
As I can't find the changelog it would be a good idea to add one. I'm using one of the old charts and as I want to update Jenkins I would like to know what changed.
The problem is when updating release there is no way of knowing what exactly changed.
Describe the solution you'd like
A simple changelog.md file would be enough.
Describe alternatives you've considered
An alternative would be to check https://github.com/helm/charts/commits/master/stable/jenkins or diff charts but it would take too long.

Did you consider this? https://github.com/helm/charts/tree/master/stable/jenkins#upgrading-an-existing-release-to-a-new-major-version

I did but I was thinking more about changes between each version.
For example what changed between those?
version: 1.5.1
version: 1.5.0
version: 1.4.9
version: 1.4.8
or those:
0.50.0
0.49.0
0.48.0
Especially parameters added/changed, maybe major bugs fixed. Simple changelog file would be enough, going through the commits is no fun.

So basically going from 0.40 to 1.5.0:

values have been renamed so that all variables start with a lowercase letter and words are separated with camelcase.
(I renamed them already)

The selectors of the deployment have been updated. In order to upgrade, delete the Jenkins Deployment before upgrading.
(Delete release before installing a new one.)

I should be fine then (famous last words).

I'd love to see a pull request which contains the change log for previous changes. Happy to continue it afterwards.

Thank you for this. I generated a changelog using auto-changelog but yours is much better :)

repo: helm/charts


text:
fix wrong labelselector syntax, fixes #12134

What this PR does / why we need it:
See #12134
Which issue this PR fixes

fixes #12134
Maintainers:

@krancour
@emilevauge
@dtomcej
@ldez

/assign @dtomcej

https://github.com/helm/charts/pull/12138/checks?check_run_id=77953383

@SimonHoenscheid Reviewing this PR, it appears that you are wanting to use a map instead of a string for labelselector.
Can you elaborate why the string does not work?

@dtomcej it works with the string

authors: SimonHoenscheid dtomcej ldez


text:
[incubator/sentry-k8s]add myself to maintainers

What this PR does / why we need it:
missing maintainer in the chart.yaml adding myself
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @davidkarlsen

/lgtm

authors: cpanato davidkarlsen


text:
[stable/falco] Fix README.md documentation

What this PR does / why we need it:
This PR fixes small typos while documenting the variables of the PubSub integration.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @bencer

/lgtm

/lgtm

authors: cpanato nestorsalceda tembleking


text:
[stable/openvpn] ipv4 forwarding init container

This PR adds an optional init container that will enable IPv4 forwarding.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

@kamsz thanks for submitting! This one I’d like to test out a little bit and I may not have time for a little while to do so - thanks for being patient.

@jasongwartz Sure thing!

Do not mark as stale. @jasongwartz any updates on this?

Haven’t forgotten! @kamsz @kamil-szczygiel-dragon can you recommend how I should go about testing this?

@jasongwartz I believe a simple cluster on GKE is sufficient (I've observed this issue with GKE cluster).

@kamsz sorry if I’m not understanding fully. When you say you’ve noticed this issue on GKE, what issue are you referring to?

@kamsz could you please clarify the question above, and also merge latest master?

@kamsz sorry if I’m not understanding fully. When you say you’ve noticed this issue on GKE, what issue are you referring to?

Issue I've encountered is lack of IPv4 forwarding enabled on nodes, which resulted in the change I'm proposing.

sorry for the back-and-forth. I'd like to finally try and get this merged, as it's also useful for https://github.com/helm/charts/pull/16381. Can you update the chart version? then we'll be good to go :smile:

@kamsz
Could you resolve conflicting files please?
stable/openvpn/Chart.yaml
stable/openvpn/README.md
stable/openvpn/values.yaml

Bump 😄
Just need to fix the merge conflicts

Usurped by https://github.com/helm/charts/pull/16381

/close

authors: jasongwartz kamil-szczygiel-dragon kamsz zanhsieh


text:
[stable/minecraft] fixing podAnnotations for minecraft chart

What this PR does / why we need it:
The previous change to add podAnnotations was applied incorrectly. This PR is to fix that. Sorry!
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @gtaylor
/assign @itzg
@gtaylor & @itzg can you please take a look? Sorry for the error.

/approve

/lgtm

authors: billimek gtaylor


text:
[stable/traefik] Add target labels for Service Monitor

Signed-off-by: Salvatore Mazzarino dev@mazzarino.cz

What this PR does / why we need it:
Add targetLabels spec property to ServiceMonitor
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/reopen

Reopen


text:
[stable/datadog] use 6.15, remove hard coded names/versions

What this PR does / why we need it:

Bump default application version to 6.15.0
The new system-probe container and config used hard coded CongigMap
names meaning only one installation is possible per cluster and
namespace.
The minimun version for the system-probe containers used hard coded
image repository and version. This has been updated to use a semver
comparison against the main version.

Which issue this PR fixes
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @mfpierre

A couple PRs have merged in front of this so I rebased from master.
@L3n41c -- sorry to call you out specifically but you seem to be active on this project and I wondered if you might be able to help get this PR through.

Any updates on this?

/ok-to-test

@clamoriniere -- I've rebased and removed the version checks as requested.

/lgtm
Thanks @elementalvoid for your contribution !

/retest

@clamoriniere -- The e2e test is failing with an error communicating with the test cluster. I ran a /retest but it failed in the same place. The error is:
I1215 20:05:39.580] Installing chart 'datadog => (version: "1.38.13", path: "stable/datadog")'...
I1215 20:05:39.581]
I1215 20:05:39.581] Installing chart with values file 'stable/datadog/ci/cluster-agent-and-worker-values.yaml'...
I1215 20:05:39.582]
I1215 20:05:41.837] Error: Could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request

Do you have any suggestions on how to get this resolved?

/retest

Hi @elementalvoid
could you bump the version again, it is the reason of the pull-charts-e2e failure
✖ datadog => (version: "1.38.13", path: "stable/datadog") > Chart version not ok. Needs a version bump!

/lgtm

Nice. Thanks @davidkarlsen and @clamoriniere for getting it through!

authors: clamoriniere davidkarlsen elementalvoid rchenzheng zanhsieh


text:
[stable/grafana] Revert "[stable/grafana] move datasource provider to containers (#209…

…85)"
This reverts commit 18e4853b
fixes #20909
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
We need it to fix #20909 - datasources are read by Grafana provisioning on startup.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @rtluckie

/assign

/assign
/ok-to-test

/lgtm

authors: dvulpe zanhsieh


text:
[stable/dokuwiki] fix typo in livenessProbe

What this PR does / why we need it:

fixes a small typo in stable/dokuwiki

Which issue this PR fixes

none

Special notes for your reviewer:

none

Checklist

[x] DCO signed
[x] Chart Version bumped

/lgtm
/ok-to-test

/assign @carrodher

authors: cpanato hairmare


text:
helm Upgrade can not support  apiextv1.CustomResourceDefinition

Output of helm version:
3.7.2
Output of kubectl version:
v1.19.4
   When I used helm upgrade my release , it failed with error "cannot patch xxxx with kind CustomResourceDefinition:  "" is invalid: patch: Invalid value: "map[metadata:map[.........."

 In the func createPatch (pkg\kube\client.go )，  apiextv1.CustomResourceDefinition is bad dealt.

_, isUnstructured := versionedObject.(runtime.Unstructured)
// On newer K8s versions, CRDs aren't unstructured but has this dedicated type
_, isCRD := versionedObject.(*apiextv1beta1.CustomResourceDefinition)     //  apiextv1.CustomResourceDefinition also is CRD

if isUnstructured || isCRD {
	// fall back to generic JSON merge patch
	patch, err := jsonpatch.CreateMergePatch(oldData, newData)
	return patch, types.MergePatchType, err
}

@zonggen please check this issue

@zonggen

@zonggen zonggen

@zonggen
_, isCRD := versionedObject.(*apiextv1beta1.CustomResourceDefinition)     //  apiextv1.CustomResourceDefinition also is CRD
maybe a bug in code?current code only support apiextv1beta1.CustomResourceDefinition,
lack support for the new version apiextv1.CustomResourceDefinition.
as far as I can see, support for old version of k8s will be removed in 1.22+, please see the warning below:
'Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition’

repo: helm/helm


text:
Drop golang dependency on k8s.io/kubernetes

Helm currently imports k8s.io/kubernetes in a few places. At time of writing:
pkg/kube/wait.go
32:     deploymentutil "k8s.io/kubernetes/pkg/controller/deployment/util"

pkg/kube/client.go
58:     "k8s.io/kubernetes/pkg/api/legacyscheme"
59:     "k8s.io/kubernetes/pkg/apis/core"
60:     "k8s.io/kubernetes/pkg/kubectl/cmd/get"
61:     cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
62:     "k8s.io/kubernetes/pkg/kubectl/validation"

pkg/kube/client_test.go
37:     cmdtesting "k8s.io/kubernetes/pkg/kubectl/cmd/testing"
38:     kubectlscheme "k8s.io/kubernetes/pkg/kubectl/scheme

Kubernetes intentionally ships a broken go.mod file to discourage people from depending on k8s.io/kubernetes (see https://github.com/kubernetes/kubernetes/issues/79384). As a result, in order to depend on helm, we must go through major hacks to get go modules working.
Is it feasible to drop this dependency?
https://github.com/kubernetes/kubernetes/issues/79384#issuecomment-538740756 indicates it may be possible to move the controller library out of k8s.io/kubernetes, and I think the api and kubectl ones can already use k8s.io/api and k8s.io/kubectl

Looking at those three files in the dev-v3 branch, Helm 3 only has one reference to k8s.io/kubernetes at this time, and it's in wait.go:
https://github.com/helm/helm/blob/c00890cae1cf756ba0bc6eac82385c6cffeb5001/pkg/kube/wait.go#L39
I'd suggest starting there, as it looks much more feasible to drop the last dependency on k8s.io/kubernetes for Helm 3 than it is for Helm 2.

Hi there , I will have my dependency on helm with helm.sh/helm/v3/pkg/chart , but when I go get this package, it says
go get: helm.sh/helm/v3@v3.0.0-beta.5 requires
        k8s.io/api@v0.0.0: reading k8s.io/api/go.mod at revision v0.0.0: unknown revision v0.0.0

my Go version is go1.13, I understand that I can do some go mod replacement at my go.mod,but are there any other solutions ?

It might be due to the stray k8s.io inclusions in go.mod. It looks like those were missed in #6609. Would you mind PRing a fix to remove those? That should unblock you.
https://github.com/helm/helm/blob/509a8819b7e8dba86b7982c006fce22628aeea28/go.mod#L45-L51

you may want to take a look here and see if something stands out: https://github.com/helm/helm/blob/509a8819b7e8dba86b7982c006fce22628aeea28/go.mod#L71-L96

yep,I finally added(copied) these dependencies into my go.mod, and it is worked .(what a hell of k8s's package management XD), THX @bacongobbler

@howardjohn did you manage to get the right dependencies for Helm 2? I am currently struggling with that.. and it looks like you manage to get it working by hacking the deps.

I have done it for Helm 2, including the latest v2.16.1 with Kubernetes 1.16.x . It was one crazy day 🙈😅 but I got it done. I can share the go.mod and go.sum file in a gist if you want. But it will be very specific to what modules we imported from helm v2 and from other projects. But it could serve as a good reference may be :?

@karuppiah7890 thanks a lot for the answer.. but looking around everyone is saying that helm 2 is not good for use as a library because of all that pain and dependencies hell.. so I found another alternative.. which in the end is more appropriate at least for my use case (using Tekton Pipelines to trigger helm installs and helm deletes, and avoiding using the client altogether) . I hope to be able to publish a blog post about that soon.

authors: bacongobbler howardjohn karuppiah7890 salaboy scbizu


text:
Parser crash

Sending the following payloads to the parser causes crashes:

Â«Â^A))=,)==,¦=,¦.ÿ[67
=f1^K,ò¸=?0Ôu==,ÕÕ[0]´<81>ÿ^Q^@÷0]5õu^HÃ
Ãï=ï{^[ï?s{i^@ÿ^@<91>^QÉ^?^?^?^?,<85><85>..<9b>^N\ï<9b>.ñ
=, =, .=,=,==,.^G=,

Specifically the crashes occur on line 211 in pkg/strvals/parser.go from the master branch:
https://github.com/helm/helm/blob/bf12ae39344aef012927ab391eb26ddd3a30ae30/pkg/strvals/parser.go#L209-L213
The crash was found with this fuzzer, and calling
func Fuzz(data []byte) int {
	_, err := Parse(PAYLOAD_HERE)
	if err != nil {
		return 0
	}
	return 1
}

will reveal the crashes.
Output of helm version:
The parser is tested via go get'ting helm.
Output of kubectl version:
The parser is tested via go get'ting helm.
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
None

Thanks again for bringing up this topic here and in https://github.com/helm/helm/pull/8124, @AdamKorcz. We're closing this specific issue due to lack of activity, but a great path forward for anyone who'd like to introduce something like fuzzing is to write it up as a Helm Improvement Proposal: https://github.com/helm/community/blob/master/hips/hip-0001.md

authors: AdamKorcz bridgetkromhout


text:
Any way to confirm if a PV/PVC exists before create

Output of helm version:
Client: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Minikube
We need some support during pre-install hook:
Any way to create a PVC during pre-install hook phase by helm3 install command automatically since the hook image will need to use the PVC?
Any way to give a check before PVC creation if this PVC exist or  not?
Really thanks for your time!

There is not a way in Helm v2. In Helm v3 there is the lookup function. This function enables you to lookup resources in a cluster.
Note, if you use helm template or perform a dry run Helm will not interact with the cluster and will return no results for a lookup. It will only perform the lookup when installing or upgrading.

Hi, thanks for your reply.
But how to create PVC before pre-install during helm install command since pre-install hook is executed before any resources are created in Kubernetes?

I don’t think a pre-pre-install hook exists if that’s what you’re looking for.

Okay, thanks for your help.

authors: bacongobbler mattfarina yanshao373


text:
Add tests to helm/pkg/kube/client_test.go to cover wait.go

What this PR does / why we need it:
fixes: #13417
Special notes for your reviewer:
If applicable:

[ ] this PR contains user facing changes (the docs needed label should be applied if so)
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

Why is this in client_test.go rather than creating a wait_test.go?

I am ok with it being done at the client level. I am looking for test coverage for every func in this whole folder because I want to refactor it when helm 4 development starts.

The coverage for the helm.sh/helm/v3/pkg/kube module goes from  47.6% to 57.1% with these added tests!

authors: alex-kattathra-johnson robertsirc


text:
fix(kube): Port use of watcher with retries to wait for resources

Port of Helm 2 PR #6014 and PR #6907 with modifications to integrate with Helm 3.
Fixes #7210

@novoxudonoser  if you get a chance, can you test this fix and see if it resolves your issue in #7210?

@hickeyma I don`t know much about helm code base, but will this pr add periodical TCP "heartbeats" (looks like maybe) ?

@novoxudonoser I was thinking you could fetch the pr, do a build and try it out. If you not sure about doing this, you can wait till the pr is delivered and put in a release to check.

@hickeyma I am on my way to test it (but I need some time to build helm from source) just wanted to find out my idea about what this pr is actually fixing.

@novoxudonoser Context on the issue described in https://github.com/helm/helm/issues/2918#issuecomment-515020383 and in the issue thread.

@hickeyma thanks for the direct point, I was locking to this comment previously, I just wanted to prove that NewListWatchFromClient will fix the load balancer timeout issue (Again I am not quite familiar with helm and kubectl code base).

@hickeyma @thomastaylor312 just tested this pr, yes it fixes the issue :tada:. @hickeyma Big thank you for your operative pr.

@hickeyma seems not fixed, just retested it now, 5min is timeout for tcp connection on Nginx load balancer and the error spawned just after 5 min, and its error text is different. So seems there is some problem with pr.
~/nixpkgs/result/bin/helm upgrade --install myname . --timeout 3000s -n myname
Release "myname" does not exist. Installing it now.

Error: no objects visited

test_timeout_hook on  master at ☸  myclaster () took 5m 11s 855ms

@thomastaylor312 Thanks for the feedback. Updated and ready for review again.

Picked into release-3.0

authors: hickeyma novoxudonoser technosophos


text:
chore: remove unecessary check in HandleExitCoder function and streamline logic

The updated HandleExitCoder function is better because it simplifies the type assertion and error handling by removing the redundant check for an empty error message, making the code more concise. It also eliminates the unnecessary return statement.
I re-ran the tests errors_test.go for regression testing and it passed

@zhaque44 sorry. I can't get any difference about the code.

@zhaque44 sorry. I can't get any difference about the code.

yes sure, let me explain right now in main:
err.Error() is called twice, which is less efficient:
if exitErr, ok := err.(ExitCoder); ok {
	if err.Error() != "" {  // First call to err.Error()
		fmt.Fprintln(ErrWriter, err)  // Second call to err.Error() inside fmt.Fprintln
	}
	OsExiter(exitErr.ExitCode())
	return
}

In the updated version in this PR, err.Error() is called once, stored in errMsg, and reused. This makes the second version more efficient and cleaner:
if exitErr, ok := err.(ExitCoder); ok {
	if errMsg := err.Error(); errMsg != "" {  // err.Error() is called once here
		fmt.Fprintln(ErrWriter, errMsg)  // Reusing errMsg instead of calling err.Error() again
	}
	OsExiter(exitErr.ExitCode())
	return
}

@zhaque44 got it. merge

repo: helmfile/helmfile


text:
feat: add go-getter suppport for ad-hoc

feat: add go-getter suppport for ad-hoc

blocked by: https://github.com/helmfile/helmfile/pull/794


text:
Update to Fancy v1.0

Update to Fancy v1.0
This update upgrades Fancy to v1, which has support for Theming with a new
styled-component-like API.
Fancy will be used throughout Blue via a styled adapter for added
flexibility.
Integration tests have been added to ensure basic functionality.
At the moment, Fancy is only being used for the Emoticon component. Here's
a screenshot of it rendering on Microsoft Edge.

Coverage remained the same at 100.0% when pulling adea6e269f0c050c5ddcab105969eff4c831a31c on fancy-v1 into d2bcdd835945be0d60b5eac19d2bb716e417f1b7 on master.

authors: ItsJonQ coveralls

repo: helpscout/blue


text:
Problem deleting document

Hi There,
https://groups.google.com/forum/#!topic/ektorp-discuss/uLKl4bFph8Y
My code for delete document looks like this :
    Example ex = null;
    List<Example> res = findByExampleId(id);
    Iterator<Example> iterator = res.iterator();
    while (iterator.hasNext()) {
        ex = (Example)iterator.next();
    }
    db.delete(ex);

But it always fetches the older revision of the file resulting in org.ektorp.UpdateConflictException.
How do I fetch the latest revision to ensure the delete happens successfully ?
Many Thanks !

answered on groups

authors: YannRobert YochanaSH

repo: helun/Ektorp


text:
[Icon] Fish shell

Hi,
Can you add an icon for Fish please ?
Maybe the logo of Oh My Fish ?

I think this repo is dead.

repo: henrikdahl/hyper-tabs-enhanced


text:
White Screen after splash Screen and before app loads

Hi, i still see a white screen that shows for a second after the splash screen shows and before the app loads.

@predeepravi did you resolve?

authors: predeepravi yourshinsuke


text:
Correct readme configuration links

The readme links where "broken" after #8

Thank you very much Lutz!

authors: henry-spanka mobilutz

repo: henry-spanka/freeathome-api


text:
the shadow of toolbar in smooth app bar  don't show

the shadow of toolbar in smooth app bar  don't show

Hi @QingXu24
Can you post your layout here?

<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<android.support.v7.widget.RecyclerView
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

<me.henrytao.smoothappbarlayout.SmoothAppBarLayout
    android:id="@+id/smooth_app_bar_layout"
    android:layout_width="match_parent"
    android:layout_height="@dimen/dimen_brand_detail_header_image_height"
    android:fitsSystemWindows="true">

    <android.support.design.widget.CollapsingToolbarLayout
        android:id="@+id/collapsing_toolbar_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true"
        app:contentScrim="@color/colorPrimary"
        app:layout_scrollFlags="scroll|exitUntilCollapsed"
        app:statusBarScrim="@color/colorPrimaryDark">

        <me.henrytao.smoothappbarlayout.SmoothCollapsingToolbarLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:fitsSystemWindows="true"
            app:layout_collapseMode="parallax"
            app:layout_collapseParallaxMultiplier="0.7">

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:fitsSystemWindows="true"
                android:scaleType="centerCrop" />

        </me.henrytao.smoothappbarlayout.SmoothCollapsingToolbarLayout>

        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            app:layout_collapseMode="pin"
            app:layout_scrollFlags="scroll|enterAlways"
            app:popupTheme="@style/AppTheme.PopupOverlay">

            <TextView
                style="@style/toolbar_title"
                android:layout_width="match_parent"
                android:gravity="center" />
        </android.support.v7.widget.Toolbar>

    </android.support.design.widget.CollapsingToolbarLayout>
</me.henrytao.smoothappbarlayout.SmoothAppBarLayout>

</android.support.design.widget.CoordinatorLayout>

?

Hi @QingXu24
What's Appcompat version and SmoothAppBarLayout version are you using?

appcompat-v7:24.1.0
smooth-app-bar-layout:24.1.0.0

Hi @QingXu24
Looking at your layout, I guess you want to do something like this. Please remove SmoothCollapsingToolbarLayout and follow this example https://github.com/henrytao-me/smooth-app-bar-layout/blob/master/sample/src/main/res/layout/activity_smooth_scroll_parallax.xml

repo: henrytao-me/smooth-app-bar-layout


text:
🛑 hentaiOS Forum is down

In 086dc87, hentaiOS Forum (https://forum.helluvaos.com) was down:

HTTP code: 403
Response time: 409 ms

Resolved: hentaiOS Forum is back up in 69acd6b after 5 minutes.


text:
🛑 hentaiOS Download API is down

In f13a53a, hentaiOS Download API (https://get.hentaios.com/api/healthcheck) was down:

HTTP code: 521
Response time: 207 ms

Resolved: hentaiOS Download API is back up in b2a5dce.


text:
🛑 hentaiOS Blog is down

In 13d159b, hentaiOS Blog (https://blog.hentaios.com) was down:

HTTP code: 521
Response time: 229 ms

Resolved: hentaiOS Blog is back up in 89a1c56.


text:
Documment available REST API URLs in Shoal Server README

We need to document the new server URL that @colsond is adding is his pull request in the shoal server readme file. https://github.com/hep-gc/shoal/blob/master/shoal-server/README.md

@igable Can I close this or do you think further documentation is needed?

authors: colsond igable

repo: hep-gc/shoal


text:
Review all error handling in Ark CLI

As we lead up to 1.0, I think it would be helpful to do a comprehensive review of all error handling in the Ark CLIs to ensure we have friendly error messages and associated troubleshooting documentation.
Spun out of #492 and other error related issues.

[ ] https://github.com/heptio/ark/issues/492

Not sure if we should lump this together or not, but we should also review our server log messages & levels. It would be nice for info-level server logging to have a consistent level of information across all controllers.

authors: rosskukulinski skriss

repo: heptio/ark


text:
deployment/readme.md: remove all non RBAC configurations

Heptio's policy is that all k8s clusters should be running RBAC. We'll remove any non RBAC documentation in 0.6

Note, contour will continue to work in both RBAC and non RBAC clusters -- it's unaware of anything to do with RBAC which is a property of the API server -- we're just not going to promote the use of contour without RBAC any more.

I've confirmed that AKS, at least with kube version 1.9.6 supports RBAC so this issue is good to go if someone is looking to get started contributing to contour.

Leaving this in 0.6.0 milestone as there's an outstanding PR

authors: davecheney rosskukulinski

repo: heptio/contour


text:
Secure envoy admin interface

#89 adds network policies to limit who can access the admin interface (to gather metrics), however, it would be better to fully secure the interface. There's an open issue in Envoy, adding to track from here: https://github.com/envoyproxy/envoy/issues/2763

PR in contour doesn't solve auth, rather just doesn't expose:
Issue in Contour: heptio/contour#376
PR to Contour: heptio/contour#377

repo: heptio/gimbal


text:
Reclassify VCS WorkingTree tests

Please have a look at the individual commit messages for the details.

@fviernau would you mind merging this despite the ongoing unrelated AppVeyor failure?

repo: heremaps/oss-review-toolkit


text:
Error when full Source Builds

When I build source，I encounter a problem.
When I command
#protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. ./api/api.proto
I got：
protoc-gen-swagger/options/annotations.proto: File not found.
api/api.proto: Import "protoc-gen-swagger/options/annotations.proto" was not found or had errors.
my system is Linux n16-027-228 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux

@mask3000 I ran through the build process with an ArchLinux container. The docs are a little outdated you'll need to add to your imports statement with protoc.

protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway --go_out=plugins=grpc:. ./api/api.proto

Also make sure to have $GOPATH/bin on your system $PATH.
I will update the README with corrections.

@mask3000 I ran through the build process with an ArchLinux container. The docs are a little outdated you'll need to add to your imports statement with protoc.

protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway --go_out=plugins=grpc:. ./api/api.proto

Also make sure to have $GOPATH/bin on your system $PATH.
I will update the README with corrections.

Thank you novabyte!

repo: heroiclabs/nakama


text:
Upgrade https://github.com/gomodule/redigo

https://github.com/garyburd/redigo is archived and development continues
at https://github.com/gomodule/redigo
redis.Message and redis.PMessage got merged gomodule/redigo@9c11da7
This is stacked on #197

Travis failing with transport_test.go:244: was expecting 200 got 500:
https://travis-ci.org/heroku/busl/builds/574811926#L554

I ran it locally for 20 times and got no failures. I restarted the build on travis and it's passing now. Also all subsequent PR's have this upgrade included and they all passed as well. I hope this was just a Travis blib

repo: heroku/busl


text:
🛑 Auth-Bridge - Test 1 is down

In ee47b36, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 03e36d5.

repo: herrphon/upptime


text:
🛑 Software Center - Test 1 is down

In 5422d72, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 70b8e06.


text:
🛑 Auth-Bridge - Test 1 is down

In 77c607a, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in a13ce13.


text:
🛑 Auth-Bridge - Test 1 is down

In b7300d1, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 4662a80.


text:
🛑 Auth-Bridge - Test 1 is down

In 1d42076, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 9bbcb8f after 12 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 09f3d09, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in d9c713c after 21 minutes.


text:
🛑 Software Center - Test 1 is down

In ba0fecf, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 01a2b52 after 32 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 0c848a0, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in b135122 after 43 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 94c05b8, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 105db23 after 21 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 5e8de0f, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in 582460c after 12 minutes.


text:
🛑 Software Center - Test 1 is down

In e506b2c, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in a2b958a after 24 minutes.


text:
🛑 Software Center - Test 1 is down

In 5b365fa, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in 37083e9 after 11 minutes.


text:
🛑 Software Center - Test 1 is down

In 736a947, Software Center - Test 1 ($SOFTWARECENTER_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Software Center - Test 1 is back up in a10c562 after 1 hour, 53 minutes.


text:
🛑 Auth-Bridge - Test 1 is down

In 028326a, Auth-Bridge - Test 1 ($AUTH_BRIDGE_TEST_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth-Bridge - Test 1 is back up in b7d20fd.


text:
Configured region (US_WEST_2) resulted in an invalid URI

software.amazon.awssdk.core.exception.SdkClientException: Configured region (US_WEST_2)
and tags ([]) resulted in an invalid URI: https://s3.US_WEST_2.amazonaws.com. This is
usually caused by an invalid region configuration. Valid regions: [af-south-1, ap-east-1,
ap-northeast-1, ap-northeast-2,... us-isob-east-1]

Fixed by commit fc4a87d

repo: heuermh/cooper


text:
[Configuration] Configuration Issues with Third-Party Library

Describe your question
During the development process, I utilized the MyBatis library. However, I couldn't figure out how to retrieve the database URL and account credentials from the application.yml file. As a result, I created a separate configuration file named mybatis-config.xml and stored the relevant information there. Would this pose any issues?

actually there's a spring-starter for mybatis that can read jdbc config from application.yml,
however, as mentioned below, you are NOT allowed to use mybatis since it's generally considered as an orm.
https://github.com/hezean/sustc/blob/2a596f950bb6b2132eb4f35347a3e61ebd14f168/sustc-api/build.gradle.kts#L17-L18

@hezean What would be the consequences if I use MyBatis? Would it result in penalties or a deduction of points? I need to assess whether I should rewrite my entire code.

May I first ask if you were in CS307 or CS213? I'll consult with the corresponding tutor for you.

@hezean CS307

@maxinglo
After consulting TA, our decision is that if you insist using ORM, you will get 50% of your original benchmark score.

authors: hezean maxinglo sses7757

repo: hezean/sustc


text:
Change server request query params, cookie params, and parsed body to return vec<(string, string)>

closes #36

to stay consistent with getHeaders(), getUploadedFiles(), i think we should keep everything KeyedContainer<string, string>

*Container<(string, string)> should probably be used for these and getHeaders() - duplicates are OK

getHeaders() is KeyedContainer<string, Container<string>> now ( dict<string, vec<string>> here ), which allows duplicates :)

authors: azjezz fredemmott