HNHacker News
TopNewBestAskShowJobs

ingenter

601 karma · joined September 9, 2013

submissionscomments
ingenter··on My url isn't your url
And how would you deal with an URL to the HTML itself?
ingenter··on Yes, All DRM
Is DRM required for streaming services you describe to exist?
ingenter··on Distributed systems in an alternative universe
I've been thinking about a hypothetical CPU that has explicit cache and RAM access. It's pretty close to OP's alternative universe.

What would happen is people would write wrappers for such a system so that you could think about your RAM in a linear way. And you're now doing what a Haswell CPU does.

Of course, this approach has advantages for specific tasks Let's say, we want to implement constant-timing crypto primitive and put all of the required data in cache. We can now do it.

This would also help with implementing an efficient VM, OS primitives, or many other interesting things. But it would not change the way people write C/Rust/JS/Python.

Of course, it's a useful model for your performance, and you can now think about cache misses as "internet download", and synchronization primitives as "LAN share", etc, etc.

And, of course:

http://blog.memsql.com/cache-is-the-new-ram/

ingenter··on Can planes be tied in knots in higher dimensions the way lines can in 3D?
In a 4-dimensional space, 1-dimensional knots are trivially untied, because you can pass strings through strings by "lifting" the string into fourth dimension (strings can "pass through" each other).
ingenter··on Can planes be tied in knots in higher dimensions the way lines can in 3D?
As a matter of fact, yes, planes can be tied in knots.

Here's a page from "Knotted Surfaces and Their Diagrams" by J. Scott Carter: http://i.imgur.com/2rIKJ8E.png

ingenter··on What I learned from suffering my first and last XSS attack
A much better way to mitigate XSS/HTML injections is not using string functions to generate HTML.

CSP prevents an attacker from executing scripts, but the attacker can still corrupt your HTML.

ingenter··on Physicists Detect Gravitational Waves, Proving Einstein Right
No, because "warp drives" in the sense of "Alcubierre drive" requires negative mass, which is not observed anywhere.
ingenter··on Virtual Memory with 256 Bytes of RAM
I must say that I find the lines confusing. I don't understand what they mean.

I think it would be nice to have a complete memory lookup written down step by step in text form. e.g.

    we're trying to look up the address 0xAA in virtual memory,
    the current page table pointer is 0xBB,
    therefore we're reading directory entry from the address 0xCC
    the directory address contains (...)
    etc.
ingenter··on Stop Comparing JSON and XML
I am yet to see an example that makes me say "this JSON file does not represent the data very well, I wish they used XML instead". Representing HTML/XML does not count.
ingenter··on Show HN: Image-triangulation – Delaunay and Voronoi from scratch
Very cool!

Is it possible to modify the algorithm to use vertex color instead of triangle color? It is possible to do interesting stuff like Homeworld 2 backgrounds.

http://simonschreibt.de/gat/homeworld-2-backgrounds/

ingenter··on The Bugs in Our Mindware
https://en.wikipedia.org/wiki/List_of_cognitive_biases
ingenter··on The Fall and Rise of SVG
If you host SVG file on the same domain as the main site, I can give a direct link to the SVG file and your browser will execute arbitrary JavaScript in that context.
ingenter··on The Fall and Rise of SVG
I see a big security problem with SVG: browsers allow executing scripts in SVG files in site security context, so you have to check for a lot of script execution vectors in SVG before you allow uploading user files.

https://github.com/wikimedia/mediawiki/blob/4aa9e1/includes/...

https://github.com/wikimedia/mediawiki/blob/4aa9e1/includes/...

ingenter··on Reversing Skype Binary – Silver Needle in the Skype [pdf] (2006)
Face to face meetings?
ingenter··on OTCA metapixel (2010)
A video depicting a glider moving in metapixels.

https://www.youtube.com/watch?v=xP5-iIeKXE8

See also, Gemini, self-replicating ship going the path of universal constructor: http://www.conwaylife.com/wiki/Gemini

ingenter··on Bayesian ranking of items with up and downvotes or 5 star ratings
http://www.evanmiller.org/how-not-to-sort-by-average-rating....
ingenter··on Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
Not a question, but some suggestions:

- Make sure you're streaming in low-delay mode. I've seen some people stream with 8 second delay, but I don't know how they do it.

- Count `Ctrl-C` and similar combinations as a single keystroke

- Save states

God bless the poor VM.

ingenter··on Souper – A Superoptimizer for LLVM IR
I wonder if it's possible to do a similar thing for codegen. i.e. generate more efficient code based on SMT solver and CPU model.
ingenter··on A New Design for Cryptography’s Black Box
I'd like to note that IO does not give a guarantee of impossibility of extracting keys.

AFAIK, the definition of IO is: we have two programs that perform the same computation. After we apply IO to both programs, we cannot figure out which obfuscated program corresponds to a particular original program.

However, there is a flaw: programs encrypting data with different keys are performing different computations.

So IO definition does not claim that IO is able to hide the key.

ingenter··on Einstein’s Parable of Quantum Insanity
> 5. ...maybe if we build a big enough quantum computer we can overflow the universe's buffer.

Except black holes are a thing.

ingenter··on Patent Law Shouldn’t Block the Sale of Used Tech Products
> I use the patent to sell a product

Let's say that you are a patent holder for an über-toaster.

If some company is making über-toasters using your patent, you can stop them from using your patent for their profit. This is what patents for.

If some other company is buying used über-toasters, fixes them and re-sells them, you should not be able to stop them from re-selling fixed über-toasters.

ingenter··on Reliably measuring IQ through commercial puzzle games
Fuck academic paywalls, here's a pdf.

https://mega.nz/#!510ngJYY!S2_PGUIrprdnc5Byf5y1MNIbonm9-v3Y2...

ingenter··on Dash: A side project to learn how to make a programming language in C
Don't forget bash replacement

https://packages.debian.org/stable/dash

ingenter··on A* Search
There is another pathfinding algorithm with smaller pre-computation step and comparable (if not higher) speed. It allows you to do benchmarks on various maps, and it compares itself to other algorithms. I also think it's simpler than JPS.

http://mikolalysenko.github.io/l1-path-finder/www/

ingenter··on Mobile 2015 UI/UX Trends
I think I understand where is this coming from. You are used to "aesthetically pleasing" GUI elements. The thing is, people want their task done -- mail being delivered, route being found, notes recorded. Anything extra is a cognitive load for the user. The UIs I like the most have minimal amount of visual elements.

I'd like to compare the shift in style of the GUI from http://www.knifepurveyor.com/images/content/larry%20fuegen%2... to http://www.bestchefknifereviews.com/wp-content/uploads/2012/.... A typical housewive would prefer to buy the second knife because it's easier to use and wash. It's also cheaper.

ingenter··on JPS+ pathfinding – faster than A* [video]
http://mikolalysenko.github.io/l1-path-finder/www/
ingenter··on Too Many Programming Languages
Here's a crazy thought: we already have a common denominator -- IPC.

You can write part of your program in Java and other part of it in Python. But the cost of transmitting messages is considered too high most of the time.

ingenter··on Kaspersky Lab cybersecurity firm is hacked
Here's one of the reason not to install antivirus software: if a malicious adversary finds a vuln in the AV or hacks C&C servers, you have a nice backdoor you installed to "protect" yourself.
ingenter··on JetBrains' MPS Projectional Editor [video]
Somehow, I shudder when thinking about meta-programming and DSLs in Java.
ingenter··on Cryptographic Right Answers
Hypothetically, if any weakness is found in Curve25519, what happens to NaCl users?
← PreviousPage 2 of 4Next →