HNHacker News
TopNewBestAskShowJobs

Gh0stRAT

626 karma · joined January 10, 2015

submissionscomments
Gh0stRAT··on The Dangers of Microsoft Pluton
The plugin my current employer uses is so well integrated that I don't even know its name. (I suspect it may be developed internally)

At a past job, we used Entrust [0] and I'm aware of Virtru [1] as well.

Edit: I forgot about Sharepoint, which also sort-of fills the ACL document-sharing niche. (though I'm less certain about whether it uses encryption to enforce its access policies)

[0] https://www.entrust.com/ [1] https://www.virtru.com/

Gh0stRAT··on The Dangers of Microsoft Pluton
I'm completely missing how his example of a Word document that can only be opened by approved users on approved hardware within the corporation is supposed to be a bad thing.

Honestly, that sounds pretty fantastic. I've been using 3rd party tools/extensions to do this sort of thing in corporate and government environments for years, but having the attestation go all the way down to the hardware level is a big value-add, especially with so much ransomware/spyware/extortion/espionage going on these days.

Can someone please explain to me how the author might see this level of security as a bad thing?

Gh0stRAT··on Writing your own search engine is hard (2004)
Not GP, but from having run a small/niche search engine that got hammered by a crawler in the past:

Webserver was a single VM running a Java + Spring webserver in Tomcat, connecting to an overworked Solr cluster to do the actual faceted searching.

Caches kept most page loads for organic traffic within respectable bounds, but the crawler destroyed our cache hit rate when it was scraping our site and at one point did exhaust a concurrent connection limit of some kind because there were so many slow/timing-out requests in progress at the same time.

Gh0stRAT··on Covid learning loss has been a global disaster
The extremely contagious nature of the newest strains is in many ways a direct consequence of our global failure to contain it early on before it had so many chances to mutate. (eg how we did with MERS and the original SARS)

Asymptomatic spread and a lack of clarity on whether it was even "airborne" plagued our early efforts to contain it.

That being said, the lockdown-related learning loss is also a disaster, and one that will disproportionately impact disadvantaged kids and their communities.

Gh0stRAT··on Homes in 97% of U.S. cities are overvalued, Moody's says
$350k in 1997-dollars means that 25 years ago, it was worth $627k in today-dollars.

Adjusting for inflation, it's doubled in real value over 25 years, which works out to <3% APR. It's a decent return, but we've also ignored 25 years of property tax and maintenance. (on the other hand, we've also ignored 25 years of effective rent)

I guess the point I'm trying to make is that $1.3M isn't worth what it used to be but it sounds big in our head because we remember a time when a dollar went a lot further than it does today.

Gh0stRAT··on I'm a security engineer and I still almost got scammed
RE chargebacks: stolen cards are often monetized these days with a scheme known as "triangle fraud". Here's how it works:

0) the scammer somehow acquires Person A's credit card info

1) the scammer sets up an online store on Amazon or similar and sells some popular item at a 20% discount (eg Nespresso pods)

2) the scammer doesn't actually have that item in stock, but when they get an order from Person B, they use the stolen card to place another order with a legitimate seller and set the destination address to Person B's address (basically drop-shipping but where the victim is paying for the cost of the goods being sold)

3) Now the scammer has received already-laundered clean money from an online transaction, and Person B got the product they wanted on-time and at a steep discount. They're happy, and certainly won't be complaining to their credit card company.

4) when Person A reports their card stolen and tries to perform a chargeback, the legitimate seller who acted as an unwitting drop-shipper ends up eating the cost.

Gh0stRAT··on New York City will make it mandatory for companies to post salaries on job ads
Out of curiosity, would you say the numbers on Levels.fyi are generally too low or too high?
Gh0stRAT··on Bitcoin is a Ponzi
And for another, it allows ransomware gangs to much more easily extract payments from their victims as well.
Gh0stRAT··on Word-Aligned Bloom Filters
Yes, you could do it with deltas instead. The tradeoffs are that it won't be as fast and will cost you a LOT more in bandwidth. (and cost your users more bandwidth as well. They might be on a very slow/limited data plan) Maybe you don't care about bandwidth and would prefer to avoid the complexity and maintenance overhead of adding a bloom filter.

As with anything, there are tradeoffs and your requirements can change over time. Maybe the ad networks or malware creators start using new domains every 10 minutes to counter your blocking system so now you have to store more data and disseminate it more frequently.

As engineers, it's our job to weigh the tradeoffs between different solutions given the resources and constraints of the situation. For the situation I've outlined above, I'd at least strongly consider a bloom filter but it's certainly not the only way to do it.

Gh0stRAT··on Word-Aligned Bloom Filters
Imagine you're making a web browser plugin that blocks ads, or malicious sites. Let's assume the blocklist is a hundred megs (easily fits in ram) and your millions of users need to get the latest data at least hourly in order to keep up with the latest URLs that you want to block.

Rather than distributing the entire blocklist to your userbase, you can instead send a bloom filter + an allowlist of the small handful of sites which have a hash collision with one of the blocked sites.

As a bonus, computing the hashes will have great branch prediction characteristics and you'll have fewer cache misses because the bloom filter is tiny and frequently accessed, so your plugin will not add any perceptible slowdown to the user's experience.

Gh0stRAT··on Home Price to Income Ratio
Homes are massive, illiquid assets with high transaction costs and (unless you have many of them) are poorly diversified. I'd even argue it makes more sense to look at a primary home as a forced savings plan rather than as an investment.
Gh0stRAT··on Writing Well-Documented Code – Learn from Examples
I agree, but git and most code reviewing tools I've used only show a few lines of surrounding context so the reviewers might not even realize there's a comment further up that needs updating.
Gh0stRAT··on Writing Well-Documented Code – Learn from Examples
Not OP, but residential ISPs were caught injecting ads into HTTP sites at least as early as 2014. [0]

I certainly wouldn't trust Comcast to keep malicious ads out of their ad network, either.

[0] https://www.techdirt.com/articles/20140908/07191228453/comca...

Gh0stRAT··on Plaid settled $58M lawsuit over alleged consumer data sharing
Chase is the only big US bank I'm aware of which lets you give Oauth tokens with limited permissions to third parties.
Gh0stRAT··on Aspartame and cancer – new evidence for causation
Processed meats and red meats are linked to colorectal cancer. I believe it's something like 70% of CRC cases can be traced back to red/processed meat consumption.

>In 2007, the World Cancer Research Fund (WCRF) stated that there is convincing evidence linking the consumption of red and processed meat with the development of colorectal cancer (CRC). The WCRF further stated that the public should limit their intake of red meat to below 500 g per week, and avoid processed meat entirely. A further update from the WCRF emphasized that no safe level of processed meat could confidently be attributed to a lack of risk.

Excerpt from: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6893523/

Gh0stRAT··on Senators move to exempt Bitcoin, crypto miners from proposed U.S. tax rules
> to company reports, Zelle processed $35 billion in P2P (person-to-person) payments in Q4 2018 versus $19 billion for Venmo.

The thing that makes this a bit trickier is that Zelle is transparently used under the hood by some banks to move money between accounts owned by the same person. I've moved thousands of dollars between two of my accounts with Zelle but the alternative would have been an ACH transfer or depositing a check to myself, not Venmo.

I know it's just one anecdote, but when splitting a check, my social circle always reaches for Venmo, never for Zelle. And yet I've probably moved more total money via Zelle because I occasionally use it for different, higher-value transactions.

There's some selection bias at play for different transaction types (including many where people might not even realize they're using Zelle) so we should be careful looking at only the headline numbers.

Gh0stRAT··on Apple sued by teen wrongly accused of shoplifting by unreliable facial-rec tech
It's a lot more complicated than that due to edge cases like format conversion, resolution downscaling, chunking, etc but people are working on a solution in this vein: https://contentauthenticity.org/

Full-disclosure: I work (on completely unrelated stuff) at one of the organizations involved

Gh0stRAT··on GitHub Copilot
True, but that definitely wouldn't stop Oracle from suing over it anyway. (See the rangeCheck chapter of Oracle v Google [0])

Also, Oracle v Google opens the possibility of a fair-use defense in the event that Copilot does regurgitate a small snippet of code.

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

Gh0stRAT··on The slow rise of robots in the data center
Not OP, but I wouldn't say significantly more dangerous, no. Older aircraft sometimes have to undergo modifications to mitigate faults that have been discovered over time in order to stay airworthy. By and large, a 50 year old aircraft is going to have well-understood failure modes with mandatory steps to mitigate them.

The mechanism by which this is enforced is an "Airworthiness Directive" if you want to read more about it. Source: I used to fly a small 50+ year-old aircraft recreationally

Gh0stRAT··on Facebook extends its work-at-home policy to most employees
I'm not OP but it almost looks like they got the username and password fields mixed-up when they were creating their account.

For all we know, their password might be something like "remote_worker"!

Gh0stRAT··on AMD Demonstrates Stacked 3D V-Cache Technology: 192 MB at 2 TB/SEC
It's a rate, so the same way you can drive 60 miles per hour between two points that are less than 60 miles apart.
Gh0stRAT··on FDA authorizes Pfizer vaccine for kids age 12 to 15
Besides nearly eliminating the risk of hospitalization and death, the vaccines also greatly reduce the odds of contracting COVID-19 in the first place which logically would lead to a reduction in long covid. (contracting covid is a prerequisite for experiencing long-covid)
Gh0stRAT··on Google’s copying of the Java SE API was fair use [pdf]
While I agree that APIs should not be copyrightable, the Supreme Court has been criticized for "legislating from the bench".

Avoiding the temptation to set bigger and more far-reaching precedents than is strictly necessary for the case at hand avoids giving the impression that the judicial branch is doing the job of the legislative branch.

Gh0stRAT··on Suez Canal says traffic in channel resumes after stranded ship refloated
The slower the boat travels, the closer to the wind it has to point in order to avoid being pushed into the leeward shore. (assuming it doesn't have significant thrust-vectoring capabilities at both the bow and the stern which as far as I can tell seems to be the case for large cargo ships)

Because the boat is longer than the canal is wide, for any nonzero perpendicular wind speed there is a minimum boat speed below which it would not be able to avoid running aground. The solution is to either not permit such large ships to transit the canal during high wind events or to send them with enough tugboats to counteract the force of the wind.

Gh0stRAT··on T-Mobile to share customers' data with advertisers unless they opt out
>That's wayyy cheaper than any of the other big players

T-Mobile has a $15/mo prepaid plan without having to pay a year in advance.

Gh0stRAT··on Mindsets to Avoid as a Senior Software Developer
Early in my career, I learned so much from reviewing other more senior peoples' code.

I suppose I technically did have "veto power" as my approval was required in order to merge the PR, but nobody ever thought of it in such adversarial terms. We'd comment with questions or things that were unclear, occasionally asking "why are we doing it this way instead of that way?" and more often than not the solution was simply adding/updating comments to make things more clear.

For our team at least, it was a casual and collaborative effort where everyone learned from each other. I wouldn't hesitate to give inexperienced devs veto power over my PRs again unless it was for a time-sensitive hot-fix.

Gh0stRAT··on Google Issues Quality Warning for Millions of Google Photos Users
I've never needed to reach out to either for support, but I've heard only negative things about Google's customer service. To the point where I would expect to at least be able to reach someone at Microsoft but have zero hope of ever resolving a problem with my Google account…
Gh0stRAT··on TurboTax Tricked You into Paying to File Your Taxes (2019)
California has CalFile. (way better than FreeFillableForms) Not sure about other states.
Gh0stRAT··on SpaceX SN9 Explodes on Landing
Watching it in slow motion, it looks almost like pieces of insulating foil.
Gh0stRAT··on PGM Indexes: Learned indexes that match B-tree performance with 83x less space
Hi Giorgio, thanks for sharing!

You mentioned that tries have had recent advancements, could you please point me to a paper about these advancements so I can learn more? I did a quick Google search but wasn't able to find anything that seemed relevant.

← PreviousPage 4 of 5Next →