HN user

helper

2,449 karma
Posts50
Comments317
View on HN
redrocket.club 5y ago

Croc Full Plaintext Recovery – CVE-2021-31603

helper
1pts0
research.swtch.com 6y ago

Thinking about the Go Proposal Process (Go Proposals, Part 1)

helper
1pts0
latacora.singles 7y ago

The PGP Problem

helper
5pts0
dtrace.org 7y ago

Visualizing PostgreSQL Vacuum Progress

helper
73pts3
github.com 7y ago

CRFS: Container Registry Filesystem

helper
104pts21
lists.zx2c4.com 7y ago

WireGuard for MacOS

helper
575pts154
medium.com 7y ago

Why you shouldn’t buy a home in the Bay Area right now

helper
2pts0
security.googleblog.com 7y ago

Introducing the Tink cryptographic software library

helper
96pts28
avc.com 7y ago

Strike When the Iron Is Hot

helper
2pts0
www.nytimes.com 8y ago

The Seismic Defect Lurking in Some California High Rises

helper
3pts0
blog.plover.com 8y ago

Proposal for turning off standard I/O buffering

helper
2pts1
blog.cryptographyengineering.com 8y ago

Was the Efail disclosure horribly screwed up?

helper
10pts0
discussions.apple.com 8y ago

MacOS High Sierra Kills Terminal FTP

helper
88pts48
blog.filippo.io 8y ago

The scrypt parameters

helper
2pts0
tip.golang.org 8y ago

Go Diagnostics

helper
1pts0
www.ntsb.gov 8y ago

NTSB Issues Investigative Update on San Francisco Airport Near Miss

helper
117pts117
blog.cryptographyengineering.com 9y ago

Attack of the week: 64-bit ciphers in TLS

helper
4pts0
www.brendangregg.com 10y ago

Hist Triggers in Linux 4.7

helper
98pts27
www.brendangregg.com 10y ago

Linux BPF/bcc Road Ahead, March 2016

helper
1pts0
www.brendangregg.com 10y ago

Linux BPF Superpowers

helper
6pts0
blog.cryptographyengineering.com 10y ago

Attack of the week: DROWN

helper
4pts0
github.com 10y ago

Vim cryptmethod is not authenticated

helper
1pts0
www.brendangregg.com 10y ago

Linux eBPF/bcc uprobes

helper
7pts0
labs.bitdefender.com 10y ago

Linux Ransomware Debut Fails on Predictable Encryption Key

helper
11pts1
googlesystem.blogspot.com 10y ago

YouTube Red

helper
1pts0
www.phoronix.com 10y ago

Ubuntu Is Planning to Make the ZFS File-System a “Standard” Offering

helper
6pts1
googleonlinesecurity.blogspot.com 10y ago

Disabling SSLv3 and RC4

helper
146pts40
wpengine.com 10y ago

Unmasked: An Analysis of 10M Passwords

helper
2pts0
blog.paracode.com 10y ago

Ruby and Go Sitting in a Tree – Paracode

helper
3pts0
www.brendangregg.com 11y ago

Hacking Linux USDT with Ftrace

helper
5pts0
Slack is down 6 years ago

(2 days later) The status site now shows %99.9 uptime for the quarter.

Based on the screenshots it looks like the mac address is leaking out because its in the referer. I would guess this isn't intentional and shouldn't be hard to fix.

I've worked with a number of captive portal systems and they all basically work the same way. The AP/controller intercepts http requests and redirects to the captive portal page with identifying information about the device (ip,mac,ssid,ap_mac,etc.). The captive portal http server shows the user a splash page to accept terms or enter a username/password or a credit card. Once the captive portal server decides the user should be allowed onto the network it needs to communicate that back to the wireless hardware which is done with the user's mac address.

Based on the requests it looks like they have some ads/trackers on the splash page that are getting requests with a referer set to the original splash page url (which includes the client mac address). A no-referrer meta tag or an intermediate redirect would prevent this from happening.

Ugh, I honestly couldn't tell if this article was a joke or not (it seems to not be). The more you read the more absurd it becomes.

I've not heard of JPEG XL before now. Why would you name it that? XL certainly doesn't make me think "wow that sounds like way better compression".

JPEG Blockchain: come on! Are you really so worried about being relevant that you have to talk about blockchains in your press release?

JPEG AI: I could image that this is real, but I'm fairly skeptical of anything that is taking about machine learning and blockchains in the same context.

Its so unnecessary too. A 3x quality improvement is massive. Why not just let that speak for itself? This press release makes me hope just a little bit that JPEG XL loses out to WebP or HEIF.

As an operator, having fewer dependencies I have to deploy and worry about is a boon to my productivity.

If you were building a kafka like system in house for private use only, then yes I agree with your sentiment. If you are building something to be used by hundreds or thousands of organizations then the cost benefit tradeoffs shift to where it probably makes sense to pull the consensus logic into the primary application itself.

Why Generics? 7 years ago

Normally you wouldn't write that since the compiler will be able to infer the baz type based on buzz (assuming this is a call to a generic function).

Why Generics? 7 years ago

If you're just going to copy another language there really isn't much of a point in making a new language. Go is not java, or c# or rust.

Part of the explicit goal stated by the go team is that generics must still feel like go. If you slapped java generics onto go it would not feel like go.

Unfortunately, the community that has sprung up around Go is more or less opposed to new language features on principle.

I think this comes straight from the original go team. Rob Pike had a talk[1] that is partly about why go doesn't keep adding features and why it doesn't have certain features that other languages have. I think people who like go have bought into the idea that the go team has made good trade-offs to make go code easier to read and maintain at the expense of expressibility.

[1] https://www.youtube.com/watch?v=rFejpH_tAHM

I'm not saying that isn't true for some things. I don't think its true here given that this is a nice narrowly scoped library that does a single thing and has well defined semantics.

Adding a cgo dependency is generally something that isn't done lightly by teams. Having a port to go instead of a wrapper around go would be much more likely to see widespread adoption.

Go Creeping In 7 years ago

I think this is a great point that indirectly highlights how people are often talking past each other when a go vs rust debate comes up. People work in different problem domains with different constraints and therefore the a good language choice in one domain might be wrong for the other.

I don't think anyone in the go community would suggest you write a browser in go. Ignoring the GC performance issues, just the awkwardness of using cgo would make most go developers shudder.

Likewise there are many problem domains where a GC'ed language works just fine. In these cases it is appropriate to consider other factors when deciding which language to use. Perhaps your team is made up of a bunch of experienced scala developers, scala might be a good choice for you over go or rust. That doesn't mean your good choice is universally applicable to all teams.

Some teams might care more about getting the most value per cpu cycle possible. Other teams might care more about the time it takes to get a new engineer up to speed in the language. Both of these can be valid reasons to choose a specific language.

I guess what I'm trying to say is: "Try to choose the language (and other tools) that best matches your organizations constraints. Don't assume that other teams have the same constraints."

Tavis didn't write the bug he just found it (through a lot of hard work). This was free security research given to Microsoft. He gave them a very reasonable amount of time before disclosing the bug (if the disclosure window was 180 days and MS missed it people would be complaining just the same as 90 days).

There's no reason why someone else couldn't discover this bug and exploit it. I would rather know that I am vulnerable then be ignorant and assume my software was safe when it in fact was not.

Thanks taviso for all the great security work you do. (Also 2004 me would like to thank you for your cool fvwm configs).

In go you can use build tags to achieve this. The compiler will drop function calls to empty function implementations (tested on go 1.11.5).