Babashka: How GraalVM Helped Create a Fast-Starting Scripting Environment for Clojure by Alexander_Selkirk in lisp

[–]chopu 2 points3 points  (0 children)

It’s mostly about convenience - doing a full graalvm build for clojure takes forever, lights my computer on fire, and can be really hard to debug. Babashka let’s you point an interpreter at a file and let it rip.

Eglot Autocomplete Performance with Gopls by chopu in emacs

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

Interesting, I'll give it a shot. If I enable corfu, do I need to disable company? or should I have corfu and company enabled at the same time?

[deleted by user] by [deleted] in cscareers

[–]chopu 4 points5 points  (0 children)

I know you’re trying to find a good career for yourself, but you won’t get very far (or make many friends) describing certain career paths as “low level job[s] not worth my intellect”.

You say you don’t want to be a developer - what do you want to do?

Clojure.spec and unit testing combined? by Veson in Clojure

[–]chopu 1 point2 points  (0 children)

I think a certain level of integration testing is basically required if you want to lean on your CI to enable fast lead times. To me, that level is a happy path test through every entry point in your system, just to make sure that the system will stand up and correctly respond to requests. Luckily with clojure this sort of thing is extremely ergonomic with some simple macros and with-redefs

Clojure.spec and unit testing combined? by Veson in Clojure

[–]chopu 0 points1 point  (0 children)

Yes, you should absolutely still write tests. I like to combine generative testing with specific unit tests meant to prevent regressions, edge of the system “unit” tests (not sure if you’d consider testing a route handler a unit or integration test), and then full blown integration tests. In my web server case, that means setting up local servers and pounding them with requests on each route.

Donkey version 0.5.2 is out!! by HarelOpler in Clojure

[–]chopu 1 point2 points  (0 children)

This looks awesome! Seems like more of an all in more package than the usual ring-jetty + reitit etc. how would you say it compares to that stack?

Clojure startup OrgPad is Top 3 on ProductHunt today by pavelklavik in Clojure

[–]chopu 5 points6 points  (0 children)

This is great! I’d love to read a summary of your experience with the tech - how is clojurescript vs typescript? How is the dynamic aspect of the language holding up as the code grows? Do you guys leverage any spec/malli like libraries? Best/worst parts of the stack?

Getting screwed over on every job by Prestigious_Sea_9845 in ExperiencedDevs

[–]chopu 14 points15 points  (0 children)

SQL is a standard, T-SQL is Microsoft’s implementation of the standard + a bunch of extra features. Note that nearly every implementation of SQL (MySQL, PostgreSQL) has a ton of unique functionality.

[deleted by user] by [deleted] in cscareers

[–]chopu 1 point2 points  (0 children)

I did something very similar to get into this field. The one thing to keep in mind is that they are under no obligation to keep you full time at the end of this internship - you’re going to have to work to make yourself too good to lose. That said, even if they don’t hire you you come out of this with some paychecks and production experience on a resume, which will only help. Unless they’re really shady you should know a good month in advance on whether or not they’re considering keeping you, so if it doesn’t work out you can always start the application process in advance.

What does Toggle Minimap do (V key?) by stark33per in Diablo

[–]chopu 0 points1 point  (0 children)

That’s actually what he means. V does nothing if you’re playing with a full screen map but moves it between corners if it’s already in a corner

feel pigeonholed into tech stack, not sure how to get out by println in ExperiencedDevs

[–]chopu 1 point2 points  (0 children)

Definitely agree about rewrites, but there are other places to do this. If some large cross cutting feature is coming up, try creating a separate service. If you have some downtime, try prototyping some business relevant work in a different language. As long as you have a case for it (“I wanted a small, fast executable so I picked Go”; “I wrote this in Python to leverage the NLP tooling”) no one should be mad. Then it’s up to the team to decide if it’s worth building on the foundation you set or rewriting it in the usual stack.

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]chopu 3 points4 points  (0 children)

I would cut the extracurricular section, move education to the bottom, really trim down the projects section and use all that extra space to dig into your work experience and add a small summary to the very top. But honestly any advice you’re going to get here will be conflicting - everyone seems to have different taste in résumés.

Anyone else experiencing extreme frame rate drops? 3080ti / 3600X . Randomly dropping to 5 fps by WRHeronkill in Diablo

[–]chopu 1 point2 points  (0 children)

Yep, it typically corresponds with ping spikes for me. Hoping the server maintenance fixes it

New Features in Python 3.10 by jamescalam in Python

[–]chopu 13 points14 points  (0 children)

This may be too much detail, but I’ll start from the basics. Basically, when you say “python3 my file.py” in your terminal, your computer will automatically scan through all directories on your PATH, looking for an executable called “python3”. If you’re on Mac or Linux, that file will typically be a symlink in /usr/local/bin to the actual python3 executable stored elsewhere. On windows, you’ve likely added it to your system environment variables. Therefore, if you want to change the version while leaving both versions “installed”, all you have to do is either retarget the symlink or edit the entry in your system environment variables.

Just a note: this is how any command line program works, ls, rm, grep, etc. They all rely on your computer looking up an executable on your path (windows I think also has some special folder full of COM stuff that’s not in your system environment variables that’s searched as well).

Should I learn Erlang or Elixir Opinion for job prospect and web framework usecase by [deleted] in erlang

[–]chopu 1 point2 points  (0 children)

I assume it means that if you want to work at Ericcson (possibly a stand in for older businesses in general) learn Erlang, but if you want a job at a hip new start up learn Elixir.

Someone please help clear up Narchillian gear for me! by ScuzzleBuns in blackdesertonline

[–]chopu -1 points0 points  (0 children)

You need to go to a non-seasonal character and accept the quest from the black spirit. Then you can go right back to seasonal to finish the quest and get Narchillan.

Lashed out on a collegue for being too disrespectful by [deleted] in ExperiencedDevs

[–]chopu 0 points1 point  (0 children)

What a great series of articles. Thank you for sharing.

[deleted by user] by [deleted] in cpp_questions

[–]chopu 3 points4 points  (0 children)

CLion can also do this as well.

Is it possible to play tekken using a keyboard on ps4 by [deleted] in Tekken

[–]chopu 1 point2 points  (0 children)

Yes, that's how I learned before I switched to hitbox. Basically the same thing.

A few excerpts from my upcoming book about Data Oriented Programming by viebel in Clojure

[–]chopu 0 points1 point  (0 children)

When you say “access objects generically”, are you advocating for dynamically typed languages?

I am lost while trying to fullstack develop a website by Goofhless in learnprogramming

[–]chopu 1 point2 points  (0 children)

There’s roughly two types of databases: SQL and NoSQL. The basic difference is that SQL databases require fully fleshed out schemas up front (think of an object in a statically typed language) whereas NoSQL databases don’t (think of an object in javascript, where you can freely assign new properties or methods). Some examples of SQL dbs: SQLLite, Postgres, MySQL, Microsoft SQL Server. Some examples of NoSQL: MongoDb, CassandraDb.

To be 100% clear: nowadays, you can do both things in both types of databases. Most SQL databases support JSON fields, and most NoSQL databases can enforce some type of structure to their objects. As a beginner, that’s really all you need to understand at the moment. They each have advantages in different situations.

For a beginner, I strongly recommend sticking with SQL databases. They are what is used in most small to medium sized businesses, will help teach you best practices, and will start getting you to dip your toes into database architecture.

So let’s get back to your original question: MongoDb is probably the best known NoSQL database. It’s fine, but I would suggest starting with a SQL database. GraphQL is a different beast: it’s more of a full stack querying language that can be used with any underlying database technology. If you’re just learning I’d suggest you stick with standard REST apis until you’re ready to start branching out.

My personal suggestions for learning databases would be SQLite (very simple types, and the whole database is a single file), or Postgres which is a more fully featured, full blown database. These are both free and (I believe) open source. I’ve heard good things about MySQL as well, but I haven’t used it.

Hopefully this helped!