text:
Task :ballerina-lang:annotations:ballerinaLangLibBuild failing

Description:
Task :ballerina-lang:annotations:ballerinaLangLibBuild failing when trying to run unit tests.
Initially was unsure if it was due to code changes in my feature branch, but the failure persists in the unedited local master branch as well which has been updated from the upstream.
Steps to reproduce:
Can be reproduced by 2 ways;

Run a unit test one of the CLI features, eg; NewCommandTest.java

Run ./gradlew build -x test

OS, DB, other environment details and versions:
Ubuntu 20.04
Java 11.0.9 2020-10-20 LTS

I am unable to recreate this issue in latest master. Can you please try building after a git clean.

Upon further investigation, I've isolated that this particular build failure;  Task :ballerina-lang:annotations:ballerinaLangLibBuild FAILED happens whenever I do a change to the classes I'm working on. The classes being NewCommand.java and ProjectUtils.java
At the moment, the bit of additional code I've written is only a mere variable declaration and nothing more, as shown below

It's very confusing to me how this simple addition can cause the build to fail

Can you please try building after a git clean.

Tried this as well as a ./gradlew clean build, made no difference.
Would love a solution to this as I'm unable to make any changes atm.

I have tested additions to the NewCommand class as described in the issue along with running all the tests that were failing and it seems that it cannot be reproduced in Swan-lake Beta.
To my knowledge, since then new options have been added and existing ones modified without this test failure popping up.
@n-jay  Would you consider getting a new fork and giving this a go in the latest master?

Yes, I'll try that. Closing this issue for the time being

authors: Ibaqu hevayo n-jay


text:
Update group by parser changes to support Wildcard BP

Purpose

$title

Fixes #37740
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

The tests would't change cause previously, before changing it to token it was capture binding pattern so the context we had was BINDING_PATTERN_STARTING_IDENTIFIER since it applies to this change as well... error recovery stuff didn't change. will add more tests with wildcard bp.

PR LGTM. @suleka96 you can skip the failing testings in the parserTestRunner mentioning the issue and enable them in PR #37555

@lochana-chathura wouldn't it be better to keep it as it is than disabling and enabling again, since these are known failures (Due to missing classes in compiler side - Node not supported: GroupByClauseNode errors).  And also then we can easily see to that these are fixed in the semantic phase. Anyway the failing ones will immediately be addressed in the semantic phase.

I'm partially agreeing with you. However,
[1]. Depending on the build script all the tests may not be executed when we have test failures in the middle.
[2]. We have to manually go through the build log from top to bottom to verify what tests are failing and whether they are expected.
I think it is better if we can get the build pass. Merging a PR with a build failure is not a good practice IMO.

I'm partially agreeing with you. However, [1]. Depending on the build script all the tests may not be executed when we have test failures in the middle. [2]. We have to manually go through the build log from top to bottom to verify what tests are failing and whether they are expected.
I think it is better if we can get the build pass. Merging a PR with a build failure is not a good practice IMO. @MaryamZi @gimantha WDYT?

+1

I'm partially agreeing with you. However, [1]. Depending on the build script all the tests may not be executed when we have test failures in the middle. [2]. We have to manually go through the build log from top to bottom to verify what tests are failing and whether they are expected.
I think it is better if we can get the build pass. Merging a PR with a build failure is not a good practice IMO. @MaryamZi @gimantha WDYT?

We can create a separate issue for enabling the tests and add that issue as a subtask in the main issue.

[ ]  Fix failing parser tests for query-expr

Created #37888 to track allowing the failing tests

source: gharchive/pull-request

authors: gimantha lochana-chathura rdulmina suleka96

repo: ballerina-platform/ballerina-lang

license_type: permissive

license_source: github-api


text:
Introduce yaml standard library module

Description:

Need to convert[1] into a standard library module adhering to the standard library development process[2]
[1] https://github.com/ballerina-platform/module-ballerina-yaml
[2] https://github.com/ballerina-platform/ballerina-standard-library/blob/main/docs/library-development-process.md

Closing as completed.

source: gharchive/issue


text:
Rfxtrx package always installing on startup.

@Danielhiversen
The rfxtrx 0.4 package always installs at startup, even though it is installed before.
INFO:homeassistant.util.package:Attempting install of https://github.com/Danielhiversen/pyRFXtrx/archive/0.4.zip#RFXtrx==0.4

I think this commit introduced the bug: https://github.com/Danielhiversen/pyRFXtrx/commit/f0068a7007f6c1343584766221a1c979552c312c
Probably have to change RFXtrx to pyRFXtrx in the requirements.

authors: Danielhiversen turbokongen

repo: balloob/home-assistant

license_source: bigquery


text:
Home Assistant won't start on DSM 6

**Home Assistant release (hass --version):**20150526-1
**Python release (python3 --version):**3.4.1-4
**Component/platform:**DSM 6.0 fresh install on a Synology 215j
Description of problem:
The package won't start : launch failure during repair package

That version is a year old.. Not a maintained package
On Fri, Apr 1, 2016, 01:17 alexkoch89 notifications@github.com wrote:

*Home Assistant release (hass --version):*20150526-1
*Python release (python3 --version):*3.4.1-4
*Component/platform:*DSM 6.0 fresh install on a Synology 215j
Description of problem:
The package won't start : launch failure during repair package
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1668


text:
mysensors scene controller not appearing

Just upgraded to 0.10.1.
My mysensors scene controller which previously worked and appeared in the top of HA does not appear any more. It doesn't give an error or anything in the logfiles. It just doesn't work anymore.

The only thing that has changed since last time is a bug fix about the
location of the persistence file path:
https://github.com/balloob/home-assistant/commit/452348a7f9c449543623da9e6724da60a46b6882
On Mon, Dec 28, 2015 at 12:20 PM, sander76 notifications@github.com wrote:

Just upgraded to 0101
My mysensors scene controller which previously worked and appeared in the
top of HA does not appear any more It doesn't give an error or anything in
the logfiles It just doesn't work anymore
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/812.

--
PaulusSchoutsen.nl
It's nice to be important but it's more important to be nice.

Solved. I had to resend the presentation message which makes sense but I am pretty sure I didn't have to do this with previous upgrades.


text:
Add chris-lipp and tommuelli

Members of the CaT Code Camp Team
Config changes proposed in this pull request

Add team members for the CaT code camp team

For new organization members
I acknowledge that

[x] I have read and understood the Open Source Guidelines
[x] I agree to act accordingly (with due dilligence) to our guidelines
[x] I have no open questions regarding the topics covered (please delete the "open questions" section)

Open questions

Hi @mikevader - the idea is that each newly onboarded member files a PR on his / her own: and acknowledges the statements above (these are requirements of the cloud board). Does this makes sense?

At the moment we're gathering experience using this PR based approach - please feel free to add feedback here: https://github.com/baloise/open-source/issues/257

I thought so after I saw the PR Template :)
But I said to my colleagues I would get it for them. But I will do it with them together in our next workshop.
@MarkusTiede can you tell me why the Travis CI has not reported back?

Travis CI tries to dry-run apply the config change. This turns out to be quite unreliable. We'll remove that soon. For now the admins can overrule the failed CI when merging.

authors: MarkusTiede christiansiegel mikevader

repo: baloise-incubator/org


text:
added banwords list

feel free to adjust code-style

First up:
I do not think we will be banning users for using certain words. We do have a special role for members that could be handy in cases like this. Might want to consider adding a role to a warned member as opposed to an outright ban. That's not to say that we could do both; have a bad words list and and banned words list. Something to think about, but banning is not how we want to start.
This PR is essentially a new module, yet there is an embedded command. While the command is a good touch, it should be its own file located int the commands folder.
The warned users are held in an array in memory - this will be lost if/when the bot goes down. We need a more permanent solution to warned user tracking.
Odd way of reading in a text file to get the list of banned words. The reading does work, though.
Once the text file is read, the resultant array has (on my machine) some artifacts that makes the banned word undetectable. As shown:
[ 'php\r', 'otherbannedword1\r', 'otherbannedword2' ]

"otherbannedword2" is detected while the 'php" and "otherbannedword1" are not. I'd suggest the use of a .json file to hold these banned words.
I consider this a bug, alternatives should be explored and the bug should be fixed.
Other notes:
Not all users have their direct messages open. Would suggest checking before shooting them a DM.
...
    if (lowercaseMessage.includes(bannedwords[word])) {
      message.channel.send(message.member.user + ' check your DM')
      message.author.send(
...

Inconsistencies in function naming. PascalCase mixed with camelCase
Naming and overall style does not strictly match the desired js 'standard' as noted in the ReadMe.
There are multiple unnecessary commits - and some non-standard commit naming conventions.
The formatting of the output of the embedded command needs work. See below:

@GlassToe™ the banned words: php
,otherbannedword1
,otherbannedword2

Commas behind the word instead of in front of the previous word. Each word is a new line, so is a comma even necessary. This output could use an overhaul.
Summary
Overall not a bad module. We have discussed a similar idea in the past and its good to see someone take up the challenge. while there are some things to address, I think this could turn into a great addition to Confax.
Recommend:

Storing the banned word list on a .json and use a standardized way to pull in the data.
Squash these commits and follow a standard convention.
Need a way to ensure warned users persists through bot crashes.
Fix naming conversation and adhere to js standard style.
Explore the option of adding a specific role to a user instead of banning them. The role should be readable from the config.json
Fix formatting of the command output.
Place the command code into its own file in the commands folder.

I would also suggest adding Tags to this project

Thank you for the contribution, I'll quickly test it and probably merge!

Looks good, will merge!

authors: GlassToeStudio bananaprotocol sietse85

repo: bananaprotocol/confax

license: MIT


text:
Strategy Creation - Inputs of '.' in token price show NaN values

When creating a strategy, inputs of '.' in token price (limit/ranges) show NaN values.

Either hide the text or show a more adequate message.

@tiagofilipenunes I believe this was fixed, please confirm.

It was fixed by #862

authors: tiagofilipenunes zavelevsky

repo: bancorprotocol/carbon-app


text:
Move init code to a new file bot.py

Issue
As previously discussed, importing anything from fastlane_bot takes a long time because when anything from the library is imported a lot of initialization code runs, including code that looks at the network. Also this code requires a lot of libraries that may or may not be present on all systems.
The fastlane_bot library at this stage is the canonical home of a number of modules / libraries that are important for analysis even without running the bot, and that can run on a stand-alone basis. Those libraries do not require the bot startup code to run, and they do not require any non-standard libraries to be installed on the system.
The issue that we are currently running into is because the top init.py imports everybody and their dog from the fastlane_bot libraries, whenever you import anything from fastlane_bot, the whole shebang is run (or not, if packages are not present.
Solution
Move all offending imports for __init__.py to a new file called bot.py. Everyone using the bot has to slightly change the import statements (essentially from fastlane_bot import xxx becomes from fastlane_bot.bot import xxx, but this will be transparent for our end-users who use the script) but otherwise this is not a big change.

out of date

repo: bancorprotocol/fastlane-bot


text:
🛑 MXN Base On-ramps is down

In e0c4ca4, MXN Base On-ramps ($QUOTE_ENDPOINT) was down:

HTTP code: 500
Response time: 719 ms

Resolved: MXN Base On-ramps is back up in 4d026a5 after 9 minutes.

repo: bandohq/upptime-monitor


text:
Support chained function call when return values is Class .

Add test case .

有四个地方需要改：callSelector参数传入和return，JPForwardInvocation 参数传入和return，现在只改了两个地方。

@bang590  貌似不需要改这么多，因为我已经在 formatJSToOC 里做了处理。

https://github.com/bang590/JSPatch/blob/master/JSPatch/JPEngine.m#L1190
callSelector 参数传入这里没改，是因为走到了default分支了，虽然能正常运行，但这里是要改掉的。
https://github.com/bang590/JSPatch/blob/master/JSPatch/JPEngine.m#L851
JPForwardInvocation return这里没改，会导致出现bug，测试用例不齐，OC定一个方法return Class 类型，在JS替换这个方法，再调用这个方法时不会return出错。

你说的那两个地方改掉了，另外还在JPCFunction里改了参数跟返回值解析的地方。
按你说的还补充了一个return Class 的方法用于交换的测试用例。

Done. Your build exited with 1.
/Users/travis/build.sh: line 148: shell_session_update: command not found

这个CI有问题了吧。。。

这里的实现这种情况会有问题：
@implementation TestCls
- (void)init
{
   .....
   [self callWithClass:NSClassFromString(@"NSObject")];
}
- (void)callWithClass:(Class)cls
{
    [self receiveClass:cls];
}

- (void)receiveClass:(Class)cls
{
    NSLog(@"cls %@", cls);
}
@end

defineClass('TestCls', {
  callWithClass: function(cls) {
      self.receiveClass(cls);  //这里的cls是box后的NSDictionary
  }
})

沿用这种方式去修补碰到其他坑，没有必要，回滚了代码换另一种方式实现：d850cfcef446b00bafd56e20e7fbd4d8d72c35a4

不应该有box后的NSDictionary呀，在JS这侧，对Class的表达全部是clsName。

@bang590  我找到原因也Fix了，还要不要pr？

@YauzZ 不用pr了我已经fix


text:
Fix minor typos

Fix minor typos

Thanks for reporting these issues @omahs, it's much appreciated :)

authors: didierkrux omahs

repo: bankless-academy/bankless-academy


text:
Update cr.yaml

Q
A

Bug fix?
no

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
fixes #X, partially #Y, mentioned in #Z

License
Apache 2.0

What's in this PR?

Why?

Additional context

Checklist

[ ] Error handling code meets the guideline
[ ] Logging code meets the guideline (TODO)
[ ] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

To Do

[ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Spam.

authors: bonifaido claassistantio jcarter1738

repo: banzaicloud/bank-vaults


text:
Fix statefulset recreate loop

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
fixes #959, closes #960

License
Apache 2.0

What's in this PR?
Fix #959 by returning a deep copy of the object metadata assembled by FluentdObjectMeta and FluentbitObjectMeta.
Also, stop adding statefulsetAnnotations and daemonsetAnnotations to resources other than the Fluentd statefulset and Fluentbit daemonset.
Why?
Adding the annotation maps from the config in e3b340132bc4658271c8934e13e1c8a5a1ae6cc6 to the object metadata caused sharing between resources which resulted in action-at-a-distance.

@aslafy-z fyi

authors: ahma siliconbrain

repo: banzaicloud/logging-operator


text:
Add support to override AWS auth config from cluster create request i…

…n case of Amazon EKS

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

License
Apache 2.0

What's in this PR?
Add support to override AWS auth config from cluster create request in case of Amazon EKS
Checklist

[x] Implementation tested (with at least one cloud provider)
[x] Code meets the Developer Guide
[x] OpenAPI and Postman files updated (if needed)

Tested with:
banzai cluster create <<EOF
{
  "name": "some-shady-business",
  "location": "eu-west-1",
  "cloud": "amazon",
  "secretName": "aws",
  "properties": {
    "eks": {
      "authConfigMap": "apiVersion: v1\ndata:\n  mapUsers: |\n    - userarn: userarn: arn:aws:iam::{{AccountID}}:user/kracser.nandor\n      username: kracser-nandor\n      groups:\n        - system:masters\n\n  name: aws-auth\n  namespace: kube-system",
      "version": "1.15.10",
      "nodePools": {
        "pool1": {
          "count": 3,
          "minCount": 3,
          "maxCount": 5,
          "autoscaling": true,
          "instanceType": "t2.medium"
        }
      }
    }
  }
}
EOF

repo: banzaicloud/pipeline


text:
Lombok的@Builder注解与QueryWrapper的select()方法冲突

当前使用版本(必须填写清楚，否则不予处理)
3.1.0
该问题是怎么引起的？(最新版上已修复的会直接close掉)
实体类中使用Lombok的@Builder注解之后，QueryWrapper的select()方法报错，不使用则正常执行。
重现步骤
1，在任意一实体类添加@Builder注解，下面是我的实体类
package com.dodou.scaffold.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import springfox.documentation.annotations.ApiIgnore;

import java.util.Date;

/**
 * Created by Mybatis Generator 2019/05/13
 */
@Data
@Accessors(chain = true)
@Builder
@TableName(value = "notice")
@ApiModel
public class Notice {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 标题
     */
    @TableField(value = "title")
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 作者
     */
    @TableField(value = "author")
    @ApiModelProperty(value = "作者")
    private String author;

    /**
     * 简介
     */
    @TableField(value = "synopsis")
    @ApiModelProperty(value = "简介")
    private String synopsis;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 内容
     */
    @TableField(value = "content")
    @ApiModelProperty(value = "内容")
    private String content;

    public static final String COL_TITLE = "title";

    public static final String COL_AUTHOR = "author";

    public static final String COL_SYNOPSIS = "synopsis";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}

2，在Service层使用QueryWrapper的select()方法查询指定列，下面是我的Service中方法
public List<Notice> listNotices() {
        return noticeMapper.selectList(
                new QueryWrapper<Notice>()
                        .select(Notice.COL_AUTHOR, Notice.COL_SYNOPSIS)
        );
}

报错信息

你先去了解清楚@builder 注解,不要看到就瞎 JB 用,出了问题怪这个怪那个

authors: MRLEILOVE miemieYaho

repo: baomidou/mybatis-plus


text:
漏洞处理

MyBatis-Plus 是一个强大的增强型 MyBatis 工具包，用于简化开发。
MyBatis plus 的受影响版本中只是对/core/conditions/AbstractWrapper.java 中的 Column 参数进行简单的字符替换为空格来过滤，会存在绕过，比如注释/**/。
攻击者可利用该漏洞获取隐私数据，恶意操作数据库，甚至接管数据库所在服务器。
这个漏洞会做处理吗？
https://www.oscs1024.com/hd/MPS-2022-4629

https://github.com/baomidou/mybatis-plus/issues/4407

这个漏洞会在墨菲安全检测中提示，导致项目方要求修复或者是替换。

本身就不是漏洞谈何修复?

authors: bigzhouj miemieYaho


text:
What else should a scenario contain? Desired speed, lane chage, etc. and how is it defined?

Will be defined in the scenario/generation. Goal definition could be to adhere to the speed limit
Extend GoalDefinitionStateLimits

I think this can be closed: ConfigurableScenarioGeneration allows goal specification based on abstract keywords, left change, right change, but also more customized goals
Speed limits are parameterizable in GoalDefinitionStateLimitsFrenet

repo: bark-simulator/bark


text:
Optional border around the video

It could be useful to allow the user to specify (optionally) a border around the video.

Not sure at the moment how that should look like:

Should the color be adjustable of grabbed from the theme automatically?
Should the border be around the video itself or around the widget (like in the above screenshot)?

And not sure whether this should be an option on the config screen, or simply by a CSS input field (like in some core ui nodes)?

I have added a "Class" input property, that allows stuff like borders to be specified.
See new wiki page.


text:
Add the ability to log requests and responses only if validation fails

Similar to https://github.com/rest-assured/rest-assured/wiki/Usage#log-if-validation-fails

Idea: add separate logging level and check just before throwing an exception in case of a failed verification.

Implemented in https://github.com/basdijkstra/rest-assured-net/commit/920c50ab3897f6cf59b04e523341a67a51799a93.

repo: basdijkstra/rest-assured-net


text:
Node cannot start: Derivation process temporary error

The node is not starting and there are repeated errors occurring.
node-node-1  | t=2023-07-26T09:18:09+0000 lvl=warn msg="Derivation process temporary error"     attempts=13 err="temp: failed to fetch receipts of L1 block 0x5c13d307623a926cd31415036c8b7fa14572f9dac64528e857a470511fc30771:17481768 for L1 sysCfg update: receipt 2 has unexpected tx index 0"

I'm using a paid blockpi node
It seems that the error 0x5c13d307623a926cd31415036c8b7fa14572f9dac64528e857a470511fc30771 is not a legal eth tx hash

That is the hash for the genesis block: https://etherscan.io/block/17481768
I wonder if the blockpi node is a full node and not an archive node? If it is a full node (with only the last 128 blocks) it will not have the history required to fetch this block.

What does this return?
curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xe080e65b2f599279599ba4c59b96bad843ec29a50490ab15cab330b9c945e1c4"]}' -H "Content-Type: application/json" <BLOCKPI_RPC_URL>

It should return a JSON blob containing "transactionIndex":"0x2" within. If anything else, it seems like possibly your L1 node is malfunctioning.

@aflock
Yes, this is an archive node.
@mdehoog
Yes, it returned content does contain "transactionIndex":"0x2" as you said.
I'm sorry, but I haven't tried starting a node myself anymore as the node provider I use, blockpi, already offers direct access to the base chain.

I have reproduced this on a blockpi node. It looks like sometimes their eth_getTransactionReceipt returns an empty response. For example: {"jsonrpc":"2.0","id":26,"method":"eth_getTransactionReceipt","params":["0x2094a0de142cfebbcbdfc38d5c2410e6cdba0e81dad1e27e874fb69901484995"]} normally works fine, but occasionally returns {"jsonrpc":"2.0","id":26,"result":null}.
You can reproduce this with the following script. This will panic on the public-facing blockpi node, but succeed using another node. Would recommend using another provider for your L1 node.
package main

import (
	"context"
	"github.com/ethereum-optimism/optimism/op-node/client"
	"github.com/ethereum-optimism/optimism/op-node/sources"
	"github.com/ethereum/go-ethereum/ethclient"
	"github.com/ethereum/go-ethereum/log"
	"github.com/ethereum/go-ethereum/rpc"
	"math/big"
	"time"
)

func main() {
	ctx := context.Background()
	c, err := rpc.DialContext(ctx, "https://ethereum.blockpi.network/v1/rpc/public")
	if err != nil {
		panic(err)
	}
	r := client.NewBaseRPCClient(c)
	e := ethclient.NewClient(c)
	block, err := e.BlockByNumber(ctx, big.NewInt(17481768))
	if err != nil {
		panic(err)
	}
	testCfg := &sources.EthClientConfig{
		// receipts and transactions are cached per block
		ReceiptsCacheSize:     1000,
		TransactionsCacheSize: 1000,
		HeadersCacheSize:      1000,
		PayloadsCacheSize:     1000,
		MaxRequestsPerBatch:   20,
		MaxConcurrentRequests: 10,
		TrustRPC:              true,
		MustBePostMerge:       false,
		RPCProviderKind:       sources.RPCKindBasic,
		MethodResetDuration:   time.Minute,
	}
	ec, err := sources.NewEthClient(r, log.Root(), nil, testCfg)
	if err != nil {
		panic(err)
	}
	_, _, err = ec.FetchReceipts(ctx, block.Hash())
	if err != nil {
		panic(err)
	}
}

authors: aflock mdehoog sljeff

repo: base-org/node


text:
Add Metacade to Ecosystem page

What changed? Why?
Adding Metacade to the ecosystem section
Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/2

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2

great thanks @wilsoncusack  have updated

Hi there! Apologies, we recently updated the way we categorize and subcategorize apps; could you please update the category and subcategory?
We'll do our best to review as soon as possible once you do! 🙏

@soheimam
Please also rebase to resolve the merge conflict.

Please open a new PR, when you are ready, incorporating the above changes. 🙏

authors: cb-heimdall soheimam wbnns

repo: base-org/web


text:
Fix/Experiments context

What changed? Why?

Changed the return values for unsuccessful getUserVariant pulls to undefined instead of empty strings
Created useExperiment hook that calls getUserVariant and returns the userVariant and isReady state

Notes to reviewers
How has it been tested?
locally

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

authors: brendan-defi cb-heimdall


text:
Allow secrets expansion in commands and configurations

From what I've seen, Secrets and Environment Variables are not expanded/interpolated in options.
So in a config like this:
servers:
  web:
    hosts:
      - a.b.c.d
    logging:
      driver: loki
      options:
        loki-url: "${GRAFANA_LOKI_URL}"
        loki-batch-size: '400'
        loki-retries: 2
        loki-max-backoff: 800ms
        loki-timeout: 1s
        keep-file: true

The GRAFANA_LOKI_URL will be empty, despite being present in the secrets.
In the Environment Variable section of the docs, we can see that only secret envs are interpolated, but what prevent us from interpolating all the variables as per:
https://github.com/bkeepers/dotenv?tab=readme-ov-file#variable-substitution
Edit: If we decide to increase the surface of variables expansion, this issue is related: https://github.com/basecamp/kamal/issues/1167

I assume the philosophy is to only keep secrets in .kamal/secrets.
Though, I see that the only way to pass a password to loki is via loki-url.

Secrets and Environment Variables are not expanded/interpolated in options.

You are correct on the Secrets, but you can actually interpolate Environment Variables with:
servers:
  web:
    hosts:
      - a.b.c.d
    logging:
      driver: loki
      options:
-       loki-url: "${GRAFANA_LOKI_URL}"
+       loki-url: <%= ENV["GRAFANA_LOKI_URL"] %>
        loki-batch-size: '400'
        loki-retries: 2
        loki-max-backoff: 800ms
        loki-timeout: 1s
        keep-file: true

You need ERB syntax because that's how the file is processed.

@3v0k4 Thanks for your reply, but I've tried that before and it does not work.
By running docker inspect .... I have:
 "LogConfig": {
                "Type": "loki",
                "Config": {
                    "keep-file": "true",
                    "loki-batch-size": "400",
                    "loki-max-backoff": "800ms",
                    "loki-retries": "2",
                    "loki-timeout": "1s",
                    "loki-url": ""
                }
            },

so the value  is empty, although in the  Env section the value is filled correctly:
          "Env": [
                "RAILS_MASTER_KEY=.....",
                "GRAFANA_LOKI_URL=https://__:????@logs-prod-006.grafana.net/loki/api/v1/push",
......

Because only "secrets" are interpolated.

Could you please do a sanity check and try the following? I just want to be user the problem is not that ENV["GRAFANA_LOKI_URL"] is nil for other reasons than the interpolation not working.
servers:
  web:
    hosts:
      - a.b.c.d
    logging:
      driver: loki
      options:
-       loki-url: "${GRAFANA_LOKI_URL}"
+       loki-url: <%= "foobar" %>
        loki-batch-size: '400'
        loki-retries: 2
        loki-max-backoff: 800ms
        loki-timeout: 1s
        keep-file: true

Hi @fidalgo - we load the config before parsing the secrets.
We only load secrets on demand for commands that need them - this means you don't need to authenticate with a secret management tool all the time and allows you to run things like kamal details or kamal app exec --interactive without actually having access to the secrets.
As a result we can't have the secrets available in the config.
You can use ERB to add arbitrary things to your config though so you could use that to run something that loads the secret?

authors: 3v0k4 djmb fidalgo

repo: basecamp/kamal


text:
[FIX] - Make kamal use ssh keys from config when performing commands

Hey!
I've taken this PR: https://github.com/basecamp/kamal/pull/959 that worked fine and fixed the conflicts trying to maintain the approach of the previous code change for ssh_proxy_args.
I guess this PR should also fix https://github.com/basecamp/kamal/issues/1053 and so we should probably be able to close this too: https://github.com/basecamp/kamal/pull/1087

Oh sorry, I didn't know about that, not sure if the fix is the idiomatic way, let me know if there's a better approach :)


text:
Configure the CLI to exit non-zero on failures.

I noticed that kamal wasn't exiting non-zero for me in certain scenarios where I expected it to.
$ kamal deploy -d staging --some-option-that-doesnt-exist
ERROR: "kamal deploy" was called with arguments ["--some-option-that-doesnt-exist"]
Usage: "kamal deploy"

$ echo $?
0

This caught me by surprise in my CI/CD when my staging deployment "succeeded" super quickly and my changes started deploying to production. 😅
I'm not very familiar with Ruby but I believe that this is a good change to make.
(Looks like this was previously set to true but was changed to false by @djmb here.)
Testing

With the proposed change in place, I manually ran bundle exec ./bin/kamal deploy -d staging --some-option-that-doesnt-exist and got the expected behavior (non-zero exit code).
I tried running bundle exec ./bin/tests but I'm getting several toomanyrequests errors [1] from docker. The number of errors (10) seems to remain consistent with and without this change so I have some confidence that it shouldn't cause any regressions but I'm not certain.

[1] - Error Message Example
...

  ERROR (SSHKit::Command::Failed): Exception while executing on host vm1: docker exit status: 125
docker stdout: Nothing written
docker stderr: Error response from daemon: No such container: kamal-proxy
Error: failed to start containers: kamal-proxy
cat: .kamal/proxy/options: No such file or directory
Unable to find image 'basecamp/kamal-proxy:v0.8.4' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

...

I went ahead and created a Docker account. I did a docker login (which indicated success) and tried again and still get the error. Looking at the "Usage" dashboard in Docker doesn't seem to indicate an issue. Perhaps my anonymous usage before logging in is causing my IP to be throttled? Another theory is that maybe the way the tests are run aren't making use of my logged in account. 🤷
I'm not really interested in upgrading to any sort of paid account at this time.
Any suggestions on how to work around this issue would be greatly appreciated!

And now another:
Error:
AppTest#test_stop,_start,_boot,_logs,_images,_containers,_exec,_remove:
RuntimeError: Command `TEST_ID=ab6d82077231b99d1df5bc116d848a37 docker compose exec --workdir /app deployer kamal deploy` failed with error code `pid 90106 exit 1`, and output:

    test/integration/integration_test.rb:34:in `docker_compose'
    test/integration/integration_test.rb:40:in `deployer_exec'
    test/integration/integration_test.rb:44:in `kamal'
    test/integration/app_test.rb:5:in `block in <class:AppTest>'

bin/test /home/runner/work/kamal/kamal/test/integration/app_test.rb:4

BTW, it looks like the runners are also subject to the toomanyrequests errors (example).

With the recent changes I made the tests are now passing. I believe things are now ready to be reviewed.


text:
sentence_transformers not working

Describe the bug
A simple example that uses sentence-transformers/paraphrase-multilingual-mpnet-base-v2, based on the code provided in the "Truss 101" tutorial does not work.
To Reproduce
To deploy the code (pasted below), follow the instructions in the "Truss 101" tutorial.
Expected behavior
An embedding vector should be returned by calling truss predict -d '"Truss is awesome!"'
Screenshots/Logs
Command line:
(baseten-experiments-py3.11) ➜  my-first-truss truss predict -d '"Truss is awesome!"'
{
  "error": "Model is not ready, it is still building or deploying"
}

Logs:
Nov 27 5:29:18pm
starting uvicorn with 1 workers
Nov 27 5:29:18pm
Executing model.load()...
Nov 27 5:29:18pm
Application startup complete.
Nov 27 5:29:25pm
Load pretrained SentenceTransformer: sentence-transformers/paraphrase-multilingual-mpnet-base-v2
Nov 27 5:29:36pm
Inference server seems to have crashed, restarting

Desktop (please complete the following information):

OS: macOS
Environment versions: python 3.11.6
Truss version: 0.7.18

Additional context
Requirements:
requirements: [
  torch==2.0.1,
  sentence-transformers==2.2.2,
  hf-transfer==0.1.4
]

model.py:
from sentence_transformers import SentenceTransformer

class Model:
    def __init__(self, **kwargs):
        self._model = None

    def load(self):
        self._model = SentenceTransformer(
            "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
        )

    def predict(self, model_input):
        return self._model.encode([model_input])[0].tolist()

Hi @aus70! By best guess from the error message that you're seeing is that the Trussis running out of memory and then crashing. Could you try running this on a larger instance? You can change this via the UI on baseten.
I'll also look into improving the error message here.

If you take a look at the "metrics" tab, you can see the CPU memory usage below

Memory was indeed the problem, I increased the RAM to 16GB (likely more than what's needed), and it works well. Thanks!

no problem!

repo: basetenlabs/truss


text:
[BT-11621] Add truss.push

:rocket: What
Adds a new truss.push(...) public Python function for pushing Truss models to Baseten that is equivalent to $ truss push on the CLI.
The basic usage would be:
# In some_file.py
import truss
import truss.public_api.definitions

model_deployment: definitions.ModelDeployment = truss.push("/path/to/directory", trusted=True, publish=True, promote=True) # Starts deployment
model_deployment.wait_for_active() # waits for deployment to become active

model_deployment.model_id # gets model id
model_deployment.model_deployment_id # gets model deployment id

Follow-ups
Adding documentation. I'd like to add an SDK section to the Truss Reference pages, similarly to what we have for Chains.
:computer: How
Some Justifications
I added a public_api/* folder in truss that can hopefully mount more of the public Truss Python API. We can use this folder to generate some documentation. Let me know if you have feedback around the placement here.
:microscope: Testing
Tested locally by running poetry run ipython in the truss repo, and running various permutations of truss.push.
TODO: Think through some better testing for this path.

should we use this public api in the CLI code so there isn't too much redundant code and so that this is implicitly tested in CI?

It's not quite the same (for instnace, how you get the remote is different, error handling is a little bit different), but I'll see if there's more code sharing opportunity here.

why call it public_api? it feels a little awkward to me. I wonder if there is a better name here.

I do want to have a separate folder for the public SDK, maybe just api?

@bolasim , there's not a ton of duplication, and I think trying to deduplicate here (the error-handling behavior, for instance, is different) will actually make the code less readable


text:
basho erlang_protobuffs not working

below function is not working  please give solution to me
protobuffs_compile:scan_file("simple.proto").
** exception exit: scanning_error
in function  protobuffs_compile:parse_file/2 (protobuffs_compile.erl, line 193)
in call from protobuffs_compile:parse_file/1 (protobuffs_compile.erl, line 183)
in call from protobuffs_compile:scan_file/2 (protobuffs_compile.erl, line 59)

I can't reproduce this on my system, assuming that your simple.proto is this test file.  Can you provide more details?  What Erlang release are you using? What version of rebar?

Sorry ,I was  complied  protobuffs_compile.erl  without debug_info. thats why i got problem, So now i compiled with debug_info now  working fine.


text:
GitHub sponsors

Checkout this account and see what ideas we can use for our sponsor page: https://github.com/sponsors/calebporzio

Hello @ceckoslab
I checked the page you have provided. I am not sure if we can create something similar to their sponsor packages. But if we can it might be of help. Of course adopted to our current situation.
Just for example:

$15 - just to support development. With possible access to some other paid options with some predefined discount.
$25 - individual installation support, once we reach release stage
$50 - a promise for a good discount on individual feature development
$75 - all together

A promise is a good thing we can give back to sponsors at the moment.
Should we also consider crowdfunding websites?

It's worthy to check crowdfunding websites.
I already checked this one opencollective.com but it requries 100 GitHub stars in order to complete the registration process.

As we discussed today with @eliskovets we probably will add $5 tier.

authors: ceckoslab korzol

repo: basicrum/backoffice


text:
"StartExplorer" menu item shows up twice in XML files

Doesn't seem to happen in any other file type.
As you can see, I have lots of other plugins installed, so that might be screwing things up.
Environment:

Eclipse 4.4.2.v20150204-1700
Java 8u40

Actually I have no clue how this would happen. Do you have by any chance, two instances of the plug-in installed?

How can I find out?  The "Installation Details" in Eclipse lists StartExplorer only once, and I also tried this:
> find . -name '*.jar' | grep startexplorer
./plugins/de.bastiankrol.startexplorer_1.6.1.201409160940.jar
>

Looks like only one... :(

I second this bug. I have often saw it but have no idea when and why this happens.

See https://github.com/basti1302/startexplorer#maintainer-wanted

Probably something related to having the 2 org.eclipse.ui.menus activated...

Hi! I've same bug here:

Plugin version
StartExplorer  Feature	1.7.0	de.bastiankrol.startexplorer.feature.feature.group	Bastian Krol
My configuration

Eclipse Luna Service Release 2 (4.4.2)
Java 1.8.0_73
Windows 8.1

note: from Installation details I see only one installation of StartExplorer and problem could be related to file type. For example with java files is not happening, but with xml and xsd files it's here
Thanks!

authors: The-Alchemist albertotn basti1302 fabioz paulvi

license: mit


text:
installation error

melpa.milkbox.net/packages/org-journal-20190701.1600.el: Not found
i get this error. how can i solve.

Hey!
This is package.el thing!
You could try the following things:

Remove the package and install again
Update the package.el cache
..

hodanli notifications@github.com writes:

melpa.milkbox.net/packages/org-journal-20190701.1600.el: Not found
i get this error. how can i solve.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: cslux hodanli

repo: bastibe/org-journal


text:
Exclusive button group's 'active' property doesn't respond to set

In this button group:
<Button-Group class='group-label' label='Include hidden:' exclusive :active="includeHidden" justify="flex-end" @update="updateHidden">
<Button>YES</Button>
<Button>NO</Button>
</Button-Group>

I have includeHidden set to 0 in the Data: portion if this Vue component, which does select the "YES" button as expected.
But when i later programmatically change includeHidden to 1, nothing happens  - button "NO" doesnt get selected.

I'll look into it. Likely due to the active prop not being watched for changes and an easy fix, will put this on my to-do list for tomorrow. Let me know if you find anything else

thank you for your quick response and for your amazing framework in general..
I am also seeing issues with the dropdowns.
I created a test extension (VUE-CLI, bombino-brutalism-router) and just added a Dropdown and two Annos for testings. Added them to Home.vue, which is now:
<template>
  <Wrapper class="home-wrapper">
    <battleaxe-logo />
    <brutalism-title subtitle="router" />
    <Dropdown
            label='test'
            :items=" [ {label:'Animate In',value:'Animate In'}, {label:'Animate Out',value:'Animate Out'} ]"
            :active="ddIndex"
    />
    <Anno v-show="ddIndex == 'Animate In'">Animate In</Anno>
    <Anno v-show="ddIndex == 'Animate Out'">Animate Out</Anno>
    <Button-Group>
      <Button block goto="https://battleaxe.dev/brutalism-docs/#/">See the docs</Button>
      <Button block goto="https://github.com/Inventsable/brutalism#-brutalism">See the code</Button>
      <Button block goto="https://github.com/Inventsable/brutalism/issues/new">Report a bug</Button>
    </Button-Group>
  </Wrapper>
</template>

<script>
  export default {
    components: {
      "battleaxe-logo": require('../components/Battleaxe/battleaxeLogo.vue').default,
      "brutalism-title": require('../components/Battleaxe/brutalismTitle.vue').default
    },
    data: ()=>{
      return {
        ddIndex: "Animate In"
      }

    }
  }
</script>

<style>

  .home-wrapper {
    min-height: 580;
    min-width: 300px;
  }
</style>

I am expecting that selecting items in the dropdown will change the Annos visibility, which it does not. Logging ddIndex shows that it does not change on dropdown selections.
thnx again

Hi @saar62097, the issue with active in this context is because Dropdown doesn't have v-model support, so the active prop only has one-way binding (meaning you'd need to do something like @update="val => ddIndex = val"). That dropdown component is actually a legacy one we made as a test before doing the bulk of the framework though, and I've recently rebuilt it as Select.
Note that Select works the same in regards to the items prop but has additional support -- better rendering, more native style, v-model support, support for <slot> elements (though it requires a more up to date import specifically of a hidden wrap-node component like seen here) and more. I'll be working on and expanding that one instead because it solves a lot of bugs/issues with the original attempt.

Try this code instead:
<Select
    label='test'
    :items=" [ {label:'Animate In',value:'Animate In'}, {label:'Animate Out',value:'Animate Out'} ]"
    v-model="ddIndex"
/>
<Anno>{{ddIndex}}</Anno>

thanx again.
I did end up using Select, though I needed to manually add it to main.js, index.js, etc...
Let us know when button-group supports "active" in two way bindings. thnx!

Hi, is this the same issue?
When I try this code from the brutalism-api
<Button-Group exclusive label="exclusive" :active="3">
<Button v-for="index in 7" :key="index" :icon="`brightness-${index}`" />
</Button-Group>

I expect that after clicking one of the buttons it will stay visually active until another one is clicked. I do see this behaviour while debugging in Cefclient.
In AE or IL app the button stops showing being active as soon as the mouse exits the active button. So the selected button is not brighter than the others, they are all dim.
Running AE 17.7 on OSX 10.7.5

Hi @vonnnassau, can you run npm i brutalism@2.2.2 and tell me if this issue persists? Seems to have been a Mac-only bug that I didn't catch but should have been patched out in a more recent build. The bombino templates are set to install latest versions but they don't seem to be doing anything about 2.2.0.

Hi Tom, npm i brutalism@2.2.2 did the trick. Feels good to be up to date like this. Many thanks!

Going to mark this as solved and close the issue for now

authors: Inventsable saar62097 vonnnassau

repo: battleaxedotco/brutalism


text:
earlytalker: move return out of timeout

Part of this PR is a question: Why would you put that line if (!connection.early_talker) { return next(); } inside the setTimeout?  It looks to me like a non-optimization.
This also adds a log message when a relaying client trips over the early_talker plugin. Yes, I've seen it happen 3 times now, so I'm sure it's happening more often. Just not quite sure how often.

I'm going to reject this.   I think the 'return next()' inside the setTimeout() is what makes this plugin actually work.  e.g. it needs to wait on all clients to see if they are pipelining data when they shouldn't be and then returns next() for those that haven't.

I think the 'return next()' inside the setTimeout() is what makes this plugin actually work.

Ahhh, I see.

authors: msimerson smfreegard

repo: baudehlo/Haraka


text:
Backend methods not available in explorer

The explorer cannot use the backend methods, even with correct folder mounting in docker-compose.yaml.
Certain hard-coded paths fail:
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-1f538274a3ba> in <module>()
     10
     11 from backend.config import config
---> 12 from backend.lib.fetch import representative_points
     13 from backend.lib.database.postgres import connect
     14 from backend.lib.calculate import adequacy

~/work/backend/lib/fetch/representative_points.py in <module>()
     23
     24 if config.get('census_data'):
---> 25     CENSUS_FIELDS_BY_CATEGORY = json.load(open(config.get('census_mapping_json')))
     26 else:
     27     CENSUS_FIELDS_BY_CATEGORY = {}

FileNotFoundError: [Errno 2] No such file or directory: '/app/shared/census_mapping.json'

@tetraptych is that done?

authors: ericboucher tetraptych

repo: bayesimpact/encompass


text:
Private header maps are not included as "-iquote" argument during objc file indexing

Comparing how Bazel compile a .m file vesus how xcode indexer compile a .m file, one can see that Bazel has a flag -iquote<path_to_framework_private_hmap>  where xcode indexer won't have any flag with -iquote to start with. A proposed change to add this here does not work because Xcode still add the passed in hmap path behind -I not '-iquote'.
Another way to fix is pass as explicit copt but that can have other implications

@gyfelton  is it safe to say this one is fixed now?

authors: gyfelton jerrymarino


text:
Supply FrameworkInfo from ad-hoc framework imports

Today, there are effectivly 2 different ways that frameworks are being
imported. The first one is apple_library where it creates a framework
import for adjacent frameworks. The other case is calling
apple_*_framework_import from the rules. For now, create framework
import for the latter, consider alignment of these codepaths longer
term.
This commit just instantiates a FrameworkInfo here so it's passed
upwards.
Includes @tinder-maxwellelliott 's reproducer

Trying to top hat this myself, seeing this error
ERROR: /private/var/tmp/_bazel_maxwellelliott/db37ab0e01ac1d9a8e5ea282dd04a720/external/FirebaseAnalytics/BUILD.bazel:43:32: in _apple_framework_import_modulemap rule @FirebaseAnalytics//:GoogleAppMeasurement:
Traceback (most recent call last):
        File "/private/var/tmp/_bazel_maxwellelliott/db37ab0e01ac1d9a8e5ea282dd04a720/external/build_bazel_rules_ios/rules/apple_patched.bzl", line 101, column 26, in _apple_framework_import_modulemap_impl
                vfs = make_vfsoverlay(
        File "/private/var/tmp/_bazel_maxwellelliott/db37ab0e01ac1d9a8e5ea282dd04a720/external/build_bazel_rules_ios/rules/framework/vfs_overlay.bzl", line 323, column 34, in make_vfsoverlay
                framework_name = ctx.attr.framework_name
Error: No attribute 'framework_name' in attr. Make sure you declared a rule attribute with this name.

@tinder-maxwellelliott much appreciated! I wonder what commit sha that's failing on and if you're using apple.virtualize_frameworks.  Reason being, the line was changed : https://github.com/bazel-ios/rules_ios/pull/326/files#diff-450b1330485549712d2fd4e65b2b3fd0a7692fe8f4ec43a0b7b60bbb739313afR303 .
If this is passing your reproducer, I wonder if something else is happening differently for FirebaseAnaytics. GoogleAppMeasurement Is there any chance these are XCFrameworks? I checked out at their SDK and it seems so ( https://github.com/firebase/firebase-ios-sdk ) . Would you kindly post up what the build file looks like you're using for that?
FWIW I think the XCFramework virtual framework import will probably need to be updated to handle your build file, ATM it works with apple_framework.vendored_xcframeworks.

@tinder-maxwellelliott much appreciated! I wonder what commit sha that's failing on and if you're using apple.virtualize_frameworks. Reason being, the line was changed : https://github.com/bazel-ios/rules_ios/pull/326/files#diff-450b1330485549712d2fd4e65b2b3fd0a7692fe8f4ec43a0b7b60bbb739313afR303 .
If this is passing your reproducer, I wonder if something else is happening differently for FirebaseAnaytics. GoogleAppMeasurement Is there any chance these are XCFrameworks? I checked out at their SDK and it seems so ( https://github.com/firebase/firebase-ios-sdk ) . Would you kindly post up what the build file looks like you're using for that?
FWIW I think the XCFramework virtual framework import will probably need to be updated to handle your build file, ATM it works with apple_framework.vendored_xcframeworks.

At the end of the day we are simply calling apple_dynamic_framework_import with the nested framework path inside of the xcframework. The issue seems to be because there are no headers in this framework

authors: jerrymarino tinder-maxwellelliott


text:
Add copybara

Fixes: https://github.com/bazelbuild/bazel-central-registry/issues/1368

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (copybara) have been updated in this PR. Please review the changes.

authors: bazel-io keith

repo: bazelbuild/bazel-central-registry


text:
Support deploy environments (deploy_env)

(subsumes #560, expands on bazelbuild/bazel#1402)
Bazel has an internal feature called deploy_env for java_binaries, which allows performing classpath subtractions for specified targets (see a comment by Ulf here).
We tested this feature (by cherrypicking the commit to expose it in java_binary) and it is suitable for our needs for specifying different deployment targets having different dependencies (something we can't use neverlink for).
As other people seemed to find it useful as well, I would like to propose adding support for this for scala_binaries. The classpath subtraction can be done in skylark using the code we already wrote, to support deployment scenarios explained in #560.
WDYT?
cc @ittaiz

Do we need to do anything in rules_scala? Why not use java_binary?
We have talked about getting rid of scala_binary or making it only a macro that wraps java_binary. Does his ticket inform that discussion?

For anyone else arriving here, deploy_env is on track to be released with 0.23 in late Feb 2019. https://github.com/bazelbuild/bazel/issues/6495#issuecomment-460932694

Any updates on this? Would be useful for building fat jars for spark application. I do not want to include spark every time as this dependency is big and already exists on the spark cluster itself

Did you try using deploy_env with java_binary?
You should be able to use java_binary with scala_library.

You could also use jar jar to zap the classes you don’t want from the deploy jar:
https://github.com/johnynek/bazel_jar_jar

Stijn,
What about using java_binary like Oscar suggested back then?
I don’t remember why we didn’t want to use it but it does make sense
On Sat, 20 Jul 2019 at 0:45 P. Oscar Boykin notifications@github.com
wrote:

You could also use jar jar to zap the classes you don’t want from the
deploy jar:
https://github.com/johnynek/bazel_jar_jar
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/576?email_source=notifications&email_token=AAKQQF3PD3RDIT3EGI6MYNLQAIYW5A5CNFSM4FONJVC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2M27JA#issuecomment-513388452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKQQF7R6LVHEZWCJKKEUNDQAIYW5ANCNFSM4FONJVCQ
.

What about using java_binary

This is what we do. It works. The main_class can be 'fake', and you put the provided deps in runtime_deps. You then can use this target like so:
deploy_env = [
   ""//tools/build/spark-cluster-runtime",
]

The reason we made scala_binary is that it predates “java sandwich” so java could not depend on scala rules. Now that motivation is gone.

authors: hmemcpy ittaiz johnynek stijndehaes thundergolfer


text:
Add GitHub Action config file for CI

I am not sure how to setup JRuby or other ruby implementations

Strange it doesn't run, let me open another to try

repo: bbatsov/powerpack


text:
False positive for Style/SafeNavigation when safe guarding arithmetic operation or assignment

Style/SafeNavigation returns false positives and tries to autocorrect when safeguarding a arithmetic operation or assignment on a chained method call.

Expected behavior
Rubocop shouldn't consider this an offense, since we don't want to do the operation when object is null.
Actual behavior
Rubocop removes the safe guard and uses the safe operator.
Steps to reproduce the problem
foo.baz + bar if foo
foo.baz = bar if foo

Rubocop tries to fix to:
foo&.baz + bar
foo&.baz = bar

RuboCop version
$ rubocop -V
0.51.0 (using Parser 2.4.0.0, running on ruby 2.4.2 x86_64-darwin16)

Same issue as #5079. The problem seems to be that the cop is not checking that the last method in a method chain is a "dot-less" method (comparisons, arithmetics, hash access, etc.)

I'm working on a PR to fix it.

I fixed the problems described in this issue, but not the problem referenced in #5079, I might take a stab at it later.

authors: Drenmi tiagotex

repo: bbatsov/rubocop


text:
Update validating-a-website.md

Summary
Removed mention of "validation" as thats a word with another meaning which might get confusing when people google for help etc.
Details
N/A
Motivation and Context

Prevent future confusion
Avoid WCAG reserved terms.

Thanks @JamieKnightBBC 👍

authors: JamieKnightBBC joshski


text:
The game starts to slow down when changing the font

The game does not slow down with the original font.
With a different font, wild brakes start.
How to fix it ?
Or how can I change the letter spacing in the original font?

You're going to have to provide some additional details here.
What game?
What exact settings are you using to change the font? (OverrideFont or OverrideFontTextMeshPro)
In case of TextMeshPro: What asset bundle are you using?
Currently there is no way to change letter spacing.

Game: Is It Wrong to Try to Pick Up Girls in a Dungeon? Infinite Combate
OverrideFont

I took a look at the game and I cannot really explain what is going on. I've never seen this type of issue in any other game.
Don't expect it to be resolved in the immediate future, since it would probably take quite a bit of effort to investigate.


text:
Partial query matching with hash_including, not working

Partial query matching with hash_including is not working in 1.20.0
Here is a gist showing the logs from webmock.  A WebMock::NetConnectNotAllowedError exception is raised for a URL that I have stubbed using partial query matching.  The same log shows registered request stubs, and my stub for that URL is clearly listed.  A quick glimpse shows that the registered stub matches perfectly the web request URL that throws an error.
Note that if I do not use partial matching using hash_including, but instead match against the full URL, the code works.

closing this as its the same issue as #451

authors: afazio presidentJFK

repo: bblimke/webmock


text:
好久都没有更新啦

好久都没有更新啦

@gushoubang http://www.devtf.cn 。

authors: bboyfeiyu gushoubang

repo: bboyfeiyu/android-tech-frontier


text:
Add proper documentation in the crate

Having a useful readme is nice, having useful crate documentation is even better.

Note sure if this is the right issue to track this....
It would be useful to know the cucmber-rust counterparts to the Cucumber documentation.
Example: What is cucumber-rust statement that addresses "how-cucumber-finds-your-features-and-step-definitions"
https://cucumber.io/docs/gherkin/step-organization/#how-cucumber-finds-your-features-and-step-definitions
The upstream docs might also predefine your documentation structure, as well as topics and the detail-scope of the documentation.
Upstream have worked long and hard on this - seems sensible to build on their experience and avoid relearning their mistakes?

I appreciate your contribution, and I'd say right now, this is the right place for this type of discussion. :smile:
I think what you suggest is quite reasonable! I am quite bad at documentation planning, so if you want to help, we could start with someone perhaps yourself listing some bullet points on the kinds of topics we should cover relative to the Cucumber documentation.

Okay, still a rust noob, but doc might be where I can contribute.
How does the following sound:

there are two categories of documentation:

Those found on [docs.rs](https://docs.rs]: Written within *.rs files, generated by doc.rs/rustdoc/cargo doc, aimed at contributors to cucumber_rust crate and assumes high level of Rust and possibly cucumber/gherkin knowledge.  Limited links to upstream, examples are limits to the function being documented and are not complete working exmaples of cucumber usage.
Those found on GitHub-Pages (or some such): Written within *.md files, generated by githuib or a like static site generator tool, aimed at users of cucumber-rust and assumes no minimum level of Rust not Cucumber/Gherkin.  Links to upstream Cucumber/Gherkin documentation as much as possible. Callsout where/how cucmber-rust reviates from upstream behaviour. Extensive use of complete end-user examples.

Thoughts?

My thoughts are:
We have a book in the works! You can definitely help us with that, that's the item 2 there. Once there's a skeleton, I'd be happy for you to offer as many of those things as you want. :smile:

@bbqsrc, upstream sound receptive to having user docs (type 2, per this comment) land there.
Still working out some of the details. Eventually there would be a "Rust" icon you'd click on to see the user related documentation that is specific for this crate, e.g. https://cucumber.io/docs/cucumber/api/
Since this issue is about crate documentation, I suggest opening a new issue and tracking user documentation progress there.

We have a book in the works! ... Once there's a skeleton, I'd be happy for you to offer as many of those things as you want.

Happy to help on the book - I assume the book will bee some CC license?  Personally I don't see a conflict, esp if the CC license is compatible with the website.  The upstream docs are quite terse in terms of language specifics - more of a reference source. The book would be free to be a deeper dive into usage in a Rust context.
@bbqsrc do you agree to such an approach?

Oh I hadn't even thought about our content ending up on cucumber.io yet. We're not 1.0, and I won't commit to an API so soon. But we will have a published github pages mdbook. (Working on it right now!)
The book would be under the same license as the codebase right now, which is MIT or Apache-2.0. But I think @alvskar wouldn't be against relicensing to CC BY or whatever the most suitable documentation license is.

Oh I hadn't even thought about our content ending up on cucumber.io yet. We're not 1.0, and I won't commit to an API so soon.

Okay lets wait to 1.0

The book would be under the same license as the codebase right now

Great. Just checked and upstream docs are MIT so no need to change that.

Okay, the early alpha book is published here now: https://bbqsrc.github.io/cucumber-rust/
The .md files are in the book/ directory. Feel free to go wild. :smile:

@bbros-dev tracking issue for user documentation: https://github.com/bbqsrc/cucumber-rust/issues/110
Let's continue there.

Mostly resolved in #128, some biskeshedding still needs to be done before a 0.10 release, though.

authors: bbqsrc bbros-dev tyranron

repo: bbqsrc/cucumber-rust


text:
Question: set walltime for ipython jobs

Hi,
Does anyone know of a way to set the walltime for the ipython jobs in bcbio?
Thanks
M

Hi @matthdsm !
With
#!/bin/bash

#SBATCH --partition=short        # Partition (queue) priority
#SBATCH --time=12:00:00              # Runtime in D-HH:MM format, 10:00:00 for hours
#SBATCH --job-name=bcbio          # Job name
#SBATCH -c 1			    # cores
#SBATCH --mem-per-cpu=10G           # Memory needed per CPU or --mem-per-cpu
#SBATCH --output=project_%j.out     # File to which STDOUT will be written, including job ID
#SBATCH --error=project_%j.err      # File to which STDERR will be written, including job ID
#SBATCH --mail-type=ALL             # Type of email notification (BEGIN, END, FAIL, ALL)

date

bcbio_nextgen.py ../config/NA12878_exome.yaml -n 64 -t ipython -s slurm -q short -r t=10:00:00 --retries 3 --timeout 5000

date

The main job receives walltime of 12h, and ipython controller and workers receive 10h.
SN

Nice, thanks!

authors: matthdsm naumenko-sa

repo: bcbio/bcbio-nextgen


text:
iOS - Grey screen on app launch

Description:
Grey screen after splash screen on launch. Unable to use app after launch.
Repro step:

Launch app

It occurs both in Bible Kids and BCC Media app, updating iOS, reinstalling app doesnt help. So far got 2 reports on this
https://github.com/bcc-code/bcc-media-platform/assets/88234679/0a18f4a9-dc61-4633-8023-333b788cfe24

@mulundapm add the support ticket urls

authors: andreasgangso mulundapm

repo: bcc-code/bcc-media-platform


text:
BouncyCastle Java 1.70 Vulnerabilities, No Fix Available

Hi, I am working on a spring boot java project and ran a scan with raven cli tool to see if my packages had any vulnerabilities.
The scan found two vulnerabilities in Bouncy Castle with no fix available...

org.bouncycastle:bcprov-jdk15on - 1.70 - Information Exposure - V4 - NotAvailable - https://security.snyk.io/vuln/SNYK-JAVA-ORGBOUNCYCASTLE-5771339

org.bouncycastle:bcprov-jdk15on - 1.70 - Uncontrolled Resource Consumption ('Resource Exhaustion') - V4 - NotAvailable - https://security.snyk.io/vuln/SNYK-JAVA-ORGBOUNCYCASTLE-6084022

Just wondering if anyone has any recommendations on what I should do here in this situation...  🤔
Thanks!

Hi, you should if possible be migrating to bcprov-jdk18on, that has versions above 1.70.
See bouncycastle latest releases for more information

authors: JimLynchCodes meridsa

repo: bcgit/bc-java


text:
chore: add storybook to bc-wallet-mobile

I found this branch super useful, opening this PR to suggest moving it into main

after the sonarcloud issues are addressed it looks good to merge

repo: bcgov/bc-wallet-mobile


text:
CustomDiff issues and further exploration

Describe the task
The purpose of this card is to split up the work in our custom diff workflow.
Acceptance Criteria

[ ] write tests to handle the following

newData is null
lastCommitted and old data are equal
lastCommitted and old data are not equal

[ ] write tests to properly test the number of decimals that need to be shown
[ ] remove isAmendmentsAndOtherRevisionsSpecific from our code set, no longer needed
[ ] refactor the if statements to use !! to make the comparisons

Note: we may want refactor the render functions as well
handle the various permutations around 0, where any of new, old, or latest could be 0
also this may be a good spot to handle oldData == latestCommittedData

[ ] Investigate the behavoir of removing optional parameters, including contact and manager forms.  Diffs get confusing with optional params at times.
[ ] add a separate e2e test simulating two distinct users making changes to the same project revision
[ ] Axe Devtools are still failing on this page, perhaps now is a good time to do a larger refactor for the diff pages?
[ ] There is some confusion amongst the team on what should and shouldn't be striked out when it comes to new, old and latest data.
[ ] Investigate emissions intensity report, this may be a bug.  The linked case is needed for it.

https://github.com/bcgov/cas-cif/pull/1632#discussion_r1214512878

I think we've already got a ticket for Investigate the behavoir of removing optional parameters, including contact and manager forms. Diffs get confusing with optional params at times: https://app.zenhub.com/workspaces/climate-action-secretariat-60ca4121764d710011481ca2/issues/gh/bcgov/cas-cif/1702

authors: BCerki gurjmatharu

repo: bcgov/cas-cif


text:
Add validation to contact email and phone number

Description
When adding a new contact, the phone number field validates that the entered text is a number, but not that it has the correct number of digits. There's also no validation on the email field to check for @ or . characters.
Acceptance Criteria:
Given I am a user
When I am on the Contacts page and I enter a phone number with the incorrect number of digits
Then I am given a user-friendly error message when I try to submit the form
Given I am a user
When I am on the Contacts page and I enter an incorrectly formatted email (missing the @ and/or .)
Then I am given a user-friendly error message when I try to submit the form
Development Checklist:

[ ] email regex (x@y.z)
[ ] north-american phone number regex
[ ] json-schema documentation: https://json-schema.org/understanding-json-schema/reference/regular_expressions.html
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[x] User story is included
[x] User role and type are identified
[x] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[x] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[x] Can be demoed in Sprint Review
[x] Bugs or future work cards are identified and created
[x] Reviewed and approved by Product Owner

Notes:

Hey team! Please add your planning poker estimate with Zenhub @BCerki @Sepehr-Sobhani @gurjmatharu

Thank you @mikevespi! Tested in dev. Received expected error message when pone number or email address were incorrectly entered into the system.

authors: BCerki LindsayMacfarlane pbastia


text:
Confirm subscription delete checklist created by Platform Admins

Describe the Issue
Confirm subscription delete checklist created by Platform Admins.
Additional Context
Add any other context, attachments or screenshots
Acceptance Criteria

Post-creation review of list, inquiries possibly made and new information added/to be added
Refine list where additional information is known
Discuss these together with Platform Admins before start of deletion execution (see separate task)

Process completed. Closing

repo: bcgov/cloud-pathfinder


text:
Form Success Validation

Currently when you hit the apply button at the end of the form, the browser will direct the user to an error page.
As a stakeholder
I want to be sure that users data is correctly posted to the database
so that I can effectively gather information.
DoD:

[ ] Application checks that there are no errors saving form data
[ ] If success redirect to confirmation page
[ ] If failure give user feedback on what went wrong/how to correct failure
[ ] Need a test to verify this
[ ] create /error page

If data doesn't save, confirmation page will be blank. Don't yet have error page that pops up if there is an error saving the data.

Wait for Metabase and decide if we should close this issue.

authors: BryanGK rgreensp

repo: bcgov/connectivity-intake


text:
CTHUB - GER Coerce strings to numeric in numeric columns

Describe the task
Coerce strings in numeric columns ('Max Incentive Amount Requested', 'Incentive Paid', 'Total Purchase Price (pre-tax)') to numbers by removing white spaces and commas. If the value in the cell is still not numeric after that, user should get an error telling them the row and the column name to fix it.
This method should be generalized to other datasets to convert strings to numeric.
Purpose
To fix common issues in numeric columns that prevent pandas from seeing values as numbers.
Acceptance Criteria

[ ] Commas are removed automatically (e.g. 1, 500 needs to be 1500)
[ ] White spaces are removed automatically (e.g. "   40" needs to be "40")
[ ] An error should come up if a cell value is still not numeric after that with the row index and column name.

Additional context

Since the Vehicle & Industry team area are using excel, the index of the row will be plus 2 since in excel headers are in row 1, and data starts in row 2 while pandas start counting rows at 0 by default.
Please find and example attached in GER_notes_for Agile_team, Section 2.1.

Hey team! Please add your planning poker estimate with Zenhub @emi-hi @JulianForeman @tim738745

Tested

authors: ArawuSamuel1 katerinkus shayjeff

repo: bcgov/cthub


text:
ORV2-459-Handover Manage Profile APIs

Description
Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist

[ ] I have read the CONTRIBUTING doc
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have already been accepted and merged

Further comments

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend - Vehicles available
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

Closing the PR. Not needed at this time.

repo: bcgov/onroutebc


text:
Dependency updates

Upgrade to version 21.x of the Oracle Client libraries, which are more openly accessible.
Upgrade to the latest version of laurenz/oracle_fdw, which is required to use the new Oracle Client libraries.

Testing complete 1,568,638 corporate records queried through the new FDW image and reprocessed.  No errors.

@garywong-bc, ready for review and merge.


text:
Gather variables and populate templates

As a (developer) I want (to be able to manually deploy FOM to dev) So That (we can have sandboxed/testing deployments)
Additional Context

NOT collide with existing deployments
repeatable so that it can be put into a pipeline

Acceptance Criteria

[ ] Given (task is complete), When (deployment performed), Then (successful deployment)
[ ] Given (Context), When (action carried out), Then (expected outcome)

Definition of Done

[ ] Ready to Demo in Sprint Review
[ ] Does what I have made have appropriate test coverage?
[ ] Documentation and/or scientific documentation exists and can be found
[ ] Peer Reviewed by 2 people on the team
[ ] Manual testing of all PRs in Dev and Prod
[ ] Merged

Out of scope.

repo: bcgov/quickstart-openshift


text:
Controller Multiple Directory Levels (on default_controller)

Multiple directory controller levels work, until you use it as the $route['default_controller']
Example:
$route['default_controller']   = 'page/home';
This sends back "The page you requested was not found."
Directory setup: /controllers/page/Home.php
In the url, if you go to /page/home/index or /page/home (both work perfectly), the issue only appears to not function as expected when using the default_controller within a multi-level directory setup, like going to the base url " / ", it doesnt know how to get into the default controller.

It does work as expected and this is explained in the user guide and "reported" here YESTERDAY for the 20th fucking time!
Does nobody ever read documentation?

I'm not saying that $route['default_controller'] doesn't work, I'm saying it does not work "as expected" when using routing to a sub-directory as the default controller.
These do not describe how to use sub-directories within the default controller, when you are located on the base url, they only describe the use of default_controller when your url is specified with directories.
http://www.codeigniter.com/user_guide/general/controllers.html#defining-a-default-controller
http://www.codeigniter.com/user_guide/general/controllers.html#organizing-your-controllers-into-sub-directories
Maybe I am missing something, or the documentation isn't clear. But as of the code, default_controller isn't working like the rest of the routing on the base url.
If you could please, kindly link the documentation that specifies the specific configuration I would need to have the default_controller work within sub-directories just like the normal routes do, that would be great. Thank you.
Example:
If I have controller directory setup like this:
controllers/page/home
controllers/home
If I go to the URL of /home or /page/home, I see the results of each controller
if I go to the base URL of the domain /, the default_controller takes over,
if the default_controller is setup for home it shows me the controllers/home
if the default_controller is setup for page/home it shows me 404

Yea, I didn't misunderstand what you're saying.
I'd link as you asked, if I wasn't on my mobile right now, but I can tell you this as a fact: the very same document that you linked has never suggested that you could use a directory as part of the default_controller.
The only officially documented variation has always been controller/method, the fact that directories have ever worked in pre-3.0 versions was a bug and even despite it being a bug, it is explicitly mentioned (fairly detailed even) in the 3.0.0 upgrade instructions. I am literally explaining this for at least the 50th time in public.
Despite all that, somebody always argues that it doesn't work as expected. It does!

Okay thanks for the explanation, I found the upgrade information here
http://www.codeigniter.com/user_guide/installation/upgrade_300.html
that describes the bug you are talking about, and that default_controller is not meant to have directory functionality. I think I was used to using it from a past project when I used the pre-release version of 3.
Thanks again!

Improved the docs: ee2ece8f59338087cef911073d16b2ee407a31bb
Also, marking this as yet another duplicate of #2849.

authors: narfbg timothymarois

repo: bcit-ci/CodeIgniter


text:
Postgres: SELECT * with no tables specified is not valid

Postgres driver throws error when executing this query.
    $this->db->select("sites.id, sites.name");
    $this->db->from("users");
    $this->db->join("sites", "sites.parent_id = users.parent_id");
    $this->db->join("sites_to_users", "sites_to_users.site_id = sites.id AND sites_to_users.user_id != $id");
    $this->db->where("users.id", $id);

    $query = $this->db->get();

    return $query->result();

Other queries with joins work. Tried everything after SELECT statement, without any luck. Same query printed with $this->db->get_compiled_select() and executed in postgres works. Query also works if all quotes are removed and query passed with $this->db->query($query).  That's my workaround for now.
Error:
Severity: Warning
Message: pg_query(): Query failed: ERROR: SELECT * with no tables specified is not valid LINE 1: SELECT * ^
Filename: postgre/postgre_driver.php
Line Number: 242

Sorry, query didn't make any sense and works when modified, but anyway did work when executed in postgres

masalah yang sama, ada yang memecahkan masalah ini?

           thy this way
           $this->db->select( 'role,roleid');
	#$this->db->select('*');
           #$this->db->select( "role","roleid");
	$this->db->from('tbl_roles');
	$query = $this->db->get();
	if($query->num_rows() > 0){
		$results = $query->result_array();
	}
	return $results;


text:
Session keeps destroying after redirect inside iframe only

I'm developing an app in shopify app market
As you know, shopify apps work in iframe. I've no problem in session when i directly use the app in browser without iframe. The issue is only within iframe.
I'll process oauth for shopify and redirect it to my app url inside the iframe. I'll set required session data if oauth is successfull. But as soon as the page is redirected to the dashboard page after setting session. The dashboard page doesn't have the session data which i set earlier
In oauth success block, i used this to set session data
$this->session->set_userdata('variable', array('uid' => 15));
In dashboard page, i used this to get session data
print_r($this->session->userdata('variable'));
But here i receive empty nothing else.
I tried many solutions in the web regarding this issue But their issue is with or without iframe.
I tried lots of solutions, but nothing worked for me
Fyi, CI Version is 3.1.11
PHP Version is 7.1.9 and also tested with 7.4.21
I tried
ini_set('session.id', $params['cookie_name']);
and manually commenting our session_start() and other lines in Session.php files and other stuff Nothing is fixed this issue
Any help would be greatly appreciated

You should use the $_SESSION variable instead, since codeigniter handles sessions differently

As you know, shopify apps work in iframe.

Actually, I don't. I don't even know what shopify is and as bad as it may sound - I don't even care.
I don't know what may be causing the issue you might be having, but whatever it is, we're not doing anything to CodeIgniter because some third-party software wants to run it in an iframe.
You might want to just skip using our session library and do whatever you need by other means.

Try developing a Shopify app in node js or even larval.

authors: hussainbadusha narfbg otengkwame vikasranjan88


text:
Unit test output not captured

Some recent PR has re-introduced cruft in the unit testing output. It wasn't there two days ago, but is there today.
............................................................. 1281 / 2344 ( 54%)
............................................................. 1342 / 2344 ( 57%)
................./home/travis/build/bcit-ci/CodeIgniter4/public/............................................ 1403 / 2344 ( 59%)
............................................................. 1464 / 2344 ( 62%)
............................................................. 1525 / 2344 ( 65%)

@jim-parry I created PR #1443 for it

authors: jim-parry samsonasik


text:
Update Logging Approach

The logging approach used in secure-smtpd should be updated so that it's easier to filter on specific log levels.

Logging can now properly be configured. see 2314293

repo: bcoe/secure-smtpd

license: isc


text:
Update attributes.rb for 0.9.6

I definitely imagine you might want to actually do some sort of version check and determine the right config from there
and indeed with the influxd config command and its limited migration capabilities, might be better to just start with that?
but here's what I am using for what its worth.

agree to merge only if you can de-conflict and make sure to take advantage of adding in the node attributes where applicable for the directories of hh, meta, etc

Thanks @donaldguy  for the help.  0.10.0 is out and we have merged this https://github.com/bdangit/chef-influxdb/pull/102

authors: bdangit donaldguy

repo: bdangit/chef-influxdb


text:
ExecuteCellSet bug

Hi! Thanks for the library! I found that ExecuteCellSet() throws an exception due to wrong code in MDDatasetFormatter.ReadCellInfo() method. There is commented out line "goto IL_136;", it should be restored (and label moved out from the try block), then it works.

Thank you! I will release a new version with this code change.

@izverev-icm The new version was released a couple of days ago. Can you try it out and see if it solves your issue? Thanks in advance.

Closing because no response was given.

authors: bdebaere izverev-icm


text:
GitHub Enterprise Support

Hi,
We are including your App in Athens, See PR #1988 and were wondering if you would accept a PR to support GitHub Enterprise? This would round out support for us.

Hi @nrwiersma ,
Absolutely, I would be happy to.

authors: bdellegrazie nrwiersma

repo: bdellegrazie/git-credential-github-app


text:
Edit ISSUE_TEMPLATE for use in new project #3

Purpose

The current Issue Template doesn't serve the purposes of this forked workstream well. The edits simplify and generalize for feature additions rather than a bug-forward issue template.
Solves for #3
Does this introduce a breaking change?

[ ] Yes
[x ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[x ] Other... Please describe: Issue Template edit

How to Test

Go to "Issues" tab in GitHub UI
Select "New Issue"

Issue template should be the new format (see file changes)

What to Check
Verify that the following are valid

New issue template is default

Other Information

@bdleavitt - I am merging this one myself but if you have any questions/issues (no pun intended), lmk

repo: bdleavitt/chatgpt-on-azure


text:
how to use Page transitions  inside navigation body?

there is no sample code on how to use drill in or Entrance page transition.
please provide some sample code for both?

NavigationBody(
 transitionBuilder: (child, animation) {
   return DrillInPageTransition(child: child, animation: animation);
 },
),

thank you its working...


text:
Redirect dat://path to dat://path/ when it's a directory

Operation System: all
Beaker Version: v0.7.7
currently, Beaker doesn't handle relative URLs from an index file
Say dat://path/index.html exists
Then, loading dat://path and dat://path/ in Beaker will both display that file.
In the first case, though, relative links are broken.
example 1 (works)
dat://dcpos.ch/yimby/zoning/

example 2 (broken)
dat://dcpos.ch/yimby/zoning

old web solution
on the centralized web, people usually fix this problem via server configuration. for example, i have Nginx configured to redirect /foo to /foo/ when foo is a folder
the following works: https://dcpos.ch/yimby/zoning
(it's a server side redirect to https://dcpos.ch/yimby/zoning/ )
proposed Beaker solution (A)
Beaker could canonicalize dat URLs so that directories always end in a /. in other words, dat://example.com/foo would join the swarm, start downloading--then once it sees that foo is a folder (vs, say, foo.html), it changes the URL to dat://example.com/foo/ and renders the index.
alternate solution (B)
it is possible to work around this now, via a client-side redirect -- but that's kind of ugly.
i think it should be possible to host plain HTML via dat, including index.html and relative links.
for that to work correctly without adding Javascript, i think we need solution A.

Solution A seems reasonable to me. Does anybody object to that?

(Thanks for the detailed writeup!)
On Wed, Nov 1, 2017 at 6:17 PM, DC notifications@github.com wrote:

Operation System: all
Beaker Version: v0.7.7
say dat://path/index.html exists
Then, loading dat://path and dat://path/ in Beaker will both display that
file.
In the first case, though, relative links are broken.
example 1 (works)
dat://dcpos.ch/yimby/zoning/
[image: image]
https://user-images.githubusercontent.com/169280/32302288-2290c498-bf1f-11e7-80fb-afa08ba6c0ab.png
example 2 (broken)
dat://dcpos.ch/yimby/zoning
[image: image]
https://user-images.githubusercontent.com/169280/32302312-3f757036-bf1f-11e7-9906-18d196b2ff5e.png
old web solution
on the centralized web, people usually fix this problem via server
configuration. for example, i have Nginx configured to redirect /foo to
/foo/ when foo is a folder
proposed Beaker solution (A)
Beaker could canonicalize dat URLs so that directories always end in a /.
in other words, dat://example.com/foo would join the swarm, start
downloading--then once it sees that foo is a folder (vs, say, foo.html),
it changes the URL to dat://example.com/foo/ and renders an index.
alternate solution (B)
it is possible to work around this now, via a client-side redirect -- but
that's kind of ugly.
i think it should be possible to host plain HTML via dat, including
folders containing index.html and relative links.
for that to work correctly without adding Javascript, i think we need
solution A.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/736, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU7ixm1Okht-pyh6c5fbCjPirdJLOks5syPv2gaJpZM4QO9OG
.

🤦♂ So, electron doesn't currently support redirect responses in the custom protocols. But! There's a new way to do custom protocols which will be in the next release, so let's watch for that and see if we can get redirects to work there. (https://github.com/electron/electron/pull/11008)

authors: dcposch pfrazee

repo: beakerbrowser/beaker


text:
0.5.0 is a breaking change

Hey all,
One of my colleagues noticed that buckets was no longer part of Distribution in 0.5.0.
That is a breaking change. I would ask that 0.5.0 is retired and pulled and you call it 1.0.0, so that we can keep the version as a sem-ver.

I read https://semver.org again.
I wish you wouldn't disregard, but I can't stop you.

We haven't released v1.0.0 exactly because the API is not stable yet. We try to minimize breaking changes but the lib is still evolving.

authors: isaacsanders josevalim


text:
🛑 Archive Booru (HyBooru) is down

In 69ccf80, Archive Booru (HyBooru) ($MAOW_VERY_SECRET_SITE_2) was down:

HTTP code: 530
Response time: 83 ms

Resolved: Archive Booru (HyBooru) is back up in 8db660b after 6 minutes.


text:
🛑 Archive Server (Hydrus network api) is down

In 691373f, Archive Server (Hydrus network api) ($MAOW_VERY_SECRET_SITE_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Archive Server (Hydrus network api) is back up in 11c632c.


text:
🛑 Archive Server (Hydrus network api) is down

In 918513b, Archive Server (Hydrus network api) ($MAOW_VERY_SECRET_SITE_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Archive Server (Hydrus network api) is back up in 94eed29.


text:
🛑 Archive Server (Hydrus network api) is down

In 3d7dbca, Archive Server (Hydrus network api) ($MAOW_VERY_SECRET_SITE_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Archive Server (Hydrus network api) is back up in 4ebcff7.


text:
Performance Optimization for Reflect.getObjectFieldValue()

/**
* This is a static instance of a zero length
Object array, that is frequently used
* in getter method calls
*/
private static final Object[]
zeroLengthObjectArray = new Object[0];

/**
*/
public static Object getObjectFieldValue( Object
object, String fieldName )
throws UtilEvalError, ReflectError
{
if ( object instanceof This )
    return ((This) object).namespace.getVariable( fieldName );
else {
    try {
        return getFieldValue(object.getClass(), object, fieldName, false/*onlystatic*/);
    } catch ( ReflectError e ) {
        // no field, try property acces

        // FIXME: THIS WAS KIND OF INEFFICIENT, FIRST hasObjectPropertyGetter()
        // CHECKS THE CURRENT OBJECT, AND IF IT IS SUCCESSFUL, THE ENTIRE CLASS HIERARCHY
        // IS TRAVERSED TO FIND A "MOST SPECIFIC MATCH" FOR A ZERO-ARGUMENT METHOD !!!!
        //	if (hasObjectPropertyGetter( object.getClass(),fieldName ) )
                //	return getObjectProperty( object, fieldName );
            //	else
                //	throw e;
        try {
            String accessorName = accessorName( "get", fieldName );
            Method method = object.getClass().getMethod( accessorName, zeroLengthClassArray );
            return invokeMethod( method, object, null );
        } catch (NoSuchMethodException exc ) {
        } catch (InvocationTargetException exc ) {
        } catch (SecurityException exc ) {
        } catch ( ReflectError exc ) {
        } catch ( Exception exc ) {}
        try {
            String accessorName = accessorName( "is", fieldName );
            Method method = object.getClass().getMethod( accessorName, zeroLengthClassArray );
            if (method.getReturnType() == Boolean.TYPE ) {
                return invokeMethod( method, object, null );
            }
        } catch (NoSuchMethodException exc ) {
        } catch (InvocationTargetException exc ) {
        } catch (SecurityException exc ) {
        } catch ( ReflectError exc ) {
        } catch ( Exception exc ) {}
        // FIXME: END OF OPTIMIZATION
        throw e;
        }
    }
}

Reported by: *anonymous
Original Ticket: "beanshell/patches/13":https://sourceforge.net/p/beanshell/patches/13

This does not seem applicable nor viable anymore for BeanShell v3.

authors: jimjag sourceforge-issue-exporter

repo: beanshell/beanshell


text:
Added new information on README.md

This helps new contributors to understand more about the project.

Ah, I forgot to send the favicon one to another pull request.

repo: bearcatsdev/adab-web