Readit News logoReadit News
another2another commented on Storytelling lessons I learned from Steve Jobs (2022)   fastcompany.com/90747313/... · Posted by u/tosh
outside1234 · 7 months ago
This loser (Tony Fadell) got fired from Google for yelling nonstop at employees, other googlers, management, everyone.

But sure, tell me about his narcissistic story telling skills.

another2another · 7 months ago
Was he yelling "don't ruin my product Google, Nest is a great product, don't ruin it!!"

Because... they ruined it.

another2another commented on Roc rewrites the compiler in Zig   gist.github.com/rtfeldman... · Posted by u/todsacerdoti
zozbot234 · 7 months ago
Manual heap allocation can slow the program down non-trivially compared to using an arena which is cleaned up all at once; hence, manual heap allocation is a kind of GC. Checkmate atheists.
another2another · 7 months ago
>Manual heap allocation can slow the program down non-trivially compared to using an arena

But GC has nothing to do with whether heap allocations 'slow the program down', it's who owns the lifetime of the allocated object - for GC not the programmer, but the runtime.

If I create a an object, and then then soon after deref it [MyObj release], then I know it will dealloc immediately after. I'm basically in control of its lifetime, even though it's ref counted.

If I call [MyObj free] and it's still owned by another object (e.g. I added it to some collection), that's OK because the object is still useful and has a lifetime outside of my control, and its destruction will be deferred until it doesn't.

But, with a GC object, if I call new MyObj() and then soon after try my best to destroy it, I can't because I'm not in control of its lifetime, the runtime is.

That's what I see the distinction between GC and ref counted (not GC), and why I mostly don't agree with so many people here insisting that ref counting is garbage collection. How can it be when I can easily be explicitly in control of an objects lifetime? I create it, then I destroy it, and it happens exactly in the sequence that I dictate.

For sure, ARC makes it a bit more subtle, but even then, I can reliably predict when an object will be destroyed and factor that into the sequence of events in my program.

-An Atheist.

another2another commented on El Salvador abandons Bitcoin as legal tender   ticotimes.net/2025/02/02/... · Posted by u/smallerfish
hshshshshsh · 7 months ago
Everything is a speculative asset.

Your marriage is a speculative asset that your wife doesn't cheat on you in future and actually loves you.

S&P is a speculative asset that it will perform like it has been performing in last 30 years.

USD is a speculative asset on US not going bankrupt.

Your career is speculative asset that you don't get fired tomorrow and you can find another job if you do get fired.

Bitcoin is a speculative asset that a decentralized cryptocurrency is better than relying on coins issued by bankruptable nations.

You are a speculative asset of your ego.

another2another · 7 months ago
>Everything is a speculative asset. >Your marriage is a speculative asset that your wife doesn't cheat on you in future and actually loves you.

Spouses are not very fungible though, not that I've ever tried ! ...

another2another commented on Ask HN: What is interviewing like now with everyone using AI?    · Posted by u/ramesh31
Stratoscope · 7 months ago
Seriously? I can assure you with 100% certainty that the most important point - "teach me something" - was entirely my own innovation.

I am tempted to take some offense at your comment. But I have to assume that you mean well.

You are correct that I don't work for IBM any more. What does that have to do with anything?

another2another · 7 months ago
I'm surprised at the negativity your approach seems to have sparked in a few, but I found it really great, probably very effective as well and will probably start to use it at some point.

Thanks for sharing.

another2another commented on Five years of Brexit reshaped Britain   ft.com/content/4d2d78b0-e... · Posted by u/belter
azalemeth · 7 months ago
I am an academic working on a multinational clinical trial. I assure you, it has made many aspects of my daily life much worse, from shipping things across borders, recruiting students or staff, to discussions about patient safety and the EMA/MHRA, as well as the desire of colleagues to collaborate internationally.
another2another · 7 months ago
It's like the modern equivalent of:

"Apart from [big long list of stuff people never thought much about before] what has the EU ever done for us?!?"

The Treaty of Rome indeed.

another2another commented on Five years of Brexit reshaped Britain   ft.com/content/4d2d78b0-e... · Posted by u/belter
another2another · 7 months ago
I'd have to say that when the UK initially joined the EU most people probably didn't notice much of a difference, except that the euro made going on holiday and using the local currency a lot easier (I still remember the Lira in Italy being particularly difficult to get my head around). But otherwise it didn't make much of a difference in day-to-day life for most.

But now, leaving seems to be like constantly picking at a festering scab.

another2another commented on Interview with Jeff Atwood, Co-Founder of Stack Overflow   cnbc.com/2025/01/18/tech-... · Posted by u/thm
singularity2001 · 7 months ago
The fish stinks from the top
another2another · 7 months ago
"A fish rots from the head down" is the saying. And since neither Jeff nor Joel are the heads at SO anymore I'm not sure of the relevance here.

But we can all agree that they made a wonderful fish that has helped millions of developers (including myself) over the years.

another2another commented on C++26: A Placeholder with No Name   sandordargo.com/blog/2025... · Posted by u/jandeboevrie
asveikau · 8 months ago
There's so much redundancy built into the language if you don't. Imagine:

    std::shared_ptr<T> p = std::make_shared<T>();
Then replace T with a very long type. And that's not the most verbose example, just an early one that popped into mind.

Then you have lambdas. Imagine assigning a lambda into a stack variable without auto, also keeping in mind that std::function adds overhead.

another2another · 8 months ago
Lambdas I would agree with and iterators, but in many other situations, e.g. templated collections it's easy enough to make a descriptive typedef.

And... I have seen this in the wild: 'auto isFalse = true;'

another2another commented on Ask HN: How can I learn to better command people's attention when speaking?    · Posted by u/somethingsimple
brudgers · 8 months ago
People don't want their attention commanded.

They want other people's attention.

If you want people to care about what you say, say things they care about...say things that show you care about what they have to say.

Because if what comes out of your mouth suggests you were just waiting for an opening to talk about yourself, people will tune out...unless of course they give you what you want.

Be fun to talk to. The more fun you are to talk to the more you will enjoy conversations. Good luck.

another2another · 8 months ago
So it's like the Dad in American Pie said: "Interested... is interesting!"

But Stifler is still the character I remember the most.

another2another commented on Botan: Crypto and TLS for Modern C++   github.com/randombit/bota... · Posted by u/klaussilveira
blacklion · 8 months ago
Not YET, but there are no any promises too.

New API like secretstream includes algo into API names, so, I hope, it is "stable forever", but it is rather new feature.

Basic APIs like "crypto_secretbox" are "black boxes" and there are no any guarantees spelled out. Algorithms are mentioned in documentation, though.

What will do libsodium if used algorithm will be broken? I don't know.

another2another · 8 months ago
I don't have the source right now, but I believe a lot of the algorithms used are set in build time #defines so it might be possible to capture them at build time and store them with the encrypted data.

Means you'd have to find a compiled lib with the exact same settings to decrypt them though.

u/another2another

KarmaCake day306September 9, 2022View Original