« first day (2698 days earlier)      last day (2474 days later) » 

11:00
@Wietlol only if you don't mind a solution in javascript
@GNi33 you start to enjoy it when you git gud
just like any competitive game really
it has to be in an sql query
but compared to quake or ut... it's so slow?
my issue is like this:
Table1:
A		| B
AA01	| Foo
AA02	| Foo
AA03	| Foo

Table2:
A		| B
AA04	| Foo
AA05	| Foo
AA06	| Foo

Table3:
A		| B
AA03	| Foo
AA04	| Foo
AA08	| Foo

INSERT INTO NewTable
SELECT
AA01	| Foo
AA02	| Foo
AA03	| Foo
AA04	| Foo
AA05	| Foo
AA06	| Foo
AA08	| Foo
@KamilSolecki might be down to play then, ping me when you are on
11:01
I have 3 tables with data and I want to export that data to a new table
@GNi33 beacuse its not a TDM or FFA, but objective based (excluding CTF). For an objective-based game, its pretty fast paced.
take CS for example
that is a slow game
70% of time in high elo is waiting
yeah you'd have a maximum of 10 minutes + overtime in quick play
@Wietlol union is your friend
btw, @KamilSolecki did you start playing comp?
im lvl 20 i think>
so not yet
11:02
oh, I was thinking about doing my placements some time soon
insert into newtable (field1, field2, field3) select field1, field2, field3 from table1 union select field1, field2, field3 from table2 etc.
I've been recently taking pleasure in climbing in League
3 more divisions and im back to where I was last season
@Neil thanks
you could also, you know.. do three insert statements
11:07
@OliverSalzburg pls sir
-3
Q: Create circles dynamic on click on a main circle with Javascipt/Jquery

user3541032I want to create on a click on a circle more circles around the main circle. The number inside the main circle should stay for how many circles are create on click. I have no idea how i can handle this. Here's a picture of my world map (jQuery Mapael) with the main circles: Many thx

lmao
> I want to create on a click on a circle more circles around the main circle. The number inside the main circle should stay for how many circles are create on click.
click-ception
@OliverSalzburg how to get chicks numbers through quality SO questions
@KamilSolecki hm, yeah, I see. Maybe I'll need to give a try some time
doesn't help that the graphic style doesn't really appeal to me. I should check out some of the modern competitive fps games
or just start playing League!
(pls)
11:12
LoL? never tried it
install it and I'll be your guide
good job.
11:14
wow he is annoying
Why you not getting Body must be at least 30 characters; you entered 1.??? — Ramesh Rajendran 25 secs ago
Why you not getting Body must be at least 30 characters; you entered 1.??? — Ramesh Rajendran 29 secs ago
Tempted to answer with that
11:15
@MadaraUchiha how did you write a 3 character answer?!?!?!
I don't even understand how the person can not solve their problem after having read the post
@Neoares Edit it and see
I mean, labeling that shit is like 1 of the 3 arguments
I can not edit :D
@Neoares Sucks to be you then 😃
11:15
@MadaraUchiha can I? xD
you can't edit non wiki posts on meta
:cries:
unless you are a kamii-sama like @MadaraUchiha and other mods :B
You can add HTML comments to posts that count towards the character minimum, but don't appear in the answer.
ohh someone broke the magic
11:16
hasthelargehadroncolliderdestroyedtheworldyet.com
@SaitamaSama kamil-sama*
btw
> you entered 1
xDDD
Yeah, I noticed that.
He clearly tried one character and copypasted the error he got.
@Neoares Heh, comment with "Well, have you tried it with 3 characters instead of 1?"
I already wasted my 1-character joke
@MadaraUchiha ILU :D
11:19
no but what have you done
"try restarting your computer"
you added some special invisible characters?
or just godly powers
3 mins ago, by Madara Uchiha
You can add HTML comments to posts that count towards the character minimum, but don't appear in the answer.
11:20
eww, dark
doesn't that brak the point of the minimum limit?
like, an exploit?
Meeeeeh: There is a pending suggested edit in the queue. Try again in a few minutes.
But who cares :D
I cant see :/
11:20
@Neoares It's definitely an exploit, but one not exploited enough to patch
should we report Madara?
ah madara did show
but hey, I managed to cheat the system and access the edit panel \o/
make @RameshRajendran a mod in place of Madara!
lolwat
11:21
modified URL?
" There is a pending suggested edit in the queue. Try again in a few minutes."
@KamilSolecki I just pressed the edit button...
getRandomUser().addPermissions(PermissionType.MODERATOR);
@GNi33 it wont allow me to
@GNi33 You have enough rep
No suggested edits in meta
Im not really active on meta y'know :P
11:22
@Neoares You probably can't access it because Kamil is accessing it :D
@KamilSolecki Meta rep === main rep
lol kamil you fucked it up
@MadaraUchiha ah.
oh wow. I still somehow thougt that meta SO rep is disconnected from SO rep
release the thread @KamilSolecki
@KamilSolecki Got any more excuses?
@GNi33 meta SE rep is, meta SO is not.
That was part of the point of the split.
11:24
@MadaraUchiha yes actually, in 77' I lost the ability to see the color black
My 007 senses are starting to tingle
How would you say that anyway?
Back in 05
Back in 00?
oh-five?
oh-oh?
11:26
I'd say "oh-five" and 2000
one of the guys who re-opened the meta post just answered
Donald Duck
@SaitamaSama Ho-oh
@MadaraUchiha ha. I think that you have bypassed the limit by some html
@rlemon waddup? :D
@KarelG You are correct.
@Neoares ah-ha
11:27
he told us 2 times
@SaitamaSama taaaaake ooooon meeeeee
HO-OH
@Wietlol duplicate
@Wietlol that would be a polar molecule
FOOF
pookeymans are written in full upper case
11:28
that's a pokemon, you little bastard
@Neoares here is your tab, good sir:
ho-oh is nothing
everytime I answer a question with less than 15 characters and someone yells at me, I'll link Madara's answer
the only pokemon I allow being written in non full uppercase is "Oh shit, he"
11:29
@Wietlol dude do you even pokemon
Two chemists walk into a bar. The first chemist says, "I'd like an H2O please." The second says, "I'd like an H2O too". The bartender, understanding context clues, pours the second chemist a glass of water.
H bonded to an O which is covalently bonded to a -OH?
@KamilSolecki ho-oh is nothing HO-OH is pookeyman
can a molecule like that exist?
H2O2? yeah..
11:30
heavy water?
it's hydrogen peroxide
^
@KamilSolecki that's D2O
yeah brainfart
"deuterium"
its about the protons
11:30
I like H2 and H3
did you guys read the article that they found a way to make electrons orbit an atom?
so like an atom for a center and not just a neutron/proton cluster
were they not doing it already ?
no.. these are way bigger
@Neil link?
Good evening
11:32
in fact that's one of the practical applications of this
they can maybe be able to observe some quantum effects on a larger scale this way
@Neil cool
I like to consider myself a science enthusiast. I am to science what @towc is to programming, essentially
It's coffee time I can't take more papers
Do I also want McDonalds is the question
@Neil wow
@KamilSolecki mc donalds coffee?
r u kidding me
11:45
No
Cafe coffee
McDonalds food
!!McDonalds or not
@KamilSolecki not
@Neoares the one's that have a separated coffee section have surprisingly decent coffee though
noice
I guess is not as cheap as a hamburguer
that's why it's decent, most likely
I remember when I was at London, having a mc donalds burger and coffee every morning
Imho it's still far from good
for 4 days
11:52
But yeah much better than standard
@SterlingArcher you have to listen Eluveitie
@CapricaSix well I just did, not much you can do about it, eh?
she's hacking your bank account right now
with javascript
@Neoares I'd laugh at that, but I've seen a bit of web assembly's capabilities and I'm scared of what it will become
oh boi I got a dope Genji PoTG
12:00
I've been believing cryptocurrency mining would be an AWESOME alternative to ads. Imagine a website without ads, supported by people who yield 5% of their processing power to mine dogecoins or whatever, in order to support server costs.
Gesundheit
@HéctorÁlvarez Congrats. You found a way to be more annoying than regular ads
@HéctorÁlvarez Given that I normally have at least 20 tabs open... well... you do the math.
How is it more annoying
@HéctorÁlvarez More CPU usage leads to more heat production which leads to more spinning fans which leads to more noise
yeah well, that's what the web assembly should handle on a system-wide scope, and not just per website
12:01
That just one aspect of it
somehow restrict the limit of processing power per browser instance to whatever
it is a very raw idea
And people who claim "server cost" as the reason for their ads are full of BS anyway
I have been running servers for half my life and I've never had to run any ads to support them. If you can't afford the $5 it costs to run a site, then don't. If you're generating so much traffic that you have to pay thousands, then ads are not your answer
People are already doing it btw :D
If they tell me beforehand to give me a chance to decide if I want to let the site mine on my client, I might be willing to do that
12:09
but hey let's be honest here, how many of you browse facebook or whatever social network like that and have 4 instances of Sony Vegas doing some video work
I wonder how many sites got XSS'ed into mining things
I mean, to the point where you'll notice losing 5% of your cycles
and how much do you value those over having a giantic ad in the middle of the screen
5%?
The problem with mining over ads is that it's not as profitable
how do you get to this number?
12:10
@KamilSolecki someone will probably build a website to scan the website you enter and return whether it's been hacker or not
@HéctorÁlvarez I'll definitely notice usage of 12.5%, which is the most likely number
@HéctorÁlvarez My machine is regularly maxed out
(quad-core)
@GNi33 find out how many threads the client has available and throttle the process if it goes too far. This is why the web-assembly has to handle it internally, and not every website individually
so WASM won't allow more cpu usage internally or what?
12:12
@KendallFrey if you run at 100% cpu capacity all the time, you either liquid nitrogen cooling or some very crappy low-cost CPU
@OliverSalzburg tbf, one ad per page is sufficient enough if your website gets >10k visitors per month
I don't
that's why I'd notice
but how do you make all your cores reach 100% 24/7 without frying the chip?
sufficient cooling ?
@GNi33 yeah, it should be a feature
12:14
there is also a fallback if the temperature exceeds a limit
Maximum overtemperatuur!
@GNi33 you can tell if a process is too tasking and throttle it pretty easily, if you do it at the lowest layer possible. Of course, this resource should be gated to avoid exploiting some bullcrap like it was Meltdown
@KamilSolecki your electric bill must be higher than my paycheck, lol.
I've just realized there's only one bagpipe song.
@HéctorÁlvarez It normally does happen at the lowest layer possible
@KendallFrey he he he he he he he simg
No
are you having a stroke
do i need to call an ambulance
12:20
I am not aware of any bagpipe song*
just youtube "the bagpipe song"
@KendallFrey pls call a bondulance am having a stronk
@HéctorÁlvarez You know jet engines operate at a higher temperature than what is possible without completely melting
@KendallFrey with emphasys on "normally", I've seen this kind of security flaw too many times where the devs leverage that work to the higher layers because "it was a cool idea to let the dev assign the memory bounds optionally", like there's a pattern for a reason, but okay.
@KendallFrey dude there is like tons which one is it
12:21
They can do it because of the fact that it cools down due to the air rushing through it
@KamilSolecki the one that you get when you youtube "the bagpipe song"
None of these seem worth mentioning lmao
that's not even close to my results lol
@KarelG No idea how number of visitors translates into cost. I've never run ads on any of my properties. I've only bought ads, which is similarly as useless and frustrating as watching ads
12:24
But our market is also complicated :P
@rlemon he he he he he he he he
I'm going to delete this keyboard
Right now
@OliverSalzburg we live in the age of cheap terabytes, a web hosting is cheap AF and doesn't really need much support for most services. I have a $10/month hosting for multiple services including websites, webstorage, teamspeak and few more services, and it works wonders. As long as you don't use Azure you're good.
Oh wait there is an update, maybe it will fix the he he
@HéctorÁlvarez I agree. But even hosting on Azure is cheap
just like you said, ads are a bad excuse to make money, which is why I run ad blockers
12:28
Either way. I don't like ads or people "using my free resources"
and if I get hit by an anti-adblock, I will use the web dev toolkit to disable JS with a click
That's what I do as well. Or I just don't use the site
@HéctorÁlvarez But what about commercial websites? Do they also not need ads?
i'm guessing in 10 years time, ads exploiting computers for bitcoin processing might actually be an issue
12:30
@KendallFrey What do you mean, business advertisements of their website, or ads in their websites?
ads in their website
I only deem them appropriate if they are within context.
That's so unhelpful
i don't mind ads honestly, so long as they stay in their little pidgeonhole and don't play sounds of any kind
e.g. if you download CCleaner and they want to offer Recuva, both by Piriform, that's fine
like "hey, try my other stuff".
12:32
I don't visit sites with such ads, period
@HéctorÁlvarez That's not an ad
But definitely not some "Hey, if you liked CCleaner, you might also want to try this thermal PID, but it at 10% discount on Amazon!".
@KendallFrey yes it is, you are advertising your other products when someone downloads one of them. Definitely advertisement.
why is a baby shower called a baby shower
well if it's like a recommendation popup, maybe
but I still have no idea where you stand on ad-supported major sites though
@KamilSolecki because the baby gets showered with gifts
> The term shower is often assumed to mean that the expectant mother is "showered" with gifts. A related custom, called a bridal shower, may have derived its name from the custom in the 19th century for the presents to be put inside a parasol, which when opened would "shower" the bride-to-be with gifts.[1] Alternatively the term possibly denotes a "first showing" of the new baby to the wider family and circle of friends.
12:42
@KamilSolecki they probably discarded dropping thousands of babies from the skies and went like "hey the name's free for a shower that you can actually use to clean up babies"
kendall found something probably worthy to follow
oooooh crap, there's actually a concept called "Baby shower"!
shit, black thought has bars sharp as hell
so, I'm writing a backend application to manage a list of usernames/passwords of the coworkers and stuff, as well as everyone's privileges. One of those privileges includes emptying the list, which is going to be very useful in development and testing. The owner of the place is going through a tough time and I can easily see him clearing the list in production in a moment of depression
I don't want to add baby-checks so he can't delete it unless someone else agrees
because it's both offensive and more code to write
don't want to not give him the privilege to do it
w... why are you managing other people's passwords?
12:45
maybe the best thing is to not implement the functionality at all, but urgh
hell, do you pronounce it as shower or as show-er?
@KendallFrey well, it's "tokens"
That doesn't clarify
to automatically open the doors, and possibly other stuff later
building security automation, nothing sensitive concerning them
My thoughts are, delete one, don't ask. Delete everything, ask..
12:47
@Neil well, ofc I'd put an "are you sure" in the frontend
I would think the solution is obvious. Only put the functionality in dev builds
or at least hide the button somewhat
@KendallFrey well, dev and production is the same in this case
i always ask for confirmation when a delete action happens
it's a hack on a raspberry pi
12:47
someone here is familiarized with OAuth 2.0 spec?
don't show the delete option if the user can't delete!
I just don't let people delete things (y)
@towc That's a separate problem for a separate solution
(y) looks like a woman's hips and now you can't unsee that
well depends on my audience I guess. If I'm writing for an old man with little computer experience, always ask
I mean, I can spend another couple hours crceating a build process and separating production from dev, but urgh. I really have better things to do
12:48
@KendallFrey oh my
if I'm writing a program to help a fellow programmer, I don't bother asking
I give up
thwarted by math
12:49
@Neoares Don't ask to ask and so on
@towc if it is part of your tasks, do it then. You do not have to worry about that. If he deletes it then it is his fault. There are enough counter measures: one account remains undeletable. Or prevent pw management
@OliverSalzburg it's not an easy question
yeah, that's a decent solution
just make a root user that can't go away
maybe long time to explain xD
I'll probably open a SO question
Make "delete" just mark the stuff as deleted, don't actually delete it
12:50
@KarelG I mean, it's easy to re-add an account if everything's been cancelled
That way you can both tell him he's an idiot, and fix it
how would you re-add if there are no accounts to access it anymore ?
directly in db ?
node add-token-hash-cli <token> <name> <privileges>
the db is a text file on an rpi
it's a hack
@Cereal Nah, what happens when user gets deleted and recreated? You'd have to consider that case
this is not a company. I'm just trying to build things so the hackerspace can work
12:51
I don't understand the problem
That's the same as someone making 2 accounts
it's so hacky, I'm writing the html for the frontend as a template string in res.send in express
@Neoares Asking the question is half the answer :P
you recreate the user with a new password. You update the old or check for the existence of a "deleted" account then delete it?
Not impossible of course, just adds needless complexity imho
I don't know shit about the spec btw. I just know enough to apply OAuth2
@towc is the rpi secure itself ? if so, let's hope that nobody forgets its access data 😀
12:53
I think I just won't implement the functionality
and if I need to clear the list, I'll just do rm token-hashes.txt through the shell
better to do echo '' > ur.txt instead
Also I tend to prefer to make roles and users distinct (assign roles to user where roles are collections of permissions)
but if user base is rather inexperienced with computers, I'll just make them add permissions directly to the user
takes twice as long, but it's easier to explain
that would prevent missing file error + checking the sector with actual data unless you override it
@OliverSalzburg * blinks * OAuth2.0
@KarelG well, sure
Please don't close. I searched alot and finally I wrote here. I don't have any option and solution for this. — Gautam3164 2 hours ago
Please sir
dont close
12:55
@KarelG truncate is more self-documentingy
@KamilSolecki How dare you poke fun at him? He searched a lot..
@OliverSalzburg && truncate :P
@OliverSalzburg true that
or do you mean the : > ur.txt trick ?
but I'll assume that google knows how to implement a wrapper based on the OAuth 2.0 spec
and not question it
12:57
@KarelG Yeah, that
I'm having a heavy read
@Neoares I would agree
that is a better one yes but it leads to weird behavior in shell scripting
@Neoares yeah reading RFCs is always fun
12:58
@Neoares You're still on those refresh tokens?
the thing is, the spec says to NOT provide refresh token to the resource server... only to the authorization one if the resource server rejects your access token
I had to put it in backticks so that the interpreter would not misjudge that statement
but in the google library, you just provide EVERYTHING, and if the token gets rejected, the library itself asks for a new access token
so I'd assume they're not sending the refresh token to the resource server, they just ask for it in case the access token gets rejected
then google has implemented it incorrectly
so instead of me having to do the job, they already do it for me
12:59
@Neoares I would agree with that assumption

« first day (2698 days earlier)      last day (2474 days later) »