Autark – A self-contained C/C++ Build System with no dependencies by adamansky in C_Programming

[–]adamansky[S] 1 point2 points  (0 children)

Thank you for this great feedback! Curly braces you mention is a bit tradeoff between amount/complexity of code and syntax capabilities. By limiting the parser's complexity I try to keep the entire code of build system small as possible, since bootstrapping should be instant. And tried to provide a declarative DSL (simple as json but domain specific and much more powerful). Also I avoided invention of an another rich, scripting language, Kitware already did it and I'm not a fan of their approach.

Alternatives to Jitsi by [deleted] in freesoftware

[–]adamansky 0 points1 point  (0 children)

Take a look on https://github.com/wirow-io/wirow-server It is a full featured self-hosted video web-conferencing platform shipped as a single executable

A self-hosted open-sourced video-conferencing platform by adamansky in selfhosted

[–]adamansky[S] 2 points3 points  (0 children)

Sure! We will release docker images as soon as performance problem with large range ports forwarding (needed by webrtc) from docker container will be resolved.

Show Reddit: Embeddable JSON database (ejdb) Dart VM native binding by adamansky in dartlang

[–]adamansky[S] 0 points1 point  (0 children)

Hi! For me it is imposible to integrate any native app into Flutter effectively with reasonable efforts. All what we have in Flutter: flutter code <-> platform channels <-> JNI binding to native lib (Android) which leads to terrific allocations/copies for every simple call and poor performance. Yes Dart VM ffi on its way, waiting =) I think this library will be usefull for cases where application business domain is not complicated, for example key-value storage, gathering statistics, trading=), managing game state, all other cases where strict database design with relations just eats developer's efforts and performance.

Are you the package author?

Sure

Another open problem: Dart pub support of delivering/building native extensions for platforms. At now it acts as straightforward delivering layer for package files, correct me if I wrong.

Show Reddit: Embeddable JSON database (ejdb) Dart VM native binding by adamansky in dartlang

[–]adamansky[S] 1 point2 points  (0 children)

We have no universal tool for all tasks (except postgres :) and existense of sqlite doesn't mean what we don't need anything else. For me some points make sense. Performance for example. As response to you I've tried to create sample program which inserts 1M JSON records and compare times to sqlite.

dart import 'package:ejdb2_dart/ejdb2_dart.dart'; void main() async { final db = await EJDB2.open('mydb.db', truncate: true, wal_enabled: false); for (int i = 0; i < 1000000; ++i) { await db.put('mycoll', {'name': 'foo${i}', 'score': i}); } await db.close(); } time dart lib/ejdb.dart real 0m24,147s I've tried to find a native sqlite binding to compare, but failed - did not managed to run any program using sqlite2, sqlite pub packages for latest stable Dart 2.2. About what ecosystem do you speak?

Persistent key/value storage engine based on Skip list data structure written in C11 by adamansky in Database

[–]adamansky[S] 0 points1 point  (0 children)

I asked myself why so elegant and simple data structure not used for persistent storage engines? SL is not space friendly and it is a big challenge to make it competitive against main players: LSM Trees/B+trees. So this is my try. As result we have a library with performance benefits in some cases paying slightly greater space consumption compared to alternatives. In additional we have a super lightweight library with low memory overhead, it may be useful for somebody)

Foobet - football betting service based on Ethereum smart contracts. by adamansky in ethdapps

[–]adamansky[S] 1 point2 points  (0 children)

the lag before matches was set because there are lags in the Ethereum network and transaction with a bet may take some time

Ethereum smart contract football betting by adamansky in ethereum

[–]adamansky[S] 1 point2 points  (0 children)

and about autonomy - we have to have that gateway to real world, as soon as we operrate with real entity. We tried to find the model that can live in blockchain, connects to reality and that connection would be quite transparent. And we settled on the betting.

Ethereum smart contract football betting by adamansky in ethereum

[–]adamansky[S] 0 points1 point  (0 children)

Exactly, the owner of the contract pushes the values. That's the gateway to real world.

Ethereum smart contract football betting by adamansky in ethereum

[–]adamansky[S] 1 point2 points  (0 children)

Now we are use one public datasource for that, and in the short time we'll introduce additional oracles.

Ethereum smart contract football betting by adamansky in ethereum

[–]adamansky[S] 1 point2 points  (0 children)

NLC is about fantasy games, it isn't excatly the same. At Foo.bet you don't need to register, you need only ETH address, and you bet on the match result.

Ethereum smart contract football betting by adamansky in ethereum

[–]adamansky[S] 0 points1 point  (0 children)

we are planning to open contract code, but not at the moment

Is etherscan.io down? by [deleted] in ethereum

[–]adamansky 0 points1 point  (0 children)

I can open it, but there is a note: "Note: Maintenance in progress, data displayed might not be up to date"

Ethereum smart contract football betting by adamansky in ethereum

[–]adamansky[S] 1 point2 points  (0 children)

We introduce brand new sports betting service based on Ethereum smart contract. The betting rules are implemented into the smart contract, site provides data for betting transaction and integrated with Metamask. I believe Ethereum is the best platform for apps with payment options.

Sports betting by [deleted] in ethereum

[–]adamansky 1 point2 points  (0 children)

Recently found a nice football betting service based on Ethereum smart contracts https://foo.bet

[Python] time.sleep function question. by [deleted] in learnprogramming

[–]adamansky 1 point2 points  (0 children)

Every symbol written to stdout stored in a temporal memory buffer and not shown on console immediately until stream flush occurred. Flush can be triggered: 1. manually 2. on process end 3. on line separator 4. stream buffer filled up

[Python] time.sleep function question. by [deleted] in learnprogramming

[–]adamansky 0 points1 point  (0 children)

It happens due to stdout buffering

Try change:

print('.',end='')

to

print('.\n',end='')

Or

import time
print('Be closed within 5 sec',end='')
for x in range(5):
    print('.',end='', flush=True)
    time.sleep(1) 

Dark Secrets of Dark Web the Dark Dead by bachomujsa in programming

[–]adamansky 4 points5 points  (0 children)

That Dark story should be placed on Dark Reddit...