Viewing profile — sehrope
sehrope
HN member- Joined
- Sun, Jul 22, 2012, 3:16 PM UTC
- HN karma
- 1,980
- Public activity
- 313 items
- HN profile
- View on Hacker News ↗
About sehrope
Website: http://www.jackdb.com/
Email: sehrope [at] jackdb [dot] com
Recent public activity
- story
-
comment
Comment #18953187
The intended usage is that the client tells the server, " I want to load data from a file /path/to/data.txt on my local filesystem " in a SQL command. As part of the protocol for e…
-
comment
Comment #17146007
> PostgreSQL 11 introduces SQL stored procedures that allow users to use embedded transactions (i.e. BEGIN, COMMIT/ROLLBACK) within a procedure. Procedures can be created using the…
- story
-
comment
Comment #16767245
UUIDs are fine too. What matters is how they're generated. If you're generating v4 UUIDs server side using the "uuid" NPM module then you're fine as internally it's using crypto.ra…
-
comment
Comment #16766474
Hashing a value from Math.random() with a cryptographic hash (i.e. SHA256) doesn't make it cryptographically random[1]. If you want a random string get one directly via crypto.rand…
-
comment
Comment #15048457
What's the min version of the Postgres server this can be used with?
-
comment
Comment #15048353
I've used WAL-E (the predecessor of this) for backing up Postgres's DB for years and it's been a very pleasant experience. From what I've read so far this looks like it's superior …
- story
-
comment
Comment #12986526
Finally! Having dealt with many database drivers over the years, I can say first hand that closed source drivers are the bane of my existence. The only thing worse than running int…
- story
-
comment
Comment #9073676
Does this allow users to execute custom SQL, in addition to ORM methods, and have it be part of the same transaction?
-
comment
Comment #9054806
I played around with it quite a bit in early 2014 and even wrote a plugin for it. It gave me a better understanding of Docker and abstracting things into containers. The internals …
-
comment
Comment #8789724
For me 600 iterations takes about 3ms (I guess my laptop is a bit faster). A decent range to shoot for is .5-1 sec. Test program: crypto = require 'crypto' password = 'testing' len…
-
comment
Comment #8789614
From the link: ITERATIONS = 600 ... crypto.pbkdf2 pwd, salt, ITERATIONS, LEN, (err, hash) -> That's way too small for the number of iterations. Something like 100K would be a bette…
-
comment
Comment #8772855
> ... and if streams become a better and better option as response sizes get larger and larger. The streams syntax is nicer looking in any case. fs.readFile(...) reads the entire c…
- story
-
comment
Comment #8700720
Any background on who's doing this or what the motivation is? The linked site doesn't have much content besides a link to the GitHub repo. EDIT: Even though it's not explicitly lis…
-
comment
Comment #8695963
> If your app needs a relational database then use an in-memory db like hsql or cloud services like Heroku Postgres, RDS, Redis Labs, etc. However one risk with most in-memory data…
-
comment
Comment #8689619
LATERAL is awesome. It makes a lot of queries that required sub-select joins much simpler to write and later read. It's also great for set returning functions. Even cooler, you don…
-
comment
Comment #8684652
Most Postgres clients have issues connecting to Amazon Redshift. The wire protocol is the same so basic interactions ( ex: connect via psql and run a SELECT ) usually works but thi…
-
comment
Comment #8639151
> In this trial, XFINITY Internet Economy Plus customers can choose to enroll in the Flexible-Data Option to receive a $5.00 credit on their monthly bill and reduce their data usag…
-
comment
Comment #8632755
Oracle supported both full refresh and incremental refresh as of at least 10 years ago ( maybe longer ). Fast refresh requires creating "MATERIALIZED VIEW LOGS" on the source table…
-
comment
Comment #8627211
>> Seemed like a good idea until it dawned on me that this means the passwords are stored as plaintext. >There are several ways this can be done without that. >Easiest is if they s…
- story