text:
fix(String): hasPrefix and hasSuffix

about hasPrefix
String.hasPrefix is not return boolean, and always return value like true:
> String.hasPrefix "abc" "a"
"bc"
> String.hasPrefix "abc" "b"
nomatch
> String.startsWith "abc" "a" || false
true
> String.startsWith "abc" "b" || false
true

The reason is that string:prefix/2 is return nomatch or string.
So, I fixed to check that return value is not nomatch.
about hasSuffix
String.hasSuffix is always return false, and occur error if suffix length more than string length:
> String.hasSuffix "abc" "c"
false
> String.hasSuffix "abc" "a"
false
> String.hasSuffix "c" "abc"
Error: error, Reason: function_clause
Stacktrace:[{string,slice,["c",-1],[{file,"string.erl"},{line,184}]},
            {'Data.String',hasSuffix,2,[]},
            {'$REPL',it,0,[]},
            {replsrv__escript__1596__45006__838946__3,reploop,1,
                [{file,"/usr/lib/hamler/bin/replsrv"},{line,31}]},
            {escript,run,2,[{file,"escript.erl"},{line,758}]},
            {escript,start,1,[{file,"escript.erl"},{line,277}]},
            {init,start_em,1,[]},
            {init,do_boot,3,[]}]

The reason for always false is start position Pos to compare suffix is wrong.
The reason for error occurs is it doesn't check that the Pos is positive.
So, I fixed Pos and add checking positive.

@matsubara0507 Thanks:)

repo: hamler-lang/hamler


text:
Hephaestus (Tinkers' Construct's fabric port) axes don't trigger the chop

Don't know if it's actually a problem on Heph's side but the axes in the mod break log blocks in the vanilla way.

Last time I looked at it there wasn't much I could do, but I see there's been updates so maybe there's hope. I'll look into it

source: gharchive/issue

authors: ChromaPIE hammertater

repo: hammertater/treechop

license: MIT

license_type: permissive

license_source: github-api


text:
Unable to reproduce the results on ModelNet40

Hello,
I'm trying to reproduce the reported results on ModelNet40.
I have written a data loader for ModelNet40 and I'm training it with all the implementation details in the paper (Appendix G).
The maximum accuracy I'm getting is 92.8 which is way less than the reported numbers.
Can you upload the code for ModelNet40?

I would also like to run this code on the modelnet40 dataset to facilitate applying this model to my own dataset. @hancyran

Sorry for the late reply.
We have uploaded the implementation on segmentation tasks. And if you are interested in the repsurf model on modelnet, we will plan to upload it recently.
Thank you for your interest in our work!

Any updates for the ModelNet implementation?

Yes, I am waiting for this update.发自PORSCHE DESIGN HUAWEI Mate 40-------- 原始邮件 --------发件人： Seyedalireza Khoshsirat @.>日期： 2022年10月18日周二 03:38收件人： hancyran/RepSurf @.>抄送： Jieric @.>, Manual @.>主    题： Re: [hancyran/RepSurf] Unable to reproduce the results on ModelNet40 (Issue #4)
Any updates for the ModelNet implementation?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hello,
We have also reproduced the ModelNet40 now. But the data are all NaN after UmbrellaSurfaceConstructor. specifically,  after mlp in UmbrellaSurfaceConstructor. Would you mind sharing your data loader for ModelNet40? It will be very helpful.
@khoshsirat-udel

@Margaretya, I have done a few modifications to my copy of the code, and I did not run this recently, but I hope it works. Make sure you using the modelnet40_normal_resampled
import os
import numpy as np
from torch.utils.data import Dataset

class ModelNet40DataLoader(Dataset):
    def __init__(self, root, split):
        assert (split == 'train' or split == 'test')
        cat = [line.rstrip() for line in open(os.path.join(root, 'modelnet40_shape_names.txt'))]
        classes = dict(zip(cat, range(len(cat))))

        self.data = []
        with open(os.path.join(root, f'modelnet40_{split}.txt')) as file:
            for i, line in enumerate(file):
                shape_id = line.rstrip()
                class_name = '_'.join(shape_id.split('_')[0:-1])
                class_id = classes[class_name]
                file_path = os.path.join(root, class_name, shape_id) + '.txt'
                self.data.append([file_path, class_id])

    def __len__(self):
        return len(self.data)

    def __getitem__(self, index):
        file_path, class_id = self.data[index]
        points = np.loadtxt(file_path, delimiter=',')
        return points.astype(np.float32).T, class_id

@khoshsirat-udel Thank you so much!

can someone confirm the score of "94.7" reported on modelnet? also were the modelnet scores reported with or without voting?

Hello,
We have also reproduced the ModelNet40 now. But the data are all NaN after UmbrellaSurfaceConstructor. specifically, after mlp in UmbrellaSurfaceConstructor. Would you mind sharing your data loader for ModelNet40? It will be very helpful. @khoshsirat-udel

I also noticed this phenomenon. This is because the drop-out augmentation of ModelNet40 leads to the repetition of the point. So when the network query and group the KNN points,  some groups have many totally same points. After calculating the relative position,  the torch.cross operation return a zero vector, which makes normalized vector become a NaN.

Thanks for your excellent work!
As I said above, the default setting of drop-out augmentation leads to the NaN result. When I remove the drop-out augmentation, training is back to normal. However, This caused me to be unable to reproduce the results of modelnet40.
Could authors provide the correct augmentation codes of ModelNet40? Or is there any better solution? thanks a lot.

Hello,
We have also reproduced the ModelNet40 now. But the data are all NaN after UmbrellaSurfaceConstructor. specifically, after mlp in UmbrellaSurfaceConstructor. Would you mind sharing your data loader for ModelNet40? It will be very helpful. @khoshsirat-udel

I also noticed this phenomenon. This is because the drop-out augmentation of ModelNet40 leads to the repetition of the point. So when the network query and group the KNN points, some groups have many totally same points. After calculating the relative position, the torch.cross operation return a zero vector, which makes normalized vector become a NaN.

Yes, we found it, too. Basically it cannot process any set contains same coordinates points. Remove dropout in dataloader help. Thank you for your information.

Hello,
We have also reproduced the ModelNet40 now. But the data are all NaN after UmbrellaSurfaceConstructor. specifically, after mlp in UmbrellaSurfaceConstructor. Would you mind sharing your data loader for ModelNet40? It will be very helpful. @khoshsirat-udel

I also noticed this phenomenon. This is because the drop-out augmentation of ModelNet40 leads to the repetition of the point. So when the network query and group the KNN points, some groups have many totally same points. After calculating the relative position, the torch.cross operation return a zero vector, which makes normalized vector become a NaN.

Yes, we found it, too. Basically it cannot process any set contains same coordinates points. Remove dropout in dataloader help. Thank you for your information.

Thanks for your information. But when I remove dropout augmentation, I cannot reproduce the results in ModelNet40, may be because of the overfitting. How did you solve this problem? Looking forward to your reply.

Unfortunately, we cannot reproduce the results, either. We guess there are some tricks setting in dataloader. And we are looking forward the author’s official codes.

Hello,
We have also reproduced the ModelNet40 now. But the data are all NaN after UmbrellaSurfaceConstructor. specifically, after mlp in UmbrellaSurfaceConstructor. Would you mind sharing your data loader for ModelNet40? It will be very helpful. @khoshsirat-udel

Hi, I came across this issue recently and my answer is: in my ModelNet40 data loader, I down-sample the point cloud data to 1024. Therefore, we should not down-sample again in the training code part. Hope this will help.

Can someone provide the specific shape of the input tensor to use with the ModelNet40 dataset? Thanks!
RuntimeError: Given groups=1, weight of size [10, 10, 1, 1], expected input[16, 9, 8, 1024] to have 10 channels, but got 9 channels instead

Hello,
We have also reproduced the ModelNet40 now. But the data are all NaN after UmbrellaSurfaceConstructor. specifically, after mlp in UmbrellaSurfaceConstructor. Would you mind sharing your data loader for ModelNet40? It will be very helpful. @khoshsirat-udel

I also noticed this phenomenon. This is because the drop-out augmentation of ModelNet40 leads to the repetition of the point. So when the network query and group the KNN points, some groups have many totally same points. After calculating the relative position, the torch.cross operation return a zero vector, which makes normalized vector become a NaN.

Yes, we found it, too. Basically it cannot process any set contains same coordinates points. Remove dropout in dataloader help. Thank you for your information.

Thanks for your information. But when I remove dropout augmentation, I cannot reproduce the results in ModelNet40, may be because of the overfitting. How did you solve this problem? Looking forward to your reply.

Unfortunately, we cannot reproduce the results, either. We guess there are some tricks setting in dataloader. And we are looking forward the author’s official codes.

Can you provide the specific shape of the input tensor to use with the ModelNet40 dataset? Thanks!
RuntimeError: Given groups=1, weight of size [10, 10, 1, 1], expected input[16, 9, 8, 1024] to have 10 channels, but got 9 channels instead

authors: JoeWang-0519 Margaretya dhliubj hancyran jamekuma kabouzeid khoshsirat-udel said-ohamouddou

repo: hancyran/RepSurf


text:
Tag functionality

Hello, thank you for your hard work on this! My question has to do with how to use multiple tags in the netlify cms side of using hylia for blog post creation w/ 11ty.
The image below on line 33-37 shows that you intended for it to be able to be used with multiple tags:

However this is what happens when I try to do that in the cms (all are put into one tag):

I have tried varying versions of tags separated by , and - but either way it just merges into one big tag.
The only way around this I found was to go into the code here and use this format:

Which creates the two separate tags as seen here:

But I believe that defeats the whole purpose of using Hylia with the netlify cms. Is this something that I am doing wrong or is it something that is current limitation?

In investigating this I found this in the 11ty docs:

Which led me to trying comma's again between tags. It's now working, I must have had extra spaces at the end before. Sorry for the issue, I am going to close it but am leaving the information for anyone else who may run into the same thing or not know how.

repo: hankchizljaw/hylia


text:
hanlp 可以添加英文单词组合的作为新词放到词典里吗？

注意事项
请确认下列注意事项：

我已仔细阅读下列文档，都没有找到答案：

首页文档
wiki
常见问题

我已经通过Google和issue区检索功能搜索了我的问题，也没有找到答案。
我明白开源社区是出于兴趣爱好聚集起来的自由社区，不承担任何责任或义务。我会礼貌发言，向每一个帮助我的人表示感谢。
[x] 我在此括号内输入x打钩，代表上述事项确认完毕。

版本号

当前最新版本号是：1.6.8
我使用的版本是：1.6.8

我的问题

在CustomDictionary.txt中添加如下英文单词组合的新词，英文都是空格隔开的了我把分割符换成\t也不行
air motor n 1
报错：严重: 自定义词典D:/An/HanLP/data/dictionary/custom/CustomDictionary.txt读取错误！java.lang.NumberFormatException: For input string: "n"
触发代码
    public void testIssue1234() throws Exception
    {
        CustomDictionary.add("用户词语");
        System.out.println(StandardTokenizer.segment("air motor is very good"));
    }

.txt 词典文件的分隔符为空格或制表符，所以不支持含有空格的词语。如果需要支持空格，请使用英文逗号,分割的纯文本 .csv 文件。在使用 Excel 等富文本编辑器时，则请注意保存为纯文本形式。

纯.csv可以作为词典文件？这样就支持带有空格的词语？

@whaozl Just Try It

哇，it is surprise! thank you very much.

authors: AnyListen whaozl

repo: hankcs/HanLP

license_source: bigquery


text:
Dev

add module.3

add to dev

source: gharchive/pull-request


text:
Not working in IOS

I am using this plugin with Nativescript-Vue latest. It work fine on Android, but not working for IOS. I cannot connect to socket server, do not have any log.
Even the sample application doesn't work for IOS

try this:

if your endpoint isn't https add

        <dict>
            <key>NSAllowsArbitraryLoads</key>
            <true/>
        </dict>
```  into `info.plist`

2. Or try setTimeout

```javascript
const Echo = new TnsEcho(options);
setTimeout(() => {
    Echo.private('channel');
});

Thanks for your help. It worked with setTimeout for my case.
But why must setTimeout and need setTime for seconds for specific contexts, does it depend on network speed?

Rather it is a theme of the operating system, the optimal way to invoke Echo would be:
<Page @loaded="onLoaded">//Or the component that is GridLayout, etc
</Page>
created() {}, // Not
mounted(){}, // With timeout
methods: {
    onLoaded() {
        const Echo = new TnsEcho(options);
        Echo.private('channel');
    }
}
``` try

I known, thankyou verry much

authors: happones hoatructhanhlam

repo: happones/nativescript-laravel-echo


text:
Rendering custom tab

Hi, thank you for creating and maintaining this lib! I PR small feature for rendering custom tabs. If you have any feedback let me know & feel free to merge it if you find it useful. Example:
<TabNavigator.Item
  selected={this.state.selectedTab === 'home'}
  renderTab={() => (
    <HomeTab
      selected={this.state.selectedTab === 'home'}
      onPress={() => this.setState({ selectedTab: 'home' })}
      />
  )}>
  <HomeScene />
</TabNavigator.Item>

Is still something you're using as a pattern @bgryszko ?

Will close since this issue is more than a year, feel free to a open a new if this is still a issue.

authors: bgryszko ptomasroos

repo: happypancake/react-native-tab-navigator


text:
Update README and use OpenSSH defaults for UseDNS

As discussed in #80. I also added the missing documentation for #76 in this PR, sorry for not making it more granular.
Hope this PR is ok and we see a v1.0.4 online soon. :)

Nice, thank you @aried3r !
Also: Travis is back, thanks @chris-rock ;)

amazing work @aried3r Thank you very much.

authors: aried3r arlimus chris-rock

repo: hardening-io/chef-ssh-hardening


text:
Rezultati poganjanja

Tukaj je koda, ki sem jo poganjal, skupaj z rezultati, zaenkrat za grafe do 9 vozlišč in drevesa do 19 vozlišč. Za grafe na 10 vozliščih in drevesa na 20 vozliščih koda še teče in so datoteke zaenkrat prevelike, tako da jih bo treba obdelati, preden se lahko naložijo na repozitorij.
Opazil sem, da za grafe z dimenzijami 1, 2, 3, n-2, n-1, n gresta vsakič skozi vse grafe na n vozliščih in gledata samo tiste z ustrezno dimenzijo, tako da sem to združil v eno funkcijo, ki gre enkrat skozi vse grafe z danim številom vozlišč in obravnava vse tiste primere, ki vaju zanimajo - te potem zapiše v datoteko CSV. Enako naredi tudi funkcija za drevesa.
Dodal sem tudi delovni zvezek, v katerem je funkcija za branje nastalih datotek CSV in enostavna funkcija za analizo prebranega. Seveda lahko kodo dopolnita tako, da bo ustrezala temu, kar želita narediti.
Tale pull request lahko kar sprejmeta, da pridobita trenutne rezultate, pa bom naknadno dodal še ostale rezultate, ko bodo na voljo.

Še dosedanji izpis mej za drevesa:
Drevesa na 3 vozliščih

Za 3 vozlišč je minimalna dimenzija: 1
Za 3 vozlišč je maksimalna dimenzija: 1

Drevesa na 4 vozliščih

Za 4 vozlišč je minimalna dimenzija: 2
Za 4 vozlišč je maksimalna dimenzija: 2

Drevesa na 5 vozliščih

Za 5 vozlišč je minimalna dimenzija: 2
Za 5 vozlišč je maksimalna dimenzija: 3

Drevesa na 6 vozliščih

Za 6 vozlišč je minimalna dimenzija: 2
Za 6 vozlišč je maksimalna dimenzija: 4

Drevesa na 7 vozliščih

Za 7 vozlišč je minimalna dimenzija: 3
Za 7 vozlišč je maksimalna dimenzija: 5

Drevesa na 8 vozliščih

Za 8 vozlišč je minimalna dimenzija: 3
Za 8 vozlišč je maksimalna dimenzija: 6

Drevesa na 9 vozliščih

Za 9 vozlišč je minimalna dimenzija: 3
Za 9 vozlišč je maksimalna dimenzija: 7

Drevesa na 10 vozliščih

Za 10 vozlišč je minimalna dimenzija: 4
Za 10 vozlišč je maksimalna dimenzija: 8

Drevesa na 11 vozliščih

Za 11 vozlišč je minimalna dimenzija: 4
Za 11 vozlišč je maksimalna dimenzija: 9

Drevesa na 12 vozliščih

Za 12 vozlišč je minimalna dimenzija: 4
Za 12 vozlišč je maksimalna dimenzija: 10

Drevesa na 13 vozliščih

Za 13 vozlišč je minimalna dimenzija: 5
Za 13 vozlišč je maksimalna dimenzija: 11

Drevesa na 14 vozliščih

Za 14 vozlišč je minimalna dimenzija: 5
Za 14 vozlišč je maksimalna dimenzija: 12

Drevesa na 15 vozliščih
Za 15 vozlišč je minimalna dimenzija: 5
Za 15 vozlišč je maksimalna dimenzija: 13

Drevesa na 16 vozliščih

Za 16 vozlišč je minimalna dimenzija: 6
Za 16 vozlišč je maksimalna dimenzija: 14

Drevesa na 17 vozliščih

Za 17 vozlišč je minimalna dimenzija: 6
Za 17 vozlišč je maksimalna dimenzija: 15

Drevesa na 18 vozliščih

Za 18 vozlišč je minimalna dimenzija: 6
Za 18 vozlišč je maksimalna dimenzija: 16

Drevesa na 19 vozliščih

Za 19 vozlišč je minimalna dimenzija: 7
Za 19 vozlišč je maksimalna dimenzija: 17


text:
Cannot Login With Super User

Description
After creating a user for the first time, I cannot login. It keeps saying credentials are invalid, even though I know for a fact they are not.
Platform

[X ] Docker Image
Version 1.3.5

I have tried deleting the username and password hash in userConfig.json, setting auth to false and recreating the user many times.
I can never login after creating the user. It always says invalid login credentials.
I have tried different usernames, passwords with 1 character etc, but nothing seems to work.
Edit: The password and username hashes also are correct in the config file. for example, password 123456 is correctly hashed as
8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92

can't reproduce, sorry.
Was it working before you updated the docker image? Have you tried to clear cookies/cache/etc ?

There are no console errors whatsoever. This is installed on TrueNAS Scale.
I just installed it on alpine linux with my backup and cant reproduce the error either. Its very strange. I have even deleted and recreated the container on TrueNAS and the issue persists. I guess I will just use a more traditional docker install.

repo: hargata/lubelog


text:
如何通过rtmp库搭建一个自己的流服务？

我看了您的rtmp库后，有2个例子，但是都尝试过后貌似都连不上，想问一下有没有比较详细的示例？有点不太会使用，抱歉
尝试0.0.0.0:1935，启动服务后，obs连接rtmp://本机ip:1935一直提示无法连接至服务器，是只能通过http么还是说？等待回复，谢谢

obs的地址:rtmp://本机ip:1935/app_name/stream_name，这个是可以用的

obs的地址:rtmp://本机ip:1935/app_name/stream_name，这个是可以用的

试了下就是类似这个，但是他会提示无法连接服务器

有日志之类的截图吗

https://www.rustxiu.com/zh-cn/docs/scenarios/rtmp#obs推流  OBS推流参考下这个

有日志之类的截图吗

没打印内容我记得，不过已经没事了，我改成用webrtc了现在，谢谢

https://www.rustxiu.com/zh-cn/docs/scenarios/rtmp#obs推流 OBS推流参考下这个

这个方式可以使用，但是我想在自己的rust服务中开一个接口可以使用obs连接传流，不过已经没事了，我改成webrtc实现功能了，谢谢

repo: harlanc/xiu


text:
CCM-Asset-governance-RBAC

Access control for Asset Governance - New markdown file added.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

authors: bot-gitexp-user charanya-j

repo: harness/developer-hub


text:
Edit CHAOS 3118 to add another fault

Add AWS task scale fault to the list

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65695f8da883aa4b7d5914d3--harness-developer.netlify.app

authors: SmritiSatya bot-gitexp-user


text:
[PL-46419] SMP 0.13.0 release notes

PL-46419 SMP 0.13.0 release notes
Filter RN list: https://harness.atlassian.net/wiki/spaces/PD/pages/21612625927/Release+Notes+tickets+for+0.13.0+release
For reviewers, a preview is available:
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65aac680f8a5111be41753af--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ae491bbfe9a7272925c241--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ae4ccf70a82723e164a0f2--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ae8124d6324610c97c2d7a--harness-developer.netlify.app

@saifeemustafaqharness We'll need to add a CG version based on some of the missing RNs. We can discuss this during our sync tomorrow.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b0e76ca6e8f46fa3338fdc--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b275351555b4895432ad1b--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b3e53ed861a9369fdcf753--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b3fed7fdec1d452acf01f3--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b88d153824269ff08870d0--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b88d721fff7a9d8a3da650--harness-developer.netlify.app

What is the version for delegate and other microservices?

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b895427b34bca1a39bc296--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b89576be077fa2b1945c1a--harness-developer.netlify.app

@saifeemustafaqharness You may want to update the preview based on the new commits. The current preview has placeholder version numbers and doesn't include all updates.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b938cf1ce3281a1cf87300--harness-developer.netlify.app

authors: bot-gitexp-user brian-f-harness pratmit


text:
[drone] add repo list support to drone import

Add --repository-list flag to drone import.
See #58 where support was added to drone export and drone migrate.

Added in #69

repo: harness/harness-migrate


text:
Issue utilizing v.0.1.15 provider

Terraform Version
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform v1.0.9
on darwin_amd64

Affected Resource(s)
Please list the resources as a list, for example:
terraform provider v0.1.15 for MAC and Linux
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
terraform {
  required_providers {
    harness = {
      source  = "harness-io/harness"
      version = "0.1.15"
    }
  }
  required_version = ">=1.0.0"
}

When running terraform init, the following error appears:
Error: Incompatible provider version
│
│ Provider registry.terraform.io/harness-io/harness v0.1.15 does not have a package available for your current platform, darwin_amd64.
│
│ Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different
│ platforms supported.

Expected Behavior
Terraform should initialize properly
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

terraform init

Important Factoids
Same error appears when running on Linux, in Terraform Cloud

There's currently an issue with the Terraform Registry we're working with Hashicorp to get fixed. For now you'll need to download the package directly from the github release

@micahlmartin We do face similar issue when Jenkins calls the registry API to get provider metadata which ends up with HTTP 404 error. The endpoint [https://registry.terraform.io/v1/providers/harness-io/harness/0.1.15/download/linux/amd64] is throwing "{"errors":["signing key A1A83E0CC7A69F1D not found for harness-io"]}" error. Works fine for all rest of the versions expect 0.1.15.
Believe this is also caused due to the same Terraform registry issue which we are talking about.

This has now been fixed. You should be able to use the provider with harness/harness instead of harness-io/harness

authors: asheynkmantyler micahlmartin sumodb

repo: harness/terraform-provider-harness


text:
Fix user group schema

Describe your changes
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck

trigger build


text:
iOS issue in latest version: FlutterMobileVisionPlugin.h not found

When I integrate the lib into my iOS flutter application, after pub get, on build xCode warn me that
#import "FlutterMobileVisionPlugin.h" is not found inside FlutterMobileVision_2Plugin.m.
Please, change the import to #import "FlutterMobileVision_2Plugin.h".

I just spent hours trying to figure out what was wrong, thank you for this

When I integrate the lib into my iOS flutter application, after pub get, on build xCode warn me that #import "FlutterMobileVisionPlugin.h" is not found inside FlutterMobileVision_2Plugin.m.
Please, change the import to #import "FlutterMobileVision_2Plugin.h".

Thanks

authors: Daniel-Egorov ecslas1 rohitrvayuz


text:
Math filters always return whole integers

So if you do:
{{ 1 | plus: 1.5 }}
You will get 2
I would recommend the (int) type castings for values returned by the Math Filters be changed to (float) to avoid this.
I'm pretty sure it's not the behaviour of the original Liquid implementation.

This is also occurring for {% assign %}, which is really frustrating if you are doing any cumulative totals with Liquid.
Does anyone have a suggestion for a fix here? The LiquidTagAssign class has me a bit confused as to where the problem lies.

Resolved by #30

repo: harrydeluxe/php-liquid

license: mit


text:
Looks like this one is no longer working with the latest ReadTheDocs hosting service

Hi @harshil21 Looks like the readthedocs-sphinx-search package got some updates. I don't know what is actually changed on their side.
I am not a javascript guy, but I guess it might be the rtd recently changed some of their API endpoint.

hey.
Readthedocs recently launched their own integrated search functionality for all sites in a server side update, which is basically based on readthedocs-sphinx-search.
I need to check if this extension can still be used to theme that.

@harshil21 Take your time man. I really love your plugin.

@harshil21 I read all your js code, but I didn't see what's the core change you made to support search as you type in furo theme, may I know how does it works actually?

I read all your js code, but I didn't see what's the core change you made to support search as you type in furo theme, may I know how does it works actually?

The changes to the actual colors are done in the css file. I only realize now that I didn't explicitly document which values I changed...
Anyway I looked further into this. https://github.com/readthedocs/readthedocs-sphinx-search/issues/144 mentions that it is being deprecated and archived. This basically means that this fork is also dead since the changes for the search as you type addon is now all done server side (https://docs.readthedocs.io/en/stable/server-side-search/index.html). The regular dark mode version of that looks quite good and they have improved the design quite a bit.
As for making it "furo" themed, this is technically going to be handled by furo themselves - see https://github.com/pradyunsg/furo/issues/795. I don't think it's worth for me to keep maintaining this extension anymore. I will be archiving this repository soon.

Got it, thanks for providing the context. This definitely a mission impossible, thank you.


text:
Keyboard scrolling issue - Can't scroll to the last element

Hi @harshzalavadiya, when you try to scroll(e.g scrolling down) with the keyboard arrow on the opened input element, it only navigating to the second last-child, it will not reach the last dropdown element. The issue is present on the official demo, too.

@milojevic1991 Thanks for the bug report
Fixed it in v3.0.6

Hi, @harshzalavadiya Thanks for the fast feedback! One issue though, when the search bar is disabled, or a complete search is disabled too, scroll with the keyboard won't work.
Keyboard scroll only works when the search is on, and without the focus. It's essential small functionality for all the enterprise apps.

Okay, I'm reopening this as of now so I can keep track of this

@milojevic1991 released v4.0.0


text:
Syntax error

Greetings,
I've installed Bagel and tried to run the example; however, I have received the following error message:
python run_bagel_crisprcleanr.py -i HAP1-TKOv3-EXAMPLE.txt -s HAP1-TKOv3-EXAMPLE-SCREENINFO.txt -o HAP1-TKOv3-bagel
  File "run_bagel_crisprcleanr.py", line 218
    print(f"\n{filenames_rep.loc[rep,'ccr_fc']} doesn't exist. Skipped!\n")
                                                                         ^
SyntaxError: invalid syntax

I have checked and the Python I am running is 2.7, so this case does not seem to be the same as the Issue #1 .
Thank you!
Regards,
ANna

Hi Anna,
BAGEL2 was tested in python 3 and the syntax is not supported in python 2.
Since the python 2 version has been depreciated in 2019, so we decided to not support the legacy version.
We apologize for it.
Best,
Eiru Kim.

Hi Anna,
BAGEL2 was tested in python 3 and the syntax is not supported in python 2.
Since the python 2 version has been depreciated in 2019, so we decided to not support the legacy version.
We apologize for it.
Best,
Eiru Kim.

Hi Eiru,
Thank you! I have switched to Python 3 and now everything seems to be running without any error messages.
Regards,
Anna

Hi Eiru,
Thank you! I have switched to Python 3 and now everything seems to be running without any error messages.
Regards,
Anna

authors: ADvorkinGheva rooeikim

repo: hart-lab/bagel


text:
스터디 관련 컨트롤러 및 목업 API 작성

❗ 이슈 번호
Closes #43

스터디 관련 응답 코드 작성
임시 서비스 클래스 추가
CRUD 컨트롤러 작성
목업 API 작성

🙇🏻♂ 리뷰어에게 부탁합니다!
아직 검색과 좋아요, 찜, 댓글 기능에 대한 컨트롤러는 작성하지 않았습니다.
피그마 화면, erd, api 명세서를 보시고 각 기능과 컨트롤러, DTO가 일치하는지 확인해주시면 감사하겠습니다!!
💡 참고 자료

피그마(https://www.figma.com/file/FPIahJATLiZudwTdJnnGBO/하루스픽-(Team)?node-id=0%3A1)
erd (https://www.erdcloud.com/d/MKSD3XnMafMQHPxk9)
API 노션 (https://www.notion.so/API-c6195e5c6b2c44cfa9952f394182b8ff)

빠른 피드백 감사드립니다!!
말씀하신 부분들을 assignment 관련 PR 에서도 점검하여 다시 커밋하겠습니다!

연 고생 많으셨습니다!

repo: haru-speak/server


text:
optimization with optim package

Hi ,great job.
It seems that the optimization part is done manually , i wonder whether can we combine optim package (or some other automatic way)with it or not, if yes, how to do that, i am a new comer to torch, thank you in advance.

This is going to be a little annoying to do because the optim function expects as one of its inputs, a function that calculates the loss and returns the derivative (as a single, one-dim tensor). However, we have three tensors of derivatives (encoder, decoder, and linear+softmax--what i call the generator).
Hope this helps!

@yoonkim   Thank you for your reply.
another issue: what is the meaning of function of setReuse, why set the gradInput equal to the the  output, in my opinion, they are not the same thing:
    function nn.Module:setReuse()
        if self.reuse then
         self.gradInput = self.output
      end
   end

That's just a hack to share memory between gradinput/output for certain layers.
This reduces memory footprint somewhat.

authors: chenwangliangguo yoonkim


text:
[Question] List of OS images to deploy in harvester?

Hello, is there a "curated" list of OS images that work wonderfully in harvester?
I was trying to create a cluster in harvester through rancher and I was wondering what good OS images that work very well with harvester.
I tried a ubuntu minimal cloud image and the vnc screen was throwing a boot error

+1, while youtube videos and some how-tos articles usually uses ubuntu minimal 20.04, it would be helpful to have more documentation and a list of officially supported images along with some basics cloud-init config examples.  Also, as Elemental development seems to be coming to an official release soon, I would suspect that using Elemental as a base image should be pretty straightforward?

repo: harvester/harvester


text:
feat: support snapshot max count and size with LH

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Problem:
Snapshots use extra storage. Users need a way to control snapshot space.
Solution:
Leverage LH snapshot space management feature to achieve it.
Related Issue:
https://github.com/harvester/harvester/issues/4478
Test plan:
Case 1: default-snapshot-max-count setting webhook

Change the value to a non-integer string. The webhook returns error.
Change the value to be less than 2. The webhook returns error.
Change the value to be more than 250. The webhook returns error.
Change the value to 100. It should pass.

Case 2: PVC controller

Follow Case 1.
Create a 2Gi volume. The spec.snapshotMaxCount in related LH volume will be 250 at first and change to 100 eventually, because the default-snapshot-max-count setting. The spec.snapshotMaxSize is 0.
Create a 2Gi volume with harvesterhci.io/snapshtoMaxCount:150 and harvesterhci.io/snapshotMaxSize: 5Gi. The spec.snapshotMaxCount in related LH volume will be 250 at first and change to 150 eventually. The spec.snapshotMaxSize in related LH volume will be 0 at first and change to 5368709120 eventually.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    harvesterhci.io/snapshotMaxCount: "150"
    harvesterhci.io/snapshotMaxSize: "5Gi"
  name: longhorn-volv-pvc
  namespace: harvester-system
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: harvester-longhorn
  resources:
    requests:
      storage: 2Gi

Cleanup all volumes.

Case 3: Snapshot Max Count

Create a VM with volume 1 (5 snapshot max count) and volume 2 (2 snapshot max count). We can add harvesterhci.io/snapshotMaxCount annotation to related PVCs after the VM is ready.

Take 2 VMBackup without error.

Take the third VMBackup and webhook returns error, because volume 2 reaches snapshot max count.

Update annotation to harvesterhci.io/snapshotMaxCount: 3 in volume 2.

Take the third VMBackup without error.

The the fourth VMBackup and webhook returns error, because volume 2 reaches snapshot max count.

Remove two VMBackup.

Take a new VMBackup without error.

Case 4: Snapshot Max Size

Create a VM with volume 1 (10Gi, 50Gi snapshot max size) and volume 2 (2Gi, 4.5Gi snapshot max size). We can add harvesterhci.io/snapshotMaxSize annotation to related PVCs after the VM is ready.
Mount volume 2.

sudo lsblk
sudo mkfs.ext4 /dev/vdb
sudo mkdir /mnt/vdb
sudo mount /dev/vdb /mnt/vdb

Write data to volume 2.

sudo dd if=/dev/random of=/mnt/vdb/file1 bs=10M count=200

Take first VMBackup without error.
Write data to volume 2.

sudo rm /mnt/vdb/file1
sudo dd if=/dev/random of=/mnt/vdb/file1 bs=10M count=200

Take second snapshot without error.
Write data to volume 2.

sudo rm /mnt/vdb/file1
sudo dd if=/dev/random of=/mnt/vdb/file1 bs=10M count=200

Take the third VMBackup and webhook returns error, because volume 2 reaches snapshot max size.

Update annotation to harvesterhci.io/snapshotMaxSize: 6.5Gi in volume 2.

Take the third VMBackup without error.

Write data to volume 2.

sudo rm /mnt/vdb/file1
sudo dd if=/dev/random of=/mnt/vdb/file1 bs=10M count=200

The the fourth VMBackup and webhook returns error, because volume 2 reaches snapshot max size.
Remove one VMBackup.
Take a new VMBackup without error.

Just a note. Using the annotations of a PVC to manage the spec of the corresponding longhorn volume is good for GitOps.

Close the PR because we have a new design. Please check https://github.com/harvester/harvester/pull/4497.


text:
[TEST] Validate Harvester csi-driver chart 0.1.18 on Rancher v2.9.1 and v2.8.7

What's the test to develop? Please describe
Validate the Harvester csi-driver chart 0.1.18 can function well on Rancher v2.9.1 and v2.8.7
Test Environment

Ranche: v2.8.7-rc4  and v2.9.1-rc1
Harvester: v1.3.1

Test Scope
RKE1:

[x] Deploy csi-driver 0.1.18,
[x] Check the functionality
[x] Uninstall csi-driver 0.1.18
[x] Deploy csi-driver 0.1.17, create PVC and upgrade to 0.1.18, create another PVC

RKE2:

[x]  Manually deploy csi-driver (ref to document steps )
[x]  Check the functionality

RKE1 test result of csi-driver 0.1.18
Verified failed on Rancher v2.8.7-rc4 with Harvester v1.3.1.
Result
$\color{red}{\textsf{Failed}}$ Failed to deploy Harvester csi-driver 103.0.2+up0.1.18 on RKE1 v1.28.12 cluster $~~$

The installation would stuck in Pending Install

And we notice the rancher-webhook application also have installation failure

Test Information

Test Environment: Single nodes harvester on local and remote kvm machine
Harvester version: v1.3.1
Rancher version: v2.8.7-rc4
RKE1 version: v1.28.12

Verify Steps
Harvester installation path

Use ipxe-example with docker command to provision Harvester and Rancher
Create the RKE1 node template
Provision the RKE1 guest cluster, set Harvester as the cloud provider
After RKE1 cluster up and running
Open the chart in Apps
Install Harvester csi-driver 0.1.18 from the list

RKE2 test result of csi-driver 0.1.18
Verifying on Rancher v2.8.7-rc4 and Rancher v2.9.1-rc1 with Harvester v1.3.1.
Rancher v2.8.7-rc4 Result
$\color{blue}{\textsf{Onging}}$ Can deploy Harvester csi-driver 103.0.2+up0.1.18 on RKE1 v1.28.12 cluster $~~$

The csi-driver can be well deployed and running

$\color{blue}{\textsf{Ongoing}}$ Check the csi-driver basic functionalities $~~$

Rancher v2.9.1-rc1 Result
$\color{blue}{\textsf{Ongoing}}$ Can deploy Harvester csi-driver 103.0.2+up0.1.18 on RKE1 v1.30.3 cluster $~~$

The csi-driver can be well deployed and running

$\color{blue}{\textsf{Ongoing}}$ Check the csi-driver basic functionalities $~~$

Test Information

Test Environment: Single nodes harvester on local and remote kvm machine
Harvester version: v1.3.1
Rancher version: v2.8.7-rc4
RKE1 version: v1.28.12 (V2.8.x), v1.30.3 (v2.9.x)

Verify Steps
Deploy csi-driver 0.1.18 on RKE1 cluster on Rancher v2.8.7-rc4

Use ipxe-example with docker command to provision Harvester and Rancher
Create the RKE1 node template
Provision the RKE1 guest cluster, set Harvester as the cloud provider
After RKE1 cluster up and running
Open the chart in Apps
Install Harvester cloud provider 0.2.4 from the list
Then install Harvester csi-driver 0.1.18 from the list

Deploy csi-driver 0.1.18 on RKE1 cluster on Rancher v2.9.1-rc1

Use ipxe-example with docker command to provision Harvester and Rancher

Create the RKE1 node template

Provision the RKE1 guest cluster, set Harvester as the cloud provider

After RKE1 cluster up and running

Open the chart in Apps

Install Harvester cloud provider 0.2.4 from the list

Add a repository in the Apps

Select Git repository

Provide the Git Repo URL and Git branch

Save and check the new repository is working

Open Apps and install csi-driver from the new repo

Then install Harvester csi-driver 0.1.18 from the new repo

Close this test issue since already complete all the task items.

repo: harvester/tests


text:
Subscribing to candles Drains my internet!

Hello
I see subscribing to candle intervals drains data at a hell of a rate. I would like to know if there is a way to cancel the the subscription and what is the max and min number of intervals you can subscribe to?
Stock.subscribe_to_candle_interval_sync(60)
I subscribe to 60 because in my program anything above 60 results in a null return. I tried re subscribing with 0 to see if it stops the sync but I'm uncertain if it really did anything at all
Any help would be greatly appreciated :)

There is no unsubscribe method implemented, I forgot to implement because I don't use IQOption anymore, but you can easily add unsubscribe if you can find the exact unsubscribe messages and use IQOption.send_unsubscribe_message_sync to send it.
To find the Unsubscribe message you can open the iqoption website and monitor their socket connection while removing the option from your dashboard.

Thanks. I added the following code to your file 'option.py'
_async def unsubscribe(self):
await self._parent.send_unsubscribe_message({"name":"quote-generated","params":{"routingFilters":{"active_id":self._id}}})
await self._parent.send_unsubscribe_message({"name":"expiration-top-computed","version":"1.0","params":{"routingFilters":{"instrument_type":self._type,"asset_id":str(self._id)}}})
return True
async def unsubscribe_to_candle_interval(self, interval):
if await self.is_valid_interval(interval):
await self._parent.send_unsubscribe_message({"name":"candle-generated","params":{"routingFilters":{"size":self._id,"size":interval}}})
def unsubscribe_sync(self):
return asyncio.run_coroutine_threadsafe(self.unsubscribe(),self._parent._async_loop).result()
def unsubscribe_to_candle_interval_sync(self, interval):
return asyncio.run_coroutine_threadsafe(self.unsubscribe_to_candle_interval(interval),self._parent._async_loop).result()
_

authors: MightyMaxSaviorOfTheUniverse harwee

repo: harwee/IQOption-Api


text:
[Bug] leaflet map render problem in side bar

in SideBar LocationMap ,
a tile don't load on first render :

  <Box flexBasis={300} flexShrink={0} p={1}>
      <LocationMap data={[{latitude: 32.0853, longitude: 34.7818}]} center={{lat: 32.0853, lng: 34.7818}}/>
      </Box>

1 - can fix it with change in css of container   (copied form AnyWayCard)
  const cardStyles: object = {
    padding: '10px',
    margin: '10px',
    width: '300px',
    height: '350px',
    display: 'flex',
    justifyContent: 'space-evenly',
    flexDirection: 'column'
  }
...

    <Box style={cardStyles}>
      <LocationMap data={[{latitude: 32.0853, longitude: 34.7818}]} center={{lat: 32.0853, lng: 34.7818}}/>
      </Box>

2- need to adjust the css.
3- in case of resize - maybe need to use
mapRef.current.leafletElement.invalidateSize(false);

@danielsh28 please see if you can reconstruct, if not - close it

the bug not  reproduced, apparently after  switching to google maps tile layer

authors: citizen-dror danielsh28 yuvalbl

repo: hasadna/anyway-newsflash-infographics


text:
Test correct parameter reading

Write a test to make sure that all URL parameters are properly read and acknowledged. A failure will result in bugs like #267.

Will become relevant once #423 is fixed

authors: danielhers omerxx

repo: hasadna/anyway


text:
firejail: Update profiles and use disable-common.local

This brings our installed firejail profiles up-to-date with upstream's, and uses local customization files (PR in progress) rather than editing directly disable-common.inc.

Now that some of my PRs were merged upstream, this needs updating.
(In particular, I upstreamed our mutt/msmtp changes, and I'm trying to upstream the $PATH stuff)

@hashbang/contributers Nobody for a review?  :(

@RyanSquared Fixed.

repo: hashbang/shell-etc


text:
Multi configuration of persistance according to the environment

Problem description:
This issue is intended to incorporates and provide the solution at the considerations exchanged about issue #1696.
Content of data stored during Guardian operative sessions must be discriminated according to the environment to be consistent with the data persisted in Hedera Network. Every operative data and messages exchanged between services that are  persisted during different sessions, namely between two different start and stop of the Guardian system, must be discriminated.
Definition of done:
Persisted data must be easily discriminated in terms of environment  and remain consistent with target Hedera network.
Acceptance criteria:
Restart of the system with two different configuration of .env parameters should not lead to confusion or data breaches.

Current  environment definition:

We are going to implement an environment set defined at root project level that will constitute the base environment for a hierarchical environment defined at each service level. Every of the environment will have his own Environment Ecosystem Name which will be used discriminate which environment is going to spread the session.

repo: hashgraph/guardian


text:
test - 1600 estimate gas with precompiles more tests added

Added more tests for estimate gas with precompiles
Added tests for ERC contract functions
added tests for Redirect functions
added tests for read functions

Note: More tests related to create token functions should be added

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (cf011f6) 77.83% compared to head (a6ae5b0) 77.83%.
Report is 20 commits behind head on main.

:exclamation: Current head a6ae5b0 differs from pull request most recent head ee15b2e. Consider uploading reports for the commit ee15b2e to get more accurate results

Files
Patch %
Lines

packages/relay/src/lib/eth.ts
50.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2026   +/-   ##
=======================================
  Coverage   77.83%   77.83%
=======================================
  Files          40       40
  Lines        3086     3086
  Branches      625      626    +1
=======================================
  Hits         2402     2402
  Misses        479      479
  Partials      205      205

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter nickeynikolovv

repo: hashgraph/hedera-json-rpc-relay


text:
Add HTS Precompile tests for token check methods

Signed-off-by: nikolay n.atanasow94@gmail.com
Description:

Related issue(s):
Fixes #411
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report

Merging #468 (48092b0) into main (224cb65) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #468   +/-   ##
=======================================
  Coverage   76.46%   76.46%
=======================================
  Files          12       12
  Lines         922      922
  Branches      143      143
=======================================
  Hits          705      705
  Misses        165      165
  Partials       52       52

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter natanasow


text:
[help] FileCreateTransaction is asking to setFile before it exists?

I'm attempting to create a file on release v.0.8.0-beta-0 and getting the following error.
(node:2981) UnhandledPromiseRejectionWarning: Error: FileCreateTransaction failed validation:
FileCreateTransaction must have a file set
    at Object.runValidation (/Users/cooperkunz/Desktop/Hedera-JS-Examples/js-sdk/node_modules/@hashgraph/sdk/lib/util.js:100:15)
    at FileCreateTransaction.validate (/Users/cooperkunz/Desktop/Hedera-JS-Examples/js-sdk/node_modules/@hashgraph/sdk/lib/TransactionBuilder.js:45:16)
    at FileCreateTransaction.build (/Users/cooperkunz/Desktop/Hedera-JS-Examples/js-sdk/node_modules/@hashgraph/sdk/lib/TransactionBuilder.js:79:14)
    at main (/Users/cooperkunz/Desktop/Hedera-JS-Examples/js-sdk/file-create.js:25:6)
    at Object.<anonymous> (/Users/cooperkunz/Desktop/Hedera-JS-Examples/js-sdk/file-create.js:30:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

When running a FileCreateTransaction, why would it expect to have a FileID already set?
Details
There are no examples for using the file service within the repository, but I expected the FileCreateTransaction Test would have been a good indicator for desired behavior. I have now attempted to run this test, and it doesn't appear to be working itself.
The code I would like to work is as follows.
require("dotenv").config();

const { Client, FileCreateTransaction } = require("@hashgraph/sdk");

async function main() {
  const operatorPrivateKey = process.env.OPERATOR_KEY;
  const operatorAccount = process.env.OPERATOR_ID;

  if (operatorPrivateKey == null || operatorAccount == null) {
    throw new Error(
      "environment variables OPERATOR_KEY and OPERATOR_ID must be present"
    );
  }

  const client = new Client({
    network: { "0.testnet.hedera.com:50211": "0.0.3" },
    operator: {
      account: operatorAccount,
      privateKey: operatorPrivateKey
    }
  });

  const transaction = new FileCreateTransaction()
    .setContents("testing file create transaction")
    .build(client);

  console.log(await transaction.execute(client));
}

main();

I would hope to run the above with defaults for fees, operator, no admin key, etc. and then the return value of the transaction execution (record/receipt/etc, whatever it is) would give me the File ID. Similarly to the Java SDK example.

The error message is misleading, it's actually erroring because there's no keys set, but that's allowed by the network so the entire validation error should just be removed.

Fixed on master, release pending

Thanks for the quick help! 🎊

authors: Cooper-Kunz abonander mehcode

repo: hashgraph/hedera-sdk-js


text:
Add Repo Maintainers to CODEOWNERS file

Update CODEOWNERS to provide maintainers ownership of all files in their repos
Description:
Update this repositories .github/CODEOWNER file to ensure that the repository maintainer
group(s) have full control of the files in this repository.

No CODEOWNERS file

Add @hashgraph/transaction-tool as the primary codeowner everywhere except the root level CODEOWNERS file

authors: PavelSBorisov andrewb1269hg rbarkerSL

repo: hashgraph/hedera-transaction-tool


text:
Open source checklist

[x] Readme (include a code of conduct and contributing guide section)

[x] DCO

[x] Licence file

[x] Licence headers

[ ] SonarQube

[x] Github actions

[x] Code Coverage

[x] Branch protection rules

[ ] Add project to Hedera docs site when live (if required)

[ ] Standardize package name (com.hedera.) (if applicable)

[x] Add security.md file if the project is not going to be part of the bug bounty program

[ ] Approval from council (if required)

[ ] Code audit before open sourcing (If required)

[ ] Open source project

Repo open sourced, closing this issue

repo: hashgraph/hedera-wallet-connect


text:
ci: update README for hashgraph sdk log

Description
This pull request changes the following:

update README for hashgraph sdk log

Related Issues

Closes #331

:tada: This PR is included in version 0.28.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: JeffreyDallas swirlds-automation

repo: hashgraph/solo


text:
Metadata Documentation.

Thank you for submitting a contribution to Tempus.
In order to streamline the review of the contribution please
ensure the following steps have been taken:
For all changes:

[ ] Is there a Waffle ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with Tempus-XXXX where XXXX is the waffle number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically dev)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn clean install at the root Tempus folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] Have you added documentation for any UI or API related changes to the /docs folder

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: NandiniMGawade:x: XxChauhanxXYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant NandiniMGawade

repo: hashmapinc/Tempus


text:
Haskell for Mac

What would be an appropriate way to list Haskell for Mac on the downloads page? One possible option would be another section with the headline "Integrated Development Environments" and a list of two bullet points, one for Leksah and one for Haskell for Mac.
What do you think?
I'm happy to provide a pull request, but I just want to do it in a way that everybody is fine with.

One one hand, it should probably also list FP Complete's FP Haskell Center, but I believe they are planning to discontinue the IDE. If I'm mistake on that point, it of course ought to be included, too. (Even if it is not technically a download.)

We're having some other discussions about the shape of the downloads page at the moment, and one thing we want to tackle is having some sort of "other distributions" section where H4M would be appropriate among other things. (for example Kronos Haskell: http://www.kronosnotebook.com/haskell and https://halcyon.sh/ maybe).
I'm not sure if we want an IDEs section on that page, or just a separate page. For some of this "additional stuff" we perhaps just want a link to then a community wiki page where stuff can be more freely added.
H4M is of course in a slightly weird spot as half-distribution half-ide due to the appstore policy questions, and so would be sort of multiply appropriate even if we did have an IDE page.
Perhaps "Haskell Environments" is a different enough category than "Haskell Distributions" that we should have two extra sections on the page?
In any case, this is all spitballing. If you're comfortable waiting a bit (measured in days, not weeks or months), what would be good is to first kick-off a discussion on the haskell-community list on some of the other aspects of the page (which we are planning) and then kick off the "how do we do the other stuff" discussion as auxiliary to that.

That all makes a lot of sense. When you are saying kick off a discussion on the haskell-community list, do you mean that I should start this discussion or that you are about to do that anyway? In either case, I'm happy to help, where I can.

We'll start one soon, I hope. If we don't, kick us :-P

Will do! :)

Ok, I think this is resolved now with a link to a wiki page with more options, at least for the time being.

authors: gbaz mchakravarty

repo: haskell-infra/hl


text:
internal error: extractDecl when selectively reexporting data instance

Env

ghc and haddock built from ghc master

$ uname -a
Linux localhost 4.18.8-arch1-1-ARCH #1 SMP PREEMPT Sat Sep 15 20:34:48 UTC 2018 x86_64 GNU/Linux
$ cabal --version
cabal-install version 2.5.0.0
compiled using version 2.5.0.0 of the Cabal library

Repro
Here is the minimal repro I constructed, with two packages where pkg2 depends on pkg1:
$ cat pkg1/A.hs
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeFamilies #-}
module A
  ( C(..)  -- [1]
  , T(TI)
  , error
  ) where

class C a where
  data T a

instance C Int where
  data T Int = TI { ti :: Int }

$ cat pkg2/B.hs
module B
  ( module A
  ) where

import A hiding (error) -- [2]

$ cabal sandbox init
$ cabal add-source pkg1 pkg2
$ cabal install pkg1 pkg2 --with-ghc ~/ghc/inplace/bin/ghc-stage2 --with-haddock ~/ghc/inplace/bin/haddock --haddock-html --enable-documentation --reinstall
...
haddock: internal error: internal: extractDecl
CallStack (from HasCallStack):
  error, called at src/Haddock/Interface/Create.hs:1116:12 in haddock-api-2.22.0-inplace:Haddock.Interface.Create
...

Issue
I looked into this a little bit and this is what the callstack looks like:
mkExportItems _...
  Just [(module A, [C{T}, T{TI}])] -- exportList: without @C(..)@ at [1], this will be [T{T}, T{TI}]
  [T{TI}, C{T}] -- allExports; without @C(..)@ at [1], this will be [T{T, TI}] and haddock works
  _ _
-- we go to the last case of 'lookupExport' (haddock works without @hiding (error)@ at [2]
availExportItem _... T{TI}
-- the decl of 'T' is from another package: 'hiDecl' returns @data family T a :: Type@ (haddock works otherwise)
availExportDecl T{TI} (data family T a :: Type) (_, [(TI, _)])
-- @availExportsDecl avail@ is 'False', so we handle the sub one 'TI'
extractDecl [] TI (data family T a :: Type)
-- name doesn't exist in the decl returned by

availExportsDecl depends on the invariants stated in Avail that if the type or class is itself to be in scope, it must be first in this list. But this invariant doesn't quite hold for data instance above?
Not sure what's the best way to fix this, we can at least suppress this error by intentionally ignoring this case.

I'm having a tough time replicating this. What GHC commit were you using?

OK, I can replicate now. This looks like a GHC bug; check out the avails reported by tcg_exports:

for A, you get [error, C{C, T;}, T{T, TI;}]
for B, you get [T{TI;}, C{C, T;}]

I'll see if I can diagnose the issue in GHC. If not, you're right we should at least patch Haddock (and leave this issue open as a reminder).

I've opened https://ghc.haskell.org/trac/ghc/ticket/16077 regarding the Avail invariant being violated.

Hi! Getting a similar error over in esqueleto

So it seems like on ghc-8.2.2, the export list is kept at just the module
-- group_
""

-- imports
[import (implicit) Prelude,
       import Database.Persist.Sql
           hiding ( BackendSpecificFilter,
                    BackendSpecificFilter,
                    Filter(..),
                    PersistQuery,
                    SelectOpt(..),
                    Update(..),
                    delete,
                    deleteWhereCount,
                    updateWhereCount,
                    selectList,
                    selectKeysList,
                    deleteCascadeWhere,
                    (=.),
                    (+=.),
                    (-=.),
                    (*=.),
                    (/=.),
                    (==.),
                    (!=.),
                    (<.),
                    (>.),
                    (<=.),
                    (>=.),
                    (<-.),
                    (/<-.),
                    (||.),
                    listToJSON,
                    mapToJSON,
                    getPersistMap,
                    limitOffsetOrder,
                    selectSource,
                    update,
                    count )],

-- mayExports
Just [module Database.Persist.Sql]

-- mayDocHeader
Just  Re-export "Database.Persist.Sql" without any clashes with\n @esqueleto@.

So it wasn't hitting the DataFam case in extractDecl

This GHC patch should fix the issue: https://gitlab.haskell.org/ghc/ghc/merge_requests/276. At the very least, it fixes the test case from https://github.com/haskell/haddock/issues/979#issue-390898190. No Haddock change will be required: this is just GHC not obeying one of its own invariants.
In the meantime, it should be possible to work around this issue by replacing the problematic module re-exports with explicit export lists. I know this isn't a great state of affairs, but I'm not sure what more can be done for now. 😕
It would eventually be nice for Haddock to be more flexible around its error handling (for example: printing errors and exiting with an error code, but still producing a best effort at docs), but there are more pressing problems at the moment...

The GHC patch has been merged and cherry-picked to the 8.6 and 8.8 branches. This should mean that this will be fixed in haddock shipping with ghc-8.6.4

Are other people no longer seeing this when compiling with GHC 8.6.4? I'm still getting the error for e.g. classy-prelude-yesod-1.5.0, and that package is marked as broken because of this bug on the Nix 19.03 release for this bug. https://github.com/NixOS/nixpkgs-channels/blob/3a4ffdd38b56801ce616aa08791121d36769e884/pkgs/development/haskell-modules/configuration-hackage2nix.yaml#L3482

Updated to LTS 13.15 for GHC 8.6.4 but still get this error:
$ stack hoogle
No Hoogle database yet. Automatically building haddocks and hoogle database (use --no-setup to disable) ...
Yapper-0.0.0: unregistering
classy-prelude-yesod-1.5.0: configure
classy-prelude-yesod-1.5.0: build
classy-prelude-yesod-1.5.0: haddock
Progress 1/2

--  While building package classy-prelude-yesod-1.5.0 using:
      /Users/nrm/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.4.0.1 haddock --html --hoogle --html-location=../$pkg-$version/ --haddock-option=--hyperlinked-source --haddock-option=--quickjump
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/nrm/Sources/mdpm/projects/Yapper/.stack-work/logs/classy-prelude-yesod-1.5.0.log

    Configuring classy-prelude-yesod-1.5.0...
    Preprocessing library for classy-prelude-yesod-1.5.0..
    Building library for classy-prelude-yesod-1.5.0..
    [1 of 2] Compiling ClassyPrelude.Yesod ( src/ClassyPrelude/Yesod.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/ClassyPrelude/Yesod.o )
    [2 of 2] Compiling Paths_classy_prelude_yesod ( .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/autogen/Paths_classy_prelude_yesod.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/Paths_classy_prelude_yesod.o )
    Preprocessing library for classy-prelude-yesod-1.5.0..
    Running Haddock on library for classy-prelude-yesod-1.5.0..
    Haddock coverage:
    haddock: internal error: internal: extractDecl
    CallStack (from HasCallStack):
      error, called at utils/haddock/haddock-api/src/Haddock/Interface/Create.hs:1116:12 in main:Haddock.Interface.Create

I am still seeing this error with LTS 13.15 as well.

The reason for haddock's error is a bug in GHC which was fixed (https://gitlab.haskell.org/ghc/ghc/merge_requests/276/commits) but not merged into the 8.6 branch.
So it seems like you need to wait for GHC 8.8 ... or you could checkout GHC's 8.6 branch cherry-pick 2a431640d1 and then compile your fixed GHC ... but that will take a lot of time ...

authors: 5outh MaxGabriel brandon-leapyear harpocrates normenmueller skress watashi

repo: haskell/haddock


text:
Fix #1015 with dataConUserTyVars

The central trick in this patch is to use dataConUserTyVars instead of univ_tvs ++ ex_tvs, which displays the foralls in a GADT constructor in a way that's more faithful to how the user originally wrote it. With these changes, the example from #1015 now renders as:

Along the way, I simplified some code that tried to calculate where a data constructor should use GADT syntax in an ad hoc fashion. Luckily, this information is cached as isGadtSyntaxTyCon, so I just used that instead.
Thankfully, there's already a test case in html-test that stress-tests this code path, so I didn't need to add the test case from #1015 (since it relies on code from base which might change in the future).

So this is something already fixed in the Hi Haddock branch at a53c131e9bf95db0180efdd560f8f27caa81363e. There are a bunch of fixes to Convert in that branch which exist nowhere else. Rather than re-fix them in ghc-head and face hell when the time comes to rebase that branch, I think the right thing to do would be split them out of wip/hi-haddock (since that's probably not going to get merged in time for 8.8).
If @sjakobi isn't planning on working on Hi Haddock this weekend, I could try to do that now. Thoughts @sjakobi?

Looking at a53c131e9bf95db0180efdd560f8f27caa81363e, it looks like that commit tackles the problem in a much different way. Intead of using dataConUserTyVars, it simply hardcodes con_forall to False! If I'm reading that correctly, that means that Haddock will never render the foralls in a GADT constructor's type signature, which feels rather strange.

You are right, this is the right way to fix things! I just want to get ahead of the Hi Haddock merge conflicts before merging this.

On Feb 2, 2019, at 9:37 AM, Ryan Scott notifications@github.com wrote:
Looking at a53c131 https://github.com/haskell/haddock/commit/a53c131e9bf95db0180efdd560f8f27caa81363e, it looks like that commit tackles the problem in a much different way. Intead of using dataConUserTyVars, it simply hardcodes con_forall to False! If I'm reading that correctly, that means that Haddock will never render the foralls in a GADT constructor's type signature, which feels rather strange.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/haskell/haddock/pull/1016#issuecomment-459983627, or mute the thread https://github.com/notifications/unsubscribe-auth/AKRHAcN7t1jS1brJZBU0jGxzdsib0XLhks5vJczmgaJpZM4afphn.

@RyanGlScott I've split out of wip/hi-haddock and into ghc-head the changes I was worried would conflict. Do you mind rebasing this onto ghc-head?

I take it, then, that you don't want me to target this PR against ghc-8.6 (as it is currently)?

Yep, that’s right. Sorry for all of the hassle :(

On Feb 4, 2019, at 8:46 AM, Ryan Scott notifications@github.com wrote:
I take it, then, that you don't want me to target this PR against ghc-8.6 (as it is currently)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/haskell/haddock/pull/1016#issuecomment-460320859, or mute the thread https://github.com/notifications/unsubscribe-auth/AKRHAXDktv56JvPpE-qE0QymK9YN1R7Sks5vKGPTgaJpZM4afphn.

That's fine—I'm just wondering if this could be cherry-picked into ghc-8.6, since @kosmikus was asking for this in https://github.com/well-typed/generics-sop/issues/92#issuecomment-459971779.

Oh I see. Sigh.
I guess we can merge this now in ghc-8.6 and deal with the conflicts when next merging into ghc-head. Do you know if there is even a new Haddock release planned for the 8.6 release? (Is there even another 8.6 release planned?) I haven't heard anything from Ben.

I was under the impression that Haddock releases occurred independently of GHC

That's not the case. Since most people get Haddock from their GHC installation (NB: the binary-dists that get released include a Haddock executable), I've been syncing releases up with GHC releases. I guess we could release more often, but I doubt people would remember to install a newer version of Haddock. And even if they did:

Cabal/Stack have some magic around trying to guess the right Haddock executable for cabal/stack haddock, which I don't think would pick up the newer executables (unless explicitly directed to do so). I haven't tested this...
The Haddock distributed with GHC is built under slightly different circumstances (for now at least, see flag(in-ghc-tree)), so it's nice to minimize the "flavours" of Haddock executables floating around in the wild. I hope to get rid of this once the Make system disappears and only Hadrian remains.

...and that the ghc-8.6 branch was the main upstream for that release cycle (while ghc-head tracks a separate development cycle that's geared specifically to GHC HEAD's needs). Moreover, I was imagining that, at periodic intervals, there would be a mass merging of commits from one branch to the other.

This part is spot on. We regularly merge branches for older release cycles into ones for newer release cycles. This sort of merge is generally not very pleasant though.

If you have any ideas for improving this state of affairs, I'm all ears. 😄

It looks like the haddock repo disallows force-pushing (even for branches), so rebasing this as-is proves to be trickier than I thought. I think I'll just opt to close this and open a fresh PR against ghc-head.

Closing in favor of #1022.

authors: RyanGlScott harpocrates


text:
V0.3.0.0

Feel free to update the ChangeLog, but there is a lot to go in.

Github search for PRs merged between the last release

Sorry, my bad! I should make a script for this one of these days…

On 8 Nov 2018, at 06:56, Jan Hrcek notifications@github.com wrote:
@jhrcek commented on this pull request.
In Changelog.md:

Prefix unused terms with '_'

Case splitting

Suggested pragmas and language extensions

The parsed output from a module is now cached

Some features are now available without the need for the module to typecheck first

Improve code completion

Suggests modules that can be imported

Suggests GHC extensions

Recognizes when completing a type or expression

Provides snippets for arguments to functions

Add the ability to set an explicit hoogle database

+Thanks to the contributors for this release:

bbarker

Avi-D-coder

jhreck
jhreck -> jhrcek, but no big deal :D

In Changelog.md:

@@ -1,6 +1,45 @@

0.3.0.0
-Numerous changes.

LSP mode is now the default, and the --lsp flag has no effect

The --json flag can be used for JSON transport

HIE now warns you if there is mismatch between the HIE GHC verison and the project GHC version

Add Liquid Haskell support

Add support for hierarchical document symbols

Add many new types of code actions

Typed holes

HaRe refactoring

Misspelled variables

Missing top-level signatures

Prefix unused terms with '_'
Using different apostrophe character seems to break markdown formatting. Please use the first one in both places on line 13

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: alanz bubba

repo: haskell/haskell-ide-engine


text:
Bug: pressing ESC while Alt+tabbing closes window

Please make sure that the issue you're planning to report is not already registered :)

Describe the bug
pressing ESC while Alt tabbing closes any window.
Applies to main window, configuration window and Help (?) window
To Reproduce
Steps to reproduce the behavior:

Open HASS.Agent
Hold Alt, press Tab (keep the alt-tab manu open)
Press ESC to cancel your window switching
=> window closes

Expected behavior
it doesn't close the window and only the windows window switching is canceled
Misc info (please complete the following information):

Windows build (ideally screenshot/info of winver.exe output): windows 10
Windows' UI language: German
HASS.Agent version: 2.1.0 Beta4

Please check what's applicable (multiple answers possible):

[x] Installed via installer
[ ] Installed manually
[x] Problem occurs in HASS.Agent
[ ] Problem occurs in Satellite Service

also applies to the help (?) dialog

Did a fix for this, i hope nobody was working on this. The issue made me curious.
This would fix the issue, into which branch should I merge if (main or development-beta4), or @amadeo-alex  - you can just grab the tiny change and integrate it.
My branch is here: https://github.com/denisabt/HASS.Agent/tree/fix_alt_tab_escape_hiding

authors: SVNKoch denisabt


text:
Fixing pi-holes ability to clear logs from the database

Proposed Changes

adding the sqllite package, and changing the permissions of the logrotate/pihole script to allow for the standardized clearing of logs. The changes are pretty straight forward. I was trying to find the best place to do the chmod on the container init, and figured I would put it with the rest of the log scripts. If you know of a better place we can change it

Related Issues

https://github.com/hassio-addons/addon-pi-hole/issues/56

Thanks for studying this case :-)

It is not working yet. We can not clean the logs. Can we do something?

The current dev version has been a complete rewrite and took this into it as well (a little bit different though). Thanks for finding out the issue! 👍

authors: frenck jacoknapp sermayoral

repo: hassio-addons/addon-pi-hole


text:
Aeon Gen5 USB adapter in docker fails after some time

I have switched recently from smartthings and zigbee2mqtt works great without problems
I had problems using zwave2mqtt where my zwave devices stopped responding after a few minutes but worked again if I restarted the service and hard reset the USB adapter.
The setting to disable soft resets to the adaptor fixed the problem - surely you can set this by default for docker installations

The setting to disable soft resets to the adaptor fixed the problem - surely you can set this by default for docker installations

No, it cannot be set to that by default. The current default works fine for most use cases.
Nevertheless, you can change it if fits your case better.
../Frenck

authors: frenck sujitvasanth


text:
Grammatical correction in docs/index.rst

Updated let's to lets.
an user to a user

Thank you for the corrections @Varshit07!

repo: hasura/docs


text:
Fix races in subscription.go

This patch fixes the races that occur when using SubscriptionClient.
@dmitshur we'd love to use this lib at Reddit but it has race conditions, currently. Could you take a look at this, please?

Hi @foreverest
There is a merged PR that fix this issue using atomic lock. https://github.com/hasura/go-graphql-client/commit/408d1f23326fe1fb2ab649fbb2531d4c390bf64a
Can you please verify if it solves your issue. If it works, we can close this PR
Best!

@hgiasac I guess you linked a wrong commit?

@foreverest Sorry. This is the correct commit https://github.com/hasura/go-graphql-client/commit/5371adce8738708814c2c925fa00437951802ca0

please rebase

Please also check this https://github.com/hasura/go-graphql-client/pull/27

Hi @foreverest  and @hgiasac  what's the status here? Want to use go-graphql-client in production and I want to be aware of any outstanding issues.

The issue was fixed by #27. We can close this

authors: davitovmasyan foreverest hgiasac jeanlucmongrain jflambert

repo: hasura/go-graphql-client


text:
🛑 Portfolio is down

In 09c4e8d, Portfolio (https://portfolio.arash-hatami.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portfolio is back up in 5c1dfa3 after 10 minutes.


text:
🛑 Portfolio is down

In c9ae20a, Portfolio (https://portfolio.arash-hatami.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portfolio is back up in 464161c.


text:
Firebase Access

Gut sortierte firestore client lib
Accounts-Tabelle abfragen
TOTP-Tabelle / oder -Spalten anlegen
Spalte ist vieleicht interessant, würde jegliche Aufräumarbeiten erledigen/überflüssig machen

Closed by 79348d

And finally closed by https://github.com/haus23/runde-tips/commit/ad285ec34c3e5641f5b67b1a247dba98857e0ab5


text:
Adding Symfony4 support

#SymfonyConHackday2017

@baldurrensch Can you take a look?

@mwadon I don't see where in the travis tests it actually runs against SF4.

@baldurrensch I did the previous commit before official Symfony 4 release (there was "beta" stability). I fixed it and additionally added case with php 7.2 ;)

We are running phpunit with the "travis version" which will be phpunit:6.4 on PHP7.2. Since the test is not updated for phpunit 6.x we get a false positive. IE the test is not running.
We should consider updating the tests to support PHPUnit 6.x. But that should maybe be a separate PR.
Aside form that, This PR looks good.

Yes, I agree. The change looks good. I don't have merge rights since I am not with the company anymore. @muub ?

authors: Nyholm baldurrensch mwadon

repo: hautelook/TemplatedUriRouter


text:
docs(openapi): Fix indentation

Closes #45

Why there is no dev branch? :thinking:

repo: hawks-atlanta/authentication-go


text:
Add new hawtconfig.json property: online.projectSelector

Required to support filtering projects by labels.
Ref ENTESB-14539 and hawtio/hawtio-online#64

I named it now projectSelector because it's filtering the projects resources and not namespaces.
In plain k8s you don't have projects. Also OpenShift filters projects based on your permissions whereas you either have rights to list all namespaces or not. A normal  project user doesn't have permissions to list namespaces by default on openshift.

Thanks! Let me cut a new release.

authors: astefanutti vinzent

repo: hawtio/hawtio-core


text:
Use HTML5 Pointer Events API instead of deprecated MouseEvent and TouchEvent

This PR makes some changes to respond to the more modern and input-agnostic Pointer Events API for input from the browser, rather than relying on the older MouseEvent and TouchEvent APIs. This helps it to work better with input devices like pen/stylus, without adversely changing the existing mouse-oriented code.
https://user-images.githubusercontent.com/79861976/205028414-6c809924-9dab-4904-9895-28340acc1fb9.mp4

Im going to close this since ive reimplemented this (using this PR as a guide) with a few tiny changes - as discussed it all seems to work - so thank for it!

authors: Bloodninj ianharrigan


text:
error message wordpress

Hello everyone,
I have a big problem and saw a earlear post white the same problem. When i want to pay in my website white ideal, this error occeur SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data. Have anywhone a answer?
Thank you in advance

Becauase you set returnType:"json", but you are returning non-JSON data. check the upload.php response

Thank you for answere but i dont understand i always work with druppal and sinds two days wordpress i cannot find file upload php?? Sorry but where is it? Wat can i Do

In the network tab, check the response from upload response
On Saturday, 24 October 2015, lilianme notifications@github.com wrote:

Thank you for answere but i dont understand i always work with druppal and
sinds two days wordpress i cannot find file upload php?? Sorry but where is
it? Wat can i Do
[image: schermafbeelding 2015-10-23 om 23 06 15]
https://cloud.githubusercontent.com/assets/15252457/10705157/4498e668-79dc-11e5-9924-0f23c4effd0b.png
[image: schermafbeelding 2015-10-23 om 23 05 57]
https://cloud.githubusercontent.com/assets/15252457/10705156/4496b730-79dc-11e5-9667-962c767ed070.png
—
Reply to this email directly or view it on GitHub
https://github.com/hayageek/jquery-upload-file/issues/76#issuecomment-150694893
.

authors: hayageek lilianme

repo: hayageek/jquery-upload-file


text:
Issue with dependency

Hi!
Just installed this mod on my server, but when i start it, this error happens:
[21:52:09] [main/WARN]: Mod resolution failed
[21:52:09] [main/INFO]: Immediate reason: [HARD_DEP_NO_CANDIDATE offlineplayerteleport 1.0.0 {depends server_translations_api @ [*]}, ROOT_FORCELOAD_SINGLE offlineplayerteleport 1.0.0]
[21:52:09] [main/INFO]: Reason: [HARD_DEP offlineplayerteleport 1.0.0 {depends server_translations_api @ [*]}]
[21:52:09] [main/INFO]: SERVER environment disabled: [c2me-client-uncapvd, fabric-renderer-api-v1, fabric-model-loading-api-v1, fabric-keybindings-v0, fabric-client-tags-api-v1, fabric-screen-api-v1, fabric-renderer-indigo, fabric-blockrenderlayer-v1, fabric-renderer-registries-v1, panorama_screens, fabric-models-v0, fabric-rendering-v0, fabric-sound-api-v1, fabric-key-binding-api-v1, fabric-rendering-v1]
[21:52:09] [main/INFO]: Fix: add [add:server_translations_api 1 ([(-?,?)])], remove [], replace []
[21:52:09] [main/ERROR]: Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
         - Install server_translations_api, any version.
More details:
         - Mod 'Offline Player Teleport' (offlineplayerteleport) 1.0.0 requires any version of server_translations_api, which is missing!
        at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51) ~[fabric-loader-0.15.6.jar:?]
        at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195) ~[fabric-loader-0.15.6.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146) ~[fabric-loader-0.15.6.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) ~[fabric-loader-0.15.6.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.15.6.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.15.6.jar:?]

Note that the modrinth page doesnt list "server_translations_api" as a dependency.

Server Translations API is not available on Modrinth, but you can find it here.

Why you didn't include it into your mod🤔


text:
IZE-583 terraform state key is based on multi state structure

Changelog:

changed logic of generating terraform state key

Test:

Codecov Report

Merging #476 (ae08b95) into main (8ebc316) will decrease coverage by 0.27%.
The diff coverage is 11.44%.

@@            Coverage Diff             @@
##             main     #476      +/-   ##
==========================================
- Coverage   30.49%   30.22%   -0.28%
==========================================
  Files          59       60       +1
  Lines        7351     7504     +153
==========================================
+ Hits         2242     2268      +26
- Misses       4905     5027     +122
- Partials      204      209       +5

Impacted Files
Coverage Δ

internal/commands/down.go
9.24% <0.00%> (+0.84%)
:arrow_up:

internal/commands/up_infra.go
10.00% <0.00%> (-14.33%)
:arrow_down:

internal/config/config.go
1.41% <0.00%> (-0.25%)
:arrow_down:

internal/config/project.go
0.00% <0.00%> (ø)

internal/terraform/docker.go
0.00% <0.00%> (ø)

internal/commands/up.go
15.03% <5.55%> (+8.15%)
:arrow_up:

internal/commands/down_infra.go
20.98% <7.14%> (-2.55%)
:arrow_down:

internal/commands/up_apps.go
11.81% <11.81%> (ø)

internal/terraform/local.go
68.22% <29.41%> (-3.44%)
:arrow_down:

internal/commands/terraform.go
80.48% <50.00%> (ø)

... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter psihachina

repo: hazelops/ize


text:
Vulnerabilities

Don't know if this is actually of importance - however, every time i do $ npm i it's warning

found 16160 vulnerabilities (16156 high, 4 critical)
run npm audit fix to fix them, or npm audit for details

My npm version is:

$ npm --version
6.9.0

When I do the audit fix, some packages are downgraded like e.g.:

"convert-source-map": "1.6.0" => "convert-source-map": "^1.1.0",

Even so, things seems to be builded and running just fine.
Also, my npm prefixes the version numbers of the packages with an ^ , I think to be even more on the sure side that the version number will be the correct one.
You may reject this PR, just in case, to let you know, for what it's worth.

Fixed in https://github.com/hbz/skohub-ssg/pull/32

repo: hbz/skohub-ssg


text:
Support publication from GitLab

Support a wbhook-based approach fro publishing SKOS files in Turtle notation from GitLab.

On test, webhook url is the same as for GitHub: https://test.skohub.io/build

Is the secret also the same?

See https://github.com/hbz/skohub-vocabs/issues/61#issuecomment-571610588, please try again.

I tried it again, still doesn't work. The result looks very similar to that from GitHub, see https://github.com/hbz/skohub-vocabs/issues/61#issuecomment-571958044.
Request headers:
Content-Type: application/json
X-Gitlab-Event: Push Hook
X-Gitlab-Token: ***********

Request body:
{
  "object_kind": "push",
  "event_name": "push",
  "before": "fe101614a02ea70e294adef358ea98849123f67c",
  "after": "2d24eb892709d1d652bd36e0453673e019e5a0a9",
  "ref": "refs/heads/master",
  "checkout_sha": "2d24eb892709d1d652bd36e0453673e019e5a0a9",
  "message": null,
  "user_id": 1973305,
  "user_name": "Adrian",
  "user_username": "acka47",
  "user_email": "",
  "user_avatar": "https://assets.gitlab-static.net/uploads/-/system/user/avatar/1973305/avatar.png",
  "project_id": 16194845,
  "project": {
    "id": 16194845,
    "name": "test-vocab",
    "description": "For testing GitHub integration in skohub.io",
    "web_url": "https://gitlab.com/acka47/test-vocab",
    "avatar_url": null,
    "git_ssh_url": "git@gitlab.com:acka47/test-vocab.git",
    "git_http_url": "https://gitlab.com/acka47/test-vocab.git",
    "namespace": "Adrian",
    "visibility_level": 20,
    "path_with_namespace": "acka47/test-vocab",
    "default_branch": "master",
    "ci_config_path": null,
    "homepage": "https://gitlab.com/acka47/test-vocab",
    "url": "git@gitlab.com:acka47/test-vocab.git",
    "ssh_url": "git@gitlab.com:acka47/test-vocab.git",
    "http_url": "https://gitlab.com/acka47/test-vocab.git"
  },
  "commits": [
    {
      "id": "2d24eb892709d1d652bd36e0453673e019e5a0a9",
      "message": "Trigger SkoHub build\n",
      "timestamp": "2020-01-08T09:04:32+01:00",
      "url": "https://gitlab.com/acka47/test-vocab/commit/2d24eb892709d1d652bd36e0453673e019e5a0a9",
      "author": {
        "name": "Adrian Pohl",
        "email": "pohl@hbz-nrw.de"
      },
      "added": [

      ],
      "modified": [

      ],
      "removed": [

      ]
    }
  ],
  "total_commits_count": 1,
  "push_options": {
  },
  "repository": {
    "name": "test-vocab",
    "url": "git@gitlab.com:acka47/test-vocab.git",
    "description": "For testing GitHub integration in skohub.io",
    "homepage": "https://gitlab.com/acka47/test-vocab",
    "git_http_url": "https://gitlab.com/acka47/test-vocab.git",
    "git_ssh_url": "git@gitlab.com:acka47/test-vocab.git",
    "visibility_level": 20
  }
}

Response headers:
Date: Wed, 08 Jan 2020 08:04:37 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Type: text/plain; charset=utf-8
Content-Length: 40
Connection: close

Response body:
Payload was invalid, build not triggered

It works now, see https://test.skohub.io/build/?id=47aac5ca-84a9-408c-93cb-ffad5c67557f. +1

repo: hbz/skohub-vocabs


text:
Collect all ionosondes that were active at the time of a QSO

This link does indeed take a long time to return, as advertised, but is also the most simple way to assemble the list. It's request is
https://lgdc.uml.edu/common/DIDBStationList?orderByField=sl.maxTime desc
Referrer Policy:
strict-origin-when-cross-origin
NOTE: the link took 1.7 minutes to return as I was writing this
Screen recording 2024-01-26 5.06.32 AM.webm
I'm looking for documentation on the arguments, specifically how to set the time of interest. So far, I found a research team that used the calls.
I can also just transit this list

assembling a list of station IDs that I can use in links of the form:
https://lgdc.uml.edu/common/ShowIonogramPage?mid=54707722&ursiCode=PA836&time=2024.01.26 (026) 08:45:00.000
But really, first look at the curl command documented here to see if it can be coerced, or has a friend who can return a station list.
Here's the command
curl --insecure "https://lgdc.uml.edu/common/DIDBGetValues?ursiCode=PA836&charName=MUFD,hmF2,hmF1&fromDate=2023.03.22&toDate=2023.03.23
Also remember that rm-rbn-history already uses this command if you need examples.

The KC2G page is updated more reliably (on 2024/01/7 at least) than th lgdc.uml.edu pages. The json feed is located at
https://prop.kc2g.com/api/stations.json?_=1706366718324
The argument does change. I need to figure out if that matters.

The number increments as the data auto-updates

Try the address with no argument

It works! The next question is do we accumulate data automatically like the RBN app, it grab it as needed?

The data I tried to retrieve the morning is now available, sort of. When I request the data using Python through cocalc, I get
# All GIRO measurements are released under CC-BY-NC-SA 4.0 license
# Please follow the Lowell GIRO Data Center RULES OF THE ROAD
# https://ulcar.uml.edu/DIDBase/RulesOfTheRoadForDIDBase.htm
# Requires acknowledgement of PA836 data provider
#
#Time                     CS    hF2 QD   hmF2 QD
2024-01-27T11:00:00.000Z  90  275.0 //  330.4 //
hmF2 330.4

But when I look using the curl command listed in the comment above but broadened for the entire day as
curl --insecure "https://lgdc.uml.edu/common/DIDBGetValues?ursiCode=PA836&charName=MUFD,hmF2,hmF1&fromDate=2024.01.27&toDate=2024.01.28"
on a Linux terminal, I get
2024-01-27T11:00:00.000Z  90 12.39 //  330.4 //    --- __
2024-01-27T11:07:30.000Z  90 12.66 //  317.3 //    --- __
2024-01-27T11:15:00.000Z 100 12.91 //  310.3 //    --- __
2024-01-27T11:22:30.000Z  95 13.21 //  305.3 //    --- __
2024-01-27T11:30:00.000Z  95 13.67 //  304.7 //    --- __

(So, more than one entry.) If restrict the terminal back down to the time range used on cocalc I get no data when I leave a space between the date and time, but when I place a 'T' between date and time, I do get data.
curl --insecure "https://lgdc.uml.edu/common/DIDBGetValues?ursiCode=PA836&charName=MUFD,hmF2,hmF1&fromDate=2024.01.27T11:00&toDate=2024.01.27"

I was only getting one line from CoCalc because I had code that exited (on purpose) on the first detection of data. Time to call it an night.


text:
Cell tables: add cell anchor

@constantinpape
Since we are also now looking at single cell stuff, I think it would be very useful to have anchor_x and anchor_y coordinates in the cell tables (both in the hdf5 and the excel tables).
Would that be possible to add?

Sure, no problem. Will add it in the next run.

@tischi this is pretty easy to implement.
In the h5 tables, I will just have another table for the cell segmentation called properties
which contains cell sizes, anchors and could be extended with other, intensity independent, attributes.
Would you also want this to be exported to the excel tables I produce for you?
In there, I would probably not export an extra table, but just add it to the cell tables that are already exported. What do you think?

In the h5 tables, I will just have another table for the cell segmentation called properties
which contains cell sizes, anchors and could be extended with other, intensity independent, attributes.

makes sense

Would you also want this to be exported to the excel tables I produce for you?
In there, I would probably not export an extra table, but just add it to the cell tables that are already exported. What do you think?

Just one table is much easier for me. In fact, also in the hdf5 just having one table would be more convenient, I think.

Just one table is much easier for me. In fact, also in the hdf5 just having one table would be more convenient, I think.

In the hdf5 that is not a good idea due to the way we compute these things; this should all stay modular!
For the export, no problem.

Implemented in #130, but I still need to add it to the excel tables, will do tomorrow.

@tischi this is all implemented now; the new excel cell tables will have columns anchor_x and anchor_y.

authors: constantinpape tischi

repo: hci-unihd/batchlib


text:
🛑 stagin-env is down

In 1978227, stagin-env (https://staging.lessonpal.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: stagin-env is back up in 51d475a after 2 hours, 8 minutes.

repo: heIsThePirate/upptime-lessonpal


text:
Replace mock data

Fix #148
Test URLs:

Before: https://main--helix-sportsmagazine--headwirecom.hlx.page
After: https://replace-mock-data--helix-sportsmagazine--headwirecom.hlx.page

Can you create another branch with the same code but non blocking index retrieval ie no await call to fetch the content to compare performance ?

For blocks that are dynamic ie they get their content from the index, I propose in general to use classes to help authors define which content they would like to show like we did for carousels:

WDYT ?

authors: DriftingSands icaraps

repo: headwirecom/helix-sportsmagazine


text:
UTF8 text got invalid annotation offset

Given the following UTF8 text : 💩This is an annotation.
Imported as TSV, then added an annotation around "annotation", then exported as TSV.
Result is as follows :
ID      TEXT    id      label   annotator       annotation_id   created_at      updated_at      lead_time
1       💩This is an annotation.        1       "[{""start"": 13, ""end"": 23, ""text"": ""annotation"", ""labels"": [""Annotation""]}]"        a.a@a.net       2       2021-08-23T12:19:18.905800Z     2021-08-23T12:19:18.905819Z     8.416
Probelm : Start and end offsets are off by one : start should be 12 codepoints,  end 22 codepoints.
It arises from a discrepancy between the original UTF8 text, and the way javascript handles emojis as a pair of surrogates. All annotations after an "astral codepoint", are off, and unusable.
Moreover, if the annotation contains an emoji, it is expanded into its surrogate pairs, and does not conform to the original input.

Hi, I'm having a pretty similar issue, where the offset sometimes is 1 and sometimes 2 characters. However, for the same text it happened sometimes, not always. In fact, I've created different projects inside label studio, and adding the same text on all the projects with the same settings, it happens that in one project this issue appears frequently, while in the other it doesn't.

@ghpu @lucianosilvi
What LS version do you use? We fixed similar problems in 1.2.

I encountered the problem with the following version :
{
"label-studio-os-package": {
"version": "1.2",
"short_version": "1.2",
"latest_version_from_pypi": "1.2",
"latest_version_upload_time": "2021-08-18T16:22:25",
"current_version_is_outdated": false
},
"label-studio-os-backend": {
"message": "Correction : le fichier ca-certificates.conf n'\u00e9tait pas enregistr\u00e9 av ...",
"commit": "16d1aa69f4133eea26382d36e8b9664d40cfbdc6",
"date": "2018-12-05 15:49:38 +0100",
"branch": "master",
"version": "16d1aa6+dirty"
},
"release": "1.2",
"label-studio-frontend": {
"message": "[fix] loading images with relations (#239)",
"commit": "c02a287aef3bea907a09196bd2145c7225208efe",
"branch": "master",
"date": "2021-08-18T07:32:08Z"
},
"dm2": {
"message": "Merge pull request #9 from heartexlabs/feature/regex-filter  [ext] Add ...",
"commit": "e67fb3ab5bcabfb663a4e010503c83ecb3d2ed44",
"branch": "master",
"date": "2021-08-17T13:41:09Z"
},
"label-studio-converter": {
"version": "0.0.30"
}
}

Hi all! @ghpu @lucianosilvi
Try this PR, please, it should fix the problem — #1559

Better for simple, one unicode character based  emojis (like pile of poop), but does not work for composing emojis, like "rainbow flag" 🏳🌈 : the annotations are off even in the interface when annotating a word after the emoji.

Oh, yes, I forgot to describe the solution. It counts code points, not a glyphs, so for composed emojis it may return length more than 1. This is how python works (and most of other software I suppose).
"Glyph" is a very render-specific thing, new emojis will be displayed "broken" on user-agents from one year ago. And code-points are standardised thing. If you create your pre-annotations in python and load them into LabelStudio they'll work well in this PR. And vice versa.

authors: ghpu hlomzik lucianosilvi makseq

repo: heartexlabs/label-studio