HNHacker News
TopNewBestAskShowJobs

atamyrat

452 karma · joined May 11, 2009

web: ata.sh twitter: @atamyrat
submissionscomments
atamyrat··on Bram Moolenaar has died
For me, vim means muscle memory. I can say that it has become part of me!

RIP Bram Moolenaar

atamyrat··on The faulty digital clock problem
Also check out z3 library for solving constraint satisfaction problems.

Python binding examples (https://ericpony.github.io/z3py-tutorial/guide-examples.htm) has really cool similar problems and solutions.

atamyrat··on Ask HN: Why are SIM cards still a thing?
SIM card provides hardware-based, simple and secure authentication of subscribers to mobile network operators. Until manufacturers start to embed standardized secure element on all phones, alternative software based solutions (password, etc.) are more complicated and insecure.
atamyrat··on Spraying Magnetic Stripe Cards with Iron Filings
You can use laser printer toners to get same effect! They are magnetic as well and might be easier to get.

It's also easy to get better contrast - apply transparent tape to magnetic strip, remove the tape and put it on top of white paper. You can clearly see strips.

atamyrat··on Now, I can see wifi signals
What about beamforming? Wouldn't signal strength depend on locations of connected wifi clients?
atamyrat··on Russian programmer fights Goldman Sachs and wins one round
I don't know details of this case but it's very unlikely GS was violating any FOSS license for just modifying code (assuming internal use only).
atamyrat··on The Matrix in JavaScript in less than 600 bytes
The closest environment I got to work with Matrix-like UI but real experience was:

There is board I'm developing on with serial port, and kernel debug prints so much garbage it literally fills the entire screen in less than couple of seconds. It was because of faulty/broken hardware and there is busy loop that keeps retrying to access the device.

I could enter shell commands but I/O lines get mixed in between the verbose kernel debug lines. After some time my eyes synced to the screen scroll rate and I could follow the output from bottom to top to read it (repeatedly run command until I could catch the output correctly).

For the moment, I saw "blonde" in fast scrolling random code :) Anyone else had to work like this?

atamyrat··on Why Use Make
Not really, depends on definition of "close", i.e. how you measure distance. If closeness means distance in search space, then you're right, but it also could mean local vs global are close in value being optimized, but they are located far from each other in search space.
atamyrat··on Fabrice Bellard: Portrait of a super-productive programmer (2011)
Also not to forget the LTE/4G base station implementation running on PC. http://bellard.org/lte/
atamyrat··on Critical SSH Backdoor in multiple Barracuda Networks Products
> Remember most of these do intercept -- they have an SSL CA cert which is trusted by all your business client devices, to do MITM. So, if you pwn the box, you can pwn all the SSL traffic at the target company, too. It's an excellent place to attack.

I really hope this certificate is not installed/trusted by default on major browsers. Can somebody confirm it?

EDIT:

https://www.barracudanetworks.com/news/press_release/33

"Transparent deployment of this enhanced SSL Inspection feature requires deployment of a trusted root certificate on client Web browsers."

atamyrat··on Astrology For Businesses
Another anecdote: investor decided not to invest in a startup because his astrologist advised against it. The date company founded was not a "good" day. Yes, investor actually called founders to ask for this piece of info, as far as i remember the story. :-)
atamyrat··on How Georgia doxed a Russian hacker (and why it matters)
It's quite funny and genius. Article says that malware used by Georgia is not specified, but from original PDF report it's clear that they have used his own exploit to attack him!

From PDF: "then gave Cyber Attacker Fake ZIP Archive with his own virus inside and the name “Georgian-Nato Agreement”."

It was possible because they already had an access to his C&C servers.

atamyrat··on Breaking Bad, Microsoft, and Ecosystems
I recommend Breaking Bad, there's some startup lessons there.

On S03E10, entire episode is Walter and Jesse trying to catching a fly. One small fly inside huge lab. Jesse wants to give up and continue cooking, but for Walter, this is absolutely critical issue. I thought this episode was quite boring, but then Walter explains himself and it finally hit me: It was like assertion code failure, something that should not ever happen under your assumptions. You don't just ignore assertion failures. Code could still work and you can still ship it, but that code is not what you think it is anymore. This small fly in lab is going to ruin your entire product. Drop everything and catch that fly first.

Another interesting thing is, you can understand what it means to "know your metrics". They have pureness metric to scientifically measure their product quality. Pureness is what makes their product best in the market and they never compromise on it. It is interesting that how they keep an eye on it and why it matters.

atamyrat··on What number is halfway between 1 and 9?
I don't think Benford's law has anything to do with human psychology, it's more of mathematical property that applies to random sample from certain distributions.
atamyrat··on Mihai Pătraşcu 1982–2012
Here is one more about data structures: https://gist.github.com/73b62f3f34cb59a2913b

Rest, I think they are bit personal.

atamyrat··on Mihai Pătraşcu 1982–2012
Here is his first email: https://gist.github.com/25be1b58f169bf2a7d90
atamyrat··on Mihai Pătraşcu 1982–2012
When I was at high school, he was my hero and role model. He won IOI gold medal twice and was studying at MIT back then. What he had achieved was my dream and I wanted to follow his steps. So one day, I decided to write him an email, asking for his mentorship. To my surprise, he wrote a lengthy response.

For next couple of years, we exchanged few emails. His advices and tips ranging from college applications to solutions to technical problems were invaluable. He is the man who inspired me to achieve my goals. It's unfortunate that I didn't have a chance to meet him in person.

My condolences to his family and friends.

atamyrat··on Oracle v. Google - Judge Alsup Rules APIs Not Protected By Copyright
I suppose linking to a library is quite different case than re-implementing it with the same interface.
atamyrat··on Show HN: dcpubin - a pastebin for DCPU-16 programs
Just wrote my first assembler program ever! Thanks, OP.

Prints factorial table (2 columns - index and result) in console display.

http://dcpubin.com/eshsuZqgq

atamyrat··on 4chan "blacking out" (or, "spoilering") all comments as SOPA protest

  Surf Safely!
  This Website is not accessible in the UAE.
Oh, irony..
atamyrat··on Concurrency and Redis
Good point, never thought about decr failing!
atamyrat··on Concurrency and Redis
I've used counters in Redis for mutex control. If incr returns 1, it means we have succeeded. Otherwise it decrements it and tries again after 1 second until it suceeds.

Here is the code: https://gist.github.com/1062584

atamyrat··on Reverse engineering the Mac ‘breathing’ LED
Hmm why can't you construct the signal amplitude from webcam image? You don't have to capture it as digital signal...
atamyrat··on Ask HN: It's 2011. Why is web encryption still coupled with verification?
Well, you will have to look at the server's key fingerprint, looking at the URL will not be enough.

If you're being MITM attacked, you will still see trusted.example.com in URL bar.

atamyrat··on Thrift vs. Protocol Buffers
I don't think network overhead is the problem here, it is about ease of development. Thrift generates working server code and you just have to implement RPC functions. On PB, you need a stack to handle connections, parse messages, dispatch, etc.
atamyrat··on Thrift vs. Protocol Buffers
If anyone is interested in solving this problem, please check out CyPB https://github.com/connexio/cypb

It is not ready for production use yet. Please help us by testing and submitting bug reports & patches!

atamyrat··on IBM's infamous "Black Team"
Can't we get Mythbusters to do it?
atamyrat··on Wozniak: Innovative projects, not tests, should determine a student's grade
That sounds like my dream hacker college. As a drop-out myself, I am thinking of going back to school sometime in the future, and wondering if SLC might be right place for me.

If you don't mind me asking, why did you drop out? Were there anything wrong with the school/system that made you move to SF without finishing your degree, or was it only for personal reasons?

Would really appreciate if you could share your overall experience at SLC.

atamyrat··on Zed's new project: Vulnerability Arbitration
I think point of hashing is to prove that researcher has indeed found the vulnerability first and reported it to the vendor. It is proof for "this summary was written by me 2 months ago".

Hash must be posted to some archived/public place (tweet, mailing list, etc) that can be referenced at later date when actual summary is released.

atamyrat··on Google open sources "Contracts for Java"
Yes, it is impossible. See: Halting problem.
Page 1 of 3Next →