HNHacker News
TopNewBestAskShowJobs

mfbx9da4

1,458 karma · joined June 16, 2015

node.js, typescript, javascript, python

London

https://davidadler.pages.dev/

https://github.com/mfbx9da4

dalberto [dot] adler [at] gmail [dot] com

submissionscomments
mfbx9da4··on Ask HN: Seeking Cryptography Certification
I have followed his course. I’m not talking about writing my own crypto algorithms simply plugging together battle tested crypto algorithms and storing encrypted data securely.
mfbx9da4··on SMS phishing is way too easy
Can you provide reading links for SS7 and co please. I really don’t understand why it’s so insecure.
mfbx9da4··on GitHub Copilot is generally available
My favourite thing to do is to write a comment about what I'm about to do and let copilot fill in the next line with the syntax. This is especially useful when I'm writing tidbits in a language I'm not super familiar with.
mfbx9da4··on Duck Chess
Anyone going to build an online version?
mfbx9da4··on Luna Cryptocurrency Collapse: How UST Broke
> The difficulty that fiat currency faces is inflation

Is inflation bad? Some inflation is healthy! If your “currency” is deflationary, it’s not a currency because the house you bought will be worth less in 10 years.

Hasn’t deflation always lead to mass unemployment?

mfbx9da4··on Ask HN: Looking for Junior Developer Vacancy for a University Level Maths Tutor
That's an excellent suggestion! I would be a little concerned about the market demand for Haskell developers?
mfbx9da4··on Ask HN: Looking for Junior Developer Vacancy for a University Level Maths Tutor
Yeah I 100% feel the same! He read an entire book on "Mathematics for Machine Learning" which he found pretty easy. He skimmed over the "now let's apply this in code" sections but the maths behind it all was fine.

The pros of starting in web dev is he should be able to get an entry level role pretty quickly, it's probably the biggest market and he does find it interesting. My belief is that as long as you keep digging you'll find a rabbit hole in any area of programming and his skills will be valuable there. e.g. in web dev you can move into cryptography, WASM, encodings, color spaces, parsers, compilers etc etc. Also, while it's good to have an understanding of the maths when doing data science stuff you're not that likely to be actually using or innovating the maths and most of your time will be spent cleaning data and importing libraries? Also he's more of a pure maths abstract algebra guy and less interested in stats.

The cons of starting with web dev is that you're way less likely to need his maths skills.

mfbx9da4··on GitHub: Private Profiles beta
That could work but I actually really like having just one account. I hate having to constantly switch notion accounts, gmail accounts, gcal... It's already annoying enough.
mfbx9da4··on GitHub: Private Profiles beta
This is a great step in the direction.

On the one hand I actually want the credit for all the open source I've done. On the other I don't want my boss to see if I'm contributing to some open source repo when we have a looming deadline. I would appreciate fine grained control

* Hide activity newer than a certain date. The reason this would be super useful is that it's okay / good for me to contribute to OS during work hours but I don't want the question of "Is now the best time to be doing this?"

* Hide activity on certain repos temporarily

* Hide activity to certain users temporarily

mfbx9da4··on __
Yeah, I kind of need to hear this answer to be honest because it makes me feel less bad.
mfbx9da4··on __
The legal flex is that contractually all work during work times is the company's IP. While the library I built has helped our company it isn't our product and it isn't my job. What I do for a salary is build our product not build this library. On a human moral level I would personally give my subordinate the right to open source the library because it was purely his creation.

As for what I could be subject to, could this be considered discussing publicly private company information?

mfbx9da4··on Show HN: React state management you already know how to use
The same use case as all state management libraries, just in my opinion, a more familiar API.

The reason you generally have a separate state management library in react is

* You want to avoid re-rendering the entire tree and share state between sibling components in different parts of the tree

* You want better separation of concerns aka MVC / MVVM

Does that answer your question?

mfbx9da4··on Ask HN: What jobs can I have knowing Python?
You could be a quant at a bank
mfbx9da4··on Detecting Node Event Loop Blockers
This is excellent and an answer to my deleted question on stackoverflow! https://stackoverflow.com/questions/69886637/measure-time-ta...
mfbx9da4··on Show HN: Hubfs – File System for GitHub
Like ssh into your server with GitHub actions
mfbx9da4··on A pipe operator for JavaScript: introduction and use cases
I don’t support the pipe operator. I want my code to look like it came out of a beginners book. Esoteric syntax makes it hard for somebody new to the language to understand your code. Codegolf is cool but not helpful
mfbx9da4··on CSS Gradients that avoid the “gray dead zone”
Wow! Subscribing to the newsletter was just such a delightful experience that I subscribed despite not wanting yet another newsletter.
mfbx9da4··on Code optimizations when using async/await
> will wait for the next even loop tick to call its error handler

are you sure about that?

Promise.reject is synchronous and won't wait for the next tick it just returns a rejected promise

try/catch can be used fine

    async function f() {
      throw new Error("asdf");
    }

    let result1 = f();
    let result2 = f();

    try {
      await result1;
    } catch (e) {
      console.log("caught the error");
    }

    try {
      await result2;
    } catch (e) {
      console.log("caught the error");
    }
mfbx9da4··on How to replace estimations and guesses with a Monte Carlo simulation
The issue with focusing on realistic estimates is it omits the psychology of deadlines, incentives, ownership, competitiveness and determination.

Going back to your university days, who hasn't left things to the last minute and been amazingly productive in the last couple days before the coursework or exam was due?

The issue with aggressive deadlines is burnout, creative oppression, flawed risk management etc

As always it's a balance. Grass is always greener but chances are it's neither.

mfbx9da4··on Index 1.6B Keys with Automata and Rust (2015)
Interesting that there are so many ways to implement ordered sets and maps. V8 takes a very different approach when implementing ordered sets and maps. It works more like a linked list.

https://itnext.io/v8-deep-dives-understanding-map-internals-...

mfbx9da4··on Faster CRDTs: An Adventure in Optimization
Reminds me of the data structures in this markdown library https://github.com/markdown-it/markdown-it/blob/master/docs/...

The author hand waves away the possibility that there could be memory locality performance benefits by using arrays in JS but my hunch is that there is something in that. I know the react code base for example went for a monomorphic Object structure to represent components to leverage inline caching of hidden classes.

mfbx9da4··on Hosting SQLite Databases on GitHub Pages
Wow okay, so is this like an HTTP based buffer pool manager? Instead of reading pages from disk it reads via HTTP?
mfbx9da4··on Complexities of e-mail validation logic
I once had a crack at building a sensible email validation library.

* Validate the string contains "@" and a "." to the right of it.

* Validate common typos

* Validate disposable emails

* Validate MX records

* Validate SMTP server and mailbox

https://github.com/mfbx9da4/deep-email-validator

I don't have the time to keep it maintained but it works for the most part!

mfbx9da4··on Learn CSS
could be DNS of your ISP?
mfbx9da4··on Developers Who Use Spaces Make More Money Than Those Who Use Tabs (2017)
Correlation does not imply causation but very fun title!
mfbx9da4··on There have been 7M-13M excess deaths worldwide during the pandemic
What's that as a percentage?
mfbx9da4··on Ask HN: Would you rather work 4 days per week for 80% salary?
I currently do this except I work 6 days a week and get paid 80% of what I should be.
mfbx9da4··on Ask HN: Would you rather work 4 days per week for 80% salary?
So many people theoretically would say yes but in practice say no.
mfbx9da4··on Why I Love Coding (2012)
I love coding too. I really enjoy pair programming as a more social way of coding be it with better or worse engineers.
mfbx9da4··on Show HN: A portfolio website simulating macOS's GUI using React
looks similar to https://macos.vercel.app/
← PreviousPage 3 of 5Next →