Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kreco
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
kreco
2y ago
I'm totally fine with enforcing that int8_t == char == 8-bits, however I'm not sure about spreading the misconception that a byte is 8-bits. A byte with 8-bits is called an octet. At the same time, a `byte` is already an "a
122.
▲
by
kreco
2y ago
> The thing is, why 10? Why not 9 or 11? The code says "if you see 'string of newline character', output 'newline character'". How does the compiler know what a newline character is? Its code in turn just sa
123.
▲
by
kreco
3y ago
> Where the big studios like Pixar uses CPUs (not GPUs) to render their movies due to the cost/perf (and access to larger amounts of RAM). I wonder if (or when) this will change once integrated GPUs become "mainstream", th
124.
▲
by
kreco
3y ago
> // 'BufferSize' is an object defined as a synonym for the value 1'000'000 > BufferSize: i32 == 1'000'000; So "value : i32 = 10" is variable, but "value : i32 == 10" is a c
125.
▲
by
kreco
3y ago
Note that the "<<" operator for std::cout is not related to the language itself but related to the standard library.
126.
▲
by
kreco
3y ago
> Because ++ and -- always have in-place update semantics, we never need to remember "use prefix ++/-- unless you need a copy of the old value." If you do need a copy of the old value, just take the copy before calling ++&
127.
▲
by
kreco
3y ago
> That was expensive. Really expensive. At somewhere around $15-20 dollar for an Album, buying an Album a week took up about all my allowance - and most of the measly income from side jobs I've made as an adolescent. Interestingly,
128.
▲
by
kreco
3y ago
Interestingly I find the examples very difficult to understand. I replaced the table "raining? umbrella? faithful?" with "raining? umbrella? dry?". Then made sense in my head only if I write something like this: dry = um
129.
▲
by
kreco
3y ago
Is it less "safe" than your own restricted definition then... maybe?
130.
▲
by
kreco
3y ago
I love it ! No extra mental process to really know if a brace is a brace of a bracket.
131.
▲
by
kreco
3y ago
At this point isn't the lesson to use serverless stack for fast iterative processes then use a custom solution once you know exactly what you want? I have 0 experience with serverless/cloud. Just a thought.
132.
▲
by
kreco
4y ago
For you Janet is obvious or non obvious?
133.
▲
by
kreco
4y ago
I did not know package managers relied on Github, this is the most unwise thing to do from a package manager perspective. Anyone could just change username/organization and break thousands/millions of build.
134.
▲
by
kreco
4y ago
It looks strange to use "computational time" in order to slow down the server. In such scenario you are describing I believe an explicit delay like "thread_or_task.sleep()" would be even better? I believe that the "
135.
▲
by
kreco
4y ago
> Everything i have heard about this makes it sound more like a milestone than a breakthrough. I guess milestone assume you already know you will reach it. I also think breakthrough as a lot of meaning and people would assume there is a
136.
▲
by
kreco
4y ago
While I understand and agree to the solution you provide, I would dare to call it a workaround. Since Github default culture is to use issues in a certain way, in which the maintainers are actually the bottleneck, most people will keep usin
137.
▲
by
kreco
4y ago
The main issue mentioned in the article is to use Github. The "issues" on Github could be "bugs", "feature request" or even "improvement" (it could be anything actually). If I were to maintain a proje
138.
▲
by
kreco
4y ago
> unknown content Can't you see it will be the best event ever for the same reason that this post is on the front page of HN? It's about Rust.
139.
▲
by
kreco
4y ago
Not sure what is there intention. Usually it costs a lot because organizers expect companies to pay their staff to go there and "learn" stuff. Milking people using rust professionally does not sound profitable. It's also hard
140.
▲
by
kreco
4y ago
Especially because it also means that potential OnlyFans competitor will come across the same fate. So there is no need to worry about them (unless the owners intended to get massive cash asap).
141.
▲
by
kreco
4y ago
It's all of them. A transpiler is still a compiler. A front-end compiles to an intermediate state (C99 in this case).
142.
▲
by
kreco
4y ago
Nothing beats the simplicity of FAT. Btrfs has a lot of bugs while being active for a long time. This is mostly related to its complexity. If I'm going to implement a filesystem for a custom hardware I would definitely not chose btrfs.
143.
▲
by
kreco
4y ago
You also need to consider all the future signs as well in the equation.
144.
▲
by
kreco
4y ago
Yeah, it's close to an empty project. But since it's web-dev related and rust-dev related it deserves the front page on Hacker News...
145.
▲
by
kreco
4y ago
Is this sarcastic? I mean, the versioning part sounds good, but JSON like request? I do believe people don't know what inefficient/efficient a system can be depending on the data format they are using.
146.
▲
by
kreco
6y ago
Th worst part is that if say "You could have both, speed and gifs" no one would "believe" it could happen.
147.
▲
by
kreco
6y ago
I assume the point would be to be aware of it beforehand.
148.
▲
by
kreco
6y ago
Yeah, that's actually how any C FFI bindings should be. Ans also, that's the strength of C and its simple ABI.
149.
▲
by
kreco
6y ago
Sorry I won't be able to give you a lot of feedback. As a matter or preference I really like colons and semi-colons. That said your work is amazing. This is a true example of simplicity. I don't think most of people would get how
150.
▲
by
kreco
6y ago
> Also, we used to publish benchmarks. These inevitably did not produce illumination, but long ripostes from people arguing that the benchmark was unfair, inaccurate, nobody would write code that way, we sabotaged other languages, etc. O
More ›