text:
Added Euro functionality for Euro trading pairs*

Tested on Binance!

user_config.yaml
Added is_euro bool variable, False by default.
corecito_account.py
Added 'self.is_euro' var to store is_euro config variable
corecito.py
Added conditions to trade in Euro if var 'euro' is True

Looking at the Euro pairs they don't seem to have anything special. The base currency in most crypto pairs is Bitcoin and the base currency in all Euro and USD pairs is the fiat, so in theory it should work just adjusting the config. Do you know if this is the case?
I tried myself but the timestamp prevents me from testing this, could you please check if the code from main branch works using this config below?
binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance
binance_core_number_currency: BTC # # This must be one of the coins listed in Binance
binance_base_currency: EUR # # This must be one of the coins listed in Binance
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

Looking at the Euro pairs they don't seem to have anything special. The base currency in most crypto pairs is Bitcoin and the base currency in all Euro and USD pairs is the fiat, so in theory it should work just adjusting the config. Do you know if this is the case?
I tried myself but the timestamp prevents me from testing this, could you please check if the code from main branch works using this config below?
binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance
binance_core_number_currency: BTC # # This must be one of the coins listed in Binance
binance_base_currency: EUR # # This must be one of the coins listed in Binance
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

Maybe the config above works but it's not want you want. 😅
I built the first version of corecito to generate ETH benefits using BTC as the base currency and my assumption now is that if you change just the settings to use the BTCEUR pair, like I described above, it will generate BTC benefits based on a core number of BTC.
What users probably want instead is to generate EUR/fiat benefits based on a core number of EUR/fiat.
In this case, indeed most ecuations have to be inverted and probably the right name for the boolean config variable should be something like invert_pair (instead of is_euro) and the config should look something like this:
binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance it was ETHBTC
binance_core_number_currency: EUR # The currency in which to produce benefits and denominate the core number. E.g. 1000 EUR or 10 ETH
binance_base_currency: EUR # The currency in which the transactions are made (usually the left currency in the pair)
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

Maybe the config above works but it's not want you want. 😅
I built the first version of corecito to generate ETH benefits using BTC as the base currency and my assumption now is that if you change just the settings to use the BTCEUR pair, like I described above, it will generate BTC benefits based on a core number of BTC.
What users probably want instead is to generate EUR/fiat benefits based on a core number of EUR/fiat.
In this case, indeed most ecuations have to be inverted and probably the right name for the boolean config variable should be something like invert_pair (instead of is_euro) and the config should look something like this:
binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance it was ETHBTC
binance_core_number_currency: EUR # The currency in which to produce benefits and denominate the core number. E.g. 1000 EUR or 10 ETH
binance_base_currency: EUR # The currency in which the transactions are made (usually the left currency in the pair)
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance
binance_core_number_currency: BTC # # This must be one of the coins listed in Binance
binance_base_currency: EUR # # This must be one of the coins listed in Binance
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

This configuration will raise the next issue:
1 -i.e. We have 0.3 bitcoin to play with and 10000€ in the fiat wallet
As we use the BTC/EUR pair, the buy and sell ticker are gonna be read in euros, as Binance returns that.
i.e.
buy_price = 30000
sell_price = 30100
2 - the deviated_core_number will result as
deviated_core_number = balances['base_currency_available'] / buy_price
deviated_core_number = 10000 / 30000
deviated_core_number = 0.33
Corecito will think that the price has plummeted printing that the price drop 100% as:

I used this configuration in my first run. I wanted to see what would do your code in a different Pair.
That's why I had to multiply the base currency instead of using the division, but! Using BTC as core_number_currency will bring the next issue:
deviated_core_number = balances['base_currency_available'] / buy_price
deviated_core_number = 10000 * 30000
deviated_core_number = 300000000
So we get the same issue as before, but this time the price exploded.

Conclusion is that the core_number_currency in fiat pairs has to be the fiat symbol code (EUR, USDT, etc...), forcing us to create the fiat conditional statements.
====================

What users probably want instead is to generate EUR/fiat benefits based on a core number of EUR/fiat.

Correct.

In this case, indeed most ecuations have to be inverted and probably the right name for the boolean config variable should be something like invert_pair (instead of is_euro) and the config should look something like this:

I agree, the var name is not accurate, as it could be USDT, GBP, DAI, PAX, etc...
@sebaslogen  what about is_fiat or just fiat?

binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance it was ETHBTC
binance_core_number_currency: EUR # The currency in which to produce benefits and denominate the core number. E.g. 1000 EUR or 10 ETH
binance_base_currency: EUR # The currency in which the transactions are made (usually the left currency in the pair)
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

This configuration would be like using a EUR/EUR pair, bringing back the same issue as reported above.

binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance
binance_core_number_currency: BTC # # This must be one of the coins listed in Binance
binance_base_currency: EUR # # This must be one of the coins listed in Binance
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

This configuration will raise the next issue:
1 -i.e. We have 0.3 bitcoin to play with and 10000€ in the fiat wallet
As we use the BTC/EUR pair, the buy and sell ticker are gonna be read in euros, as Binance returns that.
i.e.
buy_price = 30000
sell_price = 30100
2 - the deviated_core_number will result as
deviated_core_number = balances['base_currency_available'] / buy_price
deviated_core_number = 10000 / 30000
deviated_core_number = 0.33
Corecito will think that the price has plummeted printing that the price drop 100% as:

I used this configuration in my first run. I wanted to see what would do your code in a different Pair.
That's why I had to multiply the base currency instead of using the division, but! Using BTC as core_number_currency will bring the next issue:
deviated_core_number = balances['base_currency_available'] / buy_price
deviated_core_number = 10000 * 30000
deviated_core_number = 300000000
So we get the same issue as before, but this time the price exploded.

Conclusion is that the core_number_currency in fiat pairs has to be the fiat symbol code (EUR, USDT, etc...), forcing us to create the fiat conditional statements.
====================

What users probably want instead is to generate EUR/fiat benefits based on a core number of EUR/fiat.

Correct.

In this case, indeed most ecuations have to be inverted and probably the right name for the boolean config variable should be something like invert_pair (instead of is_euro) and the config should look something like this:

I agree, the var name is not accurate, as it could be USDT, GBP, DAI, PAX, etc...
@sebaslogen  what about is_fiat or just fiat?

binance_trading_pair: BTCEUR # This must be one of the pairs listed in Binance it was ETHBTC
binance_core_number_currency: EUR # The currency in which to produce benefits and denominate the core number. E.g. 1000 EUR or 10 ETH
binance_base_currency: EUR # The currency in which the transactions are made (usually the left currency in the pair)
binance_max_decimals_buy: 6
binance_max_decimals_sell: 6

This configuration would be like using a EUR/EUR pair, bringing back the same issue as reported above.

The rename to is_fiat is fine and the code also looks good to me.
I was hoping to generalize your code even further for all pairs where you want to obtain profits on the other side of the pair, but that's too ambitious and not needed at all for now.
Can you rename the variable and I press merge?

The rename to is_fiat is fine and the code also looks good to me.
I was hoping to generalize your code even further for all pairs where you want to obtain profits on the other side of the pair, but that's too ambitious and not needed at all for now.
Can you rename the variable and I press merge?

Can you rename the variable and I press merge?

Done!
Please be sure to run some Tests when running your BTC/ETH pair!!!

Can you rename the variable and I press merge?

Done!
Please be sure to run some Tests when running your BTC/ETH pair!!!

authors: Leunam sebaslogen

repo: sebaslogen/corecito


text:
Save and List in the same session return too many results

using (var session = store.CreateSession())
{
  session.Save(billg);
  session.Save(billm);

  var people = await session.QueryAsync<Person>().List();
}

return 4 elements instead of 2

Probably fixed with a recent commit

source: gharchive/issue

repo: sebastienros/yessql

license: mit

license_type: permissive

license_source: bigquery


text:
New Lightstrip Plus with BT

Also the new Lightstrip Plus has changed, it now supports Bluetooth and is no longer recognised by the app.
https://www.philips-hue.com/nl-nl/p/hue-white-and-color-ambiance-lightstrip-plus-basispakket--2-meter/8718699703424
Producent: Philips
Product ID: LCL001
Device ID: 269
Profile: 260
regards,
Erwin

Can confirm that this is the case, have the same issue

Hi @Erwin-1234, that's correct.. that model of the strip have a new Product ID and will have to be added to the app. Adding it to my todo list.

Added to next release (SDK3)

authors: Ekorrmage Erwin-1234 JohanBendz

license: MIT

license_source: github-api


text:
数据授权

Issue Type
CCL
Have you searched for existing issues?
Yes
Link to Relevant Documentation
No response
Question Details
我在试用P2P模式部署两个节点（SCQL），分别为alice和bob方，alice/bob可以对另外一方数据授权，这种情况是不是有问题啊？如果有问题的话，那相关参数是哪些呢

Sorry,  我没有理解你的问题，能否具体描述一下？
比如，alice/bob 可以对另外一方数据进行授权，是什么意思？目前只有数据 owner 可以对数据进行授权，不存在你说的问题。

我使用P2P模式创建了两个节点（各一台机器），其中alice是10.83.179.9，bob是10.83.179.12，在任意一个节点都可以执行以下全部操作，这样是没问题的吗：
==============Alice创建项目并邀请Bob加入=================
./brokerctl create project --project-id "demo" --host http://10.83.179.9:8180
./brokerctl get project --host http://10.83.179.9:8180
./brokerctl invite bob --project-id "demo" --host http://10.83.179.9:8180
./brokerctl get invitation --host http://10.83.179.12:8180
./brokerctl process invitation 1 --response "accept" --project-id "demo" --host http://10.83.179.12:8180
./brokerctl get project --host http://10.83.179.12:8180
#===================创建数据表====================
./brokerctl create table ta --project-id "demo" --columns "ID string, credit_rank int, income int, age int" --ref-table alice.user_credit --db-type mysql --host http://10.83.179.9:8180
./brokerctl get table ta --host http://10.83.179.9:8180 --project-id "demo"
./brokerctl create table tb --project-id "demo" --columns "ID string, order_amount double, is_active int" --ref-table bob.user_stats --db-type mysql --host http://10.83.179.12:8180
./brokerctl get table tb --host http://10.83.179.12:8180 --project-id "demo"
=========================授权CCL===========================
./brokerctl grant alice PLAINTEXT --project-id "demo" --table-name ta --column-name ID --host http://10.83.179.9:8180
./brokerctl grant alice PLAINTEXT --project-id "demo" --table-name ta --column-name credit_rank --host http://10.83.179.9:8180
./brokerctl grant alice PLAINTEXT --project-id "demo" --table-name ta --column-name income --host http://10.83.179.9:8180
./brokerctl grant alice PLAINTEXT --project-id "demo" --table-name ta --column-name age --host http://10.83.179.9:8180
./brokerctl grant bob PLAINTEXT_AFTER_JOIN --project-id "demo" --table-name ta --column-name ID --host http://10.83.179.9:8180
./brokerctl grant bob PLAINTEXT_AFTER_GROUP_BY --project-id "demo" --table-name ta --column-name credit_rank --host http://10.83.179.9:8180
./brokerctl grant bob PLAINTEXT_AFTER_AGGREGATE --project-id "demo" --table-name ta --column-name income --host http://10.83.179.9:8180
./brokerctl grant bob PLAINTEXT_AFTER_COMPARE --project-id "demo" --table-name ta --column-name age --host http://10.83.179.9:8180
./brokerctl grant bob PLAINTEXT --project-id "demo" --table-name tb --column-name ID --host http://10.83.179.12:8180
./brokerctl grant bob PLAINTEXT --project-id "demo" --table-name tb --column-name order_amount --host http://10.83.179.12:8180
./brokerctl grant bob PLAINTEXT --project-id "demo" --table-name tb --column-name is_active --host http://10.83.179.12:8180
./brokerctl grant alice PLAINTEXT_AFTER_JOIN --project-id "demo" --table-name tb --column-name ID --host http://10.83.179.12:8180
./brokerctl grant alice PLAINTEXT_AFTER_COMPARE --project-id "demo" --table-name tb --column-name is_active --host http://10.83.179.12:8180
./brokerctl grant alice PLAINTEXT_AFTER_AGGREGATE --project-id "demo" --table-name tb --column-name order_amount --host http://10.83.179.12:8180

这是用一个上帝视角模拟两个机构。在实际的部署情况下，alice 是无法访问 bob 的 broker intra 端口的，也就是 broker intra 服务只能域内访问。

那在实际部署中通过哪个或者哪些参数来避免Alice/bob无法互相访问对方的broker  intra端口的呢

我把 conf.yml文件修改这host的配置（两边一致）：

重启docker-compo
se后，报这个错，该如何解决啊

容器里的 localhost 地址无法 published 到 host 上给外面访问？可以尝试 google 一下看看那 docker 端口 bind 的问题哈

好的 谢谢大佬

repo: secretflow/scql


text:
repo-sync-2024-01-31T14:45:37+0800

Fixed

Fix error in sgb predict
Remove advanced join type in psi

I have read the CLA Document and I hereby sign the CLA

source: gharchive/pull-request

repo: secretflow/secretflow


text:
Enhancing security for free BSD using IPFW and SSH Guard

Proposal Submission
Proposed title of article
Enhancing security for free BSD using IPFW and SSH Guard
Proposed article introduction
VPS servers are frequently targeted by intruders. A common type of attack shows up in system logs as hundreds of unauthorized ssh login attempts. Setting up a firewall is very useful, but by itself may not adequately control disruptive intrusion attempts.
This tutorial shows how to construct an enhanced intrusion barrier for FreeBSD using two programs, the ipfw firewall and sshguard. SSHGuard is a small add-on program that monitors system logs for "abusive" entries. When offenders attempt to gain access, sshguard instructs ipfw to block traffic originating from the offender's IP address. The offender is then effectively shut out.
Once it's understood how these programs work, managing server protection is pretty simple. Though this guide is focused on configuring FreeBSD, parts of it apply to other OS and firewall software.
Key takeaways

Configuring IPFW
Install and configure SSHGuard
Create a rules script
Startup and testing
Keeping vigilant.

References
n/a
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Please fill in the article quality section so we can review your topic suggestion.

Please ensure that all sections are filled appropriately before submitting a topic for approval

authors: Vivianbarry WanjaMIKE louisefindlay23


text:
[FEAT] Nvidia Kargs just Command

Describe the benefit this feature would provide to the project
This would make it so users would have one less thing to copy and paste, post install. They could instead simply just type in something like ujust set-kargs-nvidia (or also copy/paste it)  This would also make things more consistent with the rest of the post install process.
Describe the solution you'd like
Have the first rpm-ostree command the post install readme asks people to copy/paste ran by a ujust command instead. The second command should remain manual as it only applies to certain setups. Additionally, document these kargs in a separate category in 70-secureblue.just.readme.md
Alternative I've considered
Would it instead be possible to automatically apply these if somebody is on one of the Nvidia images, potentially via a recipe? Especially as they're fairly harmless, and most users running on the Nvidia images will want to apply them.
Declaration

[x] I declare that I have read the README and my feature request is in-scope.

ujust configure-nvidia from upstream has this, but I believe it's missing the fbdev karg
So the options are: get a change made upstream and then recommend upstream's command
or:
use patch to patch out upstream's command and add ours instead, to prevent user confusion with two identical commands

authors: mintpilo qoijjj

repo: secureblue/secureblue


text:
chore: fix bash syntax error

Fixes a small syntax error

/lgtm

repo: securesign/trillian


text:
Example doesn't work

The README lists the example:
import validate from '../csaf-validator-lib/validate.js'

const document = '{}'
const tests = [
  {
    type: 'preset',
    name: 'mandatory'
  },
  {
    type: 'test',
    name: 'optionalTest_6_2_1'
  }
]

const result = await validate(tests, document)

However, that does not work for me. It throws an error:
file:///anywhere/csaf-validator-lib/lib/validate.js:11
    const result = await test(doc)
                         ^

TypeError: test is not a function
    at default (file:///anywhere/csaf-validator-lib/lib/validate.js:11:26)
    at file:///anywhere/csaf-validator-lib/testing.js:15:22
    at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
    at async Loader.import (internal/modules/esm/loader.js:178:24)
    at async Object.loadESM (internal/process/esm_loader.js:68:5)
    at async handleMainPromise (internal/modules/run_main.js:59:12)

Based on a quick search, I guess the tuple of typeand name isn't implemented here. Correct?

Thank very much for checking this. This is actually an outdated API. I missed to update this example. Fixin' it right now :)

repo: secvisogram/csaf-validator-lib


text:
Issue with building docker image

If you try to build the docker image with a reference to the git repository (docker build https://github.com/secvisogram/csaf-validator-service.git#main), there is a problem with the git submodules. The following error is thrown:
unable to prepare context: unable to 'git clone' to temporary context directory: error initializing submodules: fatal: Keine URL für Submodul-Pfad 'csaf-validator-lib/csaf' in .gitmodules gefunden
: exit status 128

Is it possible to add a .gitmodules in the base folder?
[submodule "csaf-validator-lib/csaf"]
	path = csaf-validator-lib/csaf
	url = https://github.com/oasis-tcs/csaf.git

I tested it on a fork and have not recognized any problems.

Is it possible to add a .gitmodules in the base folder?

Theoretically, yes. However, we shouldn't need that as there is already a .gitmodules in the csaf-validator-lib directory. So, I think the problem is deeper within...

I figured out that csaf-validator-lib is currently not recognized as a subtree. We need to check whether that is correct...

repo: secvisogram/csaf-validator-service


text:
lavaplayer does not include DaemonThreadFactory.class

I'm trying to make a Discord bot with JDA that uses lavaplayer but I keep getting a java.lang.NoClassDefFoundError, with the error message saying that it can't find com/sedmelluq/discord/lavaplayer/tools/DaemonThreadFactory. I did a little digging in the .jar and found out that DaemonThreadFactory.class wasn't in it despite being a seemingly vital part of lavaplayer.
java.lang.NoClassDefFoundError: com/sedmelluq/discord/lavaplayer/tools/DaemonThreadFactory 	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.<init>(DefaultAudioPlayerManager.java:105) 	at test.bot.TestBot.onMessageReceived(TestBot.java:46) 	at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:417) 	at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84) 	at net.dv8tion.jda.core.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:122) 	at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37) 	at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:1051) 	at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:911) 	at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:890) 	at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:1089) 	at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368) 	at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270) 	at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990) 	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749) 	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) 	at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) 	at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) Caused by: java.lang.ClassNotFoundException: com.sedmelluq.discord.lavaplayer.tools.DaemonThreadFactory 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338) 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 	... 17 more

Looks like a duplicate of #120

Well at least on this one I've identified the problem

I don't know if this is useful information, but I actually went through a lot of the versions they have on bintray and decompiled each of them. First of all, the class that is throwing the exception doesn't decompile, and not even the earliest version listed (1.1.36) has a DaemonThreadFactory class. I'm working on a bot with a friend and we can't seem to figure out why this is an issue. All I know is that as of https://github.com/sedmelluq/lavaplayer/commit/facc8ebf3fa0d80896827e07b79303022988acc6 DefaultAudioPlayerManager.java clearly still has a reference to DaemonThreadFactory in it's constructor despite it not existing.

authors: CodeBasePW mkoijn3 napstr

repo: sedmelluq/lavaplayer


text:
Convert guide docs into executable, reproducible docs

This is the power of Quarto. That way, we can use the docs as an approximate way of "integration testing", or at least "usability testing" since it will run the guide docs whenever the docs are updated.

[x] add workflow to build the docs (using tags as a trigger as well, to check for changes from version updates)

This was done already.

repo: seedcase-project/seedcase-sprout


text:
live data?

Is this data updated real-time, during a game? or is it updated in bulk offline?

Unfortunately for box scores the data has a slight delay of about 5-10 real time minutes. I wouldn't advise hitting this API to get real time box score data.


text:
Allows you to create docker image

Hello,
I have added this in order to use aws-okta from a docker image, I think it is useful specially with windows users.

@pollosp 	Thanks again. We had a Segmenter add https://github.com/segmentio/aws-okta/pull/130, and I hadn't had the chance to circle back to this PR since you added fixes. I'm going to merge #130 for no other reason than we control it. Thanks for your PR though, and sorry I didn't get to it sooner.

authors: nickatsegment pollosp

repo: segmentio/aws-okta


text:
Expose matcher regex

Tests pass locally if run with mocha

I'm curious -- why is this desirable? It breaks encapsulation, so if a more complex scheme were ever used to validate URLs (as in #18) there would be backwards compatibility issues.

@davisjam It may not be widely desirable. Although, i'm not quite sure i'm on the same page on compatibility, i'd have thought the situation would be the same given a regex change; it'd be a semvar major. My use case was i was looking for a well tested regex packaged into a tidy module.

If the regex is not exported, then you could make a non-breaking change in how the URL is tested without changing the semver major.
That's what I've attempted (I think successfully?) in #18.
If the regex is exported, then any change to how the URL test is performed would be semver-major.

@davisjam Ah i got you. I think you can treat semvar exactly the same exposed or not; in any case the it's the behaviour of the regex that's depended on right and not it's exact pattern since two patterns can be equivocal, but different, for instance. In any case, this PR is not too important to me, just thought it would be a nice addition. So happy to close for now.

In #18 multiple regexes are used, and in futures perhaps still more wilder changes might be afoot!

@davisjam Fair enough :) Indeed, multiple regexes would make this untenable in any case.

authors: davisjam jacktuck

repo: segmentio/is-url


text:
Use placeholder attribute as a default placeholder option

The plugin should use the element's placeholder attribute as the default placeholder option.

We used to support this in older versions of Select2.

I see, now it's a data- attribute, which is more standards compliant since placeholder isn't a valid attribute for the <select> element.

since placeholder isn't a valid attribute for the  element.

When I was writing up another comment I realized this, just dropped it off of the milestone for 4.0.1.

From #4059, the documentation still eludes to the idea of using placeholder="" along side a shim script if necessary. It'd be nice to see the documentation updated to make sure it's clear that data-placeholder="" is the requirement now. I don't think the shims mentioned even work for a select element making their suggestion pointless in this specific use case.
Finally, awesome lib, thank you!

the documentation still eludes to the idea of using placeholder="" along side a shim script if necessary

Yup, this is definitely a place in the documentation that could use some rewording. Maybe you can help with that, after I explain what the following line was attempting to say?

A placeholder value can be defined and will be displayed until a selection is made. Select2 uses the placeholder attribute on multiple select boxes, which requires IE 10+. You can support it in older versions with the Placeholders.js polyfill.

Select2 allows for placeholders to be displayed on the select box, taking the place of the placeholder option (usually an empty <option></option>). For multiple select boxes, this placeholder is set on the search <input /> using the placeholder option (so <input placeholder="my placeholder text" />). In older browsers (IE < 10), the placeholder option is not fully supported, so you need to use the Placeholders.js polyfill to support them.

At some point, when I get the time, I'll break this documentation issue out into it's own separate ticket and work on correcting it. Ideally before 4.0.2 is released.

authors: kevin-brown matt-stuart samholmes


text:
Tagging doesn't support input Spanish accent mark characters in Firefox

Prerequisites

[x] I have searched for similar issues in both open and closed tickets and maybe I found a duplicate: https://github.com/select2/select2/issues/4743
[x] The issue still exists against the latest master branch of Select2
[ ] This is not a usage question (Those should be directed to the community)
[ ] I have attempted to find the simplest possible steps to reproduce the issue
[ ] I have included a failing test as a pull request (Optional)

Steps to reproduce the issue

ONLY in Firefox browsers, no matter which version, which OS
Enable tagging
Try so write a tag with á, é or ó character
Never get the correct result

Environment
Browsers

[ ] Google Chrome
[x] Mozilla Firefox
[ ] Internet Explorer

Operating System

[ ] Windows
[x] Mac OS X
[ ] Linux
[ ] Mobile

Libraries

jQuery version: 3.1.1
Select2 version: 4.0.3

Isolating the problem

[x] This bug happens on the examples page
[x] The bug happens consistently across all tested browsers
[x] This bug happens when using Select2 without other pluigns
[ ] I can reproduce this bug in a jsbin

As I write before, I found simmilar issue at: https://github.com/select2/select2/issues/4743
Best regards.

I can't reproduce this, neither on the examples pages nor in my webapp. I can write accents and ñ and it appears as I wrote it.

I can't reproduce this, neither in the examples pages nor in my webapp. I can write accents and ñ and it appears as I wrote it. I'm on linux 4.9 using firefox 50.1.0.

It seems it only reproduce on MacOS with firefox.

Here you have more details:
When I want to write á inside select2, it shows ´ first and then when I push 'a' it apears as á.
I think it crashes because select2 try to white a single ´ with no character.
Thanks.

Closing this as a duplicate of #4743.

authors: ChazyTheBest alexweissman gejobj


text:
SonarQube support

Please consider addressing code formatting so that it passes the default standard SonarQube security scan rules: https://docs.sonarqube.org/display/SONAR/Documentation

We are focused now to fix UI bugs. But if you open PR with unit tests, I will be glad to review that and approve if everything is ok :+1: Feel free to reopen when PR are done.

authors: jillsaintcyr pedrofurtado


text:
! Allow HTML5 validation message to be displayed in the right position

For #128

This pull request is aimed at 3.5.x, and we don't know when the next release for that will be.
If you're interested in fixing it for 4.0 as well, feel free to make a pull request against select2-ng.

I think this should merged anyway
I haven't used select2-ng yet, so I got no idea if that is fixed or not (or how to fix)

@PikachuEXE Your solution doesn't work in Opera :/

authors: PikachuEXE kevin-brown leods92


text:
C段扫描出现错误

| ✓ | 192.168.0.85    | 3389 |RDP
[...] 正在进行弱口令扫描 -> rdp://192.168.0.85:3389?user=administrator?passwd=q12345panic: runtime error: slice bounds out of range [4294967288:2]
goroutine 28106 [running]:
github.com/tomatome/grdp/protocol/nla.(*ChallengeMessage).getTargetName(...)
github.com/tomatome/grdp@v0.1.0/protocol/nla/ntlm.go:175
github.com/tomatome/grdp/protocol/nla.(*NTLMv2).GetAuthenticateMessage(0xc0026f8000, {0xc0013c81b0, 0x82, 0x82})
github.com/tomatome/grdp@v0.1.0/protocol/nla/ntlm.go:386 +0x1278
github.com/tomatome/grdp/protocol/tpkt.(*TPKT).recvChallenge(0xc002255680, {0xc0023c4000, 0xbd, 0x400})
github.com/tomatome/grdp@v0.1.0/protocol/tpkt/tpkt.go:89 +0x2c5
github.com/tomatome/grdp/protocol/tpkt.(*TPKT).StartNLA(0xc002255680)
github.com/tomatome/grdp@v0.1.0/protocol/tpkt/tpkt.go:74 +0x30a
github.com/tomatome/grdp/protocol/x224.(*X224).recvConnectionConfirm(0xc000a411d0, {0xc0017aef80, 0xf, 0xf})
github.com/tomatome/grdp@v0.1.0/protocol/x224/x224.go:258 +0x3dc
reflect.Value.call({0x176af80?, 0xc001b50a30?, 0xa2c936?}, {0x193d18c, 0x4}, {0xc0024267b0, 0x1, 0x1?})
reflect/value.go:586 +0xb0b
reflect.Value.Call({0x176af80?, 0xc001b50a30?, 0xc00226fea0?}, {0xc0024267b0?, 0x19260a0?, 0xc0017aef80?})
reflect/value.go:370 +0xbc
github.com/tomatome/grdp/emission.(*Emitter).callListeners.func1({0x176af80?, 0xc001b50a30?, 0xc0017aef6a?})
github.com/tomatome/grdp@v0.1.0/emission/emitter.go:226 +0x468
created by github.com/tomatome/grdp/emission.(*Emitter).callListeners
github.com/tomatome/grdp@v0.1.0/emission/emitter.go:201 +0x85

这个是grdp的问题（出现的机率很小），在golang项目中只要涉及到rdp协议扫描基本都存在此问题，后续可以通过-e 3389跳过扫描此端口，或--nocrack不进行弱口令扫描，来暂时解决。

我的是这个问题
[|] 当前进度: 51.90%panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x2 pc=0xa4364f]
goroutine 55489 [running]:
github.com/tomatome/grdp/protocol/t125.(*MCSClient).recvChannelJoinConfirm(0xc001b269b0, {0xc0019dcf03, 0x8, 0x8})
C:/Users/Administrator/Downloads/Compressed/Golin-master/vendor/github.com/tomatome/grdp/protocol/t125/mcs.go:513 +0x54f
reflect.Value.call({0xe37ca0?, 0xc00081d6e0?, 0xff7200?}, {0x100dd14, 0x4}, {0xc000a1eba0, 0x1, 0x0?})
C:/Program Files/Go/src/reflect/value.go:596 +0xce7
reflect.Value.Call({0xe37ca0?, 0xc00081d6e0?, 0x1111c5?}, {0xc000a1eba0?, 0xff7200?, 0x1295aa0?})
C:/Program Files/Go/src/reflect/value.go:380 +0xb9
github.com/tomatome/grdp/emission.(*Emitter).callListeners.func1({0xe37ca0?, 0xc00081d6e0?, 0xc0019dcef2?})
C:/Users/Administrator/Downloads/Compressed/Golin-master/vendor/github.com/tomatome/grdp/emission/emitter.go:226 +0x405
created by github.com/tomatome/grdp/emission.(*Emitter).callListeners in goroutine 55488
C:/Users/Administrator/Downloads/Compressed/Golin-master/vendor/github.com/tomatome/grdp/emission/emitter.go:201 +0x7f

可以尝试更新一下版本在试试。

我这个问题 [|] 当前文档：51.90％恐慌：运行时错误：无效的内存地址或零指针取消引用 [信号0xc0000005代码= 0x0地址= 0x2 pc=0xa4364f]
goroutine 55489 [运行]: github.com/tomatome/grdp/protocol/t125.(*MCSClient).recvChannelJoinConfirm(0xc001b269b0, {0xc0019dcf03, 0x8, 0x8}) C:/Users/Administrator/Downloads/Compressed/Golin-master/供应商/github.com/tomatome/grdp/protocol/t125/mcs.go:513 +0x54f Reflect.Value.call({0xe37ca0?, 0xc00081d6e0?, 0xff7200?}, {0x100dd14, 0x4}, {0xc000a1eba0, 0x1, 0x0 ？}) C:/Program Files/Go/src/reflect/value.go:596 +0xce7 Reflect.Value.Call({0xe37ca0?, 0xc00081d6e0?, 0x1111c5?}, {0xc000a1eba0?, 0xff7200?, 0x1295aa0?}) C:/Program Files/Go/src/reflect/value.go:380 +0xb9 github.com/tomatome/grdp/emission.(*Emitter).callListeners.func1({0xe37ca0?, 0xc00081d6e0?, 0xc0019dcef2?}) C:/Users/Administrator/Downloads/Compressed/Golin-master/vendor/github.com/tomatome/grdp/emission/emitter.go:226 +0x405 由 github.com/tomatome/grdp/emission 创建。(*Emitter) goroutine 中的.callListeners 55488 C:/Users/Administrator/Downloads/Compressed/Golin-master/vendor/github.com/tomatome/grdp/emission/emitter.go:201 +0x7f

同问，用的是最新版本，参数是扫描端口和爆破弱口令，跳过了poc验证

如果每次扫描都会出现这个问题，可以暂时用-e 3389 暂时跳过rdp扫描，可以规避这个问题，另外你的主机是windows什么版本？

hello，可以下载一下最新版，已经根据特定情况处理优化了，看看还会出现此情况吗？

大佬报错

你是刚才那位用windows那位朋友吗，扫描相同地址，windows下是否出现这个问题

你是刚才那位用windows那位朋友吗，扫描相同地址，windows下是否出现这个问题

我是刚刚用mac的我用我朋友的windows也报错

你们是否可以扫描一下外网地址看看问题是否会出现，这个问题我不好定位问题，我的机器一次这个问题都没出现过复现不出来，扫描的内网中是否有开放的3389端口而并不是rdp协议的？

你们是否可以扫描一下外网地址看看问题是否会出现，这个问题我不好定位问题，我的机器一次这个问题都没出现过复现不出来，扫描的内网中是否有开放的3389端口而并不是rdp协议的？

扫外网没事，扫局域网会报错，请问有linux版本吗

后续在出现此问题，可以尝试-e 3389先跳过扫描这个端口，我想办法看看能不能本地复现出来，以下是Linux下可执行文件。
golin.zip

后续在出现此问题，可以尝试-e 3389先跳过扫描这个端口，我想办法看看能不能本地复现出来，以下是Linux下可执行文件。 golin.zip

感谢大佬

是否可加个微信，提供给你一个debug版，帮我收集一下日志看看。

我的VX：SelinuxG

authors: L1L1L1C selinuxG suntinsion xmqaq xsbod

repo: selinuxG/Golin


text:
Not possible to set working directory for a template task

I have a repository with different folders for different Ansible playbooks:
folder 1:
  ansible.cfg
  collections/requirements.cfg
  roles/requirements.cfg
folder 2:
  ansible.cfg
  collections/requirements.cfg
  roles/requirements.cfg

Every folder has different files as described as above.
When I run a tasks I get the following output:
No collections/requirements.yml file found. Skip galaxy install process.
No roles/requirements.yml file found. Skip galaxy install process.

What I need is a way to specify the working directory for a templates to set the root folder for Ansible and all its configurations files.
E.g. for folder 1 I need to set working directory to the folder 1 so ansible can find the ansible cfg file.
How can I do this? Is it possible as of now and how should i do it?

Today I need to prefix all path to playbook with folder 1, folder 2 etc.
It would be nice to set working directory and the use relative paths from there.

repo: semaphoreui/semaphore


text:
Group Channel/ React-Share encrypted files

Members can share encrypted files with a master key saved on sendbird server. This encrypted file has its own access URL, and only member with the master key can decrypt the file and open it.

Blocked due to SDK issues file uploading for the Group channels:

State object requesState is null

and this came from SDK.
Sending the file is working but returns nothing from the server.

authors: AAPK-code octa-george

repo: sendbird/sendbird-chat-sample-react


text:
SendGrid for iPhone and iPad Email Activity

https://sendgrid.com/docs/User_Guide/SendGrid_for_Mobile/email_activity.html
Unlike the web interface, the search box does not currently work with a partial email address.  My typical use case is to search for all addresses at a given domain.  The web interface does this great, but the iOS app seems to only find exact matches.  It also fails without a message, the loading graphic shows briefly then disappears without updating the list.
Thanks

adding @Reformant

authors: joflynn mbernier

repo: sendgrid/docs


text:
contact/recipient ids are encoded email addresses

/API_Reference/Web_API_v3/Marketing_Campaigns/contactdb.html

updated to include explanation that recipient ids are base64 encoded email addresses

@emily-stang-sendgrid Does this look good to you?


text:
Copy updates around dynamic_template_data

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @ksigler7,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


text:
custom field updates for TNE

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX

authors: Whatthefoxsays thinkingserious


text:
1.6.0 causes HPE_INVALID_CONSTANT errors

Previously reported in #150 but also referenced in #80.
Output of npm ls sendgrid is...
pathbrite-worker-email@0.0.1 /home/pathbrite/worker_email
└── sendgrid@1.6.0

Output of node -v is...
v0.10.33

Contents of package.json is...
{
    "name": "pathbrite-worker-email",
    "version": "0.0.1",
    "scripts": {
        "start": "node index"
    },
    "dependencies": {
        "amqp": "*",
        "sendgrid":"*",
        "mu2":"*",
        "underscore":"*"
    }
}

Error message reported is...
{ [Error: Parse Error] bytesParsed: 137, code: 'HPE_INVALID_CONSTANT' }

We were able to get around this error by downgrading to Sendgrid 1.2.7 as suggested in #150 but we loose access to some of the methods that were later added. We'd really like to avoid updating Node.js. Any help would be much appreciated.

What version of request got pulled down?

Looks like request@2.53.0.
The full list is...
pathbrite-worker-email@0.0.1 /home/pathbrite/worker_email
├─┬ amqp@0.2.4
│ └── lodash@1.3.1
├── mu2@0.5.20
├─┬ sendgrid@1.6.0
│ ├── lodash@2.4.1
│ ├── mime@1.3.4
│ ├─┬ request@2.53.0
│ │ ├── aws-sign2@0.5.0
│ │ ├─┬ bl@0.9.4
│ │ │ └─┬ readable-stream@1.0.33
│ │ │   ├── core-util-is@1.0.1
│ │ │   ├── inherits@2.0.1
│ │ │   ├── isarray@0.0.1
│ │ │   └── string_decoder@0.10.31
│ │ ├── caseless@0.9.0
│ │ ├─┬ combined-stream@0.0.7
│ │ │ └── delayed-stream@0.0.5
│ │ ├── forever-agent@0.5.2
│ │ ├─┬ form-data@0.2.0
│ │ │ └── async@0.9.0
│ │ ├─┬ hawk@2.3.1
│ │ │ ├── boom@2.6.1
│ │ │ ├── cryptiles@2.0.4
│ │ │ ├── hoek@2.11.1
│ │ │ └── sntp@1.0.9
│ │ ├─┬ http-signature@0.10.1
│ │ │ ├── asn1@0.1.11
│ │ │ ├── assert-plus@0.1.5
│ │ │ └── ctype@0.5.3
│ │ ├── isstream@0.1.1
│ │ ├── json-stringify-safe@5.0.0
│ │ ├─┬ mime-types@2.0.9
│ │ │ └── mime-db@1.7.0
│ │ ├── node-uuid@1.4.2
│ │ ├── oauth-sign@0.6.0
│ │ ├── qs@2.3.3
│ │ ├── stringstream@0.0.4
│ │ ├─┬ tough-cookie@0.12.1
│ │ │ └── punycode@1.3.2
│ │ └── tunnel-agent@0.4.0
│ └── smtpapi@1.1.0
└── underscore@1.8.2

Interesting. I'm unable to reproduce this on 0.10.33. Could you please tell me more about what you're doing? Attaching files? Using the smtpapi header? Anything that stands out?

We're instantiating an email object with the to, toname, from, fromname, subject, text, html and date parameters, then invoking the setCategories(), setUniqueArgs() and setFilters() methods before finally calling send().
The thought occurred to me that we may be sending invalid syntax in either the html parameter or as arguments to the methods but #150 implies we can't parse the response Sendgrid is actually sending?

Hmmm. What environment is your app running in? Heroku? Server?
I'm going to continue to try and reproduce it.

Amazon EC2 instance running Ubuntu 10.04.4 LTS.

I am a coworker of @hodnett.  As an update we tried moving from Node v0.10.33 to v0.12.0 and now get the error: 'SyntaxError: Unexpected end of input JSONPARSEERROR when parsing' as discussed in issue #150.

I'm unable to reproduce this on Heroku or an Ubuntu 10.04 vps.
Can you please isolate and share a reproducible snippet (please remove sensitive information)?

@hodnett @krunkosaurus are you by any chance doing file uploads?

Hi @elbuo8 and @eddiezane. I have zipped up our node script and emailed it to @elbuo8. Please let me know if there's any questions.

I don't believe we are doing file uploads. This script listens to a Rabbitmq job queue that does a lot of things, among them, email jobs.  We have downgraded back to the old Sendgrid 0.2.7 and things are working again but there are some newer features we may need.

Using 0.12 won't work since request doesn't work for it yet.
@krunkosaurus the source code you sent me is using 0.2.7. Please send me your attempt with the latest version of the lib? And please clean up account credentials as I'm no longer a SG employee (and its a good practice anyways).

Whoops. :3
Yeah I realized that about  0.12 after I posted the previous message.  I will clean and pack the new attempt.

While @krunkosaurus works on the new zip archive...
I have a parallel project written in PHP that also needed to send emails. I used Composer (the PHP equivalent of NPM) to grab version 2.2.1 from https://github.com/sendgrid/sendgrid-php and it worked flawlessly. And this project also used file uploads.
This makes me think I'm sending something badly formatted to Sendgrid (problem 1) and we can't parse the error message coming back (problem 2). Hopefully @elbuo8 will see what I've formatted incorrectly once he gets the code but now I'm leaning towards a subtle bug in a sendgrid-nodejs dependency.

I'm getting the same with 0.10.35 and 0.10.37 using it through "nodemailer-sendgrid-transport": "^0.1.0". Appreciate any fix or workaround

@molekilla can you please provide me with the code snippet you are using? Please remove sensitive information.
Having a hard time narrowing this down. I am really thinking it's in node core.

I figured out it was the attachments entry being null. No issues now.
Thanks.
On Mon, Mar 16, 2015, 1:57 PM Eddie Zaneski notifications@github.com
wrote:

@molekilla https://github.com/molekilla can you please provide me with
the code snippet you are using? Please remove sensitive information.
Having a hard time narrowing this down. I am really thinking it's in node
core.
—
Reply to this email directly or view it on GitHub
https://github.com/sendgrid/sendgrid-nodejs/issues/156#issuecomment-81871126
.

I was seeing this error when trying to add files by URL, but the error went away when I added the filename property. From the README it wasn’t immediately obvious this was necessary. I can provide non-working and working examples if desired.

Maybe throw a detailed error description by validating arguments.
On Sat, Apr 4, 2015, 1:13 AM Nicholas Lindley notifications@github.com
wrote:

I was seeing this error when trying to add files by URL, but the error
went away when I added the filename property. From the README it wasn’t
immediately obvious this was necessary. I can provide non-working and
working examples if desired.
—
Reply to this email directly or view it on GitHub
https://github.com/sendgrid/sendgrid-nodejs/issues/156#issuecomment-89510603
.

Thanks @nlindley. I just updated the README with a note.
@molekilla that is something we should check for if this strange error is the outcome.

authors: eddiezane elbuo8 hodnett krunkosaurus molekilla nlindley

repo: sendgrid/sendgrid-nodejs


text:
Implemented stats helper

For #487

 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.

Excellent PR, but can you make it compatible with PSR2?

Sure, coming up.

Note: The \SendGrid\Client will have issues with forming the query strings with requests that contain arrays such as Stats::getSubuser() with subusers being a numericArray inside it.
The \SendGrid\Client::buildUrl() uses http_build_query(), and will output somwthing like subusers[0]=x&subusers[1]=x...
One solution for this would be to replace the string in question after http_build_query():
$path .= '?' . http_build_query($queryParams);
$path = preg_replace('/%5B[0-9]+%5D/simU', '', $path);

Hello @runz0rd,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX

authors: SendGridDX runz0rd shonjord thinkingserious

repo: sendgrid/sendgrid-php


text:
Vpn internet connection

I use a virtual machine running a fresh install of ubuntu as my server and a raspberry pi with an alfa awus036h as my drone. Everything works(after some changes and downloading some stuff) until the drone tries to access the internet over vpn.
until ping -c 1 8.8.8.8>/dev/null; do sleep 3; done

This is an old (badly written) issue. Closing.

repo: sensepost/Snoopy


text:
Search indexing is not documented

I've noticed that the search doesn't return as many results as I expect. The readme states

Search was added through lunr js. The search code lives in /static/javascripts/application.js and the action of creating the index occurs in the /Gruntfile.

This leads me to believe we're storing a search index which should be regenerated periodically, if not with every deploy. I'm attempting to write up the process of rebuilding the index so we can figure out the automation but I am running into an error.
Here's what I have so far:
$ brew install grunt-cli
...
$ npm install
...
$ grunt lunr-index
Running "lunr-index" task
Build pages index
Index pages -> process file -> process based on type
Inside indexPages function
Inside processFile function
Inside processMDFile function
Front matter failed: Cannot read property 'trim' of undefined
Warning: Cannot read property 'title' of undefined Use --force to continue.

Aborted due to warnings.

@dabria any ideas on this error or additional notes you can share that will help me along?

Turns out this failure is related to the presence of .DS_Store files in my local copy. The processMDFile function defined in Gruntfile.js needs to do a better job of ignoring files that aren't markdown.

#182 partially addresses this. I'm looking into ways to automate generation of lunr-index now.

authors: cwjohnston grepory

repo: sensu/sensu-docs-site


text:
MultiJson::ParseError running bundle exce rake on RHEL 7.1

Hi,
I have followed the following steps:

git clone https://github.com/sensu/sensu
bundle install --path vendor/bundle
bundle exec rake

on RHEL 7.1 x86_64 architecture and I am getting the following error/ test case failure:
/usr/bin/ruby -I/home/sensu/sensu/vendor/bundle/ruby/gems/rspec-core-3.0.4/lib:/home/sensu/sensu/vendor/bundle/ruby/gems/rspec-support-3.0.4/lib -S /home/sensu/sensu/vendor/bundle/ruby/gems/rspec-core-3.0.4/exe/rspec ./spec/api/process_spec.rb ./spec/cli_spec.rb ./spec/client/process_spec.rb ./spec/client/socket_spec.rb ./spec/daemon_spec.rb ./spec/server/filter_spec.rb ./spec/server/handle_spec.rb ./spec/server/mutate_spec.rb ./spec/server/process_spec.rb ./spec/utilities_spec.rb
[WARNING] MultiJson is using the default adapter (ok_json).We recommend loading a different JSON library to improve performance.
...................................................................................................F.....................
Failures:

Sensu::Server::Mutate can mutate event data
Failure/Error: expect(MultiJson.load(event_data)).to include(:mutated)
MultiJson::ParseError:
invalid character at "WARNING] M"
./spec/server/mutate_spec.rb:38:in `block (6 levels) in <top (required)>'
./lib/sensu/server/mutate.rb:19:in `call'
./lib/sensu/server/mutate.rb:19:in `block in mutator_callback'
./spec/helpers.rb:56:in `async_wrapper'
./spec/server/mutate_spec.rb:14:in `block (2 levels) in <top (required)>'

Finished in 1 minute 13.62 seconds (files took 0.50917 seconds to load)
121 examples, 1 failure
Failed examples:
rspec ./spec/server/mutate_spec.rb:13 # Sensu::Server::Mutate can mutate event data
/usr/bin/ruby -I/home/sensu/sensu/vendor/bundle/ruby/gems/rspec-core-3.0.4/lib:/home/sensu/sensu/vendor/bundle/ruby/gems/rspec-support-3.0.4/lib -S /home/sensu/sensu/vendor/bundle/ruby/gems/rspec-core-3.0.4/exe/rspec ./spec/api/process_spec.rb ./spec/cli_spec.rb ./spec/client/process_spec.rb ./spec/client/socket_spec.rb ./spec/daemon_spec.rb ./spec/server/filter_spec.rb ./spec/server/handle_spec.rb ./spec/server/mutate_spec.rb ./spec/server/process_spec.rb ./spec/utilities_spec.rb failed
The same test case succeeds on Ubuntu 14.10.
Could it be related to the warning:
[WARNING] MultiJson is using the default adapter (ok_json).We recommend loading a different JSON library to improve performance.
Has anyone seen this issue before?
Thanks.

What version of ruby are you using? I would seem you are running Ruby 1.8.x, without the availability of a recommended JSON parser, e.g. json gem.

The ruby version is ruby 2.0.0p598

@seth-osc try installing the json gem before running the test again.

I wonder if there was a regression in ruby that dropped the included json gem :/

Closing due to inactivity. Please feel free to create a new issue if this matter is not resolved. #monitoringlove
FWIW, Sensu just ditched MultiJSON in 0.23 :smile:

authors: calebhailey portertech seth-osc

repo: sensu/sensu


text:
Implement optional deregistration in client process

Currently client deregistration is implemented as an optional behavior in the sensu-build SysV init scripts , using some bash-isms to drop event JSON on the local client socket. This existing implementation is therefore only usable under certain platform configurations, and seems to be prone to some timing issues which can cause strange behavior. The changes in this PR build on @zbindliff's changes in #1191 to implement deregistration directly in the Sensu client process.
Similar client registration events, client deregistration events may now be generated every time the Sensu client process is stopped gracefully. Client deregistration events are disabled by default, but can be enabled by setting "client": { "deregister": true } in the client's configuration.
Closes #1191. Closes #1305. Closes https://github.com/sensu/sensu-build/issues/162.

pinging @zbintliff @portertech for review

@cwjohnston this pr should target the release/0.25 branch.

Closing. Will reopen new PR targeting release/0.25.

authors: cwjohnston portertech


text:
Update for 4.0 release

The 4.0 release has quite a few changes to the API in both calls and what gets returned.  This will be a major overhaul.

This is a dup of https://github.com/senzing-garage/sz-python-tools/issues/9)


text:
fix badges to reflect open-source status

@dlecocq @b4hand

Thank you!

Sorry, you'd need to merge PR. I do not have permissions.

repo: seomoz/bloomfilter-py


text:
Don't clear candidates on set_remote_description

This allows add_ice_candidate to work when answering

@sepfy yes this changes works for me! Testing against LiveKit
https://github.com/sean-der/embedded-sdk

repo: sepfy/libpeer


text:
Add test cases for rvv-vp-intrinsic-add and rvv-vp-intrinsic-add-scal…

…able
Summary
For now there are errors to be resolved when running either rvv-vp-intrinsic-add-scalable.mlir or rvv-vp-intrinsic-add-scalable.mlir.

Will be fixed in #212

authors: sequencer xlinsist

repo: sequencer/vector


text:
Is "exactly once" delivery guarantee a bit of a misnomer?

Hi there! I was browsing through the docs and I noticed this:
In the core_concepts.mdx file it's mentioned that

To provide exactly-once processing, Sequin requires that every message delivered to a consumer is acknowledged.

Later on however the docs state

If webhook endpoint does not respond before the request timeout elapses, Sequin will cancel the request and retry.

This seems to me like a bit of a contradiction: if the consumer has received the first messaged but failed to acknowledge, at some point Sequin will decide to resend.
Doesn't that make it into an "at least once" delivery, and wouldn't unique message ids be required in that case for the clients to be able to idempotently process messages?
PS: cool project for people looking to minimize infra - but the Redis dependency kinda sours it

Hey @bottlenecked !
The key difference is between exactly-once processing and exactly-once delivery. I agree, we're an at-least-once delivery system. I believe we use these terms correctly in our docs, but if you spotted anywhere we got them confused let me know. Processing being delivery, do work, ack.
We like to focus on the processing bit, as that's usually what people care about (I want to do this workload once).
At the end of the day, perfect exactly-once mechanics are a platonic ideal. And a system can only bring you so far, at some point you must implement idempotency on the client if your requirements demand it.
I'm curious how the Redis dependency sours it? Our read is that both Postgres and Redis are readily available turn-key by all cloud vendors. The neat part is that if Postgres can handle your workload, then Redis will have no trouble keeping pu. i.e. you won't be bottlenecked by Redis (😉)

I see.. I admit this is the first time I hear about this nuance (processing vs delivery) so now I'm glad I opened the ticket because I learned something new 😄
Redis (esp. for small teams) is just another piece of infrastructure that can complicate things in production. Postgres... I guess we already bought into it so it doesn't count.

authors: acco bottlenecked

repo: sequinstream/sequin


text:
Public Codegen API

I have a scneario where I want to be able to know what serde will do with a struct field, but there isn't a public API for querying serde_codegen. Whether or not it's even a good idea to produce one is a good question, my scenario may be an edge-case that isn't really worth supporting.
I have some serialisation codegen that I want to be 'compatible' with serde attributes (so if a user serialises their struct field as renamed, I want to know so I can serialise my generated field as renamed too.) Currently, I just do some basic checks on serde attributes, but don't mark them as used. This is crummy because it doesn't cater for more complex renaming, and could fall out of step with serde itself.
The easiest way to make this work would be to just make serde_codegen::attr public, so a caller could access the exact same metadata as serde itself.

I don't like the backward-compatibility implications of "just making serde_codegen::attr public." Adding a new attribute would become a breaking change even though serde_codegen users don't care. We struggle enough with maintaining backward compatibility with the existing public API.
I would be open to separating serde_codegen::attr (or the new serde_codegen::item) into an independently versioned serde_attr crate, with the understanding that it makes breaking changes more frequently than either serde or serde_codegen. Would that still be useful to you?

Yeh, I don't see it as a standard usecase so understand it's introducing more surface area to break without much gain. Splitting it into a separate crate sounds good to me, because then I'm explicitly opting-in to that backend library with the understanding that I'm downstream so have to take changes as they come.
I can also get by if it's something that simply isn't on serde's radar if it's not going to be useful to many people.

authors: KodrAus dtolnay

repo: serde-rs/serde


text:
visit_bytes / visit_byte_buf

de::Visitor::visit_bytes isn't implemented for Vec<u8> or Box<[u8]>, which makes this method a bit of a hidden mine... If a (de)serialization implementation tries supporting/calling it, there will be no way to actually interact with the values (unless a custom newtype is created and used) and you'll just get this error:
Invalid type. Expected `Bytes`

This is probably an issue blocked on specialization (because of conflicts with the blanket impls on Vec<T>) but perhaps some sort of mitigation in the meantime would be helpful...

Deprecate / remove / note in the documentation that these methods shouldn't be used yet. This means that crates will need to be manually updated later once the functionality actually becomes available.
Provide an official newtype wrapper? Maybe used in combination with the new serializer attributes.
Change the default impl to fallback to a slower seq implementation rather than error outright. This seems like the best migration path, but may cause weirdness like allowing byte buffers to deserialize into any numeric array type. That behaviour probably isn't any worse than what we're stuck with doing now, though.

Also slightly unrelated, but String only impls visit_bytes and not visit_byte_buf, which should be implemented via String::from_utf8.

Here is visit_byte_buf for String: StringVisitor::visit_byte_buf.
Here is the official wrapper corresponding to Vec<u8>: serde::bytes::ByteBuf. There is also serde::bytes::Bytes corresponding to &[u8] which supports serialization only.

Closing as a duplicate of #309.

authors: arcnmx dtolnay


text:
Will we ever get mongo support in eclipse plugin?

I'm primarily looking for mongo support - within my Eclipse IDE....any chance this will happen?

Yes, it is planned. After fully-functional standalone EE release we'll start to work on Eclipse plugin EE version.

authors: serge-rider ssnyder

repo: serge-rider/dbeaver


text:
Informix table information: References

When I clicked on Tab References dbeaver did some work and said:

Please post error stacktrace (you can get it in Error Log view or in debug log - https://github.com/serge-rider/dbeaver/wiki/Log-files)

eclipse.buildId=unknown
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Command-line arguments:  -os win32 -ws win32 -arch x86_64
org.jkiss.dbeaver.model
Error
Tue Aug 08 12:08:38 MSK 2017
java.sql.SQLException
at com.informix.util.IfxErrMsg.buildException(IfxErrMsg.java:474)
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:443)
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:394)
at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3477)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2379)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2304)
at com.informix.jdbc.IfxSqli.executeFetch(IfxSqli.java:2038)
at com.informix.jdbc.IfxSqli.getaRow(IfxSqli.java:4082)
at com.informix.jdbc.IfxResultSet.next(IfxResultSet.java:494)
at com.informix.jdbc.IfxDatabaseMetaData.getColumns(IfxDatabaseMetaData.java:3533)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCDatabaseMetaDataImpl.getColumns(JDBCDatabaseMetaDataImpl.java:1155)
at org.jkiss.dbeaver.ext.generic.model.TableCache.prepareChildrenStatement(TableCache.java:129)
at org.jkiss.dbeaver.ext.generic.model.TableCache.prepareChildrenStatement(TableCache.java:1)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCStructCache.loadChildren(JDBCStructCache.java:96)
at org.jkiss.dbeaver.model.impl.jdbc.cache.JDBCStructCache.getChild(JDBCStructCache.java:230)
at org.jkiss.dbeaver.ext.generic.model.GenericTable.getAttribute(GenericTable.java:156)
at org.jkiss.dbeaver.ext.generic.model.GenericTable.loadReferences(GenericTable.java:371)
at org.jkiss.dbeaver.ext.generic.model.GenericTable.getReferences(GenericTable.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.extractPropertyValue(DBNDatabaseNode.java:793)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.loadTreeItems(DBNDatabaseNode.java:479)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.loadChildren(DBNDatabaseNode.java:403)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:190)
at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:1)
at org.jkiss.dbeaver.ui.navigator.NavigatorUtils.getNodeChildrenFiltered(NavigatorUtils.java:563)
at org.jkiss.dbeaver.ui.controls.itemlist.ItemListControl$ItemLoadService.evaluate(ItemListControl.java:229)
at org.jkiss.dbeaver.ui.controls.itemlist.ItemListControl$ItemLoadService.evaluate(ItemListControl.java:1)
at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:86)
at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:71)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:95)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

It happens sometimes.

This seems to be driver-related problem (https://stackoverflow.com/questions/42509044/schemaspy-error-message-while-generating-the-report)
Could you try to use different Informix driver version?

Yes, it works in version 3.70.JC8DE and not works in 4.10.JC8DE and 4.10.JC9DE

With Informix driver 4.10.JC12 works fine for me (dbeaver 6.0)

Informix driver 4.10.JC12 not works for me (dbeaver up to 6.01) ( for tables with tens references to its )

Informix driver 4.10.JC12 not works for me (dbeaver up to 6.01) ( for tables with tens references to its )

Weird, I have here a table with 120 references and many other tables with +50 references where all them show the references without problem.
Did you have IBM support subscription?
My suggestion is open a CASE there since really looks like a driver defect.
Unfortunately (or not) I'm not able to reproduce here, otherwise, I opened a CASE for that....
I'm using Informix Server v12.10.FC12
If you have other versions of the Informix server for test to validate if the problem is really at the JDBC driver or the version of the Informix server you are using.
Regards
Cesar

I'm using Informix Server 12.10.FC7

The problem here is with some versions of the Informix JDBC driver.  Quick fix is to upgrade to the latest 4.50.1 driver.  It's out on maven.
<!-- https://mvnrepository.com/artifact/com.ibm.informix/jdbc --> <dependency>     <groupId>com.ibm.informix</groupId>     <artifactId>jdbc</artifactId>     <version>4.50.1</version> </dependency>
In detail.  The 4.10.X drivers introduced a statement cleaner thread that runs every 15 seconds and looks for resources that need to be closed as they have no more references and could be garbage collected. The problem, then compounds as a couple JDBC metdata calls incorrectly failed to close resources causing this cleaner thread to close resources in the middle of the work sometimes.  Hence some people see it often, some never. You can work around it with 4.10.JC12 where we added a connection flag to disable the cleaner thread (IFMXCONNECTION_CLEANER_THREADS=0).  Or the best option is to upgrade to the newest 4.50.1 driver which has this issue properly fixed.

Many thanks to Brian.
Newest driver 4.50.1 cleaned resources precisely ( workaround is OK too )
I'll close issue.

authors: amivanovano brian-hughes ceinmart serge-rider


text:
Issue #2075 still not working

Hi,
After upgrading to version 4.2.0. The bug from issue #2075 is still there.
Please see previous issue for an example.
BR,
Cees

Please post error stacktrace (there were some fixes in SQL formatting, this error can't be exactly the same as in #2075).

You right. The new trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at org.jkiss.dbeaver.model.sql.SQLUtils.splitFullIdentifier(SQLUtils.java:782)
at org.jkiss.dbeaver.ui.editors.sql.syntax.SQLCompletionAnalyzer.getTableFromAlias(SQLCompletionAnalyzer.java:326)
at org.jkiss.dbeaver.ui.editors.sql.syntax.SQLCompletionAnalyzer.runAnalyzer(SQLCompletionAnalyzer.java:120)
at org.jkiss.dbeaver.ui.editors.sql.syntax.SQLCompletionProcessor$ProposalSearchJob.run(SQLCompletionProcessor.java:363)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:95)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
at org.jkiss.dbeaver.model.sql.SQLUtils.splitFullIdentifier(SQLUtils.java:782) is 2 rows further from 780.

Thanks for details.
It was fixed in #2169.

authors: ceesvl serge-rider


text:
Sublime 3 v.3170 - Error Trying to Parse Setting in Emmet File

I just updated my Sublime 3 to v. 3170 from v. 3143 and I am now getting the following error:
Error trying to parse setting:Unexpected trailing characters in Packages/User/Emmet.sublime-setting:1:11.
I even uninstalled then reinstalled Emmet to ensure none of my past changes were the cause. I've checked the file several times and I'm not finding any trailing or rouge characters. The error pops up on the start of Sublime and occasionally when saving. Does anyone have any idea what this could be stemming from?
Thanks!

Could you post contents of Packages/User/Emmet.sublime-setting file?

Не могли бы вы опубликовать содержимое Packages/User/Emmet.sublime-settingфайла?
я исправил на это:
"css_completions_scope: source.css - meta.selector.css - meta.property-value.css, source.scss - meta.selector.scss - meta.property-value.scss, source.less - meta.selector.css - meta.property-value.css, source.sass - meta.selector.sass - meta.property-value.sass"
а было:
"css_completions_scope": "source.css - meta.selector.css - meta.property-value.css, source.scss - meta.selector.scss - meta.property-value.scss, source.less - meta.selector.css - meta.property-value.css, source.sass - meta.selector.sass - meta.property-value.sass"

я правильно сделал?

authors: Charmelsippio sergeche womajies

repo: sergeche/emmet-sublime


text:
Switch from CryptoJS to WebCrypto API

From CryptoJS readme:

Active development of CryptoJS has been discontinued. This library is no longer maintained.

Removed CryptoJS and replaced it with the WebCrypto API. Also added tests to make sure it still works with a polyfill.

That's because tests still run in Node and Node doesn't have WebCrypto API globally available, you have to import it from the crypto package.
This is also the reason Remix Utils uses CryptoJS instead of the WebCrypto API, because of Node.

Should be fully supported in Node 20 which is now LTS :D

Should be fully supported in Node 20 which is now LTS :D It's available on globalThis so node LTS users will have no breaking change besides some methods becoming async. Also CryptoJS is no longer supported so could have security issues. I can't speak for other Remix projects but mine in personally on Cloudflare.

Remix apps requires Node v18, I'm not sure why but requiring but Remix Utils keeps the same minimum required Node version as the Remix version it supports, since Remix Utils v7 requires Remix v2 it therefore should work with Node v18.

I agree this would be a breaking change for Node 18 users, they can use --experimental-global-webcrypto or the polyfill method from the docs. However CryptoJS is not maintained so the transition to WebCrypto has to happen eventually

Any news on this? I don't want to open another thread :p
In a couple of months node lts will be v22

As long as Remix supports v18 this will not change

As long as Remix supports v18 this will not change

Your Remix auth library uses web crypto so curious why different for this library :) Node 18 users are able to use the Web Crypto polyfill so they wouldn't be left out

And what about a way to provide a sharable interface, so this honeypot can be integrated with whatver remix supported runtime
Currently, I faced a problem with cloudflare workers because crypto-js is not edge ready:(
If that makes sense I can try to draft a PR for that instead of a more aggressive transition

Everyone could be happy by making an intermediary package that conditionally exports the needed functions from cryptojs when runtime is node, and otherwise web crypto api. Here's an example. Will just need to make a thin wrapper API to make the functions from each package have the same signature.

Everyone could be happy by making an intermediary package that conditionally exports the needed functions from cryptojs when runtime is node, and otherwise web crypto api. Here's an example where you can see a different file being exported depending on node or workerd runtime. Here are some other possible values you can specify for the runtime. Will just need to make a thin wrapper API to make the functions from each package have the same signature.

I don't think that's necessary, instead older node can just use a WebCrypto polyfill

@arjunyel But then you're adding unnecessary bundle size to all runtimes, not just where it's needed. To make things easier, I found an existing package that seems to do what I described by the way.

@arjunyel Sure but I guess that is @sergiodxa's concern "this will be a breaking change for those apps, that will now need to supply the Node implementation of WebCrypto", so if you would use that dependency instead, I think it would cover the concern.

authors: arjunyel bitofbreeze enZane sergiodxa

repo: sergiodxa/remix-utils


text:
Improvements

Improvements
Development of the following processes:

Add error message for days with no matches available
Implement an additional type of prediction based on the number of goals to be scored in the match

Pull request status - Accepted


text:
Fix link issues

Issues :-(
1877> Links
1878  01. [L0724] 301 https://github.com/kaktus/kaktus  → https://github.com/fathomecat/fathomecat
1879  02. [L1476] 404 http://ptsochantaris.github.io/trailer/images/background-2400.png
1880  03. [L2845] 404 https://raw.githubusercontent.com/bow-swift/nef-plugin/master/assets/nef-plugin-action-snippet.png
1881  04. [L4604]  https://alchaplinsky.com/images/misc/swifty_screen_01.png Failed to open TCP connection to alchaplinsky.com:443 (getaddrinfo: nodename nor servname provided, or not known)
1883  05. [L7451] 404 https://rectangleapp.com/images/appIconNoShadow512.png
1884  06. [L7649] 301 https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6  → https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-7.1&viewFallbackFrom=powershell-6
1885  07. [L7679] 404 https://raw.githubusercontent.com/johannesjo/super-productivity/master/screens/screen_daily-summary.png
1886  08. [L7680] 404 https://raw.githubusercontent.com/johannesjo/super-productivity/master/screens/screen_worklog.png
1887  09. [L8027] 404 https://raw.githubusercontent.com/leits/MeetingBar/master/MeetingBar/Assets.xcassets/AppIcon.appiconset/icon512.png
1888  10. [L8263] 404 https://raw.githubusercontent.com/hisaac/PlainPasta/master/Assets/app-icon-512%402x.png
1889  11. [L8265] 404 https://hisaac.github.io/PlainPasta/
1890> Dupes
1891  None ✓

          2 Warnings

:warning:
Please rebase to get rid of the merge commits in this Pull Request

:warning:
Found 3 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

6685
Error
https://subler.org/images/Subler.png  Failed to open TCP connection to subler.org:443 (getaddrinfo: nodename nor servname provided, or not known)

8260
404
https://raw.githubusercontent.com/hisaac/PlainPasta/master/Assets/app-icon-512%402x.png

8262
404
https://hisaac.github.io/PlainPasta/

  Generated by :no_entry_sign: Danger

repo: serhii-londar/open-source-mac-os-apps


text:
Fix for pacts

Include fixes for breaking pact tests:

LicenseQuery shall return 404 when license cannot be found
UserSetEmailQuery shall also return username

(There is still something broken, however it should be with the code in api / I'll have a look tomorrow)

The test for user_set_email is also failing.

@hugotiburtino Ready for merge

authors: hugotiburtino kulla


text:
Support --default-path command-line option

rspec and parallel_tests support the --default-path option. This is useful, for example, when running specs inside an engine where one would define that as the default path.
Maybe unknown command-line options should be passed directly to parallel_rspec to avoid having to define each possible one?

Maybe unknown command-line options should be passed directly to parallel_rspec to avoid having to define each possible one?

I like that idea but currently unknown options are treated as spec files (source). I'll think about a way to implement it.
https://github.com/serpapi/turbo_tests/blob/f2530104b6c6962076faaa7d04bb0fb53e00a3d1/lib/turbo_tests/cli.rb#L92

A few options:

Some commands (like with git for example) treat everything after an isolated double dash (--) as file parameters, ej: git checkout -- somefile
Treat anything that starts with a dash or double dash as an option that needs to be passed to parallel_rspec
Check if the argument is indeed a file or a glob and treat as file

Thanks for ideas :+1: Btw, turbo_tests executes RSpec directly instead. parallel_spec is used to group spec files.

authors: cesarizu ilyazub


text:
Updated install instructions for Kubeless

Installation method has changed.

ok let's merge this, because this is closer to what we have., now that we removed the 'kubeless install'

@andresmgot can you merge, looks like I don't have karma :(

Sure

authors: andresmgot jbianquetti-nami sebgoa

repo: serverless/serverless-kubeless


text:
Define context of task.if expression

What would you like to be added:
Currently the task.if expression is not fully documented .. at which point in the data-flow is it evaluated and on what?
My intuition would say the raw input?
Furthermore if a task is skipped, is the context transformation (export.as) still applied? I would say no
Why is this needed:

My intuition would say the raw input?

That's my understanding, yes, as we clarified that the input transforation is part of a task's feature.

Furthermore if a task is skipped, is the context transformation (export.as) still applied? I would say no

IMHO, of course no: if the task is skipped, so are all the associated features

Closed as completed by #1005

authors: cdavernas matthias-pichler

repo: serverlessworkflow/specification


text:
🛑 sg3.serverssh.net is down

In aeaad5b, sg3.serverssh.net (sg3.serverssh.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sg3.serverssh.net is back up in e4aacec.

repo: serversshnet/server-status


text:
🛑 ukray.serverip.my.id is down

In 268104e, ukray.serverip.my.id (ukray.serverip.my.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ukray.serverip.my.id is back up in 1ffa9aa.


text:
🛑 geray.serverssh.net is down

In 5bcc412, geray.serverssh.net (http://geray.serverssh.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: geray.serverssh.net is back up in e7670d5.


text:
🛑 ukray.serverssh.net is down

In f70040f, ukray.serverssh.net (http://ukray.serverssh.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ukray.serverssh.net is back up in 1cf08d7.


text:
🛑 sg2go.ipservers.xyz is down

In 34bbd10, sg2go.ipservers.xyz (sg2go.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sg2go.ipservers.xyz is back up in 4efa051.

repo: serversshnet/uptime


text:
🛑 sgcgo.ipservers.xyz is down

In 89e74af, sgcgo.ipservers.xyz (sgcgo.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sgcgo.ipservers.xyz is back up in 995bc46.


text:
🛑 sgcgo.ipservers.xyz is down

In e9ac2c8, sgcgo.ipservers.xyz (sgcgo.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sgcgo.ipservers.xyz is back up in 46a8fa1.


text:
🛑 sgxvpn.jagoanssh.com is down

In de2b4bb, sgxvpn.jagoanssh.com (sgxvpn.jagoanssh.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sgxvpn.jagoanssh.com is back up in 79fca9e after 13 minutes.


text:
Fila de publicação: mensagem de erro em caso de conflito

Caso aconteça um conflito durante a aprovação de uma edição, mostrar mensagem de erro avisando qual edição foi aprovada e qual foi recusada.

Informar que um conflito ocorreu, e permitir descartar (ou descartar automaticamente).
Mostrar nos itens da lista de edições pendentes, quais serão conflitantes.

Isso ainda faz sentido @kchnr?

repo: servicosgovbr/editor-de-servicos


text:
Conteúdo da página de órgão vazio

Ao acessar a página de um órgão em produção,  a descrição não aparece. Após algumas tentativas as descrições apareceram mas voltaram a desaparecer.

@gustavo-freitas  Quando isso acontece, o link para geração da carta eletrônica não funciona.

@mformiga tens como verificar se esse problema acontece em ambiente de homologação?Considerando que o ambiente de produção não possui a última versão do código, não acho produtivo validarmos funcionalidades em produção.
Screenshot em ambiente alpha:

Screenshot em ambiente de desenvolvimento:

@gustavo-freitas Não vi acontecer em dev.

@mformiga conforme conversa anterior, os órgãos que não possuem descrição são órgãos que precisam ter suas páginas criadas. Já tínhamos validado esse comportamento com o @almeidafab no cartão #481. Vou fechar esse cartão, ok?

@gustavo-freitas  Este comportamento acontece em produção para páginas de órgãos que possuem descrição no conteúdo.  Nesse caso, precisamos investigar.

@gustavo-freitas Veja que aconteceu novamente conforme figura abaixo. Dessa vez foi até pior pois não apareceram os serviços do MAPA.

@mformiga não temos a última versão do código em produção. Produção não é um lugar coerente para executarmos nossos testes. Existe alguma situação semelhante acontecendo em ambiente de homologação?

@maiteb página do órgão MAPA em alpha (com a última versão do código e apontando para cartas-de-servico):

@gustavo-freitas O que você sugere para resolver este caso, então ?

@mformiga como não existe um cenário problemático na última versão do código, acredito que não temos nenhum caso para resolver. Tão logo esse código estiver em produção, os órgãos que possuem página criadas deverão ser exibidos corretamente, conforme ambiente de homologação (dev) e alpha.

@mformiga conforme mensagem anterior, não existe correção para realizar nesse cartão. Estou fechando o cartão.

authors: gustavo-freitas mformiga

repo: servicosgovbr/portal-de-servicos


text:
Should a closed path include an explicit line to origin?

Given:
let mut path = Path2D::new();
path.move_to(Vector2F::new(0.0, 1.1));

What should the path itself look like?
Currently we get:
assert_eq!("M 0 1 L 0 1 z", format!("{:?}", path.into_outline()));

But in reading the Mozilla docs it seems like z implies that last line to origin so that the following should be true:
assert_eq!("M 0 1 z", format!("{:?}", path.into_outline()));

This doesn't repro for me. Such a path has an empty outline and as such debugs as an empty string.

Oh, I see what you mean. Should be fixed now.

authors: inferiorhumanorgans pcwalton

repo: servo/pathfinder


text:
Can no longer highstate without using the /tmp override

When I run salt 'servo-master1' state.highstate test=True, I now get:
servo-master1:
----------
          ID: states
    Function: no.None
      Result: False
     Comment: No Top file or external nodes data matches found.
     Started:
    Duration:
     Changes:

Summary for servo-master1
------------
Succeeded: 0
Failed:    1
------------
Total states run:     1
Total run time:   0.000 ms

If I set up the override in /tmp/salt-testing-root, I can highstate fine. As soon as I clean up the override, I cannot. @aneeshusa I'm not sure what could have caused this; https://github.com/servo/saltfs/pull/786 is the only PR that looks remotely related, but I don't see a smoking gun yet.

I checked via salt 'servo-master1' state.show_top to confirm no states listed. My first guess for the cause was a stale Salt fileserver cache, so per our docs, I ran salt-run fileserver.update on servo-master1, which spit out:
root@servo-master1:~# salt-run fileserver.update
[WARNING ] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.

Exception occurred in runner fileserver.update: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/client/mixins.py", line 356, in low
    data[return] = self.functions[fun](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/runners/fileserver.py", line 258, in update
    fileserver.update(back=backend)
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 457, in update
    self.servers[fstr]()
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/gitfs.py", line 124, in update
    gitfs.update()
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2225, in update
    self.find_file
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 244, in reap_fileserver_cache_dir
    ret = find_func(filename, saltenv=saltenv)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2584, in find_file
    blob, blob_hexsha = repo.find_file(repo_path, tgt_env)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 851, in find_file
    tree = self.get_tree(tgt_env)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 899, in get_tree
    return ref.commit.tree
  File "/usr/lib/python2.7/dist-packages/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 443, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----

So it looks like the error is related to Salt (or rather git-python) not being able to parse GPG signed git commits. Looking at recent commits, it seems 1f62195f3f4c8008d595dc09b462fd92fe9a2a21 is the first time we see a signed merge commit. This was not triggered by previous signed commits, because those would be commits on a branch, and not merge commits created by Homu, so they would never be at the tip of master, and thus never parsed by git-python.
Looking at the git-python issue tracker for gpg related issues (as well as the git-python source as of 0.3.2-RC1, the version closest to the 0.3.2-RC3 reported by dpkg -l python-git on servo-master), my current belief is that our current git-python is too old and we will need a newer git-python with support for parsing GPG signed commits.
We could install via pip globally for a short term fix, but a long term fix is probably to update to xenial (#462), which has version 1.0.1 - not the newest but new enough for the GPG support, seemingly added in 0.3.
Side question: How is Homu making merge commits that are signed with your key @jdm? I don't know how it would do that without access to your private GPG key.

Fascinating; the web UI for editing files on github signs the resulting commits apparently. It's still not clear how that propagates to homu's merge; maybe it's related to the fact that I recently logged into the bors-servo account.

I tried running pip install python-git on servo-master1 and it did not make a difference. Perhaps I'm misunderstanding how the short term fix is expected to apply.

Salt no longer complains about the fileserver update:
root@servo-master1:~# salt-run fileserver.update
[WARNING ] /usr/lib/python2.7/dist-packages/salt/utils/gitfs.py:400: DeprecationWarning: The gitfs_env_whitelist config option (and env_whitelist per-remote config option) have been renamed to gitfs_saltenv_whitelist (and saltenv_whitelist). Please update your configuration.

True

Maybe this just works now!
root@servo-master1:~# salt 'servo-master1' state.show_top
servo-master1:
    ----------
    base:
        - admin
        - common
        - python
        - salt.common
        - ubuntu
        - git
        - buildbot.master
        - homu
        - intermittent-tracker
        - intermittent-failure-tracker
        - upstream-wpt-webhook
        - nginx
        - salt.master

Nevermind, when I remove the tmp clone it's back to being empty.

Still seeing lots of entries like this in the salt logs:
2019-04-09 12:14:34,275 [salt.master      :1783][ERROR   ][29328] Error in function _file_list:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/master.py", line 1776, in run_func
    ret = getattr(self, func)(load)
  File "/usr/lib/python2.7/dist-packages/salt/utils/decorators/__init__.py", line 594, in wrapped
    **salt.utils.data.decode_dict(kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/__init__.py", line 752, in file_list
    ret.update(self.servers[fstr](load))
  File "/usr/lib/python2.7/dist-packages/salt/fileserver/gitfs.py", line 185, in file_list
    return _gitfs().file_list(load)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2929, in file_list
    return self._file_lists(load, 'files')
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 2906, in _file_lists
    repo_files, repo_symlinks = repo.file_list(load['saltenv'])
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1271, in file_list
    tree = self.get_tree(tgt_env)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1012, in get_tree
    candidate = func(tgt_ref)
  File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1350, in get_tree_from_branch
    'refs/remotes/origin/{0}'.format(ref)).commit.tree
  File "/usr/lib/python2.7/dist-packages/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/usr/lib/python2.7/dist-packages/git/objects/commit.py", line 443, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: -----BEGIN PGP SIGNATURE-----

authors: aneeshusa jdm

repo: servo/saltfs


text:
Util 함수 분리

Util 함수를 분리하고

excel-merge-tool-utils.js

repo: seunggabi/excel-merge-tool


text:
[Bug 反馈] 部分漫画不显示

有一部分漫画无法显示在homepage上 也无法被搜索到 即使已经添加到收藏夹里的漫画 从收藏夹中打开也会显示： bad status code 404, not found 但是在网站上是可以显示并正常观看的
以下为部分不正常显示的漫画链接：
https://exhentai.org/g/774744/bb6e3b8b73/
https://exhentai.org/g/1036124/c5c70b5198/
https://exhentai.org/g/1032901/64baa5c7d0/
希望开发者能在之后给与修复，谢谢~

某些画廊会限制访问 IP。


text:
Doorbell Notification

Previously used HomeBridge unify protect plug-in. When doorbell pushed, HomePods would chime. This does not function with camera.ui.
Is this feature available, if so what config is required?

Also need this !

You need to activate the doorbell sensor in camera-ui. From there you can trigger the doorbell in several ways, i.e. with MQTT or (like me) from the doorbell trigger switch.
With that setup I can configure my HomePods to ring the bell when the doorbell is used.

authors: MichlW alpol017 istationonline

repo: seydx/homebridge-camera-ui


text:
Recordings Not Deleting

Currently I have it set to remove recordings after 3 days. It does not though and the recordings end up filling up the SD card and crashing the system. I have to manually delete the recordings currently. I do have Rekognition enabled I wonder if this is why they are not being removed.

should be fixed in v5.0.17

authors: Mike-J-Clark seydx


text:
Update social media sharing copy

To most current copy
Fixes #89

Addressed comments in https://github.com/sfbrigade/adopt-a-drain/commit/58cd799d64f29d27bd6569248769ad7baab957db

:+1:

authors: jasonlally jszwedko

repo: sfbrigade/adopt-a-drain


text:
Sprockets::Rails::Helper::AssetFilteredError in RailsAdmin::Main#dashboard

i'm still facing this problem all the day , it tells me
Asset filtered out and will not be served: add Rails.application.config.assets.precompile += %w( rails_admin/aristo/images/bg_fallback.png ) to config/initializers/assets.rb and restart your server
i'm still adding the lines and it still tell me to add other lines (line by line) it's the first time that happend to me with rails_admin

I have faced this issue too.
I have solved it by adding the following line to /config/initializers/assets.rb:
Rails.application.config.assets.precompile += ['rails_admin/**/*', 'fontawesome-webfont.*']

Hope this helps you too!

authors: Abdenasser stevenyap


text:
🛑 CatamarcaCapital is down

In 4726e0b, CatamarcaCapital (https://www.catamarcaciudad.gob.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CatamarcaCapital is back up in ff8e6c5 after 4 minutes.

repo: sfvc/upptime


text:
authors[0].send(send_msg)这里报错

'dict' object has no attribute 'send'

你这个是最新的 itchat 版本吗。

参考：https://github.com/littlecodersh/ItChat/issues/643

相似问题 #108


text:
Some Sonatina instruments non working

Reported by @sub26nico. This was sfizz stable 0.3.2

with Sonatina Symphony Orchestra soundfonts, some SFZ patches are working, some are not. Regarding brass, for one given instrument, the 'sustain' articulations would work but not 'staccato' ones

Brass-Horns sustain works, not Brass-Horns staccato

The bank which used to be available at this website: http://sso.mattiaswestlund.net/index.html
He provided a copy of SFZ files. Most likely its the same as https://github.com/peastman/sso
Sonatina Symphonic Orchestra-patches.tar.gz

Archive of it if needed

@redtide has reported the instrument as working on develop, defective on 0.3.2 stable.
While not exactly identified, it's possible this problem was already fixed in development.

I'll close this for now then !

authors: jpcima paulfd trebmuh

repo: sfztools/sfizz


text:
macos build/link error around align_val_t

i just tried to build sfizz myself on macos sierra 10.12.6 (compiler found is AppleClang 9.0.0.9000039) and get the following build/linker errors:
[ 49%] Linking CXX shared module ../sfizz.lv2/sfizz.so
undef: __ZnwmSt11align_val_t
undef: __ZdlPvSt11align_val_t
Undefined symbols for architecture x86_64:
  "operator new(unsigned long, std::align_val_t)", referenced from:
      _sfizz_create_synth in libsfizz.a(sfizz_wrapper.cpp.o)
  "operator delete(void*, std::align_val_t)", referenced from:
      _sfizz_create_synth in libsfizz.a(sfizz_wrapper.cpp.o)
      _sfizz_free in libsfizz.a(sfizz_wrapper.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

any odea how to get this resolved? any compiler options to maybe not add extra alignement stuff?
a lot of thanks in advance and best wishes - hexdump

If I believe the reference document, aligned operator new is available only on c++ version 17 and up.
https://en.cppreference.com/w/cpp/memory/new/operator_new
Perhaps -DCMAKE_CXX_STANDARD=17 helps to resolve this?

i did already use that option - i basically used the cmdline from https://github.com/sfztools/sfizz/blob/develop/.travis/script_osx.sh ... looks like -DCMAKE_CXX_STANDARD=14 helps :)

Most likely it's the effect of a system c++ runtime too old to support this feature.
I don't recall where exactly this alignment consideration comes from, but I recall it is seen in some warning logs.

at least the resulting binaries work and this way i'm able to compile sfizz on my system too ...

I downgraded the Travis build to 14, hopefully this lets next release builds to work on older macOS.


text:
Decode Incrementally

What does this PR do?

Use decode incrementally like vLLM and TGI when there is a jump-forward.
Also removed the special judge for whether there is a leading space.
Align with outlines, using byte-level FSM, supporting UTF-8 characters such as Chinese when using regex and jump-forward.

LGTM.

Does it affect the throughput in non-streaming mode?
Can it improve the throughput for streaming mode?

It only brings a minor overhead of decoding a few tokens (normally 5) more for each request when it is non-streaming.
Sure.

repo: sgl-project/sglang


text:
functions under /utils are always not tested

I use ember g Util test-util to generate some utility files.
the generated files are like
export default function testUtil() {
  // my code
}

import testUtil from 'insights/utils/test-util';
import { module, test } from 'qunit';

module('Unit | Utility | test util');

// Replace this with your real tests.
test('it works', function(assert) {
  // my tests
});

but the coverage report always show testUtil() untested, no matter how many tests I wrote. Am I writing in the correct way?
My env is
ember-cli 2.3.0
ember-cli-blanket 2.8.0

Check your blanket options. The exclusion patterns skip coverage on test files. You can either muck with that pattern or rename.
-jeff

On Feb 24, 2016, at 10:31 PM, Jui-Chung Wu notifications@github.com wrote:
I use ember g Util test-util to generate some utility files.
the generated files are like
export default function testUtil() {
// my code
}
import testUtil from 'insights/utils/test-util';
import { module, test } from 'qunit';
module('Unit | Utility | test util');
// Replace this with your real tests.
test('it works', function(assert) {
// my tests
});
but the coverage report always show testUtil() untested, no matter how many tests I wrote.
—
Reply to this email directly or view it on GitHub.

Thank you Jeff, but files under /util are not excluded. ember-cli-blanket does go over that file but it always thinks those functions are untested.

@rayjcwu fair enough - this sounds to me like it it #100 or #102
We have a PR ready to merge that resolves this - dropping loader.js back prior to 3.5.0 and see if that resolves it.

@jschilli I guess I have to downgrade ember-cli at the same time, because if I downgrade loader.js by itself I got a lot of Uncaught ReferenceError: define is not defined

@jschilli I see same issue with adapters too..

See #100 or #102  - this should be resolved with the release of 0.9.x (0.9.0 came out yesterday but has a dependency issue - resolved with #117) - 0.9.1 should be out soon or you can run against master

Hi @jschilli, I found 0.9.1 is already on npm, I upgrade ember-cli-blanket to 0.9.1 and blanket to 1.1.7. But when I run test, I got a lot of TypeError: blanket.instrumentSync is not a function(…)  in blanket-require.js and no code coverage results were shown.

ember g ember-cli-blanket or bower i blanket#5e94fc30f2e694bb5c3718ddcbf60d467f4b4d26 will fix it
@rwwagner90 updated the README  - still thinking about startup diagnostics that will fix that

Thank you @jschilli , looks good !_!

I found some files are skipped after I upgrade ember-cli-blanket, checking I need to tweak some configurations....

@rayjcwu  can we close this now?

@jschilli it does scan lines in files under /utils, but some files were missing.
for example, running with the default blanket-options.js
insights/components/ai-select/row                         // included
insights/components/ai-select/power-select          // missing
insights/components/base-table-module               // missing

dozens of files are missing from the code coverage report

@rayjcwu so the missing files - are they not imported during your test run? e.g potentially uncovered
in #127 we're having this discussion about the change since 0.9.0 - I'm thinking about a way to close that gap.
If you can confirm that this is the case, I'll close this issue in favor of a new issue laying out the missing files issue.

should be resolved with #128 - if you can pull and confirm from my branch - that would be helpful

it works in my case, thank you @jschilli  :+1:

thanks

authors: jschilli rayjcwu svkangal

repo: sglanzer/ember-cli-blanket


text:
Request header too large

I create a request using the Dataverse ERD v2 prompt. The max token input is 4097 for GPT 4 1106 preview as per the Open AI documentation.
I believe the problem is to do with the large body coming back from Open AI API.

Don't use gpt-4-1106-preview for requests


text:
Refactor icon generator (i.e. VueSimpleIcon component)

Description
The primary change is reducing the code complexity of and improving the performance when generating icons utilizing the domProps property to inject the SVG as it is provided by SimpleIcons. The <svg> itself is still created as a VNode in order to keep the size changes easy, but the contents of the SVG come straight from icon.svg.
The second change is the introduction of the title argument to the renderError() function, which makes it easier to render errors with a custom message/title.
Other changes:

Rename h to createElement for clarity.
Rename x in the name property validator to name for clarity.
Removed this.parser from the VueSimpleIcon class, it is no longer needed as per the primary change.
Use string literals rather then string concatenation (e.g. "#" + this.color --> #${this.color}).

Possible improvements:

Remove </svg> using a fixed method (e.g. String.substr) rather then a Regular Expression for performance. However, it is rather convenient to have the Regular Expression remove both the opening and closing SVG tag.
Inject custom titles in another way not using Regular Expressions to increase performance. However, this would require removing <title>...</title> from the icon.svg string which would probably still require a Regular Expression.

Why is this change required?
Should improve code readability and performance, not critical though.

[x] I've read the contributing guidelines and the Code of Conduct

@ericcornelissen Thanks for these improvements!