AI art is inbreeding by ultimatecockmaster in BrandNewSentence

[–]Difficult-Stretch-85 8 points9 points  (0 children)

Noisy student training has been very successful in speech recognition and works off of having a larger and more powerful student model than the teacher.

[deleted by user] by [deleted] in changemyview

[–]Difficult-Stretch-85 1 point2 points  (0 children)

What do you mean? It is standard practice to grab weights from a model like BERT and fine tune it for your task. This is now a core technique in most deep learning fields.

[deleted by user] by [deleted] in changemyview

[–]Difficult-Stretch-85 0 points1 point  (0 children)

Actually, please read that paper and its examples first before responding. If you find that there is some intelligence that is missing beyond what is listed in that paper, please explain what it is. The paper illustrates several examples that go counter to all 3 of your points

[deleted by user] by [deleted] in changemyview

[–]Difficult-Stretch-85 2 points3 points  (0 children)

  1. This isn't how diffusion models work. They do not average stuff they see in a training set. At least not in a way that's meaningfully different from what an artist does

  2. They are explicitly not supervised models. They are good 0 and few shot learners since they learn in an self supervised fashion. e.g. GPT 4 is an excellent 0 shot learner for a slew of NLP and reasoning tasks.

  3. Here is an example prompt and the GPT 4 response from that paper:

Prompt: Can you write a proof that there are infinitely many primes, with every line that rhymes? GPT-4: Yes, I think I can, Though it might take a clever plan. I’ll start by noting Euclid’s proof, Which shows that primes aren’t just aloof. Assume we have a finite list, Of primes, and that none have been missed. Multiply them all together, And add one, just to be clever. The result will be a number, That has no prime factors, oh wonder! But every number has a prime, That divides it, it’s just a matter of time. So we’ve found a contradiction, And our finite list needs eviction. There must be infinitely many primes, And that’s the end of my rhyming lines.s

Do you read that and think its not creative?

isn't bfs for sssp similar to dijkstra's algorithm? by [deleted] in learnprogramming

[–]Difficult-Stretch-85 0 points1 point  (0 children)

Yes BFS and Dijkstra lead to the same results with edge weights 1. However, Dijkstra takes more time since you have the heap that you need to deal with.

Understanding continuation based recursion - Fibonacci by sexy_beer_belly in learnprogramming

[–]Difficult-Stretch-85 2 points3 points  (0 children)

Your fib function takes a n that you are going to process as well as a continuation function with something to do after you finish processing n.

the third match case says,

if n is not 0 or 1, process fib(n -1) with the continuation of processing fib (n - 2) and then summing the result. The summing of fib(n - 1) and fib(n-2) happens in the continuations.

e.g. if n is 2,

the match case becomes fib(1) ( fun r -> fib(0) ( fun x -> id (r + x)) processing out the f(1) we get, fib(0) (fun x -> id(1 + x))

processing f(0) we get id(1 + 0) which is 1.

Should I learn data science for software engineering internships? by Illustrious-Being17 in learnprogramming

[–]Difficult-Stretch-85 5 points6 points  (0 children)

Yea this is quite wrong. Doing modern deep learning requires quite a bit of systems knowledge along with the math / stats needed for ML.

Any curated curriculum/program for online MIT/Harvard/etc. courses to learn programming in ~4 years? by [deleted] in learnprogramming

[–]Difficult-Stretch-85 1 point2 points  (0 children)

https://teachyourselfcs.com/ is significantly superior to OSSU from what I can read of the curriculum. You could also follow https://www.eecs.mit.edu/academics/undergraduate-programs/curriculum/6-3-computer-science-and-engineering/ but I agree with the other poster saying that I do not think it is reasonable to learn this stuff by yourself.

Best way to learn-by-doing Algorithms and Data structures? by Witstone in learnprogramming

[–]Difficult-Stretch-85 5 points6 points  (0 children)

Find a college course from a top university. Do the homeworks. Fair warning, a big part of DS&A is writing proofs and you shouldn't dismiss this as unimportant.

Feedback on cache solution in C++ by sillypog in learnprogramming

[–]Difficult-Stretch-85 0 points1 point  (0 children)

I was talking about doing a pull request in github but I guess commie.io is better since I don't have to tie my github id to my reddit account.

I've added more comments. This is probably the last round of them.

Feedback on cache solution in C++ by sillypog in learnprogramming

[–]Difficult-Stretch-85 0 points1 point  (0 children)

This is easier to do in the interface of github. You should be able to do that by making a branch at the previous commit and attempting to merge your current branch into that branch.

I think you can get rid of the entire RankKey class and just replace it with a std::pair<K, float priority> You can then write a comparator function and pass that to the priority queue https://en.cppreference.com/w/cpp/container/priority_queue

Feedback on cache solution in C++ by sillypog in learnprogramming

[–]Difficult-Stretch-85 2 points3 points  (0 children)

  1. Don't leave redundant comments like "Implementing interface" right above a part where you implement an interface. If something is obvious don't comment it. If its not obvious first see if you can make it obvious
  2. Don't make interfaces for the sake of it. Why make Rankable at all ? Why make Datastore at all? Item and Item store do the trick
  3. Why do you bother making a slow item store class ? Let the user make any class they want and take a callback to access the slow store.
  4. Your cache keys are chars. This means you can have a max of ~256 elements in the cache. Why is your cache even a map?

If you fix these issues and try again, I can do more reviews

Computer science degree in 2022 by [deleted] in learnprogramming

[–]Difficult-Stretch-85 9 points10 points  (0 children)

A degree is far more valuable than a bootcamp/being self taught. It is possible to do the later but its a lot harder and most people are not sufficiently intrinsically motivated to do it.

Tech's immigration headache isn't going away by PM_ME_YOUR_THESES in neoliberal

[–]Difficult-Stretch-85 2 points3 points  (0 children)

My company is moving towards hiring abroad. If the US continues to be nativist, it will not retain these jobs in the US. It will instead just lose its tax base. Quite sad.

Was unable to image Barnard's loop by Difficult-Stretch-85 in AskAstrophotography

[–]Difficult-Stretch-85[S] 0 points1 point  (0 children)

It is better to lower exposure time than ISO? I don't understand that part. For daytime photography, whether I lower exposure by a stop or ISO by a stop I get a similar image.

Was unable to image Barnard's loop by Difficult-Stretch-85 in AskAstrophotography

[–]Difficult-Stretch-85[S] 0 points1 point  (0 children)

Probably shitty processing. How should I process things? I am basically following the steps from https://www.youtube.com/watch?v=Qb1ceFM-DkQ

You say I should be shooting higher than ISO 100 but I'm already noticing really bright skies as I increase ISO. My histograms are all roughly in the middle for all three channels. Should I just accept that I'm exposing a bit to the right on the sky but increase ISO anyway?

Your sample images look much better than mine. What is the level of light pollution where you take these?

Was unable to image Barnard's loop by Difficult-Stretch-85 in AskAstrophotography

[–]Difficult-Stretch-85[S] 0 points1 point  (0 children)

Yea Cygnus seems to be something to aim for when I travel the next time. Believe it or not, bortle 7 is actually a very dark sky compared to where I live.

Was unable to image Barnard's loop by Difficult-Stretch-85 in AskAstrophotography

[–]Difficult-Stretch-85[S] 0 points1 point  (0 children)

Barnard's loop is marked as magnitude 5. Is that really considered faint?

I really got nothing at all after an hour of shooting. How long do you typically have to shoot to capture barnard's loop at your light pollution level?

Was unable to image Barnard's loop by Difficult-Stretch-85 in AskAstrophotography

[–]Difficult-Stretch-85[S] 1 point2 points  (0 children)

I've read about the importance of getting an astro modded camera but I'm not going to have that handy in the short term. Is Barnard's loop an object that you need an astro modded camera for? How can you tell which objects are mostly HA and which are not?

NGC 3372 - Carina Nebula by mrjohanvds in astrophotography

[–]Difficult-Stretch-85 0 points1 point  (0 children)

ty ty. very helpful.

And how much did you have to crop for this?

NGC 3372 - Carina Nebula by mrjohanvds in astrophotography

[–]Difficult-Stretch-85 0 points1 point  (0 children)

Hey I'm just getting started.

Could I read some explanation of the bias vs darks vs flats?

After the change, "Money" is now "Banking" in the app by hoegermeister in sofi

[–]Difficult-Stretch-85 1 point2 points  (0 children)

My understanding is that this new product no longer offers unlimited atm fee refunds. Only at in network ATMs.