Better HN
topnewbestaskshowjobs
Log inSign up

dtech

8,715 karma · joined Feb 25, 2014 (12y ago) · 2,256 submissions

Submissions

comment 11y ago · link · parent

They're your most realistic option right now. They are actively developing it and added things like newer algorithms (e.g. SHA2).

There's CipherSched but that is basically a completely new program/rewrite which is very far from done.

However, I don't agree with VeraCrypts choices. They've changed several things that make mounting slow (0,5s -> 10s), which is annoying, especially if you mistype the password. Providing the option for increased security isn't bad, but they refuse to give users overrides to disable those slow security options because they are of the opinion that users can't assess the tradeoff for themselves. Which leads people to just go back to truecrypt because it works way better in their minds.

comment 11y ago · link · parent

You can also use wooden utensils

comment 11y ago · link · parent

Which order of n it is has no influence on crypto. The crux is whether there is a large difference in computing an answer and validating an answer.

A technique which requires both n^100 for validation and computing is useless, a technique which requires n^2 for computation and log(log(n)) for validation would be fine (you just have to use sufficiently large n).

It's just that problems with an exponential computation and polynomial validation provide an almost unbeatable cost-to-benefit ratio in terms of n. A n^2/log(log(n)) algorithm might require 10MB encryption keys to be secure, while a n^a/n algorithm like the current prime-based cryptosystems require ~4KB.

comment 11y ago · link · parent

Would that work against a determined opponent with physical access?

Unless the iPhone has some fairly high-grade encryption hardware I suspect you can just do fun things like copy the (encrypted) storage/key to brute-force it without the safety mechanisms kicking in.

comment 11y ago · link · parent

Doesn't this directly contradict the European "right to remain silent" [1]

[1]: Europe human rights court: http://www.bailii.org/eu/cases/ECHR/1996/3.html#para45

comment 11y ago · link · parent

> only US English speakers will be allowed to disable this requirement

Do they assume that non-English speakers are just drooling baboons who cannot decide this for themselves unlike English speakers?...

comment 11y ago · link · parent

> I've found the most successful way of dealing with these code bases is definitely not this. It is to surround them with a body end-to-end functional tests and then slowly refactor what is underneath, which mostly just involves doing this:

Keep in mind that this was written in 1999. The current philosophy of testing+refactoring old code was mostly developed during 2000-201x.

comment 11y ago · link · parent

Interesting approach!

But that sounds almost impossibly computationally expensive for 3D games and the like. Furthermore most game inputs aren't discrete but continuous, making the problem even hearder.

Do you have a link to the paper?

comment 11y ago · link · parent

UI Response time is at most 100 ms [1], as anything more that is very noticeable laggy.

Actual perception times are much lower than that, about 13ms [2]. You can see the difference for yourself by looking at a 30FPS (33ms) and 60FPS (16ms) video [3], and the effect is much greater when you're actually providing the inputs.

[1]: https://stackoverflow.com/questions/536300/what-is-the-short... [2]: https://newsoffice.mit.edu/2014/in-the-blink-of-an-eye-0116 [3]: http://www.30vs60fps.com/

comment 11y ago · link · parent

With local rendering, when you shoot a bullet you see the bullet shoot after local hardware latency (~50ms) and get a confirmed kill after local hardware latency + round-trip time (say ~50ms).

If the rendering is distant, the time until you will see that bullet shoot becomes 100ms instead of 50ms.

comment 11y ago · link · parent

Latency != Bandwidth.

Latency is much harder to reduce than it is to increase bandwidth.

At a certain point you're also limited by the speed of light, round-trip latency for halfway accross the world cannot be physically less than ~200ms (unless our knowledge of physics advances and SoL is no longer a limit)

comment 11y ago · link · parent

You're comparing an editor to an Integrated Development Environment. It's really apples and oranges.

The pure editor part of VS (and most IDE's) is probably worse than emacs/vim. However, you do not get refactoring, profiling, source-control, code-sensitive completion and all that other jazz that IDE's provide, all in one package and in more-or-less the same interface.

Sure, there's probably plugins for vim/emacs that do all of these, but do they all work together well and how much time/expertise do you need to set them up.

Now that doesn't necessarily make an IDE better, I fully expect some people do code faster/better in vim than in VS, but it certainly provides a lot of added value/features.

comment 11y ago · link · parent

Also, according to a ffmpeg contributor [1] (who joined after the schism) they just refused to merge anything by ffmpeg, often doing identical functionality from scratch (because users wanted it after seeing it in ffmpeg).

Meanwhile ffmpeg merged basically everything from libav. Furthermore ffmpeg made an effort to provide compatibility, even for stuff where libav intentionally broke compatibility.

So basically ffmpeg benefitted from all the work put into libav but not the other way around. Seems to me that they brought this upon themselves.

[1]: http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html

comment 11y ago · link · parent

An earlier version of the message stated that development on ffmpeg had stopped. How can you interpret this in any other way than an effort to spread FUD about ffmpeg by libav?...

comment 11y ago · link · parent

> How would they take more from the billionaire?

We have this obscure system that has been around for a few thousand years to do this. It's called "taxes".

comment 11y ago · link · parent

I think you should come out of your elitism bubble and actually interact with some "dumb" people (dumb according to you, you sound like a 1930 eugenics propagator with how you treat IQ).

You'll find that there are a lot of people with drive but lack of opportunities there, just like there are a lot of lazy smart people.

comment 11y ago · link · parent

There is a huge difference between everyone gets exactly the same regardless of merit* (communism) and everyone gets a guaranteed income on which you can just barely make a living (basic income).

The second doesn't disincentivize working, as you still get increased rewards if you work or work harder.

* Unless you are in a position of power of course, then you deserve more.

comment 11y ago · link · parent

You mean, compile it server side?...

comment 11y ago · link · parent

It's the downside of every non-JS client browser language, you currently either have to compile or interpret it.

comment 11y ago · link · parent

> But of course nothing beats compiling from source.

Did you assemble a bootstrap compiler yourself? Your binary compiler could be backdoored! [1]

[1] https://en.wikipedia.org/wiki/Backdoor_(computing)#Compiler_...

comment 11y ago · link · parent

This is utter ballocks. Inflation affects everyone equally, there is no reason why people with enough unneeded income/capital to invest it should get tax breaks.

You know who really suffers from inflation? Minimum wage workers who's wages do not go up despite inflation.

2092.

Popular torrents are being sabotaged by IPv6 peer flood(torrentfreak.com ↗)

3 points · by dtech · 11y ago · 2 comments

comment 11y ago · link · parent

I disagree. Obfuscation is essentially the same as a separate compilation and can do as little or as much to distort the original logic as compiling to a lower level language.

E.g. an obfuscator could make all method calls into one identical named overload, while a compiler could emit appropriately named subroutines. The compiler preserves the logic better in this case.

Minimization is something different, but minimizers do not attempt obfuscation, it is more of a side effect of their goal.

comment 11y ago · link · parent

It is very much a VM, in that it executes generic bytecode. Furthermore the Javascript engines of modern browsers (on which this proposal is based) do JIT JS. Not having GC doesn't mean it's not a VM.

Quoting the wikipedia article of p-code:

> In computer programming, a p-code machine ... is a virtual machine designed to execute p-code

comment 11y ago · link · parent

Even if malice instead of incompetence is involved, it goes pretty far to call Chromium a "rootkit-downloader" just because it downloads a binary blob.

It could theoretically be a rootkit, but without any evidence to support it this is like calling someone a murderer because he went to the same high school as a murderer.

comment 11y ago · link · parent

Note that it wasn't an upstream bug per se, they added a build flag to disable it.

comment 11y ago · link · parent

It's a whole different cup of tea though, this compromise required the attacker(s) to go in, download data and get out. Your scenario would also require the attacker to have changed their site and go unnoticed for any significant amount of time.

If that was the case I'm sure Lastpass would've found out and reported as such.

comment 11y ago · link · parent

So then you've jumped from the frying pan into the fire, since your cert now will not work in those implementations.

comment 11y ago · link · parent

That's already the case for the US penny.
1
697071
76