Better HN
topnewbestaskshowjobs
Log inSign up

Random_ernest

276 karma · joined Nov 15, 2019 (7y ago) · 69 submissions

Submissions

comment 6y ago · link · parent

In the Hyperion books by Dan Simmons there is a being that can move in higher dimensions and the books will reportedly get a movie. Maybe they will adapt some effects like this.

comment 6y ago · link · parent

I took it from the article that dropping requests was permitted (since that happens when all servers go down). So my assumption is still that a better solution is that the load balancer allows only a specific number of requests per server and rejects or caches the rest. I would even argue that requests being rejected is more understandable for the user than the website simply not being there for a certain time.

comment 6y ago · link · parent

I am not a webdev, but isn't that a task for the loadbalancer in the first place?

comment 6y ago · link · parent

I've seen several of these maps (they are available for most large German cities) and i always ask myself what the value proposition and applications for such maps are. It seems like they take large resources (e.g. manual collection of the data) to create.

comment 6y ago · link · parent

A good dogma I think fits roughly in the same category as your opinion is a quote from Alan Perlis:

“A language that doesn't affect the way you think about programming is not worth knowing.”

comment 6y ago · link · parent

Libpython.clj allows python interop. So you have the entire ecosystem of python and Java at your hands. I would argue that this should suffice to go far beyond educational purposes.

comment 6y ago · link · parent

For me personally, my slides improved significantly when I started using Latex. Imo Latex forces you to give clean, concise presentations. If there is content that takes a lot of fiddling, your presentation is probably overloaded with things that won't reach the audience anyway.

comment 6y ago · link · parent

I tried to learn FP multiple times by learning haskell. Never clicked, tried clojure and I was productive after roughly 2 days.

comment 6y ago · link · parent

Datomic also has change history, and you can query against a specific point in time afaik.

comment 6y ago · link · parent

For everyone thinking of the 2008 financial crysis: My layman point-of-view is that the market for mortgage backed securities in the US is nearly 20 times smaller compared to 2006

https://www.statista.com/statistics/275746/rmbs-issuance-in-...

comment 6y ago · link · parent

Do you have something like a mailing list for when it is ready?

comment 6y ago · link · parent

An imo really nice but lengthy explanation of this is given by Robert Martin here: https://cleancoders.com/video-details/clean-code-episode-0

He calls this restriction by paradigms.

comment 6y ago · link · parent

> how mailboxes and message passing would really work in a purely functional language anyway, could be awkward to work with them.

It works really well and intuitively I would say, and even more; this is a common application to show the advantages of functional programming. Here is an article comparing sending messages asynchronously between threads in Elixir and Clojure (two common functional languages) https://bentomi.github.io/posts-output/2017-06-04-message-se...

comment 6y ago · link · parent

The article is very nice, thanks a lot for it. Especially since I hear the word concurrency and parallelism often thrown around without any distinction.

Very off topic, but I have read several times the argument that the rise of functional programming is due to it's easy concurrency (since functions don't have side effects) and that concurrency becomes more and more important due to moores law being dead (i.e. we can't scale the hardware up, we have to add cores to our processors).

Could someone with more experience comment on that? Is concurrency really easier in functional languages and is the rising importance of concurrency a valid reason to look into functional programming?

comment 6y ago · link · parent

Okay when I reread it, I see your point. I used their wording, in fact they can't attract anyone but they used the word "talent" for anyone that can code.

comment 6y ago · link · parent

> Moreover, very, very few people look to improve their efficiency by learning entirely new tech stacks.

I firmly believe (against the common HN sentiment) that 99% of the developers do exactly 0 exploration of new technology and they couldn't care less (which is their good right). Also not everybody sits in a fancy startup in the Bay-Area and has even the skills or time to adapt. Most developers sit in a big company that has been doing their stuff for 10+ years and are not very susceptible to change. As an anecdotal example, I recently talked to a company that could not figure out why they could not attract talent. They claimed "we are so innovative, we even adapted PostgreSQL". Before that they used csv as their "database".

comment 6y ago · link · parent

They are mostly using C/C++.

comment 6y ago · link · parent

> The author is certainly bullish on Rust in general and in low-level development and so am I.

While I share your sentiment, I've recently talked to about 5 people who write software for low-level, security relevant things in airplanes. Imho the best application for Rust one could think of. None of them had even heard of Rust. But this is highly anecdotal of course.

comment 6y ago · link · parent

> Modern encrypted spread-spectrum digital radio would have looked like random noise until quite recently

Topics like this are discussed in Stanislaw Lems, Masters voice novel. A really good read.

comment 6y ago · link · parent

I really like Clojure, it's a well designed language and one can get quite productive, surprisingly fast.

My core criticism that is not really mentioned in the article is the error messages. At the beginning I often felt lost and had no idea where to look if something went wrong.

comment 6y ago · link · parent

Many of the top 50 python libraries are wrapping a lot of code that is actually c, c++ or fortran. So I doubt that there is a lot of performance to be gained. Numpy is a good examples for that.

comment 6y ago · link · parent

> If you never have experienced the joy of using "true" REPL, you will never understand the immense value of it. Non-lispy languages, sadly have no "true" REPLs.

I don't quite understand this, could you explain it a little more in depth?

comment 6y ago · link · parent

> Clojure still hasn't really found a niche

To me Clojures sweet spot was dynamically typed, functional programming with an extremely large ecosystem of tools (due to Java interop).

comment 6y ago · link · parent

I used it extensively in my PhD thesis for solving nonlinear eigenvalue problems that arise from Maxwell's equations. It's a great tool, in fact one of the best tools for scientific computing I ever used.

We also used it extensively for teaching, since you can implement a lot of cool things without having to worry to deeply about programming or CS.

comment 6y ago · link · parent

To me it's two things. Firstly, I don't really like using the mouse. Secondly, the minimalistic design helps me focus and organise things better.

Once you got used to it, you notice other things like the speed and configurability.

But tbh I do think it only makes sense if you do a lot in the terminal, and need to switch often between applications.

comment 6y ago · link · parent

Sorry if my comment implied that I had left academia. I simply decided to not go into industry as an electrical engineer but pursue a PhD in a non-related, more math-heavy subject.

comment 6y ago · link · parent

I was in this very situation, thinking I want more than "just" EE. Applied for a PhD position in a branch where mostly mathematicians work, could not be happier with the decision.

Do it. Scratch that itch while you still can.

comment 6y ago · link · parent

> I think advocates of these super statically typed languages completely overestimate the complexity the average human mind is capable of dealing with. Perhaps because the creators are super smart themselves ;-)

That is a really good point. From my personal pov languages that take to long to understand and take you >1 week to get productive are rarely useful since you won't be able to afford or train "normal" people to use it.

In my company we recently switched from Python + Numba to Python and Clojure. Since even though people never heard of functional programming or Clojure, they can get started on simple things within the first week.

comment 6y ago · link · parent

> I think you may also see Clojure overtake Scala for the same reason. The simplicity of Clojure may in the long run overtake Scala although Scala benefits a lot from similarity to Java at a superficial level.

Correct me if I'm wrong, but didn't Scala overtake Clojure some years ago as the second most popular language on the JVM (second to Java ofc). From my point of view it rarely happens that these trends reverse.

Scala has the advantage that it allows OOP or Functional Programming, which Clojure does not.

But I do get your point about simplicity. I tried 3 times to learn functional programming by learning Haskell and it never clicked. Then I learned Clojure and who would have thought, functional programming is actually not as hard as Haskell makes it out to be.

123