Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ggrrhh_ta
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
ggrrhh_ta
5y ago
of course... I never thought that text files to reduce file sizes is sane... Maybe because I don't want to write in a wishy-washy way as if I was stepping into a mine field I came across like that [look at my first comment... I think I
62.
▲
by
ggrrhh_ta
5y ago
From the replies I see that the focus is mostly on embedded and/or consumer. I understand the point then.
63.
▲
by
ggrrhh_ta
5y ago
In my original comment to which you replied I wrote "The best of both worlds is to have a text representation coupled with one-to-one binary encoding;" for the reasons I wrote in that comment. I am aware of all your points on ser&
64.
▲
by
ggrrhh_ta
5y ago
there are still many HPC big-endian systems running... Maybe in 20 years everything will be little-endian.
65.
▲
by
ggrrhh_ta
5y ago
I understand all your points (I have implemented all sort of parsers, even in mmaped memory regions, jumped around text parsers to not look for '\0' or do in-place changes, etc...) and I agree with them. I think text is a good for
66.
▲
by
ggrrhh_ta
5y ago
When the text file is a source of data rather than a reflection of the data that you want to operate on, and particularly, when a lot of that data has been introduced by humans (or based on human input) in some suitable units, it very often
67.
▲
by
ggrrhh_ta
5y ago
I know that it is counterintuitive, but storing doubles in binary format can take (for many use cases) much more space than storing the text. Each double, uncompressed is 8 bytes, 3.2e-3 is only 6 bytes, a 1 digit integer is 1 byte, a 5 dig
68.
▲
by
ggrrhh_ta
5y ago
It's a pity, also, some other limitations (for example with strings in HDF5 files, etc.). The format itself is to me, the closest to "the ultimate format", however, yes, library/tools support is a bit disappointing and i
69.
▲
by
ggrrhh_ta
5y ago
Are you saying that you get better performance vs. power with ARMs than with POWERs?
70.
▲
by
ggrrhh_ta
5y ago
The coordination and most of the infrastructure (except for archival) is actually also performed by us peer reviewers... We set up the conference's websites, we find the committees, the reviewers, we distribute the work, we do the revi
71.
▲
by
ggrrhh_ta
5y ago
I mean... I had not even yet heard the talk that others have pointed you to (from Armin Ronacher); after having gone several times down the rabbit hole of looking at what the interpreter is doing in specific scenarios (and I like lots of th
72.
▲
by
ggrrhh_ta
5y ago
Sorry, but "names aren't unique" does not even begin to define uniqueness - "from ... import X" imports and X; great; should it replace an "X" in a different encoding in the local namespace, or not? I can
73.
▲
by
ggrrhh_ta
5y ago
I guess you are trying to imply that those documents cover a formal-enough description of what the execution and data model is. Well, even for the section "names" it just forgets to say if imported and non-imported names all share
74.
▲
by
ggrrhh_ta
5y ago
that would be great :-)
75.
▲
by
ggrrhh_ta
5y ago
the C code looks really nice and very generic, and, it being a generator... would it be too difficult to make use of those CPU instructions during the code generation? (then it could even create architecture-specific code, which looks like
76.
▲
by
ggrrhh_ta
5y ago
In fact, thanks for the source document; it is much more interesting than what has surfaced in the media. - about the reply button, it sometimes happens to me also, maybe a delay or something like that?
77.
▲
by
ggrrhh_ta
5y ago
I just did; I was replying to your exact question in the comment. Questions like "Instagram can make me laugh when I am feeling down" do not look like the kind of questions that a good independently designed survey would do; in ge
78.
▲
by
ggrrhh_ta
5y ago
Of course... It has been taught in the most basic courses to design questionnaires since... forever... There is a whole science around that. Not only for mental health. Carefully identifying the best proxies and looking at the internal cons
79.
▲
by
ggrrhh_ta
5y ago
One can legitimately (within the set of rules we give ourselves as a society) possess and earn a lot of wealth without actually creating most of that value. If all the employees - en masse - could not go any more to work, would the company
80.
▲
by
ggrrhh_ta
5y ago
oh, I forgot to say, in some countries you even received them already filled in.
81.
▲
by
ggrrhh_ta
5y ago
In most countries in Europe (not only in the EU) you can download the official software from the corresponding tax authority. In many places you don't even need to send hardcopies of most documents - at most some printed page with a co
82.
▲
by
ggrrhh_ta
5y ago
sometimes utter exhaustion helps you have a wonderful sleep that really makes you feel rested (only sometimes).
83.
▲
by
ggrrhh_ta
5y ago
I see.
84.
▲
by
ggrrhh_ta
5y ago
There is a "no right turn" sign just before it decides to turn right. Could that have anything to do with it?
85.
▲
by
ggrrhh_ta
5y ago
Most people do not give a second thought to employees having a minimum set of rights and obligations even if they work for a private company. I think it is not difficult to consider any contributor in a (virtual) Commons to be subject not o
86.
▲
by
ggrrhh_ta
5y ago
Underrated comment. So easy to point out what we think others are doing wrong when we are a result of those same actions and within our own lifetimes.
87.
▲
by
ggrrhh_ta
5y ago
Which European country are you referring to?
88.
▲
by
ggrrhh_ta
5y ago
I guess I am getting old... In the "old" times, computers and software came with manuals. A common appendix of those manuals were encoding tables, i.e., every column was an encoding and every row a codepoint. Sometimes you had to
89.
▲
by
ggrrhh_ta
5y ago
That is why I put the word "general"; C could be a dict, etc. I know that there are better ways for specific types, but the following code is a snippet that works for fast prototyping and I have found it to be idiomatic in VB for
90.
▲
by
ggrrhh_ta
5y ago
That particular piece of code is too verbose and I believe will not even be particularly more efficient (even for very large arrays); BUT, the idea behind it, i.e., recklessly loop and just catch the exception is the most idiomatic way of b
More ›