Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zvrba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
721.
▲
by
zvrba
13y ago
The "Autumn color swamp" doesn't "work" for me. Sometimes the background appears to move, but most of the time, everything appears still..
722.
▲
by
zvrba
14y ago
In this day and age, you use PCs to develop games for C64. You're able to do stuff you couldn't before because now you have the capacity to precompute an compress a bunch of tables and such. And you use modern developer tools (assemblers, e
723.
▲
by
zvrba
14y ago
> Scheme, Common Lisp and Clojure emphasize very different concepts, As I discovered when I was looking for TAGBODY in scheme (don't ask; it seemed to be the most convenient way of solving the problem). Then I realized I didn't need it,
724.
▲
by
zvrba
14y ago
Oh, I've mixed up order of arguments to if. The refactoring problem could have been solved in a more practical way (though more difficult implementation-wise) by implicit versioning of symbol definitions. Plus, I find that stack effect decl
725.
▲
by
zvrba
14y ago
Having been a long-time user of HP series of calculators (HP48g, HP50g), postfix notation is not foreign to me. So I tried Factor, and gave up on it for several reasons. First, there were obligatory stack effect declarations on each word. W
726.
▲
by
zvrba
14y ago
But they are getting exponentially harder to make.
727.
▲
by
zvrba
14y ago
I thought that classes+methods were meant to transform an object from one consistent state to another consistent state. So why is immutability suddenly a big deal? (I.e., if it's a big deal, may it be because encapsulation is lacking? IOW,
728.
▲
by
zvrba
14y ago
I have also Asus transformer prime. I use it for reading PDFs; I also have a Kindle app; then there's streaming music, watching movies, and playing games. Also useful for occasional web browsing (e.g., to look up something while reading). I
729.
▲
by
zvrba
14y ago
Wow, the list of modules has gotten very respectable since the first time I heard about Julia. I have one concern though: how well-tested are they? There's one really prominent contributor (John Myles White), who has written a rather large
730.
▲
by
zvrba
14y ago
There's Peter Gutmann's cryptlib, which also supports OpenPGP (among a huge number of other things). http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ It's also has a dual license.
731.
▲
by
zvrba
14y ago
I have played with the idea of making a GPG applet for the JavaCard platform. It's rather easy (I have a half-done prototype somewhere that used to work with an old version of GnuPG), but the lack of market didn't make it worthwhile pursuin
732.
▲
by
zvrba
14y ago
Structured programming with goto statements by Knuth is a nice paper on the topic. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.103....
733.
▲
by
zvrba
14y ago
> Carry: "if (x + y < x)" compiles to code that uses the carry flag. If x and y are signed, you're relying on UB, which the compiler might optimize out. > "if ((int32_t) (x + y) < 0)" compiles to code that uses the overflow
734.
▲
by
zvrba
14y ago
> "The problem this has is that the number 4 might be stored as 3.999999992 and if you cast that to an int naively you could end up with the integer value being 3 rather than 4. " No it might not. The author completely misunderstands FP
735.
▲
by
zvrba
14y ago
Dude, YOU have no idea what you're talking about. I'm talking about C, the language, not what one particular implementation gives you. AFAIK, C11 doesn't have a 128-bit int type, so how do you get the full result of 64x64 bit multiply? How
736.
▲
by
zvrba
14y ago
This shows that C and C++ are getting more and more out of sync with modern CPUs. Outdated if you want. Modern CPUs have wide multiplies (32x32->64), wide divides (64/32->32), a whole bunch of useful arithmetic status flags, yet C
737.
▲
by
zvrba
14y ago
> To the extent that Aaron couldn’t live even with the possibility of the penalties that he might have received at the end of the day, then maybe he should not have been committing acts of civil disobedience in the first place.
738.
▲
by
zvrba
14y ago
Does it support REPL for various interpreters? (emacs has ESS for R, SLIME for LISP, surely others.) I couldn't find anything about this in the docs (just quick browsing) and nothing was apparent in the menus after I've tried to install it.
739.
▲
by
zvrba
14y ago
I also do think that his acts are a consequence of his sincere beliefs and feeling of being powerless and censored [0]. And this is where the issue of being insane gets shady. A person acts from their beliefs, and the question is: how devia
740.
▲
by
zvrba
14y ago
He got "forvaring": a sentence with nominal duration, but which can be extended indefinitely [5 years at a time] if, after the expiration of the current period, the danger of repeating the offence still exists [i.e., the offender is still d
741.
▲
by
zvrba
14y ago
> I'm interested in hearing about alternative memory models that are an improvement; Intel 80286 introduced segmented protected mode where you had the option of placing each of programs objects (struct, array, string, even a single vari
742.
▲
by
zvrba
14y ago
"Undefined behavior" in C is much more insidious than merely "unspecified" or "unpredictable". All those security holes and exploits resulting from buffer overflows, stack overwrites, heap spraying, etc. are manifestations of UB made possib
743.
▲
by
zvrba
14y ago
> OO buzzwords and programming fads that come and go in "higher-level languages" simply end up making a bigger mess of things as a project grows No, it's not the language features which make a mess. It's people lacking judgement and com
744.
▲
by
zvrba
14y ago
Oh, spare me, high-level language that can't even do arithmetic properly. It's anything but "damn successful as an abstraction over the underlying machine". Case in point: Whenever you're doing signed arithmetic, and it overflows, you're
745.
▲
by
zvrba
14y ago
Haskell helps you develop your imagination: > I have no idea what the word "boo" is supposed to mean when used as a function name. But I can be almost certain what this "boo" does. It takes a map that has Integer keys and String values,
746.
▲
by
zvrba
14y ago
> Unfortunately the amount of time it takes to get a feature like this into an Intel CPU is a bit mind boggling. I think this is an unfair feature comparison. Zeroing L1 cache is way simpler operation than TM which has been designed to
747.
▲
by
zvrba
14y ago
I think you've forgotten a leading zero ;)
748.
▲
by
zvrba
14y ago
And for doing harm. (re macro viruses for MS Office).
749.
▲
by
zvrba
14y ago
... and the compile-times :S
750.
▲
by
zvrba
14y ago
> They tend to happen because someone is trying to address a personal need This I understand and do not contend. > and decides to share their solution with the world This is marketing, not necessarily for the money. It may be for re
More ›