Better HN
topnewbestaskshowjobs
Log inSign up

nis251413

17 karma · joined Jan 5, 2025 (1y ago) · 15 submissions

Submissions

comment 1y ago · link · parent

> What does this mean really? That is their means.

The "means" is being able to print trillions of imaginary dollars with value that magically pops into existence, merely backed by the fact that other nations do not want USD to lose value because they invest in it.

US did not care about trade deficits because they were able to just print dollars without having dollar itself devalued, which is what happens if any other nation decides to print currency without having a way to back its value. Because the US status as global hegemony is getting challenged, these trade deficits may become an issue. But trade deficits were not an issue until now (and they still are not as long as they can keep printing dollars without hyperinflation happening).

comment 1y ago · link · parent

Don’t special characters always go after the Latin alphabet? I think this is pretty common, and fairly expected behaviour. Of course nothing is perfect but I feel like the way Wikipedia handles it is consistent.

comment 1y ago · link · parent

Next step: create a visual programming language that compiles to goboscript.

comment 1y ago · link · parent

Yeah, syncing text files across devices is a problem that has little to do with obsidian or whichever editor/renderer one uses. As long as one keeps things relatively simple with plugin-related syntax flavours, editors are interchangeable.

comment 1y ago · link · parent

Big-O notation is about asymptotics. You have to approach something, and typically there is some infinity involved because if it is not, then you can just compute things instead of giving asymptotic approximations, or else you have 10^10*n and 0.001*n^2-10^20*n and the big-O asymptotics at infinity are useless for smaller numbers. I understand what OP tries to say but that's not really a good framing point for many reasons. If you want to talk about a finite period of time, use a regression model, not asymptotics. But that's probably also a more personal preference around using mathematics colloquially but also in a manner that is not a good metaphor and does not correspond with what the mathematical theory is referring to. And I am not sure at all whether it is very well understood "what part of the graph we're talking about", in the sense that the modern organization of economy is far from acknowledging the fact that resources on earth are actually finite. Talking about O(n) and O(n^2) or O(exp(n)) as if growth can be indefinite comes with a specific kind of mindset, and the frame used reflects this type of mindset.

comment 1y ago · link · parent

Sigmoid (or the logistic function specifically rather) is exponential until you get close to the "turning point" (or rather, its growth bounded from below by an exponential). It's as you approach that point that it becomes linear, and after that its growth decays.

However you are sort of right that "churn" does not necessarily have to do with it being sigmoid because it will be anyway. It may be bring it earlier if the churn rate surpasses the user growth, but that's probably not important here.

comment 1y ago · link · parent

Well, you may want to increase complexity in some contexts, eg in cryptography.

comment 1y ago · link · parent

Yeah I also have amblyopia and am curious about this. How does it work with the two lenses/screens? I assume if eg one with normal binocular eyesight closes one eye, they are able to see the screen on the open eye side normally? In some sense I would imagine it should be just minus one problem to solve this way (the vergence accommodation) if one does not care about stereoscopy.

I tried once the apple vision pro and it seemed fine, amblyopia-wise at least. It was too briefly though to know for sure how it would be like using it for longer.

comment 1y ago · link · parent

I mean, the article and discussion are about numpy's syntax around vectorised code and problems people have with that. Many comments make comparisons with matlab, and I am pointing that a language allowing you do use arrays and write vectorised code, and a language being an array language are not the same thing. Writing vectorised code in a language were everything is based on arrays is in general more natural. The variable definitions are simpler (you do not specify what is array and what is not because everything is an array), and operations tend to work more consistently. Eg in matlab operations are by default done column-wise, because that's how the language is designed and works internally. So functions acting on 2+D arrays act by default column-wise, it does not depend on other context, and they are designed so in order to be faster, not merely consistent to the user. Consistency comes from how arrays are internally represented in memory and the need to have fast code, not just as an arbitrary design choice at the highest level.

Most developers do not touch array languages but I guess most developpers don't in general (need to) vectorise code this way and avoid loops (because they work in other problem domains, use lower level languages etc). If anything, not all problems can be vectorised anyway (or at least elegantly). But if one writes vectorised code, doing that in an array language makes more sense.

comment 1y ago · link · parent

That's nice, but only works, as I understand it, if you use numpy-only functions, which means that you should not use those who denote also base-pythonic, eg +,* etc operations, because then they are interpreted differently. Eg `A + x` gives

    [[1, 2], [3, 4], [5], [6]] 
instead of

    array([[ 6,  7],[ 9, 10]])
You have to keep track of the context there to know what you can do and what not I guess, which is not ideal.

comment 1y ago · link · parent

Not that I know of, and I did not claim it does.

comment 1y ago · link · parent

Even a single person may do different things that will change whether using an LLM helps or not.

Much of the time I spend writing code, not thinking about the general overview etc but about the code I am about to write itself, and if I actually care about the actual code (eg I am not gonna throw it away anyway by the end of the day) it is about how to make it as concise and understandable to others (incl future me) as possible, what cases to care about, what choices to make so that my code remain maintainable after a few days. It may be about refactoring previous code and all the decisions that go with that. LLM generated code, imo, is too bloated; them putting stuff like asserts is always a hit or miss about what they will think is important or not. Their comments tend to be completely trivial, instead of stating the intention of stuff, and though I have put some effort in getting them use a coding style similar to mine, they often fail there too. In such cases, I only use them if the code they write can be isolated enough, eg write a straightforward, auxiliary function here and there that will be called in some places but does not matter as much what happens in there. There are just too many decisions at each step that LLMs are not great at resolving ime.

I depend more on LLMs if I care less about maintenability of the code itself and more about getting it done as fast as possible, or if I am just exploring and do not actually care about the code at all. For example, it can be I am in a rush to get sth done and care about the rest later (granted they can actually do the task, else I am losing time). But when I tried this for my main work, it soon became a mess that would take more time to fix even if they seem like speeding me up initially. Granted, if my field was different and the languages I was using more popular/represented in training data, I may have found more uses for them, but I still think that after some point it becomes unsustainable to leave decisions to them.

comment 1y ago · link · parent

The syntax of actual array languages can be beautifully concise and expressive. You can express mathematical formulas in ways that makes sense when you read a single line, and once you get used to the notation and some originally non-intuitive quirks (from a programming background perspective), you can write in very few lines what otherwise would take you several lines of rather ugly, less readable code.

In my view, python+numpy is not actually an array language. Numpy as a library adds vectorization operations to python in order to help with speed. This is different. It does not (intend to) bring the advantages that array language syntax has, even if it was a bit more consistent.

comment 1y ago · link · parent

Yeah that's me. I lack stereoscopic vision so such tricks or 3d glasses etc do not work.

comment 1y ago · link · parent

It depends also on what you want to get from the article. Usually I focus on the methods section to really understand what the paper did (usually I read experimental papers in cognitive science/neuroscience). I may read parts of the results, but hopefully they have figures that summarize them so I do not have to read much. I rarely read the conclusion section and in general I do not care much about how authors interpret their results, because people can make up anything and if one does not read the methods can get really mislead by the authors' biases.