HNHacker News
TopNewBestAskShowJobs

eliteraspberrie

846 karma · joined September 25, 2013

www.eliteraspberries.com
submissionscomments
eliteraspberrie··on Safe: Free Easy File System Encryption
How does your app derive a key from the user's password?
eliteraspberrie··on Akamai release source to their custom secure_malloc for OpenSSL
OpenSSL aims to be cross-platform, so their options are to use kernel-specific cryptography where possible, and a generic implementation where one isn't available; or always use the generic implementation. They probably reasoned at one point that the latter is less work.
eliteraspberrie··on Transcribing Piano Rolls, the Pythonic Way
The faster way of doing this:

    def fourier_transform(signal, period, tt):
        """ See http://en.wikipedia.org/wiki/Fourier_transform
        How come Numpy and Scipy don't implement this ??? """
        f = lambda func : (signal*func(2*pi*tt/period)).sum()
        return f(cos)+ 1j*f(sin)
is using the FFT.

What you want is the power spectral density in the discrete case, called the power spectrum. It can be calculated by multiplying the discrete Fourier transform (FFT) with its conjugate, and shifting. NumPy can do it. Here is an example: http://stackoverflow.com/questions/15382076/plotting-power-s...

eliteraspberrie··on Frama-C is a suite of tools dedicated to the analysis of software written in C
One feature you can start using right now: prove an assertion with the WP plugin. [1] It's especially useful to prove the absence of some undefined behaviour, bounds on variables, or invariance conditions.

[1] http://frama-c.com/wp.html

eliteraspberrie··on Statement on Bloomberg News story that NSA knew about the “Heartbleed bug”
With regard to the Linux kernel, for example, their policy was to not look for vulnerabilities and only contribute features:

Did you try to fix any vulnerabilities?

No, we did not look for or find any vulnerabilities in the course of our work. We only changed enough to add our new mechanisms.

http://www.nsa.gov/research/selinux/faqs.shtml#I16

eliteraspberrie··on 3rd Circuit vacates Weev's conviction [pdf]
People who are wrongfully charged have no recourse, except in the most egregious or best publicized cases. It's even a police tactic to charge someone as a punishment in itself. His best option now is to move on with his life, success will bring him closure.
eliteraspberrie··on The Heartbleed Bug
I don't have personal experience with it, but apparently these things are booked months in advance, on a contract basis. The engineer doing the audit spends an agreed number of weeks finding as many problems as they can, and hand you a report at the end.
eliteraspberrie··on Show HN: Snappy Checkout – Stripe Checkout with full-featured dashboard, admin
Helium (https://gethelium.com) is less expensive for items priced less than $25, since they charge 2% rather than $0.50.
eliteraspberrie··on The Heartbleed Bug
The cost of a cryptography code review is about $5-10k per week.
eliteraspberrie··on OpenSSL Security Advisory: TLS heartbeat read overrun
Looks like a good use case for Hammer: https://github.com/UpstandingHackers/hammer
eliteraspberrie··on Spiped – symmetric, encrypted, authenticated pipes between sockets
It is part of the Tarsnap bug bounty (http://www.tarsnap.com/bugbounty.html). When I first heard of the bounty I gave it a shot but could never find anything. I ended up learning from the code, which is priceless.
eliteraspberrie··on Google begged Steve Jobs for permission to hire engineers for its Paris office
Isn't it a good thing? Companies should be competing for talent, not vice versa.

Once you reach the level of Jean-Marie Hullot and his team, you are lifetimes past the please hire me routine. So he spent the next couple years travelling instead of helping Google sell more ads... good for him, his old friend Jobs did him a favour.

eliteraspberrie··on Pending Comments Update
You can set the value of the karma threshold automatically, to some multiple of the standard deviation of karma for all of HN. So you won't have to constantly revise it.

I assume the distribution of karma here is exponential, so take the distribution's parameter lambda to be the highest value of karma, and set the threshold to half of the inverse of lambda. This page explains it better: http://www.phy.ornl.gov/csep/mc/node18.html

eliteraspberrie··on Tor: Directly connecting users from Turkey
That was the Sefnit botnet which started to use the Tor network heavily in mid-August 2013.
eliteraspberrie··on Some facts about how NSA stories are reported
If exporting chips to the US were against Chinese laws, yes, of course.
eliteraspberrie··on Some facts about how NSA stories are reported
If I were to export a single chip to Iran, I would be a legitimate target of NSA. When Huawei sold network monitoring equipment to Iran -- knowing full well that equipment is used to target and kill people, and in contravention of US export laws -- they made themselves legitimate targets of the NSA.
eliteraspberrie··on Targeting Huawei: NSA Spied on Chinese Government and Networking Firm
So they got a taste of their own medicine. Huawei has spied on and stolen from US companies. For example, Huawei copied Cisco's iOS -- including source code comments and bugs -- and even copied their user manuals verbatim. [1, pp. 8-10,12; 2]

Besides, the facts that non-Chinese employees cannot own shares in Huawei; [3, p. 23] that the Communist Party appoints an anonymous "Party Committee" within Huawei; [3, p. 30] and that Huawei was involved in selling US network-monitoring equipment to Iran [4] -- makes them a legitimate target for NSA, in my opinion.

[1] Cisco's motion for preliminary injunction http://newsroom.cisco.com/dlls/Cisco_Mot_for_PI.pdf

[2] http://blogs.cisco.com/news/huawei-and-ciscos-source-code-co...

[3] Investigative Report on the U.S. National Security Issues Posed by Chinese Telecommunications Companies Huawei and ZTE http://intelligence.house.gov/sites/intelligence.house.gov/f...

[4] http://www.reuters.com/article/2012/10/08/us-cisco-zte-iran-...

eliteraspberrie··on Credit Card Breach at California DMV
This is the new model for non-petty theft. Rather than target individual credit card holders, just target the watering holes -- which, like credit cards themselves (in the US) have near zero security.
eliteraspberrie··on A simple way to "get more people to code"
We're told that the software profession must be made more accessible, and that programming should be taught to all children. Great, I agree. No child without the command line!

Let's also consider another industry: cars. Car ownership per capita in the US is greater than the rate of households with Internet access -- 0.769 versus 0.748. [1,2] So professions related to cars have greater impact on people's lives, on average, than professions related to computers.

Furthermore, most car owners would agree that maintenance is expensive, very expensive. Not to mention the fact that most mechanics are men. Nobody has proposed that everyone should be a mechanic, let alone a mechanical engineer. The President has not called for more mechanics, more women mechanics, or for relaxed visa requirements for foreign mechanics. These things would be seen as ridiculous.

Until programmers form a regulated professional body, with its own lobby, they will continue to be singled out by the various lobbies of the IT and social justice industries (strange allies).

[1] 240 million car owners in a population of 312 million, in 2011. http://wardsauto.com/ar/world_vehicle_population_110815

[2] 74.8% in 2012. https://www.census.gov/hhes/computer/publications/2012.html

eliteraspberrie··on US tech giants knew of NSA data collection, agency's top lawyer insists
I suppose the grass is greener on the other side. As a Canadian I trust the US tech industry. Everything that has been exposed in the US has been happening here too, and then some. The options are: spend lots of money to be spied on here; spend much less money to be spied on in the US.
eliteraspberrie··on Dorian Satoshi Nakamoto's official denial of Bitcoin involvement
It's hard to believe unless you see it with your own eyes. I have. They literally make stuff up.
eliteraspberrie··on Dorian Satoshi Nakamoto's official denial of Bitcoin involvement
In most countries in Europe, people have a "right of reply," which is the right to respond to printed allegations in the same publication that they were made (and with the same prominence, i.e. on the same page). Does anyone know of similar laws in the US?
eliteraspberrie··on New Stealth Spy Drone Already Flying Over Area 51
That's my impression too. The most basic air force can defend against drones, let alone Russia's. Even this supposedly stealth drone is very obvious, from behind. Any IRST system would detect it immediately.
eliteraspberrie··on Down go all the major browsers at Pwn2Own
These exploits usually target browsers running on Windows, which until recently did not have ASLR or DEP enabled by default (and still doesn't in the case of some browser plugins). Many Linux distros like Debian or Ubuntu have had RELRO, SSP, PIE, and ASLR enabled by default for browsers for a few years now. PaX and Grsecurity would indeed protect against all of these exploits -- up until one or two years ago. These newest exploits are way out of my league, and I don't know if anything could stop their authors.
eliteraspberrie··on Popcorn-app
Most broadband is asymmetrical (ADSL) so the downstream bandwidth is at least an order of magnitude more than upstream. As you download, your upstream bandwidth is saturated just with the acknowledgement traffic (non-payload ACK) of the download.

You can verify the effect yourself by comparing the network upload statistics from your operating system with the seed statistics of your bittorrent client.

eliteraspberrie··on MH370: China releases satellite images of possible crash site
http://www.tomnod.com/nod/challenge/malaysiaairsar2014
eliteraspberrie··on MH370: China releases satellite images of possible crash site
The images are from SASTIND, available here: http://www.sastind.gov.cn/n112/n117/c303244/content.html

These images interpolated 400%:

http://www.eliteraspberries.com/files/303251-416.png

http://www.eliteraspberries.com/files/303252-55.png

http://www.eliteraspberries.com/files/303253-144.png

eliteraspberrie··on How the NSA Plans to Infect “Millions” of Computers with Malware
Does anyone have a good guess of how FASHIONCLEFT works? Has it been seen before?
eliteraspberrie··on Kill the Snowden interview, congressman tells SXSW
I wouldn't read too much into five-figure bribes, those are probably for tax purposes. This particular congressman's position more likely comes from his personal opinions and the types of people he golfs with.

In general donations (bribes) don't dictate political support for defense contractors. That support is a given, for two reasons. First, defense contractors are also large civilian employers. Second, contracts are a form of subsidy, to maintain what they call the "defense industrial base."

eliteraspberrie··on Experian Lapse Allowed ID Theft Service Access to 200 Million Consumer Records
His victims were Americans. He should be tried in the US.
← PreviousPage 4 of 9Next →