Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cconstantine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
cconstantine
18y ago
The Schlemiel problem is a BigO problem. BigO is really only useful analysis if your N is large enough. If you always work with data sets that are small (and have confidence that they will remain small) there is no point in doing BigO ana
62.
▲
by
cconstantine
18y ago
Memory allocation is something that is typically O(1), or O(log(n)). The constants attached are fairly large, but doing lots of allocations/deallocations isn't a BigO issue. The schlemiel problem still exists when doing '+=' in a loop. Ea
63.
▲
by
cconstantine
18y ago
It's possible that meetings aren't scheduled back-to-back. If there's a 15+ minute gap between meetings it's possible to end one late and still start the next one on time.
64.
▲
Will EDoS be the next DDOS?
(blogs.zdnet.com)
2 points
by
cconstantine
18y ago
|
0 comments
65.
▲
by
cconstantine
18y ago
I may be entirely wrong here... but doesn't that create a tree of cons cells (more concretely a list of tuples) instead of a true hash-table? Would (gethash ...) work on the created structure in constant time?
66.
▲
by
cconstantine
18y ago
Comer is just a straight out character. He's one of the few people who can legitimatly point at the internet and say "I made that". Yes, he knows where to point to be pointing at the internet. With that kind of work behind him it's hard to
67.
▲
by
cconstantine
18y ago
You don't need a REPL to step through a program.
68.
▲
by
cconstantine
18y ago
Even RAID1 doesn't guarantee this'll work. There are many ways simply disconnecting the secondary drive while cause problems: 1) The app may be in the middle of a series of DB commands that all need to complete with success before the DB i
69.
▲
by
cconstantine
18y ago
"They didn't get distracted into writing "architectures" when all that was needed was a "tool."" I'm fighting this fight right now :( Someone I work with feels the need to add 3 layers of leaky abstractions and a few anti-patterns (visitor
70.
▲
by
cconstantine
18y ago
Just yanking RAID drives isn't a way to guarantee DB consistency, especially if it's RAID5. Database backups almost universally have to be made by the database system. This is no excuse for lacking a backup system; backing up databases is
71.
▲
by
cconstantine
18y ago
At a high level the way to defeat this kind of attack is to require more people to be involved. Large conspiracies most often fail. In this case that could mean having 3 USB disks, each with their own 'owner'. The owner of each disk would
72.
▲
by
cconstantine
18y ago
A couple jobs ago I worked with DoD types so I know your pain... except that IE6 is shockingly recent for the military to be using ;)
73.
▲
by
cconstantine
18y ago
Right, so the first choice is door 1, and the host reveals that door 3 is a goat. The decision to switch or not is really a decision between door 1 and door 2. At this point isn't your first guess completely irrelevant? I've heard this pro
74.
▲
by
cconstantine
18y ago
Hmm, to avoid this being a back-and-forth between us, I attempted to find a reference for my point (which I was taught from multiple professors in college, and backed up by personal experience)... and I couldn't find any. I could find refer
75.
▲
by
cconstantine
18y ago
I knew someone would say this ;) It is true some adults can learn language almost as easily as children, but that's the exception. The main point is that as you get older (for the vast majority of people), learning a new language becomes m
76.
▲
by
cconstantine
18y ago
You can already pay for a premium service. It's $36/year, removes all advertisements and increases the "timeout interval" (how frequently you have to interact with it before it pauses) from 1 hour to 5. I love the service; listen to it eve
77.
▲
by
cconstantine
18y ago
"I’m very skeptical of results that claim that some large fraction of the population is incapable of some mental feat like programming. 500 years ago the same was thought of reading, writing, and arithmetic." Exactly. At birth we are basic
78.
▲
by
cconstantine
18y ago
A better idea may be to not log to file. If you were to log to a database you could record things like date/time, session_id, service_name, module_name, and a generic message and do clever SELECTs on your database of events/messages and it
79.
▲
by
cconstantine
18y ago
No real reason except that it works the way it does. It would take time to change it, and there is more pressing work to be done. That, and I don't work for the company that had/has this problem anymore.
80.
▲
by
cconstantine
18y ago
Generally you're right. To know what will be helpful for debugging you have to know what will go wrong, and if you know what will go wrong you may as well fix it now instead of after it affects a user. Also, in any sufficiently stable sys
81.
▲
by
cconstantine
18y ago
Yup, and here's something else to consider: You (as a citizen) are expected to know every law and can be punished if you break any of them, but you must pass the bar exam to practice law. In other words, the government holds you accountabl
82.
▲
by
cconstantine
18y ago
It really is common sense stuff, but the longer I live the more I learn how uncommon 'common sense' really is.
83.
▲
by
cconstantine
18y ago
This is what I was afraid of. I'm playing around with a couple toy webapps at appengine because it's free, and I'd like to do the same with ec2. I really don't want to accidentally leave it 'on' and get a bill so I''ll continue avoiding
84.
▲
by
cconstantine
18y ago
This is something that's always confused me with Amazon's EC2 pricing. If I were to run an instance for my personal use it would, for the post part, have to be up 24/7 but it would be idle for the vast majority of that time. Would I be ch
85.
▲
by
cconstantine
18y ago
I have very little experience with EC2 (or managing server farms). I have worked at Amazon and been responsible for an internal service there that ran on a server farm, but we didn't use EC2 and another department managed the machines. Has
86.
▲
by
cconstantine
18y ago
Thanks! That looks like it might be something we can use :)
87.
▲
by
cconstantine
18y ago
We don't distinguish between them. The test programs were built and all the resulting files were checked in. Unfortunately some of the build artifacts share extensions and directories with build source, and some of the build artifacts hav
88.
▲
by
cconstantine
18y ago
Yes, I'm familiar with rsync. We've talked with Perforce Support a fair amount regarding large files, and they remind us that we are abusing their system. It's like using Harley Davidsons on a worksite to move around loads of dirt. It ma
89.
▲
by
cconstantine
18y ago
Perforce is not terrible. I'd even go so far as to say; of the centralized systems, it's better than any other I've tried (including Subversion, and cvs). It could be better, but it could be much worse. Things we like about perforce:
90.
▲
by
cconstantine
18y ago
Thanks, that was helpful :)
More ›