Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enriquto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
enriquto
2y ago
mini_httpd -p 8080 # and no need to install a whole python interpreter
92.
▲
by
enriquto
2y ago
if it's your software you can simply sell them a proprietary license separately
93.
▲
by
enriquto
2y ago
> The second and third books leave something to be desired Also got this feeling on the first read... but now I remember them very fondly! I like to think that this trilogy happens in the same universe as Dune, being a prequel to the ev
94.
▲
by
enriquto
2y ago
Sorry man, I was just trying to spew some harmless banter.
95.
▲
by
enriquto
2y ago
> And your saying "everything is a word" for assembler is just plain wrong. I also love x87 registers, but they are becoming rarer these days.
96.
▲
by
enriquto
2y ago
As somebody who is afraid of types (and also, who hates types, because we all hate what we fear), may my point of view serve as balance: you don't need a type system if everything is of the same type. Programming in a type-less style
97.
▲
by
enriquto
2y ago
you can put them in the same repository, if that is your thing. If you put the build files in a .builds/ folder at the root of your repository, they will be run upon each commit. Just like in github or gitlab. You are just not forced
98.
▲
by
enriquto
2y ago
I rarely ^U nowadays, but your site was so clean that I couldn't resist! Just as a side note : when writing html5 by hand, you can use the full power of the language, most notably optional tags (no need to write html, body, etc) and au
99.
▲
by
enriquto
2y ago
The html source is beautiful, did you write it by hand?
100.
▲
by
enriquto
2y ago
Ackshually, it has nothing to do with the C language. It's an implementation choice by some compilers. A conforming implementation could give you the whole RAM and swap to your stack.
101.
▲
by
enriquto
2y ago
Hahaha! I'll start calling Rust "Zoomer Ada"
102.
▲
by
enriquto
2y ago
Ultimately, objects are always drawn in the screen by setting pixels into it. Plotting a point by setting a pixel is entirely reasonable, and can be indeed done directly, in realtime, for several millions of points. I just tested the C p
103.
▲
by
enriquto
2y ago
Of course you can! The screen of my laptop has nearly 3 million points (2160x1350) and I can do a fair amount of processing on each of its pixels, with one CPU thread, and still be above 30fps. A naive plotting method that loops over all t
104.
▲
by
enriquto
2y ago
In theory, this is a compiler implementation detail. The compiler may chose to put large stacks in the heap, or to not even use a stack/heap system at all. The semantics of the language are independent of that. In practice, stack siz
105.
▲
by
enriquto
2y ago
kids these days... in my time, we used to know each other's IP addresses and just used netcat
106.
▲
by
enriquto
2y ago
> Try doing C with a garbage collector ... it's very liberating. > Do `#include <gc.h>` then just use `GC_malloc()` instead of `malloc()` and never free. Even more liberating (and dangerous!): do not even malloc, just use v
107.
▲
by
enriquto
2y ago
it's a fairly common usage in numeric computing. If you read, for example, the wikipedia entries for "computational fluid dynamics" you'll see that they consistently speak of "codes" when referring to programs
108.
▲
by
enriquto
2y ago
But why do you want to fit the whole dataset in memory? If the dataset is stored in a tiled and multi-scaled representation you need to only grab the part of it that is needed to fit your screen (which is a constant , small amount of data
109.
▲
by
enriquto
2y ago
>I will work on adding somewhere in our docs some metrics for this kind of thing (I think it could be helpful for many). Certainly! A comparison of performance with specialized tools for large point clouds would be very interesting (lik
110.
▲
by
enriquto
2y ago
That would be preposterous if it wasn't so hilariously false: > These days, having a GPU is practically a prerequisite to doing science, and visualization is no exception. It becomes really funny when they go on to this, as if it wa
111.
▲
by
enriquto
2y ago
I wonder how are the large fonts rendered. Are they sixel images or what?
112.
▲
by
enriquto
2y ago
but aren't you are just describing another convection cell in the same frog-boiling saucepan?
113.
▲
by
enriquto
2y ago
As a graybeard with teenage kids, this is terribly disheartening... I would rather be cannon fodder than my sons. After all, I have already reproduced and I have taught hundreds of youngsters all what I knew. I would gladly accept that my
114.
▲
by
enriquto
2y ago
> Why would you care what it's written in at all Well, actually, it was the OP who said, literally, that "the most interesting thing about Fish (...) will be that it is now written in Rust"
115.
▲
by
enriquto
2y ago
quadratic dependency encouragement
116.
▲
by
enriquto
2y ago
> In your car There you said it! But, if you cannot control the software, then it's not your hardware.
117.
▲
by
enriquto
2y ago
but it's easier to write this "parser" than to call any json library
118.
▲
by
enriquto
2y ago
> How does your approach handle keys with spaces? It doesn't, and that's OK; not a big deal. JSON has no support for standard floating-point numbers, and that's a bigger problem for me. I can easily change my keys to make
119.
▲
by
enriquto
2y ago
> 95% of the time can be thought of as map<string, JsonObject> But for that case you don't need json. A dockerfile-like text file with lines of the form STRING other stuff is trivial to parse in any language and wit
120.
▲
by
enriquto
2y ago
sort of agree... but only because you can gron it to remove the madness and then grep/cut/sed/awk the output like a human being. JSON is just a modern flavor of XML, and in a few years we'll likely mock both of them as i
More ›