News for hackers. Stuff that matters.

baolongtrann

Re:NUMA Siloing in the FreeBSD Network Stack [pdf] on Sunday September 22, 2019 @09:28PM (#21045221)
It's money. Having a two-socket machine instead 2 one-socket machines, even when performance is only 80%, is saving both OPex and CAPex.
Re:Programming Patterns I Like on Friday June 28, 2019 @09:53PM (#20310322)
I agree with the 1st pattern.

The 2nd one, there's a caveat about space/GC here.

The 3rd one depends a lot on the situation.

4th one is too obvious for it to be called a pattern, but I agree with it.

5th one is, meh, not really easy to read. I prefer his "bad" example. It could be less verbose, e.g,

if (!conditionA) result = "Not A"

else if (conditionB) result = "A & B"

else result = A

Re:South Korean students flock to Japan on Tuesday May 14, 2019 @12:44AM (#19906827)
Have to admit I am clueless about the history between these two. Why don't they like each other?
Re:Jerks on the Internet: what my first DDoS taught me on Thursday April 04, 2019 @12:34AM (#19569346)
By definition, DDoS is Distributed. From my experience working on a Layer4 DDoS Protection solution, a typical case often range from 1000 to 100k flows.
Re:Vietnam’s Empty Forests on Tuesday April 02, 2019 @10:55PM (#19560393)
> Why do people just not think twice about throwing their waste in a ditch or a river or leave their picnic at the beach?

I think there are two main reasons. First, many people don't have environmental awareness. They weren't taught. That's not to blame them, but it's just a fact. However the new generations are indeed educated on that subject. We were taught to not litter, to pick up the trash, etc. But this is where the second issue lies: when we don't follow the rules, nothing happens. No immediate consequences. Whereas in other developed countries, when people break the rules, they get fined, they get other people looking at them funny. That collective awareness helps enforce the simple rules.

Re:Vietnam’s Empty Forests on Tuesday April 02, 2019 @10:00PM (#19560201)
Social media, mainly facebook, is absolutely huge over here. I have seen a few popular local #trashtag pictures circling around. We generally catch up with internet trends pretty quickly. I wouldn't be surprised if it made national TV. It's awesome but unfortunately I don't think it would help much in the long run.
Re:Vietnam’s Empty Forests on Tuesday April 02, 2019 @05:00AM (#19552245)
I'm a Viet, born and raised. My country is blessed with incredible scenery, diverse and natural. The coast line is as long as the country itself ffs. Now I won't claim that I'm an avid traveler, but from my limited traveling experience (only been to Australia, Korea, Japan and Hongkong on vacation, nothing too fancy), I have never been to a place that I would rank higher in terms of beautiful, natural scenery.

However, the one thing that always caught me off guard from the few oversea trips that I've taken is that _everything is so clean over there_. That's literally the first thing that I always noticed when I get there and when I came back. Makes me feel sad, envious, and shameful.

Re:Why Are Human Teeth So Messed Up? (2017) on Monday March 18, 2019 @12:08AM (#19418628)
but dentists aren't always orthodontists. I think OP meant those that aren't.
Re:Humble Bundle Cybersecurity Bundle by Packt on Tuesday November 27, 2018 @07:09AM (#18541625)
Can anyone comment on this new bundle. How is it compared to the Wiley one?
Re:XDP: 1.5 years in production [pdf] on Wednesday November 21, 2018 @03:54AM (#18501166)
Maybe I missed something, but the argument that was stated in that talk, "DPDK is not linux," is not very clear to me. How is "not linux" a bad thing?

I'm not saying DPDK is perfect. As an user, here are some of the most annoying things about DPDK:

- 100% CPU, even in down time. There has been works done recently in power management for DPDK but it still is quite limited.

- Debugging is difficult. Valgrind doesn't even work ootb.

- Very limited tool set compared to linux. For example no tcpdump.

- Setting up is cumbersome. Allocating hugepages must be done soon after reboot, NICs must be bound to uio,...

- Ad-hoc Layer 4-7.

That said, some of the packet processing libraries that come with DPDK is awesome. Once you get through the first few hurdles the dev experience is actually quite nice. I think combining DPDK with XDP is very promising.

Re:Ask HN: YouTube down? on Tuesday October 16, 2018 @10:04PM (#18235353)
Oh she knows
Re:Spoofing DNS with fragments on Monday September 10, 2018 @10:03PM (#17956676)
My question as someone who doesn't know much about DNS beyond the most basic stuff, how would a DNS resolver know a when query is spoofed? You can maintain a query cache to filter out unsolicited (spoof) responses but what would make a query valid or invalid? I'm talking about DNS/UDP btw.

Maybe some sort of challenges? Authentication? Like DNS cookies or something.