Better HN
topnewbestaskshowjobs
Log inSign up

devdoomari

173 karma · joined Dec 5, 2013 (12y ago) · 150 submissions

Submissions

comment 9y ago · link · parent

awesome feature! I've always wanted something like 'tagging' on github :)

btw, can you implement tagging when I star/fork a repo? ps: have a look at https://getpocket.com's tagged-bookmark feature

comment 9y ago · link · parent

> the worst being the machine locking up if you let it sit for too long.

uhm... look into power settings? That's common for most os.

comment 9y ago · link · parent

getting a thinkpad X230T or a thinkpad helix (with wacom pen) from Ebay is much cheaper ;)

comment 9y ago · link · parent

yep... making 'understandable' is really important.

But given that discipline, scala would outshine go since scala has much better typechecking than go - e.g. http://getquill.io/ can typecheck against a running DB schema, etc.

comment 9y ago · link · parent

well, there can be 'autonomous-car-friendly-zones' which would automatically entail ridiculously high rent prices : )

comment 9y ago · link · parent

sublime does have 'goto definition' and 'find usages / references', but they're not the same as peeking. They both open the target file (& changes the files you were viewing), whereas peeking just let you stay where you were.

comment 9y ago · link · parent

not related to vim, but try Visual Studio code. Once you personalize its shortcut key bindings (which everyone I know does), it's way better IDE than sublime/atom/etc. It has code definition 'peeking' (staying on the same file while 'peeking' on definition), reference peeking, renaming, etc.

comment 9y ago · link · parent

I can't think of a CRDT / anything that can handle your example...

but wouldn't this be somewhat (*not 100%) mitigated with UI? (e.g. showing carret positions + time-agos of different users, asking user(s) to resolve a conflict, etc.)

comment 9y ago · link · parent

does purescript support d.ts definition files for FFI?

comment 9y ago · link · parent

are there any 'touchable' monitor that renders pixel-as-depth yet?

comment 10y ago · link · parent

how about porting this to scalaJS? would be awesome to use scala's typechecking on this (especially on template strings)

comment 10y ago · link · parent

checkout css-modules! https://github.com/css-modules/css-modules

comment 10y ago · link · parent

this with some crypto-sauce would be mixnet voting :)

comment 10y ago · link · parent

how about approximating those sine-wave curves with bezier curves?

ps: I'm getting my salary on Nov. 11th so could you extend your offer until then?

comment 10y ago · link · parent

re:learned a lot about how to build reusable components myself from their API

material-ui's tutorials are really bad examples on this. They teach you to import from specific dir path inside material-ui. (e.g. import Pen from 'material-ui/lib/pen' or whatever)

Instead, they should recommend: import { Pen } from 'material-ui' since most of their exports are already in material-ui/src/index.js file (or some index.js file from package.json's main part)

comment 10y ago · link · parent

this. tried flow, but it's too 'smart' for my iMac to handle. Flow reads all JS files without problems - which killed my iMac after using 6>gb ram. a partial solution was to manually set ignore on some node_modules packages. but still, really slow experience with atom/subl/etc.

Compared to this, typescript is actually dumb enough to require ts definition files to actually parse non-ts (js) files.

comment 10y ago · link · parent

so much for the brave small dog :(

my pup pretends to pee on the pee pad to get cheese, but YMMV

comment 10y ago · link · parent

> be able to install in there as an unprivileged user is utterly ridiculous.

this. I'm using homebrew and installing every package as my own user is a security risk. One security mistake in a package can interfere with my main user account's files / other packages / etc.

Other package managers (apt, yum, macports, etc.) install each package as separate users (e.g. Mysql as user 'mysql') to prevent bad packages from 'leaking'.

comment 10y ago · link · parent

but aren't docs/mail/etc. somewhat profitable from enterprise offerings?

comment 10y ago · link · parent

I'm using typescript with React right now...and typescript does a decent job with jsx checking. (saved me from a lot of missing / wrong prop name errors)

anyway, does typescript support some kind of template-string validation for angular2? If so, I'm going to really re-consider angular2 for my next project

comment 11y ago · link · parent

What if those with social phobia are creating those serotonins to counter-act other social-phobia-causing stuff?

IMHO, this article really shouldn't say serotonin causes social phobia based on 'social-phobiacs have lots of serotonin'

comment 11y ago · link · parent

It's much easier to cheat on traditional voting system. You can just make a pre-made box filled with fabricated votes, turn off (or pause) recording, befriend(bribe) those inspection-related personnels, etc. From what I've learnt, with methods like mix-nets, you can be probabilistically sure that a person has voted, and there are no 'false' votes

comment 11y ago · link · parent

what about verifiable mix-net voting? wouldn't mix-net voting prevent from such things in the first place? if not, why/how? (*I'm learning about these stuff, and I want to know your opinions on them...)

comment 12y ago · link · parent

but what if they set-up the server side so that the server returns different results depending on the browser/OS?
12345