Advent of Code 2024 - Day 6 in F#
15:04
Advent of Code 2024 - Day 5 in F#
17:40
Advent of Code 2024 - Day 4 in F#
8:56
Advent of Code 2024 - Day 3 in F#
16:47
Advent of Code 2024 - Day 2 in F#
14:33
Advent of Code 2024 in F# - Day 1
11:02
How Popular is F# in 2024?
7:31
21 күн бұрын
Build a Simple F# Lookaside Cache
10:42
How to Delete an App on Coolify
2:24
Пікірлер
@Mw-un8yy
@Mw-un8yy Күн бұрын
I tried this it worked on static and not on popup dynamic buttons. Is there a way it can work on them too?
@HAMYLABS
@HAMYLABS 20 сағат бұрын
Interesting - I bet if you remove the clearInterval when the button is not found it will work. Kinda wasteful but this will mean the interval just runs, tries to find button, and if not it just waits to do it again.
@azhyhama9649
@azhyhama9649 3 күн бұрын
I have had one of the fans break on me within 12h of home usage. The trackpad was working good before updating to latest window for some reason. Also, the fans were tiny bit less noisy on the original windows as well before updating. No amount of BIOS and power plan setting every turned off the fans on the 185H model. I see some people reported lower fan noise with 165H. Bought TP for reliability, but by far has been first laptop break on me in hours not days haha.
@sdbehrendt
@sdbehrendt 5 күн бұрын
Monitor technology is incredibly shitty, and we are in 2024! One should be able to hook up a new computer to new monitor via HDMI and the monitor should function. Instead, monitors immediately want to go to standby modes.
@DriftlessCryptoToo
@DriftlessCryptoToo 7 күн бұрын
Bravo! 🎉
@vincentcifello4435
@vincentcifello4435 8 күн бұрын
let parse_day3 = read_all_input_text().Split("do()") |> Array.map(fun s -> s.Split("don't()")[0]) |> Array.fold (+) ""
@HAMYLABS
@HAMYLABS 7 күн бұрын
Nice! Way more concise!
@aptigon398
@aptigon398 8 күн бұрын
SA here. The RTO policy is a disaster. We work with customers for the most part and we're like the "consulting" arm of AWS. We don't even have an office but instead we have one large floor from wework as our workspace. We don't even have cubicles and for the most part it's open office. There are only 2 phonebooths where we can take calls. The meeting rooms are shared with other WeWork customers. So.....we go into "the office", to have a hard time listening to our calls with our customers who are all remote, and we have to sit at hotel stations with "other folks" who aren't even in our segment at Amazon. Working from home I start my day at 6am at the gym and "online" at 7.30am - 1800pm - after which I go for a walk. Factoring in commute, my work day is now 9am - 5pm strict because of traffic and availability of parking spaces. I shut off android for work from 1800pm - 0700am when I go to the office. WFH, I'm ok with taking calls off hours but because I have to now commute, they've lost the after hours courtesy from me if I'm not getting paid overtime.
@Nellak2011
@Nellak2011 9 күн бұрын
I respect Go, but just like the board game it is overly simplistic. Writing Go is like writing a college essay but you can only use words a 5 year old knows. I found F# today and I think it may be what I am going to write my Web Server and Domain Logic in!
@HAMYLABS
@HAMYLABS 7 күн бұрын
Agree! It's kinda like simplicity is subjective - it depends on the domain. In some domains, using more complex jargon may actually be simpler to understand than 10x more simple language. But again it depends on the usecase and familiarity of the users. Yay F#! GLHF with your build and lmk if you run into any issues - got several guides on here but I'm sure there's stuff I'm not covering yet.
@dermuschelschluerfer
@dermuschelschluerfer 10 күн бұрын
i more and more have the feeling that these big frameworks where started by people who forgot/never learned what hyper text media is actually capable of. It already has all the resources you need. Many things the browser already does for you if you just use the correct response codes and response headers. And with htmx you can finally use something thats easy to use, and not a complete bloated ecosystem just to display what your backend does. There is a time and place to use these frameworks but 80%-90% of the web can be buitt using htmx and we would have less wasted comoute by unmarshalling data or js in general.
@dschledermann
@dschledermann 11 күн бұрын
I will happily use whatever is the standard for the language I'm using and/or company I'm working with. There are few thing more annoying than obtrusive developers, whose code sticks out because they don't want to follow the style that everybody else follows.
@muskyoxes
@muskyoxes 11 күн бұрын
Bad news you have to write code as well as read it, and typing endless underscores is hideous. Maybe if the key didn't dislocate the pinky, we could use it.
@23o8idlnqdolkqd
@23o8idlnqdolkqd 11 күн бұрын
Go forces you to use camel case, it determines whether a field is private or public depending on the first letter casing.
@philadams9254
@philadams9254 11 күн бұрын
I had some weird issues with camelCase naming in MySQL years ago so decided to use snake_case for it. I think the problem got fixed/explained to me eventually but it was too late and I'll never go back now.
@asagiai4965
@asagiai4965 12 күн бұрын
I used both. But I used them depending on the context they are in.
@hoi-polloi1863
@hoi-polloi1863 12 күн бұрын
Unfortunately, the *correct* answer is whichever standard your company or project is using already. When I get to pick, I love snake-case. It's familiar and easy to read. Of course, a lot depends on "whom you call", as the automatic JSON deserializer works best if your models use whatever style your remote services use.
@danhorus
@danhorus 12 күн бұрын
How to avoid this discussion: use a single word for variable names, lol
@the_real_glabnurb
@the_real_glabnurb 12 күн бұрын
Yes, good point, and even better the word should be generated randomly from letters and numbers.
@HAMYLABS
@HAMYLABS 12 күн бұрын
Why use words when letters suffice? a, b, c...
@KojoBailey
@KojoBailey 12 күн бұрын
what.could.possibly.go.wrong()
@manudude02
@manudude02 11 күн бұрын
@@KojoBailey There is no defined function Wrong in the class what.could.possibly.go
@georgehelyar
@georgehelyar 11 күн бұрын
This is pretty much what go does
@Zero-oq1jk
@Zero-oq1jk 12 күн бұрын
snake_case
@gracicot42
@gracicot42 12 күн бұрын
C++ is all snake case by default, even for types, functions, concepts. However many people go out of their way to use their own standard which most of the time is C#/Java style camel case for everything.
@user-sl6gn1ss8p
@user-sl6gn1ss8p 11 күн бұрын
cppreference sometimes uses camel case for variables in the examples, although most variables tend to be a single word, and functions are snake case. Edit: for exemple, mySet in std::unordered_set
@gracicot42
@gracicot42 11 күн бұрын
@@user-sl6gn1ss8p Yes, many people goes out of their way to not use the standard casing, even writers of cppreference
@EricPeelMusic
@EricPeelMusic 13 күн бұрын
Ehh. More isn’t always necessary. Snake case takes slightly longer to type and names are longer. If a function is used over and over, this gets costly.
@homesynthesis
@homesynthesis 13 күн бұрын
If you're using java or kotlin or js or ts or any of the languages that use camel case at your company and you decide to use snake case get mentally prepared for the job hunt again. Unless your company specifically is telling you which way to do it (which most do not), don't be that one guy that feels like his personal design style is more important than the standard
@user-tk2jy8xr8b
@user-tk2jy8xr8b 13 күн бұрын
all'my'homies'write'in'Haskell'case
@archip8021
@archip8021 13 күн бұрын
advantages, disadvantages are so small that it doesn't matter, just keep what's working for you
@johtib
@johtib 13 күн бұрын
You should use whatever standard is already set in your community. Uniformity is much more important than any particular style rule.
@rezah336
@rezah336 13 күн бұрын
just write a sentence with both formats just_write_a_sentence_with_both_formats justWriteASentenceWithBothFormats clearly snake case is better
@user-tk2jy8xr8b
@user-tk2jy8xr8b 13 күн бұрын
Both formats? just_Write_A_Sentence_With_Both_Formats Yes, that's impressive indeed Why would you name a variable with a whole sentence though
@rezah336
@rezah336 13 күн бұрын
@@user-tk2jy8xr8b it was to show which one is clearer
@ws3457
@ws3457 13 күн бұрын
I have my developers use snake_case because it is way easier to read
@aminghafoori6496
@aminghafoori6496 13 күн бұрын
snake_case is fun to read camelCase is fun to write
@HAMYLABS
@HAMYLABS 13 күн бұрын
Yeah I think this is a good summary. I'm reminded that code is often read more than it's written so perhaps we should bias towards readability.
@user-tk2jy8xr8b
@user-tk2jy8xr8b 13 күн бұрын
nocaseisevenfunniertowrite
@blacklistnr1
@blacklistnr1 13 күн бұрын
As a javascript dev, I'll say that camelCase is readable after getting used to it and I would go mad if I had to deal with multiple cases in a codebase for things like variable names. But in snake_case vs camelCase there's not even a contest, snake case: - is composable: snake, case => snake_case, whereas camelCase has me constantly adjusting cases - has an actual gap between words, I don't know how languages like German or Chinese deal with them, but after a certain word length I find them unreadable without gaps - SHOUTING_CASE, makes a great addition for compile-time constants, I don't see any camelCase solution - nicely works with numbers 1_000_000 too
@000dr0g
@000dr0g 13 күн бұрын
I find snake_case annoying, and much prefer camelCase. As I was first trying out the Gleam online tutorial, which is excellent, I was really loving its features, until it stopped me writing my own camelCase identifiers. Ugh, put me right off; how dare they camel shame me. Fortunately, I am very happy using F#.
@AlexEscalante
@AlexEscalante 14 күн бұрын
About jobs: I find hard to believe that anyone is going to get a job just for knowing how to use HTMX
@HAMYLABS
@HAMYLABS 13 күн бұрын
Yeah ideally ppl aren't hired just for knowing a particular technology as theoretically they should be able to learn most technologies if they have a decent foundation but still ppl do hire based on experience w React, Knockout, Vue, Angular, etc.
@AlexEscalante
@AlexEscalante 13 күн бұрын
@@HAMYLABS Well, React makes a lot more sense since it's a whole ecosystem.
@dovh49
@dovh49 14 күн бұрын
Pico CSS FTW!
@MengLinMaker
@MengLinMaker 17 күн бұрын
Is TypeScript dynamic, typed or both?
@HAMYLABS
@HAMYLABS 16 күн бұрын
TypeScript is ~both. It leans typed but at end of day transpiles down to JS which is dynamic. It has a lot of nice type features but allows you to easily subvert it using "Any"
@bdaniel7
@bdaniel7 17 күн бұрын
Not as popular as it should be.
@HAMYLABS
@HAMYLABS 17 күн бұрын
100% - F# is the best balance of ergonomics, flexibility, and performance I've found. A bunch of langs are slowly adopting some of these features but none have fully caught up imo
@apples874
@apples874 18 күн бұрын
I was producing a lot of water at first but then suddenly stopped getting water no matter how many days I sleep. I made sure all aid, misc and fertilizer items are removed and still no water. Level 20 currently
@HAMYLABS
@HAMYLABS 18 күн бұрын
You may need to fast travel elsewhere then come back. Sometimes the game doesn't seem to treat sleeping as time progression.
@travisseel3466
@travisseel3466 18 күн бұрын
Hi, I have a lenovo laptop that I'm trying to use with the M14. The USB-C on my laptop doesn't have display port capability so I bought a cable off of Amazon that says it's Thunderbolt 3/4, but it's still not working. Is it doable to use the M14 through an HDMI port? Or do I need a new laptop to use the M14? Thanks. Great video.
@HAMYLABS
@HAMYLABS 18 күн бұрын
Hm I haven't tried to use the M14 through HDMI but my guess is it won't work cause it needs the to work with Thunderbolt to get the display working. Q: Does your Laptop's USB-C port support Thunderbolt?
@FelixWaigner
@FelixWaigner 19 күн бұрын
How can you connect this to a SSL certificate to get the HTTPS domain?
@HAMYLABS
@HAMYLABS 18 күн бұрын
Coolify will take care of this for you - just list the domain as `YOURDOMAIN` and it will provision a cert for you.
@dovh49
@dovh49 19 күн бұрын
My favorite language is V. It's simple and easy to use. It is small and compiled. I no longer like the complexity of other languages. I can do much of the functional stuff found in other languages and has built-in monads. But they're simple monads so I don't have to fight the types all the time.
@guillaumedechambre9138
@guillaumedechambre9138 20 күн бұрын
Go F#! Such a fine and performant language. It's really productive and really fast to do numerical work.
@deyanvp
@deyanvp 21 күн бұрын
Not very encouraging 😢 Thanks to .NET BCL which gives a bit of support/safety ...
@AKJord
@AKJord 21 күн бұрын
Don't waste your time watching. It's a mod. You really ought to put this in the title 🤨
@LeoR94
@LeoR94 24 күн бұрын
2:10 doxed 😆. This is what I was looking for, Coolify docs are very confusing for some stuff
@RoboGameOfficial
@RoboGameOfficial 25 күн бұрын
hmmmm. Does this mean that Tesla can't make an autonomous robot, and everyone else can?
@octoNG
@octoNG 25 күн бұрын
Can't believe i looked up "mini metro programming" and something actually came up. I think it'd be cool to have a game like mini metro but writing code instead of connecting lines.
@HAMYLABS
@HAMYLABS 24 күн бұрын
That would be cool! I'd think it would be slightly different maybe? Like more strategy less real-time. Maybe you code your connections or the logic to make your connections then watch it run?
@aatmiksanghvi-s6q
@aatmiksanghvi-s6q 28 күн бұрын
Can I use it in free tier can u make a video for it?
@gwnbw
@gwnbw Ай бұрын
I love Python but for job opportunity Javascript is better when you dont have a degree in data science.
@HVossi92
@HVossi92 Ай бұрын
Nice video! Did you give any consideration to server sent events? (I assume that with a low number of users, they would reduce the overall amount of requests and improve interactivity, but with a larger amount of users increase network traffic, if you receive them for invisible checkboxes)
@TheDeathknight23
@TheDeathknight23 Ай бұрын
Man I absolutely hate python. Maybe it's my 'skill issue' but it will NEVER be considered for enterprise development beyond its current scope. With the constant development of type safe languages like Rust, Go, Zig and our own F#, Python will continue to be pushed by people new to programming but it will always remain a starter language and nothing more. Exceptions apply of course. C# does everything better than it anyway in every case. Plus most people I know use it for leetcode anyway. Plus Python is never used alone for a fully scaled fullstack application. JS is used on the frontend. With Blazor, it is not. So to new devs I would say learn JS/TS for the frontend and some type safe language for the backend and you will never have to worry about speed and scalability. Anyone who can learn Python can easily learn JS as well as Php Laravel. And I agree with you about F# for scripting which ironically Python was originally for. What do you think if folks started teaching F# instead of Python for data science, AI and everything on between?
@nige
@nige Ай бұрын
Ahhh! You rock! I was without my monitor for over a year. I finally decided to sit down and figure out why it’s not working. I got it working now because of you! Thanks so much for posting this! It was my chord. Ugh.
@TheDeathknight23
@TheDeathknight23 Ай бұрын
This is the real stuff. F# sounds like a fantastic language in a whole pool of languages. Postgress sounds like a great choice if you don't wanna make Oracle richer. Sveltekit I'm not sure about as I am far less proficient in frontend dev. However this tech stack looks solid.
@nark4837
@nark4837 Ай бұрын
this is cool, but at this point you might as well just get the network request for it, it's just a simple POST you can then just spam requests to this endpoint on a rotating proxy, since he does ratelimit clicks :)
@HAMYLABS
@HAMYLABS Ай бұрын
Yeah could do this for sure but I liked the idea of doing in browser cause then anyone can easily do it (even if not that technical). Also I think the network requests are rate limited server-side with 429 error code so p sure that would get blocked too. Ofc we could do some botnet tomfoolery to get around what's probably a simple ip-based rate limiter but that's for another post I suppose
@nark4837
@nark4837 Ай бұрын
@HAMYLABS yeah ofc there is a ratelimit but that's true whether you spam click the button or spam requests (the button click is just firing that request indirectly)
@jrldtlld
@jrldtlld Ай бұрын
I was using the connection name without the /cloudsql/ you saved my weekend!
@MridulAgarwal-w6l
@MridulAgarwal-w6l Ай бұрын
This is so cool!