News for hackers. Stuff that matters.

PyComfy

Re:Jeff Bezos' 127M sailing yacht has completed construction on Friday December 02, 2022 @12:18PM (#33833458)
From the same website:

Iconic yachts: On board Steve Jobs's Feadship superyacht Venus

https://www.boatinternational.com/yachts/editorial-features/...

Jobs died before it was finished.

34yo here, got called a cheater constantly, even by "top" players. Despite using a slow sensitivity myself, i would say that slow/fast sensitivity or wrist/arm aiming doesn't matter; I have seen plenty of people being very efficient with each technique. Just use what you are the most comfortable with. Something specific that tremendously helped me is putting fingers on each side of the mouse to lift it a little, the mouse is no more touching the mousepad, only your fingers, that way i can stop moving much more precisely. You no more think about aiming with the mouse but with your hand. When i need a slower sensitivity, i just lift the mouse higher. In the past i was playing with a CRT monitor at 160hz, now i am playing with a IPS monitor at 144hz (LG 27gl850-b); i have seen no difference in performing at KovaaK aim trainer[1]. Something that actually made a difference is where the sensor is located under the mouse. More the sensor was toward the back of the mouse (toward the wrist), more my aim was degrading. I also once tried a vertical mouse (Trust GXT 144) and did my best score ever in tracking, it was like holding a pen.

[1] https://store.steampowered.com/app/824270/KovaaKs/

Re:Intel Fights for Its Future on Monday March 12, 2018 @04:26AM (#16566798)
Intel shall definitively be worried

https://blog.cloudflare.com/arm-takes-wing/

Re:Ask HN: How to self-learn math? on Sunday March 11, 2018 @07:02AM (#16562538)
for linear algebra, may i add http://immersivemath.com/ila/index.html
Re:What Made Lisp Different (2002) on Monday February 19, 2018 @08:08AM (#16412605)
Is it really? If we go back to the roots, lisp is made of what John McCarthy calls the Primary S-Functions which are atom, cons, car, cdr, and eq (a.k.a =). Of these five, clojure only has two (atom and eq)
Does Graal support tail call optimization? It has been announced for hotspot +10 years ago but still not implemented as today.

edit: https://blogs.oracle.com/jrose/tail-calls-in-the-vm

Re:Python’s Weak Performance Matters on Thursday February 08, 2018 @01:54PM (#16334542)
ah sorry. i did

    import dis
    dis.dis("a = foo.bar(b)")
which gave

    1           0 LOAD_NAME                0 (foo)
                2 LOAD_ATTR                1 (bar)
                4 LOAD_NAME                2 (b)
                6 CALL_FUNCTION            1
                8 STORE_NAME               3 (a)
               10 LOAD_CONST               0 (None)
               12 RETURN_VALUE
Re:Python’s Weak Performance Matters on Wednesday February 07, 2018 @04:58AM (#16323374)
Naive interpretation of the bytecode (not even pre-decoded, just a switch statement). And almost everything is resolved in the dynamic environment. for example,

    a = foo.bar(b)
is actually

    ldict = locals()

    ldict['a'] = ldict['foo'].__getattribute__('bar')(ldict['b'])
Re:The Eve programming language project is winding down on Thursday January 25, 2018 @06:17AM (#16230140)
Interesting experiences beyond the command line are game development tools; Each iteration try to make the barrier between artists/content creators and programmers thinner.

https://www.youtube.com/watch?v=hXSKGYQvZsI

My dad knew someone who had a reinforcing steel bar stuck into the middle of his head; The bar entered is mouth and exited in the middle of the top of his skill. After that, the guy was noticeably smarter but also more irascible. My dad theory was that the healing of the brain raised the number of synapses and ridges[1] in the damaged part of the brain (which in this case was right between the two cerebral hemispheres). Albert Einstein's brain had four ridges instead of three.

[1] https://en.wikipedia.org/wiki/Gyrus

[2] https://en.wikipedia.org/wiki/Albert_Einstein%27s_brain#Newl...

Qualcomm Falkor (ARMv8 AArch64) vs Intel Broadwell and Skylake

https://blog.cloudflare.com/arm-takes-wing/

Multicore AVX512 lowers the frequency

The Qualcomm CPU only has the 128-bit wide NEON SIMD, while Broadwell has 256-bit wide AVX2, and Skylake has 512-bit wide AVX-512. This explains the huge lead Skylake has over both in single core performance. In the all-cores benchmark the Skylake lead lessens, because it has to lower the clock speed when executing AVX-512 workloads. When executing AVX-512 on all cores, the base frequency goes down to just 1.4GHz---keep that in mind if you are mixing AVX-512 and other code.

Re:Linux-insides: Linux kernel load address randomization on Sunday January 07, 2018 @11:05AM (#16091280)
https://thehackernews.com/2017/02/bypass-aslr-browser-javasc...

http://www.cs.vu.nl/~herbertb/download/papers/anc_ndss17.pdf

XI. CONCLUSIONS

In this paper, we described how ASLR is fundamentally insecure on modern architectures. Our attack relies on the interplay between the MMU and the caches during virtual to physical address translation—core hardware behavior that is central to efficient code execution on modern CPUs. The underlying problem is that the complex nature of modern microarchitectures allows attackers with knowledge of the architecture to craft a carefully chosen series of memory accesses which manifest timing differences that disclose what memory is accessed where and to infer all the bits that make up the address. Unfortunately, these timing differences are fundamental and reflect the way caches optimize accesses in the memory hierarchy. The conclusion is that such caching behavior and strong address space randomization are mutually exclusive. Because of the importance of the caching hierarchy for the overall system performance, all fixes are likely to be too costly to be practical. Moreover, even if mitigations are possible in hardware, such as separate cache for page tables, the problems may well resurface in software. We hence recommend ASLR to no longer be trusted as a first line of defense against memory error attacks and for future defenses not to rely on it as a pivotal building block.

I always understood it as this

Transpilation: text to text (eg: Scheme to C)

Compilation: anything to anything but usually it implies text to binary code

transpilation is compilation but compilation is not necessary transpilation (the all squares are rectangles but all rectangles ...)

Re:Microprocessor Design (2017) on Thursday January 04, 2018 @10:42AM (#16071136)
haven't played it but there is MHRD on steam which is a game about designing a CPU.

http://store.steampowered.com/app/576030/MHRD/

The source code of the kernel of Windows server 2003 and Windows XP Pro x64 was available to universities for education purposes. Someone leaked the code on internet years ago which is now everywhere on github (search WRK-v1.2). The code doesn't include the ntfs module.

https://web.archive.org/web/20120412091908/http://www.facult...

I have ditched google in favor of Searx, a metasearch engine that anyone can host

https://asciimoo.github.io/searx/

https://searx.me/

https://github.com/asciimoo/searx/wiki/Searx-instances

Re:The Origin of CAR and CDR in Lisp (2005) on Tuesday December 26, 2017 @03:01PM (#16010615)
i don't like first/rest; car and cdr are about pairs, not about lists which is an implicit type (like strings in C).
Re:Web Assembly now supported across all browsers on Monday December 04, 2017 @06:01AM (#15843028)
Re:A history of branch prediction on Wednesday August 23, 2017 @05:40AM (#15079956)
Maybe the author is referring to the apparition of the homo erectus
Re:A history of branch prediction on Wednesday August 23, 2017 @05:19AM (#15079845)
Have a look at the Chromium/Chrome's extension Just Read

before / after https://i.imgur.com/Ihy5wQh.png

Re:Exagear: Run x86 Applications on Raspberry Pi on Wednesday August 16, 2017 @10:14AM (#15027598)
How long before Intel sues them?
Re:High End CPUs – Intel vs. AMD on Friday August 11, 2017 @07:48AM (#14988651)
He sure seems to be very talented but Ryzen also gained from a few important patents being finally expired (the one about SMT, for example)

https://scalibq.wordpress.com/2012/02/14/the-myth-of-cmt-clu...

http://www.anandtech.com/show/11170/the-amd-zen-and-ryzen-7-...

Re:On managing outrage in Silicon Valley on Monday August 07, 2017 @06:24PM (#14951768)
Programming is one of the most difficult branches of applied mathematics; the poorer mathematicians had better remain pure mathematicians. Edsger W.Dijkstra, EWD498
Re:How JavaScript closures work under the hood on Sunday September 06, 2015 @01:54PM (#10178403)
A closure is a procedure that captures its free variables where those free variables are resolved in the lexical context.

A lambda procedure is just an anonymous procedure.

A lambda is not necessary a closure and a closure is not necessary a lambda.

You can integrate eclipse into emacs.

http://eclim.org/

http://www.skybert.net/emacs/java/

Re:Go enjoy Python3 on Thursday August 27, 2015 @12:44PM (#10130515)