text:
Does this release support nudge?

Hi,@MasterIzumi
I used the demo to test the nudge function, but the performance was not very good. The ego car directly changed lanes to avoid obstacles. Will the released code version consider the nudge function? Or give me a tip on how I can optimize it.

Hi,@MasterIzumi I used the demo to test the nudge function, but the performance was not very good. The ego car directly changed lanes to avoid obstacles. Will the released code version consider the nudge function? Or give me a tip on how I can optimize it.

hey, have you had some process about nudge? maybe  we can have a talk.

source: gharchive/issue

repo: HKUST-Aerial-Robotics/EPSILON

license: MIT

license_type: permissive

license_source: github-api


text:
EEBase HealthcareService

Element
Kommentaar

providedBy
R5 mustSupport, R4 ei ole

category
R5 mustSupport, R4 ei ole

speciality
R5 mustSupport, R4 ei ole

category, type ja speciality elementidelde tulevad töörühmades loodavad loendid

Mulle tundub, et neid kolme peaks alati toetama iga tarkvara. Paneks hääletusele?

authors: igorboss ragneoitspuu


text:
Storybook: Hero image component

User Story
Who: As a developer
What: I have hero-image on lading page that holding text and button to do something.
Why: so that I can show the users about products.

@varsha84 Please add in the Implementation Details that you need to add the image to /src/client/assets/images with the name hero-image.jpg


text:
Two issues: Day of week corruption & SetState warning

I recently update to v0.39.0, and i'm getting two issues. One is the day of week corruption, see image below

the second one is when I change the date, it gives me an react setState on an unmounted component warning.
Here's my code:
{showDatePicker
        ? (
          <td>
            <DatePicker
              selected={followupDateDisplay}
              onChange={updateFollowupDate}/>
          </td>
        )
        : null
}

the variables followupDateDisplay and updateFollowupDateWithTask are passed down from the parent. Please let me know if you need additional information.
Thanks

I apologize, the setstate warning is my fault. I have an action that incorrectly unmounting the component.

it turned out someone else defined a custom global css that I need to update. It was missing
.react-datepicker__day-name,


text:
added hello world program in react

What the program do ?
Program Prints the Value : Hello World
In what programming language it is written?
React Js

This pull request do not contains files in specific folders. Please fix it and reopen

In which folder I need to place it.

source: gharchive/pull-request


text:
Add responsive navbar

This solves the issue #1
Here are some screenshots.
This is fully responsive too.

Hey @soumwadeep is there a problem with my PR? I'm asking because it's not accepted.
I need this contribution to count to Hacktoberfest :)

repo: HacktoberfestSIT/Edu-Code


text:
Release plan for v0.8

I think we are almost ready for Release v0.8.
The main purpose of this release is

to publish MODIT, enables us to model the high-R spectrum with many (>>1000) lines.

In addition, this release includes

Exomol Vaex format conversion
some cloud modeling
H- opacity

The latest develop branch (4d4f192 ) is copied to releasev0.8 branch. I plan to merge the releasev0.8 branch to the main branch  and publish v0.8 by 11th Sep (2021) after reflecting comments by contributors.

Done #148

repo: HajimeKawahara/exojax


text:
How to use image in cache?

How to use images in cache?

First you can cache image directly using url or image with unique.
cache image using url
imageView.hnk_setImageFromURL(url)
cache image with unique key
imageView.hnk_setImage(image, key: key)
You can fetch cache images using Shared.imageCache and use this instance for fetch cache images.
create image cache instance
let imageCache = Shared.imageCache
fetch cache image with url
imageCache.fetch(URL: <#T##NSURL#>).onSuccess { (image) in       //set your image here   }
fetch cache image with key
 imageCache.fetch(key: "").onSuccess { (image) in       //set your image here    }

repo: Haneke/HanekeSwift

license_source: bigquery


text:
Questions for align_68.py

I really appreciate the authors for the great work! The demo looks super well and the models are robustness.
I have two questions for some details in the align_68.py.
(1) I'm just curious what's the purpose of adding the bias here
(2) Why do you calculate the average for the three points here. Wouldn't it be better to store the three points for each frame and calculate the M for each of them?
Thanks for the great work again!

Hi, thank you for looking into the details of the code! Most previous work for facial image generation normally align each face according to the three points (As I have done in my previous paper https://github.com/Hangz-nju-cuhk/Talking-Face-Generation-DAVS). However, this will lead to a zoom-out-and-in artifact due to the affine transformation.
Thus in this work, I do not align the samples provided in VoxCeleb2 and choose to align the faces according to the average of all key points in other videos. The bias is to ensure that the face is almost at the center of the cropped frame but  certain misalignment is allowed.

Thank you for your reply! Your reply answered my question!
Sorry for another question about the training details. Since no preprocessed code is released. I have a question regarding it.
During the training stage, I'm wondering did you train the entire clip or did you sample a few number of frames in a clip and each time you random sample a pair of frames as the training data? Thanks.

Hi, for each epoch we sample like 12 continuous frames for contrastive learning and among them, 4 are used for reconstruction training.

Thanks for your prompt reply, it's really helpful.
Sorry for bring up another question. Is it possible to share the training hyperparameters of all the models? (Batch size, learning rate,.. etc). The hyperparameters would be super helpful if I want to train the model based on the repo. Thanks!

authors: Hangz-nju-cuhk Yusics


text:
Fix shceduled jobs search

In the file jobs.py, in get_job_registrys, after geting the schedule jobs from the Scheduler, the return array it's cleaned but the values are not copied to job array. So this method will never return the scheduled jobs and they would only be showed in the dashboard after they are finished or failed

@UisemanAraujo Thank you! we're on it.

authors: UisemanAraujo arnestrickmann


text:
🛑 Docs is down

In 96f19d1, Docs (https://docs.premid.app) was down:

HTTP code: 520
Response time: 19408 ms

Resolved: Docs is back up in 3458d71 after 47 minutes.


text:
🛑 Assets CDN server is down

In af348e0, Assets CDN server (https://cdn.assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1491 ms

Resolved: Assets CDN server is back up in a99f64b after 30 minutes.


text:
🛑 Assets server is down

In 5d8770a, Assets server (https://assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1491 ms

Resolved: Assets server is back up in 7650a2a after 22 minutes.


text:
🛑 Portal is down

In 0310d4b, Portal (https://scratch-wiki.info) was down:

HTTP code: 508
Response time: 814 ms

Resolved: Portal is back up in 7ce7de2 after 7 days, 23 minutes.


text:
🛑 French is down

In 6212dac, French (https://fr.scratch-wiki.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: French is back up in c8c2a3e after 7 minutes.


text:
🛑 English is down

In 268b9f9, English (https://en.scratch-wiki.info) was down:

HTTP code: 508
Response time: 1087 ms

Resolved: English is back up in 92ee421 after 18 minutes.


text:
🛑 Japanese is down

In 25ab978, Japanese (https://ja.scratch-wiki.info) was down:

HTTP code: 508
Response time: 1619 ms

Resolved: Japanese is back up in f86ff78 after 7 minutes.


text:
项目不是部署在网站根目录下 加载ueditor.config.js 失败

项目不是部署在网站根目录下 报加载ueditor.config.js404
页面里面配置 UEDITOR_HOME_URL 好像不管用
myConfig: {
// UEditor 资源文件的存放路径，如果你使用的是 vue-cli 生成的项目，通常不需要设置该选项，vue-ueditor-wrap 会自动处理常见的情况，如果需要特殊配置，参考下方的常见问题2
UEDITOR_HOME_URL: "/oilsnp/static/UEditor/"
}

已解决


text:
Descriptor word size should be configurable

There's a kMaxCount to limit the max word a descriptor can hold, this should be configurable, (preferably) on runtime or compile time.

fixed by the lastest commits

repo: HaoPatrick/pmwcas


text:
🛑 Google Scholar is down

In 507610a, Google Scholar (https://scholar.haoqiyun.tk/) was down:

HTTP code: 403
Response time: 622 ms

Resolved: Google Scholar is back up in 7090728.


text:
🛑 AI对话 is down

In 87f55c4, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 81 ms

Resolved: AI绘画 is back up in 8195a12 after .


text:
🛑 Happy Vibes Bot 3 is down

In 7434a5b, Happy Vibes Bot 3 ($BOT3) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 3 is back up in 27d4616.

repo: Happy-Vibes-Bot/status


text:
🛑 Happy Vibes Bot 5 is down

In d6bdf4d, Happy Vibes Bot 5 ($BOT5) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 5 is back up in 844e181.


text:
🛑 Happy Vibes Bot 3 is down

In 9d49c91, Happy Vibes Bot 3 ($BOT3) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 3 is back up in e6cb5b6.


text:
🛑 Happy Vibes Bot 3 is down

In 5425b5c, Happy Vibes Bot 3 ($BOT3) was down:

HTTP code: 502
Response time: 1773 ms

Resolved: Happy Vibes Bot 3 is back up in eb253e9.


text:
Pcons

Originally reported by: Anonymous

Toolbox keeps spamming with my pcons, even if they are up.

Bitbucket: https://bitbucket.org/ggori/gwtoolbox-plusplus/issue/8

hello,  i encountered the same problem today, when suddenly toolbox started to spam through cons+pcons. Everything was fine before. I vqd an area totally fine but it started spamming when i rezoned in another area.
Spammed pcons were: full consets, pumpkin pie, cupcakes, golden eggs, candy corn, red rocks, war supplies, alc...so actually everything :)

Spammed pcons were: full consets, pumpkin pie, cupcakes, golden eggs, candy corn, red rocks, war supplies, alc...so actually everything :)

were they all ticked?

yes they were all ticked and pcons enabled.

authors: HasKha sfindow

repo: HasKha/GWToolboxpp


text:
Clean up "dev" code

For example, https://github.com/HaxeFoundation/haxelib/blob/master/src/tools/haxelib/Main.hx#L1015:
if( !FileSystem.exists(proj) ) {
	FileSystem.createDirectory(proj);
	File.saveContent(proj + "/.current", "dev");
}

@dpeek pointed out that saving ".current" should probably happen outside of the if statement.  On further reading of the source though, that isn't necessary at all - we shouldn't write it to begin with.  Or if we do, we should reset it when disabling dev.
Either way it would be nice to make this more obvious, or possibly write some unit tests for it.

What's with the original issue. Does this still need addressing?

Basically in some places (but not all) we set ".current" to the string "dev" when dev mode was enabled.  But this wasn't actually required - the existence of a ".dev" file is all that matters.
Furthermore, it meant when you disabled dev mode on a library, it did not always restore the previous version as "current".
Fixed now.

repo: HaxeFoundation/haxelib


text:
Program never completed

I tried to run tests for hxease, and running with hl test/test.hl starts and never completes with 100% cpu usage.
I use OSX 10.11.5.
haxe nightly  from 20 oct 2016
hl builded for osx with make from git at 20 oct 2016 (as how it's done on hl travis-ci script)
hxease: https://github.com/eliasku/hxease/tree/develop
Builded tests which is never completes: test.hl.zip

What is the source code for the example?

(or can it be reproduced with a smaller pure Haxe code sample without any lib?)

@ncannasse I will try to pack repro in 30 minutes for you

hl-repro.zip
There are hl.hxml and neko.hxml

The repro is also hanging on my mac running 10.11.6
I'm having the same issue running the mandlebrot test, it gets to pixel (214,1) and hangs in both hl JIT and compiled HLC

I can't reproduce on Windows, I'll have to check on OSX at work this week.

I've made a PR for the fix and the hl-repro project no longer hangs
It turned out to be the TRAILING_ZEROES macro. On windows it's defined as an inline function whereas on other platforms it's the macro:
#define TRAILING_ZEROES(x)	(x?__builtin_ctz(x):32)

The problem is if x is a ternary expression like a ? b : c then if a is true TRAILING_ZEROES will return a rather than __builtin_ctz(a).
I've changed the macros to inline functions which also prevents x being evaluated twice.
The hang itself occurred in gc_alloc_var - alloc.c:383 bits gets set incorrectly because of the ternary

authors: eliasku haxiomic ncannasse

repo: HaxeFoundation/hl


text:
Minimum working example

Hello,
thank you for sharing your code. I have trouble trying to use it though.Can you point to a minimum working example in the files you provided? a canonical example on how to learn a fast-transform?
thank you
Luc

Thanks for trying out the code.
As mentioned in the README, you can see learning_transforms/run_exp.sh for examples of how to run the experiments.
For example, to learn the fast algorithm to perform the DFT of size 8 x 8: python learning_transforms.py with target=dft model=BP size=8

authors: lucgiffon tridao

repo: HazyResearch/learning-circuits


text:
What is the purpose of the Prompt class?

Why not just allow manifest.run to accept a callable directly?

Two reasons mainly
(a) it's a bit nice semantically and for readability to see Prompt() rather than an arbitrary callable. We may also extend a Prompt class to be more structured. I.e. take in a prefix, suffix, and instruction and construct a prompt each time.
(b) We support saving and loading prompts so even if you're in an interactive session and lose the string, you can still load the prompt next time.

repo: HazyResearch/manifest


text:
Doorbell camera (white with bell icon over led ver 1?)

Hello,
found a wyze doorbell cam on clearence at home depot. It refused to read qr code. So i soldered to uart headers. U-boot was unlocked so i moded the bootargs bypassing init and going to shell. Finished the init by hand and added my ssid and password to user_config and wpa_conf. It connects to wifi booting straight to shell or normal boot. Didnt know about any of the hacks till after. The apps partition is rw and persists. My quick driveby of getting telnetd working resulted in it accepting my connection but not bringing up the login or shell. Unfortunatly it seems the root password is different then v2 or v3 of cams. I have jack working on the shadow but no dictionarys so im not optimistic about time or even coming thru. Strangly telnetd doesnt start in regular boot, i threw it into the rc script in /system/init also in the wpa script, nada. Also nmap sees nothing when in regular boot. I dont have a lot of time invested in it yet. Id like to be able to access the camera thru some sorta standard api or ioctl but boot logs threw the word mipi around and all i could see using the camera was a binary which i doubt the source is available for. Like most vendor implimementations im sure the kernel source (i assume they a have gpl package with kernel sources) is packed with closed source drivers with any luck they have the binarys and .o's so i can recompile my own and with a lil patching (depending what closed source) sniff the calls to the camera. Interestingly  they have a few usb kernel drivers built in pl2303, ch340, and for reasons id love to know zydas 1211 usb 802.11b/g wifi card (of all wifi cards why?) but didnt see anything bout mass storage. So my next steps in no particular order are get something like strace copied over along with ssh and maybe sum rtsp stuff ripped from other devices firmware, see what comes out of the usb to uart devices and also throw the zydas on because i havent used it in over a decade. And checkout the kernel source situation maybe get mass storage going along with other stuff. It definitely has a usb hub attached, i think it has two usb ports so otg could possibly work, if only one port sol. I can post the steps to boot via uart commands and get online (a little lengthy so wasnt sure if appropriate), but its not provisioned because i havent setup a wyze account nor any clue where that login info would be saved. I see the hardware is most like ver3 of cam except the apps is jffs2 and rw so id hafta modify for that if wyzehacks. Also doesnt look like anything from camera is stored on device only streamed which is fine for me. They do have binarys for network storage included. They also have a hostapd conf file but i didnt see hostapd anywhere. Just took a quick look at the gpl release and iw/iwtools is listed but no iw/iwconfig stuff is anywhere i can see. Maybe sum stuff is still hidden in initrd, i cant login with normal boot to see until i get the root password. Did you guys get ver 2 ver 3 passwords by brute or some other means? Ill keep on it, any questions or instructions dont hesistate to ask. Awesome project btw, very impressive!

woah boy.
Good work.
The older PWs got leaked or hacked somehow for V2 and V3.
There's a better easier way to hack these. Basically, the bootloader will automatically boot up factory_t31_ZMC6tiIDQN from an SD card.
Hop on over to https://github.com/gtxaspec/wz_mini_hacks
and see what we've go so far.

unfortunately the doorcams, or at least mine lacks aa sdcard, all we have is a usb port that comes hidden under a sticker on the back. We also have aa cc1310 sub ghz radio to control the wireless chime. I bbelieve those are the big differences between the hardware, tho i have no idea if they reused same camera or not. Looks like same realtek wifi. Strangely the boot logs show it finding and initializing an mmc but i assume sum internal storage just presents that way, but all i see are mtd parts from the spi flash. I havent looked into it. A hidden file will cause firmware upgrade and the script simply unmounts the related partition to be upgraded, wipes it clean then blindly copies everything from another partition (where the upgraded firmware is resting) over then remounts. So seems easy enuff to install new parts. For time being i figure ill keep stock and just add sum things, get a handle on it all. Without sdcard no reason for wyze to release a downloadable firmware for it. Ill make disk images of all the parts and post them on github sometime soon in  case anyone needs them for recovery/experimenting.

Ok so kernel source link for doorcam downloads the cam ver 2 kernel source. I Downloaded the cam ver3 kernel source used its config and compiled the required scsi and usb mass storage modules to get usb storage working. Here they are along with list of commands that init the system when booting init=/bin/sh https://github.com/bm16ton/wyze-doorcam-dump .

Amazing judo skills and tactics.
Wish I had such skills to hack into my new Meta Smartglasses.   Haven’t heard of anybody hacking into these…. I had dreams of using my AI/LLM skills to improve the AI functionality.  BUT… need such hacking skills as foundation.
Party on!

Smart glasses like glasses you wear on your head with sum sorta hud display builtin? Ive heard rumblings but only ever seen in movies! Im a financially poor soul (no wprries rich in a thousand otherways) otherwise id be all over that! Feel free to contact me with any questions about general hacking on that front sounds amazing! Without the hardware ill be an admittedly limited resource but still id just be happy to know more/be involved in that!

Meta (formerly Facebook) has the most famous and much copied open source AI LLM.  Their smart glasses (made by Ray Ban) are $299.  Kind of ugly, but I like the tech.   It has cameras for taking photos or 1 minute videos.  And microphone and good quality speakers;  music sounds great and is neat to not need headphones,  but not loud enough so I have hard time hearing when walking on the street. Yes,  wear on the head glasses :)
think of the AI like a Google assistant or Apple Siri that you can ask questions to… but better than both of them.  And in Q1 next year you should be able to ask the AI about things you are looking at due to the cameras.  If they looked better on me,  I’d wear them all the time so a full-time AI assistant at my beckon call.
While I was an operating system developer 20 years ago,  my hacking skills are no where sufficient to even consider opening these glasses.  (I got prescription lenses,  so cost more than the $299 sunglasses version.)
Cool of you to offer assistance.  By Im 3 three thumbs with this type hacking.
Oh,  no Augmented Reality display on this version.  In their next version they will do that…. It’ll be sick,  but of course much more expensive.  Not too mention the potential for sizzling the brain;  maybe that’s part of Meta’s plan to take over… AI take over the soft-tissue biological brain in these skulls.   shrug

My god. Im gonna hafta google this and any other similiar devices. Cant
imagine they have much cpu horse power but things are always getting
smaller. Now im curious an mcu wich tethers to a cell phone etc? The only
reason i personaly wouldnt wear them or tge vr headsets is constantly
focusing on something about an inch away from my eyes my getting old eyes
is a recipe for dissaster.
On the wyze doorbell front i have usb mass storage and ext4 modules
uploaded, and along with backups. Im currently using a modded
system/init/forgot_the_name init which binds wz_mini_hacks to /opt plus a
handful of other things. I never provisioned mine so even tho it connects
to wifi it fails to authenticate with wyze so i disabled those services and
just started up the wz_mini iCamera binary then stupid holiday, had to
leave its untested. Telnets working, along with all other wz_mini standard
cli bins. Not sure how im gonna make it all installable without uart pins
being needed (like to try and make it ez for newcomers to diy hacking) im
currently binding a new /etc/passwd to bypass the unknown root password.
Looks like this doorbell with a much older firmware version uses sha512 the
shadow file in wz_mini (i believe is stock cam ver2) looks like maybe old
school blowfish? Looking like whatever i do in ill hafta work around that,
My only easyway out i see atm is if the init binary looks for any one of
the usb2uart devices and if found throws a login free root console on it.
And i was wrong earlier it looks like the zydas usb to wifi they added
support for isnt the old 802.11b/g ill hafta check but do believe its
actually the 802.11b only version!? Def a story here i just hope I
eventually get to hear it. And to make it slightly more difficult for
newcommers it wont turn on if powered by the AC inputs and it has its usb
otg id pin pulled(just having an otg inserted it locks hard immediatly)
Long ago a usb spec did exist for usb otg ports (non usb-c) to receive
power while in host mode. It was a some could do it some couldnt and the
ones that could would seldom had it implemented then i lost track i dunno
if it became the standard everyone used or not. Cannot remember what it was
called. Ill try and see if i can power it while its in host mode. But never
apply voltage to another set of pins in output mode, no protection at all.
Writing this has been the enjoyable part of this required yearly family
time lol.
On Mon, 25 Dec 2023, 12:10 pm rdaigle007, @.***> wrote:

Meta (formerly Facebook) has the most famous and much copied open source
AI LLM. Their smart glasses (made by Ray Ban) are $299. Kind of ugly, but I
like the tech. It has cameras for taking photos or 1 minute videos. And
microphone and good quality speakers; music sounds great and is neat to not
need headphones, but not loud enough so I have hard time hearing when
walking on the street. Yes, wear on the head glasses :)
think of the AI like a Google assistant or Apple Siri that you can ask
questions to… but better than both of them. And in Q1 next year you should
be able to ask the AI about things you are looking at due to the cameras.
If they looked better on me, I’d wear them all the time so a full-time AI
assistant at my beckon call.
While I was an operating system developer 20 years ago, my hacking skills
are no where sufficient to even consider opening these glasses. (I got
prescription lenses, so cost more than the $299 sunglasses version.)
Cool of you to offer assistance. By Im 3 three thumbs with this type
hacking.
Oh, no Augmented Reality display on this version. In their next version
they will do that…. It’ll be sick, but of course much more expensive. Not
too mention the potential for sizzling the brain; maybe that’s part of
Meta’s plan to take over… AI take over the soft-tissue biological brain in
these skulls. shrug
—
Reply to this email directly, view it on GitHub
https://github.com/HclX/WyzeHacks/issues/158#issuecomment-1869058145,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADAWMP4E353D34I3XAEGQM3YLGXRJAVCNFSM6AAAAABBCFQOIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGA2TQMJUGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: HclX/WyzeHacks


text:
[DO NOT MERGE] Differences Between 2-2-stable-healthwave and the official Spree-2-2

DO NOT MERGE.

Friday July 24th, Rebased to upstream/2-2-stable

Upgraded Ransack to fix an issue with ActiveRecord 4.1 + Ransack:
https://github.com/spree/spree/commit/507d0eee2be63683cc46271c7c274fb0c579fcfb
.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/activesupport-4.1.12/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method': undefined method `graft' for class `ActiveRecord::Associations::JoinDependency' (NameError)

Upgraded versioncake as seen in spree-2-3:
https://github.com/spree/spree/commit/d236ad68b6d2688a50e02dc28160e59df06872aa

Made the eval_block method public for routes as seen in:
https://github.com/spree/spree/commit/1426a1fd7640a7aeea6591bbed9ad07882de60ae

Updated to paperclip-4-1-1 as per https://github.com/spree/spree/commit/1922ad5f1765dfcc04442c848c967aa4b8912461#commitcomment-6159392

Updated checkout#updating_from_params to match spree-2-3 and resolve deprecation warning. https://github.com/spree/spree/commit/fee9e25dffa0f41d13469943e62c3a02a4422509

repo: HealthWave/spree


text:
feat : rewind till first , onSwipeForbiden

What is New In This PR

add ability to rewind till the end   (not just one item back)
add onSwipeForbiden (to detect if user swiped to direction is not allowed to )

@HeavenOSK It would be great if you could accept this PR! I've tested it and it works great.

@hwasoocho
i have added more feature in order to make this package perfect for tinder like swipe
i will add it to this PR ASAP

When will it be merged? I have tested and it's working perfectly.

authors: hwasoocho maxzod soarescaique


text:
Replace GlobalRandom with Random.Shared

When I started this project with .NET 5 we had a need for an easily-accessible, therefore thread-safe Random instance and created GlobalRandom. With .NET 6 and onward we have Random.Shared which is a drop-in replacement. Nice!

Fixed in c607bb8

repo: Helco/zzio


text:
feat: 增加点击添加标签的交互

1. 增加了点击左侧待选标签，追加到右侧暂存区域尾部的交互逻辑。
2. 将标签操作提示移动到上方并降低文字对比度，使其更容易被看到但又不会太醒目。
前几天使用 HelloGithub 网站整理自己的标签时，按照以往的习惯点击添加标签，点了很多次发现没有反应，然后才在下面看到需要拖拽才能添加到右侧的暂存区域，感觉需要小小优化一下。

添加多个响应式宽度，解决宽度较窄时，已选标签超出弹窗容器的问题。
处理前

处理后

repo: HelloGitHub-Team/geese


text:
Compatibility issue with SA-MP - GUI does not show properly

In SA-MP 0.3 DL, the input box for the chat, player/tab screen, minimap and weapon icon do not show.
The ones that do show are the money counter and the chat log.
When you select a weapon and take aim the minimap returns briefly untill aiming stops.

The mod itself is not responsible for the UI elements; it's an issue with Remix. You may need to manually mark the UI text as UI. Additionally, the mod primarily focuses on the vanilla single-player experience and does not support any mods outside of our mod list or any SAMP games. If you encounter textures that shouldn't be there or if they display correctly, it likely depends on whether there are hash collision problems with the original game or other mods. If you have any issues with the mod, it's best to ask in the Discord Channel for a quicker response. Thank you.


text:
Add coveralls support on Travis build

Added coveralls calls on travis.yml
Added coveralls badge on Readme.md

Changes Unknown when pulling ccc34aa21790f9ed5ac78325022bf9cb1e0c897a on add-coveralls into ** on master**.

authors: coveralls tiagomtotti

repo: HewlettPackard/oneview-ansible


text:
代码块输出pdf效果优化

去掉多余元素

优化效果：

思源内鼠标悬停在代码块上时正常显示：

repo: Hi-Windom/winsay


text:
Dimensions of DFT's for Intel IPP...

Hi,
First of all - thanks for making the AudioFFT under the MIT license.
I am trying to add support for Intel IPP.
My issue is:

I can't find anywhere in the documentation of the IPP, what is the size of the DFT produced by their algorithms.

As much as I can see, it is the same size as the input, which means it preserves the conjugate symmetries above the N/2 + 1 mark. There are functions that would compute the DFT with "packing" to what seems to be N/2 + 1 length, but they don't produce complex results... and this confuses me...
Any chance you have used the IPP?
Cheers!

BTW, this reminds me - I don't understand this in the vDSP implementation:
virtual void fft(const float* data, float* re, float* im) override
{
  const size_t size2 = _size / 2;
  DSPSplitComplex splitComplex;
  splitComplex.realp = re;
  splitComplex.imagp = im;
  vDSP_ctoz(reinterpret_cast<const COMPLEX*>(data), 2, &splitComplex, 1, size2);
  ...
 }

Doesn't this get only N/2 of the input data?

OK, I've figured this out. I am leaving the issue open so you can let me know, whether you'd like me to make a pull request with the Intel IPP implementation.
Cheers!

Hi Nikolay,
support for Intel IPP is actually something what I'd liked to add for a long time, so your contribution would be very welcome. :-)
Regards, Uli
P.S.: I just discovered your Viktor NV1 synth, very cool! :-)

authors: HiFi-LoFi nicroto

repo: HiFi-LoFi/AudioFFT

license: mit


text:
Cannot compile .hvmc file into a binary when a string is too long

I got this:
error: reached the recursion limit while instantiating `<(for<'a, 'b> fn(&'a mut run::Net<'b, Strict>, ...) {call_Table_at_S83____ce760551ccb52d84::<...>}, ...) as AsDef>::call::<...>`
    |
note: `<(F, G) as AsDef>::call` defined here
   --> src/run.rs:631:3
    |
631 |   unsafe fn call<M: Mode>(slf: *const Def<Self>, net: &mut Net<M>, port: Port) {
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: the full type name has been written to '/Users/martinjaniczek/Localhost/scratch/hvm-crc32/.hvm/target/release/deps/hvmc-946b8138f3fad536.long-type.txt'

error: could not compile `hvm-core` (lib) due to 1 previous error

when compiling my CRC32 file (https://gist.github.com/Janiczek/fa91fadd53d29ef0e1bbcf8e034a519b) with this string:
testString = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678"

(It's 2048 characters long.)
Later I tried to make this smaller program:
str = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678"

main = (String.len str)

String.len list = (String.len.go list 0)
String.len.go (String.nil) count = count
String.len.go (String.cons x xs) count = (String.len.go xs (+ count 1))

which hvm-lang runs fine, compiles fine, hvm-core runs fine but the compilation gets stuck like this (it's compiling like that for a good few minutes now):

The hvmc file (note -O all was used) contains a lot of duplications it seems:
sscce.hvmc.txt

this is unlikely to work in the near future; I'd recommend passing the huge string as argument (though right now there's no way to compile hvm-lang binaries, so you'd have to pass it in hvm-core syntax)

authors: Janiczek tjjfvi

repo: HigherOrderCO/hvm-core


text:
Walmart hackathon added

Fixes #470

@PSS2134 Please check it and merge !
Thank you !


text:
Consider allowing applications to go fullscreen

This is one form of user interaction we may consider, since it doesn't allow the user to "escape" the application.

Whoops, this was supposed to be auto-closed by 2669c80803da97ff06b1621436be26a5aed02955, but I used the wrong issue number there.

repo: Hjdskes/cage


text:
Error handling in FC2LiveStream.get_meta

I got an exception in my instance of autofc2 with following stacktrace:
2023-03-18 16:24:24 [fc2 [redacted]] Fetching stream info
Task exception was never retrieved
future: <Task finished name='Task-2733449' coro=<AutoFC2.handle_channel() done, defined at [redacted]/lib/python3.11/site-packages/fc2_live_dl/autofc2.py:90>
 exception=KeyError('data')>
Traceback (most recent call last):
  File "[redacted]/lib/python3.11/site-packages/fc2_live_dl/autofc2.py", line 93, in handle_channel
    await fc2.download(channel_id)
  File "[redacted]/lib/python3.11/site-packages/fc2_live_dl/FC2LiveDL.py", line 97, in download
    await live.wait_for_online(self.params["wait_poll_interval"])
  File "[redacted]/lib/python3.11/site-packages/fc2_live_dl/fc2.py", line 209, in wait_for_online
    while not await self.is_online():
              ^^^^^^^^^^^^^^^^^^^^^^
  File "[redacted]/lib/python3.11/site-packages/fc2_live_dl/fc2.py", line 215, in is_online
    meta = await self.get_meta(refetch=refetch)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[redacted]/lib/python3.11/site-packages/fc2_live_dl/fc2.py", line 277, in get_meta
    data["data"]["channel_data"]["title"]
    ~~~~^^^^^^^^
KeyError: 'data'
2023-03-30 06:50:59 [fc2 [redacted]] Fetching stream info

Since there is "Fetching stream info" line after stacktrace, I assume handle_channel task got finished after unhandled exception and was restarted by AutoFC2._main, so whole thing would probably continue working fine after that. But as get_meta makes network request, parses and processes response, it would make sense to handle cases where something of that goes wrong.
The response that caused exception must have been a valid json, since it was successfully decoded, so it might be some kind of 50x error, making it related to #10. I tried to trigger different network-related errors by blocking internet access and pointing api url to different places, and result is generally the same: unhandled exception in get_meta causing restart of handle_channel task.
From my understanding, it would make sense to check for non-200 status, catch KeyError (valid json without expected fields), aiohttp.client_exceptions.ContentTypeError (not a valid json),  asyncio.TimeoutError (in case of network timeout) or any other exception and raise custom exception with appropriate error text, which could then be caught in FC2LiveDL.download .
FC2LiveStream.wait_for_online seems like a good place to handle exponential backoff from #10, but which of possible errors should cause retry and which should be raised immediately? Also, what should be lower and upper limit on delay before retrying? Since there is wait_poll_interval in wait_for_online context, it would make sense to start with it, but should upper bound involve hardcoded value of 5-10 minutes, be multiple of wait_poll_interval, or both?

Hi, thanks for the detailed report. Sorry it took a while for me to respond, somehow this issue got buried.
Yeah I think we can add some retry and exponential backoff at FC2LiveStream.wait_for_online. For simplicity's sake maybe we can just catch all exceptions apart from KeyboardInterrupt. The exact number for the backoff doesn't matter too much but I usually go from 1 second, doubling until some hardcoded limit. I think 5 minutes is a good number.
Let me know if you'd like to make a PR for this.

Ended up doing it in wait_for_online, since it's indeed simpler. Hopefully the way warning about exception is printed will still provide enough information.
Additionally get_meta now calls raise_for_status to get non-200 status code error reported as such.
Perhaps #10 can also be closed now?


text:
Add selected template as defined in CakePHP 3.9

Update the template array in FormHelper, added in 3.9 in cakephp/cakephp#13686
Otherwise it throws a RuntimeException when using MultipleCheckbox

Right.
But should be added in

https://github.com/Holt59/cakephp3-bootstrap-helpers/blob/v4.0.3/src/View/Helper/FormHelper.php
https://github.com/Holt59/cakephp3-bootstrap-helpers/blob/cake4-bs4-1.0.0/src/View/Helper/FormHelper.php

Yes, those should be in another commits, as I'm using cake 3 with bootstrap 3.
Maybe cherry-pick the commit?

These cannot be cherry-picked directly due to conflicts. I can make the change myself to the other branches but you can open PRs if you want to keep authorship on this.

Thank you.
Nevermind about authorship, its just a line.
Maybe you should make a release with this fix? In the meantime it can be fixed by adding the line in the project's AppView


text:
Invalid formula "phantomjs.rb" causes homebrew/core to be unable to be tapped

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

What you were trying to do (and why)
Any operation that requires tapping homebrew/core (eg. brew doctor)

What happened (include command output)
On a completely fresh macOS installation, after installing a few homebrew-cask apps, I tried to install standard homebrew apps. The following error is shown every time:

$ brew doctor
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 4780, done.
remote: Compressing objects: 100% (4563/4563), done.
remote: Total 4780 (delta 52), reused 1083 (delta 29), pack-reused 0
Receiving objects: 100% (4780/4780), 3.88 MiB | 82.00 KiB/s, done.
Resolving deltas: 100% (52/52), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/phantomjs.rb
NaN
Error: Cannot tap homebrew/core: invalid syntax in tap!
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core

What you expected to happen
Given it's a clean installation of macOS and brew, no errors to be shown when running brew doctor.

Step-by-step reproduction instructions (by running brew commands)

Install brew normally: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor

Here is the output of brew config for me:
$ brew config
HOMEBREW_VERSION: 1.6.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: e4c02fafdaef5676cf40dd6d16e74976cf54b265
Last commit: 10 days ago
Core tap: N/A
HOMEBREW_PREFIX: /usr/local
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: N/A
Git: 2.17.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: N/A
macOS: 10.13.5-x86_64
Error: NaN
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/os/mac/xcode.rb:152:in `to_i'
/usr/local/Homebrew/Library/Homebrew/os/mac/xcode.rb:152:in `detect_version_from_clang_version'
/usr/local/Homebrew/Library/Homebrew/os/mac/xcode.rb:144:in `detect_version'
/usr/local/Homebrew/Library/Homebrew/os/mac/xcode.rb:114:in `version'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/system_config.rb:37:in `clt'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/system_config.rb:51:in `dump_verbose_config'
/usr/local/Homebrew/Library/Homebrew/cmd/config.rb:12:in `config'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'

I got the same error message when I trying to install homebrew

@DomT4 Yes I am. It seems that is the version of xcode command-line tools that is now installed by default:
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.25.5)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Yeah, I thought that might be it. https://github.com/Homebrew/brew/pull/4275 may well fix that problem, although if you're not running Homebrew in developer mode you may need to wait for a new tag.

authors: DomT4 chnyangjie matchai

repo: Homebrew/brew


text:
test block still uses old-style HEAD prefixes

test do blocks are currently broken for head specs for basically all formulae since the test block code is still using the old-style prefixes:
iMac-TMP:Formula joe$ brew install --HEAD wget
==> Cloning git://git.savannah.gnu.org/wget.git
Updating /Users/joe/Library/Caches/Homebrew/wget--git
==> Checking out branch master
==> ./bootstrap
==> ./configure --prefix=/usr/local/Cellar/wget/HEAD-ef372a4 --sysconfdir=/usr/local/etc --with-ssl=openssl --with-libssl-prefix=/usr/local/opt/openssl --disable-iri --disable-pcre
==> make install
🍺  /usr/local/Cellar/wget/HEAD-ef372a4: 48 files, 2.7M, built in 1 minute 59 seconds
iMac-TMP:Formula joe$ brew test -v wget
Testing wget
==> Using the sandbox
/usr/bin/sandbox-exec -f /tmp/homebrew20160716-90573-8amf4j.sb /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/test.rb /usr/local/Library/Taps/homebrew/homebrew-core/Formula/wget.rb -v --HEAD
==> /usr/local/Cellar/wget/HEAD/bin/wget -O - https://google.com
Failed to execute: /usr/local/Cellar/wget/HEAD/bin/wget
Error: wget: failed
Failed executing: /usr/local/Cellar/wget/HEAD/bin/wget -O - https://google.com
/usr/local/Library/Homebrew/formula.rb:1515:in `block in system'
/usr/local/Library/Homebrew/formula.rb:1452:in `open'
/usr/local/Library/Homebrew/formula.rb:1452:in `system'
/usr/local/Library/Taps/homebrew/homebrew-core/Formula/wget.rb:69:in `block in <class:Wget>'
/usr/local/Library/Homebrew/formula.rb:1356:in `block in run_test'
/usr/local/Library/Homebrew/extend/fileutils.rb:14:in `block in mktemp'
/usr/local/Library/Homebrew/extend/fileutils.rb:75:in `block in run'
/usr/local/Library/Homebrew/extend/fileutils.rb:75:in `chdir'
/usr/local/Library/Homebrew/extend/fileutils.rb:75:in `run'
/usr/local/Library/Homebrew/extend/fileutils.rb:13:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:1350:in `run_test'
/usr/local/Library/Homebrew/test.rb:28:in `block in <main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
/usr/local/Library/Homebrew/test.rb:27:in `<main>'
iMac-TMP:Formula joe$ which wget
/usr/local/bin/wget
iMac-TMP:Formula joe$ readlink `which wget`
../Cellar/wget/HEAD-ef372a4/bin/wget

CC @vladshablinsky @xu-cheng

Happens because we initialize HeadSodtwareSpec's version with Version.create("HEAD").

also affects brew audit's linkage test.

authors: ilovezfs vladshablinsky


text:
Zsh/completion cache for 'brew search' / formulae name

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Hi, in #5388 @MikeMcQuaid mentioned caching the names of formulae: here is an implementation.
Cache invalidation for names of formulae
As formulae may be updated anytime, I think it is appropriate to declare the cache file for formulae names as invalid as soon as new commits have been made to the Homebrew working dir. This is what the implementation below does, it simply compares epoch times of the cache file and the latest commit on HEAD in Homebrew working dir. In order to access the working dir, I use HOMEBREW_PREFIX and fallback onto /usr/local and use this as --git-dir option to git. Also, I chose to check for commits on HEAD, which normally corresponds to the branch 'stable' for most people (including me). What's your opinion on this?
I conducted the following tests:

with no existing cache file at ~/.zcompcache/brew_formulae: the cache gets created
with an invalid cache file (older than latest commit): the cache gets recreated.
with a valid cache file (newer than latest commit): the cache is simply used and should age indefinitely until new commits.

In the end, it looks like the same cache invalidation semantics can be used for brew_all_commands(). If you feel like so, just tell me, I'll merge both cache policies.
Note
I took the liberty in __brew_all_commands to simplify a bit the code that sets the cache-policy zstyle circa line 140. In practice the cache-policy zstyle must anyway always be set to  __brew_commands_cache_policy for the "semantics" to be correct, so I think there is no actual need for the little dance about the zstyle existence. I simply set its value to __brew_commands_cache_policy every time, it is more straightforward.
Are you ok with this? Should this go to a separate PR?
Thanks in advance for your review, cheers!

I think cache invalidation should go through multiple repos, as the implementation we have now checks this repo, while formula updates come from https://github.com/Homebrew/homebrew-core and could be from other taps.

Thanks @igas, I'll try to think about it. Ideas are welcome!

Hmm, I just had a couple of ideas. I really don't know what you think of them.

I can get the date of the latest modified formula ('*.rb' file) in all taps with a glob qualifier on a path (this is a list of file, and (om[1]) simply takes the latest modified):

local latest_file=$(echo ${HOMEBREW_PREFIX}/Homebrew/Library/Taps/**/*.rb(om[1]))
local latest_date=$(date -r ${latest_file} +%s)

but even on my home SSD this takes ~90ms, so I fear it can only get worse for people with many taps or slower systems like mine at work.

I can get the date of the latest modified git index file in each tap with a glob qualifier:

local latest_file=$(echo ${HOMEBREW_PREFIX}/Homebrew/Library/Taps/*/*/.git/index(om[1]))
local latest_date=$(date -r ${latest_file} +%s)

and this one is fast (8ms on my SSD at home, I'll check at work). To illustrate further, these are the git index files listed on my system:
l Homebrew/Library/Taps/*/*/.git/index
-rw-r--r-- 1 bosr admin    257 Jul 20 23:46 Homebrew/Library/Taps/bosr/homebrew-heapusage/.git/index
-rw-r--r-- 1 bosr admin    289 Nov  2 10:03 Homebrew/Library/Taps/go-swagger/homebrew-go-swagger/.git/index
-rw-r--r-- 1 bosr admin  20242 Dec 11 06:54 Homebrew/Library/Taps/homebrew/homebrew-cask-versions/.git/index
-rw-r--r-- 1 bosr admin 356931 Dec 11 06:54 Homebrew/Library/Taps/homebrew/homebrew-cask/.git/index
-rw-r--r-- 1 bosr admin 415804 Dec 11 06:54 Homebrew/Library/Taps/homebrew/homebrew-core/.git/index
-rw-r--r-- 1 bosr admin    401 Jul 21 00:10 Homebrew/Library/Taps/jmespath/homebrew-jmespath/.git/index
-rw-r--r-- 1 bosr admin    497 Jul 21 00:10 Homebrew/Library/Taps/kylef/homebrew-formulae/.git/index
-rw-r--r-- 1 bosr admin    457 Jul 20 23:43 Homebrew/Library/Taps/universal-ctags/homebrew-universal-ctags/.git/index

This is clearly a hack, but it could be satisfactory for a completion caching mechanism. An alternative is to invoke git on each repo, but I hardly imagine using 15ms per repo to get the latest HEAD.
Ideas are welcome! Have a great day.

and this one is fast (8ms on my SSD at home, I'll check at work). To illustrate further, these are the git index files listed on my system:

Something like this seems like a good idea 👍

Thanks Mike, I’ll update the PR with this later today for anyone to try it.
Is it ok to rely on HOMEBREW_PREFIX (and fallback on /usr/local)?
Romain

On 12 Dec 2018, at 10:06, Mike McQuaid notifications@github.com wrote:
and this one is fast (8ms on my SSD at home, I'll check at work). To illustrate further, these are the git index files listed on my system:
Something like this seems like a good idea 👍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@bosr HOMEBREW_REPOSITORY and /usr/local/Homebrew but: yes.

code is updated as discussed, I agree it looks better now. I tested it again as described initially. Thanks for the insights. Tell me if you want me to squash. Cheers.

Thanks. If you don't mind, I'd rather replace the 24h completion caching on brew_all_commands (#5388) to this git-index caching.

Ok, I fixed some comments. I'm good now. Have a great day!

Makes sense to me. Thanks again for another great contribution @bosr!

authors: MikeMcQuaid bosr igas


text:
Allow Accelerate linkage, deny veclibfort & lapack

Accelerate provides more than just BLAS and LAPACK functionality, see
https://developer.apple.com/documentation/accelerate

Veclibfort exists only to wrap Accelerate's BLAS/LAPACK

LAPACK is a slow, seldom updated reference implementation

Encourage usage of OpenBLAS

Reverts PR #6130

[X] Have you followed the guidelines in our Contributing document?

[X] Have you checked to ensure there aren't other open Pull Requests for the same change?

[X] Have you added an explanation of what your changes do and why you'd like us to include them?

[ ] Have you written new tests for your changes? Here's an example.

[X] Have you successfully run brew style with your changes locally?

[x] Have you successfully run brew tests with your changes locally?

LMK if we want/need a unit test.
CC: @jonchang
Also, I'm really tempted to add -DBLA_VENDOR=OpenBLAS to std_cmake_args. There are some cases where formulae may want to remove this though, like if they depend on scalapack or similar. If the formula never calls find_package(BLAS) or find_package(LAPACK) (or they provide their own versions of these intrinsic CMake find modules) then a developer warning will be triggered, but which should be silenced because, IIRC, we pass -Wno-dev.

Could also set BLAS_ROOT and LAPACK_ROOT in the environment to point to OpenBLAS.

I didn’t know that Accelerate did all of that, so agree with the PR in principle. Though, are there separate dylibs for BLAS vs other functionality? On mobile so can’t check. If so we could narrow it to only warn links against Accelerate’s BLAS while permitting other uses.
My concern with setting the default BLAS vendor in std_cmake_args is that formula authors wont know to edit that if they want to use a different BLAS implementation. Perhaps an audit if eg someone depends on veclibfort on a cmake build?

This PR triggers audit failures whenever depends_on “veclibfort” || depends_on “lapack” for all formula.
I agree with your concerns about -DBLA_VENDOR=..., probably a bad idea, but it would be nice to try to force uniformity. ¯\_(ツ)_/¯
I can see if it’s possible to detect if packages are using Accelerate specifically for BLAS/LAPACK

Does anyone know how to find out which dylibs within a framework are linked against?
@jonchang @MikeMcQuaid I can see within the Accelerate Framework there are BLAS and LAPACK specific dylibs, but I'm not sure how to figure out what a dylib (e.g. from veclibfort) links to within a Framework. Any ideas?

Does brew linkage provide this information? I recall seeing specific libBLAS links but can’t confirm right now.

No, if something links w/ accelerate it just shows the framework.

I don’t think we should change the general CMake behaviour. Otherwise 👍🏻

Thanks both!

authors: MikeMcQuaid jonchang zbeekman


text:
Set -no_weak_imports linker flag for Xcode 8

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run brew tests with your changes locally?

Implements the request in https://github.com/Homebrew/homebrew-core/issues/3727.
Currently untested as I wanted to get some review of the approach but then will check it out on a Sierra VM (or maybe just upgrade to Sierra).
CC @achivetta

Looks cromulent!

Built xz and confirmed that it was passing those LDFLAGS on my OS 10.12 VM with the 8.0.* CLT installed.

I think the check implemented is not sufficient, as the -no_weak_imports flag is only available from XCode 8 beta 4 onwards. This flag should not be added when using an earlier beta. Otherwise, there should be a warning from homebrew if using an earlier beta. Now, the build process fails with every single formula without any visible reason when using beta 3 for example.

Otherwise, there should be a warning from homebrew if using an earlier beta.

There is as-of 6442cb303222a57c6d461f88b59a7b1b5e8027e3

authors: MikeMcQuaid TAKeanice tdsmith


text:
link: link kegs without formulae.

Needed for brew diy.
Fixes #9036

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

But brew doctor still incorrectly lists diy as "deleted formulae"

I'm changing the message in https://github.com/Homebrew/brew/pull/9046


text:
apr: migrating to Homebrew/Homebrew

Migrating the apr formulae to Homebrew/Homebrew to allow us to deal with the needs-CLT issue. The CLT is a big package, and if people don't need everything in it, asking them to install it isn't necessarily the best user experience we could deliver.
See https://github.com/Homebrew/homebrew/pull/34987

Apologies for the delay- holidays. I'll test this on Monday if that's alright.

No worries, understand entirely :+1:

Reviewing your apr formula in the main Homebrew PR versus these homebrew-apache formulae. I'll report back soon.

Tested successfully: ab, httpd22, httpd24, mod_security. It'd be great to see Homebrew/homebrew/pull/34987 merged ASAP because some formulae here won't work until then.

Mike merged it about a half hour ago, so we should be golden now. Cheers for checking everything over on this side! :+1:

repo: Homebrew/homebrew-apache


text:
Some notes on ncurses.rb

The caveats for brew install ncurses gives the following build variables:
LDFLAGS:  -L/usr/local/opt/ncurses/lib
CPPFLAGS: -I/usr/local/opt/ncurses/include

These don't appear to work for ncurses wide support - which seems to be a compelling reason to install ncurses from homebrew - or at least the following worked more reliably for me this evening when installing lumail:
LDFLAGS: -L/usr/local/opt/ncurses/lib -lncursesw
CPPFLAGS: -I/usr/local/opt/ncurses/include/ncursesw

These I divined using:
pkg-config --libs /usr/local/opt/ncurses/lib/pkgconfig/ncursesw.pc and
pkg-config --cflags /usr/local/opt/ncurses/lib/pkgconfig/ncursesw.pc
So with that out of the way, and the compiler knowing where to look, it threw a lot of errors along the lines of:
/usr/local/Cellar/ncurses/5.9/include/ncursesw/cursesw.h:36:10: fatal error: 'ncursesw/etip.h' file not found
It seems that all the # includes in the various files in ../include/ncursesw are of the form #  include   <ncursesw/curses.h>. Changing those to #  include   <curses.h>, i.e. removing the leading ncursesw/ means that all is nice and dandy and things compile.
I'm not sure how much of this is a product of my own dogged determination this evening to compile a particular program, how much is upstream-related and how much is under the control of Homebrew! :smile:
I mention it here only in case it is of relevance to Homebrew, I will probably also get in touch with the lumail developer and see if things can be better addressed there.
It is possible that the Homebrew caveats might bear closer inspection.

Those caveats at the top there you're seeing there in particular are automatically generated for keg_only formulae - They aren't intended to be super-specific to a formulae.

The pkg-config issue you're noticing is unfortunately one we're already aware of - #396. :( There appears to be a bug in the pkg-config files in recent versions of ncurses, which causes it to not provide one of the two -I flags it needs.

@DomT4 Indeed. They are not, however, very useful as they currently stand; I might even go as far as to suggest one might be better off without them in their current form. I am suggesting that it might be an improvement if they were a little more specific to this particular formula, in this particular instance.
@mistydemeo Thanks for your efforts – as always! — we shall wait and see what comes of it upstream.

The caveats are designed to show what additional action you need to take as a consequence of the formula being keg-only. That you also need to specify -lncurses is not one of these consequences, so it doesn't belong in the caveats.
The caveats are a stab at something generic and applicable across any library.
I understand the confusion, but I don't think we want to be in the business of writing explicit compilation instructions on a per-formula basis.

authors: DomT4 jacknagel larryhynes mistydemeo

repo: Homebrew/homebrew-dupes


text:
Prepend System to domain targets

While running brew services cleanup today, I got this stack trace:
brew services cleanup
launch          stale => killing service...
Error: undefined local variable or method `domain_target' for Service::ServicesCli:Module
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:168:in `kill'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:55:in `block in kill_orphaned_services'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:51:in `each'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/services_cli.rb:51:in `kill_orphaned_services'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/commands/cleanup.rb:13:in `run'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:88:in `services'
/opt/homebrew/Library/Homebrew/brew.rb:110:in `<main>'

Looking around in the file, I noticed all the other domain_target calls were actually System.domain_target.

Thanks @gjtorikian. Long time no see, hope you're well! ❤

authors: MikeMcQuaid gjtorikian

repo: Homebrew/homebrew-services


text:
Fix CI tests after latest changes in Homebrew

Testing what is wrong and what will work.

setup-homebrew@master:
Run ls -lh /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/
total 8.0K
drwxrwxr-x+ 9 runner docker 4.0K Feb  7 11:11 homebrew-core
lrwxrwxrwx  1 runner docker   53 Feb  7 11:11 homebrew-services -> /home/runner/work/homebrew-services/homebrew-services
drwxrwxr-x+ 8 runner docker 4.0K Feb  7 11:12 homebrew-test-bot

Thanks @dawidd6!


text:
Constant Reorganization

Right now, virtually all constants in ruby-macho are exposed directly in the MachO namespace.
This isn't an issue per se, but leaves the module's namespace awfully cluttered and doesn't properly isolate concerns between different components (i.e. header constants, load command constants, section constants, etc).
I have some proposals for approaching this:

Put all constants in one big Constants module.

Pros: Extremely simple. Virtually no changes to program structure.
Cons: Ugly. No isolation of concerns. Basically hides the problem in a slightly deeper namespace.

Consolidate only categories of constants into separate modules. Under this, magic numbers would go under HeaderConstants, load command constants would go under LoadCommandConstants, and so forth. Each module could then be included in relevant locations to avoid the clutter of LoadCommandConstants::LOAD_COMMANDS, etc.

Pros: Simple, and doesn't interfere too much with overall program structure. Most things stay the way they are.
Cons: Duplicates layout in a separate tree. Under this, the LoadCommand class won't have any direct namespace relationship to LoadCommandConstants. This might be unappealing.

Consolidate both constants and classes into modules. Under this, both magic numbers and headers would go under Headers. This could then be taken a step further and be made into Headers, and Headers::Constants (and so on for load commands, sections, etc.).

Pros: Maintains a close relationship between related constants and classes. Maximally explicit in structure. Closest to "standard" practice.
Cons: Time intensive, verbose. Would make constant access for users more difficult (this might be a pro). Requires significant internal and public-facing changes (e.g. DylibCommand becomes LoadCommands::DylibCommand).

Leave everything the way it is.

Pros: Extremely simple and works.
Cons: Clutters up the primary namespace, making interactive use (tab-complete in particular) a nightmare. Makes the generated documentation messy. Scorns the standard practice of keeping constants in the primary namespace to a minimum.

I am personally leaning towards the third option. It's the most work-intensive of all four and will likely require significant changes to the tests, but gives us a much nicer future layout to work with.
I'm sure I've missed one (or several) good alternatives as well, so give me your thoughts on these and tell me anything you come up with!
cc @UniqMartin

Closing now that #65 is in progress.

repo: Homebrew/ruby-macho


text:
[ Ticket 재 활용 ]

API DOCS  LIST
User

[ ] POST /api/user  ( CreateUSER ( Cookie 발급 ) )

Subscribe

[ ] POST /api/subscribe ( Cookie 필요 )

QuizSet

[ ] GET /api/quiz-set ( query = page, limit )
[ ] GET /api/quiz-set/:quizSetId

Quiz

[ ] GET /api/quiz/:quizId  ( Cookie 필요 )

QuizOption

[ ] GET /api/quiz/:quizId/quiz-option/:quizOptionId  ( Cookie 필요 )

QuizResponse

[ ] POST /api/quiz-set/:quizSetId/quiz-response  ( Cookie 필요 )

Answer

[ ] GET /api/quiz-set/:quizSetId/answer ( Cookie 필요 )

repo: HoorayDev/dev-quiz


text:
Feature/chips improvements

Added in Chips:

Trailing and Leading icon
Trailing and Leading icon command
BorderColor

@AgustinBonilla
-Requested changes
-Command parameter for trailing and leading IconCommand


text:
Unexpected partial result

Describe the bug
I'm still in the upgrading process and got to a breaking change.
I have a cart page and a checkout page. Both pages load similar data about the cart:
# .../cart/+page.gql
query GetMyCartItems {
  activeCart {
    id

    items {
      id
      amount
      product {
        id
        name
        brand
        availableStock # different
        price
      }
    }
  }
}

# .../checkout/+layout.gql
query GetCartForCheckout {
  activeCart {
    id

    items {
      id
      amount
      product {
        id
        name
        brand
        price
        taxRate # different
      }
    }
  }
}

As you can see the documents only differ in avalableStock and taxRate. I would expect (as this was the case in the ancient version of 0.15) that on client side navigation the other query is executed because data is missing in the cache.
And indeed this is true for the cart->checkout navigation.
But going back after a F5 reload breaks (I destructure the items on the cart page) as I only get a partial result. I printed the store contents on both pages and the cart prints partial: true and items: [ null ]. source: "cache" after navigation regardless of direction.
Setting defaultPartial: false or adding @cache(partial: false) has no effect (as I expected because partal data should be opt-in, right?).
Could the problem be that one generates a layout load?
Severity
serious, but I can work around it
Steps to Reproduce the Bug
I will try to whip something up...
Reproduction
No response

Hm okay, so it sounds like the new stuff is ignoring the partial flag and including it anyway? I'll take a look 👍. Don't worry about the reproduction just yet. If I'm struggling to see it then we can worry about it

hm okay yea i took a quick look and the plugin should be respecting the partial value in your artifact. Can you check in $houdini/artifacts/GetMyCartItems.js that it's set to false?

Oh! I think I have a hunch what's causing this but rather than just shooting blind I'd like to wait til we have a reliable reproduction. I'll try to make one in the e2e tests

Oh! I think I have a hunch what's causing this but rather than just shooting blind I'd like to wait til we have a reliable reproduction. I'll try to make one in the e2e tests

Mind giving 1.0.0-next.12 a shot?

Works like a charm. I love it :heart:

authors: AlecAivazis fehnomenal

repo: HoudiniGraphql/houdini


text:
测试用例是不是写错了？

final class struct_initial_macroTests: XCTestCase {
func testMacro() {
assertMacroExpansion(
"""
@StructInit
struct Book {
var id: Int
var title: String
var subtitle: String
var description: String
var author: String
init(id: Int, title: String, subtitle: String, description: String, author: String) {
self.id = id
self.title = title
self.subtitle = subtitle
self.description = description
self.author = author
}
}
""",
expandedSource:
"""
        struct Book {
            var id: Int
            var title: String
            var subtitle: String
            var description: String
            var author: String
            init(id: Int, title: String, subtitle: String, description: String, author: String) {
                self.id = id
                self.title = title
                self.subtitle = subtitle
                self.description = description
                self.author = author
            }
        }
        """,
        macros: testMacros
    )
}

}

你指的是哪里的示例？Code里面的还是README里面的

authors: HuangRunHua little-dawenhing


text:
Allow setting openOn via html data attribute

I need to be able to do something like data-tooltip-openOn="hover focus" for some elements.
Is there a particular reason for not having support for this?
cheers

I actually think this would make more sense in the drop library. In addition to openOn, I don't see a real reason why we can't support most of the drop options as data attributes, so if you'd like to start a PR for that in the drop library, I'd be more than happy to look it over and help where I can :+1:

true @geekjuice just to make sure I have this right, you're talking about moving the checks on the Tooltip constructor here to the Drop constructor right?
I'll start with position and openOn and submit the PR there thanks!
Let me know if you'd like to remove the position data attr handling on this PR.

Awesome. :+1:

updated the commit to now drop the data attributes handling, not sure this is the right time but I'm assuming at some point this will be needed, maybe once there's a version bump in Drop.js, cheers

hi there @geekjuice you think this could still be merged?
Also you guys have any plans for a new tooltip release? Looks like the latest tagged version is locked on tether 1.0 and drop 1.1 which is causing some issues on our app. When using tooltip 1.1.0 we get a bunch of these TypeError: this.element.parentNode is null coming from Tether.
Sorry I can't give more details, having been able to isolate the issue yet. When I manually add dist/tooltip.js from master branch here the issues goes away (and bump tether and drop to latest versions)

authors: geekjuice huoxito

repo: HubSpot/tooltip


text:
启用插件后,无法正常使用Android Test,关闭插件正常运行

语言kotlin
com.android.tools.build:gradle:3.6.1
com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10
org.aspectj:aspectjrt:1.9.5
显示报错,No Tests were found
去除aspectjx相关配置,则正常运行

有什么好的解决方法吗

authors: harveyhaha richiewan


text:
Create ilastik and webilastik specific content types

cf. last comments in #295

[x] application/vnd.ilastik.project+hdf5
[x] application/vnd.ilastik.object-features+hdf5
[x] application/vnd.ilastik.object-features+csv
[x] image/vnd.ilastik+hdf5
[x] image/vnd.ilastik.pixelclassification+hdf5
[x] image/vnd.ilastik.pixelclassification+n5
[x] image/vnd.ilastik.pixelclassification+neuroglancer.precomputed
[x] image/vnd.ilastik.segmentation+dzi
[x] image/vnd.ilastik.segmentation+dzip
[x] image/vnd.ilastik.segmentation+n5
[x] image/vnd.ilastik.segmentation+neuroglancer.precomputed

@Tomaz-Vieira (and @k-dominik) please double check the content type instances that I created now based on our discussion. Please specifically check the descriptions, file extensions, synonyms, and display label and please provide me with input where things are missing or information should be corrected. Big thanks in advance :grin:


text:
Conflicting versions of stable-baselines and imitation

How do I resolve the following conflict? Please help.
I have tried both imitation@tf-master and tf-master-compatibility branch
Linux,
Python 3.7
Tensorflow 1.15
The conflict is caused by:
    evaluating-rewards 0.1.1 depends on stable-baselines 2.10.3a0.-WIP- (from git+https://github.com/hill-a/stable-baselines.git)
    imitation 0.1.1 depends on stable-baselines~=2.10.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Hello, I'm also seeing this error when installing this repo.
> python -V
Python 3.7.17
> pip list
Package    Version
---------- -------
pip        23.1.2
setuptools 47.1.0

OS: MacOS Ventura 13.4.1

I also am getting the same issue. I attempted to solve the problem by creating forks of both the evaluating_rewards repo and and stable_baselines repo, and changing the version string in stable-baselines/stable_baselines/version/txt, and setting the dependency in evaluating-rewards/requirements.txt to point to my forked version of stable-baselines. This seems to fix the initial issue that you pointed out. However, I need to downgrade my python version to 3.7 in order to install tensorflow 1.15, but homebrew does not support python 3.7. Not sure if there is a workaround beyond a manual installation of python 3.7

Update, the best workaround seems to be using a Docker container as mentioned by Dr. Gleave here:

authors: dashpritam kierad sibiraja

repo: HumanCompatibleAI/evaluating-rewards


text:
Python3.9 compatible

json.loads removed arg encoding since python 3.9, see 'https://docs.python.org/3.9/library/json.html#json.loads'

I think
is_below_py39 = False
if sys.version_info.major < 3 and sys.version_info.minor < 9:
    is_below_py39 = True

Should be moved inside json_loads. Maybe import sys too.
Also, maybe encoding be can dropped even for Python 3.7 and 3.8?

I think
is_below_py39 = False
if sys.version_info.major < 3 and sys.version_info.minor < 9:
    is_below_py39 = True

Should be moved inside json_loads. Maybe import sys too.
Also, maybe encoding can be dropped even for Python 3.7 and 3.8?

I think
is_below_py39 = False
if sys.version_info.major < 3 and sys.version_info.minor < 9:
    is_below_py39 = True

Should be moved inside json_loads. Maybe import sys too.
Also, maybe encoding can be dropped even for Python 3.7 and 3.8?

Excellent advice!  I am going to change it. Thanks!

I have the same problem. @pancak3, thanks for this fix! Сould you please merge this PR?

I have the same problem. @pancak3, thanks for this fix! Сould you please merge this PR?

Haha this is really an old PR! I would like to help, but only authorized users are allowed to merge. Maybe you can try rebase in your local environment.

authors: Qumeric kuznetsov-m pancak3


text:
增量编译报ASM7错误

Task :app:transformClassesWithTheRouterForSmpadDebug
TheRouter编译插件：cn.therouter:plugin:1.1.4-rc6
当前编译 JDK Version 为::11.0.19
本次是增量编译::true
CHECK_ROUTE_MAP::
CHECK_FLOW_UNKNOW_DEPEND::
---------TheRouter transform start-------------------------------------------
---------TheRouter ASM, spend：38ms----------------------
---------TheRouter get route map from: /assets/therouter/routeMap.json-------
---------TheRouter create new route map, spend:12ms--------------
---------TheRouter check flow task map, spend:3ms--------------
---------TheRouter transform finish, spend:55ms------------------------------------------
error processing CompanyProjects/app/build/intermediates/transforms/TheRouter/smpad/debug/409.jar
java.lang.UnsupportedOperationException: NestHost requires ASM7
at org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:165)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:553)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:394)
at com.android.builder.desugaring.DesugaringClassAnalyzer.analyze(DesugaringClassAnalyzer.java:153)
at com.android.builder.desugaring.DesugaringClassAnalyzer.analyzeJar(DesugaringClassAnalyzer.java:100)
at com.android.builder.desugaring.DesugaringClassAnalyzer.analyze(DesugaringClassAnalyzer.java:68)
at com.android.build.gradle.internal.tasks.DesugarIncrementalHelper.lambda$getInitalGraphData$4(DesugarIncrementalHelper.java:146)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1448)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

请使用1.1.4-rc8

repo: HuolalaTech/hll-wp-therouter-android


text:
DFS Adjust Highlight Edge Speed

Overview: Current dfs visualizer highlights edges at a hardcoded speed. Impacts user experience when visualizing speed increases because it looks like all edges are drawn at the same time.
Task:

Reduce max speed that users can adjust the visualizing speed to
Make the edge highlighting speed dependent on the visualizing speed.

We might have a general problem with highlighting as a whole. I made this graph and the highlighting wasn't even really happening.

repo: Husky-Coding-Project/algo-visualizer


text:
I can't create a folder inside a folder

Hi,
I am able to create folders using EmptyDirectory value but I can't create a folder inside a folder

Moin, thanks for reaching out. Do you define your templates in a .fttemplates folder or via the settings file? Could you please show me how you're trying to achieve to create nested folders?

I just tried to reproduce it and it works for me. So feel free to post your structure here and i'll take a look

Hey, I tried to use the .fttemplates folder now and ir all worked good! I couldn't accomplish that via settings though.
Really good jod, by the way! Thank you so much!

Hey, if I can give you a suggestion, I'd recommend you to add an icon to the extension. People usually go quicker to the extensions that have an icon. Such a powerful tool needs to be used by more people.
Thank you again!

Thanks for the suggestion.  The Latest update added an icon

authors: Huuums pdgustavo

repo: Huuums/vscode-folder-templates


text:
AWS collector is not collecting the data

I have configured the AWS collector but it is not collecting the data and throwing below error
2020-04-11 17:05:00,000 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Running Collector: AWSCloud
2020-04-11 17:05:00,022 [taskScheduler-1] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:18, serverValue:29695}] to 10.0.10.51:27017
2020-04-11 17:05:00,037 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Starting AWS collection...
2020-04-11 17:05:00,038 [taskScheduler-1] INFO c.c.d.collector.CollectorTask - Collecting AWS Cloud Data...
2020-04-11 17:05:00,706 [taskScheduler-1] INFO c.c.d.c.AWSCloudCollectorTask - Collecting instance details for 1 of 59. Instance ID=i-0f40f3dbf3
2020-04-11 17:05:00,729 [taskScheduler-1] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.NullPointerException: null
at com.capitalone.dashboard.collector.DefaultAWSCloudClient.isInstanceTagged(DefaultAWSCloudClient.java:426) ~[aws-cloud-collector.jar!/:3.1.0-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultAWSCloudClient.getCloudInstanceDetails(DefaultAWSCloudClient.java:178) ~[aws-cloud-collector.jar!/:3.1.0-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultAWSCloudClient.getCloudInstances(DefaultAWSCloudClient.java:144) ~[aws-cloud-collector.jar!/:3.1.0-SNAPSHOT]
at com.capitalone.dashboard.collector.AWSCloudCollectorTask.collectInstances(AWSCloudCollectorTask.java:137) ~[aws-cloud-collector.jar!/:3.1.0-SNAPSHOT]
at com.capitalone.dashboard.collector.AWSCloudCollectorTask.collect(AWSCloudCollectorTask.java:122) ~[aws-cloud-collector.jar!/:3.1.0-SNAPSHOT]
at com.capitalone.dashboard.collector.AWSCloudCollectorTask.collect(AWSCloudCollectorTask.java:51) ~[aws-cloud-collector.jar!/:3.1.0-SNAPSHOT]
at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) ~[core-3.0.4.jar!/:3.1.0-SNAPSHOT]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_231]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_231]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_231]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_231]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_231]
application.properties file
`# Database Name
dbname=dashboarddb
Database HostName - default is localhost
dbhost=10.0.10.51
Database Port - default is 27017
dbport=27017
MongoDB replicaset
dbreplicaset=true
dbhostport=10.0.10.51:27017,dev-percona-mongodb2:27017,dev-percona-mongodb3:27017
Database Username
dbusername=dashboarduser
Database Password
dbpassword=abcxyz123
Collector schedule (required)
aws.cron=0 0/5 * * * *
aws region (e.g. eu-west-1)
aws.region=ap-southeast-1
aws_access_key_id=xxxxxxxxxxxxxxxxxxxxxxxxx
aws_secret_access_key=xxxxxxxxxxxxxxxxxxxxxxxxxxx`

looks like no one has replied on this yet.

aws.validTagKey[0]=ABC
aws.validTagKey[1]=XYZ
Please add above 2 lines in your application.properties
And it should resolve the issue.
It does not matter weather any of your AWS EC2 instance is tagged with these tags or not.
After adding above 2 lines, restart collector and UI.

Any idea what should be filled in the UI? There's an account number field upon hitting the configure widget button.

Got it, account number is the account identifier (Account Id) under Account Settings in Billing/Home -
https://console.aws.amazon.com/billing/home?#/account

repo: Hygieia/hygieia-cloud-aws-collector


text:
How many bots can you run on Premium?

Couldn't add you on discord to ask before purchasing. Thanks.

You can control two bots from a single account but you can have many such pairs.
But with the Advanced Extension, you can control as many bots as you want from a single account,

Couldn't add you on discord to ask before purchasing. Thanks.

Tell me your discord ID and I'll add you then.


text:
Re-register DB listeners when the connection is severed.

When DB is temporarily down the listeners in DB are lost and not re-registered as soon the DB gets back up.

Hopefully fixed in 81d989f2978b7055e18ca44864e9f082a6f18507

repo: Hyperfoil/Horreum


text:
Need example DATUM structure for a struct with 3 fields

spending matching_pubKeyHash
struct Datum {
owner: PubKeyHash
nonce: Int
}
struct Redeemer {
owner: PubKeyHash
nonce: Int
}
func main(datum : Datum, redeemer: Redeemer) -> Bool {
now: Int = 42;
datum.owner == redeemer.owner && now < datum.nonce && now > redeemer.nonce
}
      Need datum struct for validator to serialize properly???

const datum = Data.to(
new Constr(0, [new Constr(0, [paymentCredential?.hash!]), new Constr(1, [23n])])
);
This is how i am constructing my datum

The Helios API supports generating Datums using only Helios (I'm still working on the documentation):
Your modified source (note MY_DATUM at the bottom):
spending matching_pubKeyHash

struct Datum {
  owner: PubKeyHash
  nonce: Int
}

struct Redeemer {
  owner: PubKeyHash
  nonce: Int
}

func main(datum : Datum, redeemer: Redeemer) -> Bool {
  now: Int = 42;
  datum.owner == redeemer.owner && now < datum.nonce && now > redeemer.nonce
}

const MY_DATUM = Datum{
    owner: PubKeyHash::new(#...),
    nonce: ...
}

And then in javascript you can call:
let program = new helios.Program(src);
let datum_data_schema = program.evalParam("MY_DATUM").data.toSchemaJson()

i am using lucid along with Helios. Need an example wrt lucid construct.. If you can help me ???

i am using lucid along with Helios. Need an example wrt lucid construct.. If you can help me ???

Moreover, i tried with method which you suggested. Datum is fine but unable to get redeemer form.
Redeemer (Spend, 0): The provided Plutus code called 'error'

I'm sorry, I have no experience with Lucid.
I suggest you inspect the datum_data_schema generated using Helios, and then try to build the same using Data/Constr/etc. in Lucid.

Moreover, i tried with method which you suggested. Datum is fine but unable to get redeemer form. Redeemer (Spend, 0): The provided Plutus code called 'error'

That is likely due to the way you programmed the condition in main (even though it looks like it returns false, the actually throws an error when validation fails).
You can try with the following Datum and Redeemer instead:
const MY_DATUM = Datum {
    owner: PubKeyHash::new(#...),
    nonce: 43
}

const MY_REDEEMER = Redeemer {
    owner: PubKeyHash::new(#...),
    nonce: 41
}

Yep. Plutus code seems ok for me. Thanks anyways

authors: christianschmitz gs-rpal rahpal

repo: Hyperion-BT/Helios


text:
Permission view for wagtail user groups are broken

Wagtail admin -> Groups -> Permission view

Would be great to have this fixed this week, do not want to make a new release with this bug.

repo: HyphaApp/hypha


text:
Add deliverables

Fixes https://github.com/HyphaApp/hypha/issues/2383

Codecov Report

Merging #2556 (682a2ba) into main (38f040d) will decrease coverage by 0.07%.
The diff coverage is 72.85%.

@@            Coverage Diff             @@
##             main    #2556      +/-   ##
==========================================
- Coverage   81.18%   81.10%   -0.08%
==========================================
  Files         637      640       +3
  Lines       23208    23318     +110
==========================================
+ Hits        18841    18913      +72
- Misses       4367     4405      +38

Impacted Files
Coverage Δ

hypha/apply/projects/models/__init__.py
100.00% <ø> (ø)

hypha/apply/projects/urls.py
100.00% <ø> (ø)

hypha/apply/api/v1/projects/views.py
40.00% <40.00%> (ø)

hypha/apply/api/v1/projects/serializers.py
70.00% <70.00%> (ø)

hypha/apply/api/v1/mixin.py
83.33% <71.42%> (-16.67%)
:arrow_down:

hypha/apply/projects/models/payment.py
90.58% <86.66%> (-0.50%)
:arrow_down:

hypha/apply/projects/models/project.py
94.16% <88.88%> (-0.23%)
:arrow_down:

hypha/apply/api/v1/urls.py
100.00% <100.00%> (ø)

...apply/projects/migrations/0039_add_deliverables.py
100.00% <100.00%> (ø)

hypha/apply/projects/tests/test_views.py
100.00% <100.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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

@frjo, have fixed the reviewed changes, thanks!


text:
Scheduled tasks and heavy data usage

Hi,
I've been running pd_zurg for a few months with no issues. I recently moved to a new apartment where I have a monthly data cap, and tonight around 3/4am (which is when runs its maintenance) I recorded a peak in data usage in pd_zurg's container, using over 400 GB in a couple of hours. I double checked on Real Debrid, and sure enough it shows the same amount of data used, so I guess for some reason one of those maintenance tasks triggers the full download of plenty of media from RD. I don't quite understand what causes this though. This is my config file:
version: "3.8"

services:
  pd_zurg:
    container_name: pd_zurg
    image: iampuid0/pd_zurg:latest
    restart: always
    stdin_open: true # docker run -i
    tty: true        # docker run -t
    volumes:
      ## Location of configuration files. If a Zurg config.yml and/or Zurg app is placed here, it will be used to override the default configuration and/or app used at startup
      - /home/nosync/media/pd_zurg/config:/config:rw
      ## Location for logs
      - /home/nosync/media/pd_zurg/log:/log:rw
      ## Location for rclone cache if enabled
      - /data/cache/rclone:/cache
      ## Location for Zurg RealDebrid active configuration
      - /home/nosync/media/pd_zurg/RD:/zurg/RD:rw
      ## Location for Zurg AllDebrid active configuration -- when supported by Zurg
      - /home/nosync/media/pd_zurg/AD:/zurg/AD:rw
      ## Location for rclone mount to host
      - /home/nosync/media/pd_zurg/mnt:/data:rshared
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Zurich
      ## Zurg Required Settings
      - ZURG_ENABLED=true
      - RD_API_KEY=XXX
      ## Zurg Optional Settings
      # - ZURG_VERSION=
      - ZURG_UPDATE=false
      - PLEX_REFRESH=true
      - PLEX_MOUNT_DIR=/pd_zurg
      ## Rclone Required Settings
      - RCLONE_MOUNT_NAME=pd_zurg
      ## Rclone Optional Settings - See rclone docs for full list
      - RCLONE_CACHE_DIR=/cache
      - RCLONE_DIR_CACHE_TIME=10s
      - RCLONE_VFS_CACHE_MODE=full
      - RCLONE_VFS_CACHE_MAX_SIZE=32G
     # - RCLONE_VFS_CACHE_MAX_AGE=4h
     # - RCLONE_ATTR_TIMEOUT=8700h
     # - RCLONE_BUFFER_SIZE=32M
     # - RCLONE_VFS_READ_CHUNK_SIZE=32M
     # - RCLONE_VFS_READ_CHUNK_SIZE_LIMIT=1G
     # - RCLONE_TRANSFERS=8
      ## Plex Debrid Required Settings
      - PD_ENABLED=true
      - PLEX_USER=XXX
      - PLEX_TOKEN=XXX
      - PLEX_ADDRESS=http://192.168.50.100:32400
      ## Plex Debrid Optional Settings
      - PD_UPDATE=false
     # - AUTO_UPDATE_INTERVAL=12
     # - SHOW_MENU=false
      ## Special Features
      - DUPLICATE_CLEANUP=false
      - CLEANUP_INTERVAL=24
     # - PDZURG_LOG_LEVEL=DEBUG
     # - PDZURG_LOG_COUNT=2
      - SEERR_API_KEY=XXX
      - SEERR_ADDRESS=http://192.168.50.100:5055
    devices:
      - /dev/fuse:/dev/fuse:rwm
    cap_add:
      - SYS_ADMIN
    security_opt:
      - apparmor:unconfined
      - no-new-privileges
    healthcheck:
      start_period: 1m
      interval: 10s
      retries: 3

  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    restart: always
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Zurich
      - VERSION=docker
      - PLEX_CLAIM=XXX
#      - DOCKER_MODS=ghcr.io/tailscale-dev/docker-mod:main
#      - TS_NO_LOGS_NO_SUPPORT=true
#      - TAILSCALE_STATE_DIR=/var/lib/tailscale
#      - TAILSCALE_SERVE_MODE=https
#      - TAILSCALE_SERVE_PORT=32400
#      - TAILSCALE_USE_SSH=0
#      - TAILSCALE_HOSTNAME=plex
#      - TAILSCALE_FUNNEL=on
#      - TAILSCALE_AUTHKEY=XXX
    devices:
      - /dev/dri:/dev/dri
      - /dev/fuse:/dev/fuse:rwm
    cap_add:
      - SYS_ADMIN
    volumes:
      - /home/nosync/media/plex/library:/config
      - /home/nosync/media/plex/subtitles:/subtitles
      - /home/nosync/media/plex/tvseries:/tv
      - /home/nosync/media/plex/movies:/movies
      - /etc/letsencrypt/archive:/ssl
      - /home/nosync/media/plex/tailscale:/var/lib/tailscale
      - /home/nosync/media/pd_zurg/mnt/pd_zurg:/pd_zurg:shared
    ports:
      - 32400:32400
      - 1900:1900/udp
      - 8324:8324
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
      - 32469:32469
    depends_on:
      pd_zurg:
       condition: service_healthy

Could this be related to RCLONE_VFS_CACHE_MODE or PLEX_REFRESH? Or a specific Plex setting?
For now I moved the stack to its own network bridge and whipped up a script which uses iptables to check the amount of traffic generated by the containers every 15 min and drops down the bridge interface if the threshold is exceeded, but it's obviously less than optimal.
Thanks.

Hey @NoSync. There is a bandwidth issue described on the plex_debrid repo: https://github.com/itsToggle/plex_debrid/issues/623
Following a comment I looked at Plex settings:
https://github.com/itsToggle/plex_debrid/wiki/Setup-Guides#2-setup-plex-2
I can see my bandwidth spiking during the scheduled tasks window:

I have disabled Perform extensive media analysis during maintenance so hopefully that will solve the download issue.

Hi @mattradford, yep, I also figured out disabling all scheduled tasks was the way to go. It's a bit odd that the peak would occur every time the tasks run and not only the first time (I would imagine the results for the same hash to be cached), but in the meantime this solves it.
Thanks.

Closing as the issue is on plex_debrid side.

authors: NoSync mattradford


text:
Update dirty flag on modifying section values

Today when we make any changes to any section in Gppmodel object, its not getting reflected while we encoding back.
And root cause for this issue is, dirty flag is not getting updated properly on setFieldValue method.
@chuff could you please review this.
Issue can be reproduced with below steps
GppModel gppModel = new GppModel("DBABBg~BVoIgACY.QA");
// Ideally, this should cause validation failure
// Reference: https://github.com/IABTechLab/iabgpp-java/blob/fcd606121f5795080620099a9dc51dac0482f46f/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/segment/UsCaV1CoreSegment.java#L110-L115
gppModel.setFieldValue(UsCaV1.NAME, UsCaV1Field.SHARING_OPT_OUT_NOTICE, 0);
gppModel.setFieldValue(UsCaV1.NAME, UsCaV1Field.SHARING_OPT_OUT, 1);
String encodedString = gppModel.encode();

thanks for the approval. @iabmayank could you please help merging this fix

Hi, is there an actual plan to merge this fix?
IMO it is really an issue that should be fixed quickly
I was about to do the same fix but found this pull request from naveenjr7

repo: IABTechLab/iabgpp-java


text:
Clean up gitignore

Removes a bunch of lines from the gitignore file that aren't needed, while hopefully not breaking anything.

Implemented myself manually, Thank you for pointing this out.

authors: Hamunii IAmBatby

repo: IAmBatby/LethalLevelLoader


text:
Docker friendly roles & triggers

plus some minor fixes & roles worker with @svetterIO

duplicates #176

repo: IBM-Security/isam-ansible-roles


text:
Add support for other secret management tools

Currently we support HashiCorp Vault, IBM Secrets Manager and AWS Secrets Manager as backends. We should look into any other secret management tools that we can add support for. GCP Secrets Manager and Azure Key Vault are two candidates

Adds GCP Secret Manager https://github.com/IBM/argocd-vault-plugin/pull/183

GCP SM available in https://github.com/IBM/argocd-vault-plugin/releases/tag/v1.3.0

We can close this now. As we also have Azure in an open PR

repo: IBM/argocd-vault-plugin


text:
chore(ISSUE_TEMPLATE): run prettier to pass ci-check

Closes IBM/carbon-components-react#1262
This PR prettier formats the GitHub issue template markdown files so that future commits aren't bounced by Travis

I thought I was going crazy haha. Thanks!

Thanks for doing this @emyarod! I ended up just adding them on top of #1261 so we can use that commit if you want.

authors: emyarod joshblack vpicone

repo: IBM/carbon-components-react


text:
Uninstall hangs while deleting IAF PVCs; incomplete deletion of resources

Description
When running the uninstall script, it will hang indefinitely trying to delete data-iaf-system-elasticsearch-es-aiops-0.
The hanging issue is due to IAF PVC deletion occurring before deletion of IAF operators.
Additionally, it does not handle the deletion two resources under the ibm-common-services namespace:
nss-odlm-scope
odlm-scope-managedby-odlm
(Can be seen by running oc get namespacescopes.operator.ibm.com -n ibm-common-services)
Notes:
Found through automated testing pipeline; some tests may have been creating user resources on the PVC causing the operator pod to hold on to it, which is a scenario that may not have been previously tested.
Resolution
Fixes are made in this pull request. IAF PVC deletion is moved after IAF operators and the two resources are added to deletion list.

Closin