1,291 karma · joined Mar 27, 2019 (7y ago) · 868 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
That is an often re-iterated conspiracy theory. In practice nothing could be further from the truth. Professors have nothing to gain from weeding out students. They have to gain by ensuring a certain standard. By the way it is also better for a student to encounter the difficult parts of their subject as early as possible, so that they can decide whether they have chosen their subject wisely. On the other hand, not failing students on fundamentals means complicating advanced subjects even further --- for everybody.
At some point in life students have to accept that neither their time in university nor their time in the industry will consist only of externally motivating tiny bites of tasks that are awesome. In order to understand complicated matters, you have to put in the work. Spending hours in the gym is also quite boring, but most people accepts that it is necessary for certain results.
I've been involved with undergrad teaching in a University. And the amount of time we spend on finding ways to teach and test better was way more than I could have expected as a student myself. On the other hand I couldn't have imagined the arrogance and sometimes stupidity of first year student claiming to know already what they will need in there career and what not.
comment 4y ago · link · parent
I can second that, someone I know personally who is building well-reputed longboards in his shop with a few friends, thought a few year ago it would be a good idea to sell through Amazon. Let's just say it didn't went well. Amazon forced them to take basically any returned longboard no matter how obviously it was destroyed.
comment 4y ago · link · parent
And I agree totally with your point about search.
comment 4y ago · link · parent
[1]: Runtime Support for Multicore Haskell, Simon Marlow, Simon Peyton Jones, Satnam Singh (https://www.cs.tufts.edu/~nr/cs257/archive/simon-peyton-jone...)
comment 4y ago · link · parent
Since the JVM comes with all the blocking call in its own standard libraries, it can rewrite them all internally. Every third-party library that uses the normal Java standard library will benefit from this under the hood replacement of blocking systems call with non-blocking system calls. Only when you use other native libraries you have to be careful to use mostly non-blocking functions.
Therefore Loom allows programmers to think and program with blocking calls, but they get the performance characteristics of non-blocking calls. That is awesome. And there is no need to use function colouring or type-level encoding of blocking/non-blocking code.
comment 4y ago · link · parent
Parallelizing Emacs needs to be a long-term endaveour, as the maintainers of Emacs already said years ago. I think Emacs could learn something from Clojure's story for parallelism. Make data structures immutable by default, and reference them from as few global variables as possible. The "make data structures immutable by default" ship has already sailed, but introducing additional immutable list/vector/map/set data structures with first class syntax support would allow newly written code to prepare for a more parallel future. Such immutable data structures could then be shared between different "ELisp web workers". The "as few global variables story" ship has already sailed, but again ELisp authors would start to consider reducing the number of global variables if it would enable multi-threading.
comment 4y ago · link · parent
You are contradicting yourself. If languages instead of implementations were slow or fast, then their would not be fast and slow Schemes and Lisps. Scheme would be either slow or fast.
Actually, I would go even further than saying only implementations are slow or fast, they are slow or fast for certain use cases.
> There is simply no efficient implementation of Elisp possible as it stands and as it is used today. Even with JIT compiling Elisp performance is simply wretched.
I agree in so far as there will --- probably --- never be an Elisp implementation which can run numeric intensive code as fast as the best Fortran or C compiler for this task. But it is certainly possible to improve the performance of ELisp even more than native-comp branch did. The question is whether there are people capable and willing to invest the time to develop that and whether spending that time on the language implementation is the most useful way to spend that time.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
That is nice reason for somebody to create a solution to scratch once own itch. But it is completely relevant to others. As a user, I have no benefit if somebody reinvents a wheel per se.
comment 4y ago · link · parent
[1]: An internationally known consulting firm, that I won't name, had (perhaps has) an internal tool that compiles an Excel description of a service interface into actual XML parsing code that accepts only one hard-coded namespace alias for each given namespace. Over the years I've come across multiple companies with that bug in some service. Everytime I looked into it, the reason was the same internal tool of that consulting firm. And I've met multiple times people who had already discovered that same thing.
comment 4y ago · link · parent
Hitler started with redefining every day language and influencing/gaining control over youth groups as soon as he had power.
comment 4y ago · link · parent
comment 4y ago · link · parent
I like that definition and they way you argue. But don't forget that i.e. Meta and all other social networks are paying hords of hackers to screw with your emotions. I.e. you have a really capable opponent.
Why do I claim that social networks and other pay hackers to screw with our emotions? Actually I am convinced they don't care at all about the emotions of their users. They only care about their attention. Since, that is what is being sold to advertisers. Therefore, they do anything to prohibit users from staying in control of their social media use. That doesn't mean that it is impossible to use social media responsibly and healthy, but it is not easy.
comment 4y ago · link · parent
But --- hopefully --- there are more than one unit/component tests. ;-)
But I agree, there are contexts in which global variables may make sense, e.g. sometimes in an embedded system, sometimes in a short throw away program. As usual, the community of software developers discusses guidelines without clarifying the context or the assumptions they are working with. Since there are almost no universal guidelines for programming those discussion go on forever.
comment 4y ago · link · parent
And every argument that OS threads are good enough is in stark contrast to the length to which people go to avoid using them. I am talking about all the async libraries/patterns/language features people use to avoid using OS-level threads.