HNHacker News
TopNewBestAskShowJobs

quackerhacker

768 karma · joined March 12, 2013

My life is like Where's Waldo...except I try not to be the guy in Red & White. I'm just a convicted hacker (google me) building my reputation and sharing insight.

SimpleMike.com

twitter.com/MichaelLargent

DrQuackerHacker at [whatever google's email service is] .com

my public key: https://keybase.io/michaellargent my proof: https://keybase.io/michaellargent/sigs/pPMSduqSWx1A-8EDr1Y7E9FFIHpvcy2_e8eWT3fZ16Q

submissionscomments
quackerhacker··on How Discord Handles Two and Half Million Concurrent Voice Users Using WebRTC
If Discord is basically proxying the raw packets from one client to the others, isn't that wasted bandwidth (for discord, not the clients). I understand from the post that the goal would be to mask the ip of the users, to shoulder user privacy and the ddos vector. Kudos on silence detection to save overhead.

So video w/audio broadcasting has to be compressed client side, then proxied through Discord's media servers, to the end user's. That's pretty smart...I just wished that I could send my raw stream to a LAN host so I could offload the compression, and allow my LAN host to provide delivery (I'm a nitro user).

quackerhacker··on How Discord Handles Two and Half Million Concurrent Voice Users Using WebRTC
So I have an affection for Discord...so I appreciate posts like this.

>"Using the WebRTC native library allows us to use a lower level API from WebRTC (webrtc::Call) to create both send stream and receive stream."

So I'm gathering that discord's voice servers receive multiple persistent connections, then compress the audio streams for delivery to each end user. THIS part is where I can't imagine the on-the-fly cpu usage. Each client's receiving compression needs to also negate their own audio to prevent an echo effect (no point to hear your own voice), but it also means separate compression streams per user.

>" All the voice channels within a guild are assigned to the same Discord Voice server."

I imagine this helps significantly with I/O in converting live streams into 1 stream per end user. I've dealt with video compression (only in ffmpeg) and live syncing time stampings, and I can say from experience that, this is no easy feature. I understand this is audio streams (so lower overhead), but still the persistent voice server needs to handle the incoming connections, web socket heartbeats (negligible), compression (high I/O), and deliver the streams (high memory usage too).

I'm impressed, but would love to hear the specs on the media servers and their DL/UL speeds. My old setup to deliver live video (in sync and compressed) was 6 mini-itx's, 4GB of ram per board, and i3's...my bottleneck was my isp, which I solved with multiple docsis modems and an internal switch (each board had 2 ethernet ports).

quackerhacker··on Google Fiber Is High-Speed Internet’s Most Successful Failure
>"The overall goal: to ensure at least 100,000,000 Americans had access to broadband speeds of 100 Mbps by 2020. As it turned out, providers blew past that milestone as early as 2016."

First gripe....why oh why could they not make that goal for a symmetrical 100Mbps and not just focused on the DL speed.

If the push is to 5G, I'd welcome it, if the mobile carriers opened ports on consumer plans. I've cherished my coveted unlimited iPad data plan with att used in my mifi with a yagi that points right at the service tower. It regularly sees over 250Gigs a month (check my twitter for that pic).

quackerhacker··on How and Why Silicon Valley Gets High
It takes about an hour before I can start churning clean code and start any code reviews, so I think I’m ok. Really, it’s the 3 in the afternoon feeling that is the drain for me. Alertness fades and I can’t even listen to music without an occasional syntax error.
quackerhacker··on How and Why Silicon Valley Gets High
As a coder, the only real drug I’ve ever really needed has been caffeine. This didn’t start until recently so I’m not sure if I can attribute it to age (early 30’s). My real dependence on caffeine is mainly due to staying up too late the night before (like right now, about 0200 here) and needing to get up and function with 5hrs of sleep and maintain my mental acuity for the workload I have.

To give you an idea of my caffeine intake...about 2 venti black coffees and an 8oz Red Bull.

quackerhacker··on How to print an electric motor
> "I’ve been able to almost double it by adding a ferrite sheet to the back side of the stator coils to contain the coils’ magnetic field lines."

I never heard of a ferrite sheet, completely awesome! I liked the article, but IMO the title is a little misleading. What I gathered is that he 3d printed the rotor only. I'm assuming the actual 4 layer pcb was etched. The rotor was still wound manually. The hall sensor still soldered by hand.

The print notion implies production automation, which is my only gripe. His hackaday has a more accurate title "PCB Motor".

quackerhacker··on Hey Google, tell me something good
> “Tell me something good” isn’t meant to be a magic solution.

From a user aspect, I'd imagine the news that's curated to me would be arbitrary. A better phrase for Google to listen for is..."What a shitty day." Then Google could counter with "today may have rained shit for you without an umbrella, but these people are enjoying sunshine."

I'd laugh from the sarcasm, and who knows, it might drive up some sales for Google after I break my Google assistant and have to buy a new one.

Needless to say, I prefer laughter as my cure all over positive news that makes me look on the brighter things. On a positive note to my fellow HN readers....HAPPY FRIDAY!

quackerhacker··on How an International Hacker Network Turned Stolen Press Releases into $100M
I don't see that implication in the article. I think you're referring to this part "your guys were detected. They were trading with very big money and there was a lot of fuss about them, about how it’s not the season and when it was the season they traded."

This excerpt most likely implies that the inside trades were for commodities (future contracts) and was sent to one of the relative people involved in the hack.

What would be irony (but of course is speculation) is if any of the brokerages that the hackers submitted trades thru did front-running (matching their trades at entry).

quackerhacker··on How an International Hacker Network Turned Stolen Press Releases into $100M
There absolutely has to be tech analysis of a trader's entire portfolio or majority of their trades in order to really investigate before it passes off to human review.

The real beauty in this statement is the merging of fundamental analysis (news releases, ect.) with tech analysis. I don't mean tech analysis in the context of pivot points, sma's, rsi's, ect...I mean tech analysis on the evaluation of the winners of a significant price movement and their entire trades and current portfolio. THAT is the mind boggling algo.

Just b/c a trader makes x amount on a move doesn't mean they had privileged info. A tech eval has to eval their entry and exits to see if they were prime/ideal moves and most importantly their order size and order type, but it ultimately comes down to pattern evaluating their order history across multiple assets and see if their transaction history is generally successful and positions are taking prior to news release...then flag for human review and substantiate evidence.

quackerhacker··on How an International Hacker Network Turned Stolen Press Releases into $100M
"Their algorithms are designed to pick up on stock prices fluctuating before major corporate announcements, indicating that those buying or selling have insider knowledge..."

As someone who has coded high frequency algos that tracked orders and fill rate velocity, I love this little tidbit of knowledge that FINRA utilizes it's own types of analysis. It intrigues me to imagine the accuracy and dismissal of false positives. sorry nerding out on the tech

quackerhacker··on iPhones 'disabled' if Apple detects third-party repairs
I haven't experience any error 53 codes on the devices I've repaired, but if this is true... Wow! That's really shady of Apple. I'm starting to get the feeling that the moves they're making (like charging for Apple radio [not Apple music], and now disabling phones with unauthorized repairs) is their response to their recent report of declining iPhone sales. Disappointing if this is true that these changes are at the expense of their end users and fans (and I am a fan).
quackerhacker··on Google achieves AI 'breakthrough' by beating Go champion
So does that mean now companies can have their AI programs compete against each other in a Go match for the "title."
quackerhacker··on How the CIA Might Target Apple's XCode
The article is very short and vague...just go tot the direct link it is referring to: https://firstlook.org/theintercept/2015/03/10/ispy-cia-campa...

I think this part is the most interesting: by manipulating Xcode, the spies could compromise the devices and private data of anyone with apps made by a poisoned developer

I know iOS allows us to block an app from utilizing data over cellular, I guess the concern would then be on wifi networks.

quackerhacker··on Goodbye MongoDB, Hello PostgreSQL
I've been using mongo on 39M+ records (tracking financial tick data) across 73 assets (collections) and my queries take anywhere between 2-3mins depending on complexity.

You can always run db.currentOp() in the mongo shell to see what process is taking forever as well.

Let me clarify why though, there methods of optimizing a query by adding another field, but since I have to traverse my records with the sort() cursor my queries take that long.

quackerhacker··on MacBook Pro Repair Extension Program for Video Issues
I have applecare for my 15 MBP w/retina (THANKFULLY), and I can attest that I've had to have Apple replaced the logic board twice. Both times, the screen's backlight would just go out.

Great to hear Apple is doing this, but then disappointing that it's even an issue for a $2k+ laptop.

quackerhacker··on Coinbase Exchange
Wow, just looked over the API, this api method GET /currencies, gives me hope that in the later future Coinbase will provide exchange rates for foreign currencies. That would be amazingly awesome!
quackerhacker··on Feds Threatened to Fine Yahoo $250K Daily for Not Complying with NSA's PRISM
Just seeing the dates that the companies complied (or were forced to comply) is disappointing. A full year after Steve Jobs passes and stepped down as CEO, then Apple is added to that list.

Way to go Yahoo for sticking it our then.

quackerhacker··on The Arachnids That Live on Your Face
I wonder if I'm the only one who gets annoyed by how many suggestions of evolutionary theory there are in the article.

we acquired our mites from our ape ancestors...

as early humans walked out of Africa...

I believe in evolution...but I believe in misinterpretation a lot more.

quackerhacker··on Uber's playbook for sabotaging Lyft
It's amazingly sad that instead of competing through innovation, marketing, or price adjustments...that capital would get devoted to competitor sabotage of QOS (almost like a real life DDOS attack). What a terrible usage of capital and resources!
quackerhacker··on fork() can fail
Sometimes these threads are just serendipity!

I just recently finished a multithreaded program where I found obtaining the pid [on linux: getpid()] of child processes spawn was only effective by utilizing a common pipe that was non-blocking [fcntl(pipefd[1], F_SETFL, O_NONBLOCK) ].

In other, more humorous words, as a "parent," it's great to know what your "child," is doing (or in this sense), who your child is (the actual pid), instead of just kill SIGTERM them.

quackerhacker··on China Said to Exclude Apple From Procurement List
This isn't surprising at all considering our government seeked to block Huawei routers from being used in telecom infrastructure back in 2012 [1], over some of the same national security concerns.

[1] http://www.reuters.com/article/2012/10/08/us-usa-china-huawe...

quackerhacker··on Ask HN: Mac users - Can you do a Whois query 4m terminal?
A "whois Google.com" or "whois apple.com".
quackerhacker··on Amazon orders subject to replacement fraud (still)
I can't even imagine the justification in a board meeting that allows for shrinkage on their scale for such an easy resolution.

To me, a simple resolution would be to escalate the "item not received," issue to a state side department (not in India, from what I'm understanding), track recent orders and customer interaction (super simple algorithm), and lastly and MOST importantly do not allow customer orders to be given out so freely with a verification of address and name (at least require an account pin or last 4 digits for the order in question).

If Amazon implemented at least these barriers, then the security of an account would fall where it should...back on the owner...not so easily be phished through Whois data, or just knowing someone has an Amazon account.

It's almost as if a black hat could use a phone book and tie names, with addresses and phone numbers and straight phish for data. This is just way too easy for fraud that the fact that it's Amazon is appalling.

quackerhacker··on Amazon orders subject to replacement fraud (still)
Amazing that the scammer is even able to have the fraudulent replacement item sent to a different address than where the order was originally sent not once, but twice and an address not associated with the account nor confirmed/verified and could possibly be linked to multiple accounts.

Seems like a blatant oversight in loss prevention and fraudulent data sifting. Not only does it admit that an account has been compromised in some shape (socially most likely), but it disappointingly shows incompetence in Amazon CSRs.

quackerhacker··on Netflix Orders New Children’s Show Based on ‘Magic School Bus’
Netflix is really amazing to me! I am SO impressed by their model and the plethora of data that they can just sift through (I love analytics and data mining).

Netflix has went from dvds by mail, to video content distribution, to an ACTUAL broadcast network. While I love their selection, I hope that they release their episodes once a week. I'd imagine it would capture an audience instead of marathoners.

From an investment standpoint, I can only imagine it being a matter of time before all the data they have (like audience retention time, device types, and internet speeds which can easily provide an assumption of demographic) be put to use for video ad campaigns.

Simply awesome business model!

quackerhacker··on Island of California
Cool. If I can live till 2100, I have the possibility of our property becoming possibly beachfront. :)
quackerhacker··on HomeKit
Wow!!! Whoever did the write up for Homekit had to have seen the MIT workaround for using Siri and an audrino to open a garage door. What a nice subtle "props," from Apple.

[0] https://news.ycombinator.com/item?id=7542985

quackerhacker··on OS X Yosemite
The upgrades to Safari look amazing! [0] Less chrome, Javascript benchmarks (impressive), and the spotlight search in the url...nice! I hope Apple changes the zoom button to maximize the screen.

[0] https://www.apple.com/osx/preview/apps/

quackerhacker··on Mac keyboard shortcuts
My FAV key combo is simple: FN + Backspace

Since I use the terminal ALOT, this key combo is the same behavior as delete on a full keyboard. It will delete text in front of the cursor.

Another helpful one I found out through trial and error is Fn + Shift + <- OR ->

The above moves the cursors placement to the beginning or end of a terminal prompt. Hope this helps someone else :)

quackerhacker··on Poll: Were you banned by AdSense? When in the cycle were you notified?
I got my Adsense banned, but I was lucky to get it appealed after a second try...I ranted on my blog post about how YouTube then started sending copyright content notifications on my videos which retroactively removed my finalized earnings (keyword: finalized), this was like 4 months AFTER my Adsense was reinstated. That happened within 4 days of the payout cycle.

[1] https://medium.com/p/6caf19d2c542

Page 1 of 12Next →