×

Felipe Pena tests positive for PEDs again. Stripped of titles by TrumpetDan in bjj

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

You seem to know a lot about drugs. When are you competing and where can I watch?

Microsoft’s Internet Explorer is dead, what will South Korean websites do? by Jalapenodisaster in korea

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

What does that mean? All I was saying is that web pages alone can't detect virtual machines.

Regulation signed to make cannabis flowers a controlled herb in Thailand by baldi in Thailand

[–]WrongAndBeligerent -2 points-1 points  (0 children)

Pregnant women can't buy it? That's a bizarre law. I could understand if there was some law against using it while pregnant but does it mean that someone with a baby bump can't buy something they could before?

Microsoft’s Internet Explorer is dead, what will South Korean websites do? by Jalapenodisaster in korea

[–]WrongAndBeligerent 3 points4 points  (0 children)

That's very interesting, but not a web page detecting a VM, that's all sorts of native software being installed.

Microsoft’s Internet Explorer is dead, what will South Korean websites do? by Jalapenodisaster in korea

[–]WrongAndBeligerent 7 points8 points  (0 children)

Websites detecting a VM? That sounds like it is much more likely to be a different problem.

is there software science? by onety-two-12 in softwarearchitecture

[–]WrongAndBeligerent 1 point2 points  (0 children)

I would say search for literally anything else than thinking this con artist has any idea what he's talking about.

Openly selling weed in Bangkok? Or is it a scam? by afox1984 in Thailand

[–]WrongAndBeligerent 0 points1 point  (0 children)

They're comparing something legal and tolerated to something much less harmful. Why is this so difficult for you?

You seem to have a lot of underlying grudges built up that causes you to say ridiculous nonsense.

Openly selling weed in Bangkok? Or is it a scam? by afox1984 in Thailand

[–]WrongAndBeligerent 13 points14 points  (0 children)

This is one of the dumbest things I've ever read. It seems like something a shut in would write after reading outrage headlines and never experiencing the world.

Do you actually use Linked Lists? by OlMingus in SoftwareEngineering

[–]WrongAndBeligerent 0 points1 point  (0 children)

Where does the linked list memory come from? You still have to allocate from the heap at some point, so you might as well do it in much larger chunks than a single item since the allocation cost doesn't change based on size.

Do you actually use Linked Lists? by OlMingus in SoftwareEngineering

[–]WrongAndBeligerent 0 points1 point  (0 children)

Yeah - pages are usually 4KB of the underlying real memory. This can be configured but I'm not exactly sure where it is set. I think the OS sets it when booting and transitioning from 'real mode' to virtual memory mode. The memory from heap allocations and by extension data structures doesn't necessarily need to worry about pages, though it isn't a bad idea to try to align allocations to page boundaries (and some heaps do).

Do you actually use Linked Lists? by OlMingus in SoftwareEngineering

[–]WrongAndBeligerent 1 point2 points  (0 children)

You are missing a lot, mostly in the actual time it takes to do certain operations like heap allocations or traverse a linked list with lots of pointer chasing.

Linked lists are much more efficient for indeterminate stacks/queues because the memory can be anywhere and paged by the OS as needed.

Memory being anywhere isn't an advantage. Dereferencing a pointer whose memory is not anywhere in cache (and whose page is not in the translation look aside buffer) can be 300x the time it takes to look up the next few bytes in memory sequentially (due to prefetching).

Also "paged by the OS as needed" has basically no relevance here, since that would refer to virtual memory being transparently mapped to a file in a file system.

To make this more concrete, if there is a stack or queue that heap allocates every item and links it with a pointer from the previous item, even though you don't have to run through the entire list, you are still doing heap allocations every time instead of just decrementing from an index and leaving the space allocated, which is trivial to do with a vector. In more extreme situations you could use large chunks that get linked together to have a more hybrid approach with neither of the extremes. This is what std::deque does in C++, which is also used as the storage for std::stack by default.

https://en.cppreference.com/w/cpp/container/deque

Do you actually use Linked Lists? by OlMingus in SoftwareEngineering

[–]WrongAndBeligerent 6 points7 points  (0 children)

Tradition linked lists where you allocate every item on the heap and put a pointer in the previous node are basically obsolete. There is no scenario where it makes more sense to do that than to use a vector to store items and another vector to store numbers/indices into the vector of items. If a potentially large reallocation is a problem for performance, big chunks of items can be stored in vectors linked together like a normal linked list.

Basically it is one of the worst ways to do something on a modern computer because it is so slow it only makes sense from a simplistic CS point of view.

Why are they used in questions so much? Probably because people barely know how to program, let alone test and hire people. Everyone is hacking their way through whatever they do and few people sit back and form a big picture in their head.

Linked lists are a staple of introductory computer science and lot of people aren't really able to get away from that and think about the real world and what works with more pragmatism.

Me, a Hermit, cozy in my ocean rock fortress by imapoopyposter in CozyPlaces

[–]WrongAndBeligerent -26 points-25 points  (0 children)

I started both paragraphs with “I think” and “I guess”

Why would you say this when anyone can see your other message.

I don’t think that’s big enough, and the risk of getting blown into the rock by the wind is too high. Everyone would likely fall and be killed in the water below if that happened.

Me, a Hermit, cozy in my ocean rock fortress by imapoopyposter in CozyPlaces

[–]WrongAndBeligerent -36 points-35 points  (0 children)

The craziest thing is that you made up scenarios and posted them as if you had any idea what you were talking about.

Is it common to lose to a teenager? by [deleted] in bjj

[–]WrongAndBeligerent 1 point2 points  (0 children)

A woman that's 6'8" ? Why isn't this labeled as a shit post? The woman who played brieanne in game of thrones is only 6'3". The tallest woman in the world is 7', the tallest woman in the wnba is 6'10", the 3rd tallest in the wnba is 6'8".

[SPOILER] Saenchai vs Ali Ghodratisaraskan | THAI FIGHT - นครสวรรค์ by Yodsanan in MuayThai

[–]WrongAndBeligerent 12 points13 points  (0 children)

What do I want him to do? I want him to crush cans every weekend so I can see his highlights.

Love the sights on Sunday morning strolls through the city by [deleted] in vancouver

[–]WrongAndBeligerent 20 points21 points  (0 children)

What do you mean by personally? Do you have skin in this game?

Found the “two spirits” guerrilla sculpture! by Doot_Dee in vancouver

[–]WrongAndBeligerent 1 point2 points  (0 children)

This is a passive statue near one of the most densely populated places on earth. It's also not going to hold anyone's attention for more than a few minutes. What is it that you think is going to happen that hasn't already happened? Was it a big secret until now? Do you think it's there to never be seen?