HNHacker News
TopNewBestAskShowJobs

TheSwordsman

1,839 karma · joined June 12, 2012

[ my public key: https://keybase.io/theckman; my proof: https://keybase.io/theckman/sigs/sdBoJTtBwPcwi1tpmyge7iA4vooZ1ZmTK_huiHJGylc ]
submissionscomments
TheSwordsman··on Performance Impact of Removing an Out-of-Band Garbage Collector
I thought this Request-Oriented Collector idea was abandoned? I seem to remember it being talked about in the Go community, where this hypothesis was tested and the results were sub-par.
TheSwordsman··on On incomplete HTTP reads and the requests library in Python
I'd say the HEAD section is the best implication about the behavior they expect. Where in this section there is precedent set for the spec requiring it to be equal.

I'll agree and admit that implication is not explicit specification, but I think it's a reasonable example to follow.

TheSwordsman··on On incomplete HTTP reads and the requests library in Python
I'm not sure I agree with your assessment that sending an incorrect Content-Length is permitted. This specific post quotes a section in RFC-2616 that deals with this directly[1]:

  When a Content-Length is given in a message where a message-body is allowed, its field value MUST exactly
  match the number of OCTETs in the message-body.
According to this, the Content-Length MUST match the data. Can you share an example of the opposite being stated?

[1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4....

TheSwordsman··on Google shuttering domain fronting, Signal moving to souqcdn.com
Is there any sort of product page listing for their CDN solution? I've heard of Souq as an online retailer, but didn't know you could have them act as a CDN.
TheSwordsman··on 1.1.1.1: Fast, privacy-first consumer DNS service
From Comcast in San Francisco, I'm seeing that CloudFlare is the slowest of Google Public DNS, OpenDNS, Level 3, and Comcast's resolver.

Definitely not what I was expecting...

CloudFlare:

  $ ping -c 240 -i 0.25 1.1.1.1
  ...
  --- 1.1.1.1 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 16.271/17.286/25.105/1.236 ms
Google Public DNS:

  $ ping -c 240 -i 0.25 8.8.8.8
  ...
  --- 8.8.8.8 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 5.092/10.083/35.949/2.426 ms
OpenDNS:

  $ ping -c 240 -i 0.25 208.67.222.222
  ...
  --- 208.67.222.222 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 8.596/9.847/25.898/1.788 ms
Level 3:

  $ ping -c 240 -i 0.25 4.2.2.2
  ...
  --- 4.2.2.2 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 8.479/9.563/18.971/1.336 ms
Comcast's Resolver:

  $ ping -c 240 -i 0.25 75.75.75.75
  ...
  --- 75.75.75.75 ping statistics ---
  240 packets transmitted, 240 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 8.410/9.717/19.428/1.487 ms
It even looks like OpenDNS and Level 3 are better than Google Public DNS in terms of latency.
TheSwordsman··on Scrcpy – An app to display and control Android devices
Would have been awesome like a year and a half ago when I cracked my phone screen.
TheSwordsman··on [dead]
Not sure it needed fixed, but thank you. My initial message was meant to be a conversational format. It's how I would have asked the question in person.

Well, I'm estimating a percentage in my head and then considering the amount of karma that percentage may have. I'd say 20%, maybe? Of which I personally know a few who have some sizeable karma.

TheSwordsman··on [dead]
How many users of HN live in the Bay Area do you think?
TheSwordsman··on Intel Confronts Potential ‘PR Nightmare’ With Reported Chip Flaw
I wonder what implications this will have on those who run Intel in their gaming rigs. I'm due to refresh, and _was_ gonna invest in Intel as my CPU. But this seems pretty damning for that.

I assume the system calls to interact with the GPU, or to do any sort of I/O, are going to incur the performance overhead. So rendering frames, reading/writing from the network, and loading assets from the disk could all cause issues.

And this is just for gaming. Anyone using a cloud provider that's running on Intel needs to worry about similar things.

What a nightmare...

TheSwordsman··on The mysterious case of the Linux Page Table Isolation patches
I was also worried about network I/O too, which could be an absolute pain for games where you care about latency.
TheSwordsman··on The mysterious case of the Linux Page Table Isolation patches
One question I have around this is whether the patches made to the Windows kernel in November exhibit the same performance hits. Does anyone know?

I'm due to refresh my gaming PC, and I was going to go with Intel again as they've not been a problem. However, if Intel chips are going to incur the same 5% - 50% performance hit on Windows, I might end up investing in AMD hardware instead.

TheSwordsman··on Show HN: A New, Clean Geolocation API
It's not so clean cut. For a web browser, I think it's better to ask the user to share location data so that you can use that to make their experience. They would do this using the methods you suggest.

I think the risk here is the assumption that the only devices where you may care about GeoLocation are ones that have this capability. There are cases where using the less precise GeoIP option is not only legitimate, but it's the only option you have. What about IoT or embedded systems where you may not have the capacity to determine the location?

You can't treat the data obtained from GeoIP databases as being absolutely precise. However, for most cases the data will be precise for most people's needs.

I'd be interested in hearing how you handle devices that don't have the APIs you mention.

TheSwordsman··on The Last Death-Defying Honey Hunter of Nepal
The part about the changes in barometric pressure / the camera failing is interesting. At first it sounded like a dramatic enhancement to the story, but intriguing that things went back to normal once leaving the enclosure.
TheSwordsman··on Bad Devop: Why Pagerduty posting to Slack was a terrible idea
I use the Slack webhooks as a feed of issues impacting my team, and less about notifying myself of issues. Kind of like an RSS feed.

If it's critical, PagerDuty pings my phone. It starts with the push notification, and escalates to a phone call shortly thereafter.

If it's a low urgency alert, PagerDuty sends me an email. I'll get to it eventually.

All of these trigger Slack webhooks, but those aren't for me to manage the incident or to be alerted. They are there only for visibility purposes.

TheSwordsman··on 1Password X: A look at the future of 1Password in the browser
... if you omit the lack of cross-platform support
TheSwordsman··on Security.txt
Per the Draft RFC `security.txt` is meant to be akin to `robots.txt`, in that it's at the root of the path.

So yeah, it's a bit inconsistent.

TheSwordsman··on Tiny 'meat-loving' marine creatures 'eat' teenager's legs at Melbourne beach
And this is what nightmares are made of...
TheSwordsman··on How HTTPS Handshake Happens
I assume a load balancing / caching solution that is available on an anycast IP address. The TLS termination happens at the (ideally) closest point of presence (PoP). The idea is to reduce the RTT from client to its termination point.

Think CloudFlare CDN or the Google Cloud Load Balancer.

Edit Mistyped RTT as TTL.

TheSwordsman··on Torus – A secure, shared workspace for secrets
Looks interesting. I'll definitely take a look at how this compares to Hashicorp Vault. Definitely getting closer and closer to the point where I can start to properly utilize a tool like this.

Reading the docs, though, it does seem like it's one legendary AWS outage away from being a huge problem:

>Torus’s infrastructure has been designed from the ground up for resilience without any single point of failure. All of our services are autoscaled and run in multiple availability zones in the us-east-1 region.

TheSwordsman··on YouTube down?
I'm in the process of uploading a video, and that is still working properly. However, trying to playback some of the videos I just uploaded is hitting an error.

Seems to be a partial outage.

TheSwordsman··on YouTube down?
It's probably correlation information that allows them to pull further diagnostic information.

Mind sharing what information you have which makes you think they were hacked? :)

TheSwordsman··on Go 1.9 Beta 1 release notes
I'd go further and say when one cares less about performance. There's overhead for type assertions that could be avoided by implementing your own synchronized map with the types you desire. Admittedly, the overhead is probably negligible for most users.
TheSwordsman··on Kubernetes Production Patterns and Anti-Patterns
WRT to StatefulSets I assume you are talking about the fact they are immutable (minus a few fields)?

If so, the hack we've applied for StatefulSets is to delete the StatefulSet with `--cascade=false`. This keeps the Pods of the StatefulSet online, but removes the StatefulSet itself. We can then deploy the StatefulSet with the new configuration vlaues, and manually delete the Pods one-by-one to have the changes be applied.

Graceful: Nope. Needs Improvement: For sure Gets the job done: Yep!

TheSwordsman··on BBR, the new kid on the TCP block
It even has a flow-control mechanism (wastegate).
TheSwordsman··on If the Moon Were Only 1 Pixel – A tediously accurate map of the solar system
I think vertical scrolling worked well in that case because it was used to display depth. The information you are displaying is literally about going down. Horizontal scrolling feels more natural to me here because the point is to show how empty and vast the area between planets is.

The downside is that it's an experience that admittedly only works if you're using a trackpad, or a mouse with good side-scrolling support. So people with laptops / trackpad mice are probably okay.

TheSwordsman··on If the Moon Were Only 1 Pixel – A tediously accurate map of the solar system
>I guess this is why most maps of the solar system aren't drawn to scale.

>It's not hard to draw the planets.

>It's the empty space that's the problem.

TheSwordsman··on I wrote a program that emails me when one of my friends orders Domino's
Depending on the location, you could just stand outside of the person's house and end up with an almost free pizza.

Almost free because you shouldn't forget to tip the driver you're stealing the pizza from!

TheSwordsman··on Ask HN: Who's firing?
I think it'd be interesting to do this on the 15th of every month. Have the 1st of the month be the "Who's Hiring", and the 15th the "Who's Firing".
TheSwordsman··on Debian considers merging /usr
All of my Arch Linux nodes ate-shit when I did this upgrade years ago. Things didn't like when their shared libraries got moved. I had to manually recover every single one.

It was actually the straw that broke the camel's back for me as an Arch user. This was around the time Arch Linux was going through lots of breaking changes.

TheSwordsman··on Syslog is terrible
> A popular sentiment is that binary logs are evil and the only way to properly log information is by using plain text.

> I don’t particularly care about the argument between plain text versus binary logs. However, if your reasoning for not wanting to use binary logs is because they are opaque and can be corrupted then you should take a close look at your log rotation or archival process. If you are archiving logs by first compressing them using something like gzip, you no longer have plain text log files.

I found quite a few people disliked binary log files due to concerns around their portability. Specifically when they depend on a platform-specific utility to read them. If they are compressed using a standard algorithm, it alleviates concerns about portability.

← PreviousPage 4 of 8Next →