Readit News logoReadit News
selfportrait commented on ORMs are nice but they are the wrong abstraction   workdad.dev/posts/orms-ar... · Posted by u/iccananea
hardware2win · 2 years ago
Too much ORM hate in this thread

They are really useful for like 90% of the work

The rest can be made with raw sql

Combine strengths of those two powerful tools, dont be religious

selfportrait · 2 years ago
This here. If you follow Prisma ORM on GitHub, some of the pain you’ll see is missing features like “whereRaw”, but really most of the pain is forcing you to use raw SQL. And even then, Prisma is extensible, so build your own solutions on top of it. Like Zenstack which creates auth/role permissions on the Prisma schema.

Way too much ORM hate here.

selfportrait commented on ChatGPT for Teams   openai.com/chatgpt/team... · Posted by u/szermer
londons_explore · 2 years ago
Can't you just share the login details?
selfportrait · 2 years ago
Sharing the same space and turning off/on the custom instructions is also very annoying.
selfportrait commented on Brittany Pietsch, Account Executive at Cloudflare, records her layoff experience   twitter.com/WhatLayoff/st... · Posted by u/lopkeny12ko
adamzwasserman · 2 years ago
This is not on Cloudflare in particular. This is not even on the two clueless hatchet people sent to do the dirty work.

This is an indictment of the HR profession, its credentialing entities, and various state and federal labour laws which often create perverse incentives.

It is also an artifact (and indictment) of post S/Ox corporate culture where line managers have been removed from the "non-functional" administration of staff. and a cult of youth that has seen people with hard won managerial experience pushed out and replaced by younger employees who are too often -not- selected on the basis of management performance (since they have no track record) but rather for natural aggressiveness and disregard for others combined with an ability to hide that behind a bland non-threatening, socially acceptable, exterior. An ability that is in my personal opinion uncomfortably close to sociopathic behavior, but hey, that's just me and I am not a psychologist, right?

Anyone who thinks this is an isolated incident, or indicative of Cloudflare being in some way worse than any other similar company is profoundly mistaken.

selfportrait · 2 years ago
This is an indictment on poor executive leadership, shareholders, headcount planning consultant hacks and internal comms. It's also an indictment on the law itself for allowing this style of layoffs, legal opinion and HR compliance risk assessment to fester at corporations in the US. Don't hate the player, hate the game.
selfportrait commented on Brittany Pietsch, Account Executive at Cloudflare, records her layoff experience   twitter.com/WhatLayoff/st... · Posted by u/lopkeny12ko
dghlsakjg · 2 years ago
HR is in charge of minimizing risk to the company. One thing that is very risky is claiming performance reasons are a reason for firing when it’s really a layoff. Depending on where they are the state will not be happy that they are trying to game the unemployment system, and federally they may be in violation of the WARN act.

HR is the department responsible for knowing this and not allowing this sort of bs.

selfportrait · 2 years ago
Having worked for years in the HR space and at the intersection of compliance, recruiting, legal, and business tech, it's not a complete argument to say that HR is to blame here. Executive leadership, shareholders (and likely consultants) are responsible for these "layoffs". They are the root cause. It most likely still holds true that their decision making is "bigger picture" nonsense based on budgets and short term gains. It also might hold true that they targeted the "low performers" even if that's an incredibly unfair judgment. Anyone who has worked with or knows Sales/AEs understand that 3 months over holidays is not a fair timeframe.

How HR decided to use the reason "low performance" doesn't look great at all, but from my collaboration with HR compliance folks in the past I don't think it's a violation because it's technically the "truth".

selfportrait commented on Brittany Pietsch, Account Executive at Cloudflare, records her layoff experience   twitter.com/WhatLayoff/st... · Posted by u/lopkeny12ko
parhamb · 2 years ago
This is moral fall of HR, The worst thing in a company is lying HR, who have no idea about the team, company, performance and etc.
selfportrait · 2 years ago
I wouldn't even squarely place the blame on HR. HR is simply a (soulless) messenger. This is an executive level decision that likely has no basis in longterm strategy but rather financial pressures.

I saw it at the enterprise level during the last layoff hell when thousands were let go at my company. On the ground, there was almost little to no logic to the layoffs because the decisions were made by disconnected execs who sit in bullshit meetings all day.

In fact, it goes both ways. Even when teams are expanded out - a decision made in partnership some absurd headcount planning 3rd party consultants - it's almost as if they never talked to the team, but some exec who is 3-4 layers removed from the actual valuable individual contributors who understand the work, have frustrations and desires and should theoretically have a part in influencing planning decisions.

selfportrait commented on Twitter is now blocking Matt Taibbi from search results   twitter.com/MattBinder/st... · Posted by u/AlexandrB
halfjoking · 3 years ago
Taibbi has been consistent with people who support free speech. I don’t understand the “you get what you deserve” mentality, when there is nothing he could have done differently to help expose government censorship.

You call out government being fascist censors, and you call out power-trip billionaires when they do it too.

It’s not like stupidly playing with leopards and having your face eaten. It’s more like being a journalist in a war zone, reporting war crimes from both sides, then being treated like a criminal by both.

selfportrait · 3 years ago
There’s nothing he could have done differently? Really, nothing at all? I’m of the opinion that he could have done everything differently.
selfportrait commented on Twitter is now blocking Matt Taibbi from search results   twitter.com/MattBinder/st... · Posted by u/AlexandrB
ambientenv · 3 years ago
My suspicion is that his talent lies in financial engineering - though, perhaps, not in the formal definition - i.e. creating enough of a reality distortion field to attract and leverage other peoples money. I continue to question his values, morals and ethics (and sometimes maturity).
selfportrait · 3 years ago
I actually think it’s the other way around, his maturity is what makes his values, morals and ethics.
selfportrait commented on Twitter is now blocking Matt Taibbi from search results   twitter.com/MattBinder/st... · Posted by u/AlexandrB
ThorsBane · 3 years ago
Elon Musk needs to give a very good explanation for this, and it had better involve an actual bug or serious platform engineering issue leading to a massive renewed hiring push to build Twitter 2.0 instead of this bullshit. There are so many innovative ideas that aren’t being moved on because the existing leadership there is sitting on its hands for some reason. Twitter 2.0 would be a really cool product.
selfportrait · 3 years ago
It’s incredible there are still people like you who refuse to accept reality. Bug? Engineering issue? Have you considered that your leader is just a fraud and a hypocrite?
selfportrait commented on Show HN: Noya – A new kind of design tool   noya.io/home... · Posted by u/dabbott
selfportrait · 3 years ago
I like it! My initial thoughts are:

* Instead of exporting a file, I'd prefer to see the code in the UI and then decide if I want to piecemeal or just download the whole file with package.json, etc. As someone who iterates it would be annoying to continually download new zips

* Is it possible to define custom primary/secondary colors to use as hashtags? Almost like tailwind config file where I can set up my theme in advance and reuse or @apply through the hashtag. And like tailwind, it would be great to just do #[000000] to set a custom color or value on the fly for a button, etc. or explicitly define #bg-black #text-white etc.

selfportrait commented on Show HN: I'm a doctor and made a responsive breathing app for stress and anxiety   lungy.app/... · Posted by u/lukko
bikeformind · 3 years ago
You might want to explore using haptic feedback via the devices vibrator motor to prompt the user to breathe in and out.

One short pulse for breathe in, and a longer pulse to breathe out.

This would allow the user to perform the exercises with their eyes closed and the phone on their lap.

I know the visual functionality is core to your design, but might be a good idea to provide some optionality for users who just want to do the exercises without looking at their phone.

selfportrait · 3 years ago
+1 to this suggestion. It’s part of what makes the breathe app on the Apple Watch engaging, the stream of tapping on your wrist really helps. I’m sure the same can be achieved with the phone.

u/selfportrait

KarmaCake day254January 5, 2022View Original