I use sparkey / hammerspace for caching static data (tried rocksdb but hammerspace was faster) for many years.
It helps me have a 20ms on a 100r/s on a ruby on rails app (ruunning on a ryzen 5950X). I keep seeing people brag about 100ms on applications and maybe I’m old school or haven’t seen enough, but 100ms breaks personal SLO. will trigger a 5-alarm alert.
Also use redis a lot. But when possible, I use hammerspace/sparkey instead of it.
I guess the people who are not aware of this effect might make a lot of decisions in life and a confident AI agent will be like a high-tech con-artist.
As a child, I would read the horoscope of the day with the wrong sign for mother and her female friends and they always thought it was talking about them and I never had the courage to tell them I switched as a joke. I keep imagining a fine tuned GPT for insights from the "mystic realm".
I don’t think it’s the ADHD. I have it but I’m very conservative on the stack. And I know many developers who don’t have ADHD, some newbie and some who code longer than 20 years and are going after the latest shiny thing.
I think it’s more of what people assume it’s a status symbol among their peers. I noticed for example, in church, that some people think the more boring is more saint and don’t like more a church with a more contemporary dynamic approach and I think the same effect applies in the software development world.
Maybe should be called Prompt Science or Prompt Discovery or even Prompt Craft.
I have a 40 million BERT-embedding spotify-annoy index that I keep experimenting with to make a better query vector.
One way that I’m doing is getting only the token vectors with the highest sum of the whole vector and averaging the top vectors to use as the query vector.
Another way is zeroing many dimensions randomly on the query vector to introduce diversity.
But after experimenting with “prompt engineering” I found out that prefixing the sentences for the query vectors with “prompts” yield very interesting results.
But I don’t see much engineering. It’s more trial, feedback and trying again. Maybe even Prompt Art. Just like on chatGPT.
Nobody understands the emergent properties of LLMs. Trying to understand how it works is science or research, whereas using it to produce something that’s useful is alchemy.
Even “tuning”, as my sibling comment suggests, is imo a stretch, because it implies some form of finite set of knobs that can be adjusted. Prompts aren’t something that you can simply map to knobs without pushing the analogy beyond reason.
I'm struggling to understand how the two ideas are different in any way other than intent. Sure, I'm not likely to throw an <|endoftext|> into a tailored context, but anybody who, for example, lies about what "assistant" says in the API calls is surely attempting to coerce behavior out of the model that isn't in line with OpenAI's intentions.
I thought you were suggesting renaming "prompt engineering" - the activity of designing prompts to solve specific problems - to "prompt injection", which means deliberately attacking prompts using input designed to subvert their planned behaviour.
To me, that's like rebranding "software engineering" to "exploit engineering" - sure, one is a subset of the other but they are not the same thing.
I don't think "prompt engineering" was ever a clearly-defined practice. The way I see it, it's just some over-eager noobs both prompting and prompt-injecting until they get results close to what they want, and then subsequently pretending like they're engaging in some new branch of mathematical reasoning. Hence why I called the moniker "pretentious".
Personally, I've never liked the title of "software engineer" or even "data engineer" (my own title). However, those are more rooted in engineering-like practices than any of this "prompt engineering" nonsense.
In my experience, there's the "software developer" and the "formware developer," and as more companies go through a real "Digital Transformation," they begin to require their programmers to do more advanced tasks that go beyond form-based CRUD applications.
As as person who got diagnosed with ADHD as an adult and looked back to a life of potential wasted, and while I don’t agree with calling the benefits of any drug “superpowers”, I can understand why some people would.
I exercise almost every day, meditate, eat and sleep well and yet, it was a pill that made the biggest difference in treating my difficult on keeping focus.
Have been taking Strattera for a few months and wonder how many years of my life I would have not wasted if I had been diagnosed with ADHD earlier in my life.
I just turned 40 and I never thought I had ADHD until recently. Before I just thought my lack of attention on things was just the price of being a 10X on productivity (and I was a little arrogant because of it).
The reality was that I chose to put my time on tasks that I found interesting and engaging and when that choice was not available, I would feel anxious, stuck and totally unfocused. Still, I thought that was just normal procrastination that everybody goes through.
Some changes in my life and goals limited my time to act and required me to be more focused, but instead of getting into action I got more stuck than ever and very anxious as the deadlines got closer and got missed.
Treating my ADHD helped me change my relationships for better and widened the possibilites in my work and I would recommend to anybody in the same situation.
I'm in a similar situation. The diagnosis changed everything for me and I really wish someone had noticed it when I was a kid.
All my therapy was about struggling with my ADHD for so long because it was unkown and untreated. Once I figured the ADHD part out, everything else fell into place.
Knowing this about myself has been nothing but positive for me.
For what it's worth, my psychiatrist friend who has ADHD and specializes in ADHD practice swears by non-stimulant medications for long-term treatment.
His personal preference is Intuniv (Guanfacine). He says the only reason it's not more popular is that the start-up side effects can be unpleasant for a while and proper dose titration takes more work on the provider's side to get it right.
Stimulants don't necessarily lead to dependence, but I have seen enough adults become dependent on stimulant medication or even fall into the trap of doubling up doses or seeking extra sources that it's wise to approach it with caution. Most patients seem to use as directed, but the people who go down the path of addiction and dose escalation aren't necessarily the ones you'd expect.
I've used Guanfacine. It gave me heart palpitations and high blood pressure without helping my ADHD at all.
Non-stimulant medications can be good, but none of them worked for me. ADHD too broad a category to have a good idea of which medications will work for one individual or another.
The only ADHD medication that's worked for me is Adderal (and XR which I'm currently on). Otherwise the only other medication that's helped me was memantine (an Alzheimer's drug) that helped with sensory processing disorder.
Not the person you're replying to but Vyvanse gave me excruciating neck cramps, brain zaps and really cold fingers. My doctor said that I had a bit of an outlier reaction to it so YMMV but if you decide to go that route at least ask about the cramps lol.
Adderall isn't a wonder drug for me but it tips the scale in my favor. I just take the standard release pills 'as needed' in the morning. It does tend to mess with my sleep a bit if I take any after 10am and definitely curbs my appetite (+/-). I'm 47 and recently have been paying closer attention to heart health, it definitely increases heart rate and blood pressure. Not alarmingly so, but if you're in any way marginal for either it's something to consider.
I was prescribed Adderall XR which did wonders for my symptoms but eventually I stopped taking it as my heart would race after doing any strenuous exercise. I wish that wasn't the case, as it did help.
I've been on and off Vyvanse and Ritalin for a decade. Work with your doctor on side effects, I found Concerta to have the least side effects for me (long-lasting, tapers slowly at end of day, and fewer anxious feelings for me than Vyvanse.) I've also taken breaks from the medication for a year or more. It takes somewhere between 3 days and 3 weeks to feel like I'm not missing something when I stop the medication, but overall it's not that bothersome or unpleasant unless work/life is very busy at that time. Quitting coffee cold-turkey feels much worse, for comparison.
I had horrible physicals side effects with Adderall, I was switch to Desoxyn and I get no physical side effects from it. I just get clear headed with no speedy feel in the body or cramps. Adderall always made me clear headed, but also jittery in the body and gave me the worst cramps but the biggest one that I was not going to put up with is Adderall killed the marital bed performance, but funny enough not the desire, that was a deal breaker for me.
The doctor recommended that I tried Strattera first and see if worked before trying stimulants. Atomoxetine is one pill per day and works 24 hours. But doesn’t work for everybody and some people have some undesired side-effects.
I had some of the “undesired side-effects” in the beginning but they went away after a few days.
Also, in my case, it took 20 days until I felt that it was working. I noticed it started working one day after a looked back at one situation where I would normally get stuck and dread and it had gone as without any issue.
People with ADHD have a tendency to hyperfocus on things they enjoy, to the detriment of other things.
ADHD is not a lack of focus, it is a lack of Executive Function. Sometimes the Executive Function looks easily distracted because it doesn't want to do chores so it bounces from room to room cleaning one single surface in each one.
Sometimes the Executive Function looks like a 10x programmer beast because you get so wrapped up in programming whatever you're making that it's all you can think about, you skip meals and sleep and ignore friends and family until it's done.
It should be noted that "hyperfocus" is more of a fringe idea in ADHD science than a well-accepted feature.
Hyperfocus can also be a side effect of stimulant medication. It's not uncommon for newly diagnosed ADHD patients to take stimulants and end up hyperfocusing on the wrong thing, such as video games or other vices.
Be careful about interpreting something like increased focus as ADHD. The pop-culture definition of ADHD has become so blurry that nearly everyone could be considered ADHD under certain criteria. When focusing too much and focusing too little are both supposedly symptoms of the same disorder, it's easy to misconstrue normal behavior for disorders. It's best to leave the diagnosis to a professional.
> Hyperfocus can also be a side effect of stimulant medication.
This doesn't address the fact that the hyperfocus behavior is a side effect of the poor executive function and is present in unmedicated ADHD people. In fact stimulants in an ADHD brain tend to improve executive function and make hyperfocus less likely for them.
> Be careful about interpreting something like increased focus as ADHD.
As I said before, it's not about focus at all. It's about executive function. It just manifests in ways that look like focus problems. And yes, hyperfocus is absolutely as much of a problem as completely lacking focus.
You're totally right about it being an executive function disorder.
There's a variant of ADHD that tilts to the other end of the scale. Where the executive function doesn't fire by stimulus that ought to "execute". Less things overall catches the attention and leads to action, but the things that do, does so in the focused, engaged way.
For me that means that I can be intensively productive in intense bursts when I am engaged.
Pre-treatment OP sounds like me now.
I am arrogant in that I am always confident I can finish the tasks I have later. The problem is that even though I consistently do, it doesn't feel good, and sometimes unexpected outside influences will kill the tight margin I've left myself.
When you spend 40 hours mentally preparing yourself to do a task then you are extremely productive when you actually do it. But the overall performance is still horrible.
I honestly can't comprehend what this means or why it's called "10x productivity". You're productive, but overall performance is horrible? So you do lots but do it badly?
If you spend 40 hours mentally preparing yourself to do a 4 hour task. Then during those 4 hours you are way more productive than other people, but since you had to spend all those extra hours to even get started your productivity sucks. It isn't hard to understand.
So then you take medication and now get started on the task immediately, but the task now takes 10 hours to do instead of 4. Your productivity during the task thus got reduced, but your overall productivity greatly increasied.
The flip side to ADHD is hyperfocus on things that draw your attention. This can manifest as a 12-hour coding session without breaks or even noticing the time.
They are different drugs with different mechanisms of action. One notable difference from my experience is that Ritalin has a stimulant effect, whereas Strattera actually made me tired.
Had a similar experience. Was on this for a bit when I had a GP who seemed hesitant to prescribe stimulants even though I had historically taken ritalin and it was fine (all side effects were manageable).
In the case of COVID, I don't think we need two years. My wife had COVID a few months ago and got beat up pretty badly.
She would be the last person you would think would get seriously ill - she eats only healthy food, is(was) a Crossfit rat, vitamins, meditation. She checks all the boxes for a healthy lifestyle and some).
We would go on 30 miles bike rides often and now she can't go up a hill mounted on the bike anymore. She was still going to a Crossfit gym that was (illegally) open during the pandemic but just for sanity. She couldn't do much of the workouts.
That was up to three weeks ago. One day she woke up with a swollen leg and has gone to three doctors already and is going to another to try to find why her leg is that way.
My suspicion is that COVID affected her circulatory system and is caused the problem that she is having on her leg. I hope that it's not the case, but this worry is enough to lose some sleep.
Not sure why you're being downvoted, yes it's an anecdotal, but it's also something that can't be explained other than "we don't know what long term effects are". If you said "my 20 year old nephew got covid and died and he was healthy", then sure, that's an annecdote of a rare event.
The general view now seems to be "it only affects over 55s", and that's mostly true -- there's lots of data to show that kids particularly are far more at risk of dying from other every day activities.
We have a rough idea of the IFR of 40 year old fit men, or 20 year old obese women, or of 7 year olds and 70 year olds. There's little long term studies for a disease that was identified less than a year ago - at least that I'm aware of.
Please have her ask her doctor to get an ultra sound for blood clots!! First of all, that’s really common in very active people who stop being active suddenly and it seems to be even more common for Covid patients.
Also, I am not a physician - I just have some personal experience with blood clots. Hope she recovers!
I believe that Brazil gives a good case study on the subject. The whole sector used to be state-owned and electricity used to be more expensive and outages a very regular thing.
Currently, some parts of the country have private generation and transmission with targets sets for the number of planned shutdowns, outages and inspection set by the regulatory agency.
The private companies are light-years ahead on any metric that you can think of. The parts of the sector that are still public-owned are legendary on their wastefulness and lack of accountability.
I would say the quality is relative to your input and to what type of application you need results for.
If you are gonna use the pointcloud as a cheaper and faster alternative to LIDAR and need to take measures with centimeter precision, you will need a lot of overlap (we use 75%) and the drone to take the photos automatically to be sure it covers most of the desired area. I would also recommend a commercial tool for the task. We have jobs that take one week to process with state of the art hardware.
But if you just want to do it for fun, you won't need to get this complicated and can do even with your phone.
It helps me have a 20ms on a 100r/s on a ruby on rails app (ruunning on a ryzen 5950X). I keep seeing people brag about 100ms on applications and maybe I’m old school or haven’t seen enough, but 100ms breaks personal SLO. will trigger a 5-alarm alert. Also use redis a lot. But when possible, I use hammerspace/sparkey instead of it.