237 karma · joined December 14, 2011
git is written by Linus, open source, whole algorithm is based on file content change detection, base on hashes, etc.
If my server software is corrupted initially by XXX gov agency at the Debian website, well, I can't do anything about it. If someone did management to add any additional software to the server after I add all file contents to git and clone it to a different server, I have strong confident I can detect any changes happen in the system with ease.
Patio11, I have great respect for you works, blogs, etc. Assume you can hack/overwrite any piece of code in that server to anyway you want, what kind of changes can make so my git clone/backup system failed to detect your changes?
Even if you can hack the git executable to tell me nothing has changes, I think when I do a remote git pull with the original git binaries, I can see the modifications. Right?
Would adding them to the git help detect this?
cd /; sudo git init; git add /etc /{bin,sbin,lib} /usr/{bin,sbin,lib,local} ... ; sudo git commit
git clone / into another remote server, and I can git diff from time to time to see if anyone/code mod my system.
One very nice side effect of this system is that I got to know in details what files were modded and added when ever I did an "apt-get install ..."
Questions for mac Guru: 1. Have anyone done this in Mac?
2. Any pro/con on why, why not do this?
3. Other than, /{bin,sbin,lib} /etc, /usr/{bin,sbin,lib},
What other dirs should I add?
What's best way to handle /Applications/ (25GB ) ?
4. What other dirs can a worm,virus, hide in my Mac?
Any good dtrace scripts to help monitor who/what is writing to those places?For now IMO the winners are: Google, Facebook, Twitter, Apple(on the top but sliding down?), Amazon, US Gov, NSA, CIA, FBI, KGB, Russian Gov, Chinese Gov (win by block out others), Badu, Alibaba, WeChat, Line, SnapChat,
For now, the losers or losing players are : Yahoo, Nokia, Windows Phone, BlackBerry, Liberian Gov, Ukraine, Egypt(almost?), Most of Japanese Electronic firms.
BTW, if you checkout the salary level at glassdoor.com, a good engineer/developer salary level is higher than most of the "PM", Director. A lot well run company knew this and respect this.
Personally, I was moved to Marketing/PM type of roles for a while, hated it. Too Much politic, a lot depending who you know, party with, etc.
Good engineers/developers got respect from what you know and how well you code, understanding of issues and formulate/architect a solution. Ok, I am a geek.
Not sure about the ~5MB/tab figure.... This is FF 32.0.
Not yet an outcry, definitively discussions, humors, etc.
If the battery container is blend out of shape a bit, would it potentially cause small short in part of the battery somehow? Would that start a fire for the rest of the battery.
If this is the case, wouldn't the probability of car catch fire might be higher?
An easy test might be take a few batteries and start shoot them with nail gun and see it get shorted/heatup/catch fire?
If it does catch fire, put a 5 mm sheet there and see how many nails and how big nails can get it to heat up / catch fire?
If any of the above tests can get the battery catch fire, I would be very concern if I am an Tesla owner.
The growing up of google felt like story line of Starwar.
Judi night grew up and felt the power of the dark side. :-)
Also remind me of another line: If you're young and you're not a Democrat, you don't have a heart. If you're old and you're a Republican, you don't have a brain.
Google has "mature" now. :-)
The web felt less creepy now.
go hopefully can last as long as some of those languages - but with the speed google is canceling projects......
Still making living from good old C.
"go" is just one letter too many to remember. :-)
One main different between C and go is this:
C can type cast any mmap pointer and de-reference it got the values (pointer, offset to other locations) extremely fast - < 0.01 micro-seconds (assuming page is swap in.) BTW, I do track C line code execute time nano-seconds resolution all the time. It is not difficult to do with RDTSC instruction. It gave you timing resolution in term of CPU clock cycles - 1 2GHz CPU clock cycle = 500 picoseconds, One can easily see the system paging and context switching info from those resolution.
In C code, that is only a few assembly instructions. In go (or other GC type language) that one operations is translate to multiple C functions calls. That's probably tens if not at lease hundred times different in pure CPU cycles.
When one has to do this hundreds of millions times, that usually makes huge different in overall execution time. I personally know a lot of test cases that means minutes to finished certain operations v.s. days (+GBs of RAM).I developed software system with hundreds of millions to a few billions data entries items in the core object store (C++) and need to very fast access time. There are needs to open/load/read those objects in database in very fast speed (< 0.01 seconds). When I profiled those operations in early version of the code, the biggest bottleneck is always the malloc/free when the system reached > 10 millions records.
To get around those limitation, I end up design the data structures / datastore that eliminated the malloc/free, new/delete and do my own memory manager to map all the info directly to the structure in the file via mmap and do my own sub allocations. With those, I can get everything in < 0.01 seconds constant access time regardless the size of the database. (from startup of the program to return the value to client.)
I think all modern day database or BIG DATA type system app depend on its own custom memory manager. My theory, a language that depend on garbage collection can not be used in those big data app design.
I love to be proven wrong by someone re-implement the mysql, (or even just sqlite) in "pure golang" (not sqlite driver in C) that can provide similar level of performance with golang's garbage collector compare to sqlite's C counter part.
The use case I care about is DB size of 0.1GB - 50 GB with hundreds of millions of records in the DB.
Governments don't like challenge to its power. They will find ways to control the Jedi Council.