HNHacker News
TopNewBestAskShowJobs

thedirt0115

348 karma · joined March 3, 2017

submissionscomments
thedirt0115··on Why Are Alphabet Letters Arranged How They Are?
I haven't heard about this six tense efficiency thing before, do you have any more information?
thedirt0115··on How I write back ends
The author specifically mentions DB choice: "redis can be replaced or complemented by another NoSQL database (such as MongoDB) or a relational database (such as Postgres). Throughout this section, where you see redis, feel free to replace it with the database you might want to use."
thedirt0115··on Show HN: Train a language model to talk like you
How about this combined with recent advances in text-to-speech like Deep Voice that can sound like you? (Edit: punctuation)
thedirt0115··on Autocomplete as an Interface (2015)
Ok, I'm curious! What might such a tool look like or do? Did you have something specific in mind?
thedirt0115··on Aroma: Using machine learning for code recommendation
This is easier with a minimalistic (syntactically) language like Lisp. Check this out, the editor refuses to let you write code that won’t compile: http://danmidwood.com/content/2014/11/21/animated-paredit.ht...
thedirt0115··on Why you should learn F#
I don't know F#, but I do know C#, and it feels like the author is trying to make C# look more difficult/verbose than it needs to be to make F# look better. Here is an alternative version of the "Everything is a function" section's IPasswordPolicy thing: https://ideone.com/3Savt9 I even went a little overboard with the function that takes a list of functions and returns a single composed function -- I could've also written a one-off that uses "&&" like the F# version: bool isValidCustom(pw) { return f1(pw) && f2(pw) && ...; } Am I missing something? Why did the author make the C# version so complex??
thedirt0115··on The Rise of Microsoft Visual Studio Code
What editor do Go devs use??? Their numbers for Go only add up to 12%! https://d25hn4jiqx5f7l.cloudfront.net/file_attachments/files...
thedirt0115··on ‘Emerging’ as a Writer After 40
Yes, it's a gilded cage, but the door is unlocked. It's pretty easy as a software engineer in the Bay Area to take off a few months between jobs, so you can scratch your writing itch during that time. Alternatively, you might be able to work 2-4 years while saving a bunch, and then take a year off to write.
thedirt0115··on Estimating the chances of something that hasn’t happened yet
I have a couple L2’s that I mostly speak and read, virtually no writing - my grammar is poor and my vocabulary is limited. Because of this I would feel uncomfortable/embarrassed to translate any tech stuff I wrote to it. However, I could read someone else’s translation and know if it’s way off the mark. Also, I have plenty of friends that speak the language natively, so I could ask them to review. If they say it’s good, I’d vouch for the translation because I trust them (even if I couldn’t read it at all).
thedirt0115··on Show HN: Squally – A Game to Teach Low Level Computer Science
A better question might be "why not?" I don't believe that it's required or forbidden to learn Assembly before e.g. Python. It's a game that teaches you stuff too -- I want lots of these in the world! Some kids might like low-level computing more than something else. And some adults might prefer game-ified learning over textbooks.
thedirt0115··on Chart of the Decade: Why You Shouldn’t Trust Every Scientific Study You See
This is very similar to A/B Experimentation -- Gotta force the user to select a primary metric BEFORE the experiment starts to keep 'em honest.
thedirt0115··on A History of the Sentence "Buffalo buffalo buffalo buffalo buffalo." (1999-2015)
I've heard that called "refucktoring" :)
thedirt0115··on What’s Hiding in Your PDF?
You bet it does! https://pspdfkit.com/blog/2018/how-to-program-a-calculator-p...
thedirt0115··on [dead]
If you want to see the exercises before/without signing up -- here's a link to the code/tests (and it's more than just Python): https://github.com/search?q=topic%3Aexercism-track+org%3Aexe...
thedirt0115··on Skip – A programming language to skip the things you have already computed
Anyone have some insider knowledge on the history of this project? I'm curious as to how a big multi-year create-a-language research project like this gets pitched, accepted, and finally sunset -- Was it a full-time project? Were there deadlines? Was this considered a success or a failure?
thedirt0115··on A practical usage of ChainMap in Python
It's nice for anything with nested scopes -- Example that came to mind since a link to Crafting Interpreters was also on the front page: Variable lookup for for an interpreter. If each scope gets its own set of bindings, you can make a ChainMap from most specific to least specific and look up values from that instead of manually traversing scopes.
thedirt0115··on A blog in pure Org/Lisp
I really like two things from the author's system, but I will call out that neither of them require org-mode:

1) Being able to clone the author's blog repo and read it offline (just a bonus that it's already in org mode so no post-processing necessary). Is there a "lemme download everything by this author and read offline?" button on Medium?

2) The blog being in a public Git repository is nice for transparency.

thedirt0115··on How to Be Better at Parties
Most important part of the linked article so no one else has to pay the penalty of reading for my earlier misquote: "[Quote Investigator] has determined that the author of the quote is not someone famous or ancient.

It was crafted by a student, Kenneth John Freeman, for his Cambridge dissertation published in 1907. Freeman did not claim that the passage under analysis was a direct quotation of anyone; instead, he was presenting his own summary of the complaints directed against young people in ancient times. The words he used were later slightly altered to yield the modern version."

Thanks for sharing this the-dude, you've helped make me a little less misinformed, even though I'm sad to learn it's not a direct quote :)

thedirt0115··on How to Be Better at Parties
One of my favorite "back in my day, grumble grumble" quotes, attributed to Socrates: https://www.bartleby.com/73/195.html If you sprinkle "cell phone" in, you can't tell that it wasn't written this week.
thedirt0115··on Apple can delete purchased movies from your library without telling you
I think you're right, "license" could sound off-putting. Maybe calling the movie/music things you buy "tickets" or "passes" might make it more understandable? We still use the word "purchase" when we go to a movie theater to watch a movie -- but we purchase tickets, not the movie itself. Or at an amusement park, you buy a day pass or week pass or whatever. Everyone understands these concepts of temporarily getting access to something, it's just different terminology.
thedirt0115··on Dry Water
Ok, stupid question time... can you turn it back into regular water, and how? "Just add water?"
thedirt0115··on The Effectiveness of Publicly Shaming Bad Security
You have to type in your password WITH YOUR MOUSE??? Wow. Sounds like a great way to make sure everyone uses the minimum allowed length for their passwords...
thedirt0115··on 'Mindful people' feel less pain
I had never heard of "default mode" before this. Do you have any suggested reading on the topic, especially around creativity?
thedirt0115··on Medieval Fantasy City Generator
+1. Alternatively, maybe you were born with or acquired some disability that makes it difficult to do what you want in real life. VR games especially can be amazing here for people with mobility issues. See this, for example: https://www.youtube.com/watch?v=qs0QPkR3BcY ("Virtual reality opens new worlds to a man with cerebral palsy")
thedirt0115··on Google Optimize now free for everyone
At least thinking about it is important NOW, regardless of what stage your startup is. It can be extremely difficult to try to slot a 3rd party A/B testing solution into your product (or really hard to roll your own) if your infra doesn't support it from the start. Also, hire a data scientist! (Disclaimers: I am not a data scientist, I just think everyone needs one! I have worked on an experimentation system at $BIG_COMPANY.)

I'd suggest thinking about the following BEFORE YOU RUN A SINGLE A/B TEST:

1) Key Metrics: Define these. They are the general, "I don't care what your experiment is about, these numbers are important." Every experiment you run should automatically track these metrics. You should also give the ability to define custom metrics, since an experiment that changes some random button color probably wants to look at how many people clicked the button, which is almost definitely NOT a key metric.

2) Logging Infrastructure: Make sure that you have a easy-to-use, reliable data pipeline set up for logging and processing events. Bad logging == bad experiment results. Also consider streaming vs batch processing for updating experiment results.

3) Population Management: How do your experiments segment users? Are variants calculated in realtime? Batched with some SLA for lag? Are they sticky?

4) Mutual Exclusion: People running experiments often want "their" users excluded from other experiments.

5) Guardrails: Do your experiments automatically shut off if there is a catastrophic decline in one or more key metrics? What safety measures do you have around determining if an experiment is safe/valid? How do you handle cleaning up data when there's a problem? What sorts of actions invalidate an experiement's existing results? Does your entire site break if your A/B Testing service is down for whatever reason?

6) Cleanup/Ownership: Experiments don't run forever (at least they shouldn't!). Cleaning up old features, populations, etc can a pain, especially when the people that wrote the stuff originally no longer work at the company. Make cleanup mandatory and as easy as possible.

There's a lot more, but I'm tired now. A/B testing is complex. There are lots of resources out there, though. Look for white papers on the subject, they're surprisingly approachable. Example from Microsoft: https://exp-platform.com/Documents/2017-08%20KDDMetricInterp...

thedirt0115··on Google Optimize now free for everyone
Seriously, +1 to this. Defining key metrics is something where you should sit down with a data scientist that is familiar with your domain. In my experience, the problem isn't that people can't A/B test, they don't know what to test or how to determine if an experiment was "successful".
thedirt0115··on Hosting files in url minifiers
Do they re-encode PDFs too? (I don't use Google Drive) PDFs are a funny file format where you can do some crazy stuff... see here for examples: https://www.alchemistowl.org/pocorgtfo/ (click one of the "spoiler" links)
thedirt0115··on Hosting files in url minifiers
Yeah, they do, usually around 2^8 to 2^15 characters total. Assuming < 256 chars is usually safe, but check the docs for your OS + filesystem combo.
thedirt0115··on Slow leak detected aboard Space Station
Tape made out of ducks. They're really sticky.
thedirt0115··on What Airbnb really does to a neighbourhood
I think it absolutely is hard. Almost everything in life is more complex than most people think. Even in-state vs out-of-state tuition. Kids don't have control over where their parents choose to raise them. Why should Kid A have to pay twice as much to get the same education as Kid B just because Kid A happened to live 3 miles on the other side of the state border? That can make you feel trapped, like you're stuck in whatever little hellhole you were born in (especially if you have non-supportive parents). I can understand why a resident discount makes sense, but at the same time, sometimes I feel like it should be backwards -- give out-of-state residents the discount -- just to encourage new young adults to get out of what they've known their whole life as "normal", and see that things don't have to be like they are. Move the example just a little bit to kids from Brownsville, TX vs kids from Matamoros, Mexico (also < 3 miles away), and tell me that the issue isn't hard.

To not be purely depressing, I'll present an example of something I think is a step in the right direction: At least some universities are good about giving out scholarships to low-income students that offset the difference between in/out-of-state tuition.

← PreviousPage 3 of 6Next →