flabberghaster
flabberghaster wrote
Reply to comment by flabberghaster in facts: the bee gees are better than any band you can name in the comments by razz
Bam. Loophole'd.
flabberghaster wrote
The Bee gees.
flabberghaster wrote
Reply to comment by jorty in we've been doing a lot of "pair programming" at work lately and i'm conflicted by musou
I made robottic fruits you can control with an Arduino. This allows pear programming.
flabberghaster wrote
Reply to comment by voxpoplar in all netflix originals are bad by devtesla
Sense8 is so good in some parts and so awful in others.
Jessica Jones is great! I kinda don't want them to make season 2, i don't see the point in it, the first season was like... a perfect miniseries.
flabberghaster wrote
Reply to comment by musou in ruby lets you put an array inside itself by musou
I think that it's basically a special case of how in those languages it's easy to assign a reference to things. Adding a list to itself is not really that different than assigning a reference to an object as a member of itself. For instance in python you can do:
class Node:
__init__(self, value, next=None):
self.value = value
self.next = next
def main():
head = Node("last")
tail = head
for i in range(10): head = Node(i, head)
tail.next = head
And this creates a cyclic linked list. You could just as easily assign a = Node(9); a.next = a
and have the graph have only one vertex. It's the same principle with adding a list to itself: you're not actually adding the list to itself; rather you're putting a reference to the container, inside the container. Like writing down the location of a bank on a slip of paper, then putting that slip of paper inside a safe deposit box stored inside the same bank.
flabberghaster wrote
Reply to comment by hollyhoppet in I'm almost 30 by devtesla
what if we already did and just don't realize it
flabberghaster wrote
Reply to ruby lets you put an array inside itself by musou
Turns out python can too. I was trying to think of how to get c++ to do it, but i could only think if how to do it using void pointers since to add something to a container that container would have to be a container of its own type which I can't think how to do off the top of my head.
Interesting problem.
flabberghaster wrote
Reply to all netflix originals are bad by devtesla
What about um..... That one everyone likes... What's it called... Can't recall. But you know the one im thinking of.
What about that one?
flabberghaster OP wrote
Reply to comment by devtesla in Is the ban list and mod log meant to be public by flabberghaster
I give up these rules and regulations are stifling my creativity im gonna spin up my own jst_pst.net >:(
flabberghaster OP wrote
Reply to comment by devtesla in Is the ban list and mod log meant to be public by flabberghaster
It says I can't create forums yet; what do i need to do to be able?
flabberghaster wrote
Reply to hi i'm a lurker by anand
Hi thanks for posting!
flabberghaster wrote
Anyone who did not vote for hebhobs probably doesn't even really post imo
Submitted by flabberghaster in meta
flabberghaster wrote
Reply to comment by Robubie in cant believe we have more than 30 accounts here already by toasthaste
sorry friend, you're wrong on this one you are actually cool. hate to break it to ya
flabberghaster OP wrote
Reply to comment by kleril in Well I did it by flabberghaster
it's pretty exclusive but i might could get you in, it's well worth your while to try!
Submitted by flabberghaster in just_post
flabberghaster wrote
Reply to ORMs are weird sometimes by musou
I'm kind of surprised they're that hard to work with. I've never used one, just hasn't come up in any of the projects i've been on; But i'd expect them to have some escape hatch. Something where you'd be able to just give it an SQL query you want to run, as a prepared statement or something, tell it some variables to put in, maybe tell it what types it would return, depending on the language, and just have it run it.
Do they not? Or is it just impractical to use somehow?