News for hackers. Stuff that matters.

aleksv

Please retest lzav 2.9 on enwik9-should be better.
Preserving 12-bit resolution is "Pro" HDR. Original Lanczos offers 8-bits at best.
You may check lzav 1.4 out, all-zeros runs should compress twice better.
Ah, yes, I'll recheck the constraints regarding such all-zero data, easy to fix.
Speeds depend on data as well. Try Silesia dataset first.
Make sure you are using -O3 compiler option, and are not occasionally compiling into x86_64 code which runs via Rosetta2.
Re:Ask HN: Areas in Programming to Avoid on Monday June 21, 2021 @03:56AM (#27577177)
Yes, to some degree, I have problems, but not too severe. The problem is you have to think logically, this puts your mind into "black or white" mode, and you have to find strength in yourself not to apply it to all surrounding life. There's no way to predict which technology will last longer. I think C will last indefinitely, because it's an "optimal" close-to-machine language. C++ is much better at coding large systems, but you have to be very smart at handling it, it has a lot of "hype-driven" innovations, not necessarily needed. Web is a very "interpreter" driven market, so "interpreters" will born and fade indefinitely, you can't predict it. Too many ways to do the same thing, basically.
Re:(Unlimited) Energy from Space: A Schematic on Monday June 21, 2021 @01:13AM (#27576509)
I'll say more about this system. As such "opposition", however small it is (no reason to talk about how much energy is lost in system), creates a "paradox" between consuming and generating, the "physics" as a system of laws experiences "stress" and tries to solve the problem by expending energy. Same happens with a human when in tries to solve an untackable, but utterly important, problem-he experiences a mental breakdown. The space may have infinite energy at its base. It just strives to keep it in balance, hence "unbreakable" law of conservation of energy exists. I do not argue with "newtonian age" laws of physics, I just propose a way to put them out of balance. I succeeded at that in my opinion. Videos can be faked, so absolutely no reason to record it. You can see a similar speaker arrangement in any "surround" consumer sound system. Nothing new, except the way to arrange and operate the sound system.
Re:Ask HN: Areas in Programming to Avoid on Monday June 21, 2021 @12:45AM (#27576391)
You can only create "bad" code in programming, there's nothing bad in programming I know of. Ah, don't forget that as per GitHub statistics, programmers usually have psycho-neurological problems, it's a hard thing for the mind to stay in balance.
Re:(Unlimited) Energy from Space: A Schematic on Monday June 21, 2021 @12:42AM (#27576377)
Which problems do you see in the explanation and graph? It's as easy as it can be, totally nothing fancy, you can create the system out of scrap basically.

Note that I'm not an electrical engineer and can't write diagrams. I do not have "friends" in this area.

Re:Ask HN: Areas in Programming to Avoid on Sunday June 20, 2021 @09:44AM (#27569890)
For science, Python probably, it gained much tracktion in scientific community in the recent couple of years. But it's only a subset of "programming". C-like languages usually offer to become full-time programmer. In science you may need to read books and papers more often than to code I think.
Re:Ask HN: Areas in Programming to Avoid on Sunday June 20, 2021 @05:07AM (#27568362)
Yes, I understand. Python can also be compiled to native code, if its developers decide to go that way. PHP8 is JIT compiled by now. It's more about being "closer to the machine". You can solve much more practical coding problems being "closer to the machine". Just check which class of specialists use Lisp/Python, compare to C/C++. I guess the initial question is "how to be relevant for a longer time on this market". Native code is a very big market, considering "IOT", much like website dev market. Can't say the same about Lisp and Python.
Re:Ask HN: Areas in Programming to Avoid on Sunday June 20, 2021 @02:28AM (#27567671)
Oh yea, to me Lisp looks like Python, that's far from C, and usually it's a "interpreted" language, far from machine. Java and PHP is an example of interpreted language that's close to C, you can easily switch your mind from Java/PHP to "big boys" C/C++ if needed, and back. C/C++ is best paid "for hire" language, for a reason.
Re:(Unlimited) Energy from Space: A Schematic on Saturday June 19, 2021 @10:33PM (#27566602)
Thanks for the lengthy reply.

As you can see, you are making a lot of shaky assumptions about physics of the process. That's good, you can't tackle it! The problem is, video is not a proof, you can find a lot of videos of "free" energy generation that are fake. Idiots created a situation where nobody believes this. It's not a violation of conservation of energy, it's a crack in physics understanding itself. I have not seen anybody experimenting with forcing physics "collapse" itself. I'm probably the first one to do it. You can't find a better system than these simple loudspeakers to try oppose physics to physics.

Re:(Unlimited) Energy from Space: A Schematic on Saturday June 19, 2021 @02:45PM (#27563176)
Yes, that's expected. But it programs you to tackle a problem: energy consumption countered by energy generation. Can you tackle it?
Re:Ask HN: Areas in Programming to Avoid on Saturday June 19, 2021 @01:17PM (#27562329)
Anything far from C. Anything related to AI-driven mechanism operation: you'll be put in jail if it kills a human. Start your own software business, learn marketing and design, invent a solution to some problem, and become best in that. The other way is to becom a "dev" perpetually fulfilling some capitalist's dream of becoming rich and famous.
Re:Prvhash (Codename Gradilac) intermediate-final v3.30 released on Wednesday November 18, 2020 @01:53AM (#25133899)
PRVHASH is a hash function that generates a uniform pseudo-random number sequence derived from the message. PRVHASH is conceptually similar (in the sense of using a pseudo-random number sequence as a hash) to keccak and RadioGatun schemes, but is a completely different implementation of such concept. PRVHASH is both a "randomness extractor" and an "extendable-output function" (XOF), however the resulting hashes have security level that corresponds to the hash length specification: the collision resistance is equal to 2^(n/2) while the preimage resistance is equal to 2^n, where n is the resulting hash length in bits.
Re:Sinewave oscillator-based PRNG discovered on Wednesday September 16, 2020 @05:30PM (#24498205)
Basically, every point on a sinewave is a random number.
PRVHASH can be also used as a very efficient general-purpose PRNG with an external entropy source injections (like how the /dev/urandom works on Unix): the 64-bit hash value can be used as a pseudo-random number, spliced into 8 output bytes each round: this was tested, and works well when 8-bit true entropy injections are done inbetween 8 to 2048 generated random bytes (delay is also obtained via entropy source). An example generator is implemented in the prvrng.h file: simply call the prvrng_test64() function. The prvrng_test32() implements the same technique, but with 32-bit hashes, for comparison purposes.

prvrng_gen64()-based generator passes PractRand 8 TB threshold, without or with only a few "unusual" evaluations. Which suggests it's the first working universal TRNG in the world. This claim requires a lot more evaluations from independent researchers.

Re:New Level 7 Hash Function: Prvhash on Tuesday August 18, 2020 @11:37AM (#24199964)
There are 1-5 levels. Level 7 is a marketing trick.
Re:New Level 7 Hash Function: Prvhash on Tuesday August 18, 2020 @11:35AM (#24199948)
This is excellent! (not in "pervert" sense). "pervee" is "first" in Russian.
Re:New Level 7 Hash Function: Prvhash on Monday August 17, 2020 @09:48PM (#24194483)
PRVHASH is a hash function that generates a pseudo-random number sequence derived from the message. Resulting hashes closely follow normal distribution of bit frequency. PRVHASH is conceptually similar to keccak scheme, but is a completely different implementation of this concept.

PRVHASH can generate 32- to unlimited-bit hashes, yielding hashes of roughly equal quality independent of the chosen hash length. PRVHASH is based on 64-bit math. Hashes beyond 256-bits still require extensive testing, but, for example, any 32-bit element extracted from 512- or 2048-bit resulting hash is as collision resistant as just a 32-bit hash. The use of the function beyond 512-bit hashes is easily possible, but has to be statistically tested. The extension of the hash function to 128-bit math also works well: this increases its properties exponentially.

Older »