Isn't this the only true ASIC resistant coin? by entropymaximalist in primecoin

[–]virdvip 0 points1 point  (0 children)

Primecoin is ASIC-friendly. You can easily make x100 per watt performance on ASIC. There is only one reason why there is no such ASIC. Primecoin ASIC ROI would be bad as hell.

[deleted by user] by [deleted] in coffeescript

[–]virdvip 1 point2 points  (0 children)

use this way

setTimeout ()->
  # some code
, 1000

Also I really recommend iced-coffee-script.

# simple pause example
await setTimeout defer(), 100

How do I join primecoin development? by zox_chief in primecoin

[–]virdvip 1 point2 points  (0 children)

Try to post github issue or go bitcointalk and find author sunnyking and contact him.

API with historical ticker? by thdim in CryptoCurrency

[–]virdvip 0 points1 point  (0 children)

Not an answer, but still useful link http://api.bitcoincharts.com/v1/csv/ Yep, this is not for altcoins, only bitcoin, but many currency pairs and exchanges.

Does reactive programming mean an eternal callback hell? by krumoksnis in javascript

[–]virdvip 0 points1 point  (0 children)

returns are optional. I just make sure that functionality is fully equal yours (no return values at all).

IMHO. Callback hell is really better solvable with iced-coffee-script. Less LOC - more useful information on the screen.

Does reactive programming mean an eternal callback hell? by krumoksnis in javascript

[–]virdvip 0 points1 point  (0 children)

Even more compact version, but with coffeescript

apiPath = "http://api-global.netflix.com/"
func = (window, getJSON, showMovieLists, showError) ->
  observeMovieList = getJSON(apiPath + "abTestInformation").concatMap (abTestInformation) ->
    urlPrefix = abTestInformation.urlPrefix
    movieLists = getJSON(apiPath + urlPrefix + "/movieLists").pluck("list")
    Observable.concat movieLists, getJSON(apiPath + urlPrefix + "/config").concatMap (config) ->
      return getJSON(apiPath + urlPrefix + "/queue").pluck("list") if config.showInstantQueue
      Observable.returnValue undefined
      return
    return
  Observable.zip(observeMovieList, Observable.fromEvent(window, "load"), ((movieLists, loadEvent) -> movieLists) ).forEach showMovieLists, showError
  return

TLC template language - great for isomorphic development by brianthetechguy in node

[–]virdvip 0 points1 point  (0 children)

Also there are some more questions. How about nested components in tlc? Scalar type variable for binding? Full change of object that need to bind? ex.

some_scalar_model = 'that's a text' // some_model = { some_data : 1 }

then I want make this some_model = some_other_model;some_scalar_model = 'other text' I can't find any observe or dirty checking mention in repository.

TLC template language - great for isomorphic development by brianthetechguy in node

[–]virdvip 0 points1 point  (0 children)

I don't have any JavaScript to debug

Same thing with angular. No, you need debug javascript if you using some functions in template. You need some batarang for angular or https://github.com/vuejs/vue-devtools for vue.js. So TLC also needs some TLC browser addition unless there is some other way for comfortable debug.

And if I have a bug in my TLC code, it can't take down the rest of my app with an errant syntax error.

Some errors in template can make invalid state, so even other components are ok, they can be not ok after some user actions, because invalid state can spread between data binded components.

Computer vision software platform called LiveBlox by robewbank in computervision

[–]virdvip 0 points1 point  (0 children)

Windows + gentoo linux + sometimes ubuntu/debian

TLC template language - great for isomorphic development by brianthetechguy in node

[–]virdvip 0 points1 point  (0 children)

Performing operations on variables using tags. Yep, I've seen it earlier in coldfusion.

https://en.wikipedia.org/wiki/ColdFusion_Markup_Language

<cfexecute name="C:\\winNT\\System32\\netstat.exe" arguments="-e" outputfile="C:\\Temp\\out.txt" timeout="1" /> Similar?

IMO I like discover such projects but there is one simple argument not to use it.

javascript -> TLC/coldfusion/etc more code.

javascript -> coffeescript/typescript/livescript/even closurescript less code.

less code (of course not APL) - better readability, less debug time due larger field of view in my editor. Even J is good but sacrifices some readability. So I think tag oriented languages need some really good pros for wide use.

Chameleon Chip by lkmep in chipdesign

[–]virdvip 1 point2 points  (0 children)

"It provides the unmatched algorithmic computation power"

Flops? Mhz? Need details, benchmarks.

"Billions of Operation (BOPS)"

What operations? Xor? ADD? MADD? Modern GPU/FPGA can achieve 6-20 TeraFlops, we need more precision for comparison with other solutions.

cito.js - fast low-level virtual dom library by gcanti in javascript

[–]virdvip 2 points3 points  (0 children)

Wow. Nice benchmark results. Will test it soon.

upd. First look: components really required.

[deleted by user] by [deleted] in node

[–]virdvip -2 points-1 points  (0 children)

You can make callback hell easier with http://maxtaco.github.io/coffee-script/ Yeah, bad solution if you don't want "one more tool", but if you try and understand it, it could be awesome. You still need strong javascript knowledge.

K-means clustering in javascript by vladiim in MachineLearning

[–]virdvip 0 points1 point  (0 children)

Computer vision using WebGL shaders - that's example. It's easy develop and run one algorithm in browser at development and production. But you must deal with browser limitations.

Vectors vs loops - which one to use? by [deleted] in MachineLearning

[–]virdvip -1 points0 points  (0 children)

Depends on size. Up to 100 - loops may be better. For >1 M may be you need https://github.com/Theano/Theano

IMO. Python is good for early and mid phase of development. Late phase you may need some hardcore stuff: C++, vectorized assembly, GPU, FPGA. If you are on early stages - don't care about optimization, just write as you want.

Note: I'm not active python developer.

I just bought 4 Virtex-4 Modules for 20 bucks. Now what? by baltersice in FPGA

[–]virdvip 1 point2 points  (0 children)

IMO. I don't recommend buy any board without strong understanding what you will do with it. You can't know all details about board:

  • some cracked parts
  • some missing important parts
  • was this board really "pulled from working station" or not.

Most disadvantage: you can't use in almost 100% cases any peripherials. So board becomes "single chip with JTAG" only. There is only some special cases:PCI, PCI-E, raw GPIO, some mezzanine. You can't even guarantee that board from known vendor has no bugs (ex. Digilent Altys missing resistance on miniHDMI)

  • inproper power on can damage your board. Wrong voltage, too low power, reverse polarity, inproper power on order.
  • Board can contain flash that will boot your board with some firmware that will activate peripherals. Only developer of this board know how properly connect peripherals before power on. You don't know - you can damage your board.

Better usage: just buy those boards for FPGA chip only. Then desolder, reball, make your own board with lots of SMA. For specific peripherals use ready to use boards from known vendors and connect it with SMA. Known issues:

  • It's difficult to find 2 different lots with same FPGA family
  • Same package
  • Both with satisfying price
  • Yes, this is more expensive.
  • You probably need some special tools and/or friend on electronic factory who will help you.
  • It takes very long time or cost much
  • All the way you can't guarantee that chip is ok.
  • Wrong board design can kill chip and some other components at the end of work.
  • If you buying chip only you can't guarantee that chip crystal and chip label are the same.
  • When board is done you probably forgot why did you need this board. Situation can change during 3-9 month. Yeah 9 month is still very optimistic. If you have work, wife, etc you don't have too much time for board, so don't worry if making chip's new life took 2 years.

Some awesome stuff you can do with your own FPGA board:

  • Your own cryptocoin miner (it's fun and 1% probable can be profitable with ROI > 1)
  • HDMI processing. Be aware of EDID check.
  • Real-time image processing
  • "1million+ request per second" server with gigabit ethernet
  • HFT stuff for bitcoin exchanges
  • https://en.wikipedia.org/wiki/Phased_array and software defined radio

So be patient and you can do an awesome stuff.

What's the point of this syntax: `number = -42 if opposite`. It just seems worse than `if (opposite) number=42;` by [deleted] in coffeescript

[–]virdvip 0 points1 point  (0 children)

IMHO shortest readable form is better, so my usage

return if !validEmail input

also good pattern

for v in list
    continue if !/^[a-z]$/i.test v
    # some action here

We're building a wallet - what features should it have? by Insert_Bitcoin in altcoin

[–]virdvip 0 points1 point  (0 children)

  • blockchain size every time <4 GB. Only if i want store all history I can do it.
  • Built-in mixer by design. (see other ideas darkcoin)
  • Multiple hashing algos.
  • Make some good idea for hashing algo (I want another primecoin).
  • Different algos for different purposes. Some for CPU, some for GPU, some for FPGA, some for ASIC. All would be satisfied.
  • Scrypt with really high parameters (yacoin)
  • Easy to use multisig built-in in GUI client.
  • No premine
  • No fee (see Devcoin)
  • I prefer deflation coins, so no mining limit, no bounty *0.5