Better HN
topnewbestaskshowjobs
Log inSign up

PyComfy

91 karma · joined Jun 25, 2013 (13y ago) · 29 submissions

Submissions

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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/

comment 8y ago · link · parent

http://www.buildyourownlisp.com/

comment 8y ago · link · parent

Intel shall definitively be worried

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

comment 8y ago · link · parent

for linear algebra, may i add http://immersivemath.com/ila/index.html

comment 8y ago · link · parent

http://lodev.org/cgtutor/raycasting.html

~200 LOC

comment 8y ago · link · parent

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)

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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'])

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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...

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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 ...)

comment 8y ago · link · parent

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/

comment 8y ago · link · parent

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...

comment 8y ago · link · parent

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

comment 8y ago · link · parent

i don't like first/rest; car and cdr are about pairs, not about lists which is an implicit type (like strings in C).

comment 8y ago · link · parent

https://mbebenita.github.io/WasmExplorer/

The popcnt example is nice.

comment 9y ago · link · parent

also https://news.ycombinator.com/item?id=15053064

comment 9y ago · link · parent

Maybe the author is referring to the apparition of the homo erectus

comment 9y ago · link · parent

Have a look at the Chromium/Chrome's extension Just Read

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

comment 9y ago · link · parent

How long before Intel sues them?

comment 9y ago · link · parent

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-...

comment 9y ago · link · parent

Programming is one of the most difficult branches of applied mathematics; the poorer mathematicians had better remain pure mathematicians. Edsger W.Dijkstra, EWD498

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

You can integrate eclipse into emacs.

http://eclim.org/

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

comment 11y ago · link · parent

http://nuitka.net/pages/overview.html