Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scosman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
691.
▲
by
scosman
5y ago
Totally. Or use rails for your web app, and something else for your queue processing. Rails is nice for rails things. Rails is scales for serving web apps much better than DJ/Sidekiq do at serving queues.
692.
▲
by
scosman
5y ago
Transactional consistency is nice. Maybe worth it for some low-volume jobs. The downside that comes with it is using your primary DB as your queue is that the queues in an app tend to absorb all the exceptional conditions (queue grows to mi
693.
▲
by
scosman
5y ago
I am not a lawyer, this isn't legal advice. Definitely don't respond yourself, get a qualified lawyer in with track record in startups/domains to write back (and advise). The letterhead goes a long way here in showing you
694.
▲
by
scosman
5y ago
I built a similar project in Go, along with http server. Comes in handy for streaming (as you point out): https://github.com/scosman/zipstreamer
695.
▲
by
scosman
5y ago
Imagine if we really did tokenization of assets? This type of fraud would be much easier (steal password vs months long identity theft), and impossible to reverse.
696.
▲
by
scosman
5y ago
Don’t spend your time worrying about those who won’t pay. Almost always a better use of time to think about expanding those that do/will. It’s frustrating, but not a good use of time.
697.
▲
by
scosman
5y ago
Super helpful for streaming though -- don't need to know all file sizes upfront.
698.
▲
by
scosman
5y ago
Really really expensive servers that sit at 10% load most of the time is one of the points.
699.
▲
by
scosman
5y ago
Lots is boilerplate, but eventually you'll need more logic, then some CPU heavy tasks, then a memory heavy task, then a task suited to a specific language, then a task that needs a GPU, then a distributed memory cache. Web servers are
700.
▲
by
scosman
5y ago
Yes! This as well.
701.
▲
by
scosman
5y ago
Also: Buy a the longest code signing cert you can. Reputation is acquired at cert and build level; updates signed with same cert are cleared much much faster. Cert reputation is lost when it expires, meaning back to square one to sign updat
702.
▲
by
scosman
6y ago
You can also just check browser locale, show a warning if != US as early setup step. Offer to take their email and tell them when more countries are added (and capture all the traffic to reactivate later).
703.
▲
by
scosman
6y ago
This was the best demo I've seen in a long time. Simple, fast, worked well. Great job!
704.
▲
by
scosman
6y ago
I’ve managed a system with millions of users and tens of billions of rows, and I always dreamed of DB per user. Generally, ~1% of users were active at a given time, but a lot of resources were used for the 99% who were offline (eg, indexes
705.
▲
by
scosman
6y ago
I built exactly this once. Here it is as a microservice you can deploy to heroku in 1 click: https://github.com/scosman/zipstreamer
706.
▲
by
scosman
6y ago
Don’t forget, even if you can’t physically access it you could always flip the breaker. Run it on a raspberry Pi running off of a 10000mah phone battery, charging from an outlet. Make sure the outlet is on a breaker you couldn’t live withou
707.
▲
by
scosman
7y ago
Related, after a major version upgrade it doesn't automatically run an ANALYZE on every table. Without this the query planner can't properly plan. It treats a billion row table the same as a 20 row table until you think to manual
708.
▲
by
scosman
7y ago
Not simultaneous, but it does queue them with some parallelism (6 request for chrome IIRC). Page basically dies; any Ajax requests are at the back of the queue. Scroll halfway down that page, you'll be waiting 5 mins for the images in
709.
▲
by
scosman
7y ago
I have both PD1 and RavPower 61w. Tried carrying just the PD1 for a while, but got caught twice with zero power and took ~15 mins before I could boot my MBP. If you use any heavy power apps (Chrome, xCode) it drains faster than it charges.
710.
▲
by
scosman
7y ago
Random note (fully aware this isn't your main point): Electron for background/system tray is actually not too bad. It was about 12MB for a minimal tray app last I checked. At this stage it's just Node.js with some system API
711.
▲
by
scosman
7y ago
A lot of non self-driving cars already handle this situation well as a safety feature, despite the responsibility being the driver's. It seems like any AV should have this as a baseline requirement. https://www.consumerrepor
712.
▲
by
scosman
8y ago
100% agree. Beyond the change to TOS, they also quadrupled Mandrill prices with almost no notice forcing companies with high volume to scramble (or pay massive amounts). Don't use Mandrill or Mailchimp for anything important.
713.
▲
by
scosman
8y ago
They did that here. They lost 1 part of the key and now can't access anything.
714.
▲
$190M missing after crypto exchange Quadriga CEO dies
(theglobeandmail.com)
182 points
by
scosman
8y ago
|
125 comments
715.
▲
by
scosman
8y ago
Most founders I know have common shares. I wouldn't assume this answer.
716.
▲
by
scosman
8y ago
Another good one: What share class are my options, and are they the same share class as the founders? As an employee you won't have a ton of insight into things like dilution or liquidation prefs as the company raises more money. Knowi
717.
▲
by
scosman
8y ago
AWS decommissions hardware like anyone else. While I'm sure their processes include a secure-delete, no process is perfect and things are missed. It's worth setting the flag, especially since it's free.
718.
▲
by
scosman
8y ago
Not a panacea, but always required. All disks eventually are thrown out. It doesn't prevent all attacks, but it's the only way to prevent a very common class of attack.
719.
▲
by
scosman
8y ago
Reminds me of when MailChimp quadrupled Mandrill prices, with almost no notice. Severe disruption to our company; I had to pull engineers off key projects to migrate out email system. I'm not sure why people keep trusting them given th
720.
▲
by
scosman
8y ago
I was approximately number 601,000 on waiting list. Assuming typical financial product CACs (high) this was worth tens of millions at the minimum. Hard to see it not paying off even if it does have some negative repercussions with regulator
More ›