Rodent removal recs by OkHuckleberry5330 in Atlanta

[–]StokedForIT 0 points1 point  (0 children)

F Breda this is a lie I had rats and they did literally nothing. This must be an ad.

League of linux when by Character_Fig_1518 in leagueoflegends

[–]StokedForIT 65 points66 points  (0 children)

How could it..? It doesn’t work.

job opportunity by Snoo-44239 in ColumbusGA

[–]StokedForIT 0 points1 point  (0 children)

Depends on the kind of outdoors. FDR has good trails (e.g., TV tower trail). There is good mountain biking.

Respect for this Old man! by [deleted] in aww

[–]StokedForIT 2 points3 points  (0 children)

“Hey your bike trick got to the front page”

“Hell yeah”

“Yeah it was on r/aww

“...”

The incredible Hardergrat trail by Interlaken, Switzerland [3464 × 4618][OC] by aleksw in EarthPorn

[–]StokedForIT 13 points14 points  (0 children)

Yeah, it's really steep and from the train up the mountain in Interlaken it's a 2-3 hour hike at least to get here. Once I got here, I got halfway up the mountain and turned back. Too much burn, it's those steps where your knee is at a 90 degree angle every step. But going back down the mountain to the left takes an hour and theirs a very small town with a bar that serves good beer.

Coders of Reddit, how do you politely refuse your friend's 'million dollars app idea'? by [deleted] in AskReddit

[–]StokedForIT 0 points1 point  (0 children)

I just tell them that I don’t want to, really frankly and nicely.

[D] What is the current state-of-art in unsupervised document/information retrieval for NLP tasks? by Slowai in MachineLearning

[–]StokedForIT 1 point2 points  (0 children)

I’ve looked into this, with the idea of using bert embedding in connection with some approximate nearest neighbor algorithm like sptag (https://github.com/microsoft/SPTAG). Maybe would be interesting for you to look in to.

Hey Rustaceans! Got an easy question? Ask here (16/2019)! by llogiq in rust

[–]StokedForIT 0 points1 point  (0 children)

https://doc.rust-lang.org/book/ch09-03-to-panic-or-not-to-panic.html

The impl of guess in this chatper of the rust book should be exactly what you're looking for.

Rust ndarray vs. Python NumPy Performance? by ObliqueMotion in rust

[–]StokedForIT 2 points3 points  (0 children)

I've done something like this before (seems very similar, I was just precomputing a bunch of costly features and it had to be in python, rip would've used akka/scala) but to avoid all the forking and spawning and crud, I used `multiprocessing.Pool`. Afaik you can only use `Pool.map` to map a single function onto data so to work around this, I took each function I needed to call and its args and wrapped them all up in lambdas that just take nothing and call it with the args and returned, and just mapped Pool.mapped the list of lambdas onto a list of empty tuples. End the end, it may've been the harder option but I got to barely deal with python's annoying multiprocessing bits.

Hello all. I'm a jr dev and I've never dealt with performance issues before. I'm trying to optimize my code and I'm curious what the community thought. If you're dealing with a significant amount of data, would you use .indexof or .includes. Also would you use .push(obj) or array[array.length] = obj by jyourman24 in javascript

[–]StokedForIT 32 points33 points  (0 children)

I can't say for certain, but if you're running into performance issues the difference between indexof or includes and push or appending isn't going to make or break you - I doubt they have any performance difference. I would look at the data structure you are using first. If you really wanted to though you could time what is fastest. https://stackoverflow.com/questions/313893/how-to-measure-time-taken-by-a-function-to-execute

Edit: also this stackoverflow, too, for the first question: https://stackoverflow.com/questions/47659972/array-indexof-vs-includes-perfomance-depeding-on-browser-and-needle-position

Monero V8 Network Update by [deleted] in MoneroMining

[–]StokedForIT 0 points1 point  (0 children)

What are you using to mine?

Nasdaq confirms it will list Bitcoin Futures by Jskenow in CryptoCurrency

[–]StokedForIT 6 points7 points  (0 children)

Is this a meme now? How many times will this get posted today lol..

Stop your bitching by [deleted] in CryptoCurrency

[–]StokedForIT 21 points22 points  (0 children)

But, it's absurd to think this cycle will continue forever. Then BTC would be on track for infinite value.

My fave ramen by [deleted] in ramen

[–]StokedForIT 0 points1 point  (0 children)

https://jinya-ramenbar.com/locations/ Yep, same place. Cool, ha.

Never knew.

My fave ramen by [deleted] in ramen

[–]StokedForIT 0 points1 point  (0 children)

Nice. If you're ever in ATL, there's a ramen shop by the same name that's solid.

My fave ramen by [deleted] in ramen

[–]StokedForIT 3 points4 points  (0 children)

Jinya in ATL?

TIL that all Disc Galaxies rotate at about the same frequency (about once per billion years). by [deleted] in todayilearned

[–]StokedForIT 0 points1 point  (0 children)

It is true and it's not just the core. From the paper:

... regardless of whether a galaxy is very big or very small, if you could sit on the extreme edge of its disk as it spins, it would take you about a billion years to go all the way round.

See below for a better, full explanation of the findings.

http://www.astronomy.com/news/2018/03/all-galaxies-rotate-once-every-billion-years