HNHacker News
TopNewBestAskShowJobs

acidbaseextract

576 karma · joined August 7, 2016

submissionscomments
acidbaseextract··on Vue.js 3
Yes, the transpiler (though everybody is already bundling these days). I really like JSX, though it's not everybody's cup of tea.

I also think other folks in this thread are referring to mounting on existing DOM in jQuery-esque use cases.

acidbaseextract··on Vue.js 3
> you can arbitrarily render a React root anywhere

I think this exact capability is what led to such strong React adoption. It's almost viral within an application. The main application that I worked on a few years ago was on Backbone / Marionette and we evaluated React by writing several small but complicated nested components, with state controlled by existing mechanisms. After liking both the flux application architecture and the ease of gradual transition, we pulled the trigger on React. It slowly ate our application from the inside out, but never forced our hand.

React isn't "lightweight" (JSX being the primary hurdle), but it is very easy to adopt incrementally!

acidbaseextract··on SoftBank set to sell UK’s Arm Holdings to Nvidia for $40B
Why is RISC-V bad? You spend paragraphs ripping on it without actually explaining why it's bad.
acidbaseextract··on Why Bayesian Stats Needs Monte-Carlo Methods
I appreciate the clarity in code — I'm asking for `betamaxinv` I think?

    >>> betamax((3, 14), (4, 12))
    0.29448379324802676

    >>> betamaxinv(0.29, allowed_error=0.01)
    [((3, 14), (4, 12)), ...]
I assume the results of `betamaxinv` are not unique, and so perhaps there need to be constraints, or return a family of results. I don't know. I'm trying to wrap my head around how OP got A ~ Beta(2,13) and B ~ Beta(3,11) without just brute forcing numbers into `betamax`.
acidbaseextract··on Why Bayesian Stats Needs Monte-Carlo Methods
Maybe I'm an idiot, but I thought he showed how to evaluate "P(B > A)" given A ~ Beta(2,13) and B ~ Beta(3,11).

What I'm asking is: how do you find parameters for A and B given "P(B > A) = 0.71"?

acidbaseextract··on Why Bayesian Stats Needs Monte-Carlo Methods
That makes sense in the analytic case, but you mean in the monte-carlo case? I presume just 4D Newton's method on the final integral over the pdf_X to get the value we're looking for?

It makes sense, I'm just surprised the blog never comes out and says "you have to do a brute force search to get the parameters for the likelihoods A ~ Beta(2,13) and B ~ Beta(3,11) for P(B > A) to have about the right value".

acidbaseextract··on Why Bayesian Stats Needs Monte-Carlo Methods
Did the post ever actually answer the question:

> this is an awesome example. is there an easy way (as in non-brute force) to finding the beta parameters that'll match a probability?

acidbaseextract··on Show HN: Free hosted open-source alternative to Zapier/Airflow
Titano is nice, but may have some trademark issues. Tanobo is easy to say, if a bit generic. Just playing with syllables.
acidbaseextract··on Which GPUs to get for deep learning
Definitely, especially from a memory bandwidth perspective: https://youtu.be/KpnIx1kLq9w
acidbaseextract··on Western Digital is trying to redefine the word “RPM”
In general it's an amazing time to be a computer hardware consumer. There's real competition in pretty much every primary component hardware vertical. The spinning rust data storage market has been uniquely crappy of late.

The sketchy stuff shows up in cheap components with slim margins (budget AIO watercoolers, budget hard drives, budget PSUs budget/no-name ebay video cards).

acidbaseextract··on Ultimate Python Study Guide
> the toy-ishness of the language

I think that this is a feature, not a bug. Part of my maturation from a junior to a senior engineer was learning to trust that simple implementations are ok. I remember often not trusting that the simple thing would work robustly (passing around a list) and reaching for something way more heavy (perhaps a wrapper around sqlite persistence). I now recognize that the simple implementation is better and almost always more robust than something fancy, and I definitely attribute that to internalizing the zen of python over time.

> JS is a pass by value language... except when it comes to arrays and objects, it then becomes pass by ref. Go figure.

It's all pass by value. For objects and arrays, the value passed is the reference.

acidbaseextract··on Do we really travel through time with the speed of light?
The moment I saw that name I wondered the same thing. It would be cool to be running in the same internet circles as Ed Catmull.

I'm in awe of his contributions to both computer graphics and Pixar, and I really liked his management book, even if he definitely did some sketchy stuff with wage fixing.

acidbaseextract··on Don't Name Classes After Patterns. Mostly
Completely agree. The same thing pops up with filenames, as well as many automation tools where functions end up being commands. Python's fabric for example has a help function that dumps out possible commands in alphabetical order... the "restore_database" convention ends up being painful to sort out visually.
acidbaseextract··on Efficiency is dangerous and slowing down makes life better
Steve Brunton, a University of Washington professor has a sweet lecture series called the Control Bootcamp that dives deep into control fundamentals while still being approachable. Great production values too: https://www.youtube.com/watch?v=Pi7l8mMjYVE&list=PLMrJAkhIeN...
acidbaseextract··on The Hard Problem of Breakfast
A typical way to articulate it is that the experience of consciousness is just another sense-perception, not the "center of you". In the same way that your sense for certain types of light is called sight, your sense for certain types of neural activity is consciousness.
acidbaseextract··on Jobs to Be Done Framework Is More Useful Than Personas
This helps you figure out if you’re building VSCO or Facetune.

This is a perfect example of where JtbD is stronger than personas. There are lots of people who use both VSCO and Facetune. The thing differentiating those two cases is what they intend to do with a photo, the job to be done. Another simple example of this type is YouTube vs TikTok. How are the personas different?

The case for personas is stronger within a specific task, for example: iMovie vs Final Cut Pro, ffmpeg vs Adobe Media Encoder. Even then it's not the touchy feely aspects of personas that bring value, but instead the basic market segmentation.

acidbaseextract··on New ‘Meow’ attack has deleted almost 4k unsecured databases
Thanks for the detailed response. I'm curious, is the NoSQL store a canonical store of its own data? If not, how do you replicate from postgres to the secondary store?

I ask because where I work we sync postgres to a secondary store for search, but the way it's done in a piecemeal, application-specific way gives me the heebie jeebies. It almost certainly will result in that secondary store drifting. Unfortunately we can't use something like zombodb [1] as we're on amazon RDS. It seems like you know your stuff, and seeing non-deterministic consistency irritates the heck out of me!

[1] https://github.com/zombodb/zombodb

acidbaseextract··on Why are CEOs failing software engineers?
I would vouch for Imagineering Story as well. Great mix of technical stuff that's awesome from a nerd perspective, while entertaining for the non-techies too.
acidbaseextract··on Why are CEOs failing software engineers?
There's evidence of significant problems in business/management philosophy, as the consensus is that you need to optimize for now, and later is somebody else's problem.

Dead on. I've seen boards of directors ask for fried ice:

Management: We haven't put adequate time into building a sales training program.

Board: Focus only on revenue this quarter. It's the only thing that matters!

Then next quarter:

Board: Why aren't your new sales guys producing?! They need to drive revenue!

Management: Uh... you told us not to spend time on training.

acidbaseextract··on The Bitter Lesson (2019)
Here's a section of Michael Redmond's (9-dan professional Go player) commentary on the Lee Sedol vs AlphaGo matches: https://youtu.be/yCALyQRN3hw?t=3031

It's really fun to watch his commentary because he relentlessly plays "variations" — possible next moves and sequences — while waiting for the players, explaining the tradeoffs between moves and the consequences they lead to a few steps ahead in the game.

I don't know what to call "variations" but a tree search with heuristics. He does it slowly to explain it to the audience, but I have no doubt the same process runs much faster in his mind.

acidbaseextract··on Ampere’s Product List: 80 Cores, up to 3.3 GHz at 250 W; 128 Core in Q4
> The whole RISC philosophy was a huge mistake. Yes, x86 instructions do not map well to transistors, and they have to be unpacked into uops to be executed.

The RISC philosophy wasn't a mistake. Our architectures have just become more sophisticated so that we don't have to make a binary choice. The hybrid is good. The internal uops get the pipelining advantages of RISC, while we get the encoding compression of a CISC instruction set.

acidbaseextract··on OmniFocus – Task Management Software Built for Pros
What is this referring to?
acidbaseextract··on Software reuse is more like an organ transplant than snapping Lego blocks (2011)
Not to be trite, but uh... like WSGI or Rack?
acidbaseextract··on ARM Mac Impact on Intel
Nobody's drawing conclusions here. All I'm saying is that it isn't crazy to think that an A14 part will be competitive with Intel's lineup, especially from a core performance perspective.

Power limits and memory hierarchy both benefit the 9900k heavily in this comparison, which is why I went with the single-core score. I'd be surprised if an iPhone 11 Pro Max will floor all its cores even for a short microbenchmark. A desktop/laptop A14 will likely look much more competitive in these respects.

acidbaseextract··on ARM Mac Impact on Intel
Geekbench has a clang benchmark. Randomly picking from their public results data, looking at the "Single-Core Performance, Clang"

• iPhone 11 Pro Max - 1413 (11.0 Klines/sec) https://browser.geekbench.com/v5/cpu/2634126

• 9900K - 1270 (9.89 Klines/sec) https://browser.geekbench.com/v5/cpu/2633843

The A13 is really impressive.

acidbaseextract··on Rents are dropping across the US
> That’s why I ask for the costs of finding a new tenant as a discount.

Great stuff. Thank you for the reply!

acidbaseextract··on Rents are dropping across the US
How do you renegotiate? It seems like you need to be willing to walk to have any negotiating leverage, and moving is a pain in the ass.
acidbaseextract··on Deep JavaScript: Theory and Techniques
My biggest challenge with immer has been that my code aesthetic taste leans functional, but immer makes code look imperative even if it is ultimately functional. Always looks a little wrong to my eye!
acidbaseextract··on Storage Matters: Why Xbox and Playstation SSDs Usher in a New Era of Gaming
The whole storage architecture (not the SSDs alone) is a generational leap in gaming because it's a generational leap in game production economics. Asset cost has been skyrocketing for modern games, and the slate of storage technologies in these consoles directly addresses that. These improvements make assets reusable. SSDs + built in compression / storage co-processing + dynamic resolution makes it possible for small teams to plonk high res assets from libraries into games without spending crazy amounts of time doing asset performance optimization.

It's also going to be a driver of 1440 and 4k gaming, because there will be more games that look good enough to make high res gaming worth it.

acidbaseextract··on Storage Matters: Why Xbox and Playstation SSDs Usher in a New Era of Gaming
And that's really what the hype is about in terms of better game experiences on these new systems — we should be able to have larger working sets because you don't need to waste RAM as storage.

To get specific about what this enables, I think we will see many more indie games with great looking graphics. The combination of high res asset scans, automatic resolution scaling, automatic texture compression, generally less tight performance budgets that don't need teams to do optimization work (next gen consoles), and a financial model around tools to take advantage of all of this (Unreal + Quixel as the leader here) should make this next generation of games pretty awesome.

← PreviousPage 4 of 6Next →