Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Geminidog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
331.
▲
by
Geminidog
6y ago
It's less about the key mappings and more about the portability and lightweight nature of vim. So Clion runs on java and is really heavy while vim can be spun up instantly while you're sshed into any machine. I want both of these
332.
▲
by
Geminidog
6y ago
I mean the ide does have vim emulation but that's not what I'm thinking about. Try the other direction: Vim IDEA
333.
▲
by
Geminidog
6y ago
Well vscode is written on electron. Your editor in that case is a full blown browser basically. I see no reason why something as lightweight as vim or emacs can be configured to be as powerful as vscode while being much more lightweight.
334.
▲
by
Geminidog
6y ago
Yeah I can think of it that way. But I don't want to. I want a batteries included ide as lightweight as vim and as powerful as Clion, not two tools. Currently you see a bunch of programmers divided into two camps. Those that prefer th
335.
▲
by
Geminidog
6y ago
Given the brittleness there should be at least a single configuration that works. I believe that tikhonj is right in the sense that nix can capture this configuration. Nix is not required but I can see how it can help.
336.
▲
by
Geminidog
6y ago
I'm positive some sadist somewhere in this world has all the software on their OS as a nix expression. I'm also positive that at least one of these people has a fully featured emacs IDE and all the required dependencies as part of
337.
▲
by
Geminidog
6y ago
I would say python/javascript is more powerful with polymorphism as it defines polymorphism over everything. Saying Haskell is more powerful when it comes to compile time guarantees is like saying Haskell is more powerful because it is
338.
▲
by
Geminidog
6y ago
I really wish there was a batteries included vim-like console editor with all the power of the jet brains suite of IDEs and convenience and lightness of vim. As it stands right now I end up using both an IDE and vim. Maybe emacs is the answ
339.
▲
by
Geminidog
6y ago
This isn't code generation. This exists in other typed languages including Go. It's called interfaces or polymorphism. It's done via interfaces or inheritance in other languages. This is still a restriction. A function that o
340.
▲
by
Geminidog
6y ago
>Perhaps you should have anticipated my focusing on the conversation itself, not because you had boxed me out, but because that was the substance of my comment in the first place. Not only do I often fail to anticipate this. I find the w
341.
▲
by
Geminidog
6y ago
Kind of but if you think about it generics and parametric polymorphism in general is a restriction on the types that a function can take as parameters. It is a feature that allows you to restrict how a function is used. In a sense you are u
342.
▲
by
Geminidog
6y ago
You're the one that put focus on the term. I didn't do that. I'm defining powerful in the same sense the article defines it. My argument in response to your reply is to say there is no reasonable alternate definition and peop
343.
▲
by
Geminidog
6y ago
So tell me what do people mean when they say Haskell is more "powerful"? Tell me the definition. I don't think there is a different definition. I think it's just that most people aren't sure why Haskell is "bet
344.
▲
by
Geminidog
6y ago
There are problems outside of cognitive burden. More expressiveness actually leads to a higher error surface area. The more power you have the more opportunities you also have to shoot yourself in the foot. Removing mutability as a feature
345.
▲
by
Geminidog
6y ago
It's well known that less power leads to less opportunities to shoot yourself in the foot. The article talks about "less" power from a qualitative perspective like how "Go" is less "powerful" than "C+
346.
▲
by
Geminidog
6y ago
Climate is also a more macro level view of a system. Think Entropy. Imagine Oxygen molecules in a box. The individual movements are complex and unpredictable but at a very high level macro view we can see all of these movements in aggregate
347.
▲
by
Geminidog
6y ago
Have you guys ever tried software engineering engineering techniques that utilize No evidence? The current trend of the programming world is to worship data and science but some of the most powerful programming techniques do not involve dat
348.
▲
by
Geminidog
6y ago
>Also this is a dumb conversation. I didn't actually run the benchmark. I just lied to you because I wanted to see you waste hours of your life typing out a wall of text for someone who doesn't care what you think. Also I still
349.
▲
by
Geminidog
6y ago
Yes, but "parallel" is also used in CS to specify multiple things happening at the same time including IO. https://www.wikiwand.com/en/Parallel_computing Quote: "Parallel computing is a type of computati
350.
▲
by
Geminidog
6y ago
Did you read my full post? I don't think you did. Let me quote it: >To make it a fair test and to see the benefits of python threads over processes you need to get rid of the hash operation. Maybe make your python program write a co
351.
▲
by
Geminidog
6y ago
No you're confused. I'm perfectly aware of the differences between parallelism and concurrency. You are not. Have you ever heard of a popular web server framework called NodeJS? You can create servers with NodeJS that handle 10k c
352.
▲
by
Geminidog
6y ago
My comment is more addressing the guy trying to use processing OVER threading to improve overall speed of completing multiple IO tasks. Yeah I'm aware of your comment. And I can see how you could be pissed off over someone not mentioni
353.
▲
by
Geminidog
6y ago
No man. Python threads are not fibers. This is factually wrong. Please Read: https://wiki.python.org/moin/GlobalInterpreterLock
354.
▲
by
Geminidog
6y ago
One use case is IO bound applications. Similar to NodeJS which can handle 10K concurrent IO calls on a single thread, python releases the GIL on IO. So you can write pure python and have multi threading and have all the benefits of "pa
355.
▲
by
Geminidog
6y ago
Also from certain perspectives parallelism is achieved with threads during IO. So if 20 threads are making blocking IO calls, all 20 threads can make progress on those IO calls in parallel while having an additional parallel thread doing co
356.
▲
by
Geminidog
6y ago
You are completely wrong. GIL is released on I/O. So threads can parallelize during I/O calls. This means if your application is bottle necked by IO threading is better. If it's bottle necked by both IO and compute or only co
357.
▲
by
Geminidog
6y ago
Tech debt is always described as a metaphor. The word itself is a metaphor for something ill defined. The problem with the metaphor is that a vague definition of the problem means that there will be equally vague solutions. No one is reall