Better HN
topnewbestaskshowjobs
Log inSign up

peripetylabs

172 karma · joined Oct 9, 2012 (14y ago) · 108 submissions

Submissions

comment 13y ago · link · parent

The Chinese authorities will hold him until they feel he has given them all he knows, then quickly extradite him to the US.

At that point he will probably try to get to Europe. If he makes it, his appeal to those governments on humanitarian grounds may be weakened by the fact the first country he picked practices capital punishment far more than the US (more than every other country in the world combined):

http://www.amnesty.org/en/death-penalty/death-sentences-and-...

He could have fled to Europe in the first place just as easily. For example, US citizens are exempt from visa requirements for short stays (90 days) in France -- la Patrie des droits de l'homme -- from where he would have had direct access to the ECtHR...

comment 13y ago · link · parent

Every browser seems to implement its own password management scheme. None of them are as good as the same functionality that already exists in the operating system. Browsers should request access to passwords from the OS when needed, perhaps once per session.

comment 13y ago · link · parent

Technically the NSA is a part of the DOD. They assist the ODNI which is civilian, although its leadership role is limited.

comment 13y ago · link · parent

I think the US government is not on the list because they don't need this program. The NSA finds its exploits directly from the source code, which Microsoft shares with them and many other governments, not second-hand from Microsoft.

comment 13y ago · link · parent

I hope Snowden realizes that none of this matters if an FBI agent is sitting beside the reporter as they communicate.

comment 13y ago · link · parent

An open message to Snowden: this reporter would hand over his private key in a second.

comment 13y ago · link · parent

He probably pissed off some member of the royal family, whom are more important to the US than intellectuals.

comment 13y ago · link · parent

Although this wasn't news to most people here, keep in mind that the US has always denied doing economic espionage, against China or anyone else. The Snowden leak also revealed that the largest target of US espionage in Europe is Germany -- I can't think of any reason for that other than economic espionage. This certainly raises questions.

9.

A flying wing by Jack Northrop dated 1939(ctie.monash.edu.au ↗)

1 points · by peripetylabs · 13y ago · discuss

10.

Mars north polar ice cap(spaceinimages.esa.int ↗)

1 points · by peripetylabs · 13y ago · discuss

comment 13y ago · link · parent

There exist proof and verification tools for C, like ACSL and Frama-C, [1] or LCL and Splint. [2,3] Not to mention the myriad of static and dynamic analysis tools. You can prove that a piece of C code does or doesn't contain certain bugs -- this is not the case for higher-level languages (except perhaps Haskell and ML). That is why C is used for highly sensitive projects like avionics.

I would say: learn C and high-level languages.

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

[2] www.hpl.hp.com/techreports/Compaq-DEC/SRC-RR-74.pdf

[3] http://splint.org/

comment 13y ago · link · parent

I'm glad I came across this article. I'm learning Python and was given that advice to use multiprocessing rather than threading, but hadn't researched why. Very informative, thanks for sharing.

comment 13y ago · link · parent

This looks great. It could be the PGFPlots of Javascript.

comment 13y ago · link · parent

Without going into the technical details described by other commenters here, this is my understanding of the problem (please correct me if I'm wrong): You receive the code that is run, from the same entity you should be protecting yourself from -- that being the Cryptocat server. This is a big contradiction.

One really should assume that if a service can be compelled to act against the interests of its users, that will eventually happen.

comment 13y ago · link · parent

The fact that their website still doesn't have a viewable demonstration of their software suggests it actually isn't so easy to make interactive content like Snow Fall.

The only thing I could find was this very annoying video: http://www.youtube.com/watch?v=vUA62gHzVpA

comment 13y ago · link · parent

You can always put the idea on hold for a while, and find regular work until you decide to go back to it. The work you put into it so far isn't going anywhere.

comment 13y ago · link · parent

To me, the next power of two after 4 is 8, not 4. If you prefer, you can add a line to simply return the input if it is already a power of two:

http://en.wikipedia.org/wiki/Power_of_two#Fast_algorithm_to_...

(Edit: You forgot to subtract one before setting the lower bits and incrementing. If you omit that step, both these algorithms give the same result.)

Actually this algorithm is faster for smaller numbers too, because it always performs less operations in the loop -- one shift as opposed to a shift and a bitwise or.

18.

A faster next-power-of-two algorithm(eliteraspberries.com ↗)

2 points · by peripetylabs · 13y ago · 4 comments

comment 13y ago · link · parent

A ring cut from a single crystal of silicon may be strong enough. Regardless, it would look very nice.

comment 13y ago · link · parent

We were taught sine, cosine and tangent in the context of how they could be used to derive angles from other angles, not what they were and how they worked. They were presented as tools that could be used in particular ways that had to be memorized.

This has to be the worst things you could do to a student in a math class. In engineering they call it "plug and chug" -- students must plug numbers into a formula they've memorized and come up with an answer.

By the way, we learned trigonometry with the unit circle. If we forgot a formula, we'd just draw a little circle and derive it. I'm always grateful for that teacher.

comment 13y ago · link · parent

Past Mach 10, a layer of plasma is formed on the leading surface of the aircraft, which RF cannot traverse. This is also why atmospheric reentry occurs in a blackout. There's a good explanation of the phenomenon here:

http://www.scientificamerican.com/article.cfm?id=piercing-th...

comment 13y ago · link · parent

Congratulations on a successful test flight. Aircraft that fly up to Mach 10 can still use radio communication. That wasn't the case with the Falcon Project's HTV-2. I guess the Air Force wants a GPS-guided hypersonic cruise missile.

comment 13y ago · link · parent

I'm glad the subject is being studied, it's a very interesting problem. Proper solutions are much more sophisticated than it seems. You have to ensure that the checks you use in the checker functions don't themselves cause overflows. If you're interested, I'll write about an algorithm for your WillOverflow function which has been proved correct.

comment 13y ago · link · parent

Your question is based on anecdotal evidence. You should instead ask why so few women and girls in your life are inquisitive about their world?

In my personal experience, women are just as inquisitive as men, if not more, as evidenced by the fact that more girls than guys went on to study science after high school. But I wouldn't claim my experience is universally true.

comment 13y ago · link · parent

Shame on this so-called school. We've all done this (probably with vinegar and baking soda) only a million times.

comment 13y ago · link · parent

In the case of three people sharing one pizza:

Slice the pizza in four, and eat three of the quarters (the two people who aren't slicing picking first of course). Repeat with the remaining quarter until what's left is not worth being disappointed about.

I would never actually do this, but it's a good illustration of limits of geometric series.

comment 13y ago · link · parent

I've always disliked the perception that poor people necessarily eat poorly. Rice, wheat, barley, oats, beans, and root vegetables are grown in abundance in developed countries and so are inexpensive; they do not spoil quickly; and are very healthy. Most vegetables will keep for weeks in a refrigerator and months in a freezer. Sardines (fresh) and eggs provide much better protein than meat.

I think the cost of "healthy food" is mostly rooted in ignorance and a taste for simple sugars:

"For a Brit, there can be no greater comfort food than a custard cream."

There's your problem.

comment 13y ago · link · parent

Wow, I hadn't read the book and never knew that about Feynman. Very disappointing.

comment 13y ago · link · parent

Oh, I see now. The only service I know that comes close is the openSUSE Build Service:

https://build.opensuse.org/

But it is primarily used for packaging, not testing.

1234