HNHacker News
TopNewBestAskShowJobs

jamra

1,170 karma · joined December 7, 2011

submissionscomments
jamra··on Make your own VPN with Fly.io, tailscale and GitHub
I wonder how hard it would be to create a STUN server for netbird.
jamra··on Make your own VPN with Fly.io, tailscale and GitHub
Tailscale is P2P which is nicer than a VPS as a hub and spoke approach.

But one thing that Tailscale didn't do well (at least early on) is performance. It's user space Go, which seemed to cap the data transfers when I tested it out. I would prefer a really fast data transfer P2P so I could use Tailscale in between my web server and DB.

jamra··on Elizabeth Holmes ordered to pay $452M restitution
Please don't dilute what she did because of who one member of her board was. She didn't just lie. She ran a con that affected people downstream who used the service. Who knows what kind of damage she caused with her fake tests. She belongs in jail and all of her money has been made through fraud. That's on her.
jamra··on Angular v16
Removing the diamond shaped update chain is pretty huge. It also removes a lot of the entry cost to getting into Angular. RxJs is steep.
jamra··on Angular v16
Compared to React with Contexts, hooks, redux, reducers, Relay, Recoil….
jamra··on I went through a period where I loaned money to anyone that asked me
This reminds me of the one lady from my previous job that lost her daughter. We held a fundraiser at work. She made a lot of money out of it. Then she lost her niece. It was so sad to have misery strike twice. Until she lost another niece. Then we checked up on it. Nobody had died.
jamra··on SvelteKit 1.0
Add a `String.Equals(thing, thing2, StringComparison.OrdinalIgnoreCase)` in your where clause and now you're full table scanning.

LINQ makes things easy, but has traps.

jamra··on Why I program in Erlang (2012)
From my point of view, the comparison to object oriented code is to compare how abstractions hold over time and over changes of features naturally.

OO requires the programmer to make assumptions that create a maintenance burden. Elixir/Erlang organizes its code with modules, which leaves it less burdened by the constraints of OO. Consider the module system like a tree. You import functions that are wrapped in a module and just call them. Concurrency is baked in so cleanly that you only write single threaded code inside of a process.

Reducing the argument down to not having deadlines and not being used for "real" purposes is a bit reductionist and misses the point.

jamra··on Leslie Lamport: State the Problem Before Describing the Solution [pdf]
There was a paper published about making SQL server transactions distributed. But one of the authors was lost at sea. That was the last I heard of it.
jamra··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
The best engineers I see farm out the easier issues and even some of the hard work. But they supervise and mentor. Counting lines of code disincentivizes mentoring.
jamra··on Employers should prioritize retention over hiring, study suggests
So far there is a pretty serious tempo at my FAANG but the complexity is not very high so it’s really simple work in terms of stretching the brain.

Lots of working with other teams (XFN) so collaboration is almost as important as execution. Pay is good.

jamra··on Taildrop
They have ACLs. You can use those. Then don't enable Taildrop on certain machines.

The enterprise option is nifty. I'm gonna use it for my next startup. I find it to be pretty freaking amazing. But if you're suggesting that having an open port on a secure connection is dangerous... well that's why you have a secure connection. So just use ACLs to restrict access to machines you shouldn't have access to. And you can do it by port. Is there something I'm missing?

jamra··on Facebook users sue Meta for bypassing beefy Apple security to spy on millions
I believe it’s to sell ads and show the advertisers that ads were sold. Not to sell user data to advertisers. That sounds wrong.
jamra··on I analyzed hospital price lists so you didn't have to
I was in the physical therapy space for over 15 years. The penny pinching that comes from healthcare giants towards their software vendors are dreadful. It prevents any serious software engineering from happening. One customer billed over a billion dollars in a year to Medicare through our software and paid us $1M that year. I'm still not certain that we didn't take a loss to take that client.

Passing around financial data on SFTP drops is something that irked me. Having the total not add up from the line items is also pretty ridiculous. The systems in place are all about edge cases that have formed over decades.

Software engineers are not invited to the discussions in a lot of these companies. The area is gate kept by healthcare people, which tend to be people who don't know how to do technical writing or planning.

Our company wasn't a huge one. But the huge ones looked to me as run by accountants. If you can't establish an income stream for them, they won't even talk to you.

jamra··on Ask HN: 30s and “senior” software engineer, but I suck at programming
Sure. I don’t recommend books or courses because they go deep into theory whereas this is a different endeavor.

I recommend coming up with templates for the finite amount of problems.

Recursive Graph/Tree Linked List Array

The array problems can be the most unique, which means a template isn’t always possible.

Practice timing yourself. This is harder than it looks.

Stop problems that take you too long or they’ll wear you out. Come back and solve them again.

jamra··on Ask HN: 30s and “senior” software engineer, but I suck at programming
Don’t give up. The parent comment is very much inline with how I feel. I was in your shoes a couple months ago and passed interviews at 3 faangs. Just grind the leetcodes. Course are not the right way imo. Repetition and pattern matching will take you there.
jamra··on Ask HN: 30s and “senior” software engineer, but I suck at programming
I have this book. I found it to be very unnecessary in my leetcode journey. What worked for me is repetition. It’s mostly just pattern matching. I got into three faangs recently so my strategy worked for me.
jamra··on Show HN: I turned my face rec system into a video codec
Are you sending occasional key frames and then just some points for a GAN to generate movement over the wire?
jamra··on Tel-Aviv University Releases Long-Text NLP Benchmark
Having had experience with researchers at that university, I would be much more inclined to believe that their command over the English language is the culprit. I’ve helped write documents in English for one researcher there and everything reads as run on sentences. Please don’t judge non English speakers to the same standards.
jamra··on I replaced my native iOS app with a cross platform web app and no-one noticed
In terms of the 60 fps, he’s referring to apps on mobile devices, not your FPS game running on a PC. I think you’re being a little hard on the author.
jamra··on AWS Graviton vs. M1 vs. M1 Pro Node.js Benchmarks
I have the air and the pro. The air is plenty fast but can be difficult when you have large RAM consumption use cases such as doing front end workloads. It also can have some visual lag if you’re plugging into a larger monitor.

The pro, though very fast, can also hang when leaving too many apps open. But I did leave way too much running. It feels blazingly fast.

You should really think about that workloads you will use in the day to day. And also consider if you’re docking it. If you are, the pro is a much safer bet and the screen brightness and size is less relevant.

So the tldr is that the 64Gb of ram is the big differentiation. The other is plugging monitors into the pro.

jamra··on Connecting a gaming PC to Apple Studio Display
Yes. To pile on, if you're playing a First Person Shooter (FPS), you want at least double the Hz. It makes a difference. Additionally, there are other factors that gaming monitors offer such as brightening darker areas that are around a brighter area.

But in general, this monitor, though it's impressive, does not have the features needed for gaming.

jamra··on Phases of Netflix’s real-time data infrastructure
I recently had a discussion with a former Netflixer about keeping track of user views. It’s important to pick up where you left off and is likely important to pay the owners of the movies. It’s a very hard problem to solve. The data is highly skewed by skips and afk viewers.
jamra··on SymSpell: 1M times faster spelling correction
This seems very suspicious to me. They’re comparing performance to a tutorial blog post that is extremely inefficient.

How about comparing it to. Levenshtein automaton or another state of the art approach?

jamra··on I shaved 187MB off United Airlines' 439MB iOS app
That sounds like a reasonable point of view. But it could be that they are just trying to up sale their other services and can more easily do so if it’s bundled in an already used app.
jamra··on Writing Literate API Documentation in Emacs Org Mode
Can you compare feature sets from magit to vim fugitive? I’ve always heard nice things about magit but nobody has verbalized it in comparison to what vim offers.
jamra··on Esbuild – An extremely fast JavaScript bundler
Even in single threaded mode it’s fast. I think the main idea is that it creates an AST only a couple of times and then caches it so that the AST can be reused. Webpack on the other hand gets engulfed by its plugins which often do so multiple times.
jamra··on A search engine that favors text-heavy sites and punishes modern web design
This is just a guess, but I believe that they use machine learning and rank it by the clicks. I took some coursera courses and Andrew Ng sort of suggested that as their strategy.

The problem is that clickbait and low effort articles could be good enough to get the click, but low effort enough to drag society into the gutter. As time passes, the system is gamified more and more where the least effort for the most clicks is optimized.

jamra··on How does Google Authenticator work?
Authy once deleted local credentials during an app update. I had to restore with my backup keys.. only I lost my backup keys so I had to go the long way to circumvent my 2fa. They didn’t seem very sorry about it either.
jamra··on Israel tries to limit fallout from the Pegasus spyware scandal
Israel consists largely of Arabs as well. Half of the Jewish population is Arabic just like me.
← PreviousPage 2 of 17Next →