HNHacker News
TopNewBestAskShowJobs

srcmap

588 karma · joined July 7, 2013

www.srcmap.org

https://www.twitter.com/srcmapy

submissionscomments
srcmap··on Amazon device recorded private conversation, sent it out to random contact
If a "call" skill is accidentally triggered, before it is sent to any email addresses, it should tell user "N seconds of voice was recorded and about to send to ....", please said "Send" to send, "Play" to play back the message, etc.

The default must always be voice recording will be auto deleted after 1 minute if no response is heard. It should let user know about that too.

srcmap··on The Stuxnet worm may be the most sophisticated software ever written
If someone adds a layer to OS's file system such as only the know good white list app, exe, .so, .dll, .sys files with complete crypto-hash signatures are allowed to run in "lockdown" mode.

Everything else are reported and blocked.

Would it be enough to prevent such worm?

It would be interesting exercise to take an old exploitable OS (Win XP, or 10 years old Linux with known issue) add such layer to it. Put it on internet as honeypot and see what other kind of inflections it might get.

srcmap··on TSMC Kicks Off Volume Production of 7nm Chips
There a quite a bit of them already - just google it:

https://www.google.com/search?q=7nm+tapeout+press+release&cl...

AMD, GPU, FPGA, etc.

srcmap··on BPF, EBPF, XDP and Bpfilter
Any benchmarks data?

How many flows/stat does it keep track? What are the additional latency, etc?

srcmap··on Pinebook: An Affordable 64-bit ARM based Open Source Notebook
2W when idle is very high.

Are you sure it is just the Core A53 or is it measured in power/battery connection which account for the display, wifi, DDR, IO, etc?

I did power profile for cellphone SOC couple years ago. Typical power usage for CPU is very low - milli-watts or less range for IDLE, worst case 1-2 W at full performance mode OP (Operating Point).

When I profiled it, the Display, Wifi module consumed a lot more power than CPU/SOC during "normal" operations.

srcmap··on Personalized Hey Siri
What's the technical reason to limit the wake words to only "Hey Siri", "OK Google", etc?

Should one be able to "Personalized" to his/her own phase PER Device such as "Hey Commander Data" for Iphone 6, "Hey Counselor Troi " for IPad Pro or "Ok Skynet" for the google phone?

That should also solve the problem where someone said "OK Google" in TV Shows/Podcast and wakeup all the google devices.

With the latest "Deep Voice" tech, the device should be able to response with the actors' voice too.

I remember seeing a clip of Chinese TV show when the actress said (in Chinese) "Honey, Honey where are you?" and the phone on chair wake up and said "Honey, I am here, I am here. " And tons of folks in the youtube comments ask "What kind of phone is that and I want it!". I told my wife that and she immediately said she wanted it too.

I still don't know which brand of Chinese phone actually has that features or if that was just imagination of the TV show writer. Someone should build and and I know my wife wants it.

srcmap··on Fifty or Sixty Years of Processor Development for This?
"Moore’s Law are Dead" only for CPU.

Moore's Law is alive and progressing at the same rate for GPU.

Applications such AI, Crypto-Currency are leveraging that.

srcmap··on Microsoft is putting Windows on the back burner
Good to know. Thanks

I tried insider for a few months and found the frequent updates too much, have some stability issues and stop it. Maybe it is a good reason to to start it again.

srcmap··on Microsoft is putting Windows on the back burner
Just installed Xming, "apt install xfce4-terminal".

DISPLAY=:0.0 xfce4-terminal &

After that, it about 90% of typical Unix setup with all the control key bindings for copy-paste, etc.

I wish WSL 's bash environment can run windows programs/utilities like Cygnus.

srcmap··on Foxconn buys Belkin for $866M
Just check if they are compatible with dd-wrt or openwrt and flash it with opensource build.

Much easier than flashing cell phone and the open source version normally has more features also.

srcmap··on How the West Got China Wrong
There are a lot competing interests from the west about China:

Some (Walmart, Apple, HP, Dell) want it as cheap workforce.

Other (Boeing Airbus, GM), want to sell things there.

Some in academy/press wish China can be democratic society.

Some in Military would like to see a strong opponent for another cold war style military build up.

China was able to see all them and sail / leverage along all the competing interests for their own benefits in the last 30 years.

srcmap··on China using big data to detain people before crime is committed
If someone is taking fly training of commercial jet without wanting to learn how to land the plane, I absolutely want the government to find out why.

Same for someone who want to purchase large quality of fertilizer for no real needs.

srcmap··on Tesla’s China Dream Threatened by Standoff Over Shanghai Factory
If Tesla wanted, they probably can let the Join Venture do some assembly works and keep critical battery, Self Driving SW, etc IP to the main company.

Not much diff than AirBus has join venture in China for some Airplane assembly works. But it certainly didn't share all the Jet Engine technology, Filght Control Software etc with the Join Venture in China.

China knows that it has big market and would like leverage to get more benefit from western companies who like to access that market.

It is just business.

srcmap··on Nokia sold 4.4M smartphones in Q4 2017
I remember the old "cool" cell phone platform cycles are 3-5 years. StarTac, Moto Razor, Nokia, Blackberry, etc.

The current smartphone platforms probably will last a lot longer - probably because of the App ego systems. I was thinking that IPhone might drop off around 6 years after it was introduced.

srcmap··on How to Design a New Chip on a Budget
The article mentions "Magic" as open source design tools.

I was hired by UC Davis as Summer Intern to work on porting it from X10 to X11 in 1988.

Very cools to see it still around and being used after 30 years!

srcmap··on SpaceX’s Falcon Heavy successfully launches
They should name the landing "Double Eagle" or "Double Falcons".
srcmap··on AMD Returns to Full-Year Profitability, Forecasts Strong 2018
Thanks,

Try the edac-util on 5 of 30+ or so servers.

   "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz" with 128G RAM each. 

   edac-util: No errors to report.

System uptime ~30+ days. We recently have to move those servers. I wish I check this command before the move. The uptime should be 600 days + for some of the servers.
srcmap··on C++ and the Culture of Complexity (2013)
I don't remember. Long time ago.... Likely just steps inside makefile.

Not really a big fan of the Mac at that time - It was before Steve Jobs came back and merge the OS with Next? The Mac was very unstable. I remember it crash 3-5 times a day for my daily tasks - editing, cross compile.

srcmap··on BitScope: 3000-core Raspberry Pi cluster computer
Any comments on using Pi Zero as base line module?

  Supposedly only $5 per PCB from  
       https://www.adafruit.com/product/2885


  Power and network can go thru usb. (usbnet)
srcmap··on AMD Returns to Full-Year Profitability, Forecasts Strong 2018
Is there any windows / linux utility that shows the number of ECC errors corrected since the boot?

If not, AMD should write and promote one.

Very curious on how often it happened for normal home/offic usage.

I used to work for a silicon company who took a embedded network switch system with ECC logic to some nuclear lab for testing to verify/showcase the ECC functionalities.

srcmap··on C++ and the Culture of Complexity (2013)
Forgot to mention couple other design decisions:

  No new, delete operators in any C++ code. 
  ISR code was also in C++.

  All objects are statically allocated - with 4MB of SRAM, one can easily see why.   It allows tightly control memory usage by the developer. 

  All regression tests are automated.   There were test scripts for all functional HW/SW components.  Found one bug triggered  in 24.9 days time frame (31 bit timer counter wrap around for 10 milliseconds timer call) - from that point on - all firmware release pass 3 months continuous test on multiple systems before release.  


  Agree with your point: Dev culture matter a lot.   This was a mac (powerpc mac) base dev house.   C++ was the big thing in the SW (Mac) side of the dev team.    


  In my career, I worked on  15+ projects - most were embedded system projects.   Only two projects are C++.   The other project only small subset is C++.   On this project - 90% of code base running in target are C++ and full OO design and 80% of the classes reuse from other projects.
srcmap··on C++ and the Culture of Complexity (2013)
I used C++ for embedded CPU 68332 (25 MHz CPU) with 4MB of SRAM in ~1996 for DNA sequencer machine.

~100 + classes, single inheritance, 1,2, 3 Axis motor controls, CCD Camera, Laser, serial com channel, scripting engines, etc.

No template, no virtual functions. Worked very well at that time.

The compiler setup at that time is AT&T cfront generate C from C++ code ran in Mac and embedded C cross compiler generated the target code.

The classes are shared within company for different machines (biotech robots) to maximize code reuse.

srcmap··on It’s About Time for Time Series Databases
Just tell them SQLite is used by ALL Android / iOS phones (billions of them) to store user's critical data.

I have not heard of any cases of SQLite failure in phone, or anyone needing a DB admin to recover their phone contact data.

srcmap··on Firefox 58
FF should put up a "red flaming" icon on the tab with high CPU usage - similar to audio icon on the tab with audio output.
srcmap··on Facebook to Let Users Rank Credibility of News
Perfect for collecting more user attributes and use them as future "targeted" advertising.

Future Republican candidates can put out FB ads only target Orange County Voters who dislike CNN's news article on Trump.

Democrat party can put FB ads asking for campaign contributions only from folks in SF that like CNN's news article on Trump.

srcmap··on Learn FFmpeg the hard way
Probably good to document those use cases, collect sample clips and contribute back back to the project as test cases.

Help improve the project for everyone.

srcmap··on An Experimental Course on Operating Systems
Is the goal of the this class teaching student how to re-write the Pi3 's kernel/driver in Rust?

It is not that clear from the course syllabus.

"This course covers the following topics:

Disks, File systems, I/O, Threads & Processes, Scheduling, Virtual Memory, Protection & Security, Interrupts, Concurrency & Synchronization."

In theory, if those are the goals, one doesn't need Rust as part the first week's lecture.

Rewriting the Kernel in Rust sure makes a very interesting (and very tough) way to learn OS in 3 months.

srcmap··on Jack in the Box CEO: Swapping cashiers for robots 'makes sense' as wage increase
Make more sense be just an simple "App" in phone.

Customers drive to a store, order with the app, wait in the car or in store. When the food is ready, pickup in drive thru/in person.

Also, with the "App" it is easier to "log" customer's preference, allow customer to feedback on quality and select from older orders or suggest trying out new choices.

srcmap··on This 15-foot tall mech weighs 8,000 lbs and can run 20 mph
Doesn't require road...

Can go where no hummer has gone before ?

May also help firefighter carry heavy load for forest fire.

srcmap··on Meltdown Proof-of-Concept
From the papers, these two bugs are also exploitable from ARM.

Does it mean a hacked IOS/Android app can also (in theory) sniff the password enter in system dialog as demo in the video?

   Realtime password input - https://www.youtube.com/watch?v=yTpXqyRYcBM
← PreviousPage 6 of 12Next →