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

As long as there is a profit interest to game the reviews people will try. At least with Goodreads there is some, but less, interest.

comment 9y ago · link · parent

I just like working in terminal. Some things I can do faster in mitmproxy (filtering with lots of constraints, shooting response or request data to a pipe). It has a mutt like interface so if mutt seems fast and intuitive then mitmproxy will feel similar. I have spent a lot of years thrashing around in the Burp GUI and mostly I don't need all the features all the time :)

Things that are a few clicks in Burp are a few terse keystrokes or key presses in mitmproxy. IDK, give it a shot and see if it makes sense . Most of our team just sticks with Burp FWIW.

comment 9y ago · link · parent

Don't forget mitmdump. It is a great way to log sessions and chain to other proxies at the same time.

Also, mitmdump is one of the best and fastest ways to get ahold of web requests with Python to modify it on the fly.

http://docs.mitmproxy.org/en/stable/mitmdump.html

I have been using mitmproxy over Burp for day to day web app hacking these days. But we still use Burp scanner for lots of chores. I almost always chain through both to then go back in and use Burp features missing in mitmproxy (exploring site contents, etc.). But those are edge cases mostly needed for professional use and not for tinkering.

comment 9y ago · link · parent

That is because there isn't a good solution. You can get away with repackaging an IPA and hand modifying the binary depending on how they are performing the pinning, but it is always going to be time consuming to do it this way. If you are serious about tinkering you pretty much need a jailbroken device, which is getting harder to maintain by the year.

comment 9y ago · link · parent

There is. It depends on the mobile OS and device.

We deal with this routinely. Solutions tend to vary.

On iOS just use SSL kill switch (if you are jailbroken). If you are not jailbroken you don't have a lot of options. On Android there are some well documented approaches. Usually decompiling the app and adding to the local app's cert store will work and then rearchive and sign it.

Function hooking key network calls can work as well. It is pretty much required that if you want to do serious tinkering or assessment you need a jailbroken or rooted device. This can be a significant effort investment, but once done is generally reliable.

comment 9y ago · link · parent

Language awareness can be lacking. That is why things like helm-ag and helm-multioccur are so great. They work no matter the language and for things you could never really add awareness for. I find with a few language based cheat codes like helm / git free + it grabbing the symbol at point working out just fine in practice.

comment 9y ago · link · parent

Maybe. But if you are using PyCharm it will be hard to get used to Emacs. It takes a while to get to a place where Emacs makes more sense than a good IDE. PyCharm is very good at what it does.

comment 9y ago · link · parent

It is difficult to even describe a productive hand tuned to fit the individual Emails setup compared to standard.

Here are some of my favorite Emacs things:

Helm + Projectile. Helm will fuzzy complete almost anything in Emacs. Projectile is project management. Together get to any Git repo and file there in very quick. Helm is an option to compare to IDO. I rarely use IDO due to Helm.

Magit, widely regarded as a good Git UI. Using is believing. Better than command line or most GUIs for me.

Various editing nodes are good enough (Python, Lisp of course, Markdown).

Org mode is it's own beast, but if you like outlines and productivity tools Org is very nice. I use it, not extensively. It holds my todos and meeting notes and makes it easy to ha e very complex notes in one doc.

Basic text editing. I think Vi has some things it does better than Emacs here, but it is still very powerful and rewards learning the finer details.

Realizing you are in a Lisp machine. A calculator is no further than your Emacs window. Learning to hack Lisp and elisp is its own reward.

I think the time spent learning it is worth it. I think the math checks out in terms of efficiency. I also know Emacs is not going anywhere. Same with Vi.

There is much more to it all, but these are things off the top of my head. There are many smaller things that connect up how I work via Emacs... But there is a lot to it.

comment 9y ago · link · parent

I know some people simply need spontaneity to be creative, but I think most people are fine being creative on a schedule. One of the most powerful quotes from Stephen King's book "On Writing":

"There is a muse, but he’s not going to come fluttering down into your writing room and scatter creative fairy-dust all over your typewriter or computer. He lives in the ground. He’s a basement kind of guy. You have to descend to his level, and once you get down there you have to furnish an apartment for him to live in. You have to do all the grunt labor, in other words, while the muse sits and smokes cigars and admires his bowling trophies and pretends to ignore you. Do you think it’s fair? I think it’s fair. He may not be much to look at, that muse-guy, and he may not be much of a conversationalist, but he’s got inspiration. It’s right that you should do all the work and burn all the mid-night oil, because the guy with the cigar and the little wings has got a bag of magic. There’s stuff in there that can change your life. Believe me, I know."

I think most on Hacker News would agree with this sentiment. If you aren't putting in the work how can you expect the muse to give you inspiration? You must lay the framework of creativity in your mind in order for it to strike. It is like the medium of an agar plate you use to grow critters in a lab, only in your mind you must create this medium by hard work and laying the framework. Sure inspiration strikes at times with or without this work, but (for me) it reliably strikes when I put in the work.

GTD is almost meta to this. It is just a system to keep your plate free to do your important work and prioritize your important work. It eliminates the mental clutter so you can focus on what is important. Many other productivity and self help systems all go down that same path. But it doesn't get at the core discipline of being regular and scheduled that is almost a requirement as a professional.

comment 9y ago · link · parent

I guess it just depends. I never use any of that. i3wm hides whatever current mess there is in Linux GUI land for me quite nicely.

comment 9y ago · link · parent

And it is a flat wave :)

Every time something improves something else gets worse.

Except in Linux and maybe mobile OSes. Latest Android or iOS is objectively better, even with things that regressed.

comment 9y ago · link · parent

This is a reason I enjoy Ubuntu 16.04 so much. My drivers are stable. My programs work. My UI is i3wm and isn't going to change or improve much, it has reached a near maximum efficiency level and i3 aims to be very stable and do its job and not "innovate". The laptop hardware is supported and stable, the drivers aren't changing. All systems are go.

MacOS? Always innovating with new "features" like APFS. Are they truly making the OS easier to use in some novel way for non technical users? Are they improving things for technical users? I know technology changes and APFS is supposed to make SSDs better, but... the general sentiment is just what you stated.

My iPhone 4 used to work great with a given OS. All it needed was security updates for 3+ years, instead after about 2 the latest updated was unusable. iOS "improvements" were very hit and miss. Some were good, some were not. I do not mind mobile OS improving as much though.... that hardware has still been improving rapidly offering much better features so the more rapid OS updates kind of make sense there in terms of supporting the latest hardware.

But laptops? What has changed.....

The f* touch bar? The amazing keyboard? The Retina display?

Only one of those was a real innovation and it has been supported for a long time.

/extra_rant

comment 9y ago · link · parent

I tried really hard to come up with a need for the extra RAM and failed. Even with a few beefy VMs. Plus ECC is only available up to 32GiB. I kept mine to about 3800 and got all I can use for a long while I think :)

comment 9y ago · link · parent

Only one month. I had an XPS 13 and it was much buggier. I figure the large chassis makes it easier to design the hardware. The 13 worked but was a real battle for the first week.

This machine on 1604 is a dream so far. I do see Dell has more production issues, especially on XPS machines. Intel WiFi is a must. I learned a lot about what Dell does best on the 13" XPS.

comment 9y ago · link · parent

Your own personal game genie.

It's interesting. I have observed if people learn on an 8 or 16 bit machine, like in Microcorruption, they tend to be able to pick up more complex ISAs much easier. It helps to know the first principles.

comment 9y ago · link · parent

To elaborate, you sketch out the assembly you need, assemble it and literally drop those new bytes in.

Tools like IDA Pro, Binary Ninja, and Hopper make this quite easy. A good hex editor and knowing the file offsets is also fine. This is seen as magic because it is a bit of a lost art, but it turns out to be easy to learn.

Check out "crackmes" if anyone has become interested in this topic of mangling binaries by hand. They are fun and you will get results quickly on the easier challenges.

Also check out Microcorruption CTF.

comment 9y ago · link · parent

I kind of agree with the sentiment. It isn't that crazy.

We do this as a matter of course all the time. Patching a small handful of instructions is pretty easy. You could learn to do it on a week or less if you are a decent programmer.

Do it well? Do it quickly? Do it idiomatically and in a short amount of time.... Takes real skill.

comment 9y ago · link · parent

That mantra applies to "most" programmers.

I think he was talking mostly about size.

Odds are good most programmers tinkering in machine code won't beat the performance of the compiler. That takes experience. It is a good rule of thumb.

I think it is easier to write smaller (size) code than a compiler, but when you measure performance it will beat you often until you get good. Alignment, x86 tricks... It takes a bit of knowledge to do well.

comment 9y ago · link · parent

^^^^ See above :)

Just make sure anyone seriously considers this takes a long hard look at hte physical dimensions and weight. It is not a sleek or light machine :)

comment 9y ago · link · parent

Agreed. One laptop worth investigating that I haven't seen anyone discussing in this thread is the Precision 7520. It is the same chassis as the XPS 15" laptop, but you can configure it with some more adult options.

It is 2017 and I finally own a laptop with 32GiB of ECC(!) RAM. That is pretty damn cool. Allow me to roll out my specs, just cause I love this laptop:

* Quad Core Xeon (1505M)

* Discrete GPU with acceptable gaming performance and great at cracking passwords in a pinch

* 32 GiB of ECC RAM

* 1920x1080 15.6" (144ppi) display with no mic or web cam

* An actually decent keyboard

* Touchpad that is actually nice

* So many ports. All the ports. The best ports (4 USB-3, 1 USB-C, HDMI, mini DP, Ethernet, SD Card slot, Smartcard Slot)

* For the cost of equivalent Applecare, someone will show up to my house same day and fix this beast if something breaks

* Expandable and replacement storage and memory

Tell me all those ports don't make you a little jealous if you are using a Macbook, I won't believe you ;). It does come at he cost of this laptop being a bit chunky, so it won't be for everyone. You can also get it with a HiDPI display, but I actually prefer things right in this 120-144ppi range more than Retina.

It is just a great computing package. End of story. I also still love my 2013 MBP. It is also a beautiful machine for its own reasons, so I am no Dell / Linux fanperson, but I have a bit of a crush on this laptop as I just got it about a month ago :)

comment 9y ago · link · parent

This harkens back to the classic Unix statement, "Unix is user friendly, it is just picky about its friends."

I must agree that the support of high DPI displays is not optimal just yet. However, it is not that bad. At a corporate level one person can do the tweaking and create a great user experience for an entire organization.

Given the amount of tweaking and "management" goo organizations foist upon the average OSX installation blasting out a few lines of DPI tweak commands is almost nothing.

So it just works in the sense that you can do sane configuration activity and it behaves as you might expect.

Also, Unity out of the box is still pretty good on a scale like this: very bad, bad, tolerable, pretty good, good, great. It does "just work" for the most part :)

comment 9y ago · link · parent

Keyboard in the 7520 seems pretty solid. An improvement over current generation Apple keyboards and... solid feeling.

I wonder how different 7510 is over the others. This one is not my beloved mechanical keyboards, but it does not fatigue my hands at all, and has a full numpad :)

comment 9y ago · link · parent

You know..... I haven't checked.

I only kicked the tires on the discrete GPU.

I have been looking at this now. It seems, according to `turbostat` that one core reaches 3000mhz (indicating turbo is not kicking in), but... see below:

I have https://ark.intel.com/products/97463/Intel-Xeon-Processor-E3... so Turbo should hit 4ghz

I tried this:

https://askubuntu.com/questions/871308/enabling-disabling-tu...

and put a 1 in /sys/devices/system/cpu/intel_pstate/no_turbo and it dropped the cpu frequency from ~2700 to 2200 according to the `turbostate` command. However, when I run i7z it reports a frequency of 3000 (maximum frequency without turbo), which is correct, and a frequency of ~3600 mhz (freq multiplier of 36x, which is one of a possible 40x, 38x, 37x, and 36x turbo multipliers) so I /think/ it is doing the right thing. I am going to assume turbostate is not correctly reporting the frequency using the correct multiplier, but that may not be true.

It is definitely scaling the CPU speed. And, anecdotally, it compiles things very quickly :)

What sort of investigations have you performed?

comment 9y ago · link · parent

Bought a 7520 and am keeping it on 16.04. could not be happier.

Highlights:

32 GiB of RAM

15" 1920x1080 FHD matte screen with no mic or webcam

1TB storage

Xeon processor (equivalent to top end Mac processor)

So... Many... Ports

Battery life with screen I picked is amazing

Ability to fully customize the beast

Painless Linux experience (truly).

Down sides:

Heavier than a MBP

A teeny bit of coil whine

Charger is 180W....and big too

Cost -- as much as a rMBP, but for the dollars the hardware is dramatically better in the areas I care about. Go spec it out if serious and make own decision though :)

I love this computer. I know some people may consider the 1920x1080 15" screen not as nice as Retina (you can get a Retina density display on the 7520 if you want), but I find 144ppi perfect for 15". Better than anything of yesteryear. Also I was able to get /exactly/ what I wanted at each option for a reasonable price and no compromises. Anyhow I can finally tell people this is a good idea if you are comfortable on Linux.

comment 9y ago · link · parent

That is a thing a lot of new brewers don't really understand about how to get actual hop flavor into your beer. In the initial boiling process when hops are added they almost solely contribute IBUs with very little flavor, because the boiling process destroys the delicate flavor compounds.

It is only hops added as the wort cools down, or during the dry hopping process, that contribute to the moral floral and piney flavors some IPAs have. This is why beers such as Dogfish ehad 60 and 90 minute IPAs are so popular, because they used a continuous hopping rate which meant many of the hop flavors end up in the beer and not just making it bitter.

Course experienced brewers know about hopping schedules and dry hopping, but...

comment 9y ago · link · parent

This is why common carrier status is so important. Snap can't possibly police it's user base.

comment 9y ago · link · parent

Seconded. It works and let's you build rules declaratively.

comment 9y ago · link · parent

I would be curious to see just how many active users there are when you take all the bots out.

comment 9y ago · link · parent

Heh. Will do. Sony Xperia runs Jolla, that is something. We will see. I am guessing it means sacrificing a little hardware quality, but we are all kind of spoiled as it is.

comment 9y ago · link · parent

Pixel is my last big brand phone. Next one needs to run Linux and not be tied to Apple or Google. It has all gotten a little too controlled and walled.

Pixel is an amazing phone and aside from the privacy aspects... I can't see needing more phone. The camera is better than any phone camera I have ever used.

We need to get away from the Android / iOS duopoly

1
646566
81