Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fredmorcos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
fredmorcos
9y ago
Okay, so I came from C and this part really put me off. Why? Because I like saying what I mean, and meaning what I say. Nothing hidden, nothing implicit. And C, as opposed to C++, does not allow you to say something you don't mean. Her
32.
▲
by
fredmorcos
9y ago
> This is a funny comment. Funny would be an understatement.
33.
▲
by
fredmorcos
9y ago
> Oh, did you believe all checks needed to make Rust memory safe is done at compile time? Well that's too bad. Actually yes. You can write all the programs you want without runtime borrow checking, but it's inconvenient. Runtim
34.
▲
by
fredmorcos
9y ago
So basically there's no speedup.
35.
▲
by
fredmorcos
9y ago
> But if it's for a program that will run 24/7 without human intervention then the code had better be plain, filled with the Unhappy Paths and boring. You mean like memory and resource management code? Oh wait.. you use a garba
36.
▲
by
fredmorcos
9y ago
> You're comment Need to thank you though, for adding value.
37.
▲
by
fredmorcos
9y ago
> Of course they are, its not your data that people don't like. They aren't downvoting the post, they are downvoting you. Exactly my point. > You have made no points today Sure I did. One of them is right in your comment :)
38.
▲
by
fredmorcos
9y ago
> But notice how you still post and the downvote brigade still obliterates your score. And even posts with actual data are being downvoted :) This only goes to show just how subjective and emotional this community has become, where every
39.
▲
by
fredmorcos
9y ago
> The claim is testable, in theory. It's not feasible to test in any practical way. You said it yourself: > If what you're trying to convey is that abstract reasoning based on fundamental principles without any consideration
40.
▲
by
fredmorcos
9y ago
So it's not what I said it's just how I said it.
41.
▲
by
fredmorcos
9y ago
Really? Because when it comes to something testable, like in this case either running a test of yes vs /dev/zero or looking at the source code of everything involved, there isn't any uncertainty that OP's statement is ob
42.
▲
by
fredmorcos
9y ago
OP's own comment shows that /dev/zero is faster: https://news.ycombinator.com/item?id=14544002
43.
▲
by
fredmorcos
9y ago
I responded in the terms you were using, hoping that it would become clearer to you. > It is not obviously incorrect that one time a Pinto beat a Tesla Yes it is, because OP forgot to mention the Tesla was dragging a bunch of rocks and t
44.
▲
by
fredmorcos
9y ago
> I really don't see how it's "obviously incorrect" when yes only needs to make system calls for writing, whereas /dev/zero needs to make system calls for both reading and writing. Furthermore you're as
45.
▲
by
fredmorcos
9y ago
> You're free to spout your vitriol just like the people downvoting you into oblivion are free to use their downvote ability to express their dislike with your attitude. Free speech means you're free to express your ideas, it d
46.
▲
by
fredmorcos
9y ago
> You admit that you don't have enough details to know exactly what they're referring to, yet you're confident enough to call their personal experience "obviously incorrect"? I didn't admit to not having eno
47.
▲
by
fredmorcos
9y ago
> in my experience, you're incorrect about the speed of reading from /dev/zero > Instead you picked a fight So I harshly pointed out that they're mistaken. Then it was pointed out to me that I wasn't being nic
48.
▲
by
fredmorcos
9y ago
openbsd.org
49.
▲
by
fredmorcos
9y ago
Absolutely, I once trivially proved a 1000,000 line implementation of return 0 to be correct. I don't know why all comments are bothered by how much overkill this yes implementation is. Maybe they don't hold 100,000 PhDs like we d
50.
▲
by
fredmorcos
10y ago
> even within enterprise apps. The epitomes of today's software. I really like how you used "even".
51.
▲
by
fredmorcos
10y ago
The Leopold FC750R(T) mechanical keyboard.
52.
▲
by
fredmorcos
10y ago
> And yet huge amounts of the "civilized world" are largely tied to the US. What? The USA is the least civilized country in the west and many parts of the east.
53.
▲
by
fredmorcos
10y ago
Big fancy words with zero content and a complete lack of arguments. > He says "most likely", but even this is not certain. That is the exact meaning of most likely. > Simply because most companies we know that have acted in
54.
▲
by
fredmorcos
10y ago
> char pointer array of size X called arr That does not even English.
55.
▲
by
fredmorcos
10y ago
'char ٭arr[X]' over '٭char[X] arr' What is this dirt after char and before char? This wouldn't even compile.
56.
▲
by
fredmorcos
10y ago
1. For "modern C" it would be K&R, then learn Haskell; especially take note of its type system and how you can apply what you learn there in C. 2. The C standard draft, your compiler(s') manual and man pages if you'r
57.
▲
by
fredmorcos
10y ago
The resources you refer to are abysmal, criticism is available and widespread online if you want details. You get proficient at C programming by properly understanding what you learn rather than spend countless hours in trial and error cycl
58.
▲
by
fredmorcos
10y ago
> That and of course spending countless hours debugging segfaults and memory leaks. Maybe that's because you think that: > the best way for learning C has been [0] Build Your Own Lisp and Zed Shaw's [1] Learn C The Hard Way.
59.
▲
by
fredmorcos
10y ago
No I don't think it does that either. What it dampens is the vibration caused in the steel plate due to the switches - aka the dreaded "ping" - bottoming out can be a factor of course, but so are switch springs moving back in
60.
▲
by
fredmorcos
10y ago
So? I adore the buttery smooth feeling and even more so the consistency of all switches: blues are super inconsistent in sound if you pay attention and browns feel like there's sand in the switches.
More ›