Better HN
topnewbestaskshowjobs
Log inSign up

srcmap

588 karma · joined Jul 7, 2013 (13y ago) · 348 submissions

www.srcmap.org

https://www.twitter.com/srcmapy

Submissions

comment 9y ago · link · parent

Raspberry PI's SOC is made by Broadcom. They did a decent job in open source that part. I heard even the GPU driver/library was opensource for PI.

GPU driver/library was definitively not opensource for the Freescale's IMX6 as far as I know.

Feel free to point out other issues with Broadcom opensource.

comment 9y ago · link · parent

This is the "Return of the Jedi" Episode where the Young Jedi finally able to bring Darth Vader back to the Light Side of the Force.

George Lucas predicted this in 1983.

comment 9y ago · link · parent

Maybe the pressure was slowly building up from investors/board. They wanted the returns, profit, path to IPO , VC's carry for the Nth largest site of the internet.

From the https://www.crunchbase.com/organization/stack-overflow, the first round was from 2010 - 7 years ago. USV will like to get their exit soon.

comment 9y ago · link · parent

I implemented a lockless IPC, DIPC - Interprocess Communication and Distributed IPC library in 2000-2002 time frame.

The library is used in vxWorks, QNX, Linux (both kernel and user space.) and tested heavily on Xeon SMP 1-2GHz CPU at that time.

For memory management, it was implemented in C++ and the message (Memory) Alloc/Free calls were all lockless. One can allocated a memory from kernel and send it as msg to user space and use it there without copy. The limitation is that the max allows messages are statically pre-allocated for the system. The library manages the pre-allocated pools of various sizes with lockless APIs. When the pools runs out, the API returns error.

The only primitive the library depended on was Atomic_Inc/Dec - absolutely no mutex, spin locks in the non-blocking API code path, etc.

The library was designed to support HA (High available ) TCP/IP stack and routing protocols. The APIs was not the complex. The most complicate part was the regress testing code and the diagnostic code. The API was used by team of 100+ developers. I need help them to debug complex IPC/DIPC issues - and prove to them when the error return, it was not the library/API issue.

There was a trace mechanism that track all the messages went thru the system(s). The trace system was also completely non-blocking and lockless, worked both in kernel and user space. All context switches in Linux Kernel was tracked - very similar to FTRACE in kernel today. I hacked the kernel/bios to preserve the DRAM content part of the trace system during warmboot. This way, I can recovered all the messages, last context switched info even for kernel hang, crash issue for postmortem. The trace system used rdtsc for time stamping had 0.5 nano-seconds resolution on 2Ghz Xeon CPU.

The API/Library worked fine. The overall system complexities was a big issue. We can demo TCP/IP, BGP and various routing protocols that did HA Switch over and In Service OS upgrade. But only as demo - and after switch over the state syncing took a long time and reliability of HA TCP/IP and routing protocol was an big issue.

Base on the lesson learned from that project - I went on and coded a different Application level HA system. That system based everything on top of standard Linux API/utilities. That works much better and the HA port of the SW took only 1 dev (me) 3 weeks to code. It supported in service SW (include Linux kernel) upgrade, HW/SW fault detected and automatically switch over. It was deployed in Comcast. Fault detection took < 50 ms and switch over is almost instance. Full state sync was done with wget over management Ethernet interface and always took < 1 second. All incremental states update were done over UDP and took 1 pkt.

The funny Biz/$ outcomes from these two projects:

The first one: startup sold only one HA router for $200k and burned 100M+ of VC $ but sold to Nokia for $400+Mil. I was able to paid off my mortgage with the options from that company - Not FU money but ok outcome.

The 2nd one: The startup sold $40M of products for $60K from that project to Comcast and various Cable companies at 60% margin. That product (with 19+ FPGA) was created/code/developed with ~8 HW/FW/SW engineers (including the 2 founders). The VC got "a seasoned CEO" - managed to raise a few more rounds, kick out the founders (MIT PhD), hired 160+ people and ran the company to the ground.

comment 9y ago · link · parent

The list forgot "Google Desktop Search" - One of my favorite google product.

I like it so much that I even found a old copy to install on windows 10. 6 years after it is discontinue and still much more useful and much faster than windows 10's search bar.

comment 9y ago · link · parent

I have a few old android phones laying around.

I have two app idea:

write motion activated camera app that stores motion activated pictures on google drive - special folder. Only me and my family have access to that google drive folder. Files will be deleted from that folder after N days.

   --- Turn your old phones to security camera.APP

Or another app can do time lapse pictures convert to movie where I can mounted on car's dash board and turn 1-2 hours trip into 10-20 seconds clip.

What do you guys think? Good, bad, there is an app for that already?

Any other idea?

comment 9y ago · link · parent

Become Uber car and start make $.

Or charge themselves if it is really idle.

comment 9y ago · link · parent

Personally, I prefer to see Google/Waymo start deport 1-2 thousand self driving cars/minivans in Silicon Valley near Google and FB's headquarters.

The near team (in 1-2 years) goal should be getting 20, 50, 95% of their own employees off the personal cars for the daily commute.

Their parking lot should be empty after 2 years.

comment 9y ago · link · parent

Nice info. Thanks.

Also what's the usage patterns for your HDDs? read/write/spin down/sleep time in term of life time of the HDD.

I assume mostly write, some read. But also very low percentage is active?

comment 9y ago · link · parent

Do you have any info on what temperature your drives are running on normally?

Love to see some performance stat to see if read /write IOP, MB/second, etc change over time on per model base.

Other than complete failure, do you collect check the any other early warning failure data such as ECC change over the life time of the drive? --- Would be a fun big data exercise for an intern to work on.

comment 9y ago · link · parent

Looks like a good case for class action lawsuit for all the surrounding farmers that have suffer damage from this.

There are scientific proof, clear documented $$$ damage, etc.

Any idea why it has not initiated yet?

comment 9y ago · link · parent

One solution is use rdnis over usb.

It allows ethernet connection over USB.

Once ip network is setup, you can easily run nfs, samba, vnc over that network interface.

A few years back when I worked on AOSP project, I dislike the tools from Android. I put a "ubuntu for arm" rootfs in a subdirectory inside a cell phone platform, chroot to that subdir. I have full ubuntu environment inside a cell phone. xfce4-terminal, ddd, nfs, samba - ~40k ubuntu packages all available with a simple apt-get install command.

As long as you have enough RAM, CPU cores, storage space inside a cell phone, it is very easily to setup.

If you keep the vnc server running, you can plug and unplug that cell phone to any desktops, thin client and your can instantly log back into the same GUI environment.

comment 9y ago · link · parent

A related public key news:

https://arstechnica.com/information-technology/2017/10/crypt...

It compromises the TPM 1.2 and Microsoft Bitlocker HDD encruption.

The researchers also scanned the Internet for fingerprinted keys and quickly found hits in a variety of surprising places. They found 447 fingerprinted keys—237 of them factorizable—used to sign GitHub submissions, some for very popular software packages. GitHub has since been notified of the fingerprinted keys and is in the process of getting users to change them.

The researchers also found 2,892 PGP keys used for encrypted e-mail, 956 of which were factorizable. The researchers speculated that the majority of the PGP keys were generated using the Yubikey 4, which allows owners to use the faulty library to create on-chip RSA keys. Other functions of the USB device, including U2F authentication, remain unaffected. Yubico has more details here.

comment 9y ago · link · parent

I went to Disney World/NASA space center in Orlando a few years back.

One impression I got was: For a place with some many water around, there were no mosquito and extremely quiet- no bird noise and no cricket noise at all.

comment 9y ago · link · parent

Learn from Israel - hack Kaspersky and do the code review from inside. :-)

comment 9y ago · link · parent

Any suggestion a good tools (good source one) on mac that can scan and detect this kind of malware?

comment 9y ago · link · parent

Here are my understandings:

   Today we are @ ~ 14, 16 nm. 

   When we get to 7nm,  the today's chip that is using 1 cm^2 size silicon can probably be build with 0.25 cm^2 size silicon die.  (IO pads are another factor).

   If "everything (mainly yield?) being equal ", they should be able build 4x amount of chips from the same silicon wafer.   Again, assuming IO is not an issue. 

    If the process cost, yield is similar, the new chips "can be" 4x cheaper OR they can pack 4 times # of transistors into the same 1 cm^2 area.   It can means more CPU, GPU cores, much larger L1, L2, L3 cache for the same chip size.


   When we get to 3 nm, they can build 16x amount of chips from the same 12 inch wafer. 
Or pack 16x amount of transistors into the same silicon area.

A good example is:

   * Apple A10:  https://en.wikipedia.org/wiki/Apple_A10

   16 nm:   die area of 125 mm2, 3.3 billion


   * Apple A11: https://en.wikipedia.org/wiki/Apple_A11

   10 nm:  4.3 billion transistors[6] on a die 87.66 mm2

Small die = more chips per wafer. More transistors = More CPU cores, GPU cores, etc.

So nm is definitively has REAL impact on cost of a chip and amount of features (transistors) one can pack into a silicon die. It is not a simple marketing term.

comment 9y ago · link · parent

"If you know your read and write patterns very well you can effectively use this for nearly asynchronous IO without the pains of AIO and few to none extra threads."

I have seen Windows File Explorer lock up over and over again for the same assumption. They assume the dir scan is fast operation. A slow, bad USB drive, NFS, Samba mount, or trying to scan directory with thousands of files will lockup the GUI for long period of time.

Dragging a file over slow/busy system icon with SMB mount will just spin / hang the whole GUI - not a very good UX.

comment 9y ago · link · parent

Like two teenagers arguing on school yard, the Russian can easily said "you started first":

http://www.telegraph.co.uk/news/worldnews/northamerica/usa/1...

comment 9y ago · link · parent

Designed realtime with Linux is non-trivial.

I worked on HA (Highly Available) system with Linux inside Xilinx's Vertex Pro PPC. It is redundant system with multiple fault detections and switch over if any subsystem detected failure.

There was one 250 ms hard real time requirements: If I am a slave and don't detect the master 's UDP ping for 250 ms. I will assume the master has failed somehow, I will start action and take over control as master.

The sub-system did trigger from time to time while the master is alive and working perfectly OK.

Eventually I figured out that one of the system API was using > 250 ms time. (Forget which one now, that was > 10 years ago.) I have to profile very carefully and redesign the code to get around that API.

comment 9y ago · link · parent

This remind me of debug a flight control problem with my son's model airplane.

We did a foam board stretch build of Model Airplane couple years ago.

https://www.flitetest.com/articles/ft-guinea-build

After we flew a few times, we added a servo to the cargo bay to be open and drop small parachute from it.

After than, my son kept complained that he would loss control for 1-2 seconds while the plane is in the air from time to time.

After research on the net, eventually I figure out it was the addition servo. Each servo in that air plane use about 1 Amp of current depend on condition. The 5th servo actually drew enough current that causes the remote receiver to reboot while the plane is in flight.

That was a fun bug to figure out.

The RC receiver is actually very good design which can be reboot and be operational in ~1 seconds.

comment 9y ago · link · parent

https://www.techpowerup.com/209925/nsa-hides-spying-backdoor...

This kind of stories doesn't seems to hurt the US HDD maker 's brand, neither.

Most of the world just don't care or don't have a choice.

comment 9y ago · link · parent

The story is almost like the 2008 time where wall street wiz kids package the mortgages to special mortgages back securities/contacts and resell them over and over again to banks, mutual funds, etc.

Hugh hype was created.

Last time: It was safe because it was back by mortgage.

This time: It is safe because it is back by crypto algorithm.

Last time few smart insiders got billions richer and unload everything before the bubble burst.

And the time ...... (Love to see all imaginable endings to this time's story - good or bad)

comment 9y ago · link · parent

"earbud in both ears"

One of my co-worker got a ticket just for that alone.

I seems to remember it was $400 ticket.

comment 9y ago · link · parent

Also, the Chinese government's main goal is maintain 6-7% economic grow and by any mean possible.

It will do anything possible to expand manufacture base, use all necessary means to acquire, absolve, develop, own technology/market.

US government/society has diverse conflicting interested.

   * Walmart wants import.   

   * Consumers wants cheaper goods. 

   * Defense industry wants war.   

   * Biz want less regulation.

   * Environmentalists wants less/no pollution. 

   * Other groups want more/less spending/tax on their own pet issue/projects.

comment 9y ago · link · parent

I have good experience email police department and CC any public official email addresses you can find - Mayor, City Manager, Head of Police, local city council men/woman etc.

The elective public officials seems to response to these emails very fast and the head of police is CC.

The public official will put your email to their own email list - I don't mind that and support them if they act to provide solution to the community problems.

comment 9y ago · link · parent

Unfortunately attack surface on AV also includes Windows Defender itself:

https://arstechnica.com/information-technology/2017/06/lates...

comment 9y ago · link · parent

I use the windows firewall to block all apps' out going tcp connection except firefox and chrome. It works well.

All apps includes IE, Edge, svchost etc.

"netstat -nbt" is the command I used to monitor all outgoing connections. Anything I don't like, I block it with firewall.

Windows 10 is usable after that. CPU usage go from normally 30-50% to 5-15%. The Laptop CPU fan doesn't kick in anymore.

Windows also doesn't wake up in the middle of night and doing P2P network to provide network bandwidth to update my neighbor's computer anymore.

It is even more stable and faster than the latest MacBookPro I used at work.

If someone know a similar method to block Mac's App's outgoing TCP connections, I love to know more.

comment 9y ago · link · parent

Those professions also likely to view all arguments from both side of issue all the time.

Probably more likely to reach an agreement when their own disagreement is on the line.

If a client is paying you $400/hour to disagree with the other side, then why not....

comment 9y ago · link · parent

I like to see Android add System GUI to monitor:

* all apps (including daemon processes) that makes internet connections.

* Where they are connecting to.

* AND give user to GUI/Options block those connections.

I also want Android give users option to audit/monitor all new programs, .so, files that has been added to the systems and by which program, time.

If there are suspicious file that is added to the system, we can audit/monitor/report/google where it comes from.

In Windows 10, I use netstat to monitor all TCP connections and get the name of the programs and configure the windows firewall to only allow Windows Firewall/Firefox and Chrome to access internet and block IE/Edge/svchost/SearchUI and countless other SW from access internet. My system is so much faster and stable, after I did this.

1
789
12