Skip to content

Instantly share code, notes, and snippets.

View wiless's full-sized avatar
💭
I may be slow to respond.

wireless wiless

💭
I may be slow to respond.
View GitHub Profile
@wiless
wiless / designer.html
Last active January 27, 2016 16:00
designer
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
position: absolute;
@wiless
wiless / testplot.cpp
Last active December 18, 2015 02:29
KPlotWidget test code
#include <QApplication>
#include <QDialog>
#include <QHBoxLayout>
#include <KPlotWidget>
#include <KPlotObject>
#include <KPlotAxis>
#include <KPlotPoint>
#include <itpp/itbase.h>
int main(int argn,char *argc[])
@wiless
wiless / Review.md
Last active September 23, 2015 08:38
Review on Wire app

Pros :

Love the call quality, the UI, less settings. Sign-up mechanism Pros : Signup with email or phone number. Chat or wire-contacts are by invite only. Does not automatically add everyone in the world having your email/phone number. Setting allows to disable sharing contacts .

Cons/Needs attention :

  1. First time login should ask whether allow contact sharing or not
  2. Do not SUGGEST my contact-friends to other friends on my list !!
  3. Though on the phone-app, I had disabled the sharing of contacts, when I open the web version of your app (apps.wigosim.com) , the setting shows "Share contacts" !!
  4. One of most common complains among my contacts are the NOTIFICATION sounds are not LOUD enough, sometimes the calls get unnoticed !! [ I ensured the notification is turned on for all events]
  5. Even though I disabled "Giffy" settings, it still shows "Gif" Icon at the chat-text input area. Would recommend to replace that with "Send Icon" if the giffy is disabled in setting

A golang application models a system of multiple base-station represented as

type BaseStation struct{
...
}

A simulation system creates []BaseStation and calls .Transmit(ch chan []complex128) method for each object. Typical size of []BaseStation is of the order of 100s.

@wiless
wiless / sumall.go
Created March 15, 2015 13:51
Example walk through interface and reflect
package main
import (
"reflect"
"strconv"
"fmt"
)
func sum(arguments ...interface{}) {
@wiless
wiless / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../core-pages/core-pages.html">
@wiless
wiless / designer.html
Last active August 29, 2015 14:10
designer
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@wiless
wiless / singlecell.go
Created November 27, 2014 19:16
Sample code to calculate rssi in a sample deployment
package main
import (
"fmt"
"github.com/grd/statistics"
"log"
"math/cmplx"
"math/rand"
"time"
"wiless/cellular/antenna"
@wiless
wiless / qpskber.go
Created November 26, 2014 16:56
QPSK BER simulation in Golang
package main
import (
"fmt"
"math/rand"
"math"
"io/ioutil"
"time"
"flag"
"runtime"
@wiless
wiless / circuit.go
Last active August 29, 2015 14:04
Sample code for executing link
package main
import (
"bytes"
"encoding/binary"
"flag"
"fmt"
"math/rand"
"net"
"strconv"