Better HN
topnewbestaskshowjobs
Log inSign up

alphanumeric0

866 karma · joined Jun 4, 2013 (13y ago) · 205 submissions

Submissions

comment 4y ago · link · parent

I find SQL harder to work with because I'm used to reading and writing functions - functions that have explicit parameters with (hopefully) explicit types, and explicit return types.

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

Thank you for all of the different viewpoints, it's starting to make sense now. I've used JSON schema before in one of my previous projects. I'll keep it in mind for next time.

comment 4y ago · link · parent

I'm having a hard time thinking of a way code can ever be fully decoupled from data. When we decide it's better to have a name field rather than firstName and lastName does that mean we simplify NameCalculation.fullName to just return data.name? This seems to suggest we still have coupled code to data (the data structure being an object), it's just now a coupled function, but you have decoupled it enough to use NameCalculation in different contexts. Single responsibility classes are already recommended for reuse like this in OO.

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

Thanks, I think actually it was something else that made me re-install from F-droid, but I'm glad I can rule out the play store.

comment 4y ago · link · parent

Cool, I'll check it out. It is an extra hop, but my fdroid termux install has been blown away (along with my ssh key) several times by the play store version. So now I save my key on my pi instead. I did turn off updates from play store for termux so hopefully it doesn't overwrite termux again.

comment 4y ago · link · parent

My older mac book recently died and instead of buying a new laptop I'm using termux to connect to a droplet for side projects. I've tried two different bluetooth keyboards so far and found one I liked with back-lit keys. Also recently setup wireguard on a raspberry pi at home and had fun working on my droplet through my VPN while on a flight. What a time to be alive.

comment 4y ago · link · parent

Maybe it rained frogs (https://en.m.wikipedia.org/wiki/Rain_of_animals) and people (being very superstitious back then) decided to bury them.

comment 4y ago · link · parent

Came here to say 'field of view'. I have a Vive and my girlfriend mentioned the "field of view" limitation, which I didn't even notice at first but now I can't unsee it. I'd love to switch to Pimax but I'm unsure if most computers can even handle it.

comment 4y ago · link · parent

I wonder what are the perceived outcomes if you did let your kids play violent video games?

comment 4y ago · link · parent

.. that sounds like the opposite of minimalism.

comment 4y ago · link · parent

“Simplicity is the ultimate sophistication.” – Leonardo da Vinci.

comment 4y ago · link · parent

Yeah I had the same thought. I get the feeling there are more than a few places out there posting jobs just to gather massive amounts of resumes with no intent to contact anyone.

comment 4y ago · link · parent

In the end, you can't do it all, and why would you? That would be extremely taxing. Most disciplines work with other disciplines, so pick a related cluster of disciplines. You'll get to work with them and experience some of their world, while having your own you can be competent in. In the end, it doesn't really matter, and consider that for many people in the world, they don't have a choice to begin with.

comment 4y ago · link · parent

Intelligence is likely when you're knowledgeable but it is not a given.

75.

Direct Fusion Drive(popularmechanics.com ↗)

2 points · by alphanumeric0 · 4y ago · discuss

comment 4y ago · link · parent

Isn't automated theorem proving a kind of AI?

77.

CQL – A database query language using category theory(categoricaldata.net ↗)

15 points · by alphanumeric0 · 4y ago · 7 comments

comment 4y ago · link · parent

There can be quite a few techniques, theorems, and facts at play while working through any given problem.

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

I wish the HN crowd would talk more about this.

comment 4y ago · link · parent

Mathematical notation is invented but what about the patterns it describes? Did someone invent the notion of exponential growth or decay? Or did we discover this mathematical pattern in many different areas of study?

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

Everyone is born with different privileges, traits, circumstances, and opportunities and I would separate intelligence vs skill vs knowledgeable.

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

Why wouldn't replicating hunter-gatherer diets be great for most people?

comment 5y ago · link · parent

If you read the article the man went several days without meat in the tundra. I'd imagine there are very few plants to gather in the winter.

comment 5y ago · link · parent

Evolution works on the scale of hundreds of thousands of years. The fact that our ancestors were peasants a 1000 years ago doesn't change most of our evolutionary makeup (maybe lactose tolerance).

comment 5y ago · link · parent

Yes, 'imaginary' numbers are invented syntax. I think imaginary numbers are just an additional tool tacked on to our existing tools in order to explore new areas. They are a patch written to cover some cases our previous tools failed to cover.

> 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

You should include weight training as one of your goals if you sit a lot. Strength training is about preventing injury and maintaining your range of motion as you age. The more muscle mass you have the less injury prone you are. Focus on compound exercises like squats, deadlift, and bench pressing.

comment 5y ago · link · parent

I like the puzzle analogy but I'm not sure it holds too much weight. Didn't imperative style also kind of feel like a puzzle when you first started learning how to code?

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

I've had a pretty good experience with Pawtrack (https://pawtrack.com/). It's the smallest tracker I've found.

comment 5y ago · link · parent

I guess my earlier statement about fusing to anything given enough heat is maybe too broad. Care to clarify why it's incorrect?

comment 5y ago · link · parent

My cast-iron is perfectly non-stick (for eggs too) given I don't raise the temperature too much. In my experience, given enough heat, food will fuse to anything. If your food is sticking try cooking for longer at lower temps.

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.

1234567