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

actionHandler won't fire

alexaubry/BulletinBoard

The actionHandler won’t fire. What am I doing wrong?

  • used version 1.3.0
  • newest xcode
  • running on ios 11.3

setupAppManager() gets called form viewDidLoad() ``` //MARK: Setup App private func setupAppManager() { let root: BulletinItem = test() let manager: BulletinManager = BulletinManager(rootItem: root) manager.prepare() manager.presentBulletin(above: self) }

private func test() -> BulletinItem {
    let page = PageBulletinItem(title: "Foo)
    page.image = UIImage(named: "Foo")
    page.descriptionText = "Lorem Ipsum"
    page.actionButtonTitle = "Setup"

    // Button press interaction
    page.actionHandler = { (item: PageBulletinItem) in
        print("Pressed")
    }

    return page
}

```

Updated 27/05/2018 15:19 1 Comments

Meteotime decoder

rene0/dcf77pi

When an official HKW 581 chip is connected to the receiver, it is technically possible to decode Meteotime transmissions sent in bits 1-14. Since this is (partly) patented, figure out if this is legally allowed.

Updated 27/05/2018 14:16

Ability to transfer raw Fails without Error wrapper

untitaker/shippai

@jan-auer briefly mentioned this during RustFest: Their rust FFI returns Fails instead of Errors.

  • Determine whether it’s generally good enough for everybody to just wrap that into an Error, even if that makes for an ugly C FFI.
  • What are we supposed to do with the ShippaiError type?
  • Or implement custom handling for arbitrary Fails
Updated 27/05/2018 13:17

GCop 628

Geeksltd/GCop

Please provide a sample for GCop628. As Karvan told me, the purpose of this rule is keeping the dependent method to a class inside the class . For example when you have a .ToString(ClassA x) method you can have it in any classes and in the project but the best location is ClassA because you can simply call it as ClassA.ToString() but It seems there are some other important points in this rule, which cause no hint for the example above.

Updated 27/05/2018 13:01

Is up/down operator on rate/heights required?

beast-dev/beast-mcmc

Its key advantage was it would not change the likelihood of the data (and thus it didn’t need to be recalculated). This optimization was never implemented (the data likelihood is recomputed anyway).

However, it may help sample along the inverse correlation of rate and tree size.

Consideration of what to do when there are multiple rates.

Updated 27/05/2018 12:54

Process和父进程共享一个进程池

swoft-cloud/swoft-framework
//Swoft\Process\ProcessBuilder.php
/**
     * After process
     *
     * @param string $processName
     * @param bool   $boot
     */
    private static function beforeProcess(string $processName, $boot)
    {
        if ($boot) {
            BeanFactory::reload();
            $initApplicationContext = new InitApplicationContext();
            $initApplicationContext->init();
        }

        App::trigger(ProcessEvent::BEFORE_PROCESS, null, $processName);
    }

boot 为false的Process,其和父进程共享一个连接池

Updated 27/05/2018 14:42

Failed to authenticate and fast sync stalled

forbole/cosmos-sdk

Sometimes, there is an error

I[05-27|08:38:31.970] Error reconnecting to peer. Trying again module=p2p tries=17 err="Failed to authenticate peer. Dialed 5b5cf21c03157265d359e35b664c9712cf27b322@35.189.177.229:46656, but got peer with ID 715fd12f941f00401a6085e76d76efa1c26e90a6" addr=5b5cf21c03157265d359e35b664c9712cf27b322@35.189.177.229:46656

And the fast sync stalled for few seconds. Not sure how this “fail to authenticate peer” happens and if it is a bug.

Updated 27/05/2018 08:53

Implement dynamic attributes

slavasn/bloqly

For example, the ‘system’ attribute power depends on user’s balance and it would be better to calculate it dynamically:

function getPower(target) {
    return getProperty(target, 'balance', zero);
}
Updated 27/05/2018 09:09 1 Comments

Form in Grid

volkanceylan/Serenity

I was able to insert form in form based on sample BasicSamples\Dialogs\EntityDialogAsPanel.ts Dialog.ts for the Form does not work however, but I was was able to put TS into parent Dalog.

Problem of today is, I want to insert form into Grid. And I am unable to do it somehow. Ideally it would be between search controls and grid with results itself.

Any hints are appreciated.

Updated 27/05/2018 10:01

How to make hash map instance in kaitai struct?

kaitai-io/kaitai_struct

I want to make a byte code parser in kaitai struct. In the .pyc file format, bytecodes are defined in enum, but to determine number of arguments for each byte code, the .pyc file format still uses conditional expression.

So I think, is there anyway to make a hash map that can define both bytecode name and number of bytecode arguments, something like this (I take the below from .pyc file format, but I want to use it for another format): yaml type: instruction: seq: - id: op_code # assume this is always correct type: u1 - id: args type: argType(op_code) repeat: expr repeat-expr: op_codes[op_code][1] # the important line is here instances: op_codes: value: # how to realize this? 0 : ['stop_code', 1] #[<op_code name>, <op_code_argc>] 1 : ['pop_top', 2] 2 : ['rot_two', 3] 3 : ['rot_three', 4]

Updated 27/05/2018 11:47 1 Comments

Oracle JDBC Connector driver not found issue for connect distributed

confluentinc/kafka-connect-jdbc

When running Confluent 4.1.0 with connect distributed, the kafka jdbc connector is not finding the oracle JDBC driver even though it exists in the path. However, when running the same configuration through connect standalone it works just fine. Is this an issue with the software or my configuration. Any guidance will be appreciated.

The error I get is as follows when trying to load the connector: bin/confluent load timesheet_utc -d ./etc/kafka-connect-jdbc/timesheet-utc.properties

{ “error_code”: 400, “message”: “Connector configuration is invalid and contains the following 2 error(s):\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:userxxx/passxxx@host.com:9999:test for configuration Couldn’t open connection to jdbc:oracle:thin:userxxx/passxxx@host.com:9999:test\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:userxxx/passxxx@host.com:9999:test for configuration Couldn’t open connection to jdbc:oracle:thin:userxxx/passxxx@host.com:9999:test\nYou can also find the above list of errors at the endpoint /{connectorType}/config/validate” }

Updated 27/05/2018 13:59 1 Comments

Github and git flow

tasks-delivery/android-learning
  • [ ] What is github and git flow

  • [ ] Preparation git-bash for development

  • [ ] How to work with git command line (clone. branch, checkout, add, commit, push, pull and so on)

  • [ ] Make the first commit and push code in remote repo

  • [ ] Make the first pull request and merge branches

  • [ ] What is code review

Updated 27/05/2018 08:40

登录账号视频看不了报错,不登录账号就可以看

techGay/v9porn

运行环境

  • [x] 手机型号:如:小米6
  • [x] 系统版本:如 Android 7.0
  • [x] APP 版本:1.0.5

界面截图 http://wx2.sinaimg.cn/mw690/0060lm7Tly1frpv2q7jrvj30u01g3gmy.jpg

不登录账号就可以看,网站是不是对账号进行了限制。 收藏问题,楼下帖子已经发过了,什么时候修复?

Updated 27/05/2018 15:37 1 Comments

stfp com.jcraft.jsch.JSchException: connection is closed by foreign host

venusdrogon/feilong-net

stfp com.jcraft.jsch.JSchException: connection is closed by foreign host

今天某商城 使用出现了以下的异常

1013 04:00:00 ERROR (SFTPFileTransfer.java:122) connect() - sftpFileTransferConfig:    {
        "port": 22,
        "sshConfig": {"StrictHostKeyChecking": "no"},
        "userName": "columbia",
        "hostName": "********",
        "password": "******",
        "sessionTimeout": 120000
    },by:connection is closed by foreign host
com.jcraft.jsch.JSchException: connection is closed by foreign host
    at com.jcraft.jsch.Session.connect(Session.java:269)
    at com.jcraft.jsch.Session.connect(Session.java:183)
    at com.feilong.tools.net.filetransfer.sftp.SFTPUtil.connectSession(SFTPUtil.java:76)
    at com.feilong.tools.net.filetransfer.sftp.SFTPFileTransfer.connect(SFTPFileTransfer.java:108)
    at com.feilong.tools.net.filetransfer.AbstractFileTransfer.download(AbstractFileTransfer.java:83)
    at com.store.manager.member.impl.MemberImportManagerImpl.readViplist(MemberImportManagerImpl.java:156)
    at com.store.manager.member.impl.MemberImportManagerImpl.importVIPstaff(MemberImportManagerImpl.java:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy533.importVIPstaff(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
Updated 27/05/2018 04:16 1 Comments

Consider applying received events to evented sagas.

jmalloc/ax

Currently, when a saga implements saga.EventedSaga, it’s ApplyEvent() method is only called when an event is published (or when rehydrating a saga from its event stream, in the case of eventsourced sagas).

I was wondering if it makes sense that the events that are handled by a saga should also be passed to ApplyEvent. This would allow you to write evented (but not eventsourced) workflow sagas, but I’m not sure it makes sense in all cases.

Updated 27/05/2018 01:35

chore(precommit): add a precommit hook to transpile and lint

nestjs/nest-cli

Hi there!

This is more a proposal that an enhancement or a fix: I think the project would benefit from a pre-commit hook which forces the new changes to respect the linter rules and to be valid TypeScript code. This is why I used npm run lint && npm run build as a hook. If it fails, we’ll know that either the linting (tslint) or the building (tsc) stage has failed.

Updated 27/05/2018 15:48 4 Comments

Linting for Java code.

ray-project/ray

We currently use clang-format to lint the C++ code and a combination of yapf and flake8 to lint the Python code. These are tested in Travis. We should also do linting for the Java code to maintain a clean/consistent style.

What is the best practice here? Also, what does Arrow do?

cc @imzhenyu @salah-man @eric-jj

Updated 27/05/2018 02:33 2 Comments

Go live with v0.9.7

2Abendsegler/GClh

@Ruko2010 @CachingFoX Ich würde gerne am Montag den 28.05. die neue Version 0.9.7 raushauen. Die 5 PRs von mir würde ich gegebenenfalls dann auch selbst mergen. Was bis dahin noch zusätzlich da ist kann ich auch noch prüfen und gegebenenfalls mergen. Spricht etwas dagegen?

Updated 26/05/2018 23:04 1 Comments

Duda sobre Test de Unidad del PUT

frlp-utn-is-2018/orderingg

Acabo de hacer el test de unidad y lo pasó correctamente. Busco que, con el PUT, la cantidad del producto cambie por la cantidad nueva que le paso. No sé si verdaderamente está bien hecho. Por las dudas te paso el código: ``` def test_put(self): o = Order(id= 1) db.session.add(o)

    p = Product(id= 1, name= 'Plato', price= 15)
    db.session.add(p)

    orderProduct = OrderProduct(order_id= 1, product_id= 1, quantity= 1, product= p)
    db.session.add(orderProduct)
    db.session.commit()
    data = {
        'quantity': 10
    }
    resp = self.client.put('order/1/product/1', data=json.dumps(data), content_type='application/json')
    self.assert200(resp, "Fallo el PUT")

```

Updated 26/05/2018 23:35 3 Comments

consulta assert de selenium

frlp-utn-is-2018/orderingg

mi consigna para selenium es verificar is al ingresar un producto con cantidad negativa. Logre escribir el codigo para poder hacer que selecciones un producto y escriba la cantidad negativa: image pero tengo un problema en el assert. ¿Cual debería usar para poder verificar is el botón guardar se inhabilita al escribir una cantidad negativa? Según veo al inspeccionar el código, el campo en donde se encuentra el botón guardado aparece un nuevo atributo llamado -disabled=“disabled”- al ingresar algo erroneo. Lo que no se es como poder verificar si existe, ya que no existe dentro del id: image

Updated 27/05/2018 14:20 6 Comments

Hitting the memory limit on M5 Stack

finger563/esp32-wireless-display

LD build/ESP32_Wireless_Display.elf d:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/ProjectX2018/ESP32_Wireless_Display/src/build/ESP32_Wireless_Display.elf section .dram0.bss' will not fit in regiondram0_0_seg'

d:/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `dram0_0_seg' overflowed by 5800 bytes

Can you suggest what can be done? :( I think the WROVER KIT has more memory..

Updated 26/05/2018 23:14 1 Comments

GUI: pressing 'backup' does nothing

teejee2008/aptik

I’ve selected a folder for backup (that’s what ‘Backup path’ refers to, right - the destination path?) and pressed ‘backup’ and nothing seems to happen.

Mint 18.3 Aptik GTK 18.5.2 [installed from the Mint repository, so far as I can tell] Aptil 18.5.2 [installed from the Mint repository, so far as I can tell]

Updated 27/05/2018 08:08 3 Comments

Domain Bandwidth Monitor & Services API

firehol/netdata

Would it be more awesome if we can check the status of the total bandwidth used in GB/MB/KB and all? Apart from that a feature that shows the bandwidth used by EACH DOMAIN or application using Nginx or Apache?

Also, what if there is an API that can restart Nginx or Apache or other services on the server.

Thanks!

Updated 27/05/2018 12:43 1 Comments

Html object tag data loads only once without refreshing the page.

shamimhcp1/Object-Tagcing

<b>English Language</b> If I click to the “Horizontal Form” & “Vertical Form” button, it only works for the 1st time. without refreshing the page it does not work again. please help me to solve the issue. so that it works always."

<b>Bengali Language</b> “"Horizontal Form” & “Vertical Form” button e click korle sudu 1st time kaj kore. page refresh na dile r kaj kore na. please give me a solution so that ai button gulo jotobar click korbo totobat kaj korbe."

Here’s the Html code,

<pre> < li class=“btn btn-danger mt-2” id=“hCardBtn”><h4 class=“text-left”>Horizontal Form></h4>< /li > </pre> <pre> < li class=“btn btn-success mt-2” id=“vCardBtn”><h4 class=“text-left”>Vertical Form></h4>< /li > </pre> <pre> < object data=“browser/form/hCard.html#hCard” id=“hCardObject”></object> < object data=“browser/form/vCard.html#vCard” id=“vCardObject”></object> </pre>

Here’s the CSS Code

<pre>

hCardObject, #vCardObject {

display: none;

} </pre>

Here’s the javaScript Code,

<pre> $(‘#hCardBtn’).click(function () { $(‘#vCardObject’).css({ ‘display’ : ‘none’ }) $(‘#hCardObject’).css({ ‘display’ : ‘block’ }) });

$(‘#vCardBtn’).click(function () { $(‘#hCardObject’).css({ ‘display’ : ‘none’ }) $(‘#vCardObject’).css({ ‘display’ : ‘block’ }) }); </pre>

Updated 27/05/2018 09:23

bsdtar

raspberrypi/noobs

NOOBS uses bsdtar 3.3.1 to unarchive the OS files. But when I try to create an archive with it (using even a basic bsdtar -cf test.tar .) It errors with bsdtar: statfs failed bsdtar: Error exit delayed from previous errors. Any ideas ?

Updated 27/05/2018 12:31 2 Comments

Consulta tests selenium

frlp-utn-is-2018/orderingg

Buenas, estaba haciendo el test de integracion en selenium que verifica que no se pueda agregar un producto con cantidades negativas. Estoy simulando con el navegador los pasos para agregar el producto y al desplegar la lista no aparecen las opciones

Te dejo el codigo de lo que estoy haciendo . def test_cant_negativo(self): driver = self.driver driver.get(self.baseURL) boton_agregar_producto = driver.find_element_by_xpath('/html/body/main/div[1]/div/button') boton_agregar_producto.click() seleccionar_producto = driver.find_element_by_id('select-prod') seleccionar_producto.click()

Updated 26/05/2018 22:47 5 Comments

figure out PvP talents

Mortalknight/GW2_UI

Need to determine how to handle PvP talents. There was talk of a new WIP PvP UI, but BfA changes up PvP talents yet again anyway. Just need to sort out how to tackle this for the talent panel launch.

Updated 26/05/2018 19:28

Problem with search and go

kiwix/kiwix-android

New version on kiwix available on Playstore shows me some bug on search. Eventhough it shows search suggestions, wont leads to the page on selection. I’m not sure weather its only for non-latin languages (since Im using Malayalam zim files)

Updated 27/05/2018 05:25 1 Comments

Should we add "Written works" as a dealer merchandise option?

MidwestFurryFandom/rams

Our current categories cover most of the common things I see sold at conventions, but one big omission that could potentially offend/ostracize some dealers is the lack of an explicit option for books, comics, and other written works. Yes, they could select Other, but I think this is one category common enough in the fandom to merit its own selection. Note that comics might be classified under Visual Art, so perhaps this option would be best named as a general “Written works.”

Two other less common categories include Music and Gear (e.g. cosplay or leather gear), but these can more reasonably be handled by the Other category.

Updated 26/05/2018 20:08 1 Comments

Simply creation of Task/Job/JobExecutor

KenSuenobu/scattersphere

Right now, it’s a three step process. Get it down to 1 or 2 steps if possible, if it makes sense. We may want to keep the process separate due to options and settings for each step of the way.

Maybe make a simple process, then a more controlled process: simple being “create a job with this task, without creating a job builder or task builder.” The controlled process being the way it is now.

Simple process could be done via the JobExecutor, possibly. Create a factory object that will do it for us. 🤔

Updated 26/05/2018 18:51

disparity transform using python wrapper

IntelRealSense/librealsense
Required Info
Camera Model D400
Firmware Version 05.09.11.00
Operating System & Version Win10
Platform PC
SDK Version 2.11.1

i am trying to use disparity transform with python according to c++ API, but without success How can I use this filter? self.disparity = rs.disparity_transform(True) self.disparity.update_transformation_profile(filtered)

Updated 26/05/2018 17:43

rabbitmq

boazsegev/plezi

Hi Bo,

in the https://github.com/boazsegev/iodine/blob/master/SPEC-PubSub-Draft.md document you mention :rabbitmq as a possible value for the :match opt.

Do you have some sample of plezi code using iodine/rabbitmq support for the pubsub system instead of redis?

thanks in advance :)

Updated 26/05/2018 17:42 1 Comments

Fork me on GitHub