• 1 Post
  • 32 Comments
Joined 3 years ago
cake
Cake day: July 6th, 2023

help-circle


  • Just fyi, I tried one your instance. Searched a user, clicked a result, and got an error.

    Error
    
    ./app.lua:134: attempt to concatenate field 'username' (a nil value)
    
    Traceback
    
    stack traceback:
    	./app.lua:134: in function 'handler'
    	...ittygram/lua_modules/share/lua/5.1/lapis/application.lua:185: in function 'resolve'
    	...ittygram/lua_modules/share/lua/5.1/lapis/application.lua:216: in function <...ittygram/lua_modules/share/lua/5.1/lapis/application.lua:214>
    	[C]: in function 'xpcall'
    	...ittygram/lua_modules/share/lua/5.1/lapis/application.lua:214: in function 'dispatch'
    	/apps/kittygram/lua_modules/share/lua/5.1/lapis/nginx.lua:231: in function 'serve'
    	content_by_lua(nginx.conf.compiled:92):2: in main chunk
    


  • KRAW@linux.communitytoLinux@lemmy.mlDo you use vim?
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    I use helix part-time but am forced to go back to neovim a majority of the time for a few reasons:

    1. no persistent undo
    2. no ctags and cscope (some C/C++ projects don’t work well with clangd)
    3. niche plugins (e.g. I just found a neovim plugin that gives me a way to run ipynb files in-editor)

    If 1 and 2 got fixed, I’d be a full time helix user




  • I’m not really an OS guy, so forgive me if this question has an obvious answer. When a thread migrates, it keeps its stack and register, thus any data contained within this can be used in the destination process (correct me if I’m wrong). Thus sending a message could be as simple as migrating a thread and having that thread copy data from its registers or stack memory to the current process’s memory space. However, how does the thread find process-specific addresses and handles (e.g. a mutex)? For example, I’m picturing a scenario where you are implementing an MPI library and want to use thread migration to send (small) messages from one local process to another. The thread orchestrating the send simply loads the data from memory and migrates, but how will it know where to store the data to? Would there need to be a data structure stored in a fix offset in memory that contains the destination address of the receiving process?


  • Biggest con of KDE + Krohnkite (to me) is no text-based config. I really have no desire to pour through the GUI to set up all my keybinds. I’ve tried this setup before, and honestly I mostly like it. However anytime I want to change something I just hate having to click through a menu with my mouse. The search bar helps, but often you’ll spend a lot of time guessing what the devs decided to name a setting. I went back to Sway and have no regrets. Though I’ll admit I wish there was something that was basically Sway with the benefits you mentioned here.




  • KRAW@linux.communitytoLinux@lemmy.mlThe Terminal Question
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    1 year ago

    kitty. The ssh kitten is enough reason to use it. I work ob a lot of different systems that require OTP. Using the ssh kitten I can type the OTP once and can spawn new terminals that ssh and cd to the remote direvtory without logging in again. Obviosly the tabs and window panes are are a must too. There’s tons of other useful features that I like, like using hints to select nunbers, filenames, urls, etc in the terminal output.








  • FYI, leetcode is not a “learn to code” website it is a “practice problems that will be asked at tech interviews” site. A lot of these problems are inspired by (or maybe are even literally from) interviews at “top companies” like Google, Facebook, etc. They are almost completely algorithmic or data structure problems, i.e. “unrelated to your actual work” (well, most of your actual work for most people).


  • Wouldn’t you argue that putting hard restrictions would have the benefit of shrinkjng your recruitment team? To be clear, I’m coming from an extremely anecdotal point of view, but to me it seems like tech is full of imposters jumping from job to job, playing up their experience. Recruiters cannot spot these people, because they know all the jargon despite having none of the skills. This is why these technical interviews exist, but now those are even being gamed by people by studying leetcode. I’d be really curious what a high quality tech recruiter does vs the average.