866 karma · joined Jun 4, 2013 (13y ago) · 205 submissions
comment 4y ago · link · parent
So I was hoping PRQL might have some sugar like that.
It'd be nicer for my brain if I could treat any select like a function that transforms a set. Instead, even with PRQL, I'm stuck examining source tables and fully understanding them before being able to understand the query.
comment 4y ago · link · parent
Also when it comes to data validation, OO performs all of this validation too and in a much more compact and code-oriented, extensible way. Why would I write a separate schema when the object itself knows what it will accept, what is optional, and what range the values should be in? I'd imagine the schema and code could become incoherent.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
75.
Direct Fusion Drive(popularmechanics.com ↗)
2 points · by alphanumeric0 · 4y ago · discuss
77.
CQL – A database query language using category theory(categoricaldata.net ↗)
15 points · by alphanumeric0 · 4y ago · 7 comments
comment 4y ago · link · parent
For those who are uninitiated all of these tools can be difficult to remember (long-term) and correctly apply (sometimes creatively) to arrive at a solution.
Dyscalculia and poor working memory can be issues if your aim is speed and conciseness which is critical during an exam but not as necessary if your goal is to simply understand at a deep level.
comment 4y ago · link · parent
Also, from Wikipedia: "Most of mathematical activity consists of discovering and proving (by pure reasoning) properties of abstract objects. These objects are either abstractions from nature (such as natural numbers or "a line"), or (in modern mathematics) abstract entities that are defined by their basic properties, called axioms." - https://en.wikipedia.org/wiki/Mathematics
comment 5y ago · link · parent
I meet a lot of people who think very highly of themselves because they can recite a lot of information at me and can explain how something works. Generally I see these people as extremely knowledgeable but that doesn't necessarily entail they are somehow more intelligent.
The same can be said with skills. You may be the worlds best at a task or hobby but let's not automatically assume you are somehow more intelligent.
comment 5y ago · link · parent
> The idea that mathematics is "the language of the universe" that can be precisely "discovered" by brilliant minds is a ridiculous notion that only serves the status of the mathematical elite. Mathematics is fundamentally about designing models and abstractions that help us reason about real phenomena with minimal cognitive resources.
Yes, creating abstractions and designing models are aspects of math, but I believe the modern definition of mathematics has expanded to include the study of abstract objects.
Abstractions can describe concepts (concepts that exist in many different places) but are not the same as the concepts. I believe these concepts are discoverable and independent of any notations/models/abstractions we create. So in that sense, I believe mathematics can be discovered.
e.g.
exponential growth/decay (the spread of COVID in an unvaccinated population, bacterial growth, etc.) - invented or discovered?
(https://en.wikipedia.org/wiki/Exponential_growth#Examples)
fractals (pattern of rivers, trees, blood vessels, etc.) - invented or discovered?
I can describe the details of these with tools like 'geometric progression', and 'the Mandelbrot set'. Those are tools aiding my understanding of these concepts, but the concepts themselves certainly seem like they were discovered.
comment 5y ago · link · parent
comment 5y ago · link · parent
Remember those light bulbs that went off when you finally incremented an index variable at the right moment, or when you finally figured out the right condition for a while loop? Clearly all styles are puzzle-like when you are first learning them.
I think functional programming has more or less the same learning curve as other styles.
In my view, the reason functional programming isn't more popular is because of Comp Sci curricula.
There are plenty of institutions where there may be one course on functional programming (if you're lucky). Then, many students seem to (incorrectly) internalize the idea that anything their degree doesn't cover extensively must be of lesser importance.
comment 5y ago · link · parent
comment 5y ago · link · parent
Of course sometimes you want the extra heat, like when you're searing a steak. In that case, to clean up I'll bring some water to a simmer and gently scrape the pan with my steel spatula. Then I pour the water out and dry/season. This seems more effective than soap/scrubbing and seems to better preserve the seasoning.
Often though, I won't even need to use water or the steel spatula. It's sufficient to bring the skillet to high heat and let the stuck food burn off, but this can sometimes cause air quality issues, so be sure to have a well-ventilated space.