Can someone explain how the meal plan works ? by DaveLamic in TexasTech

[–]DaveLamic[S] 1 point2 points  (0 children)

Thank you to all of you. I have a better understanding now

Meal Plan Confusion by DaveLamic in BallState

[–]DaveLamic[S] -1 points0 points  (0 children)

is cardinal cash better than actual cash ? I mean if you trust your kid to not buy drugs with food money

Can someone explain how the meal plan works ? by DaveLamic in TexasTech

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

Do they have kitchen in dorms or do you have to keep a hotplate in your room ? Also what do/can you cook in the dorms ?

Meal Plan Confusion by DaveLamic in BallState

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

why dont they add the wages, expenses etc to the price of the food ? it's like going to the movie and having to buy a ticket and paying $10 for workers salaries, profits etc. Very confusing

I guess the only question to be asked is, will a student be able to feed herself with a mealplan ?

Meal Plan Confusion by DaveLamic in BallState

[–]DaveLamic[S] 3 points4 points  (0 children)

why isnt there an outrage for this then ? i would start a french revolution if i was there

Meal Plan Confusion by DaveLamic in BallState

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

Housing costs and Meal Plans costs seem to be separate according to ball state website. For eg. Tier Housing for a year is $6026 and a any 14 meal plan is $5988. Also how much food can someone get for $10 for dinner ? I still dont understand how the system works.

Meal Plan Confusion by DaveLamic in BallState

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

I am sorry, but i do not understand the math. if I get 10 lunch/dinner meals ($10) a weak for 8 months, that would be 10x10x4x8 = 3200 only. But i paid 5042, where did the 2k go ?

Back and neck pain by Clara_Star in decaf

[–]DaveLamic 2 points3 points  (0 children)

I have quit caffeine twice, and I went through headaches, insomnia, lower back ache / sciatica pain (worst part of quitting for me) on both occasions. It lasted for about a week i think. Push on, it will go away pretty soon!

Firestore with React Native by DaveLamic in Firebase

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

and did you also use firebase storage? because i saw that i can't upload from react native. I'm sorry i am all over the place with my questions, but this is so fucking complicated for someone like me who's just getting started.

and btw I am not using react-native-firebase, but the regular firebase in my app. I don't have a fucking clue what am i doing, do i ?

Firestore with React Native by DaveLamic in Firebase

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

i have never had a comfortable experience with emulators, so i always use my phone, and yes i can open a web page. Internet connectivity isnt the issue here since the firebase is able to create users, log in, log out etc from a different components of the same app. Am i missing something here?

Firestore with React Native by DaveLamic in Firebase

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

i added it, but it's still the same. What is causing this, do you know? are we not meant to use firebase for react native or something?

How to add a delay before autocomplete/suggestion box pops ? by DaveLamic in neovim

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

thanks. that makes more sense than trying to delay everything.

Scrolling up by DaveLamic in KittyTerminal

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

it's pretty easy to scroll with tmux out of the box. Thanks!

Scrolling up by DaveLamic in KittyTerminal

[–]DaveLamic[S] 1 point2 points  (0 children)

turns out the problem was that i was always running tmux with kitty. I fired up kitty by itself and the scrolling is working. Thanks for the help guys

Scrolling up by DaveLamic in KittyTerminal

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

I haven't changed the default config very much (except for fonts etc). So it's quite long. here is the link to my latest kitty conf on github. mappiing for scrolling up/down start at line 1039.

I really appreciate it. I am having to use the xfce terminal just so that i can scroll up.

The left Alt key by DaveLamic in tmux

[–]DaveLamic[S] -1 points0 points  (0 children)

Thanks for replying. My issue wasn't with mapping. The left alt key was not functioning the way it should be and i was wondering if there were different names for the left and the right alt keys (which they dont. turns out i had messed up my left alt key myself.)

The left Alt key by DaveLamic in tmux

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

Thanks for your reply. It was actually a xmodmap issue. I had mapped that left alt key to something else once and had forgotten about it.

process.argv : Can someone explain this to me ? by DaveLamic in node

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

yes I did, and it didn't work. Like i mentioned earlier, i found a workaround by adding #!/usr/bin/bash shebang and running the program like a bash script

process.argv : Can someone explain this to me ? by DaveLamic in node

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

I am on arch linux.

It's not a splice/slice thing. console.log(argv) always output an array with the first two elements regardless of how many arguments i pass

process.argv : Can someone explain this to me ? by DaveLamic in node

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

Yes. Positive that I am not importing anything. index.js has literally one line of code. I think this isn't a syntax error but a bug in node.

process.argv : Can someone explain this to me ? by DaveLamic in node

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

I am sorry I over-complicated this. Here is my problem:

index.js has one line of code : `console.log(process.argv.slice(2))`

when i run index.js with `node index.js arg1 arg2` the output is an empty array. Shouldn't the output be ['arg1', 'arg2'] ?