HNHacker News
TopNewBestAskShowJobs

luckycharms810

254 karma · joined October 17, 2013

submissionscomments
luckycharms810··on An SSH server that knows who you are
You are definitely right in that the public keys themselves don’t present a threat. I think on a penetration test this would show up as “Information Revealed” rather than something that is “Exploitable”. By sharing a username - you might be able to correlate this person to other platforms and technically increase your attack surface area.
luckycharms810··on An SSH server that knows who you are
Well specifically it is sharing the public keys that you have in your SSH folder. It's like trying all your keys in a a keyhole since you don't know which one gets you in. This is really no fault of SSH - the fault lies completely with Github for sharing all their users' public SSH keys.
luckycharms810··on iOS 13's Music App Sucks
This article really struck a nerve with me. I've been going around trying to explain to people that the experience of listening to music has got progressively worse over the last 20 years.

* Discovery is back to being passive - recommendations come from the company that you are subscribed to.

* Quality is paid for separately - the subscription has a fee, your data has a separate fee.

* Quality is not guaranteed - it depends on your current internet connection.

* There are dead zones.

* Most apps I've used do a terrible job showing you only the downloaded music you have.

* Your available music is subject to the deals between record labels and subscription services.

* Subscription services aren't incentivized to house more obscure / old / rare / hard to find music.

* Music is siloed in to different subscription services. ( We are moving to a Showtime vs Starz vs HBO vs Netflix model )

What really gets me is that at the end of the day - going the legal route of a subscription service is truly only marginally better for artists.

luckycharms810··on The Shapes of Code
While the patterns themselves are interesting, the idea that all code must be rearranged in to smaller functions to be “refactored” seems a little juvenile.
luckycharms810··on Uber and Lyft Suggest the Days of Cheap Rides Could Be Over
People make mistakes and exhibit wreckless behavior every once in a while. Unlike milk, the value of a ticket is not set by markets. It is a financial instrument used to discourage behavior. It's really not too dissimilar to a tax. We already have all kinds of progressive taxes - this really isn't much different.
luckycharms810··on Uber and Lyft Suggest the Days of Cheap Rides Could Be Over
I think it might help to flip the argument on its head. If you are a low income person struggling to make ends meet - should you have to forego a meal or two ? Is it fair if a richer person does not have to do the same ? All things considered I’d bet you the higher wealth person still has the less impactful fine.
luckycharms810··on Django 3
Having worked with Asynchronous python since the days of twisted, tornado - I haven't really found any real reason to switch to asyncio. Generally speaking the old forms of async syntax (@coroutine, @inline_callback) make it incredibly clear that you are executing code well outside of a sequential paradigm - they force you to think a little more about what is going on.

The idea of Django throwing errors when you try and run async unsafe code within an event loop gives me cause for concern. I can just imagine folks who don't understand adding 'yield', 'await', 'yield from' until the errors go away - while being confused with the resulting execution. I think there is always a place for synchronous code in Python - I think Django should lean in to the simplicity afforded by it.

Last note - I also am very weary to mix asynchronous code with other primitives like threading, multiprocessing. If I am going the route of async programming - I usually just intend to optimize a single thread - and then I leave it up to the OS to optimize across multiple processes.

luckycharms810··on Systemd Brand
I will say on the flip side - Going from cron jobs to Systemd timers has been super helpful. You can use journalctl to track the output and find pesky issues like difference in shell, missing environment variables, file permission issues.
luckycharms810··on Facebook reveals its cryptocurrency Libra
I haven’t really seen a lot about how exactly the Facebook profiles will be separated from the pseudonyms on the libra network. I think this is also part of a gamble that people don’t really care that much about privacy in most of their purchases. If you look at a network like Venmo, they have a social aspect that is on by default, a news feed of sorts. With small incentives ( discounts, credits - share this transaction and receive a discount on your next purchase ) - people could easily give up their anonymity on the network. Once this happens Facebook will be sitting on the holy grail of advertising. A full closed loop of people’s interactions with advertising and the impact it has on their purchasing habits. It creates a new avenue for monetization for Facebook when ads are shown on publisher websites as well. Displaying ads and the analytics around engagement only create half the picture, the other half will be the impact it has on how they spend their money.
luckycharms810··on Facebook’s Data Deals Are Under Criminal Investigation
It has always been the advertisers that are asking for the sort of tooling that can be taken advantage of during the election cycle. If you don’t think Russia should be able to manipulate the black voting populace then maybe it’s worth thinking about whether Unilever should be able to specifically target and market axe body spray in the same fashion. The tools only exist because advertisers are paying for them. Blaming Facebook is akin to being mad at a Martin Shkreli, both are playing within the rules of a bad system.
luckycharms810··on Why is no one signing their emails?
A similar argument could be made for the implementation of HTTPS a few years ago. The goal should be to empower trusted software to inform a user. In the case of HTTPS, that trusted software is your browser, in the case of signed emails, that trusted software is your email provider.
luckycharms810··on NIST's answer to “Do you need a blockchain?”
In my experience data interoperability issues are usually resolved by writing adapters, and using a datastore with strict integrity constraints. This is essentially what creating a blockchain transaction is. The chain code is responsible for running strong integrity constraints on the submitted data, and the client must adapt the data as required by the chain code before submitting a transaction. You can't get rid of the work required, but you can create a system that enforces the rules.
luckycharms810··on Did Facebook’s faulty data push publishers to make terrible decisions on video?
This truly feels like an article that doesn’t understand the landscape of digital advertising. It is naive to believe that publishers are taking queues from Facebook on how to publish their content. All publishers ( including Facebook ) take their content queues based on what advertisers want. This is their source of revenue, and the only way to move the bottom line as a publisher. Video advertising is far more lucrative than banners. In order to create a consistent user experience, you cannot have video ads alongside static content. While the miscalculation is certain metrics might have made Facebooks inventory look a little better, it 100% did not have an industry changing influence as indicated here.
luckycharms810··on In Georgia, a legal battle over electronic vs. paper voting
I think the onset of election season has caused these types of articles to become in-vogue. I have been surprised by the reactions of what is mostly a tech savvy community. Full disclaimer, I work at a voting tech company as an engineer, and just wanted to give my 2 cents.

- Paper ballots and Risk limiting audits do not actually constitute a perfect solution to this problem. They do not constitute what is considered an End to End verifiable voting system. You cannot actually definitively know that your vote was counted in the final tally, and cast as intended. The Risk limiting audits as currently structured can only verify that a computer counted a small sample size of votes as a human would. It cannot confirm all the votes were counted, or that your vote was not tampered with.

- Paper ballots also do not address the needs of folks voting over seas, or those affected with disabilities.

- When current election systems are often described as easy to hack, the systems referenced are often hardware that is 10-20 years old. If you look at the landscape of the Election's industry, there are only 3 vendors that account for over 90% of the public election market share in America. These system's were put through certification many years ago, and continue to operate through those certifications. The result of an inability to innovate in this space, is that we will continue to use those systems (that many perceive as vulnerable) for the foreseeable future.

- Smaller election vendors are encouraging the idea of recurring certification, as well as more stringent certification requirements.

Most people who use these forums are very capable of understanding concepts like Asymmetric encryption, checksums, and other tamper proof methodologies for high value data. If you can trust the idea of an Encrypted e-mail server ( e.g. Lavabit ), or encrypted chat servers (Signal), it should not be hard to imagine that there is a secure way to conduct elections electronically and through the internet.

Finally, given how the past few decades have progressed, it seems that you would be on the wrong side of history to say that electronic voting cannot be done safely in a digital form. The process needs to be secure, but it also needs to be convenient, safe, fast, and trustworthy. Observing a few votes being cast in your polling station is nothing compared to observing every vote being cast for a given election.

luckycharms810··on The magic of asyncio explained
It is not in the style of a blog, but I put this together a few years ago to teach people how async programming works. It includes a handful of examples on generators, Coroutines, how to make use of the socket libs non blocking functionality, and how to tie them together to get the yield syntax folks are used to.

It doesn’t use any asyncio parts of python but is just meant to show what’s happening under the hood.

https://github.com/ltavag/async_presentation?files=1

luckycharms810··on Hyperledger Fabric: A Distributed Operating System for Permissioned Blockchains
This seems to be a popular opinion amongst a lot of ethereum developers I have met. I definitely don’t have as much experience in the field so honest question here. If a permissioned blockchain has nodes running across multiple organizations and third party auditing institutions, can that not solve real world problems?
luckycharms810··on Where is the money for mobile app developers in blockchain?
Worked through this about a year ago, but at the time I wrote it, it worked interchangeably with Bitcoin blocks. https://github.com/ltavag/blocks/blob/master/block.py#L68
luckycharms810··on Walkthrough for Systemd Portable Services
It’s astonishing to me that people would argue that docker is some how a simpler solution. Some would happily maintain a container registry, constantly worry about the order of operations in your docker file, create a build pipeline in a format incompatible with non docker use cases, spend time understanding how dockers bridge interacts with multiple Network controllers over learning how your operating system works.
luckycharms810··on Docker Considered Harmful (2016)
I think people who don't prefer Docker find it hard to articulate what is wrong with it.

To me it is really a question of, how do you vet software before you use it ? Will you take the time to understand your stack before it's deployed? When you employ certain abstractions, how much visibility do you lose ? Is it worth it ?

Docker is fine as one of many alternatives, but to turn your nose up at well written, battle tested software which is part of most Linux distro's is a little crazy. I would definitely bet that people who chose to learn how cgroups work, how systemd works will see their skills age more gracefully.

It reminds me of Dev-ops candidates that I have interviewed that laugh at the idea of ssh-ing to deploy a new version of code, without understanding that Ansible is generally doing the same.

luckycharms810··on Pyre: Fast Type Checking for Python
What’s interesting about this announcement is that they not only announced a type checking tool, they are also open sourcing a tool that will apply a patch and annotate your code with types for you. I tried a demo of this at the Instagram booth at pycon yesterday. They basically had a package that would run your tests for you, and using the coverage that you created, it could infer the types while executing your code. Now if the point of type annotations is purely to check for bugs that are avoided in statically typed languages it seems like you should be able to just combine the two tools and catch type based bugs without ever applying the annotation.

I think the type checking community also has quite a ways to go when it comes to asynchronous code. It becomes quite worthless to check that a future is being returned by a function, but it could be more helpful to know what that future will eventually yield.

luckycharms810··on Sierra Leone just ran the first blockchain-based election
I would imagine the best you can do here is a quorum of centralized authentication services.
luckycharms810··on A Practical Introduction to Blockchain with Python
I actually wrote up a small POC for blockchains in Python myself a few months ago. I went a little bit further in to the idea of transaction verification, as well as reverse traversing existing transactions as a part of that.

https://github.com/ltavag/blocks

Always love to see the interest here, I'm excited for the technology to become detached from Crypto speculation!

luckycharms810··on Ask HN: Any “bootcamps” or courses for intermediate/advanced people?
Highly recommend 'Design of Computer Programs' on Udacity. Its a 300 level class taught by Peter Norvig, and while the quizzes and homework's aren't terribly challenging, its a great way to learn how to break down problems for an intermediate developer.
luckycharms810··on Pandora to Buy Rdio Assets for $75M, Rdio Files Ch.11, Will Shutter Service
Yep, completely agree. I think Spotify had a really good opportunity to innovate as a streaming music player but instead they created a Frankenstein's itunes. I'm not mad that they copied an existing interface but that they copied one that was terrible to begin with. I really hope that the work Rdio did in terms of their UI doesn't go to waste.
luckycharms810··on No, Spooning Isn’t Sexist. The Internet Is Just Broken
Ironic that a story about clickbait is clickbait. As you get to the third or fourth paragraph it turns in to a plug for Chartbeat and simultaneously a hit piece for Vox.
luckycharms810··on Sharding Pinterest: How we scaled our MySQL fleet
Technical debt doesn't necessarily arise from using the wrong (a.k.a pretty similar but with a few features less than what you need) tool. In my experience, it's more likely that technical debt arises from trying to use thew newest tool (which looks to be a silver bullet) rather than trusting your own experiences. It's surprising to me that people are willing to move to a completely different technology rather than extend and repurpose what your engineers are already familiar with.
luckycharms810··on Upsert Lands in PostgreSQL 9.5 – A First Look
I think one of the quirks you can run in to with MySQL's implementation is that even the DB decides to do an update, you end up burning an auto incremented key. Curious to see what PG ends up doing here.
luckycharms810··on TV monitoring service is fair use, judge rules
As someone who used to work at Critical Mention I can speak a little bit to this. The infrastructure was set up about 9-10 years ago and initially involved one very dedicated engineer driving around the country installing DVR's at the different affiliate stations in almost all (if not all) 210 DMA's. These DVR's would "phone" in with video, as well as close captioning text to the datacenters. Over the course of the last 10 years the stack has changed a few times, but more recently the real time processing occurred as a series of Python lookups queued in Rabbit MQ. The resultant data (Close captioning text as well as Schedule, Demographic, Affiliate) information was indexed in a full text search cluster. Creating a searchable set of all TV video across 90 days is an engineering feat in and of itself. That being said I don't think any companies have been able to mine the data, summarize or aggregate it in any way that can be truly beneficial to a brand.
luckycharms810··on Employment in America: WTF is going on?
I think the issue is that there are million unfilled jobs out there, and there are qualified people who are ready to fill them. By putting a giant recruiting company between the two, you are filtering a lot of good people out of the equation. I've lost out on a lot of interviews by not having a github account. But if you think about it, thats a lot like asking a doctor to give a public record of lives that he has saved while off duty.
← PreviousPage 2 of 2