Better HN
topnewbestaskshowjobs
Log inSign up

chrisohara

232 karma · joined Nov 19, 2010 (16y ago) · 73 submissions

https://github.com/chriso https://linkedin.com/in/chris6f
Submissions

1.

Bedrock, an A.I. Startup for Construction, Raises $270M(nytimes.com ↗)

14 points · by chrisohara · 9mo ago · discuss

comment 1y ago · link · parent

> Io in zig is for “things that can block execution”. Things that could semantically cause a yield of any kind. Allocation is not one of those things.

The allocator may yield to the OS when requesting or releasing memory (e.g. sbrk, mmap, munmap)?

comment 7y ago · link · parent

Sherlock (sherlockscore.com) | Full-stack (Rails/React) | REMOTE | Full-time | $90k – $150k

Sherlock is changing the way SaaS businesses understand and operationalize their product engagement data. Built by a team of SaaS veterans, we are the only product engagement scoring application on the market today. We have found success with our early customers and are ready to expand the team to accelerate our growth. We offer a competitive salary and benefits and are excited to build out the team further.

Email chris@^ or apply here: https://angel.co/sherlock-4/jobs/488709-full-stack-engineer

comment 10y ago · link · parent

I think it's referring to the fact that certain details (traffic, DNS requests, timestamps, IP addresses) are logged. Ideally you want a service that does not log anything, that's why "Yes" is red.

comment 10y ago · link · parent

I just finished a C library for string interning: https://github.com/chriso/intern

There are also some bindings for Go: https://github.com/chriso/go-intern

comment 12y ago · link · parent

Tagging would be the next addition. I added the ability to search for keys by prefix quite efficiently, so provided one stored keys like "requests:server1", "requests:server2", one could easily run the following

    requests = 0
    for key in gauged.keys('requests:'):
        requests += gauged.aggregate(key, Gauged.SUM, start=-Gauged.WEEK)

7.

gauged: a time series database(github.com ↗)

22 points · by chrisohara · 12y ago · 4 comments

8.

Show HN: gauged, a storage layer for numeric data that changes over time(github.com ↗)

1 points · by chrisohara · 12y ago · discuss

comment 12y ago · link · parent

SEEKING WORK

Full-stack developer from Sydney, Australia. I'm a Javascript (Node.js), Python and C expert.

http://github.com/chriso

cohara87 (at) gmail.com

10.

Validator.js: String validation and sanitization(github.com ↗)

3 points · by chrisohara · 12y ago · discuss

comment 13y ago · link · parent

We built something similar in node.js (as express/connect middleware)

http://github.com/sydneystockholm/imgr

comment 13y ago · link · parent

Author here.

Still active, although development has slowed down.

If you have any questions or issues just submit an issue @ Github and I'll help asap.

comment 13y ago · link · parent

Why not use harmony generators?

Generators are provided by V8, don't require an external fibers extension (i.e. hack), and will be available in the next node stable via `node --harmony-generators`.

Here's an example for those interested: https://github.com/visionmedia/co

comment 13y ago · link · parent

https://cdn.api.twitter.com/1/urls/count.json?url=google.com

Works for me.

comment 14y ago · link · parent

We just built a similar node.js tool which resizes images on demand: http://github.com/SydneyStockholm/imgr

comment 14y ago · link · parent

YAGNI should be on there

comment 14y ago · link · parent

It's pretty negligible in the scheme of things. I was abusing PHP reflection a while back to add decorator support (https://github.com/chriso/Request) and used this pattern to reduce the cost:

    switch (count($args)) {
        case 0: $method(); break;
        case 1: $method($args[0]); break;
        case 2: $method($args[0], $args[1]); break;
        //etc
        default: call_user_func_array($method, $args); break;
    }

comment 14y ago · link · parent

Why are people so scared of void*? Are there any VM's that don't resort to some form of pointer tagging when implementing dynamic typing?

comment 14y ago · link · parent

If it looks terrible, it's not professional quality. Right?

comment 14y ago · link · parent

Obligatory link to your single page static HTML homepage for comparison: http://many9s.com/

comment 14y ago · link · parent

It's a project created and maintained entirely in my free time. I provide free support when someone needs help and I fix bugs when someone files an issue. I've written documentation and a guide in the project's Github wiki. This is all done outside of full-time work. Forgive me if I don't spend more time improving the website and uptime when it's an endeavour that brings me no income whatsoever. You're the type of person that makes me hate open-source sometimes.

comment 14y ago · link · parent

FYI, JSDOM isn't the default parser in node.io. It uses a faster and more forgiving parser if you can survive with a subset of jQuery functionality (https://github.com/chriso/node.io/wiki/API---CSS-Selectors-a...)

comment 14y ago · link · parent

No semicolon-min.js ?

comment 14y ago · link · parent

Of course it has a backend, but so do the Firebase apps that this entire thread is talking about. Referring to a JS app as "client-side" doesn't imply that there's no backend logic.

My point is that you can't just de-obfuscate a primarily client-side JS app and replace the Firebase (or whatever) endpoints. Proprietary obfuscation is more than just variable name munging and minification..

comment 14y ago · link · parent

as I said above, de-obfuscating a large javascript app that's been obfuscated/minified by proprietary tools is virtually impossible to decode. Try running some of google's code - gmail, docs, take your pick - through your beautifier ;)

comment 14y ago · link · parent

have you ever looked at code obfuscated by proprietary tools? By your logic it's easy to reverse-engineer and copy Gmail - good luck with that

comment 14y ago · link · parent

How are they not picking it up as spam? The same affiliate link from multiple accounts... The description also looks like a snippet of one the product reviews on Amazon

comment 14y ago · link · parent

If anyone wants to take this further, have a look at my higher level Redis library, http://redbackjs.com/.

It exposes useful constructs such as a social graph, bloom filter, full-text index, and a very fast rate limiter (http://chris6f.com/rate-limiting-with-redis).

comment 14y ago · link · parent

http://i.imgur.com/iKqk9.jpg
123