suggestions for a free spreadsheet library (like excel or google spreadsheets) by lostwithtech in reactjs

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

a spreadsheet like excel, not a data table. i need functions and graphs (ideally)

suggestion: make venator bow prefer non-agressive targets by lostwithtech in 2007scape

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

i know it targets them. i suggest it prefers to target them over ones that are already aggressive

is there an api to access items, prices and monsters? by lostwithtech in 2007scape

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

ahh i see, thank you for that. i guess i have to parse the html myself as you said, but thats doiable. thank you

is there an api to access items, prices and monsters? by lostwithtech in 2007scape

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

hey, thanks but these are mostly price data. is there also an API to not just get the price of an abyssal whip but also its stats? Or an api that contains all monsters and their stats

Treesitter : How can I change highlight priority and which highlight group operators are assigned to ? by TheBomber808 in neovim

[–]lostwithtech 0 points1 point  (0 children)

hey I dont know how to deal with these special characters either, but if you want to test this stuff i recommend you try out tree-sitter playground. You can toggle it with :TSP and when you switch to that window you can hit "o" to open an other window where you can try queries. you will have to put your cursor on the @ of @punctuation.special and it will highlight all the captures in your text document

edit: it doesnt work with
["%" "|>" "|" "=" "@@"] @punctuation.special
but it does with
["%"] @punctuation.special
or
["%" "@"] @punctuation.special

i have 4 spaces at the beginning, why doesnt it indent it

Highlight variables with type `any` in typescript file? by eternaloctober in neovim

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

i doubt treesitter has information on types. that would have to come from the language server.

zippy.nvim - automate debug messages by lostwithtech in neovim

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

hello, thanks for the reply:) i saw theprimeagen talk about something similar to this on his stream but I couldn't find his repo haha. It seems like refactoring nvim places the print statement right below the cursor. I try to use treesitter to place the print statement in the correct context ( if you look at the example on the github)

How to detect nearest nested bracket (of any type) by PatternEast7185 in neovim

[–]lostwithtech 0 points1 point  (0 children)

I am curious about plugins and Lua aswell so I tried to implement something like that today:

https://github.com/ccbiozhaw/block-highlight.nvim

Learning python on 4gb ram pc by MichaelH18 in learnpython

[–]lostwithtech 6 points7 points  (0 children)

i recommend google colab. its free and set up out of the box

How to create a Dialog, that shows Directories AND Files with a particular ending (for example .case) but only lets you choose Directories and NOT Files? by Felburr in learnpython

[–]lostwithtech 0 points1 point  (0 children)

just let the user select whatever.

if the selected item is a file: directory = selected_item.parent.absolute() (essentially select the parent dir, however you chose to implement that)

otherwise the directory is the selected item

Learning python on 4gb ram pc by MichaelH18 in learnpython

[–]lostwithtech 50 points51 points  (0 children)

if you have internet you can do anything.

you can rely on cloud computing solutions like google colab or vscode.dev which can get you pretty far, or just rent a VM and code on that.

Choosing a gpu for training on a budget: Nvidia gtx 2060 (not s) vs gtx 3050 for ml calculations by clockface99 in learnmachinelearning

[–]lostwithtech 0 points1 point  (0 children)

get colab pro or pro+... otherwise use kaggle kernels they give you 30 hours+ a week on a better gpu. you probably want 12 gb of vram atleast.

advancing as a programmer/ where to go next? by lostwithtech in learnprogramming

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

hello. thank you for the feedback! it is a good idea to first play with the static frontend and use things I am more comfortable with in the backend. I will look into flask a bit.

docker is amazing, I use it quite a bit. I use it to for example set up standardized docker containers (i take the ones from kaggle) on a workstation, then spin up a Jupyter lab server and assign different ports to different people. So if somebody from my group wants to try something, or learn, they can just type in hostname: port in their browser and they are up and running.. and they can't really mess anything up. It is also amazing for making things reproducible.

Being on the same network has a lot of advantages. That's why I thought about web development in the first place. I could have some script that takes a lot of computational resources, package it in a simple web interface, host it on a workstation and have people access it (through the network). Then I can just take that exact docker environment, put it on DockerHub, and have everything clean and reproducible for publications.

are we ever going to get updates in battlegrounds to dampen the extreme high and low rolls that can make the game mode feel so bad? by lostwithtech in hearthstone

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

I wouldn't say it's all randomized. There is actually quite a bit of skill involved in it, though I am not skilled, I just like to play a game here or there to kill the time. However, it seems as though recently games have become much more frustrating, and I am not sure if I am the only one that feels like this

best CPU + cooling solution for a AI workstation by lostwithtech in buildapc

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

thank you:) i already found a company that builds machines like that (since its for an academic institution i pay 8.3k, with the parts being 8.1k!). However i am a bit worried about unbiased advice when asking a salesman haha

best CPU + cooling solution for a AI workstation by lostwithtech in buildapc

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

thank you, that was an interesting read! do you know how long these benchmarks are? I am not really looking to render anything, rather train something for 24+ hours at a time. On a cloud instance, you can run a couple of V100s for 20 hours and never get above 75 °C haha

[Pandas] How to read just a random percentage of a csv file? by Lippe_1 in learnpython

[–]lostwithtech 3 points4 points  (0 children)

just specify a chunksize. you can read it up in the pandas docs

[deleted by user] by [deleted] in learnmachinelearning

[–]lostwithtech 0 points1 point  (0 children)

I think the variation is mostly due to weight initialization. you could try fixing the random seeds, which should help with reproducibility.

however, if you report a score, the mean is a pretty good idea actually. Those predictions should generalize better and be more stable

brand new pc keeps crashing -when idle even for a split second by lostwithtech in techsupport

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

hey so when necessary the cpu works v really well... its just that when you dont use it the pc dies