andrewreds

Joined 16 years ago

Karma
66
Submissions
24
Member since
May 31
email: <my username> @gmail.com
View on Hacker News

Recent submissions

Comment · 13 years ago
I would like to see in the HTTP/2 spec allow http traffic, with the requirement that http 2 traffic must be signed. This would allow publicly accessible resources (including javascript) to be cacheable, without compromising security. Random thoughts:

* The signage could be done in headers (HTTP/1.0 compatible)

* Works with all existing internet caches that don't modify pages they cache

* (some proxies inject headers into pages, so the spec should be resistance to this, and throws out all unsigned headers)

* Signature must cover cache expiry and full page url (including FQDN, port number etc)

* don't send cookies, user-agent or other identifying details over http 2 (helps with caching, and privacy)

* Could have a requirement that all https 2 traffic can only link to resources on https or http 2

* If the signature in the http 2 message fails, browser could fall back to https 2

* A redirect could sign the content it is redirecting to (to securely load resources from 3rd party CDN)

Edit: formatting

Comment · 13 years ago
Comment · 13 years ago
Most of the standard library is written in go.

a large part of the runtime package (within the standard library) is written in c and asm. This c code compiled with one of the 5c, 6c or 8c compilers.

gcc is only used for bootstrapping (I believe... tho I am still trying to get my head around what happens).

Comment · 13 years ago
Would this really be a problem?

If you have a look at the article, linked from the article, they are hiding the un-subscribe link when the link is inside quotes.

For me, the emails that get forwarded to different accounts (due to email rules), don't have quotes, so the link will show. But pressing the forward button will put quotes around the entire email, so the link won't be shown.

In saying that, there are probably some email setup out there, that doesn't work like mine, and just happens to wrap every email that it displays in quotes...

Comment · 14 years ago
Comment · 14 years ago
Comment · 14 years ago
Ummm....

Essentially electrons must travel around in a circuit. Sort of like a racing car. Electrons can't teleport from one location to another, and the number of electrons in a circuit will never change.

If touching you touch a wire, and you don't make a circuit (a complete loop) then you will receive no current (electrons can't move in a circuit), thus there is no voltage (since V = IR)

Usually when you touch the active wires in a powerpoint a circuit is made:

from the powerplant to the powerpoint, from the powerpoint to you, from you to the floor you are standing on, from the floor back to the powerplant.

A transformer works by having two coils of wires, and when electrons flow through one coil, it excites the electrons in the other coil, and they start to move too. (This is done through magnetism).

A transformer is usually used to change the voltage of an AC source, but in the case of the "Isolation transformer" the voltage on the input side and the output side are the same.

In a transformer, the two coils of wire aren't actually connected to each other. So if you touch one of the output wires, you don't make a circuit, as the electrons need to get back to the other output wire for a circuit to be formed.

The same thing happens with a battery. Unless you are touching both terminals, there will be no current flow.

Comment · 14 years ago
Comment · 14 years ago
A password works by there is a piece of text that only you know, and thus, when you give that password to a server, that server knows who you are.

can't you also view a url as a password? (If only I know the url, then only I can download the file).

I am able to give out a url to someone else, so they can access the file, likewise, I can give out my file server's username and password, and whoever has it can also access my files.

Comment · 14 years ago
"""On the flip side, Kim Dotcom will lose the ability to use the data to defend himself after pleading not guilty to piracy."""

Is it me, or is this saying: "We [the author(s) of the page] don't care if he has any evidence proving he is innocent. We just want to see him in jail"

Comment · 15 years ago
isn't 418 from the HTCPCP specification, rather then HTTP?
Comment · 15 years ago
thanks :) Google+ is soooo much better then Facebook :)
Comment · 15 years ago
I will also love one too. andrewreds AT gmail DOT com
Comment · 15 years ago
How long after release do you think it will take for IR filters for the IPhone will be on sale by 3rd parties?
Comment · 15 years ago
the lists page is not listed on the lists page

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton