HNHacker News
TopNewBestAskShowJobs

notjoemama

765 karma · joined March 23, 2017

submissionscomments
notjoemama··on Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GBps Memory Bandwidth
Just curious if anyone else had the thought, “Amazon is in the chip business?” and then subsequently wondered if the regulatory agencies should step in and force Amazon to start spinning their sub-entities off into independent companies. I mean, I’ve thought that about Walmart for years. Kinda weird…Amazon making chips.
notjoemama··on "Useless Ruby sugar": Argument forwarding
Not the originator, addressing only your question, the hacker news commenting system is a form social media. People are free to comment as they see fit and for reasons that make sense to them, within certain guidelines that don’t appear to apply here. My impression is your comment, and previously theirs, is an airing of grievance. Which is common and par for the course in social media spaces. My intention in commenting is to give a voice to what is typically an unspoken understanding.
notjoemama··on Chinese hackers steal chip designs from major Dutch semiconductor company
I’m going to guess the low engagement on this post means no one is surprised by China stealing IP. We all know that’s what they do. TBF, there’s a lot of great research and invention too, it’s just overshadowed by the theft and corruption.
notjoemama··on Napoleon: Two centuries of life after death
Someone is angry and using presentism as the basis for their criticism. Don’t take the bait. I appreciated your explanation. Thank you.
notjoemama··on I disagree with Geoff Hinton regarding "glorified autocomplete"
> I would argue that you have a very, oddly restricted definition of the word, understand, and one that isn't particularly useful.

Is it just me or does this read like “here is my assumption about what you said, and now here is my passive aggressive judgement about that assumption”? If you’re not certain about what they mean by the word “understand”, I bet you could ask and they might explain it. Just a suggestion.

notjoemama··on We don't do DST at this company
I’m forgot to mention, set TZ to GMT on the servers so your languages function calls get UTC be default.
notjoemama··on We don't do DST at this company
This is one of the easier things to handle in date time code. Take a localized date and time from the user, convert to utc, store that in one db field and the offset in another. It gets even easier if the TZ is a form option for an entity above the data being stored. To read you grab the utc date time, add the offset, grab the current time, convert to utc, add the offset, then do the comparison. That’s not much work for 100ks, a bit of work for millions, and a lot of work for billions. So real time must stay in the 100ks area, otherwise, do it in a background process and accept the cost. If you really need it, convert dates to big integers and do simple math. But check whether it makes a half order of magnitude difference in proc time. If not, move on.
notjoemama··on Silicon Valley's worldview is not just an ideology; it's a personality disorder
> Far right white supremacism; libertarianism for white men, forced birth for white women. Eugenics for everyone else.

Well now I can’t take this seriously. This assertion is laughably loaded and biased. I’m pro choice and I can admit has the radical left not pushed for expanded abortion, Roe v Wade might still be in place. And eugenics? lol lol lol

notjoemama··on Hacking ADHD: Strategies for the modern developer
Yes. Thank you for stating it so well. Self diagnosis is like a conjecture based on observation. It needs to be proved out formally to be a working theory. But that’s part of the process and there absolutely is value in self diagnosis. It’s up to professionals to sort the wear from the chaff, webmd be damned.
notjoemama··on A coder considers the waning days of the craft
ChatGTP cannot provide an actual solution to a multi-tenant application framework for a SaaS product...because I haven't found that in the stack I work in. So I created it but it is closed source. If LLMs rely on open source, it will never provide the value that exists from experienced closed source engineers. I suppose LLM/AI providers can snaekily suck in closed source code for long enough time that once they're caught the cat is out of the bag and the "industry" collapses. But so far, LLMs are cool, but not AGI, nor are they likely to mature into AGI alone.

As far as generalization goes, I'm still waiting for an answer from Tolman-Eichenbaum machines. Or, an integration of LLMs and cognitive maps.

https://www.youtube.com/watch?v=9qOaII_PzGY

http://brilliant.org/ArtemKirsanov/

And his references from the YouTube video:

REFERENCES (in no particular order): 1. Behrens, T. E. J. et al. What Is a Cognitive Map? Organizing Knowledge for Flexible Behavior. Neuron 100, 490–509 (2018). 2. Constantinescu, A. O., O’Reilly, J. X. & Behrens, T. E. J. Organizing conceptual knowledge in humans with a gridlike code. Science 352, 1464–1468 (2016). 3. Aronov, D., Nevers, R. & Tank, D. W. Mapping of a non-spatial dimension by the hippocampal–entorhinal circuit. Nature 543, 719–722 (2017). 4. Whittington, J. C. R., McCaffary, D., Bakermans, J. J. W. & Behrens, T. E. J. How to build a cognitive map. Nat Neurosci 25, 1257–1272 (2022). 5. Whittington, J., Muller, T., Mark, S., Barry, C. & Behrens, T. Generalisation of structural knowledge in the hippocampal-entorhinal system.

CREDITS: Icons by biorender.com and freepik.com Brain 3D models were created with Blender software using publicly available BrainGlobe atlases (https://brainglobe.info/atlas-api)

This video was sponsored by Brilliant

notjoemama··on HTML First
> Where possible, default to defining style and behaviour with inline HTML attributes

I'm not aware that an inline style, and particularly the inline JS in their example can be nonced to prevent script and style injection.

So no. I will not be following that part of the guideline. Not until the security aligns with reality.

notjoemama··on LockBit says it's leaked 50GB of stolen Boeing files after ransom fails to land
> rumors that they like to copy technology

It's not a rumor that China copies tech, they've been caught stealing corporate and military IP.

notjoemama··on On medieval cats
To what degree did this event contribute to “the dark ages”? https://en.m.wikipedia.org/wiki/Volcanic_winter_of_536
notjoemama··on On medieval cats
I’d pass on the house too but not for spiritual or karmic reasons. I’ve seen enough social media to know the cemetery would regularly draw content creators and I wouldn’t want to deal with it. One Logan Paul video and every cemetery is overrun with attention seekers holding their phones at arm’s length.
notjoemama··on On medieval cats
Chinese officials have made public statements in support of US accelerationism. There’s also a well documented history of Bytedance in China. It is not a conspiracy theory that China used TikTok to further erode US society. I wish I could recommend a specific YouTube video to link, but there are many now that cover the reality of China and TikTok. I’d recommend watching a couple.
notjoemama··on On medieval cats
Your exposure to GenZ is very different than mine. My son’s friends come over for DnD night and they’re hilarious, wicked smart, and very grounded individuals. I’ve met friends of friends and found them to be similar. It’s only online social media (multiple sites/apps) that I find what you describe. And in that regard I have to emphatically agree with you. Perhaps just different social groups?

Also, NYTimes or WashPost are barely credible news sources today. I wish I could recant the multiple reasons that made me feel that way but there’s been too many articles, too many videos, too many audio clips from them and others like CNN, MSNBC, and Fox. Forbes is another where you’d think their finance section would be immune from political bias but even they editorialize beyond the pale. I’m sure you know what I mean regardless of political side. Aren’t we all tired of being told what we ought to feel is important and worse, the degree that we ought to experience those feelings. Man, after Covid, they’re all on the chopping block in my book.

notjoemama··on Northlight technology in Alan Wake 2
I played RDR2 and was very happy to walk away from the molasses like movement once finished. It was realistic in both its behavior and cadence and I can emphatically say, give me fantasy (better/faster) movement in a playable fantasy world. Imagine waiting for a real time washer and dryer cycle in a video game because it’s “realism”. There are limits…
notjoemama··on Ex-Kotaku staff go independent and launch Aftermath
And you nailed it in that comment btw.
notjoemama··on Ex-Kotaku staff go independent and launch Aftermath
Isn’t there a discussion to be had about journalists (and activists) needing to insert intersectionality into fantasy worlds in a genre for a demographic that didn’t ask for it?

I’m detecting an air of elevated ego in your reply. I understand the toxicity that has and does (now to a much lessor degree) exist, but can’t we recognize when social justice jumps sharks? I think we can. It’s ok to admit when activism goes too far, wandering into the territory of enforcing morals onto other people; making the same mistake the religious right has done…

notjoemama··on Ex-Kotaku staff go independent and launch Aftermath
Individually packaged units of coffee grounds in a micro-chipped plastic container for the pot to recognize it as an officially licensed “pod” is our daily life. I think real coffee has become absurd. lol
notjoemama··on Ask HN: Making a better world, how important is that to you?
Scrolled and read every top level comment. I guess I’ll be the first to push back on the notion that “if only everyone everywhere can engage in a collective effort”. The people you’re speaking to don’t matter. Their efforts don’t matter. The idea that some critical mass will individually contribute to an imagined utopia is incorrect because that’s not how any society works (beyond, let’s say, a very small tribe). Given the current state it’s better to put pressure on the people that make laws and pressure on the people that run business to get out of the way of change that benefits society. Oil companies have known about pollution, cigarette companies knew about cancer. Best you can do is find or create an activist group and be the 1% with the loudest yell to make change happen. You’ll never get the bulk of society to search their city for non slavery chocolate, but you might be able to help a group get a bill passed preventing its import. Did you know most electronic waste ends up on the African coast where slave labor washes the boards in barrels out in an open field with no more protection than a bandana over their face? They burn the plastic off cables for the copper. There are fields where young men have travelled hundreds of miles to work and send money home, only to kill themselves from cancer or poisoning before they get in their 30’s. So…how is taking my phone or old laptop to a recycle center going to fix that? People can make every effort on the front end but if the back end is corrupt, it’s all just theater. It’s better to force/incentivize the good products into the daily lives of society than expecting society to alter their lives to fit the utopian paradigm.
notjoemama··on Software that supports your body should always respect your freedom
Or the ruling in the first place…
notjoemama··on Nile: Serverless Postgres for modern SaaS
Yeah, worked in projects with both of those methodologies. Combining tenants in one database is good for cross tenant aggregation but causes people to reach for...

> brittle permission logic at the application level or complex, hard-to-debug, row-level security policies in databases like Postgres

Separating them into separate databases has its own problems with connection pooling, resource management, and query speed. It's also a pain when you have to combine the data. Then you go down the rabbit hole of ETL and SaaS products with a "scratch" interface that promises to speed things up through (yet another) customer DSL and new naming convention for everything you already know.

A better option is separating tenants by schema. Think about how you switch between schemas in Postgres. Queries look something like this:

> set search_path to public, tenantA; > select * from somewhere as smw inner join elsewhere lsw on smw.id = lsw.somewhere_id;

The somewhere table is in the public schema, elsewhere is in the tenantA schema.

In Rails, there are a couple gems that come to mind for multi-tenancy. acts_as_tenant works exactly like this, by swapping the tenant schema in ActiveRecord (the Rails ORM layer). The ros-apartment gem is another (formerly just 'apartment'). I ran across another gem called 'roomer' too but it is outdated. It works the same way though. You could even roll your own if you insert the logic at the right layer of whatever stack you're using.

Set the tenant at the request level and the ORM auto switches the schema for you. Match a subdomain to the tenant and away you go. You got a SaaS application. edit: And, it'll pass a security audit because of the separation. And you can query across LOB tenant data in a BI front end if you can live without real-time data and build some materialized views; if Redshift and Snowflake are just too expensive.

Using schema separation you get the best of both worlds; smaller data in tenant specific tables with the ability to cross tenant query because they're in the same database. And yes, I'm well aware foreign servers are a thing in Postgres but with sufficiently large data you have to spend more time tuning them for fetch size and indexes to get decent performance. Forget the fact that sometimes you have to implement dynamic SQL using SQL which is a nightmare of repetitious quotation marks with any complex data structure. Foreign servers amplify the escaped quotes. My stomach turns remembering having to write that code...

Is there a npm package for something like this? React/node is not my daily driver.

notjoemama··on Ozone hole goes large again
That’s … not how it works. The US had built strong unions in multiple areas of work because people didn’t comply with what was expected of them. This is part of why its middle class became large and monetarily strong. We’re people to band together in defiance of the expectations of the wealthy and political class, they could wrestle power back and rebalance the system. It’s history. Go read it.
notjoemama··on Ozone hole goes large again
You should spend some time on YouTube watching videos about China and North Korea. It’s not absurd at all and the psychological mechanisms are well known to anyone who’s spent time reviewing how controlling a population works. Just a minimal cursory review reveals how fear and a rigid hierarchy are all that’s needed.
notjoemama··on Forget privacy: you're terrible at targeting anyway (2019)
Same. Had a friend recommend a show to me and I binged the 3 seasons. I don’t binge watch anything. Ever. I’ve tried several other shows because Netflix and Amazon suggested them based on my previous viewing. They all mostly sucked. I don’t think algorithms can detect good acting yet…
notjoemama··on If you value Tor, please make a donation
And you know the criteria used for data requests? Do you know whether by virtue of a piece of metadata whether I (an innocent) would be included in a data request?

If you can’t protect non-Tor users from wrongful classification by the government, then you dang well better protect the privacy of everyone, whether you like it or not.

notjoemama··on Expecting return to office will boost worker productivity is 'magical thinking'
So are COLA raises that don’t match actual inflation. Too many and your experienced staff are forced to get a new job salary bump to get back to the buying power you hired them at.
notjoemama··on Napflix – Siesta Video Platform
Check out PBS Spacetime on YouTube. I love the videos and always watch them more than once. After the first time…it’s like counting quark sheep.
notjoemama··on LinkedIn is laying off nearly 700 employees
If this adds a humorous twist on it for you, I saw someone describe it as like a dating site except it’s women trying to contact men and men ghosting them.
← PreviousPage 6 of 10Next →