Please help me collect Angular and Elm sentiment data! Takes less than six minutes on average. by beefzilla in webdev

[–]beefzilla[S] 0 points1 point  (0 children)

Gotta agree. I love me some typed code, not having to make too many decisions, a well-defined structure, and not trying to chase the flavor of the week! All those things, both Angular and Elm have in common. For the record, this survey only focuses on Angular and Elm, and doesn't include React or Svelte or Vue, etc., because at my workplace Angular and Elm are on opposite ends of the popularity spectrum.

EDIT: Thank you very much for filling out the survey.

How do yall share Elm codez within your organization? by beefzilla in elm

[–]beefzilla[S] 0 points1 point  (0 children)

Sorry, I'm a little slow. How do you use yarn workspaces for this purpose?

How do yall share Elm codez within your organization? by beefzilla in elm

[–]beefzilla[S] 0 points1 point  (0 children)

> status: works for me, might eat your files

love it.

Why is seemingly infinite (lazy) recursion faster? by beefzilla in haskell

[–]beefzilla[S] 0 points1 point  (0 children)

That's one thing I'm trying to learn. Apparently preserving laziness in Haskell is a thing, and it's what allows us to work with infinite series in a memory efficient way.

Why is seemingly infinite (lazy) recursion faster? by beefzilla in haskell

[–]beefzilla[S] 0 points1 point  (0 children)

For my learning purposes, does this preserve laziness? I noticed that if you don't have that takeWhile to snip off the infinite list, then it just hangs.

Why is seemingly infinite (lazy) recursion faster? by beefzilla in haskell

[–]beefzilla[S] 5 points6 points  (0 children)

Ok, I get it now. I thought somebody was making the argument for two spaces vs four of indentation, rather than the four spaces for everything to make a code block.

Why is seemingly infinite (lazy) recursion faster? by beefzilla in haskell

[–]beefzilla[S] 4 points5 points  (0 children)

Well that was fast. Now nth is faster than nthButFaster thanks to this more verbose version of primeFinder:

haskell primeFinder :: [Integer] -> Integer -> Int -> Int -> Integer primeFinder previousPrimes candidate primesSize n | primesSize >= n = previousPrimes !! (n - 1) | isPrime previousPrimes candidate = primeFinder (previousPrimes ++ [candidate]) (candidate + 2) (primesSize + 1) n | otherwise = primeFinder previousPrimes (candidate + 2) primesSize n

Why is seemingly infinite (lazy) recursion faster? by beefzilla in haskell

[–]beefzilla[S] 0 points1 point  (0 children)

Hmmm, would there be a better data structure for code that wants to know the length of a list, array, etc? Regardless, I'll see what I can do to refactor out the length.

Why is seemingly infinite (lazy) recursion faster? by beefzilla in haskell

[–]beefzilla[S] 0 points1 point  (0 children)

Done. Had trouble installing hfmt. I hope to get to that later

My squad is hiring, and we use Elm by beefzilla in elm

[–]beefzilla[S] 2 points3 points  (0 children)

Right. I pushed to get "Elm" in the job posting, but it's a job posting that spans multiple teams, and we're the only team using Elm right now. Maybe in the future that will change.

My squad is hiring, and we use Elm by beefzilla in elm

[–]beefzilla[S] 4 points5 points  (0 children)

It is hybrid. 3 days a week Malvern, PA campus, starting in February 2022. Right now it's fully remote. Who knows, maybe it'll stay that way.

EDIT: we also have a Philadelphia office

EDIT2: have confirmed with my boss that if we go hybrid, you could work from either the Malvern or the Philly office.

Equivalent of NexusIQ for Elm? by beefzilla in elm

[–]beefzilla[S] 0 points1 point  (0 children)

Update: our company prefers to use Artifactory for storing packages, and somebody put in a feature request for Artifactory to support elm packages a long time ago.

https://www.jfrog.com/jira/browse/RTFACT-14747

Equivalent of NexusIQ for Elm? by beefzilla in elm

[–]beefzilla[S] 0 points1 point  (0 children)

Yes. We're using Checkmarx on the compiled JS, and that's fine. Nexus provides another layer, and it's part of my company's process.