Better HN
topnewbestaskshowjobs
Log inSign up

bitexploder

7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions

I did not keep blogging.
Submissions

comment 9y ago · link · parent

I would bet they were all memory corruption related. They were using AFL to manage their test corpus. It is probably a good guess to say they were all memory corruption related. I am pretty sure the definition of bug is "unique crash". Crash means memory corruption. Probably, the only way they knew they had a bug in such a scenario is from an instrumented process crashing in the first place. I doubt they were checking for much else in terms of instrumented process behavior.

comment 9y ago · link · parent

Yeah. It is interesting though. I think the classic PBS documentary "anyone's son will do" is great. https://www.youtube.com/watch?v=DShDaJXK5qo I think war in the industrialized world is almost purely political. Wars in the modern day are arranged by old men and politicians and fought by young men. I don't blame the young men, but I think it goes back to some aspects of human biology and how young men see themselves and are manipulated through patriotism and other political forces to volunteer (or be conscripted) into a military to serve political ends. In a time before two tribes could communicate and apply some reason to things, force was the only way to resolve things. Force and violence is still a crude, simple, and effective path to changing human behavior so it of course is used, but if it is ever used between super powers the world is basically over. Anyhow, I digress.

comment 9y ago · link · parent

I guess I should have clarified when they are in active duty. Back in civilian world / outside of that environment, yeah sure, can be pretty normal folks.

comment 9y ago · link · parent

edit: Thank you for sharing this, btw.

It is really interesting. Military culture, especially elite special forces, breeds an extremely fascinating brand of human. Tough, practical in a basic sense, experience of human condition at a visceral level, extreme stress, indoctrination to violence and causing death, and a required level of training that you can interpret as supreme confidence.

The lessons you can learn from these extremes are imminently applicable to day to day life if you read between the lines. I completely get the desire to want to be a part of a special forces team. The sense of belonging, elite physical conditioning and knowledge that you are actually the best at something without the usual asterisk we all place on ourselves and skills.

There are tons of negatives as you have mentioned. Divorce rates are extremely high as you mentioned. What makes you good at being an elite soldier makes you really bad at being a companion to other humans that aren't also an elite special forces soldier serving along side you.

We ask a lot of these folks, mostly men. Interestingly most special forces men self select and are what I consider "fully developed" (age 25+). They have usually been in the military since they were adults. Young kids just joining the army often lack the life skills to cope with things. I suspect if you could not join the military until you were 25 there would be a lot less PTSD as 25 year olds have time to develop life coping skills in more humane environment. So special forces men (at least for us forces) really WANT to be there and have had time to get out. Regardless of the politics behind it these guys mostly stay in because they believe in their country and their brothers in arms. They often vehemently disagree with the politics of many situations.

No apology here for the jingoism and all the negative things that come with a militaristic culture, but it is fascinating to study these people and the extremes of training and conditioning they endure and what that can ultimately teach you about life. Heavy reading between the lines required, but the hacker crowd often dismisses these guys far too quickly because of all the negatives and militarism surrounding these guys. This culture exists, isn't going anywhere, and can teach a lot.

Anyway, I guess this was all to say, I share your dual fascination/repulsion with this culture. It is just interesting, and as hackers we should always learn about interesting stuff, even if we disagree with it.

comment 9y ago · link · parent

I haven't really followed the news. This is a surprising claim, but I admit I haven't checked up on it. Are their chips actually that competitive with a maxed out Intel quad core macbooks? It took a long time to get fully swapped from x86 to ARM. In the scheme of things Intel chips seem like such a marginal cost to Apple, why bother changing?

comment 9y ago · link · parent

Agreed. It would be nice too change typing habits but it is very hard.

comment 9y ago · link · parent

You could just feed Oracle DB raw filesystem partitions back in the day. Don't know if that is still possible.

comment 9y ago · link · parent

Forgot about them! Folks are really liking it. Affordable too. I have not had time to play with it yet.

comment 9y ago · link · parent

A quick overview of what makes IDA cool for those unfamiliar with it:

* It has one of the best decompilers available

* It supports a ridiculous number of platforms

* I trust its disassembler (especially for mainstream languages) more than almost any other disassembler

* Demangling of Swift names is a nice quality of life improvement, Swift moves fast and is hard to keep up with

* Still the best disassembler and machine code reversing tool out there

If you can't afford IDA, it is very expensive, there are a lot of great alternatives:

* Hopper (mac only). Its disassembler, is not so great, it gets confused and fails to find code in Swift apps pretty often. It is still generally good and with some encouragement you can get it to do a competent job.

* radare2. Works on a lot of more esoteric processors. Great for when working on small firmwares from less common processors. Not so great at big files. Slow. Very powerful regardless. Open source.

* ImmunityDbg still works for Win

* Other tools, just search.

The more time you spend looking at disassembled machine code the more valuable IDA gets. But you really have to do a lot of RCE. Most people first getting into RCE really think they need IDA when they haven't even cracked the docs for their target environment yet or lack fundamental knowledge about how CPUs work, which holds them back far more than a second class disassembler ever has.

comment 9y ago · link · parent

Tom Bihn gets my vote. Great bags, high quality, reasonable prices, American made.

comment 9y ago · link · parent

Not everyone has this luxury, but I simply avoid languages that require an IDE to be productive or think abstractly. Alas, not everyone can get away with this. Also, IntelliJ is also a very nice editor. I have used it a decent amount and liked it well enough when editing Java.

comment 9y ago · link · parent

I use emacs in an X window 90% of the time, but it almost universally translates over to a tty. Fonts are just easier when it runs as an X window :)

comment 9y ago · link · parent

You are right. I view emacs as a sort of religion or philosophy of computing. I don't use the metaphor lightly. It is pretty apt. It is my religion, so I would never put it on anyone else. I will share the cool stuff about it, but not in an annoying way.

The philosophy of using it is that eventually, in the long long term, the productivity gains should be reasonable or at least competitive with any other editor or environment. It should be a joy to use. Since I know I will probably only ever make a living crafting text I view it as an imperative to deeply master my primary tool. The other aspect is that it is free and old and stable. I can't ever achieve an RMS level of using open source things, but everywhere I can, I want the truly open thing, even if it isn't practical. I run Linux for this reason, even though it was a giant time sink making it behave and getting everything just so. But I can make things just so.

This fits in also with creating a distraction free environment. i3wm, emacs, I barely even see application menus these days, but I still use a GUI, I am not crazy. But it fits with my philosophy/religion of computing, so I am going to do it this way. If others agree, great. If they want to know about it, I will share. If they think it's crazy, from their perspective they may be right!

comment 9y ago · link · parent

ST. Python is the popular language. Elisp is... not popular. But you can do CL in emacs.

As an aside I found the Leo editor not too long ago. http://leoeditor.com/ -- one of the few editors that made me think "that is a little new". Leo is implemented in Python.

I wish there was a modern equivalent of emacs, only all Python. :)

comment 9y ago · link · parent

Yes. I actually have a hard time using control now if it isn't capslock, heh. On other computers IT IS NOT UNCOMMON FOR ME TO END UP TYPING IN CAPS. That said, caps to control is a great quality of life improvement for anyone that uses CTRL for anything, but especially emacs users :)

comment 9y ago · link · parent

Sublime took off cause it just works and it has a nice default color scheme and just enough batteries included to make it a functional programming environment for the 80% of programming situations. And it now has enough addons to increase quality of life in many areas and or solve the other 20% in many cases.

If I install emacs it is just okay. It probably has syntax highlighting, depending on the Linux distribution. It probably doesn't have any quality of life improvements for language X. I can drop in a theme and colorize it pretty quickly to my liking. From there, emacs is still very powerful, but there are a lot of things I really love for long and deep editing sessions when I am going through a lot of files on a code review or what not.

comment 9y ago · link · parent

I guess I never understood the custom emacs distributions for long time users. If you had a system that worked... lugging it around isn't hard. It is usually a few hundred lines of elisp plus packages, which you can freeze and zip up and they are probably going to work on an emacs release 5 or 6 years in the future.

I don't worry about it cause I just backup my .emacs.d and restore it anywhere I plan on editing very long. My whole .emacs.d with tons of modes and add ons is 73MB.

There /is/ something to be said with not making a mess of your initialization file and customizations. It is also very possible to keep glomming addons in and eventually get to a difficult place where various elements of extensions/modes/packages are fighting and that can be frustrating and I can see why many turn to well tuned emacs distributions.

comment 9y ago · link · parent

There is two default UI elements in my emacs config:

Line numbers on the left and two lines at the bottom. One for the status bar and one for the "mini buffer" (where you put commands, search text, and receive short messages). Everything else is just the buffer (file) I am editing. You could turn the line numbers off with a simple configuration and key binding if you wanted, along with all the other UI elements.

This goes to the "Zen" of my emacs config. Its always just the buffer I am editing unless I need another dialog or UI element. The trick to making this work with no tree based folder explorers are Projectile and Helm. Projectile adds "project" concept to emacs and Helm adds fuzzy searching of everything almost everywhere that matters. Both can be taught to work around git repos. So you can say, whack some keys and see a list of files in your project. Then start fuzzy matching in the helm buffer that results by typing say three letters of a file. If its unique you press enter. File is open. If I really need a tree or explore a directory there is `dired` mode which lets you walk around the file system. There are even tree modes that I find pointless after using helm and projectile.

There is nothing built in by default. That is the biggest problem with emacs. You don't just sit down at it one day and get a polished environment that fits with what you like. It is something that is worked at. You eventually learn at least a little elisp and your customization powers keep growing. Eventually you either quit emacs or are good enough at lisp and configuring it that it becomes obvious, if not trivial, to do most things other editors can do.

Generally speaking it is almost certain you can customize it if you are asking a question like, "Can I do X.". Everything in emacs, even configuration dialogs are just text buffers. You just teach emacs how to interpret different text buffers in different ways to implement special functionality. Most of the heavy lifting of integration with most languages is already done if your language is remotely popular.

This was a long answer, but that goes to the heart of emacs. If you want a zen mode, emacs is there for you. You want a mode with weird little widgets and build output things everywhere, emacs has your back. :)

comment 9y ago · link · parent

First: I love ST. It is an amazing software that runs just as good on Mac/Linux/Win. In a pinch I will download and use it and never complain. Python extensibility is also great, since Python is the language I do best.

That said, and I hate to be this guy (not really), but... Emacs?

* Performance: Acceptable on modern day

* Goto Anything: Helm/Projectile, command palette = M-x

* Text Editing: It is what emacs does best as a program

* Themes: Yes

* Project Handling: Projectile

* IDE Features: These exist

* Source Control Integration: Many people use emacs purely because of Magit, it is a great git UI that people won't know about in general because it is runs on emacs

I copy my ~/.emacs.d to a server, literally my whole environment minus some tty nuisances just works. Everything. All my package versions. Emacs is stable enough that not many things break between big versions 23/24/25.

There are two areas ST wins: Out of the box configuration and performance on very big things. It is true the learning curve to settle all of these features I am mentioning is non-trivial, but Emacs is open source and, like I mentioned, very stable. It has gotten enough right in its initial concept that it will always be a fine environment to mangle up some text in files into whatever you want.

This brings me to my next point, there is nothing really new under the sun regarding text editing. Atom/VS Code/Eclipse/IntelliJ/Emacs -- you want to edit a bunch of files in a directory structure, navigate quickly and easily between files and get context important information about the code. Everything else is just flavors of those same chores, often specialized to a few programming languages or whatever new things are popular at the time (JavaScript / Can we build an editor in JavaScript).

I have seen very little innovation in the field of text editing. Light table was interesting, and its no surprise it is very Clojure/Lisp oriented. I am in a giant lisp machine when editing code in emacs, I can whack out a lisp expression anywhere and emacs will faithfully evaluate it for me.

Next point: If you work in a language or big project you need a way to navigate and generate lots of boiler plate in some languages (Java). IDEs help there, but...

Final point: The speed with which we write text as programmers is not the limiting factor of how much software we can produce and never has been.

My conclusion was to invest in one editor that has been around a long time and just not worry too much about it. I can use emacs in 20 years probably. Who knows about atom or vs code or whatever. So it isn't a pro emacs, you should use emacs reply to you, but that over the long run, using the same system to edit text is probably worth it. Stick with one thing and ignore everything else unless you are forced to use some IDE, and even then really try to avoid it. Even then I am pretty sure I could do my job with Gedit or Notepad without much of a productivity hit.

edit: formatting

comment 9y ago · link · parent

And we are back to Thompson, basically. :)

comment 9y ago · link · parent

Come on. This is HN. No one is telling anyone how to live their life. Well, people are but we all already know to ignore them right? We are trying to parse all this data about stand/sit/walk-desk and figure out if there is anything to it regarding overall mortality. If we can make some relatively small adjustments to our lives and gain back years that static positions may be taking from us why not? This is a quest for discovery about what the data is telling us. Yes, some of the time the data leads us on a path that is not the best (coffee/fats are bad?) -- it happens. Food and nutrition studies are worse than these types of studies, I think. There are so many more complicating factors compared to the broader strokes of these sort of lifestyle studies.

comment 9y ago · link · parent

Other studies indicate standing all day isn't good either. You really need a combination of stand sit. I actually think ideal based on what I have read is going to end up being some sort of very slow walk. Static positions cause edema and clotting, period. The longer you hold a static position the worse it is. It can damage muscles due to reduced blood flow and the awkward stretching of muscles and connective tissue.

I don't do this myself, but I think folks that can manage to slow walk at a tread desk are going to be the best and gaining back those years static positions shave.

Yes, standing causes people to move around more, but I actually find standing dramatically more tiring than tread-desking when I have tried it. I prefer sitting and regular movement from the sitting position, tread desking, and finally standing desks.

Personally, standing is also just not comfortable. I have run 50 mile races, and lift heavy things regularly for many years, so I have the physical conditioning for it... I just find it is the most draining way to work. It feels much harder on my body than walking all day or sitting and moving around at regular intervals.

comment 9y ago · link · parent

I'd suggest every hour is a good stop gap. Take 5 minutes. Drink water. Walk, squat and stretch your hips. A nice deep squat, hold it for a minute. It is amazing how much stiffness this alleviates from sitting. Hip flexors get tight after about 15 minutes. It is one of the reasons desk warriors have so much trouble with IT band if they are also recreational runners. Tight-ass hips.

I really despise smart watches, I turn off blue tooth and everything, but the Fenix 3/5 is my companion in my fitness journey. I follow the move indicator. When my watch buzzes, I move for 5 minutes in a way I just described and drink some water. It is annoying, but if you make it meditative and keep your task at hand in mind I have found, with practice, and this being something you always do, it does not disrupt flow state. Flow isn't like meditation, you can literally do this right in front of your monitor and keep thinking about your code or deep work task while you do it.

comment 9y ago · link · parent

I have done this before. But if you are actually MiTM downloading the GPG sums from the same source as your ISO is a little pointless. That is the problem, how do you bootstrap the trust? It all still just goes back to TLS and the CA.

You can check the sums over time and acquire them using multiple connections to verify they are all the same to gain a higher level of confidence, but this is actually annoying for someone with a high level of technical skill and basically impossible for most people. I only do this for things that require the highest levels of operational security, like, say, if I am setting up a system to sign certificates in a CA or something.

A slightly easier approach is to strip down your CAs to a bare minimum in your browser config, and double check the certificates being presented on TLS download sites. You can still be owned by a MiTM if the CAs actively collude with a nation state and have given them signing keys, but... there isn't much to do about that. The options really aren't that great in terms of really verifying things.

comment 9y ago · link · parent

That is basically the same as trusting `apt install`. We just hope apt repo maintainers have higher levels of opsec.

Most trust on a typical Ubuntu install, for example, is still chained back to an TLS download of an ISO (or maybe torrent file). That bootstraps your repo public keys.

comment 9y ago · link · parent

As an information security person and someone that cares deeply about preserving my privacy and the privacy of my fellow citizens I see Facebook / Google / Amazon as sort of existential threats. For them to exist we can't maintain our privacy to a high degree. And as long as they maintain a network effect, even if you do delete your Facebook account, they will maintain a shadow profile of you. You will always be a node in their graph now. European privacy laws and the right to be absolutely forgotten are the answer. As a free human being I believe in the right to be completely outside of any corporations software system and record keeping. There is so much work to do on this front, look at what happened to Equifax. We don't really get a choice about some things (credit reporting), but for everything else, I am going to fight it.

I am going to fight your shitty operating system updates that take away my privacy

I am going to fight your massive personal information sucking network

I am going to use alternative shopping services, no matter how easy you make it for me to click once and have stuff I really like appear in a great user experience.

I am going to fight these things because privacy matters and in the long run without privacy as consumers and human beings with inalienable rights we will give away something essential in there.

It isn't hipsterism. It isn't being a luddite. It mass-scale experiment about how much these organizations can concentrate before people really understand.

comment 9y ago · link · parent

Just to add on here, I think you are exactly right. The author is pretty vague and doesn't provide any concrete examples. I always think, whenever working with JS/CSS/HTML to build a UI is just like any other UI system in terms of separating concerns and good programming practices.

If the browser is what I have to work with then I am going to be writing JavaScript to manipulate HTML / CSS. No amount of CSS wizardy is going to really help. At the end of the day my logic is in JSS and I have to update a UI somehow. This is where and why design patterns like MVC are so popular. You can do all the ugly integrated JS/HTML/CSS in UI components just like in any native UI toolkit and then you update these thru your more pure "controller" logic that tries its best to just shove some data at the UI later and let it do its thing.

Somewhere, if not MVC, but still with some separation between UI and your app logic you still have code that says "Okay, some state has changed, anyone that cares, here is the state that has changed."

I think what the author laments is that is is extremely easy/tempting and common to just dig into those always available globals to solve design problems. This is why so many JS template and other frameworks exist, everyone is trying to find a nice way to do this that makes sense to them. So, I don't care what you do in your UI layer. If you want to make a rats nest of CSS in JS, go for it. If you want to create some beautiful HTML+CSS+JS design that minimizes JS and CSS weirdness, go for it. As long as you give me an API to deal with your thing and not some ass-ugly encapsulation breaking thing that makes me deal with the UI I can separate out the coding effort into better conceptual parts.

This is where people get frustrated with modern JS. As an experienced programmer I can often get things done quickly in most environments and figure out the key parts pretty quickly, even when you are doing things like dependency injection or I have to go through your abstracted bi-bidirectionally dependent class hierarchy hell, I am okay with this. Drop me into a modern JS stack where in order to "do things right" I have to basically completely relearn CSS and figure out a dozen new esoteric and new JS micro frameworks and I just get annoyed.

So far the only antidote I have found to this was Vue. It seems to support this more immediate dirty style of scribbling with DOM globals or the fancier modern things advanced JS/CSS UI folks know how to do that take days of `npm install` and packing and minifying and JSXing and whatever the heck else is going on in the JS world these days.

Anyway, my point was, deal with it. CSS/HTML/DOM kind of suck as a UI layer, but they work. Hide it in your basement. Don't let it infect the rest of your code using well tread design and programming practices. Get on with your life.

edit: Just to add, my one real criticism for the topic of discussion here is that it takes a LOT of esoteric, bleeding edge knowledge to "do the right thing" in JS/CSS these days. CSS is always adding new things and it creates a compatibility nightmare. As a casual occasional person that wants to write a UI using CSS/DOM I am never going to a.) reach the complexity where this matters and b.) have time to learn all that stuff to do it right. I am not convinced big teams with people dedicated to this chore can learn quick enough to keep up while still building a system that plays well with development teams and their speed of knowledge consumption/learning while trying to ship code. Old school things still work, are reliably, and solve the problem 80-90% of the time.

comment 9y ago · link · parent

https://github.com/bitexploder/gowebexample

I put together a little example web app based based on a few popular packages, including gorilla / mux. It's not a framework, just a nice starting point for little apps.

comment 9y ago · link · parent

Recruiter is not a technical person. If you want technical people recruiting you work somewhere smaller. The real weakness is inability to communicate with non-technical members of staff.

comment 9y ago · link · parent

We have a hiring process for folks with no infosec experience. It isn't easy, but it works. The guys at Deja are solid and consulting makes for busy folks, so don't hold a low opinion of them. Probably did not pay close enough attention to the initial email.

If you are interested shoot careers at carvesystems dot com an email.

1
676869
81