7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 9y ago · link · parent
But it doesn't look like the couple good ideas they had were enough to make a long-term business. So, unless they do something cool in the next 12 months, RIP. Founders got a nice payday, so who cares?
comment 9y ago · link · parent
Similar to how a multivitamin and junk food doesn't replace a balanced diet. That's just an analogy to help illustrate my point, not a point on its own.
I think it's more likely that churches will adapt to our modern understandings than someone will build the perfect atheist social institution from first principles.
comment 9y ago · link · parent
Sometimes I feel like American culture is being sterilized. Just like white bread and a multivitamin, we only take what we understand and leave everything else behind. And then when we encounter social problems after eliminating church (or health problems when we eliminate natural foods), we are puzzled.
comment 9y ago · link · parent
Maybe you don't need math. But if you can't pass the course, there may be other serious problems.
It's easy enough to keep pushing kids/adults forward by redefining success in other subjects. Extra credit, dubious essay standards, grade inflation, etc. We need math to keep the system honest.
comment 9y ago · link · parent
That explanation of kindness doesn't make sense. Some people try to be nice and, by mistake, end up being rude. And business people make deals quickly all of the time, using jargon and cutting out pleasantries while still being kind.
No, kindness is a skill of words and actions that must be developed over time. It's about navigating complex ideas and decisions effectively.
For instance, "no" is generally rude, not because it's too short, but because it doesn't provide good feedback on a complex idea. What is the proposer trying to accomplish? What existing alternatives exist, or what others might be explored?
If you don't have the time to give good reasons, then point them toward others that you trust to give good advice. E.g: "This proposal is unacceptable. Discuss with group XYZ and explore alternatives." Or even: "This proposal is unacceptable -- the proposed use case is not important enough to justify what you are trying to do."
comment 9y ago · link · parent
Rust's hygenic macros don't let you do that. So defining a UDF has a bunch of boilerplate, unless I am missing something.
Procedural macros should alleviate this, but it will be a while. I might just release and document the boilerplate needed.
EDIT: Yes, I am trying to be mostly safe. I will see how close I can get for at least the basic stuff.
comment 9y ago · link · parent
Your argument does apply to Ada, but freeing from the heap in Ada is unsafe, which has made it difficult to use in a safe way for a lot of cases.
Rust really does make an advance in this regard: safety, and no significant runtime requirements.
D and modern C++ might work for disciplined teams, but seem a few steps behind rust safety-wise.
comment 9y ago · link · parent
A few examples:
* You may need to use PhantomData in your struct definitions to properly track lifetimes. Not sure I fully understand.
* C functions don't always return. Sometimes they longjmp (c.f. PostgreSQL). Calls into C code need to prepare for this and it's not trivial nor does it generalize to all projects.
* Integrating with the memory management scheme is probably possible but not trivial. For instance, Postgres memory contexts (regions/arenas) can hold any kind of object, and code can switch between them and create/destroy them at will. You could rely on rust to manage it's own memory, with circular references an Rc that might leak.
* Postgres has its own calling convention for SQL-callable functions and conventions for loadable modules. Integrating with this is a pain because macros are hygenic and can't make up new symbols. Maybe procedural macros will help when they arrive.
* Rich APIs that rust supports don't always translate well to C. When integrating with a large application that pushes you toward the lowest-common-denominator APIs.
* A lot of C macros don't translate well to rust and just including a C header in rust is a lot of work. Hoping procedural macros will help here too.
comment 9y ago · link · parent
People aren't afraid of making tiny mistakes. They are afraid of looking at a problem similar to a dozen they saw in lecture; and having no idea what to do, and then being told under no incertain terms that they did not succeed.
comment 9y ago · link · parent
In other subjects you can rationalize to yourself in various ways: the teacher doesn't like me, or I got unlucky and they only asked the history questions I didn't know.
But with math, no rationalization is possible. There's no hope the teacher will go easy on you, or be happy that you got the gist of the solution.
Failure in math is often (but not always) a sign that education has failed in general. Teachers can be lazy or too nice and give good grades in art or history or reading to any student. But when the standardized math test comes around, there's no hiding from it (teacher or student).
comment 9y ago · link · parent
Date and Darwen are clear-thinking and they write well. But you are right that they are quick to criticize and some of the alternative solutions they offer are unconvincing.
The most obvious example is their handling of NULL, which had a bunch of great criticisms followed by a totally impractical altenative ("special values"). If they had been a bit more humble, maybe they would have just borrowed Maybe/Option types from ML.
On the other hand, they really helped me make the connection between logic and databases. And that helped me a lot in practical ways (e.g. exploring dirty data precisely).
Regarding temporal data, they divorced from SQL and started from first priciples. That clarified a lot of things for me and then I adapted those ideas to SQL.
So: their books are great, but I don't recommend joining their cult ;-)
EDIT: I think a lot of SQL implementations are going about temporal the wrong way. They should focus on the fundamental building blocks first (like ranges of time) and build up from there.
comment 9y ago · link · parent
A great book which inspired Range Types in PostgreSQL: https://www.postgresql.org/docs/current/static/rangetypes.ht...
comment 9y ago · link · parent
This article isn't the greatest, but it doesn't seem terrible to me.
Note that "technical" is a matter of degree and relative to the team being managed. It doesn't necessarily mean they dictate their emails to their secretary.
comment 9y ago · link · parent
This article is clearly about the second type of business. And it's designed to defend the second type of business against programmers who think they work for the first type of business.