Contribute to Open Source. Search issue labels to find the right project for you!

Não está tratando casos onde o usuário não possui username/nick

micalevisk/siege-telegram-bot

Em https://github.com/micalevisk/siege-telegram-bot/blob/44d10654eadf748ac1742bbf882a65ae7fdf4af5/src/rivescript-controller/intents/queries.rive#L49 deve-se tratar menções a usuários que não possuem username.

Em vez de salvar o nick, caso não existe, salvar o first_name.

verificar como fica o JSON da mensagem com menção sem nick (“@”). talvez @JsonDumpBot ajude

Updated 15/12/2017 01:40

Некоторые переменные обнуляются из-за отсутствия базы данных

JaneElsmur/TaxiDesign
  1. Фрагменты локаций не сохраняют в себе адреса, а так же при повторном открытии окна эти фрагменты можно добавлять неограниченное количество раз, а удалять старые нельзя, так как переменная хранящая количество вызванных фрагментов обнуляется.
Updated 14/12/2017 19:04

当成一个博客来写文章

liuyewang/1

第一次写文章,还有点小激动呢

`<?xml version=“1.0” encoding=“UTF-8”?> <project xmlns=“http://maven.apache.org/POM/4.0.0” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd”>

<modelVersion>4.0.0</modelVersion> <packaging>war</packaging>

<name>spring_test</name> <groupId>school</groupId> <artifactId>spring_test</artifactId> <version>1.0-SNAPSHOT</version>

<properties> <!– spring版本号 –> <spring.version>4.3.2.RELEASE</spring.version> <!–设置maven的编译jdk版本,以后就不会老是说1.5过时了–> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> ` @我自己 #1 #2

Updated 14/12/2017 14:24

Datenquellen sollten parallel angezeigt werden (nicht entweder/oder)

remuslazar/EVPlugFinderPublic

Ich verstehe nicht so ganz, wieso man bei einer “übergreifenden” App (was super ist/wäre) sich in den Einstellungen für eine Datenquelle (GE/OCM) entscheiden muss.

Konkret: In meinem Umfeld gibt es Säulen die nur in GoingElectric gelistet sind, andere sind dagegen nur auf OCM aufgeführt. Somit habe ich keinen Gesamtüberblick sondern muss manuell wechseln. Besonders ärgerlich, wenn man sich nicht auskennt. Kann man hier nicht einfach auf beide Quellen zugreifen und diese kombiniert (ggf. mit einer Präferenz) anzeigen?

Updated 14/12/2017 14:35 4 Comments

Unable to run Kalibr_Allan

imrasp/LearnVI_Drone

Unable to run Kalibr_Allan rasp@rasp:~/Git/kalibr_allan$ rosrun bagconvert bagconvert imu.bag /imu0 [ INFO] [1513255709.995732228]: Starting up [ INFO] [1513255716.627987835]: BAG Path is: imu.bag [ INFO] [1513255716.628031095]: MAT Path is: imu.mat [ INFO] [1513255716.628046838]: Reading in rosbag file... [ INFO] [1513255716.682922846]: Done processing bag [ INFO] [1513255716.723947719]: Done processing IMU data *** Error in `/home/rasp/catkin_ws/devel_isolated/bagconvert/lib/bagconvert/bagconvert': free(): invalid pointer: 0x00000000011cb1a8 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fabe7e6d7e5] /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fabe7e7637a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fabe7e7a53c] /lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a)[0x7fabe7e3036a] /usr/local/MATLAB/R2017b/bin/glnxa64/libboost_filesystem.so.1.56.0(+0x7646)[0x7fabe3741646] ======= Memory map: ======== 00400000-00420000 r-xp 00000000 08:04 4333650 /home/rasp/catkin_ws/devel_isolated/bagconvert/lib/bagconvert/bagconvert 0061f000-00620000 r--p 0001f000 08:04 4333650 /home/rasp/catkin_ws/devel_isolated/bagconvert/lib/bagconvert/bagconvert 00620000-00621000 rw-p 00020000 08:04 4333650 /home/rasp/catkin_ws/devel_isolated/bagconvert/lib/bagconvert/bagconvert 011b9000-0135d000 rw-p 00000000 00:00 0 [heap] 7fabd8000000-7fabd8021000 rw-p 00000000 00:00 0 7fabd8021000-7fabdc000000 ---p 00000000 00:00 0 7fabdd03b000-7fabdd23b000 rw-p 00000000 00:00 0 7fabdd47e000-7fabdd762000 r--p 00000000 08:04 8412762 /usr/lib/locale/locale-archive 7fabdd762000-7fabdf018000 r-xp 00000000 08:04 8391268 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7fabdf018000-7fabdf217000 ---p 018b6000 08:04 8391268 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7fabdf217000-7fabdf218000 r--p 018b5000 08:04 8391268 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 7fabdf218000-7fabdf219000 rw-p 018b6000 08:04 8391268 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1

Updated 14/12/2017 13:00

Generator Binda:Install hangs forever

lacolonia/binda

Expected behavior

Creating a new application from scratch and installing binda in 5 minutes.

Actual behavior

Runnning rails generate binda:install doesn’t work. It just freezes without any info.

How to reproduce the issue

Create a new application from scratch, add binda as gem dependency (I’m currently using a local version) gem 'binda', path: 'path/to/binda'

Quick solution

The error is not due to Binda, but to Spring which cannot preload the application. Therefore running the following command from command line solve the issue cd path/to/application spring stop Then I’ve been able to run rails g binda:install again.

Binda version: https://github.com/a-barbieri/binda/commit/e73eb83225dfbe3a63164998c52cc4aae2121741

Rails version: 5.1.4

Updated 14/12/2017 10:25

Startup error

hacktoolspack/fsociety-ultra-sqli-scanner

‘clear’ is not recognized as an internal or external command, operable program or batch file.

I get this on cmd, here’s what I did:

  1. extracted to folder
  2. started as normal user

After selecting 7 the same string appears, but then I get Target IP -> so it works.

I’m on XP.

Updated 14/12/2017 22:01 2 Comments

MAGE implementation is very poor: loader reflects this

tripal/tripal_analysis_expression

The expression loader is heavily commented out with //TODO: WE DONT USE THIS (BUT WE SHOULD) in the form.

If we’re going to ask the user for this information, we need to do something with it. As it is, not only do we not allow users to view the various mage components (acquisitions, quantications, etc) but we dont even pass them in as variables into the loader, let alone do something with those variables.

An overhaul would include:

  • create a parameters array to pass around instead of passing each variable 1 by 1.
  • uncomment form and put input into the parameters array
  • Use any passed parameters when constructing the quantification, assay, etc.
Updated 13/12/2017 19:04 1 Comments

KMD balance is showing with interest if running native mode

SuperNETorg/BarterDEX

When running with native KMD wallet, the balance shows is the total balance (transparent/spendable balance + interest earned).

Interest needs to be claimed before it can be used. Electrum shows the correct balance without the interest.

This is the current state of my address: {"msg":"success","result":{"balance":4798.4662625,"unconfirmed":0,"unconfirmedSats":0,"balanceSats":479846626250,"interest":2.86304005,"interestSats":286304005,"total":4801.32930255,"totalSats":480132930255}}

GUI shows balance: 4801.32930255 Electrum shows balance: 4798.4662625

Updated 13/12/2017 11:55

Sidebar suddenly turned gray

piroor/treestyletab

Short description

Simply one day I noticed TST sidebar being a different color, grayer than usual. I haven’t changed any of the settings from default, not added custom CSS. It just suddenly became different color and I can’t figure out why.

Steps to reproduce

I wish I knew.

Expected result

screenshot_2017-12-12_20-29-24

Actual result

screenshot_2017-12-12_20-29-08

Environment

  • Platform (OS): Xubuntu 16.04
  • Version of Firefox: 57.0.1
  • Version (or revision) of Tree Style Tab: 2.4.1
Updated 14/12/2017 03:03 3 Comments

Showcase "ArchiMate Dynamic Graph Viewer"

almende/vis

Dear Vis.js team,

I really enjoy using your visualisation library, and I’ve been using it for promoting advanced interactive visualization.

I’ve been producing an illustration of the advantage for Enterprise Modeling, through a tool call ArchiMate Dynamic Graph Viewer, and it will be followed by an Enterprise Navigation System based on ArchiMate and Vis. It can be accessed at http://www.eads-iw.net/web/nfigay/archimatevis The code (still alpha) is available on GitHub at https://github.com/nfigay/vis/

Let me know if good enough for including it on the list of vis.js showcases.

In addition, if I can’t contribute as developer, it is possible for me extracting from the application some complementary guidance and how to on particular topics, such as combining networks, datasets and views. Let me know if any interest.

Again, congratulation for this very exciting library.

Best regards.

Nicolas

Updated 12/12/2017 20:18 1 Comments

Problem reply with photo

telegraf/telegraf

Hello telegraf team. I am trying reply photo, but always getting error… What is wrong with my code: javascript var photo = __dirname+'/img/123.jpg'; console.log(photo); return ctx.replyWithPhoto({ source: fs.createReadStream(photo)});

This is error what I got: javascript { Error: 500: Unsupported message from Telegram at TelegramError (/var/www/html/telebot/node_modules/telegraf/core/network/error.js:3:5) at buildPayload.then.then.then.then (/var/www/html/telebot/node_modules/telegraf/core/network/client.js:102:17) at process._tickCallback (internal/process/next_tick.js:109:7) code: 500, response: { error_code: 500, description: 'Unsupported message from Telegram', response: '<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body bgcolor="white">\r\n<center><h1>500 Internal Server Error</h1></center>\r\n<hr><center>nginx/1.12.2</center>\r\n</body>\r\n</html>\r\n' }, description: 'Unsupported message from Telegram', parameters: {} } Image path is correct. Required fs: javascript const fs = require('fs')

Updated 14/12/2017 06:55 6 Comments

hf mf fchk - speedups

iceman1001/proxmark3

Finally, with a nice mix of techniques my hf mf fchk is much faster or at least equal fast as the depth first based script run mfkeys

With default_keys.dic reaching 417keys the need for a faster check keys was needed. Problem is there is no oracle like in binsearch which indicates if a key should be picked earlier or not.

Tests showed a sorted list was even worse. I have an third strategy in mind, besides the two depth first and width first algos. As is, the depth first algo and send found key to first in list has proven itself to be riddiculous good. So simple and still.

Anyway, have some fun with it!

Updated 12/12/2017 19:19 1 Comments

Rebar are not initializing dist_ac service from Erlang's kernel on shell command

erlang/rebar3

I didn’t find any issue nor plugin about the problem I have encountered, so I decide to publish this issue. I hope that a solution can be found.

I don’t know the rebar structure very well, but I could help to investigate this problem.

Environment

$ rebar3 report
Rebar3 report
 version 3.4.7
 generated at 2017-12-11T13:27:19+00:00
=================
Please submit this along with your issue at https://github.com/erlang/rebar3/issues (and feel free to edit out private information, if any)
-----------------
Task: 
Entered as:

-----------------
Operating System: x86_64-pc-linux-gnu
ERTS: Erlang/OTP 18 [erts-7.3] [source] [64-bit] [async-threads:0] [hipe] [kernel-poll:false]
Root Directory: /usr/lib/erlang
Library directory: /usr/lib/erlang/lib
-----------------
Loaded Applications:
bbmustache: 1.3.0
certifi: 2.0.0
cf: 0.2.2
common_test: 1.12
compiler: 6.0.3
crypto: 3.6.3
cth_readable: 1.3.2
dialyzer: 2.9
edoc: 0.7.18
erlware_commons: 1.0.4
eunit: 2.2.13
eunit_formatters: 0.5.0
getopt: 1.0.1
inets: 6.2
kernel: 4.2
providers: 1.7.0
public_key: 1.1.1
relx: 3.24.3
sasl: 2.7
snmp: 5.2.2
ssl_verify_fun: 1.1.3
stdlib: 2.8
syntax_tools: 1.7
tools: 2.8.3

-----------------
Escript path: /usr/local/bin/rebar3
Providers:
  app_discovery as clean compile compile cover ct deps dialyzer do edoc escriptize eunit get-deps help install install_deps list lock new path pkgs release relup report shell state tar tree unlock update upgrade upgrade upgrade version xref 

Current behaviour

I’m trying to use a very useful service provided by Erlang’s kernel, it’s called dist_ac. It was needed when I tried to create distributed applications (the same specified on this Erlang’s tutorial) using rebar3.

First, I tried using the kernel’s distributed config:

[{kernel,
  [{distributed, [{myapp, 5000, [cp1@cave, {cp2@cave, cp3@cave}]}]},
   {sync_nodes_mandatory, [cp2@cave, cp3@cave]},
   {sync_nodes_timeout, 5000}
  ]
 }
].

but it didn’t work as I expected, the two nodes have loaded the application, but both started the application as well, what shouldn’t happen, the node with higher priority (in sample, cp1@cave) must be the only one that starts the application.

When I decide to find out what happened, by using:

application:load(myapp, {myapp, 5000, [cp1@cave, {cp2@cave, cp3@cave}]}).

I received the following error:

** exception exit: {noproc,
                       {gen_server,call,
                           [dist_ac,
                            {load_application,myapp,
                                {sample_rel,5000,[[cp1@cave, {cp2@cave, cp3@cave}]}},
                            infinity]}}
     in function  gen_server:call/3 (gen_server.erl, line 212)
     in call from application:load1/2 (application.erl, line 101)

I investigate this problem, and discover that the dist_ac was not initialized on shell command, and I did not find out a way to start it myself.

Here is the process tree of my application using rebar3 shell: image

Expected behaviour

I think rebar3 should have the same behavior of the erl command. For example, when I use command erl -sname sample, the service dist_ac is started automatically. Here is a sample process tree: image

And the function application:load/2 works well when use erl command.

I wish that I could design my application using this feature described by the Erlang’s tutorial using rebar3.

Updated 11/12/2017 19:34 3 Comments

Can't sync tables in dynamics-nav:2018-fr docker

Microsoft/navcontainerhelper

Hi, After deploying a new doker from microsoft/dynamics-nav:2018-fr I can’t sync tables (despite the Windows client is working so the NST). …any idea ?


Microsoft Dynamics NAV Development Environment

Unable to process table changes because the Microsoft Dynamics NAV Development Environment cannot connect to the specified Microsoft Dynamics NAV Application Server instance:

Server Name: nav2018-fr-2 Server Instance: nav Management Port: 7045

Microsoft Dynamics NAV Development Environment will automatically detect and connect to a Microsoft Dynamics NAV Server instance that is running.

Check the following:

  1. The Application Server is running
  2. The management service on the server instance is enabled and assigned a valid port.
    1. If Microsoft Dynamics NAV Development Environment connects to Microsoft Dynamics NAV Server on a remote computer, then the management services port is open in Windows Firewall of the remote computer.

OK

Updated 13/12/2017 08:17 5 Comments

Unable to go to dimension

Darkhax-Minecraft/Hunting-Dimension

HuntingDimension-1.12.2-1.0.1 Bookshelf-1.12.2-2.3.509 Forge: 2561 Default settings config (nothing changed) - dim: 28885

  1. Created the portal (within a chunk)
  2. Used my Emerald sword to activate portal
  3. Stood in middle of portal and sneak.. nothing happened

  4. Broken the portal and redo and still unable to go to portal

  5. Reloaded the game, nothing

Ruins_log_dim_28885.txt: Loading options from: C:\Users\xxxx\AppData\Roaming.minecraft\saves\PlayGround\DIM28885 tries_per_chunk_normal = 6 chance_to_spawn_normal = 10.0 templateInstancesMinDistance = 256.0 anyRuinsMinDistance = 64.0 Ruins mod loaded successfully for world C:\Users\xxxx\AppData\Roaming.minecraft\saves\PlayGround\DIM28885, template files: 31

Images: 2017-12-10_23 45 50 2017-12-10_23 45 56

Updated 15/12/2017 00:03 11 Comments

Replace locks with a concurrent queue

RevenantX/LiteNetLib

Locking to pass messages between threads is a performance bottleneck. Instead, we should replace this mechanism with a FIFO queue such as the ConcurrentQue which does not require thread locking.

https://docs.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentqueue-1?view=netframework-4.7.1

https://github.com/dave-hillier/disruptor-unity3d

What are your thoughts?

Updated 13/12/2017 22:07 3 Comments

Modul Matches

diddipoeler/sportsmanagement

Bei der Anzeige des Modul Matches im Frontend erscheint folgende Fehlermeldung vor den Spielen. Notice: Undefined property: stdClass::$actplaying in /modules/mod_sportsmanagement_matches/helper.php on line 164

Der Fehler erscheint sobald ich mehr als ein Spiel anzeigen lassen.

Gruß Sven

Updated 11/12/2017 06:40

Storage.Put() overcharging GAS fees

neo-project/neo

Storage.Put() currently charges a minimum GAS fee of 1, no matter how much data is actually written. I’m unsure if this is intended but it seems incorrect based on the documented system fees which indicate 1 GAS per KB: http://docs.neo.org/en-us/sc/systemfees.html

This line: https://github.com/neo-project/neo/blob/master/neo/SmartContract/ApplicationEngine.cs#L388

If unintended, the formula could be updated to something similar to: ((l1 + l2 - 1) * 1000) / 1024. If this was intended then the documents should be updated for clarity on the cost.

Updated 12/12/2017 08:08 3 Comments

react-native-mauron85-background-geolocation won't build: ERROR: In <declare-styleable>

LabsLLC/labs-android

Build breaks with addition of geolocation library.

:react-native-mauron85-background-geolocation:processReleaseResources ERROR: In FontFamilyFont, unable to find attribute android:font ERROR: In FontFamilyFont, unable to find attribute android:fontStyle ERROR: In FontFamilyFont, unable to find attribute android:fontWeight

Cause: Out of date build.gradle in library

Workaround:

node_modules/react-native-mauron85-background-geolocation/lib/build.gradle and set com.android.support:support-v4:23.+

Context https://github.com/mauron85/react-native-background-geolocation/issues/116

Updated 14/12/2017 23:33

New Tree Behavior: Stack by Domain

piroor/treestyletab

Short description

List all tabs under the same domain in a tree. Check tab stack in Vivaldi

Steps to reproduce

  1. Start Firefox with clean profile.
  2. Install TST.
  3. open tabs as bellow

BEFORE

A github.com
\- B en.wikipedia.org
C github.com/issues
\- D en.wikipedia.org/wiki/github
E www.google.com

Expected result

When this feature is enabled, tree should be classified by domains.

AFTER

A github.com
\- B github.com/issues
C en.wikipedia.org
\- D en.wikipedia.org/wiki/github
E www.google.com

This will override opening behaviors and other methods of course.

Actual result

Tree are displayed as opening behaviors.

Environment

  • Platform (OS): Windows 10
  • Version of Firefox: 58.0b10
  • Version (or revision) of Tree Style Tab: 2.4
Updated 13/12/2017 05:01 1 Comments

Travis CI is failing because of fbsdk bug

LabsLLC/labs-android

Context

react-native-fbsdk needs to be compiled at api level 26, but the module currently specifies 25. We’ve been able to work around this by manually changing the api level in node_modules, but we haven’t found a work around for travis as of yet:

From the bug above:

react-native-fbsdk is unable to compile as of 2017/12/05 with error message:

/tmp/sandbox/workspace/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’. /tmp/sandbox/workspace/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’. :react-native-fbsdk:processReleaseResources FAILED FAILURE: Build failed with an exception.

What went wrong: Execution failed for task ‘:react-native-fbsdk:processReleaseResources’. com.android.ide.common.process.ProcessException: Failed to execute aapt

Updated 08/12/2017 19:03

Generating the playlist.m3u8

clappr/clappr-level-selector-plugin

I m having problem with generating the playlist.m3u8 with my static videos and then use this link with adaptive bitrate to select the proper video according to bitrate. i have seen tutorial for wowza streaming engine (trial version) but it different format for live application. I wanted to use playlist for my static video. any help to generate the static playlist for my static videos. Thanks for you reply.

Updated 08/12/2017 16:44 1 Comments

Too many active destinations: 101 Error on Rolling File appender

gchq/stroom

With a RollingFile Appender configured as per

image

I get the error [textWriter] FATAL: Too many active destinations: 101 multiple times. This is on all streams processed by the pipeline.

No errors occur if using a simple fileAppender.

I am using the example Event Data pipeline found in ./stroom/stroom-core-server/src/test/resources/samples/config/Standard Pipelines/Event Data.Pipeline.data.xml with the fileAppender manually replaced with a rollingFileAppender

Updated 11/12/2017 08:17 2 Comments

Invalid Conf Error While restoring conf on Fortinet Firewall

ytti/oxidized

Hi,

I’m successfully able to take the backup of Fortinet Firewall. But it throwing error while restoring conf on the same firewall. Please help me to fix this.

Firmware Version : v5.4.4,build6003 (GA)

{:name=>"172.16.3.236",
 :full_name=>"172.16.3.236",
 :ip=>"172.16.3.236",
 :group=>nil,
 :model=>"FortiOS",
 :last=>
  {:start=>2017-12-08 06:19:14 UTC,
   :end=>2017-12-08 06:20:22 UTC,
   :status=>:success,
   :time=>68.645254089},
 :vars=>nil}

fortinet

Updated 08/12/2017 10:17 2 Comments

Connection fails when behind corporate firewall

jenkinsci/aws-sqs-plugin

When I configure the plugin to connect from behind our corporate firewall, I get the stack trace below. The same configuration outside of our firewall succeeds. I see issues like this when I try to make a connection without going through our proxy which is why I suspect the plugin is not using our proxy. Is there some way to allow the plugin to use a proxy when connecting to SQS?

Error validating SQS access sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) Caused: sun.security.validator.ValidatorException: PKIX path building failed at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) at sun.security.validator.Validator.validate(Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496) Caused: javax.net.ssl.SSLHandshakeException at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.upgrade(DefaultHttpClientConnectionOperator.java:193) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.upgrade(PoolingHttpClientConnectionManager.java:375) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76) at com.amazonaws.http.conn.$Proxy105.upgrade(Unknown Source) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:416) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:787) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:630) Caused: com.amazonaws.AmazonClientException: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:641) at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:405) at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:367) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:318) at com.amazonaws.services.sqs.AmazonSQSClient.doInvoke(AmazonSQSClient.java:1726) at com.amazonaws.services.sqs.AmazonSQSClient.invoke(AmazonSQSClient.java:1696) at com.amazonaws.services.sqs.AmazonSQSClient.getQueueUrl(AmazonSQSClient.java:1055) at com.amazonaws.services.sqs.AmazonSQSClient.getQueueUrl(AmazonSQSClient.java:1067) at io.relution.jenkins.awssqs.SQSTriggerQueue$DescriptorImpl.doValidate(SQSTriggerQueue.java:371) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:113) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49) at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106) at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:278) at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:148) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128) at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Updated 13/12/2017 08:37 3 Comments

emacs key-binding restriction on linux and windows

kumabook/bebop

On linux and windows, we can’t override emacs key-bindings

shortcut key os. browser can override
C-N windows firefox X
C-N windows chrome X
C-N linux firefox X
C-N linux chrome X
C-P windows firefox
C-P windows chrome
C-P linux firefox
C-P linux chrome

bebop should focus on command line interface, stop supporting emacs key-bindings on textarea.

Updated 12/12/2017 12:55 1 Comments

Anees' Having Issues with Starting the Project

AYJACKSON-ICS4U/shared-drawing-canvas-websockets-and-p5-js-2cci-gang

Similarly to Cooper, I was able to run a local server on ONLY my computer, however, Atom stopped running properly on my computer, and after I finally resolved that issue, p5 refused to download on the C: and D: drives of 2 different computers. I made sure I used the proper code (credit to chiunhau/p5-manager) and I used Powershell as an admin.

Updated 07/12/2017 16:34 1 Comments

Cache directory and the root user

restic/restic

<!– NOTE: Not filling out the issue template needs a good reason, otherwise it may take a lot longer to find the problem! Please take the time to help us debugging the problem by collecting information, even if it seems irrelevant to you. Thanks!

If you have a question, the forum at https://discourse.restic.net is a better place. Please do not create issues for usage or documentation questions! We’re using the GitHub issue tracker mainly for tracking bugs and feature requests. –>

Output of restic version

restic 0.8.0 (v0.8.0-0-gc02923fb) compiled with go1.8.3 on linux/amd64

Issue

When running restic as the root user to take a system backup, the default cache directory is /root/.cache/restic. I propose to use /var/cache/restic as the cache directory when restic is run as root.

Reason

/root is often part of the root file system. This file system might not be as big, particularly on servers where more advanced partitioning schemes are used. Those places /var is more commonly more spacious and some might even have split /var over multiple partitions as well to avoid system havoc if some lesser critical partitions goes empty; like /var/cache. Filling up / can easily cause issues - and with restic repositories with thousands of files with lots of changes, the cache directory can easily grow quite a bit.

Updated 13/12/2017 07:32 7 Comments

equery does not accept table names as parameter

epgsql/epgsql

If I do something like

epgsql:equery(Conn, "INSERT INTO $1 ...", [TableName] ) I get an error like:

{error,{error,error,<<“42601”>>,syntax_error, <<“syntax error at or near \”$1\“”>>, [{file,<<“scan.l”>>}, {line,<<“1082”>>}, {position,<<“13”>>}, {routine,<<“scanner_yyerror”>>}]}}

Updated 07/12/2017 15:45 1 Comments

Unable to get individual properties from collection document after inheriting from Entity

RobThree/MongoRepository

The sample class I add earlier was public class Author:Entity { public virtual string name { get; set; } public string dob { get; set; } } and the response on getting list of authors was [ { "id": "5a2983589157cf906c39e808" }, { "id": "5a29899fcef3e85b9c427dd9" }, { "id": "5a29920fc9ea2c7a38f45085" } ]

After adding DataMember to each property like below

public class Author:Entity
    {
        [DataMember]
        public virtual string name { get; set; }
        [DataMember]
        public string dob  { get; set; }
    }

I was able to get the name and dob as part of the response

[
    {
        "name": null,
        "id": "5a2983589157cf906c39e808"
    },
    {
        "name": "Alayo Bolt",
        "id": "5a29899fcef3e85b9c427dd9"
    },
    {
        "name": "Alayo Bolt",
        "id": "5a29920fc9ea2c7a38f45085"
    }
]

Must I add the attribute [DataMember] to every field of my POCO classes before it could map to a field in the container document?

Updated 07/12/2017 12:43 7 Comments

C API doesn't work anymore if building without optimizations

opencv/opencv

This is a duplicate of #8658. Linking any application that uses the OpenCV C API without optimizations now results in a undefined reference to cvRound. This is because this function is now defined ONLY in a C++-only header: fast_math.hpp.

The reply (by “alalek”) on that bug was that the C API shouldn’t be used anymore. I don’t know who alalek is; is this the official position? This issue effectively kills the C API. I.e. it’s no longer an OPTION to use the C API without experiencing pain. And this particular issue isn’t even hard to fix. I can give you a patch, and we can agree to at least not kill the C API on purpose, yes?

Updated 07/12/2017 22:41 4 Comments

Fork me on GitHub