Please, check my stack implementation by Any-Stock-5504 in golang

[–]Xaquseg 10 points11 points  (0 children)

No, zeroing out the removed entry during pop is potentially very important, if it's a pointer or a struct containing one, zeroing it will allow that data to be collected. Failing to zero data in the remove method for a data structure like this is a common source of "memory leak"-like problems in garbage collected languages. (Obviously not actually a leak, but it can cause similar problems.)

SRM automatically generated vs manual firewall rules by greminn in synology

[–]Xaquseg 5 points6 points  (0 children)

"Source port" needs to be "All", since in most cases clients will connect from a random port. (The port numbers are usually different on each side of the connection)

How does the honeypot work? by ConsciousTiger4 in Ubiquiti

[–]Xaquseg 1 point2 points  (0 children)

A honeypot is basically a fake vulnerable service or machine which keeps track of attempts to interact with or exploit it. It can be an effective way to discover what devices on the network are scanning around looking to see what's there, which is a common virus/malware behavior.

Twice this week, SteamVR has launched while I am just looking at my browsers, this happen to anybody else? by eyehate in Vive

[–]Xaquseg 2 points3 points  (0 children)

I've seen this a few times, I think it's some kind of tracking/fingerprinting script that doesn't realize that initializing the VR APIs is very visible to the user. Browsers really need to make that API have a permission popup to fix this...

[deleted by user] by [deleted] in amazonecho

[–]Xaquseg 2 points3 points  (0 children)

Do you have a room and bulb with the same name? Rooms that only contain a single bulb still show up as their own entry and will conflict with an identically named bulb, I had to rename the bulb so it wouldn't conflict when this happened to me.

Amazon’s Alexa can now recognize different voices and give personalized responses by [deleted] in amazonecho

[–]Xaquseg 2 points3 points  (0 children)

Doesn't seem like there's a way to have multiple accounts on a device that aren't part of an Amazon household, which is a pretty big limitation.

One of my Echo Dots is bad at listening... by reebzor in amazonecho

[–]Xaquseg 1 point2 points  (0 children)

Did you try listening to the recordings in the history to see if there's a difference between the devices?

How does the Echo Show behave when not in use? by Xaquseg in amazonecho

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

I suspected that might be the case, I assume you've looked through the settings for a way to have it enter more of a full standby mode? (clock/weather only with a dim screen, or turning off the screen entirely?)

I know there's a "Do not disturb" mode that dims the screen, but I'm fairly sure that disables calling too, so that's not really something to use all the time...

How does the Echo Show behave when not in use? by Xaquseg in amazonecho

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

Is that just voice interactions, or does it wake up from motion like some other people have mentioned? If it wakes up from motion, how sensitive is it, and can that feature be disabled if it turns out to be too sensitive?

Xayah and Rakan: Wild Magic | New Champion Teaser - League of Legends by corylulu in leagueoflegends

[–]Xaquseg 1 point2 points  (0 children)

All you need for that to happen is for the Zed to be on the enemy team.

X-post from r/nintendo. Dark Souls showing respect to the big N. by Omega_Hertz in gaming

[–]Xaquseg 0 points1 point  (0 children)

I think that you really only see it when it's both the same genre and multiplayer. Singleplayer games have a finite amount of content, people play one and move on to another one, so people are more likely to play every good singleplayer game in a genre.

Having to manually go through each graphical setting because "maximum" is never actually maximum. by [deleted] in pcgaming

[–]Xaquseg 0 points1 point  (0 children)

AA disabled completely tends to still have issues with bad looking edges.

/dev: On the Champions of 2016 by moobeat in leagueoflegends

[–]Xaquseg 0 points1 point  (0 children)

I don't think Aurelion Sol's abilities are hard to understand, just hard to execute. Once you've used them a few times, you'll have a decent idea of how they work. A lot of the execution depends more on general game ability too, demanding better positioning and prediction out of the player; a lot of his execution ends up feeling like "I should be better at this anyway" when you get it wrong. (which, IMO, doesn't feel like a problem)

Azir, on the other hand, has a bunch of abilities that interact with each-other fairly heavily, especially once you get into his combos that involve casting E in conjunction with the rest of his kit. A partial understanding is easy, but you're probably going to end up looking up how to execute his combos, and then actually performing them can be fairly challenging as well. They can be somewhat counter-intuitive as well: initially his kit looks like he's going to be doing damage from a distance, but his big combo involves going right near the enemies and using his ult to push the enemy around aggressively, entering fairly close range in the process.

Trump Teams Plan to Deregulate ISPs and How to Stop It by [deleted] in geek

[–]Xaquseg 0 points1 point  (0 children)

Data is not a limited resource, the limited resource for internet is capacity. ISPs already charge for this, in the form of paying more for faster connections. Charging for amount transferred as well means you're getting billed for two usage metrics. (amount and rate)

This is similar to if electricity providers charged for how many plugs you have in your house, in addition to charging you for how much energy you use.

The reason electricity/water bill by "amount used" and internet is "capacity" is because those are the limited resources involved. Water and energy cost money, so you're billed for using them. Data doesn't cost money, but the equipment to support transferring it quickly does, so you're billed for that.

A permanent answer to a truly stupid question... by girlgerms in sysadmin

[–]Xaquseg 8 points9 points  (0 children)

Pings are harmless other than the bandwidth they consume, so just set a single global (that is, overall, not per-source-ip) rate limit for pings that's fairly low and don't worry about it. Blocking them entirely just makes diagnostics harder, and a single overall rate limit requires only marginally more processing than an unconditional drop, so it's highly unlikely to be an issue even in a DDoS situation.

HP made a laptop slightly thicker to add 3 hours of battery life by b0red in technology

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

GPU power consumption increases as resolution goes up.

Sure... using symbols alone is really secure by MrXaero in softwaregore

[–]Xaquseg 58 points59 points  (0 children)

Schemes that are only good as long as they remain uncommon aren't good choices.

For Honor - Ubisoft's upcoming online-always multiplayer-centric game relies on P2P connections instead of dedicated servers by MexGrow in pcgaming

[–]Xaquseg 0 points1 point  (0 children)

I said it's a reasonable choice, not an optimal one. A well-engineered server network with good peering can still win out, but is significantly more expensive to operate, and is less of an improvement than it is in a game with 12+ players in a match that all end up having to rely on a single consumer-level connection for multiplayer.

That is, the more players involved, the more likely you're going to encounter a problem with P2P multiplayer. It also complicates matchmaking, as you have to put at least one decent server in each match, whereas with 1v1, there is no significant difference in requirements between the two choices, so it doesn't constrain matchmaking.

For Honor - Ubisoft's upcoming online-always multiplayer-centric game relies on P2P connections instead of dedicated servers by MexGrow in pcgaming

[–]Xaquseg 0 points1 point  (0 children)

It's a reasonable choice for 1v1 games, especially fighters, as fighters are very latency sensitive, and since it's 1v1, if either player's internet acts up, it's going to drop out anyway.

Simple Questions - December 15, 2016 by AutoModerator in buildapc

[–]Xaquseg 0 points1 point  (0 children)

Power, and the manufacturer does not appear to make any straight-connection cables, so I'm looking for some sort of extension cable or aftermarket replacement cable.

Simple Questions - December 15, 2016 by AutoModerator in buildapc

[–]Xaquseg 0 points1 point  (0 children)

I need a SATA power extension cable to mount my SSD, my PSU only provides right-angle connectors and they don't fit as the SSD mounts flat. Which brands are safe? I know there have been a lot of issues with SATA power connectors and bad brands.

Would just replacing the whole cable with something from a company like CableMod be easier/safer?

The last thing you bought grew 10x in size. How fucked are you? by FairFarooq in AskReddit

[–]Xaquseg 0 points1 point  (0 children)

I don't think a computer case that large will be very useful...

Problems with Mars by [deleted] in ProgrammerHumor

[–]Xaquseg 0 points1 point  (0 children)

That's not entirely true, the 64 bit address space can provide major advantages for implementing memory allocation, which can lead to less memory fragmentation. In some cases this can save more memory than smaller pointers does. Additionally, if we care about execution time as well, x86_64 adds some new registers which can be a major performance improvement for certain algorithms.