Readit News logoReadit News
filam commented on Systemd is bad parsing   blog.erratasec.com/2018/1... · Posted by u/fanf2
detaro · 7 years ago
The blogpost you link seems to basically recommend the same as the author, except they only talk about the conversion step and not about where it should take place too?
filam · 7 years ago
That post by Rob Pike is arguing that you should not need to check the endianness of your system when swapping. Not that you should never byte swap. Systems and protocols have different endianness, which needs to be handled by programs where endianness has not been abstracted away.
filam commented on Systemd is bad parsing   blog.erratasec.com/2018/1... · Posted by u/fanf2
filam · 7 years ago
I have to admit I stopped reading after the combined section on byte swapping and casting external data to a internal structure. Perhaps the author of the code should have used ntohs() instead of be16toh(), but the effect is the same? There aren't any conditionals in ntoh...

https://commandcenter.blogspot.com/2012/04/byte-order-fallac...

And will a compiler make use of native byte swapping instructions with the code proposed by the author?

Deleted Comment

filam commented on Scalable 10 Gbps TCP/IP Stack Architecture for Reconfigurable Hardware (2015) [pdf]   davidsidler.ch/files/fccm... · Posted by u/octosphere
praseodym · 7 years ago
From the article: “full 10 Gbps throughput full-duplex while supporting 10,000 sessions”

Doesn’t sound too impressive if you consider that Netflix has been doing 10-40Gbps with 10,000-40,000 sessions on commodity hardware [1] and is already doing 100Gbps as well [2].

[1] https://openconnect.netflix.com/publications/asiabsd_tls_imp... [2] https://medium.com/netflix-techblog/serving-100-gbps-from-an...

filam · 7 years ago
You need to also compare the cost and power consumption of the chips. I also imagine the use of high-level synthesis impacted performance.
filam commented on Zulip – Open-source, threading-based Slack alternative   zulipchat.com/... · Posted by u/tonteldoos
filam · 7 years ago
I used Zulip while at Akamai. At the time, Zulip was a Boston-based start-up and I believe some engineers at Akamai had a connection to engineers at Zulip. It wasn't used throughout the whole company, but it did have a significant user base and was growing.

My experience was so positive that I've continued to evangelize it at other companies since then. The acquisition by Dropbox was definitely disappointing, but the fact that they managed to open source the code and have since started providing a service is very impressive.

The most important feature of Zulip is threading. It doesn't make a big difference for a very small organization, but it is a huge win for larger organizations. Not only does it make it easier to organize information, it allows you to improve the signal to noise ratio by muting specific topics of conversation. I remember being both very excited for Slack's thread implementation and then soon after the release very disappointed. It feels like an after thought and doesn't improve a fundamental problem with Slack, the exponential growth of channels as new users are added. There is a little more upfront learning required to use Zulip, but it is vastly outweighed by the benefits. And don't forget that Slack has a learning curve too, especially for those that aren't as technically savvy (e.g. markdown, Slack commands, bots).

filam commented on Show HN: Life – A timeline of important events in (your) life   github.com/cheeaun/life... · Posted by u/cheeaun
cheeaun · 12 years ago
Make a copy of life.example.md, rename it to life.md, edit it. Run the page on a local server.
filam · 12 years ago
I didn't realize until far too recently that Python includes a built-in web server: 1. git clone https://github.com/cheeaun/life.git 2. cd life 3. python -m SimpleHTTPServer 8000 4. http://localhost:8000/
filam commented on Bitcoin Payment Processor BIPS Attacked, Over $1M Stolen   coindesk.com/bitcoin-paym... · Posted by u/qwertzlcoatl
ogig · 12 years ago
>Do people still think the irrevocability of BTC transactions is a good thing?

Yes. Third parties will provide escrow/insurance services if there is demand for them. Transactions been irreversible "by default" is a core benefit of bitcoin and merchants may preffer that over chargebacks at 18€.

filam · 12 years ago
Insurance does not eliminate risk from the market.
filam commented on Poll: Where are you currently living?    · Posted by u/Systemic33
pranavrc · 12 years ago
filam · 12 years ago
I only mention it because I learned the difference yesterday, but that is a bar graph, not a histogram.
filam commented on On switching to Arch Linux   mikethecoder.com/post/165... · Posted by u/mcrittenden
pnathan · 14 years ago
Sure. But unless you're deploying custom Linux builds, what does that get you, exactly? I have a number of packages on my computer I don't use, and I am not being hindered by their existence. I instead use my brain cycles for creating new software & systems, not retooling the existing one to no end.

edit: Please understand that I'm not saying a fully customizable Linux doesn't have its place. It absolutely does. But when you're trying to crank stuff out, having to stop and tweak/fix your system simply gets in the way. Well, it gets in my way, at least. :-)

filam · 14 years ago
Just because a system gives you the freedom to customize your environment, it doesn't mean you required to "retool [it] to no end." I have used a simple Arch Linux installation for years and it has never interrupted my work flow.

u/filam

KarmaCake day24January 27, 2012View Original