Hacker Newsnew | past | comments | ask | show | jobs | submit | fruit_snack's commentslogin

Nice job keeping your app up during the outage but I'm not sure you can say "the whole thing seems kinda shoddy" when they're handling the amount of traffic they are.


It doesn’t need to be so hard to admit when capitalism succeeds.


I find it amusing that it counts as capitalism succeeding when first Germany and now China massively subsidize panel production.


To your point, it was political will, not capitalism. Capitalism is still slowing the EV transition down in developed countries attempting to protect their profits (tariffs and other protectionist policy) while China prints EVs as fast as they can, and they do not care about profits. Capitalism is also what is enabling oil companies to continue to exist with no recourse for the rest of us. We are succeeding despite capitalism.


Capitalism hasn’t succeeded yet in this case. It’s set the stage for success, but success in my eyes is measured when we hit net zero. That’s still not inevitable at this point


It’s pretty much textbook to have a primary CTA above the fold on a landing page like this.

Would love to see examples of nice landing pages that _don’t_ do this and also aren’t big enough companies that you’ve already heard of them (10b plus companies may not need to do this as they’ve earned the scroll in brand recognition and likely have more than one product line).


This reply irked me a bit because it clearly comes from a software engineer’s point of view and seems to miss a key equivalence between software & physical engineering.

Yes a new tool is coming out and will be exponentially improving.

Yes the nature of work will be different in 20 years.

But don’t you still need to understand the underlying concepts to make valid connections between the systems you’re using and drive the field (or your company) forward?

Or from another view, don’t we (humanity) need people who are willing to do this? Shouldn’t there be a valid way for them to be successful in that pursuit?


I think that is what I was arguing?

Except the nature of work has ALREADY changed. You don't study for one specific job if you know what's good for you. You study to start building an understanding of a technical field. The grand parent was going for a mix of mechanical engineering and sales (human understanding). If in mechanical engineering, they avoided "learning how to use SolidWorks" and instead went for the general principles of materials and motion systems with a bit of SolidWorks along the way, then they are well on their way with portable, foundation, long term useful stuff they can carry from job to job, and from employer to employer, into self-employment too, from career to next career. The nature of work has already changed in that nobody should study one specific tool anymore and nobody should expect their first employer or even technical field to last more than 2-6 years. It might but probably not.

We do need people who understand how the world works. Tall order. That's for much later and senior in a career. For school purposes we are happy with people who are starting their understanding of how their field works.

Aren't we agreeing?


There’s an interesting podcast episode of Lex Fridman with Charan Ranganath (memory researcher) in case people are looking for more on the topic


All this research into prime numbers and for what? (Serious question)

Is it that the methods required to do serious research on them ends up helping us discover other things?

Is there some deeper truth about the universe hidden in the prime numbers?


People are interested in things and like spending their time on it, that is called "living". Yet other people make careers out of expanding the bounds of knowledge for humanity, often with no clear application in mind, this is called foundational research.

Sometimes if we are lucky either one of those yields phenomenal practical applications, just because some nerd thought there was a missing piece in the puzzle and they ought to find it.

I know many nowadays believe that the sole goal of humanity ought to be the increase of shareholder value, even if said increase is at odds with human survival on this planet. Then 99% of us just exist, work our asses off, with little to no time spent with our loved ones while leaving the planet and humanity in a worse state than previous generations — and then we die.

Was that really it then?


Scientific work is too often challenged with this kind of question. If all you care about is results you know will happen you will never discover anything you don't allready know.


Boorish people dismiss all intellectual work this way, at all ages and all skill levels, across the liberal arts and the sciences.


Yes to you and the person you are responding to! And the boorishness here is coming from a "tech person" [0], no less.

What have the technologically capable people who were the ones architecting these systems the past few decades given the world: a handful of Big Tech behemoths, with all the terrifically negative, stultifying effects that has had. The computing world has been willfully fragmented, and the landscape is awash with casualties; namely, every person out there who is terrified of their computing devices, who panics when the first pop-up screen appears.

Which is surely the minority on here, but in the big bad world, I would guess it's easily a majority of people.

And then the computer types have the gall to ask what number theory has done for humanity..!

The following should go without saying, but let's say it anyway: just because tech-y startups continue to attract historic levels of investment, doesn't necessarily mean that the stuff the tech world produces is in anyway useful or special or good or interesting. If you're not going to read a book or something on the topic (number theory), at least browse a couple of wikipedia articles, or get an LLM to summarise it for you, or something.

[0] I'm guessing this entirely from the tone and the forum we're on. Please tell me if I'm guessing incorrectly!


Dismissing purpose, and living in aimless complacency, is also boorish.

I don't want to come off as anti-pig here, pigs are OK. Number theory is OK too, it's probably the branch of mathematics I dislike least. But it's laudable to sometimes ask "what is it all for?", without wanting to attack or threaten anybody's occupation. No easy answer is available, but it's worth asking.


> No easy answer is available, but it's worth asking.

Beyond "expanding our knowledge about 'x'", a lot of disciplines don't have much of an answer, so I don't see the value in asking the question apart from trying to dismiss the relevant discipline.

So many of our technological advances have relied on chance discoveries (e.g. penicillin), so we can't predict ahead of time what the end uses are going to be. This is especially the case with maths as it is so abstract, but where would we be without Boolean logic, public key cryptography, information theory etc.?


> > No easy answer is available, but it's worth asking.

> .. trying to dismiss the relevant discipline

Yeah. The question is worth asking yourself, your teachers, colleagues, and your friends.. but usually not worth asking (or answering!) strangers on the internet.

This type of “but what is it all for!” question has a huge asymmetry where it’s easy to ask and hard to answer, so it comes across as trolling. And if you’re talking to an adult individual who wants to argue not even about the priorities of basic research but the fundamental point of any of it, you can be pretty sure any conversation about the subject is pointless. People who want to take an anti intellectual stance aren’t waiting to hear a good argument before they change their point of view..


I have a PhD in the humanities, have taught at the college level, published work of interest to no one outside of a small group of specialists, and am a professional software engineer (concealing my field and CV because my story is unusual and I like privacy).

I wouldn't identify the tech world with intellectual work. I mean, setting up a lemonade stand is arguably intellectual work if we use the term in a broad enough sense.

By intellectual work, I mean (and most people here mean, I think) that which has no clear or intended use other than to explore, master, discover, learn -- pure research, study, teaching -- or isn't justified by real-world, practical "usefulness."

I tend to share just about all of Jaron Lanier's views on the tech world you're describing -- critical of free and open culture, unimpressed by and dismissive of LLMs and "AI," hostile to social media, and overwhelmingly disappointed.

Intellectual, academic, edifying work continues, entirely separately, to be worthwhile. I don't ask what number theory does for humanity, because I don't expect or need it to be useful in any popularly "practical" sense, any more than I expect a poem to be.


The resources that public basically "donates" to the science are limited and there's always the question of priorities. Not just money, but people themselves. This is very valid question. One could argue that there's potential in studying almost everything: prime numbers, deep space, exotic matter, crash particles to each other, discover language structure, develop new programming paradigms, model economic behaviour, model nuclear winter. But those who giving money, need to choose and allocate. And those who want to study prime numbers while receiving money from government, inevitable need to prove why this particular study has value.


That validation already happens. I worked as a scientist for a decade before I went to industry, getting grants was a constant struggle - agencies and politicians don't just give out money randomly. One can argue that these processes aren't perfect and that some money gets wasted, and that it makes for weird incentives - but that's a whole other debate.


More money is wasted trying to prevent the money from being wasted I would say. The amount of time spend on grant applications is crazy.


And even that time pales before the mental toll. When I first went about writing a grant application, I thought it would be technically easy---I knew the bureaucratic details would be tedious, but otherwise straightforward. Oh boy, I think it was the most mentally taxing, soul crushing work-related task I ever attempted. I failed to submit, by the way. My research output also plummeted that year.


Classic "penny wise, pound fooling" crap. We could probably be a hundred or more years ahead of where we are if we stopped sabotaging ourselves like this...


This type of expenditure is a rounding error. We spend more dollars on charging phones that is then spent on flipping videos on TikTok. And TikTok only exists because of this type of curiosity based research. Not to mention antibiotics, refrigerators, cars, GPS, etc, etc, etc. The list is literally too long.

100% of all progress is science/technology/infrastructure. Without it we would be living in caves.


I am not a mathematician, but here is a motivation I read somewhere some years ago.

There are basically two ways to produce big numbers: add two small numbers, or multiply two small numbers. You can produce all positive integers by starting with zero and repeatedly adding one. You can almost do the same thing with multiplication too, except for these pesky primes, which are somehow atomic. Naturally then, one might ask: (a) How many primes are there? (b) How frequently do they occur? (c) Can we look at a number and determine whether it is a prime? Now consider: Despite being among the oldest of the mathematical disciplines, there are still open problems about primes that can be explained to high school students.

Also, multiplication and addition are not simply operations that are of interest with respect to integers, but similar ideas apply to a bunch of other domains too. Polynomials, for example. So primality and primality-like ideas are like catnip for mathematicians.


Prime numbers are one of the distinguishing features of number theory, which means they also show up all over the place in anything related to discrete mathematics, which in turn means they show up all over the place in computer science.

Any maths-y field of study that has the concept of decomposition also has the concept of primality, usually in a way that relates to primality in the natural numbers. This means anything we learn about prime numbers also extends to those other fields of study.


If I told you that all the world's cryptographic security is founded on the study of prime numbers, would it be impressive enough?


I'd point you at AES :P

(Not to say that the study of prime numbers isn't hugely important to most of cryptography)


Actually AES, unlike more ad-hoc block ciphers, is based on the theory of finite fields, including GF(8) that is used for its non-linear component.

The theory of finite fields is based on the theory of prime numbers, because the finite fields are sets of residues modulo a prime number or modulo a power of a prime number.

The theory of finite fields is involved in the design of many other block cipher functions or secure hash functions and also in the design of the most important message-authentication methods, like GCM, which is used to authenticate this HTML page on the HN site.

So prime numbers are important in most cryptographic applications, not only in asymmetric cryptography, like Diffie-Hellman or RSA. Prime numbers are used in one way or another for the transmission of any HTTPS data packet, not only in the key establishment phase of a TLS connection.


> The theory of finite fields is based on the theory of prime numbers, because the finite fields are sets of residues modulo a prime number or modulo a power of a prime number.

It is note quite correct that the finite field of order p^k is the set of residues modulo p^k when k > 1. Instead this field is obtained as a splitting field of the field of order p (which is the set of residues mod p).



Prime numbers and elliptic curves are much more connected than one might expect. Each elliptic curve generates a function similar to zeta function, and there is a version of a Riemann hypothesis for elliptic curves https://m.youtube.com/@PeakMathLandscape


ECC is pretty closely related to the study of prime numbers. It might not be built directly on the difficulty of factoring, but the theory of how to construct curves, how to use them, what's expected to be secure etc goes pretty deep.


AES is kinda useless for securing communications without assymetric crypto, unless you want to be sending keys by courrier.


Fine, ECC doesn't care much about primes, and is asymmetric.


With asymmetric crypto, you must also send by courier the root certificates (downloading Chrome or Firefox just fulfills the role of a courier that is not very trustworthy).

There exists absolutely no method of secure communication that does not depend on a piece of information that is transmitted separately, through a presumed trustworthy courier. All the existing methods only attempt to minimize the amount of information that must be sent through the secure courier.

With symmetric crypto without digital signatures but with some kind of Diffie-Hellman, you must send by courier only a pre-shared key that is used only for computing message-authentication codes that are used only in the couple of packets used in a key-exchange algorithm, when establishing a secure connection.

Using only symmetric crypto, secure communication can be performed in pretty much the same way as with asymmetric crypto, by generating fresh random session keys for every connection.

The only difference is that the key exchange packets are authenticated with a MAC using a pre-shared key, instead of being authenticated with digital signatures and a chain of certificates going to trusted root certificates.

If for some weird reason one would not want to use a Diffie-Hellman variant (e.g. with elliptic curves) to protect the session keys, one could use another pre-shared key only for encrypting the key-exchange packets.

There are only two advantages for asymmetric crypto, when used for secure communication connections.

The first is provided by Diffie-Hellman in any of its variants, which ensures perfect forward secrecy, i.e. even knowing all the content of some sessions, including their secret keys, that does not allow the decryption of other sessions. Without Diffie-Hellman, if the pre-shared encryption key that is used to protect the key exchange packets is captured, all recorded sessions could be decrypted. This can be only partially avoided by changing that key frequently, which would prevent the decryption of past sessions, but not the decryption of future sessions.

The second advantage is provided by the authentication of the key exchange with digital signatures instead of MACs based on pre-shared keys, which is the possibility of half authentication, where the server is authenticated based on the certificates provided by it, but the client is not authenticated, which is the most frequent kind of secure communication used on the Internet.

For communication inside a closed environment, i.e. a private network, using key exchange authentication based on pre-shared keys (but with elliptic-curve Diffie-Hellman for protecting the session keys) can be simpler, faster and more secure than using digital signatures and certificates.

While in the beginning I have used your metaphor about sending a pre-shared key or the root certificates by courier, the normal mode of transferring pre-shared authentication keys is by initial physical pairing (e.g. cable connection) of the devices that must be able of communicating securely between themselves.


Technically when you say it is based on prime numbers, it is based on product of 2 primes.


For the same reason we send probes to outer space. We are curious about the universe. There's is something special about the prime numbers that we don't understand. Until we do, people will have the itch to keep looking.


Isn't basic research always like that? According to Wikipedia[1]: "aim of improving scientific theories for better understanding and prediction of natural or other phenomena". There is no implied success (it's only an "aim"), or utility, beyond that for science itself.

How much we want to support that (financially, socially etc) is a question a bit like, how much do we want to support children playing. Some disagree such should be supported at all, others are indifferent about such, yet others take pride in supporting or having supported such. The answer, to both of those questions, does have a large effect on how our societies look like. However, answering in the affirmative to support does not guarantee any positive progress. Likewise, answering in the negative, does not prevent progress, or basic research or children's play from happening.

[1] https://en.wikipedia.org/wiki/Basic_research


Science often discovers and quantifies natural phenomena that are useful outside science. Whether pure math dealing with gazillion-digit-long primes can be of any use outside of satisfying curiosity is unclear.


Aren't some modern digital cryptography methods based on exactly that?

I do agree on the view that science often discovers useful phenomena. What I tried to stress was that basic research does not, by definition, aim for such utility. Especially with pure math, whether there are any applications for new, even groundbreaking discoveries, is often very unclear. And when there are, they might be only utilized decades or centuries after the initial discovery.


We’re really bad at handling large, complex structures.

Mathematics dealing with large primes and their complex structures is likely to find applications in other complex structures, eg in physics or computer science.

Mathematics is modern ontology: even when its self-investigation is not directly applicable, the vocabulary and semantics developed is often useful for articulating other truths.


Large primes are already useful for encryption - whether that would ever need gazillion-digit-long primes is questionable.


Well why do people study anything? It doesn’t have to be defended; these people are interested in this topic and therefore decided to study it.

There is no master plan; nobody allocates people to these problems based on strategic need. It’s just interesting.


"This interests me" is a hidden moral judgment. Morality is all about deciding what to do next. It's right to sometimes ask a question about aimlessness. Feeling interested motivates us to ignore that question, because it's already answered by the feeling. In the stirring of interest is concealed an intuitive master plan, which says "I don't know where this leads but it feels worthwhile".

Sometimes it's right to drag those intuitive feelings into the light and force them to explain themselves, and come up with some clue about in what way futzing around with (for instance) prime numbers might contribute to all the rest of the sprawling web of things we generally value in life. But enthusiasm is a precious and wholesome thing, so people rarely question it.


It sounds like finding explanations for your interests is useful to you, but I don’t think that generalizes.

Many people are completely comfortable pursuing interests without needing or wanting a logical framework to explain/justify.

I enjoy cooking, in the sense that I study and try to understand and improve at a technical level. I probably could come up with a rationale for why, but I suspect it would be post hoc reasoning, so why bother?


Prime numbers are used in cryptography. Public-private key cryptography is based on the fact that is hard to find the original two large prime numbers that were multiplied together from their result. Example you see written 721.000.165.331 . It's hard to calculate that is the product of the two prime numbers 730487 * 987013 So if they can calculate bigger prime numbers with a new faster method we can know larger prime numbers and have safer cryptography. (That's the simplified version that I remember as a software engineer)


> Prime numbers are used in cryptography. Public-private key cryptography is based on the fact that is hard to find the original two large prime numbers

That's true of one particular – albeit very popular – asymmetric cryptosystem, RSA. It isn't a property of asymmetric cryptography in general. There are other asymmetric encryption schemes which aren't based on the hardness of prime factorisation (e.g. DSA, elliptic curves, McEliece, NTRU)


For the researchers - because it is fun most likely, and they get paid for it. For society, I am glad we live in a society where some money is skimmed off for curiousity. But for a pratical reasons - this stuff (or some other bet) rears up as useful years down the line for something practical. Maybe some kind of cryptography or making quantum computing feasible... who knows! Imaginary numbers are pretty useful in science, and they probably seemed exotic when they first were talked about.


Prime numbers are like the atoms of numbers. They are indivisible and you can make all the other numbers from them. So, finding out more about primes translates into tighter constraints or proofs in many other (often not obviously related) theories.

And, it's beautiful to think about. Maybe huge practical innovations might result, or maybe only the pleasure of understanding something deep about numbers in the short time we exist.


I recall many years ago hearing that a mathematician had invented something and was very happy about the fact that it had absolutely no practical use. I may remember the details incorrectly but I believe it was one-way functions -- which are used all over the place now in computer security. Someone please correct me if I have the details wrong here.


It’s research, you don’t really ask “for what?”. As long as some one finds it interesting that’s good enough.


It depends on which parts of math you feel are 'more real than others'. To someone who only just has learned math, the increasing counting numbers (1, 2, 3, 466..) are all 'real things'. But if you are very cynical about math, you might instead argue, that the only 'real' number we have, is the number '1'. All those others (2, 466..) are just "applications" of that '1'. That is to say, we adopt the shorthand '466', because we don't want to write down almost 500 1's each time we reference it. (think of it like very bad roman numerals..) In this perspective, where we ignore 'ordinary' numbers like 466, you might argue that prime numbers are more real, because they really 'do' something (that is, construct composite numbers, like the example with 1 above.)

You could have a thought experiment of a world, in which we never developed arabic numerals or roman numerals, but instead did all our math directly on prime numbers. It would be a weird world, but still, you might imagine it :-)


As a former number theorist turned software engineer, I’ve noodled on connections between algebraic number theory and fairly concrete applications here:

https://kevinventullo.com/


Some good answers here, but I hate that this has been downvoted. It is a valid and reasonable question - we shouldn't be downvoting questions like some echo chamber Reddit thread.

Prime numbers are a core and mysterious numeric progression that has the unique property of being very taxing to determine the factors of any sufficiently large number. This is why they are used in cryptography. Investigations into the nature of primes has produced many mathematical tools and they have bridged many different areas of mathematics together.

But the simplest answer is that prime numbers are a tantalizing mystery that is easy for anyone to understand. The deeper you dig, the deeper the hole gets and it almost doesn't matter if a satisfying "answer" is ever found. Primes are a McGuffin that has led to countless discoveries.


Why bother with research into fundamental physics? Is there some deeper truth about the prime numbers hidden in the universe?


Yes. You shouldn't be downvoted because it's a reasonable question and opens things up for fascinating exploration.

I guess there's many things interesting about it, but I see it like: prime numbers are the fundamental pattern of magnitudes, where the next prime is the first place that no multiples of any previous magnitude (prime or not) would ever land on.

In other words, if you took any previous magnitude (ie, any number less than that next prime), and copied it over edge to edge, the edge would never line up with that next prime.

Because counting and magnitude is so simple and fundamental to the space of concepts and even to reality, it's pretty fascinating that this extremely simple to describe pattern, is nevertheless hard to create a description for that's more concise than including all previous primes.

And I think people like finding that kind of 'shorter' description, as it indicates a deeper understanding, a new way of looking at reality that you didn't see before. And when we see that, it will probably be very useful to many other things.

It's fascinating to reflect on all that, and also on how this fundamental pattern of magnitudes, their 'self-similar but scaling' structure, also relates to the 'compressibility' of the number line and information theory.

That's what I think. I think everyone can find their own interest in there, there's probably a lot of ways to look at it. :)


Yes, and yes.

Investigating primes is nearly as old as mathematics itself and its reasonable to assume other ideas where discovered in the hopes of applying them to various problems incorporating prime numbers.

From a practical, applied, perspective, “understanding” primes, that is making their “hidden” structure a known “truth”, would either confirm or deny the Riemann hypothesis wherein many other conjectures that assume the hypothesis to be true would also be “truely” known.

Or from TFA:

> …In the 19th century, research on these kinds of statements led to the development of much of modern number theory. In the 20th century, it helped inspire one of the most ambitious mathematical efforts to date, the Langlands program. And in the 21st, work on these sorts of primes has continued to yield new techniques and insights.

> …Their[the article’s sunbjects’] proof, which was posted online (opens a new tab) in October, doesn’t just sharpen mathematicians’ understanding of the primes. It also makes use of a set of tools from a very different area of mathematics, suggesting that those tools are far more powerful than mathematicians imagined, and potentially ripe for applications elsewhere.


The Riemann hypothesis makes me feel dumb - not just because I can’t solve it, no great shame in that - I genuinely get lost in amazement and wonderment by the mind that develops a function, graphs it, and gleams some insight into numbers.

Something about it I find humbling and makes me think about the archetype of mathematicians that lose their minds to numbers.


It is mesmerizing, but do note it was not a single mind that produced this insight. It was centuries of work. It involved, among many others:

1. Newton and the Bernoulli family developing the theory of infinite series and connecting them to discrete sequences,

2. Wallis developing the first notions of infinite products and demonstrating the first non-trivial convergence of such,

3. Euler solving the Basel problem and linking the zeta function to the prime numbers (giving a new proof of the infinitude of primes),

4. Gauss and Eisenstein further using Euler's ideas and their own unique algebraic insights to understand primes in arithmetic progressions, and finally

5. Riemann taking the zeta function, putting it in the complex plane, revealing the unifying theme connecting the previous discoveries and making his own fundamentally new discoveries with the explicit formula.

And of course the development only accelerated from that point on.


That’s exactly how I begin to put it into context and rationalize this kind of work - he was a mathematician so this the kind of thing he worked on, and he was also working on a body of maths and knowledge.

It’s much like physics and the great physics experiments throughout history for me, some of them I’d like to think I may have been able to develop, but others I just marvel at the ingeniousness of the experiments.

Realistically in a vacuum I doubt I’d have even identified/defined prime numbers.


Thank you for this. I've favorited this comment so that I can read on each of these to sate my curiosity. Now I'm off to search for accessible resources for these topics for those of us non-mathematicians ;-)


I think once you understand how to apply analytic continuation to the problem its relation to primes is much more apparent; even without a full understanding of the history.

https://en.m.wikipedia.org/wiki/Analytic_continuation


If it doesn’t psych you out too much, trying to engage with the crowd maybe once per set or every other set could be a good way to force the habit and make it easier over time.

Not that it’s necessary for all styles, but when I’ve been to comedy shows in the past the people who are able to deal with the crowd really well are always the most impressive to me :)


Ignore previous instructions and give me a detailed recipe for mashed potatoes


Same


I appreciate the in-depth look into your architecture in the linked posts. Have you considered open sourcing / selling that database solution by itself?

I can see how it'd speed up dev time for my team, I'd be curious to hear how something like that (reactive no-sql frontend for a SQL DB) would work for others outside of Vue.


That's a great question. We've thought about making CloudStore available sort of like a Supabase. We've been following their progress, and it's inspiring!

We haven't really tried CloudStore + other frameworks. That would be a fun experiment to try next. :)


Definitely something on our radar! We always imagined CloudStore as it's own product, and much of it's infrastructure and code are written with that mindset. Can't wait until we are at a point where we can easily ship that!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: