Better HN
topnewbestaskshowjobs
Log inSign up

Breakthrough

1,159 karma · joined Aug 10, 2012 (14y ago) · 217 submissions

Software engineer with a passion for hardware and open source software. Rust, Python, and C++ lover. Author of PySceneDetect.

bcastell.com

github.com/Breakthrough

Submissions

comment 13y ago · link · parent

Sounds like Daniel Suarez' novel Daemon.

TL,DR: Programmer dies but his program manipulates the world after his death, then the US government spreads word that the program is a hoax, so later in the novel most people disbelieve that such a program can even exist (because the government "disproved" it!), hindering any chance that society would even believe that something like this existed, let alone was possible.

I just wanted to throw it out there to illustrate the parallels of the plot in the novel with the current things happening right now...

comment 13y ago · link · parent

While I agree it was a bit odd to read this coming from someone in China (given the state of their own internet), I'm as surprised as you are to have read this.

However, you have to read between the lines:

> How do we make sense of the fact that the market and the state colluded in the abuse of private information via what represents the backbone of many modern day infrastructures? [...] How do we understand the one-sided cyber attack accusations the U.S. has poured upon China in the past few months?

After I read those two questions, I realized, there was a difference. People in China know about the firewall. Sure, they have no choice, but the government isn't going behind their backs or allowing them unrestricted internet access and penalizing those who access "disallowed" content.

And I do, for one, agree with that last question; I hardly could believe that the US was just taking cyberattacks from China for years without at least attempting to get some revenge (and indeed, I know the US has the resources to fight back).

That being said, I admit I did laugh a bit to myself at this part:

> this force is acting in an unconstitutional manner and entirely contrary to the Universal Declaration of Human Rights

And that's when I started reading in-between the lines, because half of it's the truth, and half of it's probably state-ordered propaganda. The only difference this time is that this propaganda has some truth to it.

comment 13y ago · link · parent

Funny you mention this, because I don't see US Government, Department of Defense, or the Natural Security Agency on that list (not that I expected to find them there in the first place). Also, last I checked, the purpose of MAPP wasn't to allow MAPP-partners the ability "to exploit vulnerabilities in software sold to foreign governments"... And indeed, that would only compound the problem (have a look at the last question on the MAPP Application Request: "Do you sell or create products used to attack or weaken the security posture of networks or applications?").

> If you want to be outraged, check out all the Chinese companies on the list of partners!

Wow, really? :|

I might be outraged if I saw Government of China on that list, but the majority of Chinese companies on that list are large telecommunications companies (like Huawei) or Chinese-based antivirus companies. And even then, Chinese-based companies only make up a fraction of the (unsettlingly large) list.

comment 13y ago · link · parent

I'd argue it doesn't really matter, as I assume the US government is fully capable of creating a fully-built exploit out of a major software company's early disclosure of a vulnerability... And yes, I also assume they are using it to their full potential for surveillance (or put another way, unless someone told them explicitly not to, why wouldn't they?). And indeed, this is what the article itself hints at: this type of early alert allowed the U.S. to exploit vulnerabilities in software sold to foreign governments.

I think that when "Microsoft doesn’t ask and can’t be told how the government uses such tip-offs" the problems begin. I'd really like to believe what we're told - that the exploits/vulnerabilities were only used for software sold to foreign governments - but I'd be hard pressed to actually believe that foregoing any concrete proof. Again, unless someone explicitly says "no", they seem hell-bent on using anything they can for their own increased surveillance; domestic or otherwise.

Lastly, regarding MAPP, I think this is something entirely different they're hinting at. I see several things on the MAPP criteria [1] I doubt any intelligence agencies align with (Are you willing to have your company name and URL displayed on our MAPP website?, Do you provide active protection technology for Microsoft products and is your product commercially available?, and Do you sell or create products used to attack or weaken the security posture of networks or applications? are my favourites).

[1] http://www.microsoft.com/security/msrc/collaboration/mapp/cr...

comment 13y ago · link · parent

Another thing worth mentioning is how the plots were made. Here, the author seems to have just taken screenshots from MS Excel, and not actually exported anything to a portable format. Even the jagged, choppy Excel graphs look fairly smooth when exported as a .PDF file (as Excel does save the vector data for smooth curves) or another comparable vector format.

Specifically, in the author's first example (the exponentially decaying sinusoid), viewing that graph in MS Excel will always appear jagged and pixellated. However, if you were to export the chart as a .PDF, the aliasing artifacts would completely disappear (or at least be comparable with the Python-rendered example). I use this technique when I make some quick charts/graphs in Excel and want to include them in a LaTeX document. You can move a chart/graph to it's own full-page "worksheet", and then Save As a PDF file. Since the PDF output is in vector format, it works nicely with LaTeX documents (as you can use \includegraphics{} natively with .PDF documents), and scales well to any size without artifacts.

That being said, there is one thing I do agree with here: the way MS Excel renders graphs/charts when editing them is pretty horrible. You can, however, get around the issue by choosing an appropriate output format (you might just have to zoom in a lot when editing to avoid the aliasing temporarily).

comment 13y ago · link · parent

They can be... Rickard Gunée actually generated a raw analog NTSC/PAL signal to be connected to a composite cable using a microcontroller: http://www.rickard.gunee.com/projects/video/sx/howto.php

It's a pretty good read if you're into that sort of thing, and really helps explain the mechanics of analog video (and also gives you some hints about simulating it in software). He also created his own clones of Tetris and Pong that run on the MCU as well!

comment 13y ago · link · parent

It really depends what version of Tetris you're talking about, but it might be possible if it follows the concepts of Playing Tetris Forever ( http://www.tetrisconcept.net/wiki/Playing_forever ) - specifically, the generator they use ( further discussed in the same Wiki on the http://tetrisconcept.net/wiki/Random_Generator page).

That being said, it would be awesome if someone fit the algorithm onto a little microcontroller and got it to generate the control signals for a particular console (although as you already mentioned, resolution might be a limiting factor here...).

comment 13y ago · link · parent

Right after I read your comment, I realized exactly how useful that might be. From simply helping a friend stuck a particular point to doing entire game walkthroughs/handbooks, his would be a pretty sweet addition to either experience.

comment 13y ago · link · parent

I just wish those kind of mods worked more "nicely" with multiplayer... Although I still think with all the GTA4 graphics mods there are, I still think it should quality for one of the current most realistic looking games (definitely not with the default settings, however).

However... Regarding the OP, a Google Maps of Liberty City is really awesome though. Imagine if someone hacked the cellphone in the game to run off an Android emulator rendered to a screen overlay, and link it with the Google Navigator app (that's a significant modification to the engine though so I don't know if that would be possible, and especially not on multiplayer LOL).

comment 13y ago · link · parent

Always interesting to see applications/algorithms sped up with GPGPU implementations. It looks like they get a great amount of speedup by parsing each line in parallel (in the thread blocks), followed up by parsing each individual regular expression in a separate blocks.

Admittedly, I assumed this was already the case after reading the article title, since parsing each line in parallel would present a great deal of parallelism with growing filesizes. Indeed, they also came to the same conclusion:

we realized that it was a much better idea to parallelize across the lines of the input file against which we had to match regexs

That was also a great choice for future scalability, as no doubt you would get greater parallelism with a growing input file (while also allowing opportunities to speed up more complex expressions).

comment 13y ago · link · parent

I don't know if I would consider HDMI passthrough as an ace in the hole... I mean I get how it would be cool to be able to overlay your cable box output on the screen, but this also implies that you would have to have your Xbox on every time you wanted to watch television.

Unless, of course, the pass through works when the device is turned off... However, I haven't heard any mention yet that it does (does anyone know if it will support this?).

And plus, if you had any other multimedia devices (e.g. a Blu-ray player), wouldn't you still need to use the other inputs on the television anyways?

comment 13y ago · link · parent

Yes, but to save money, the patients will have to evaluate themselves and send the results back to the doctor instead.

[/sarcasm]

comment 13y ago · link · parent

Always great to see studies looking at the mental implications of non-psychoactive drugs. I suppose it's common to overlook the implications of a drug on the central nervous system with respect to consciousness, when the drug in question never causes any subjective/noticeable change.

I suppose it's all too intuitive, though. Even slight, unnoticeable changes in consciousness - to the point that even you don't notice - may in-fact be detectable on paper. I hope this leads to more research into the mental changes for other drugs classified as "non-psychoactive" (who doesn't love more data? :). Anyways, to end off by inserting some colloquialism into my thoughts here...

Trippy study, mannnnn.

comment 13y ago · link · parent

This - I disagree with the entire last paragraph of the original article, although I think he meant to imply that the operations are not commutative for all real numbers x, since applying the same operation in reverse on the result will not return the same number x (unless, of course, the proper precision arithmetic is used).

The rest of the article is great, and really hits at how to deal with mixing floating point arithmetic with really small and really large numbers. Start small so the partial sum remains as accurately as possible, since any exponential corrections will result in shedding some significant digits. Then again, if this is the point at which you start nit-picking about commutativity, you should probably use a higher precision floating point representation, or look towards "infinite" precision numerical libraries.

12345
8