Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geophile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
451.
▲
by
geophile
6y ago
So help out!
452.
▲
by
geophile
6y ago
Another pythonic shell: https://marceltheshell.org . Unlike Xonsh, marcel provides a strict separation between shell syntax and Python syntax. Specifically, some shell commands take Python functions as arguments. E.g., in the cur
453.
▲
by
geophile
6y ago
The omission, combined with the context, leads the reader to make an incorrect conclusion. ... he returned to Berkeley in 1985, and started a post- Ingres database project. That would be Postgres. Naturally, he named that
454.
▲
by
geophile
6y ago
I didn't say that there was a contradiction. The paper is about QUEL vs. SQL. Given that Postgres/PostgreSQL is introduced, I would think that the initial use of QUEL (PostQUEL), and how and when and why it transitioned to SQL wou
455.
▲
by
geophile
6y ago
Dupe: https://news.ycombinator.com/item?id=24709031 As I said the last time this came around: The end of this isn't quite right. The Postgres project started in 1986. I don't recall what language it used, QUEL per
456.
▲
by
geophile
6y ago
The end of this isn't quite right. The Postgres project started in 1986. I don't recall what language it used, QUEL perhaps, but it wasn't SQL. SQL support was added between 1994 and 1996, and that's when PostgreSQL wa
457.
▲
by
geophile
6y ago
Your software requirements sound like they dictate the choice. But I don't have those requirements, and my main dev environment is Linux. I ran VM Fusion on a MBP, and I really liked that setup. The Mac was for play, the Linux VM for w
458.
▲
by
geophile
6y ago
When you are working at work, it sometimes feels like you are sleeping at work, too.
459.
▲
by
geophile
6y ago
"The best programs are the ones written when the programmer is supposed to be working on something else." - Melinda Varian. This is missing one important variable -- the age of the project. Sure, if I have to fix a bug at work, in
460.
▲
by
geophile
6y ago
You have to know the root of the tree to do anything: void *tsearch(const void *key, void **rootp, int (*compar)(const void *, const void *)); void *tfind(const void *key, void *const *roo
461.
▲
by
geophile
6y ago
Pop OS 20.04, which is derived from Ubuntu 20.04.
462.
▲
by
geophile
6y ago
Quoting from "man tdelete": tdelete() returns a pointer to the parent of the node deleted, or NULL if the item was not found. If the deleted node was the root node, tdelete() returns a dangling pointer that must not be acces
463.
▲
by
geophile
6y ago
> If one of the purposes of relational databases is data modeling Huh? Creating a data model before creating a database, is like writing an outline before writing an essay. It organizes your thoughts and gives structure to what you are a
464.
▲
by
geophile
6y ago
- I think you mean quicksort is O(n log n), not O(log n). - I actually think you mean O(n^2), unless you specifically say you are talking about the average case, which you didn't mention. - For interviewing: if you ask a shallow questi
465.
▲
by
geophile
6y ago
My contribution to the genre of reviews of terrible books on C: https://www.amazon.com/gp/aw/reviews/B00NYBRH30/ref=cm_cr_un... (“This is a terrible book ...”)
466.
▲
by
geophile
6y ago
People like and use useful abstractions, and OO offers them: encapsulation, modularity, polymorphism, inheritance. (If you don't like inheritance, don't use it.) People hate bloat, complicated ways of doing simple things, and Abst
467.
▲
by
geophile
6y ago
In the mid 90s I was at an OO database company, and we were expanding into tools. The decision was made to produce a Smalltalk binding and build tools for that language. That was well underway when Java was released. And you could hear the
468.
▲
by
geophile
6y ago
OPs website is really interesting. She is doing some amazingly cool things.
469.
▲
by
geophile
6y ago
Sure.
470.
▲
by
geophile
6y ago
This is wrong. A well-known case is the Timsort bug, discovered by a program verification tool. Also well known is the JDK binary search bug that had been present for many years. (This paper discusses the Timsort bug, and references the bin
471.
▲
by
geophile
6y ago
I visited maybe 4-5 years ago. I had just read about Hsieh, and his business philosophy, and his attempt to revitalize downtown Las Vegas. It was ... odd. My immediate impression was favorable. A very quirky looking area -- a small outdoor
472.
▲
by
geophile
6y ago
Thanks, I wasn't aware of that. I believe my comment still applies to nushell and a couple of others. I like bash for simple commands, but hate the requirement to learn so many sublanguages for more sophisticated usage, (as in sed, awk
473.
▲
by
geophile
6y ago
Marcel is another pipe-objects-instead-of-strings shell. It takes a different approach to shell/language unification, compared to nushell and other modern shells. Marcel exposes Python on the command line, e.g. to find files that chang
474.
▲
by
geophile
6y ago
I don't speak x86. Do you mean that these compilers are evaluating both conditions, all the time? At what optimization level?
475.
▲
by
geophile
6y ago
Why? You wrote a function, not a macro.
476.
▲
by
geophile
6y ago
OPs implementation requires 2 comparisons. I think this C expression is clearer, and will sometimes use 1 comparison: num < min ? min : num > max ? max : num
477.
▲
by
geophile
6y ago
Can anyone comment on what parts of Python are not in MicroPython?
478.
▲
by
geophile
6y ago
Yeah, but what about the airport, in particular, the security line?
479.
▲
by
geophile
6y ago
Take a look at marcel: https://marceltheshell.org . It is also a shell that pipes objects, and is based on Python, but it sounds like scripting will be more to your taste. There is a marcel.api module that allows you to do shell-
480.
▲
by
geophile
6y ago
The improved-shell-piping-objects space is getting crowded. My entry is marcel: https://marceltheshell.org . Trying to create a combined shell/programming language is a mistake, in my opinion. Marcel exposes bits of python o
More ›