Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chthonicdaemon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
chthonicdaemon
2y ago
I feel like chat interfaces have terrible discoverability. You can ask for anything but you have no idea what the system can actually do. In the menu system the options were all spelled out - that's what discoverability means to me. If
32.
▲
by
chthonicdaemon
2y ago
For quick lookups, I usually use pydoc[1], which displays roughly the same help string but without having to go into the repl. I think there are several *doc functions like this. Off the top of my head I can think of texdoc (which usually j
33.
▲
by
chthonicdaemon
2y ago
It is not useless noise for something like `help(math.sin)`. The signature displayed by help is `sin(x, /)`, which tells you that `sin(x=1)` will fail. If the signature had just been `sin(x)` then `sin(x=1)` would work.
34.
▲
by
chthonicdaemon
2y ago
Table sugar is 50% glucose and 50% fructose; the most common form of high fructose corn syrup contains 45% glucose and 55% fructose. The article you linked just talks about the dangers of a diet high in fructose at all. The parent you repli
35.
▲
by
chthonicdaemon
2y ago
You can also use the `say` command, which can produce an audio file that you can load into a music player app, which might be more useful since it can remember your place. https://ss64.com/mac/say.html
36.
▲
by
chthonicdaemon
2y ago
I have the opposite experience all the time, perhaps because I've spent a lot of time with early-career programmers. I recognise a problem and say "oh, that's a maximum flow problem", then formulate and solve it in a few
37.
▲
by
chthonicdaemon
2y ago
Tell that to Richard Hamming: "Instead of attacking isolated problems, I made the resolution that I would never again solve an isolated problem except as characteristic of a class." [1] I have seen this "premature abstraction
38.
▲
by
chthonicdaemon
2y ago
I drive a car that doesn't have a backup camera and I wouldn't pay more for a car with a backup camera. I've never felt like I need it. I guess this is just how these augmentations work. By the time you've invested the t
39.
▲
by
chthonicdaemon
2y ago
I don't think that System Dynamics modelling tools offer the depth of control over the governing equations that Modelica has. In addition, Modelica has a nice standard library with many physical components that you can link together to
40.
▲
by
chthonicdaemon
2y ago
The big point that the article is trying to make is bookended by these quotes: "... there's a standard, things ought to be simple. So you could, theoretically and perhaps even practically, use non-Microsoft software to get the job
41.
▲
by
chthonicdaemon
2y ago
Sure, they (eventually) lost against the British, but they won against many of the southern African tribes before.
42.
▲
by
chthonicdaemon
2y ago
That's an interesting question. I guess it's partly the fact that chemical industry is very large-scale, often with one company in charge (think Shell or Total). The realities of having one organisation in charge of many large ope
43.
▲
by
chthonicdaemon
2y ago
Rules travel further than reasons. The problem is that a lot of true things in the world are counter-intuitive. So insisting that all the rules "make sense" in an immediate way is clearly a non-starter. In the safety industry ther
44.
▲
by
chthonicdaemon
2y ago
This looks like an open-source alternative to work management software for work that isn't software development, like Monday.com or Asana.
45.
▲
by
chthonicdaemon
2y ago
Python's `with` and Javascript's `with` don't do the same thing. In Python it introduces a context, which is a scope within which certain cleanup tasks are guaranteed, which improves the ergonomics of things that require you
46.
▲
by
chthonicdaemon
2y ago
I can think of several ways in which faster development could lead to better quality. Let's say you have a fixed time to come up with a solution to a problem. If you are able to come up with one candidate and evaluate it in that time,
47.
▲
by
chthonicdaemon
2y ago
I always thought Jupyter was based on other notebook-style interfaces like Mathematica or Maple.
48.
▲
by
chthonicdaemon
2y ago
All languages are made up. For that matter, all glyphs are made up, too.
49.
▲
by
chthonicdaemon
2y ago
Languages aren't just good or bad in the abstract. It's about problem-tool fit. The author mentions a specific field and evaluates the fit of R and Python. Do you believe there is a language with better fit to Bioinformatics? I&#x
50.
▲
by
chthonicdaemon
3y ago
Doesn't it have cruise control?
51.
▲
by
chthonicdaemon
3y ago
I cannot find any reference for "`git` records one side's branch name for merge commits". From what I understand a merge commit just has two parent references (commit hashes) instead of one.
52.
▲
by
chthonicdaemon
3y ago
$8 trillion is ambiguous and forces me to understand whether you're using long or short scale (particularly for me, coming from a long scale culture, it trips me up often) [1]. I've often wondered though why scientific notation or
53.
▲
by
chthonicdaemon
3y ago
Have you looked at [duckdb's JSON support]( https://duckdb.org/docs/extensions/json.html )? It's pretty transparent and you can do exactly what you say: `select * from 'file.json' where x > 1`
54.
▲
by
chthonicdaemon
3y ago
People writing software fall into several categories based on the problem they're solving, the reason they're solving it and the audience of the solution. I solve my own problems for my own reasons all the time and therefore other
55.
▲
by
chthonicdaemon
3y ago
Interestingly there isn't any correspondence between spoken language and sign language in the linguistic sense. Correspondence between the dominant sign language and the dominant spoken language is mostly due to geographical colocation
56.
▲
by
chthonicdaemon
3y ago
Do you have the same objection to reading transcripts?
57.
▲
by
chthonicdaemon
3y ago
It's designed to be familiar to people who know Matlab. Matplotlib bears the same burden. Sometimes you have to start with something that's familiar to users and slowly change when you have people on board.
58.
▲
by
chthonicdaemon
3y ago
I use nbdime and have integrated it into my git diff so I see graphical diffs. Github renders notebooks with their output intact. They recently announced [rich notebook diffs]( https://github.blog/changelog/2023-03-01-fe
59.
▲
by
chthonicdaemon
3y ago
How do you capture things like charts or tables produced from long-running notebooks? Do you have a separate system to keep track of these? I prize notebooks with outputs in our data science repo since I can see the results of our analyses
60.
▲
by
chthonicdaemon
3y ago
http://negfeedback.blogspot.com I know, it's a Blogger site, but it started long ago and I haven't had the time to move it. Programming, data analysis and philosophy, with some weight loss and running in there too.
More ›