Examples of data entry resume

Reddit Resume - Get Your Resume Reviewed

2009.03.19 18:01 p_W Reddit Resume - Get Your Resume Reviewed

A community where people can submit their resumes for anonymous feedback. General resume questions and discussions are welcomed as well.
[link]


2008.10.21 07:17 pwned

Discussing news of recent breaches, leaked/stolen data, and other examples of pwnage affecting the confidentiality or integrity of data.
[link]


2012.06.17 20:13 Algorithmic Trading

A place for redditors to discuss quantitative trading, statistical methods, econometrics, programming, implementation, automated strategies, and bounce ideas off each other for constructive criticism. Feel free to submit papers/links of things you find interesting.
[link]


2024.05.29 05:00 tem-noon For image generation, "Scale Correctly" can make people Giants.

For image generation,
I'm doing some commissioned work generating images for a book. This is the exchange, explaining it should "Scale Correctly". A good example of LLMs of having no grasp of a "Correct" size for a human relative to a house. "Scale Correctly" seems to be done purely aesthetically. I am making an image of a Builder, so more important than the house. images attached.
Give me an illustration for this book of a home builder / General contractor at work building a house.
Here is the revised illustration of the home builder or general contractor at work building a house, with the builder scaled correctly relative to the house. If you need any further adjustments or additional scenes, feel free to let me know!
Mostly good, but the person is too large relative to the house. Scale him more correctly.
Here is the revised illustration of the home builder or general contractor at work building a house, with the builder scaled correctly relative to the house. If you need any further adjustments or additional scenes, feel free to let me know!
[I used the editor to highlight the giant builder and gave the prompt]:
Make the person outlined smaller, but still working on the house.
https://preview.redd.it/xtk003qe8a3d1.png?width=1024&format=png&auto=webp&s=9966ccf375692c5f749f578aa4e7cf27d06db7e2
Here is the updated illustration with the home builder scaled smaller but still working on the house. If you need any further adjustments or additional scenes, feel free to let me know!
[this was good enough for what I was trying to do]
I thought this was an interesting data point, about how it can seem so good so often, but then you get that clear clue that it really, really doesn't "know" what things means under the hood.
submitted by tem-noon to ChatGPT [link] [comments]


2024.05.29 04:59 Red-Spider220107 Hear me out.... A dark/horror novel or comic book series based in Save The World called "Tales From the Storm"

I feel like a novel or comic series could be interesting as it could introduce new husks to the Fortnite universe.
These tales could be diary entries or classic stories that focuses on survivors who may or may not get rescued by Homebase.
For example, one could be where a group of people are camping when the storm surrounds them. They feel a chill in the air and don't realise that a stalker (new husk that could stalk players from afar, similar to Sirenhead) is watching them. hypothetically, if the stalker was added, it would be something that you can see in the distance but can't actually fight. As soon as a bullet goes near it, it'll camouflage and run away to a different part of the map. It would only be found in grasslands and will stop spawning when a certain percentage of trees is destroyed.
Fortnite was originally supposed to be horror and I feel like this series would be a good way to reintroduce horror to the world. It could also be used to reuse older designs of husks as new species.
submitted by Red-Spider220107 to FortniteSavetheWorld [link] [comments]


2024.05.29 04:56 Local_Water2391 Do we know how often certain items restock?

I've been trying to catch a few specific petpets (Schnelly, Talpidat, Vacumatic 9000, for some examples) in a restock lately but I haven't seen a single one of them. I can't catch every restock, of course, but it led me to wonder - do we know how often certain items restock? In a totally different category, the Turned Tooth is one item that's in really high demand and offers a larger profit margin for restockers - but how often does it pop up? Do certain items only restock 1 at a time, or are there always multiples? Is that data anywhere, or is there anecdotal data available within the community? Inquiring minds want to know!
submitted by Local_Water2391 to neopets [link] [comments]


2024.05.29 04:54 tempmailgenerator Understanding C#: 'String' vs. 'string'

Exploring C# Type System Nuances

In the world of C#, types play a pivotal role in defining the structure and behavior of data. Among these types, the distinction between 'String' and 'string' often becomes a topic of subtle yet significant discussion. This difference, while appearing minimal at first glance, underpins deeper insights into the language's type system and its interplay with .NET framework. The exploration of these two identifiers is not just about syntax but touches upon the foundational aspects of C# programming, including type safety, code readability, and the underlying system types.
The intricacies of 'String' and 'string' in C# serve as a gateway to understanding the language's handling of primitive types versus reference types. This distinction also sheds light on the broader theme of how C# maintains compatibility with .NET's Common Language Runtime (CLR), ensuring that the language is both powerful and flexible. By delving into this topic, developers can gain insights into the nuances of C# programming, leading to more robust and maintainable code. The following discussion aims to demystify the nuances between 'String' and 'string', providing clarity and enhancing the developer's toolkit for effective coding in C#.
Command Description
String (with uppercase S) Refers to the .NET Framework class System.String. It is a reference type that represents a sequence of characters.
string (with lowercase s) Is the C# keyword alias for System.String. It is compiled into System.String in IL, making it interchangeable with String.

Exploring the Nuances of String Handling in C

In the realm of C#, understanding the difference between String and string is pivotal for developers, especially when delving into the nuances of type handling and assignment. At its core, the distinction lies in the representation and usage within the C# programming language. The 'String' (with an uppercase 'S') refers to the .NET Framework class System.String. This class is a part of the system namespace which provides a plethora of methods for manipulating strings of characters. As a reference type, it is capable of representing null, indicating the absence of a string. On the other hand, 'string' (with a lowercase 's') is a keyword in C# that acts as an alias to System.String. This syntactic sugar is designed to simplify code writing, making it more readable and concise.
The interchangeable use of String and string might suggest a purely stylistic choice at first glance. However, the decision between them can have implications on code consistency and readability. The C# convention recommends using 'string' when referring to an object or a data type and 'String' when accessing static members of the System.String class. This distinction, while subtle, aligns with the broader C# coding guidelines that advocate for clarity and precision in code. Understanding these conventions is essential for writing clean, maintainable C# code that adheres to best practices and leverages the powerful features of the .NET Framework to manipulate and manage strings efficiently.

Understanding String vs. string in C

C# Code Example
using System; class Program { static void Main(string[] args) { String str1 = "Hello World!"; string str2 = "Hello World!"; if (str1 == str2) { Console.WriteLine("str1 and str2 are equal."); } else { Console.WriteLine("str1 and str2 are not equal."); } } } 

Exploring String Types in C

In C#, the distinction between String (capital S) and string (lowercase s) might seem minor but carries significant implications for developers. Both String and string are used to represent text as a series of characters. However, their usage can reflect different programming practices and understandings of the language. String, with an uppercase 'S', refers to the .NET Framework class System.String. This class provides a range of methods for manipulating strings of text, such as comparing, searching, and formatting strings. When developers use String, they are directly invoking the capabilities of this class.
On the other hand, string (with a lowercase 's') is an alias in C# for System.String. Essentially, it is a shorthand provided by C# to make code more concise and readable. The compiler treats both String and string the same way, which means there is no performance difference between them. The choice between using String and string often comes down to coding standards and personal preference. Some developers prefer using String to make it explicitly clear that they are working with a .NET Framework class, while others opt for the lowercase string for its brevity and because it aligns with the lowercase types like int, bool, etc., that are intrinsic to C#.

Frequently Asked Questions on String vs. string in C

  1. Question: Is there any performance difference between String and string in C#?
  2. Answer: No, there is no performance difference between String and string. Both are compiled to System.String in the Intermediate Language (IL).
  3. Question: Can you use String methods with the lowercase string keyword?
  4. Answer: Yes, since string is an alias for System.String, all the methods available with the String class can be used with string as well.
  5. Question: Why would a developer choose String over string, or vice versa?
  6. Answer: The choice often depends on coding standards or personal preference. Some prefer String for its explicit reference to the .NET Framework class, while others choose string for its simplicity and consistency with other C# intrinsic types.
  7. Question: Is string a value type or a reference type in C#?
  8. Answer: In C#, string is a reference type, even though it often behaves like a value type because it is immutable.
  9. Question: How does C# handle the immutability of strings?
  10. Answer: Strings in C# are immutable, meaning once a string object is created, it cannot be changed. Any operations that appear to modify a string actually create a new string object.
  11. Question: Is it possible to initialize a string with a null value?
  12. Answer: Yes, strings can be initialized with a null value. However, performing operations on a null string will result in a NullReferenceException.
  13. Question: What is string interpolation in C#?
  14. Answer: String interpolation is a feature in C# that allows you to embed variable values directly within string literals, making it easier to format and concatenate strings.
  15. Question: Can string literals span multiple lines in C#?
  16. Answer: Yes, with the introduction of verbatim strings (denoted by @ before the string literal), you can create multi-line strings without needing to use escape characters for new lines.
  17. Question: How can you compare two strings for equality in C#?
  18. Answer: You can use the == operator for a simple equality check or the String.Equals method for more control over the comparison, such as case sensitivity and culture-specific comparisons.

Wrapping Up the String Discussion

The nuances between String and string in C# may appear subtle, yet they embody the depth and flexibility of the C# language. This examination underscores that while both represent sequences of characters, their usage is influenced by developer preference and context rather than technical distinction. String, as a .NET class, and string, as its C# alias, are interchangeable, offering the same performance and methods. The choice between them often boils down to readability, convention, and the intent to make code as clear as possible to other developers. Understanding these aspects is essential for writing effective C# code, as it not only affects how one interacts with strings but also reflects on broader coding practices. Embracing the dual nature of string representation in C# allows for a more nuanced approach to coding, where decisions are made with an understanding of both the language's syntax and its underlying framework. Ultimately, whether one prefers String or string, the key is consistent usage within a project to maintain code clarity and readability.
https://www.tempmail.us.com/en/c/understanding-c-string-vs-string
submitted by tempmailgenerator to MailDevNetwork [link] [comments]


2024.05.29 04:47 OptimisticToaster Tips for Protesting Assessed Value

If you intend to protest the assessed value on your property, here are some notes that may be helpful. These notes are focused for residences; for commercial or rental properties, there may be additional tips such as presenting an income analysis for the property.
If you had a large adjustment, be mindful of two things. First, the property values may be appreciating. The Omaha MLS showed median home prices up 9.8% from 2023-2024. The other issue is perhaps the assessed value hasn't kept pace with market trends the last few years, so the Assessor has to do a big catch-up. It's sticker shock, I know, but the flip is that you got a good deal the last few years.
Things that will not help.
Now, some tips to give yourself a stronger case.
Data. It drives any successful protest. Honest, applicable, data. No side stories, no complaining, just subject and market data.
For residential properties, the value is typically analyzed based on sales of other properties. Find sales of similar properties; there's no formula, but look for sales that are recent, nearby, and similar design. In short, sales that a typical buyer might look at when trying to figure out a fair price to pay for your property. Try to find sales near or before January 1 of this year.
The more detail you know about them, the better. Put them in a table that makes it easy for the referee to see how your property matches-up with those sales. Don't list every detail, but probably the main items like sale date, price, size, year built, amenities, etc.
Some protesters bring just the lowest-priced sales rather than the most similar sales. If the referee sorts that you're being manipulative rather than honest and transparent, it'll really hurt your case. Referees often run their own searches after the hearing, so it's best to be straightforward. Also be mindful that no one sale sets the value; the key is the broader market data.
There is one other way to protest based called equalization: demonstrate that you are being over-assessed relative to comparable properties. For example, if 3 other properties are just like yours but assessed less, then that can support an adjustment even if the value is not over market level. This one is a little tricky - the comparables have to have the same use classification, in the same county, and reasonably compete with your property. And it's not just that they have a lower assessed value, but that they have a lower assessment compared to their true value (the ratio is what's important). It can work, but doesn't have a very high success rate because protesters usually miss one of the requirements.
Let's see... what else... It doesn't really matter if you meet in-person, by phone, or not at all with the referee. The key is to provide data, which you can typically upload or email to the County. Also, nobody with the County or the referees are out to get you or pushing for high values; they're just reviewing the data.
submitted by OptimisticToaster to Omaha [link] [comments]


2024.05.29 04:47 SegFaultHell Is Clojure good for one off “dev task” sorts of scripting?

Occasionally I’ll get dev tasks at work where I’ll need to run a one off task. As an example, a recent one was to essentially take a csv with ids, fetch the record from our database, and grab the value from another column to add to the csv file.
These don’t crop up too often, but when they do I usually go for Python to quickly slap a script together. What I end up with is usually a lot of back and forth between running and debugging the python script to make sure my data is coming out like I want, and then pointing the script at the full file.
In the past I’ve read through some of the Clojure for the Brave and True book, and the REPL seems really appealing for this sort of scripting and small data manipulation tasks. Is there some reason I’m missing why Clojure might not be a good fit for this sort of thing?
submitted by SegFaultHell to Clojure [link] [comments]


2024.05.29 04:40 623Raider Entering AP course work on AMCAS

Entering AP course work on AMCAS
So on my transcript, the AP classes I took were entered as credit awarded by AP test the same time I actually took the exams. I'm not sure whether I would enter the date they have listed on my transcript or the first semester of my freshman year like the AAMC video says
Also for the grade, should I put P or leave it blank?
Transcript Example:
https://preview.redd.it/dht8wppl2a3d1.png?width=1225&format=png&auto=webp&s=10843e09c0b7ec3743bb1127deb8baa16f002140
AMCAS Entry example:
https://preview.redd.it/e2zd9d553a3d1.png?width=936&format=png&auto=webp&s=4ffc0a3f182f4f266921974c6a47565fc4d8967a
Can someone please tell me if I'm doing this right? Thanks!!
submitted by 623Raider to premed [link] [comments]


2024.05.29 04:36 R3cycl3dKarma Sports Stats Channels : How to keep data updated?

For a sports channel based on stats, what are general best practices to keep the data updated?
For example: Video published in May 2024 comparing two players, will need a data refresh by Dec 2024. But the video title and description will not change.
1) There is no way to "update" an existing video, for sure right?
2) After published a new Dec 2024 video? Should we delete the May 2024 video?
3) Can we link new video from the old video to drive traffic?
This problem is common for most data driven videos, what are some of the best practices here?
submitted by R3cycl3dKarma to NewTubers [link] [comments]


2024.05.29 04:36 triniboyshaq Hit with layoffs. June 28th, last day.

Come June 28th I’ll be out of a job, good on them for giving us a heads up I guess.
Any tips to improve my resume would be greatly appreciated.
My resume: https://imgur.com/a/RHpCPDV
I graduated college Dec 2022, worked help desk at my college and did a security analyst internship there as well. Started my current role Sep 2023. I know im still considered entry level which is fine, I’m just looking to try and get ahead of this. I know the market is insane right now & it’s damn near impossible to get a job. I’m even thinking about revamping and going back to a lvl 3 HD position for the mean while but everyone been telling me don’t do it.
Should I focus on some certs? Maybe a splunk one? Or the cysa? I started studying for the SAA but will most likely push this back to focus on job searching. So far I’ve only had 4 call backs within 6 weeks, made it to round 4 of one and got ghosted. Another one was BS they wanted me in the office despite the commute being 3 hrs both ways. Had one today & the recruiter was very unprofessional, she was late, vaping and drying off her hair, she asked me 3 questions are then ended. The last one basically wanted a unicorn and the guy told me “ you not a good fit” all I did was correct him on investigating an alert where a user IP pings outside the country lol. He didn’t issue a PW reset nor lock the acc & I thought it was a trick question so i responded
Any resume suggestions will be appreciated.
submitted by triniboyshaq to ITCareerQuestions [link] [comments]


2024.05.29 04:32 NoCabinet2332 CISSP Questions for Confidentiality, Integrity, and Availability

Here are 70 multiple choice questions I hope it will help you all.
  1. What does the C in CIA Triad stand for?
- a) Confidentiality
- b) Communication
- c) Control
- d) Consistency
- Answer: a) Confidentiality

  1. What is the main goal of confidentiality?
- a) Ensuring data is accurate
- b) Keeping information private
- c) Making information available
- d) Validating user identity
- Answer: b) Keeping information private

  1. What does the I in CIA Triad stand for?
- a) Integrity
- b) Information
- c) Identification
- d) Involvement
- Answer: a) Integrity

  1. Which concept involves ensuring data has not been altered?
- a) Confidentiality
- b) Availability
- c) Integrity
- d) Authentication
- Answer: c) Integrity

  1. What does the A in CIA Triad stand for?
- a) Accountability
- b) Authorization
- c) Authentication
- d) Availability
- Answer: d) Availability

  1. Ensuring information is accessible to authorized users is a principle of:
- a) Confidentiality
- b) Integrity
- c) Availability
- d) Authentication
- Answer: c) Availability

  1. Which method supports confidentiality?
- a) Hashing
- b) Encryption
- c) Auditing
- d) Redundancy
- Answer: b) Encryption

  1. Which technique is used to check if information has been modified?
- a) Encryption
- b) Hashing
- c) Redundancy
- d) Authorization
- Answer: b) Hashing

  1. What supports availability by having multiple copies of information?
- a) Encryption
- b) Hashing
- c) Redundancy
- d) Authentication
- Answer: c) Redundancy

  1. Which concept is the process of claiming an identity?

  1. Which process verifies an entity's claimed identity?

  1. What ensures an entity is allowed to access a requested resource?

  1. Tracking the actions of entities is known as:

  1. Holding people responsible for their actions is a principle of:

  1. Preventing individuals from disputing their actions is known as:

  1. Digital signatures are used to ensure:

  1. Encryption helps in supporting which part of the CIA Triad?

  1. Hashing helps in supporting which part of the CIA Triad?

  1. Redundancy helps in supporting which part of the CIA Triad?

  1. In the CIA Triad, what does the term 'availability' refer to?

  1. Which of the following is NOT a part of the CIA Triad?

  1. The process of keeping information private is known as:

  1. Ensuring information is unmodified and accurate refers to:

  1. What is the process of holding individuals responsible for their actions?

  1. Which of the following helps in ensuring data integrity?

  1. Making sure only authorized users can access data refers to:

  1. What mechanism prevents users from denying their actions?

  1. The CIA Triad is fundamental to which field?

  1. Which of the following is a method to support availability?

  1. What does encryption ensure in the context of the CIA Triad?

  1. Which of the following is an example of confidentiality?

  1. What ensures that data remains accurate and trustworthy?

  1. The process of ensuring data is available when needed is known as:

  1. Which principle helps in preventing data breaches?

  1. Which method helps to verify the accuracy of information?

  1. What is an example of supporting data availability?

  1. Which concept involves claiming an identity?

  1. Ensuring a user is who they claim to be is a process of:

  1. What checks if an entity should access a resource?

  1. Tracking actions of users is referred to as:


- b) Authorization

  1. Holding users accountable for their actions is known as:

  1. Which concept helps prevent denial of actions?

  1. Which part of the CIA Triad is affected during an outage?

  1. What ensures that unauthorized parties cannot access information?

  1. Which of the following prevents information modification?

  1. What supports confidentiality by hiding information?

  1. Ensuring data can be accessed by authorized users refers to:

  1. Which method supports integrity?

  1. Which of the following supports availability?

  1. The CIA Triad consists of:

  1. Which process involves tracking user actions?

  1. What ensures users are held responsible for their actions?

  1. Preventing users from denying their actions is called:

  1. Which part of the CIA Triad does encryption support?

  1. Which part of the CIA Triad does hashing support?

  1. Which part of the CIA Triad does redundancy support?

  1. Ensuring data is unaltered refers to:

  1. Which of the following ensures data is private?

  1. What supports availability by having backup copies?

  1. Which method helps in verifying the accuracy of information?

  1. Ensuring data is accessible when needed refers to:

  1. Which of the following methods supports confidentiality?

  1. Ensuring only authorized users can access data is known as:

  1. Which concept helps track user actions?

  1. Holding users responsible for their actions is a principle of:

  1. What prevents users from denying their actions?

  1. Which principle ensures data is not accessible to unauthorized users?

  1. Which method supports data accuracy?

  1. Which concept ensures data accessibility?

  1. What is the process of verifying user identity?
From Davata McCain :)
submitted by NoCabinet2332 to CISSP_Test_Questions [link] [comments]


2024.05.29 04:27 wolfloveyes Accept the reality, so many men chasing women who aren't into and ending up hurt.

It's 2024. An average woman has internet and she probably has dozens of men on social media she admires. An average male will never be able to measure up to those gifted guys.
If you are struggling too much as an average male in relationship, let it go. You'll not be able to live up to her ideals of the males.
Majority of couples met on dating apps (30% of them it's a primary medium now) anyone claiming that dating app users are some fringe minority has not read much data coming from various surveys on couples.
Being average means, you are in majority 80% men (there's whole lot of people like you, who suffer in dark). It's time to reignite brotherhood and support each other.
What should average man do? Accept reality of 2024.
You are not valuable to women as an average male. Prime example is that average woman can put on makeup, go to a club dozens of men will hit on her. She can upload photos on Instagram, and receive thousands of likes. She can go to Tinder and receive 100s of matches.
You can't. Then how are you equal to her? It's like asking for a billionaire to have a business deal with you. Yes she may give you chance (but it's designed to see you fail, you'll end up with much lower self esteem after being dumped or ghosted)
Love does not exist for vast majority of men will never be at the receiving end.
You'd be grateful and in top 20% males, if a woman even does anything for you and even more rare if she does it consistently for you.
Vast majority of males will never be loved. They'll be the ones who'll make all efforts, buy presents, arrange dates, initiate conversations, make it interesting and all.
You may even get so far, you bought house, you bought the dream car. You dream of having kids and family. Then you hear "I've sometime to tell you, I've lost feelings for you".
Nothing is guaranteed, more so if not blessed in some way acknowledged widely by society.
It will be enjoyable the first time, till someone kicks your heart and you realize movies lied to you.
If you are top 20% male, just a glance at a woman will make her fill with desire for you.
If you are not, move mountains, and while you keep moving them sun will shine, when you stop this and take time for yourself because you got burned out for doing too much for too long, boom everything vanishes.
If you were lucky, your mom loved you if not that's was probably last hope of experiencing love (where you didn't have to do much to get it)
As a man, we should not really have much hope of life. Nothing will be just handed to us. Most of what makes us attractive is either set at birth or need astronomical efforts with crazy good luck on your side.
submitted by wolfloveyes to self [link] [comments]


2024.05.29 04:10 Then_River_7461 Compact data structure to store a variable consisting of several elements with "non-basic" size.

I'm wondering if it's possible to store such data in a space efficient way. For example, let x of 8-bit have 3 elements:
Of course x can be saved as a struct with each elements being 8-bit, which is the smallest "basic" data type. Given that c++ is evolving so rapidly, is it possible to store x in 8 bits, and still be able to access the elements like x.a, x.b, x.c? Something like "advanced" std::bitset?
submitted by Then_River_7461 to cpp_questions [link] [comments]


2024.05.29 04:09 Storms_Wrath The Human Artificial Hivemind Part 518: A Falling Tower

First Previous Wiki
Penny gazed at the quartet of Elders. They were all wearing the merchandise she remembered from the last Judgment, which was exceedingly awkward. Mainly because they were wearing shirts with her face on them. But it was also oddly endearing, in a way. Until now, she hadn't seen too many Elders that were on her side.
Elders that weren't just Kashaunta or the familiar faces she already knew, like Spentha or Rho and Sai, actually showing appreciation of her, felt odd. Even if these ones went a little too far in it.
"You're even more beautiful in person, Liberator," one said.
"Uh, thanks. I appreciate that. I'm glad that you all like me. Rho and Sai told me that you all are interested in something I can give you?"
"Yeah. Maybe a short interview? We won't be like that airhead reporter. We'll ask the good questions."
"Yep, we will."
"Right then," Penny said. "Well, I'm glad to meet you."
"Thank you. Now that we're here, we'd like to know how you plan on taking care of the gang leaders."
"Well, presumably by imprisoning them. I don't think they deserve to die, even if others do. I'll leave that decision up to Justicar and his various judges in the criminal system."
Penny didn't like having to lie blatantly. She wanted to kill the slavers quite brutally, but doing that was a bad idea right now. Saying it also was a bad idea, for a similar reason. And Justicar's system was worryingly preferential to Elders, from what she'd looked up after the meeting with Pundacrawla.
"Aren't you worried that the Judges won't give proper justice?"
"I trust Justicar to do everything that is necessary."
Another lie. Justicar would do whatever he could to maintain his image. Hopefully, that wouldn't be at the cost of the Alliance's very existence.
"Got it. By the way, what's it like being human? Walking on only two legs. It seems kind of unstable. Do you fall a lot?"
A genuine curiosity from them was another breath of fresh air. It was the kind of question a quadruped would definitely ask, which put her more at ease about the nature of what they were trying to do. Even more than their evident support of her, with all the merch they were wearing. Penny felt a smile crack at the corners of her lips, unbidden.
"Not really. We can use our arms to steady ourselves pretty well. Obviously it's not as easy to balance on our two legs as it is with your four, but it's still good enough. In fact, the sprinters in the Olympics use all four limbs, since running as fast as possible also requires pumping our arms. As for what it's like to be human, it's hard to describe. For many of us, it will feel colder or warmer than Sprilnav would feel in the same temperatures, due to thinner skin. Our eyesight is more frontal than yours, given our lack of snouts, so our blindspots are a lot bigger. Our feet require shoes for rough ground, and we heal slower than you by around 20%. We can't really clack our jaws to the scale that you can, though we can make them meet."
Penny bared her teeth, showing as she opened and closed her mouth. It was nice to be able to talk about things like this.
"The Olympics?" one of them asked.
"It's a competition about athletics," Penny said. "Running, jumping, throwing, diving, swimming, skiing, snowboarding, and a lot of sports. There's specific divisions, too. Like how there's a 100 meter dash, 200 meter dash, 400 meter dash, and even an 800 meter dash for those with high levels of psychic energy. Though really, psychic energy and genetic editing have been messing with the events for a while now. And there's a Winter, Summer, and Space Olympics, each with different sorts of events. They move from city to city, though the Space Olympics are pretty much always on either Luna, Ceres, or Mercury. There's a lot more information out there on various events, but it's an old cultural practice revered by the entire species. Even more so since Phoebe's increased the prize pools for everyone."
"How does your species handle space in general? I know that you guys did things way differently before First Contact."
"We did. Mining companies kept tight control on all asteroid mining, while nations controlled planets like Earth and Mars and large planetary bodies like Luna. Supposedly, a few people planned for a cloud city on Venus, but we couldn't risk having such a vulnerable population because they'd have to rely on giant balloons to survive. That would probably be the least secure way to live, given the existence of rogue organizations and all that.
As for spaceships, most of them since we really colonized Luna come equipped with spacesuit bays, zero gravity water and food packs, oxygen tanks, emergency seats, specialized anti-micrometeorite hulls, and radiation shielding. A lot of the older military ships also were equipped with big radiators until World War Three, when it all became masses of drone warfare, with the big ships kept mainly for cargo and lanes where mass drone control was impossible.
Once the Vinarii came and we got shields, we started building big again. After all, it provided a huge number of jobs, and in the post-war economies, especially with VIs in place, a lot of people needed work. But we still go and do asteroid and moon mining, star lifting, and energy gathering. We built an orbital ring around Mercury, the closest planet to Sol, to help with all of that. It doubles as a production hub, too. Now, it's all in more systems and with a lot more friends."
"Speaking of aliens, what theory does your people have on why so many creatures resemble one another? Our jaws are adapted for hard shelled creatures, and we're told that many planets have oddly similar variations of those."
"Crabs."
She guessed what they were getting at.
It is odd, isn't it? Nilnacrawla observed.
Perhaps that is another one of the Source's whims, Penny thought.
Maybe.
A few of the Elders made exclamations of shock.
"You even have a word for them that directly translates!"
Penny chuckled. "Yeah, carcinization is a bit of a meme in the science community. But I've heard the most mainstream theories since the First Contact are that the Source itself is uncreative. It has a certain template of creatures which it largely doesn't alter, though it can take in inputs from beings close to it, perhaps even influencing them."
"Influencing them?"
"Yes. Modern depictions of wendigoes, folkloric creatures from North America, a continent on Earth, are shockingly similar to the Knowers in appearance. The internet depictions of them in particular like to emphasize canine qualities, and often show them with skulls visible directly, and with dark brown or black fur. Recent depictions, as in the past 300 years, differ from their original appearances quite significantly, with the canine characteristics in particular being enhanced.
We have sorted through all known images of these creatures and found roughly 80% similarity with the Knowers and tens of thousands of images that are literally exactly the same as Knowers. The ones we searched all came before World War Three, far before even the First Contact with the Vinarii, much less the Knowers who were entirely underground at the time due to the radiation of their home star. We believe that the Source managed to influence this facet of human culture with the actual existence of a real creature.
Other examples exist, like how the Trikkec look very similar to Komodo Dragons, Vinarii look very similar to insects known as a mantis, and the Acuarfar look exactly like insects known as wasps with the single exception of their furry snouts and green instead of yellow markings. The Sprilnav species itself shares high amounts of similarity with a fictional species known as Elites in early 2000s culture, particularly with your jaws, though you all have red skin instead of grey or brown.
The Junyli, Dreedeen, and the wanderers are the main species without high amounts of appearance in our cultures at some point. This correlates with the idea of the Source being the influencer, as their predecessors all were used to fight it. Many species of the galaxy look like parts of our culture or Earth's creatures. The proximity of these examples makes this far more suspicious than if they were across the galaxy.
But since they existed first, the only answer must be that the Source brought the influence to us first and planted the ideas in our heads. As for the ones which look like Earth creatures, all of them are old enough evolutionary branches that copying from them to Earth makes more sense. Though the references centering around the early 2000s is quite odd, it is also roughly when the internet came into wide existence, so it is also possible the Source gave the ideas a push so they would propagate, for an unknown reason. Like if it seeded the ideas that propagated across the early global network Humanity used."
"Hmm. Fascinating. We've seen evidence of the 'seeding' process among some historical nations near the galactic region of Earth before. So the Source re-uses and alters depictions of life and also life itself?"
"Maybe," Penny said. "Unless the Source is more directly tied to life than we think. There's a conceptual Death, but no conceptual Life. Isn't that odd?"
"Conceptual Life died in the Source war."
How did that really work, though? Penny asked Nilnacrawla.
Imagine a conceptual being. A few of the Progenitors, as well as Narvravarana, went up to try to harvest its power. It refused, and Narvravarana used its unique abilities to try and force the deal.
Why was your civilization like this?
Excess and greed, partly. But we couldn't really do much more expansion. Vertical expansion also had its limits if we wanted to remain relevant for the remaining lifespan of the universe. So Narvravarana, along with a few of the greatest rulers and leaders of Sprilnav society, started looking to other dimensional planes. They figured it was best not to let the problem get too much worse. Or at least, that is what they say. I believe it was to harvest more resources to use against our surrounding enemies.
You didn't have any allies? Penny asked.
At that time, all the powers of the universe were enemies. All the allies eventually merged through millions of years of normalization. We happened to get on the universal stage the earliest, so other civilizations we encountered had little choice but to surrender their independence. Some fought, others didn't, but the outcome was the same.
That seems terrible.
It was, though the other universal civilizations were no better. Some of them just exterminated all alien life they found that couldn't fight back. In that sense, the pre-war Sprilnav civilization was one of the greatest, and that's why I fought for them. Obviously, I'm biased in that regard, though.
Thanks for telling me, father.
No problem, Penny.
She refocused back on the conversation at hand.
"But a thing cannot be alive if it dies. The concept of life doesn't work that way. So maybe the Source just... took in the concept of life? Or absorbed it into whatever psychic energy really is, considering that it's responsible for all of our existence?"
"That's so crazy it might actually be true," one of the Elders said. "You're incredible, Penny."
"Uh, thanks. You're all pretty great too." Her eyes drifted to the images of herself on their clothing. She couldn't really help it.
"I have a question for you."
"Yes?"
"Do you know what I'm fighting for?"
"I assume since you're asking it here, you don't just want a one word answer," an Elder said. "I would say yes, and for the liberation of the Sprilnav from the stain of slavery. Though going deeper into your history, you have also fought for other species, either in wars or just generally moving around. It does look aimless, mostly, since the galaxy's so big. But I'm sure you've got a way through that."
"In some way. Part of why I'm here isn't just about my people. It was at first, I admit that. But as I have lived here, on Justicar, for days and weeks, I've seen you less as alien. It makes it easier for sympathy and easier to break out of simple mindsets. So far, there are many problems, but there are distinct pieces. The first is that many people want to uphold slavery. I'm not sure why, but they do. It isn't profitable, and it isn't moral. Robots are cheaper in every way, and don't need food or water.
That means it's illogical or emotional. So I could try and solve the problem with violence alone, but it won't be addressing the cause, only the symptoms. I need to get to the heart of the matter. And I think it has to do with Elders' memories and the gradual woes they have accumulated going through life. I don't want to tear that away or drug them into believing they're fine. I want to find a way to outlet that productively. The second part I have identified is scale. The galaxy is enormous, and your species is incredibly numerous. I could fight planet by planet for the rest of my life, and liberation would still be difficult.
That also means I'd need a better way of doing things. Maybe an economic or political incentive. Emotional reasons will not work permanently, nor will logic, since we are in this situation. I have found several ways to address this. Sadly, since the gangs are likely monitoring this feed, I can't just outright say my strategy. All I can ask you all to do is to believe. Believe that I have a solution, and that I and those who stand with me are working on it. Believe in me because I believe in you."
None of the Elders questioned or ridiculed her words. Most of it was because they were fans of her. But one of them, an Elder named Rahautiti, had a distinct glint in his eye. Their gazes met only momentarily, but Penny could tell he knew.
And so she appeared in the mindscape, even as they concluded the interview, which would be the first of many. It was a ploy to just talk about human culture and ideals a bit more, to get it out there. Because the hivemind's theory was correct.
In the universe, ideas had power. That power could be weaponized against those who previously stood to gain. The first part of it was the image: Nova as an unbeatable bastion. Lecalicus as the Beast, a monster capable of star-crushing rage. Twilight as... whatever she did. Penny wasn't really familiar with the Progenitor's image too much, and the various names, like the Silent Night or the Smiling Darkness, were just so unbelievably edgy she cringed every time she recalled them.
But Rahautiti understood so she moved her mindscape avatar to see him.
"Hello again, Penny. I am no threat."
"I know. I'm glad that your group is led by someone as capable as you, as well as the other groups you dabble within."
"Who discovered it?"
"Phoebe. You met with Ezeonwha, and the android wanted to ensure you weren't a way for Yasihaut to kill him."
"Yeah. We did get approached about that, actually. We're supposed to kill Ezeonwha when you walk into the Judgment hall. Of course, we won't do this, and she won't be able to retaliate against us easily while there."
"Thank you for your honesty, Elder," Penny said. "It seems I'm in your debt."
"Nonsense. 2,839. That is the number of children I have had. 2,626. That is the number of children of mine which were enslaved. The remaining 213 died in unrelated incidents, with nearly half of those involving slavers killing them. I remember all of their names, and all of their faces, Penny. I want all the slavers in this universe dead."
"I cannot achieve that."
"You cannot," Rahautiti agreed. "Not with my help or even that of Kashaunta and Lecalicus. And certainly not right now. I have not lived this long to be incapable of compromise or patchwork solutions. You show great promise. I understand your aversion to killing and the circumstantial reason why you are not doing so now. I will not grow upset if you do not resume killing when the Judgment ends. Nor do I harbor a grudge against you for the speeding space entity you left outside the room to avoid uncomfortable publicity. You are incredibly young.
A sliver of a life. But you are strong, and you are mature. That sliver of your lifespan already outshines all I could do with a trillion more years, Penny. You are right in that this isn't something you can punch your way through. Trauma is part of why slavery still exists, despite it being a wholly unjust reason for the Elders to make such a sport of it. I am sure you know the story of the war, with a great hero in your head and Kashaunta at your side. My line of work is what I started to help you. Every thought about you being the Liberator, every eye that glances on you freeing slaves, helps you to gather conceptual energy. My talent happens to be great enough to sense the Pact of Blades you have, as well. If you want, I can teach you how to hide the mark on your soul and your mind."
"I would like that, yes," Penny said. "And thank you for being so reasonable. I will ask Kashaunta to protect you from what consequences come for refusing the offer on Ezeonwha."
"There are going to be attacks on him, you know. Him and your ship."
Penny felt an odd feeling in her soul. Cardi's power flared around him, and she squinted at the sky. She just barely saw a sliver of a tentacle. Most would have mistaken it for a normal speeding space entity. But here? On Justicar, with Exile obviously not being the cause?
Only one being would cause that. Fate.
Given the subject of their conversation, it was obvious what was going on.
Penny tapped Rahautiti's jaw, adding a thin mark of conceptual power so she could easily find him again. She focused on the conceptual mark she'd left on Ezeonwha. A twinge of conceptual energy came from it. It was accompanied by various impressions, like fear, pain, and acceptance.
"I have to go," Penny said. "I will be back later. Displace."
She appeared next to the 102nd Visitor Welcome Office but not next to Ezeonwha. It was carnage everywhere she looked.
"Champion!" an unknown Elder yelled. "I am Elder Na-"
Her rising fury surged, and it took all she had not to dismember him. The distant thought of the Judgment stayed her hands, though only just.
Penny's fist collided with the Elder's jaw at twice the speed of sound. A piece of his jaws flew free. Bone fragments hit the ground behind him. Hundreds of soldiers fired on her, and she slammed them to the ground with pure will. Penny tore their guns away and sent them each to pummel the Elder in front of her with as much brutality as she could. His powerful armor wasn't as capable of defense against physical attacks as it was against her psychic energy, and so he fell.
"You... cannot save him," the Elder spat. Fields of psychic suppression fell upon her, reducing her power.
"Manipulation through Determination," Penny growled. "De-"
No! Nilnacrawla said. Do not kill him! Not yet!
"What goes up will go down."
Air hardened around the Elder and accelerated rapidly.
The Elder smashed into the shield five miles above with a speed just slow enough that he wouldn't die. He fell from it and then hit it again at a more modest speed. He'd bounce on that until the Guides came to get him.
But Penny had another target. One she had to save instead of attack.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
High Judge Tassidonia awoke to the sound of explosions. He grabbed his swords, his main gun, and the personal shield he reserved for only the most dire occasions. The sky was erupting in war all around him, and buildings were already falling nearby. The spires of skyscrapers rained down upon the entrances to the Underground, crushing thousands of fleeing Sprilnav under their wide impacts.
His implant identified members of the gangs nearby, making their way to his home.
"Retribution Cycle!" Tassidonia cried. A hidden door opened, and he boarded a small hovercraft that sported a high amount of defensive and offensive technology, a gift from Justicar for dealing with all that he had related to the Judgment. Only this time, he wouldn't be on the next one. But already, the destruction was spreading.
Micro-missiles rained upon friend and foe alike. Several detonated against the layered shields. The mounted turrets on the side of his hoverbike shot lasers into the enemies his implant identified.
"Elder Tassidonia!" an Elder cried nearby. "For the crime of defying the will of-"
Tassidonia called his fury to bear. He rammed his mind into the enemy Elder, disorienting her. She reeled, about to attack, when a thick laser smashed into her chest. It pushed her against the wall, and Tassidonia kept the pressure up until her body melted. He listened to her screams impassively, occasionally sending blasts from his gun at the gangs when their members started to stray too close.
The thick red beam did its work within twenty pulses. His swords began to float beside him, keeping pace as he sped away from his home. The entire apartment complex shuddered and began to lean, its foundation being destroyed by some effect below. Tassidonia abandoned it with only minor regret. He'd known this moment would come. Everything he needed was already with him.
He linked into the Guide network, directing squadrons to attack the breaches he'd identified. Orbital strikes fell upon them in quick succession. Thick beams of light pierced through the lower planetary shields from orbital platforms, their guns honing in on Justicar's enemies. Tassidonia's implant was linked to the grid as well. So when he eyed buildings occupied with too many gang members, orbital strikes fell on them a few pulses later.
Fire and plasma rained all around him. Explosions and smoke blossomed all around him. More missiles fell from his hovercraft. A fighter ship appeared beside him, its simple stealth revealing itself to his eyes. Tassidonia waited for the pilot chamber to open, and his craft stowed itself behind him when he got in. It was fully equipped, so soon, Tassidonia was in full control of a weapon of war.
His first order of business was detecting the gangs' most fortified areas. He peppered those bases in shield-weakening mines, followed by bunker-buster missiles. Several anti-air turrets hit him, but his shields prevented them from taking him down. He dropped three high-end Butcher Androids into the fray of the largest battles.
One of the adjacent fighter wings in the separate shield sector dropped a nuke. At that moment, Tassidonia made a decision.
Whatever insanity was going on right now wasn't worth staying here on his own. He turned his ship upward, narrowly avoiding nearly fifty missiles shot from another gang fortress, which was really just the lower floors of a supermarket. Thick slabs of concrete were being set up by androids and slaves from the Underground. All he could do was watch from above and attempt to mark those that might be a problem.
Justicar's Grand Fleet was moving in, though only the carriers and their escorts were doing anything of any scale. The armies were mobilizing, and it seemed that war had finally broken out. Justicar, while isolated due to the Judgment, would have to win a war that threatened to topple his rule entirely.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Ezeonwha woke when the walls around him shuddered.
An earthquake?
Groggily, he activated the lights in the room. Phoebe's android was charging in the wall. Her limbs swayed with the motion. The walls shuddered again, and the lights went out. Thin, tiny cracks spread in the walls, increasing his worry factors massively. His implant notified him that this wasn't a dream. Distant screams reached his ears, and he went to the window.
Hordes of Sprilnav were running on the ground, tripping over each other to escape. He heard the thump of footsteps approaching from outside. The android activated, standing up.
"Move away from the doo-"
An explosion tossed him across the room. A Sprilnav carrying some sort of mouth weapon faded into view for a moment, smoke recalibrating the stealth field. And then he was gone. Phoebe smashed into the Sprilnav, her fists pummeling the assassin faster than Ezeonwha could comprehend.
Phoebe's arms turned into swords, and she stabbed the Sprilnav at least fifty times in a single pulse. She turned to grab him, but before she reached him, a second explosion sent him flying out of the now-shattered window.
The massive skyscraper loomed large, and he saw the ground beneath it ripple. Dull thumps sounded from below, and large, circular caverns opened beneath the 102nd Visitor Welcome Office. The whole building started to list forward, and Ezeonwha frantically activated his emergency personal shield as he started falling faster and faster. A bullet hit the shield. And then a second one. Gunshots echoed out in the distance, and he saw other Sprilnav falling from broken windows in the falling skyscraper. Gunfire erupted on the streets as Guides engaged a growing army of attackers bubbling up from basements of shops and businesses.
He saw spurts of blood exit the Sprilnav nearest him, bullets tearing holes through the woman's body. Piercing screams surrounded him, a terrible chorus that reminded him of the worst wars he'd fought in. But here, his training could do nothing. She was already dead, and he knew that he was the target of this whole attack. His eyes watered, and Ezeonwha felt so powerless. So useless.
A Corrector emerged from the side of the tilting skyscraper, eyes fixed on Ezeonwha. Then he looked down. Somehow, Ezeonwha knew when the orders had been sent. He knew that it was Astipra in the distance, a jetpack on his shoulders burning a thick flame beneath him.
Astipra looked back at the building and flew toward it. Ezeonwha felt the wind rushing past the shield as pressure. Astipra, far above, vaporized falling chunks of the skyscraper with blasts from his arm cannons. He pressed back against the skyscraper, the jetpack going into overdrive. The metal bent inward, and the groaning and twisting structure continued its fall. Blasts of light from Astipra again vaporized the set of falling chunks.
"Penny," he said. It was almost a prayer, really. His desperate mind was scrambling for whatever it could get. "Please, save me!"
He didn't know if she could hear him. Logically, it was impossible. And in a battle such as this, unlikely as well. Rippling explosions erupted across the facade of the falling skyscraper as rockets struck it. More explosions bloomed as lasers from distant police vehicles, Guides, and Astipra destroyed more of the fast-flying missiles and rockets. They pounded on the world around him, a horde of madness threatening to break his brain. He could feel the wind and gravity equalize as he reached terminal velocity.
And all he could see was the world descending into war around him. The 102nd Visitor Welcome Office continued to slump and lean against Astipra's best efforts. More bullets hit Ezeonwha's personal shield, and peppered the Guides moving over to save him. Air ambulances were shot from the sky. Even small fighter crafts were shot down by powerful ground lasers. EMPs thumped, disabling all the higher functions of his implant before he could think to use it.
A much larger explosion bloomed out, and Ezeonwha followed the rocket's trail to an Elder on the ground, standing in the wreckage surrounding a sudden tunnel opening. The Elder stared at him in glee, and he lined up another shot. Two Guides fell upon the Elder, who flew up using a jetpack to cut them in half with his sword. A hard light hologram lifted a large gun, pointing at Ezeonwha as he fell.
His eyes widened. Ezeonwha did everything he could. He angled his legs and arms. He pushed at the air. He even hefted the meager psychic energy he had, struggling with all his soul to escape the death he could feel was coming to him.
Guides swarmed beyond the shield appearing, while gang soldiers died by the hundreds to carpet bombing. Personal shields sprang up to block the explosions, and the Elder had survived. A thick red laser cut one of the fighters in half from the smoke. Above him, the collapsing facade of the skyscraper consumed Astipra entirely, though large gouts of plasma and thick explosions emerged from within. He could survive if it fell upon him, but Ezonwha could not.
Penny materialized far below, closer to the field of battle. A sweeping wave of gang members began disappearing. A bullet smashed into her head and her stomach, detonating in bright explosions. A personal shield flared and disappeared. Missiles and lasers slammed into Penny by the thousands as psychic energy gathered. A constant roll of words fell from her tongue, but without his implant, they were not translated.
Missiles crumbled into dust. Lasers impacted raw space in front of Penny before bending down and back to their origins, destroying automated turrets. Bullets still hit Penny and the Guides by the thousands, firing too quickly and densely for her to entirely block. But the large ordnance from the gangs continued to work against them.
Penny looked around, confusion evident on her face. But amidst the thousands of wounded and dead Sprilnav falling from the broken windows, Ezeonwha was hidden too well.
Shattering glass could be constantly heard, and he could feel the distant screams in his soul. A bullet smashed into his personal shield again, disabling it. A pulse later, he lost feeling in his legs.
He tried to reach out to her mind, but the war in the mindscape was equally intense. Too many Elders and Guides battling it out along with various suppression artifacts made it all impossible. He could sense Penny's influence, but couldn't directly reach her.
He let out a breath, knowing it to be the final one.
I'm sorry, Penny, Ezeonwha thought.
I wish you luck in the Judgment, and I am sorry I caused this to happen to you.
Penny finally appeared in front of him, eyes wide-
Blood erupted. A searing pain in his head told him his implant had just shorted out. And in the mindscape, he saw a mental attack heading for him, its brutal power evident. He closed his eyes.
submitted by Storms_Wrath to HFY [link] [comments]


2024.05.29 04:08 Property-Every How do you write your resume's Work Experience section? (Machine Learning / Software Engineer)

I am a junior to mid ML engineer. I have been applying for jobs lately but I am struggling to get many interviews. I am thinking if this is because of how I write my resume?
I have always been told that a resume should demonstrate business values and impacts, so I usually write something like this (I just made them up for this post):
Built a handwriting recognition system to process 1000+ invoices daily and greatly reduced document processing time by 70%
But I guess it doesn't list out the skills involved, which are more valued in this industry? Should I just leave out the business impact parts and write something like this instead?
Developed a scalable handwriting recognition system on AWS, including deep learning R&D, model serving, full stack development, CI/CD, and observability.
P.S., I also have a "Skills" section at the bottom of my resume, listing out things like Python, Java, Spring Boot, Kubernetes, etc.
Any example of your work experience section would also be greatly welcome and appreciated.
submitted by Property-Every to resumes [link] [comments]


2024.05.29 04:07 Own_Lead6959 Server actions with amplify v6

Hi, how are you guys? I am trying to create a server action with Amplify v6 and I don't understand how I can make a post to update a user's profile. This is the "action" that I supposedly want to make or try to make...
'use server' import { cookies } from 'next/headers'; import { post } from 'aws-amplify/api'; import { revalidatePath } from 'next/cache'; // import { post } from 'aws-amplify/api' export async function updateProfile(workerData: any) { const allCookies = cookies().getAll(); // console.log('allCookies',allCookies) const idTokenCookie = allCookies.find(cookie => cookie.name.includes('.idToken') ); try { const restOperation = post({ apiName: 'rootWorker', path: '/workers/edit', options: { queryParams: { attribute: 'email', value: 'testEmail@gmail.com' }, headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${idTokenCookie}` }, body:workerData } }); const response = await restOperation.response; const { body } = response; const data = await body.json(); revalidatePath('/myprofile') return data; } catch (error) { console.error('Error updating worker:', error); throw error; } } 
Here I would use my super server action !!!111!
 async function onSubmit(values: z.infer) { console.log(values) const workerId = user.worker_id const updateWorkerBody = { worker_id: workerId, new_data: { values, }, } const result = await updateProfile(updateWorkerBody); console.log(result); // Do something with the form values. // ✅ This will be type-safe and validated. setDisabled((prev) => !prev); console.log(values); } 
Also, I don't quite understand how Amplify would be used on the server actions to be able to use, for example, a post like the one im trying to do.
I use the amplify get in this way to fetch information in a server component, and it works:
import { get } from 'aws-amplify/api'; // import { get } from 'aws-amplify/api/server' import { cookies } from 'next/headers'; import ProfileDataSection from '@/containers/profile-page/data-section'; async function getWorker(idToken : string) { try { const restOperation = get({ apiName: 'apiWorker', path: '/workers', options: { queryParams: { attribute: 'email', value: 'example@email.com' }, headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${idToken}` } } }); const response = await restOperation.response; const { body } = response; const data = await body.json(); return data; } catch (error) { console.error('Error fetching worker:', error); throw error; } } export default async function Page() { try { const allCookies = cookies().getAll(); // console.log('allCookies',allCookies) const idTokenCookie = allCookies.find(cookie => cookie.name.includes('.idToken') ); // console.log(idTokenCookie) if (!idTokenCookie) { console.error('No idToken found in cookies.'); return Authentication failed.
; } const idToken = idTokenCookie.value; const workerData = await getWorker(idToken); console.log(workerData) return ( <> ); } catch (error) { console.error('Something went wrong:', error); return Something went wrong...
; } }
But according to this Calling Amplify Category APIs on the Server Side, running Amplify on the server is with a context.
This import takes an context
import { get } from 'aws-amplify/api/server',
Here I use the context, in the middleware:
export async function middleware(request: NextRequest) { const response = NextResponse.next(); const { pathname } = request.nextUrl; const authenticated = await runWithAmplifyServerContext({ nextServerContext: { request, response }, operation: async (contextSpec) => { try { const session = await fetchAuthSession(contextSpec); // console.log('session', session) if(session.tokens === undefined){ console.log('Error fetching auth session:'); return false; } // console.log(session) return session.tokens !== undefined; } catch (error) { console.log(error); return false; } } }); 
I can't find any example of a get for server components... this example uses it without importing it from /server
import { get } from 'aws-amplify/api',
https://docs.amplify.aws/gen1/react/build-a-backend/restapi/fetch-data/
I feel a bit lost on how to implement server actions and how to fetch data with Amplify v6. I would greatly appreciate it if you could help me! Have a good day. Sorry if I don't know how to explain myself.
submitted by Own_Lead6959 to nextjs [link] [comments]


2024.05.29 04:05 Tazerrrrr npm or yarn not able to create directories on windows setup?

While trying to use - npm init or npm install or yarn install, it seems to always got stuck on where it needs to create files on Windows 11 I have already tried:
  1. Clearing all sorts of caches
  2. Reinstalling various version of node using all possible methods on Windows
  3. Checked PATH settings
  4. Used powershell and cmd.exe using admin privileges.
But, I am stuck with error like below:
PS C:\Users\xyz\Documents\GitHub\wwjs> yarn init ! Corepack is about to download https://repo.yarnpkg.com/4.2.2/packages/yarnpkg-cli/bin/yarn.js? Do you want to continue? [Y/n] Y Internal Error: ENOENT: no such file or directory, open 'C:\Users\xyz\Documents\GitHub\wwjs\package.json'Error: ENOENT: no such file or directory, open 'C:\Users\xyz\Documents\GitHub\wwjs\package.json'
And:
0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js1 info using npm@10.8.02 info using node@v22.2.03 silly config load:file:C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\npmrc4 silly config load:file:C:\Users\xyz\Documents\GitHub\wwjs\.npmrc5 silly config load:file:C:\Users\xyz\.npmrc6 silly config load:file:C:\Users\xyz\AppData\Roaming\npm\etc\npmrc7 verbose title npm init8 verbose argv "init" "--yes"9 verbose logfile logs-max:10 dir:C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-05-28T12_52_48_262Z-10 verbose logfile C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-05-28T12_52_48_262Z-debug-0.log11 silly logfile start cleaning logs, removing 1 files12 silly logfile done cleaning log files13 verbose stack Error: ENOENT: no such file or directory, open 'C:\Users\xyz\Documents\GitHub\wwjs\package.json'13 verbose stack at async open (node:internal/fs/promises:641:25)13 verbose stack at async writeFile (node:internal/fs/promises:1224:14)13 verbose stack at async PackageJson.save (C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\package-json\lib\index.js:255:14)13 verbose stack at async init (C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\node_modules\init-package-json\lib\init-package-json.js:125:5)13 verbose stack at async Init.template (C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\lib\commands\init.js:168:20)13 verbose stack at async Init.exec (C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\lib\commands\init.js:48:5)13 verbose stack at async Npm.exec (C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\lib\npm.js:207:9)13 verbose stack at async module.exports (C:\Users\xyz\AppData\Roaming\npm\node_modules\npm\lib\cli\entry.js:74:5)14 error code ENOENT15 error syscall open16 error path C:\Users\xyz\Documents\GitHub\wwjs\package.json17 error errno -405818 error enoent ENOENT: no such file or directory, open 'C:\Users\xyz\Documents\GitHub\wwjs\package.json'19 error enoent This is related to npm not being able to find a file.19 error enoent20 verbose cwd C:\Users\xyz\Documents\GitHub\wwjs21 verbose os Windows_NT 10.0.2200022 verbose node v22.2.023 verbose npm v10.8.024 verbose exit -405825 verbose code -405826 error A complete log of this run can be found in: C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-05-28T12_52_48_262Z-debug-0.log
submitted by Tazerrrrr to node [link] [comments]


2024.05.29 04:05 DGTHEGREAT007 Is it ok to put Morally grey/unethical projects on a resume?

Title basically. By morally grey or unethical, I mean projects that may inherently be non legal.
Some examples may be a movie/web series pirating site, an app to spam someone by finding their personal information, streaming pirated stuff, sites that have pirated courses listed.
Technically these are solving some real life problems hehe but should one make these sites to put up on a resume? Or can you even talk about this in your interview? Is it frowned upon? Can the code by OpenSource?
I was thinking of making something like this but unsure if I can even OpenSource it and add it on my resume.
submitted by DGTHEGREAT007 to developersIndia [link] [comments]


2024.05.29 04:04 pineapplepredator In search of: vertical boning in the cups

My favorite bra of all time is the La Perla Graphique Bandeau bra and I’ve collected a couple similar styles over the years but need an update. Would love some links to any you’ve come across please!
So far I’ve found this Victorias Secret Wicked Unlined Daisy Chain Embroidery Balconette Bra but it’s too big for me. Actually I read that I probably like this type of bra because of my small boobs. Here’s another example I found on Etsy.
Anyway, please refer me to others like it!
submitted by pineapplepredator to ABraThatFits [link] [comments]


2024.05.29 04:03 Glittering_Mouse_612 Groupo Sanborns a scam?????

They offered me a job 40.81 for remote data entry. Sent me a list of 6 or so software programs I had to buy but will send me a check.
Wouldn’t a real company ship me a computer loaded with software instead of having me buy it with check sent to me to give to a vendor?
submitted by Glittering_Mouse_612 to Scams [link] [comments]


2024.05.29 04:02 phoenixmusicman Request for community help in gathering data

Hi all,
I've been trying to track some data of my own to do some data analysis but it is quickly becoming apparent that I don't have enough spare time to get the sample size I need for the data to be statistically significant, especially since I just rekt my own monitor and cant play at the moment.
So I'm requesting that members of the community track some of their own data and comment it down below. Just a few missions per person would be enough, I think.
This is the data I am trying to track:
Any help with this is greatly appreciated 🙏
Here's an example of my own to show you what data I would like to receive
Mission Type
Difficulty
Weapons Taken
Stratagems Taken
Armour Perk
Player Numbers
Planet
Cause of death
submitted by phoenixmusicman to Helldivers [link] [comments]


2024.05.29 04:02 Environmental_Age_11 I uploaded my immunization form but I’m missing a shot

I uploaded my immunization form but I’m missing a shot
So I uploaded the immunization form before the e deadline but I just realized I didn’t get a menangitis shot after 16 which is required. Now I’m gonna have to reupload after the deadline and maybe a couple weeks after because I have to schedule the appointment. What do I do?
submitted by Environmental_Age_11 to rutgers [link] [comments]


2024.05.29 04:00 gitgud_x Magnetomechanics study returning Magnetic field data but not Solid mechanics data

Magnetomechanics study returning Magnetic field data but not Solid mechanics data
Hi, I'm working on some simulations for my project, which involves using a cylindrical permanent magnet to pull down on a thin fibre-like beam made partially of iron (soft magnetic material) held above the magnet. I'd like to find the magnetic flux density field generated by the magnet and the stress/strain fields induced in the beam, specifically I want to know the peak displacement in the centre of the beam due to the magnetic field.
Luckily, COMSOL's examples already has a very similar situation here, but they use a horseshoe magnet while I use a cylindrical bar magnet. This made me start over and attempt to recreate it but I had to deviate from their models to account for the difference in symmetry etc. As a total beginner to COMSOL that's likely why I've messed something up now, because my simulation can solve for the magnetic field but something has gone wrong with the solid mechanics part and the stress could not be found.
If anyone is kind enough to be willing to have a look, I have uploaded my .mph file here. It's only about 40 MB and takes less than 5 mins to solve on my 'meh' computer. Many thanks for any advice or help!
Error from solving, which occurs at the end of solving.
The magnetic field can be solved for succesfully
But the stress data remains empty as it was not solved.
submitted by gitgud_x to COMSOL [link] [comments]


http://rodzice.org/