Better HN
topnewbestaskshowjobs
Log inSign up

icheishvili

87 karma · joined Sep 28, 2011 (15y ago) · 30 submissions

Submissions

comment 4y ago · link · parent

You can partition your audit/event table by time period and archive old events [1] or you can avoid the records hitting the database in the first place by generating the events elsewhere to begin with [2].

[1] https://github.com/icheishvili/audit-trigger [2] https://github.com/eulerto/wal2json

comment 5y ago · link · parent

I've had a hypothesis for a while that the brain performs compacting garbage collection while it sleeps at night. While it's probably not that simple, seeing that various sibling posters are hinting at the same notion is interesting.

comment 6y ago · link · parent

I just got a System76 Darter Pro yesterday with at least those specs and it was less than $1100. Pretty happy with them so far.

comment 6y ago · link · parent

Why should startups backed by powerful institutional capital get more credits from AWS than ones that are bootstrapped and hurting for cash much more?

comment 6y ago · link · parent

This type of behavior is why I can never consider GCP. How many people have been burned at this point by Google randomly shutting down something they rely on?

comment 6y ago · link · parent

I know Ethereum uses Merkel Trees to store state but this app already has Postgres and I imagine that it would be better architecturally to not write a big blob data structure back and forth. WITH RECURSIVE queries and the right table layout could make this entire thing way simpler to operate.

comment 6y ago · link · parent

Feels as though this essay was written by Ned Ludd himself. Software has been constantly commodified and yet the hurdle the market expects you to clear gets higher at the same time.

comment 6y ago · link · parent

I whole-heartedly agree and this is why I give money to AWS and Azure will not give any to GCP until the lack of transparency and random product killings stop.

comment 6y ago · link · parent

We were quite unhappy with Aurora because of the terrible performance of writes against tables with secondary indices. What does your workload look like?

comment 6y ago · link · parent

Too late now, but would it have been useful/possible to go public about it or threaten to talk the media and cause way worse problems for them? Considering that security is their game, I wonder if the bad PR would've made them re-think targeting you.

comment 6y ago · link · parent

I don't think these are necessarily contradictory. With pytorch-transformers, you can use a full-blown BERT model like the best in the world. And yet, to make this novel and defensible, you would need to build on top of it and innovate significantly, which would require significant capital to achieve.

comment 6y ago · link · parent

FAANG will need to decide if they're platforms or publishers. They currently moderate the communities, albeit selectively, while enjoying the protections granted by being a platform. This can lead to abuse of power where only select viewpoints are moderated out because unaccountable corporate leadership says so.

It's correct to be thinking about this, notwithstanding the fact that I place little faith in the federal government to produce the correct outcome.

comment 7y ago · link · parent

Message queues achieving the rate you said are typically not durable.

comment 7y ago · link · parent

AWS managed services are usually subpar. We run our own ES clusters for this very reason.

comment 7y ago · link · parent

AR is the gold standard. AR + extended gem + Arel covers almost 100% of the problem space. For everything else, use views or set returning functions and wrap them up in AR.

comment 7y ago · link · parent

It's widely accepted that olympic swimmers are more talented a person you'd randomly find at your community pool, but for some reason there's strong resistance to the idea that across a large distribution of software engineers, some outliers may indeed be much more productive than the mean.

comment 7y ago · link · parent

The index related issues themselves should be a show stopper. I couldn't believe it until I ran into other people saying the same thing, but having secondary indices on your tables slows writes down by something like an order of a magnitude.

I've yet to see an OLTP system that doesn't use secondary indices on tables. And if your workload is OLAP, there are far better relational tools.

comment 7y ago · link · parent

Our experience with pg aurora was awful. I cannot recommend it to anyone. Our primary would run out of memory and fail over every few hours and all amazon support had to say is that it’s a known issue.

We ended up adding even more functionality to our audit trigger package (based on a SecondQuadrant fork, https://github.com/icheishvili/audit-trigger) to allow us to get off of aurora. AWS does a good job at locking you in.

comment 7y ago · link · parent

We have busy tables with lots of record churn some which receive 2000 xacts/s. I’ve found that they will never shrink down until you do a full vacuum but regular vacuum is good at reusing pages so tables won’t outgrow their max size during busiest periods. We never run full vacuums because we’ve never found it to be necessary.

comment 9y ago · link · parent

QL is a package manager. I'm talking ecosystem/libraries. Use QL to install postmodern and tell me how you feel about its time zone support.

comment 9y ago · link · parent

This is the challenge I have as well. I want to use Lisp for a lot of things but the reality is that parsing PDFs, tagging parts of speech, and then throwing it all into Postgres/Elasticsearch is a lot easier with a bunch of "gem install" commands than anything I've seen for Common Lisp.

comment 14y ago · link · parent

As the author of several OAuth 1.0 libraries (https://github.com/icheishvili/pyoauth, https://github.com/icheishvili/phoauth), I would like to see a completed spec.

The only real problem with 1.0 is the difficulty of implementing it correctly and later debugging it when things go wrong (aka, the infamous generic "Invalid Signature" errors). In my mind, it would go a long way if generating a signature was based on a random nonce (say 16 bytes) + client id + client secret + access token.

comment 14y ago · link · parent

Thank you for pointing this out. I found it very difficult to keep reading with an objective mindset once I hit this gem.

comment 14y ago · link · parent

I should point out Hurricane (http://gethurricane.org)

PHP: https://github.com/hurricane/driver-php

Python: https://github.com/hurricane/driver-python

Ruby: https://github.com/hurricane/driver-ruby

Java: https://github.com/hurricane/driver-java

All of the drivers fully re-implement the Erlang format, even the arcane parts (you can send Erlang closures around, for example).

25.

Forget Snow, here's how you write good PHP(github.com ↗)

2 points · by icheishvili · 14y ago · 1 comment

comment 14y ago · link · parent

I just went and read Lexer.php to see what you mean. Never mind on my previous comment :)

Well done with the project--I have a use case for it regarding enforcing PHP style guide @ $work.

comment 14y ago · link · parent

It seems like you could have saved yourself quite a bit of parsing/lexing work if you had used the parser that ships with PHP:

http://us3.php.net/manual/en/function.token-get-all.php http://us3.php.net/manual/en/function.token-name.php

Very cool nonetheless.

comment 14y ago · link · parent

One of my co-workers pointed out that the domain was available, so I quickly bought it only a handful of minutes ago :)

comment 14y ago · link · parent

While chasing the performance goals that I had, I ditched OTP. However, it has now become obvious that it would make sense to just use gen_server and gen_supervisor, instead of rolling it on my own, like you said. That is one of the next things that I plan to work on.

30.

Show HN: Hurricane now runs Rails and Django(icheishvili.github.com ↗)

5 points · by icheishvili · 14y ago · 4 comments