danhab99

joined 2 years ago
[–] danhab99@programming.dev 10 points 3 weeks ago (1 children)

Well let's just be grateful that he put up his hand

[–] danhab99@programming.dev 6 points 1 month ago

There is a metadata protocol called opengraph, it's how apps get the information to display a rich preview. Basically the app takes the link as it's written in the SMS message or Twitter thread and then it tries to fetch that page and then read the open graph metadata from inside. That should give it enough to show a title description and a background image, considering the web developers implemented opengraph.

If Google is planning to use their own servers basically as a proxy then all this means is that the opengraph rich metadata is going to be a little more stale than if the app just fetch the page and generated the rich metadata itself

[–] danhab99@programming.dev 4 points 1 month ago

We only have one picture in the world wide web of this ballroom being built?????

[–] danhab99@programming.dev 3 points 1 month ago (2 children)

See I knew I didn't have to fucking read it

(⁠╯⁠ರ⁠ ⁠~⁠ ⁠ರ⁠)⁠╯⁠︵⁠ ⁠┻⁠━⁠┻

Why would that even be included in the summary to begin with? It doesn't make people feel good or bad to read it?

It's just repulsive unmarketable information.

Why the fuck should I read the rest of the article? I know I'll get no objective or subjective value from it, if I want the bottom of the bone dry fucking barrel I would have to read the court transcripts.

I DON'T HAVE TIME TO ASK CHATGPT TO FIND THAT FOR ME!! I have to socialize with my friends and touch grass and be healthy!

Honestly OP at this point you shouldn't've posted this thread. Lemmy isn't going to fail because of lack of engagement and low user count, it's going to fail because there are no more worthwhile links to post.

[–] danhab99@programming.dev 7 points 1 month ago

If you go to the complaints section, it's a form that sends a letter to your local state representative

[–] danhab99@programming.dev 6 points 1 month ago (8 children)

One thing I always stay weary of is all the details that were removed from the court records to fit it into a news report. Like you can't include everything and what I find out whenever I look deeper then it's not as horrible as what I thought it was.. then next time I see an article like this I don't read it bc I already know that this article is going to be just as bad as the last ones.

It's kinda like 'wolf' has been cried to me basically all my life.. like what kind of emergency/bad-thing do I actually need to respond too.

[–] danhab99@programming.dev 2 points 1 month ago

"the natural consequences of your own decisions" is the best answer I have to most things

[–] danhab99@programming.dev 2 points 1 month ago

Exactly that, if I change a pixel then the cryptographic signature breaks

[–] danhab99@programming.dev 3 points 1 month ago (10 children)

The NFTs tried to solve this problem already and it didn't work. You can change the hash/sig of a video file by just changing one pixel on one frame, meaning you just tricked the computer, not the people who use it.

[–] danhab99@programming.dev 40 points 1 month ago (4 children)

Why are these apps being distributed on app stores

Why are these apps not PWAs with an app store deployment wrapper???

[–] danhab99@programming.dev 3 points 1 month ago

The windows machine was keeping secrets and refusing to do what I tell it

I want to run some code, let's have a discussion about admin privileges and finding the correct shell app and oh shit "something went wrong"

Linux just doesn't say no, if I do something wrong it tells me exactly why it was wrong. So I guess visibility is why I jumped

[–] danhab99@programming.dev 1 points 1 month ago

It's basically a pattern of:

Me: I have a problem and I need help fixing it

Other: ok but what's the problem

Me: I can't do this for some reason

Other: you're wrong for wanting to do that when you can just do this instead besides you're dumb and stupid and wrong and you should just deal

So I'd just keep changing things until my computer did what I wanted. I'd be fine using a Mac or windows if and only if it was ok to ask for help (meaning that I got to a point with a problem where I can't move forward anymore myself and the only 2 options are to give up or ask for someone to contribute something that makes it so I can make progress)

 

Since the housing market looks like a crowd of people just signing mortgages as fast as possible just to then turn around and charge that mortgage plus a little bit.

I shouldn't pay someone's mortgage like seriously this is just adding an unnecessary problem to the real problem of "living somewhere"

 

I have a massive terraform state I maintain for work. After learning about reusing resources using modules I adopted the same rule for terraform I have for other PLs "only call functions in the main func". Meaning I'm only allowed to declare modules that reference resources at the top level.

My problem is that I have modules calling modules all over the place, the average length of any of my resources is 8 names. I have values I want to share across multiple different kinds of modules that do different things. Currently I have a top level module called "constants" with output blocks to store every constant I need. It works to an extent.

The thing is that I had a similar problem when web developing in React. Prop drilling is a coding style in React where a component receives a prop just for the purpose of passing the prop to a child component, the receiving component doesn't actually need that prop for itself. React solves this by the context api which lets one component pass a value to any child component of any depth. How can we have something similar in Terraform? Even though every resource I have is defined once in code, it declares the same resources hundreds of times with different appropriate values.

I wish I could pass things like the dockerSecret to a kubernetes deployment 6 modules deep in such a way that that dependant component of a module waits for the docker secret to be created while other resources that don't depend on it can be scheduled to be created later. Prop drilling doesn't work all that well and it forces you to copy alot of code. Maybe modules aren't the best way to reuse resources.

I feel like HCL doesn't have syntax that would support such a thing idomatically. Maybe something like decorator syntax or a special type of block where you write a proper data, resource, or module block?

What do you guys think?

 

Has anyone noticed that we haven't really heard of a new app in awhile? I feel like the last time I heard about an app on the news or on Reddit(in the past) in a long time. The last big one I heard of was the Threads app.

Where are the apps? I haven't downloaded a new app since I got Boost for Lemmy.

 

I had a long and intresting conversation with my therapist just now. I'm not comfortable sharing exactly what we were talking about but I can rephrase it: basically I was complaining that tech companies don't want to innovate.

I've been trying to bring new technologies to my boss because I thought it would give him a better opportunity to realize value from the products I'm creating/maintaining for him. That's what I understand is my purpose in the workforce. I'm a programmer not a salesman I can't go out to the market and get him the money so he can pay me with something, I can only make things put things in his hands for him (or hire someone to) to go out and collect the money we deserve (deserve within the limits of market demands and the nature of the product, not the labor invested). But he doesn't want them... well he does when he needs them but I miss way more times than I hit which is making my professional feelings feel less valuable. And if I'm not valuable enough then I can't work doing what I love.

When I started working I went in with a plan to upgrade and modernize everything I touch. I still believe that to be the case, or like... my "purpose"(as an employee not a person). But every company I've worked for so far has been running old ass shit. Springboot apps, create-react-apps, codebases in c and c++, no kubernetes, little to no cloud. And it feels like everything that tech companies want me to do is maintain and expand old existing codebases. And I understand why, I know that its expensive to rewrite entire code bases just for a 20% efficiency boost and to make it easier to add upgrades every once in awhile. But noone is taking advantage of innovative technology anymore and that's what's concerning me.

In my therapist's opinion he thinks we as a soceity are not taking 100% advantage of technology we have. I can't go into too many details bc our conversations are private but at the end I agreed with him. I'm seeing it now in my working day but he convinced me that it's everywhere. Are people actually benefitting from technology enough such that nobody actually needs to work to maintain a long and healthy life?

Lets say that no, technology is underutilized in our soceity. Does that mean that if we use technology more we'd have enough value in the economy to pay everyone a UBI? Could we phase out the human workforce to some extent? Or do we actually need more workers to do work to make the value, in which case we can't realistically do UBI because people need to get paid competitivily to do the work.

Lets say that yes, we are taking all advantages of technology. If so than there should be enough value to pay a UBI. But we don't have a UBI, so why? If the value exists than where is it? I don't believe its being funnelled into the pockets of some shadowy deep-state private 4th branch of government. If it was than there'd be something to take, is there? Are we sure that its enough?

Basically I don't know if technology generates value.

Think about it like this

If its cheaper to use technology to grow an acre of corn than to use people, is that subsequent output of corn more valuable or less valuable because of the technology. And if you believe that scaling up corn production to make the corn just as valuable as if we didn't have technology then you agree that the corn is now less valuable. If self-checkout machines are replacing cashiers, does that mean that the cashiering work being done by the machine is more valuable to soceity or less?

This is basically end stage capitalism. We need to recognize if the work we do for soceity (whether you derive personal fulfillment or not) is actually adding to soceity or not. I'd rather not give up my job as a programmer just so I can do something more valuable, but I might have to if that's the case. And I feel like most people in the world are thinking like that too. Is soceity trying to hang on to the past, or do we just not understand the future?

Sorry for the wall of text. I feel like this might be to philosophical for this community but I couldn't find a better place to post this. If you know of a better community for this discussion to take place then I'll consider moving this post based on the comments already posted. Thank you for reading this and I'd love to answer any question you'd have about my opinions/feelings.

 

I feel stupid for asking this because I should just google it right? But I can't find an official website by Hamas and the only sources I can find for their charter is on the websites of American law colleges.

Example searches: Searching .edu sites, Searching .gov sites.

Wikipedia has sources but they're also American colleges and this absolutely cursed looking link you shoud actually put into your browser, like I don't feel safe clicking it so I got a VPC to do it, link is broken:

http://hamas.ps/en/post/678

I'm just supprised something this recognizable is hard? to find.

P.S. sry if this isn't the right place to post

Edit: searched google in arabic because OBVIOUSLY (why didn't I think of that). Couldn't get better results.

 
 

Did I break a taboo by doing this?

 
 
1
submitted 2 years ago* (last edited 2 years ago) by danhab99@programming.dev to c/news@lemmy.world
 

I thought Kanye already got his account back when Elon first bought the bird, but I guess not ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯.

edit: NVM he's gone again.

view more: ‹ prev next ›