Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fredmorcos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
fredmorcos
10y ago
I like red switches and I hate browns and blues. What the hell are you talking about?
62.
▲
by
fredmorcos
10y ago
The sound dampening pad does not dampen switch and keycap noise.
63.
▲
by
fredmorcos
10y ago
Has nothing to do with syntax.
64.
▲
by
fredmorcos
10y ago
> whilst "int.add" and "float.add" are alternative implementations of the same signature. Maybe in a functional programming language like Haskell. But not in C++.
65.
▲
by
fredmorcos
10y ago
C portability is not portability in the Java or Python sense. It's portability across architectures, and undefined (and implementation-defined) behavior is a powerful tool for that.
66.
▲
by
fredmorcos
10y ago
> or allow the programmer to specify which one should be used with an annotation. That's exactly: > give all of those functions different names.
67.
▲
by
fredmorcos
10y ago
I really couldn't organize my thoughts from the sheer amount of criticism I have of this blog post. So instead, I'll kindly ask anyone to give this person a "do what I mean, and not what I say" programming language. And
68.
▲
by
fredmorcos
10y ago
Absolutely, but you'd be a nice guy if you factor out the essential and common parts into C libraries, so that others can make use of it as well (from any language and framework) which increases collaboration and decreases fragmentatio
69.
▲
by
fredmorcos
10y ago
> Almost nobody actually collaborates on anything. Everybody wants to do their own thing and it leads to developer fragmentation. Every project is undermanned. LXQt is especially undermanned right now. The Cinnamon guys, last I heard, wa
70.
▲
by
fredmorcos
10y ago
(Just my opinion) I completely agree with everything you point out. The argument I am bringing up is not about implementation, it's about "if they didn't use C, they would have less (security) problems": No. C is the way
71.
▲
by
fredmorcos
10y ago
I hope I don't come across too harsh. Is HN still really up for that argument? Yes, we know the downsides of C. But the upside is that _we know the downsides of C_. Constantly complaining about C isn't going to get anyone anywhere
72.
▲
by
fredmorcos
10y ago
Have you tried ftp2? I had problems today with one of them (can't remember which worked and which didn't). EDIT: http://ftp2.eu.openbsd.org/pub/OpenBSD/
73.
▲
by
fredmorcos
10y ago
I think they were referring to the fact that 'de' isn't much of a shorthand for 'def' and that 'prin' isn't much of a shorthand for 'print'.
74.
▲
by
fredmorcos
10y ago
So they couldn't be bothered to contribute that directly back to LLVM/Clang or am I missing something?
75.
▲
by
fredmorcos
10y ago
> transform themselves from a company that does cutting-edge research and makes universally useful products into a corporate blob with no specific purpose and niche products of dubious quality. This is very true and funny only when read
76.
▲
by
fredmorcos
10y ago
> Just like C had to add things like arrays to the Turing machine? Care to elaborate on that?
77.
▲
by
fredmorcos
11y ago
Yes! That definitely reinforces my understanding. So Rust is more like C and less like C++ in that it is pass-by-value everywhere, with the exception that references are not pointers but _real_ references. Does this make things like "c
78.
▲
by
fredmorcos
11y ago
Thanks :) You've given me a lot to go through over the weekend. Regarding Haskell, I used LYAH and the standard library documentation. I agree that Haskell is not easy to learn and that the libraries require a lot of foundation before
79.
▲
by
fredmorcos
11y ago
Sorry for not being clear on this. I was not talking about Julia code crashing. What I meant was when playing around with it, the julia binary would segfault here and there. echo "print(3)" > boot.jl julia --compile=all -O --in
80.
▲
by
fredmorcos
11y ago
Wow, thank you for that reply! I don't think that C stays alive because people just automatically rejected anything else. There is something to C that I appreciate extremely, and that is the clarity and simple semantics: there is not m
81.
▲
by
fredmorcos
11y ago
In this video[0] on Rust, in this example I was unable to directly tell whether the Vec structure is being copied to the take() function. If ownership is being handed over, why is a copy being made? And if a copy really isn't being mad
82.
▲
by
fredmorcos
11y ago
I am genuinely wondering, what is (or could you point me to) the alternative with the following properties: - Compiled, type-safe and available for armv6. - Simple semantics: Rust and Ada are complex (C++-ish) and it gets hard to limit the
83.
▲
by
fredmorcos
11y ago
> Languages exist to help humans, not compilers. Until you realize that there is rarely any proper tooling around the language, which would be really helpful to humans! I can list clang and cppcheck on Linux, but nothing else so far. Som
84.
▲
by
fredmorcos
11y ago
Could you refer me to good modern resources? I am fluent in C programming and would really like to get started with Pascal and Object Pascal using FPC and Lazarus. I really think the language adds a lot of nice things compared to C without
85.
▲
by
fredmorcos
11y ago
And? What do I need to do to get that? :)
86.
▲
by
fredmorcos
11y ago
Could you refer me to a good introduction-intermediate level resource to learn modern Pascal? I currently work on my projects in C (quite fluent) and am constantly looking for a language that offers proper type safety, generics and a good m
87.
▲
by
fredmorcos
11y ago
<rant> This talk was amazing, I was overwhelmed by the amount of work going into C++. The problem is that it is already an abysmally complex language (to me) and it doesn't look like anything is getting simpler. It's as if y
88.
▲
by
fredmorcos
11y ago
I am currently working on a project that I will be using at home between my laptop and (not so powerful) Raspberry PI. I am well versed in C and this project is written in it, with very minimal dependencies (currently talloc, libbsd and mak
89.
▲
by
fredmorcos
11y ago
Addons.Mozilla.Org
90.
▲
by
fredmorcos
11y ago
> Reliability was favored over other things (for example recursion was discouraged). This sounds really strange to me. So may I ask why? I find that recursion - most of the time - helps shorten and clarify the code. Also, doesn't re
More ›