« first day (981 days earlier)      last day (3972 days later) » 

user142019
2:01 AM
10 kqueue. :3
 
what if I told you right now that I am Bjarne Stroustrup?
 
@Mysticial Well, maybe another flag on it will help...
 
user142019
> I'm dying, praying, bleeding and screaming.
 
user142019
These lyrics are fun!
 
@rightfold lol
 
2:02 AM
@moonbeamer2234 Too late.
 
Well, I think I'm going to find some supper. See you later.
 
@milleniumbug tell me youre not my evil twin, (insert irrelevant name here), i.e The person who created java....Ive been searching for you for far too long. e.e
lol haha what if Bjarne Stroustrup just had multiple personalities and he is actually responsible for creating every single language after C++, and each one reflects each of his personalities...
 
@moonbeamer2234 Nyehahahaha. You don't stand a ghost of a chance. My singleton hammer will deal with you once and for all!!!!!1111sin^2 x + cos^2 x
 
#....include <Pokeball>
...-stackoverflow-
 
@moonbeamer2234 throw Pokeball("i've got you now");
 
user142019
2:07 AM
Haha.
 
@milleniumbug you've made a fatal mistake. You didn't trap me inside a Jframe and take "protect me from myself".
@milleniumbug catch(Pokeball pokeball){Escaped}
 
So I go drink something, I come back and I find myself in a Pokemon battle. The Lounge keeps surprising me.
 
@Mysticial Thinking about it, why not just vote to delete?
 
Good point... Probably cause it wasn't downvoted when I first flagged it.
VTD'ed
 
@moonbeamer2234 Well, hello finally { throw ChuckNorrisException(); } (in which language are we fighting in anyway?)
 
2:11 AM
public static void main(String[] args) throws Pokeball{ try{Catch A Wild Jeffery}}
it doesn't even matter. we can do this in assembly if you want. lolz
 
user142019
No Java here. GTFO.
 
user142019
Somebody bin it.
 
e.e rightfold...lol
I forgot you have to catch exceptions in java. e.e I wrote that completely wrong.
 
user142019
You don't have to if you declare them in throws clauses.
 
@milleniumbug try{}catch(ChuckNorris's RoundHouseKick){}
 
user142019
2:14 AM
Or if they inherit from RuntimeException.
 
user142019
Java is horrible at exceptions.
 
rightfold...are you a lawyer? XD
 
user142019
The exception mechanism in Java is designed by somebody who was drunk and high at the same time.
 
401
Q: Uncatchable ChuckNorrisException

Max CharasIs it possible to construct a snippet of code in Java that would make a hypothetical java.lang.ChuckNorrisException uncatchable? Thoughts that came to mind are using for example interceptors or aspect-oriented programming.

 
user142019
C is better at error handling than Java.
 
2:15 AM
Java was designed by someone who wanted to cook meth virtually without risking blowing up their home. Hence the "Protect yourself from yourself idealism"
@milleniumbug HAHA that made me lol
 
user142019
If that were the case, Java would lack null so you would never have NullPointerExceptions.
 
user142019
But no, all references in Java are nullable.
 
user142019
So Java's "safety" is bullshit.
 
I call Java references pointers because Java has NullPointerException.
 
How does having nulls make java unsafe?
 
user142019
2:18 AM
You cannot know at compile time whether a parameter will ever be null or not.
 
user142019
The type system always allows it for reference types.
 
user142019
Unlike in Haskell and C++, where it's explicit (through Maybe and boost::optional, respectively).
 
when I say protect yourself from yourself I mean java cannot operate beyond its limited software level. Maybe there is a word for that..
 
user142019
The type system should be flexible. Java's isn't.
 
user142019
I cannot have a non-nullable reference type even when I want it.
 
user142019
2:20 AM
That's horrible.
 
user142019
I want to be able to specify how many different values of my type you can possibly have.
 
Learning java and calling yourself a programmer is about the equivalent of learning Excel and calling yourself a programmer.
 
user142019
Because seriously how often do you really need null? Less often then not.
 
@rightfold There is a type where you can do this: class Bool {} :)
 
user142019
Bool a = new Bool(true); // fine
Bool b = new Bool(false); // fine
Bool c = null; // fuck you, Java
 
2:23 AM
@rightfold You could create your own bool though. The one that has null and non-null. :)
 
user142019
And C#, and D, and a shitload of other languages.
 
is c# similar to java?
 
user142019
@milleniumbug You cannot specify nullability for your own types in Java.
 
user142019
@moonbeamer2234 No.
 
@rightfold I meant like nullptr_t, the type that has only one value.
 
user142019
2:25 AM
The object model is related, and you cannot have functions outside of classes, but that's basically it.
 
so its POOP than?
 
user142019
@milleniumbug Huh? You mean class True {} class False {}?
 
user142019
@moonbeamer2234 Java is poop. C# is not poop. C# is rather nice.
 
@rightfold Only True. null will represent False.
 
user142019
And no, Java and C# are both not pure object-oriented.
 
2:26 AM
no poop as in pure object oriented programming. not as in the shit that comes out your reear dumpster.
 
Java is not pure OOP.
 
user142019
Smalltalk and Io are pure object-oriented.
 
if you cant have functions outside of a class how is it not pure OOP
 
user142019
That's unrelated as fuck.
 
(trueboolvalue != null) == (falseboolvalue == null)
 
user142019
2:26 AM
int is not a class in Java, so Java is not pure OO.
 
how could you define keywords as objects?
oh. I have an idea. nvm
dumb question.
 
user142019
> Languages called "pure" OO languages, because everything in them is treated consistently as an object, from primitives such as characters and punctuation, all the way up to whole classes, prototypes, blocks, modules, etc. They were designed specifically to facilitate, even enforce, OO methods. Examples: Eiffel, Emerald, JADE, Obix, Ruby, Scala, Smalltalk
 
@moonbeamer2234 Meh, have you created object of type Math? Nope?
 
user142019
In Ruby, I can call a method on 42. In Java, I cannot.
 
@millennium yes. but those are defined using the keywords already. I cant understand how a person could define int, for example using POOP
 
user142019
2:30 AM
class int {
    // whatever
}
 
user142019
Imagine Java without int but with Integer.
 
The //whatever is what I could never understand you...c++ lawyer.
 
user142019
And without double and whatnot.
 
user142019
Anyway fuck OOP.
 
But all the keywords are used in those definitions. How could you create a POOP without those keywords
 
user142019
2:32 AM
I found OOP to work only very well with simulations. For data transformation I much prefer FP.
 
user142019
@moonbeamer2234 Keywords are syntactic and completely unrelated.
 
@moonbeamer2234 This whole deal is that Java separates objects and the other things, that are defined by magic. And it treats them differently.
@moonbeamer2234 I don't know what you have in mind.
 
user142019
@milleniumbug Poop.
 
the declarations*
 
@moonbeamer2234 And what about them?
 
2:34 AM
How can a POOP language exist? Don't you need declarations to make those objects? How could you create an object that can do something without having declartions like int
 
user142019
Stuff like Integer and Character classes would be built-in.
 
user142019
Just like how int is built-in in Java and C++.
 
user142019
Seriously look at Ruby.
 
....which raises another question. How is int defined in c++? Not the word definition, but the code definition...
 
You need a meta level.
 
user142019
2:36 AM
> built-in
 
A language need not be described in terms of itself. (Although it can be.)
 
@moonbeamer2234 Compiler magic. But whatever, you can't derive from int.
 
user142019
int is not a class in C++.
 
user142019
It's a built-in primitive type.
 
@rightfold how is it defined than?
 
user142019
2:37 AM
It's not defined in code.
 
user142019
It's only defined in English in the C++ standard.
 
@moonbeamer2234 C++ int - compiler magic, Java int - compiler magic. See the similarities?
 
user142019
> It's a built-in primitive type.
 
how does the compiler know what it is than
 
user142019
BUILT-IN
 
user142019
2:37 AM
The compiler is programmed to know about it.
 
A compiler need not be implemented in the language it accepts. (Although they can be.)
 
BUT YOU CANT JUS TTELL ME THATS SOMETHINGS BUILT IN. That's like telling me 2+2=4 and not telling me why. Im never going to believe you.
 
user142019
I'm never going to unplonk you.
 
user142019
Welp. Time to continue my life with more interesting conversations.
 
user142019
2:39 AM
@ShuklaSannidhya C++ sucks.
 
....@_______________________@
Giving up on me father? ...
 
@moonbeamer2234 And why is 2+2=4 anyway? What is 4 and what is 2?
 
just random shit someone came up with one day.
why isn't 2+2 22? That would make a lot more sense to me.
 
Can't say anything about C++ as I haven't done much coding in that.
 
@moonbeamer2234 That's right. Mathematicians decide on basics, and then extend them.
 
user142019
2:40 AM
Evanescence > C++
 
user142019
@ShuklaSannidhya Keep it that way.
 
so are you saying that primitives are defined by the hardware?
 
user142019
Learn Haskell, Python or Erlang instead.
 
that the computer already knows primitives, without a compiler
 
Our school has removed C++ from our syllabus... So only Java this year. :|
 
2:41 AM
No.
 
@moonbeamer2234 Meh, grab the assembly book and see for yourself how computer works.
 
OMG Im not asking how it works I just suck at wording stuff.
 
6 mins ago, by Luc Danton
You need a meta level.
 
2 + 2 = 4 by rules and axioms of algebra, and int exists by rules and axioms of C++.
 
That's how it works.
 
2:43 AM
There is no "code definition".
 
user142019
I already told him it's built-in but he won't listen.
 
user142019
Give up, it's hopeless.
 
But 2+2 = 4 is based on PEOPLE. Computers can't come up with standards on their own they need a person to define those standards.
 
@moonbeamer2234 There is an C++ standard.
 
:laffo:
There is a language specification (whether it's a standard or not is irrelevant), it defines the language. End of story.
 
2:44 AM
@moonbeamer2234 Neither math nor language theory work like that.
 
There's nothing magical going on.
 
user142019
enum unsigned int {
    0,
    1,
    2,
    // etcetera
};
 
@ShuklaSannidhya Remove the "without semi colons" part and it's pretty exact.
 
user142019
Here, defined in code, bam, this is the way it works.
 
2:45 AM
how does the computer know what an int is though.
-FACEPALM-
 
@moonbeamer2234 Read. The. Assembly. Book.
 
Computers don't 'know'. They don't think or feel either.
 
Trolling or obtuse or I don't know. Not interested in continuing this.
So, food.
 
user142019
I want to get drunk.
 
I'm hungry. :<
 
2:46 AM
@LucDanton I feel and think. Don't mock me.
 
@moonbeamer2234 You were wondering about your skills earlier. Perhaps you could try writing a program that accepts simple mathematical expressions like a calculator (e.g. 2+2) and gives a result.
 
user142019
Just so I can avoid this horrible IQ-of-10 conversation.
 
Everything opens in 5 hours minimum.
 
@moonbeamer2234 I'm not mocking you.
 
rightfold Im sorry that I cant word my question, Don't ignorantly assume that you understand what Im trying to ask.
 
user142019
2:47 AM
@CatPlusPlus Order döner kebab.
 
user142019
I had it today and it was orgasmically good.
 
I should probably restock my fridge, instead of living on day-to-day orders.
 
@CatPlusPlus It's going to be a Sunday though.
 
Plenty of things open on Sunday.
 
user142019
Such as my mouth when I wake up.
 
2:48 AM
Usually the shops I don't care about where I live :(
 
@moonbeamer2234 You fail.
 
user142019
@milleniumbug You failed.
 
Hey guys, how's it going?
 
user142019
@Mike Horrible.
 
user142019
Bad programmers make me want to kill myself. :(
 
2:51 AM
@rightfold Why?
 
@Mike Just read the transcript. You'll see.
@rightfold I do that every time. Good thing stackoverflow has an edit option.
 
I guess its ok to insult someone for asking a question.
 
@moonbeamer2234 Have you read that link? We don't care.
 
Why is everything opening at noon waah. Why can't people work for my benefit at 5AM.
I'm disappointed in you, world.
 
user142019
I should get my headphones and download this music 320 kb/s instead of listening on YouTube.
 
user142019
2:54 AM
YouTube doesn't even have an equalizer that piece of shit.
 
user142019
@Mysticial fix YouTube so it has an equalizer.
 
I have so many chopsticks.
8 pairs just on my desk.
 
user142019
What do you need chopsticks for?
 
user142019
Use a fork.
 
Another 40 or so stashed away.
 
2:55 AM
@milleniumbug if you don't care than why did the topic persist?
 
@rightfold I get them with orders. Also sushi.
 
user142019
Oh, I see.
 
user142019
Forks are better weapons.
 
Chopsticks are more fun.
 
user142019
I want to go to school by viking ship.
 
user142019
2:57 AM
School is next to a canal so I don't see why not.
 
Hitler uses git.
 
2008 called.
 
user142019
Hitler doesn't use Git.
 
user142019
Hitler is dead.
 
user142019
He killed himself in 1945.
 
2:59 AM
I like the 24 second gap to check Wikipedia.
 
user142019
:D
 
user142019
Wasn't sure if it was 44 or 45.
 
user142019
I don't care much about history. Today and future are more interesting.
 
user142019
@EtiennedeMartel Reminds me of Xiao Xiao.
 
3:01 AM
@rightfold Yeah, that's what I thought at first.
Anyway. It's LoL related.
 
user142019
lol
 
@rightfold I thought that until one of my professors went of on a tangent and lectured us for about an hour about how history has repeated itself and is bound to repeat again
 
user142019
Flux, you peace of shit, y u no "force on" option.
 
You don't need Flux to change colour settings. Unless it's a different Flux you're talking about.
 
user142019
That Flux.
 
user142019
3:11 AM
Well, I can change the color settings, but that requires opening a preferences panel and going through a whole wizard and fuck that shit.
 
user142019
I just want a single button that does this.
 
user142019
Time to write a program!
 
user142019
Flux, you piece of shit, y u no open-source.
 
user142019
> f.lux is patent pending.
 
user142019
3:13 AM
Ugh.
 
All it does is call SetDeviceGammaRamp.
 
user142019
lolwindows
 
@Jeffrey shit
 
I wish Bioshock Infinite would go on sale already.
 
night lads
 
3:30 AM
@Jeffrey Sure.
 
Chat should have XMPP interface.
This thing is not extensible at all. :<
Huh, and first result on
136
Q: Offer an XMPP method for chat

Greg HewgillThis is a request for the SO chat system to have an XMPP interface. The whole idea of a chat system is to bring people together, and a key way of doing that is to allow people to access the system using more than one method. Right now there's a web interface, but it's limited to being a web inte...

What a coincidence.
GitHub is rolling out new repo UI.
I feel abandoned.
 
what do you call an amazing solution which just works for so many different things
 
A myth.
 
i wrote it as Amazing solution
 
3:53 AM
Hello all
 
@Raindrop Whatever @rightfold likes at the moment.
 
4:08 AM
Castle.Windsor is pretty nice.
I wonder if there's a .NET logging library that doesn't require magic XML incantations to configure.
 
lol
 
@CatPlusPlus The problem is many .NET libs are really just ports of Java lib.
 
log4net is really fucking awful.
But I guess that's well-known fact.
What do you use?
 
4:34 AM
I'm going to assume simple math isn't a factor here (including coordinates and pixel measurements). Correct?
 
Uh, what?
 
I'm stuck on simple coordinate locations and rendering in the correct location. I thought I'd ask around why my buffer location doesn't reset after an event happens. (I'm using SFML btw.)
I've went over the locations countless times, and have changed quite a few things around, and I still get the same problem: reprinting the typed text over the original second buffer.
My code will explain it all. I
I'm assuming this sounds very confusing with no code :P
But since no one usually helps here (so I've read), I guess I'll just leave it out there until someone sees it.
 
I have no idea what you're talking about.
 
Exactly. Would you like some code to go with it? Here, I'll explain the problem: After I press enter twice, SFML doesn't render the next line. Here's the code: pastebin.com/s5Kc3dMR
I
I don't think you care though.
 
GUISE
I'm all shaved and clean and stuff. <333
Shaving is nice.
=[
 
4:48 AM
The buffer location should be right after "System$~>", but it doesn't render correctly after the second line in the window. Even if you try to make a new line, it writes over the previously rendered text.
 
DeadMG didn't accept my pull request for Wide.
q_q
/wrist
 
I have to ask an offensive question, you guys wouldn't mind right?
 
w/e
ask it
 
I'm sure you can't be more offensive than your face.
 
true
 
4:50 AM
@ThePhD Truer words have never been spoken.
A friend of mine is learning C and asked for a book recommendation.
 
okay
 
That's it, I want a book recommendation for a C book
 
Just C? C for windows? WinAPI? Which one?
 
Just C (he uses Linux, Mint I think? That's a form of ubuntu iirc)
 
There's a C++ and C Definitive Book List Guide
On SO.
You should look it up.
 
4:53 AM
@ThePhD This.
 
@ThePhD WOW YOU MEAN TO USE GOOGLE? HOW DIDN'T I THINK OF THAT?
(I wanted a personal recommendation... if you don't have one that's ok)
 
Many of the regulars here put their recommendations into those lists.
 
@Mysticial The flag queue will tell us if you've left a comment. Also, you know the little arrow you can click to expand without navigating out of the 10k queue? If you can click to see the comments from there then it's the same for us. That said, if it's not a blatant "user posted as answer without knowing what an 'answer' is", then the best way is to leave a custom flag, because while I tend to look at comments, not all of us do
 
You need to know a better language to write good C.
 
I've got one: cplusplus.com
Specifically this for his questions: cplusplus.com/forum/unices
 
4:54 AM
Don't recommend cplusplus dot com to anyone for anything.
 
Why?
 
@CatPlusPlus He knows Java and 'thinks' he knows Python (but really doesn't)
 
Because it's not a very good resource.
 
@ThePhD The C list is not nearly as good as the C++ one.
 
@BenjaminGruenbaum That probably won't help, but eh.
 
4:56 AM
He's a university student, has no former knowledge of programming and haven't had a real job before :/ I doubt he even knows what a pointer is..
 
@Mysticial tl;dr: use a canned flag if it's very obviously NAA and something a 10k user would handle just fine, use a custom flag if it's not immediately obvious. Comments are directed at the author of the post, as you know, so use that to decide whether to comment
 
I figured I'd just tell him to get the Dennis Ritchie book - that's what I learned from but I wondered if there is anything new that's more recommended.
 
Why is he learning C?
LogManager.Configuration = config; UGH GLOBALS
 
@CatPlusPlus He is a university student and they make him.
 
5:02 AM
A university course specifically teaching C, not just in an incidental fashion for embedded programming but just as a competency, is certainly going to have an obsolete curriculum.
The prof is probably a self-important ditz who hasn't studied anything in 20 years or kept up to date.
Probably better for him to get notes from a student who previously got a good grade and go through the motions, and immunize himself from miseducation using copious alcohol.
 
@Potatoswatter It's the only language they teach that's unmanaged (except for assembly). They cover C11 stuff if I understand correctly... it's useful since the university is right next to a pretty large Intel development center and they hire a lot of students to work on embedded systems and such.
I agree that there are better choices for 'a language that uses pointers' today.
 
@BenjaminGruenbaum Java uses pointers, they're just managed.
 
@Potatoswatter No, Java always passes by value, you can't really (without reflection at least) pass a pointer around in Java.
(It passes the value of the reference memory address)
 
@BenjaminGruenbaum Java passes only primitives by value. Anything else may be set to NULL.
 
aka a pointer
 
5:07 AM
Passing by value would make a copy. Lisp passes by value. (You can't modify objects, but copy at modification time there.)
 
@Potatoswatter Right, but when you pass a reference you're still not passing a pointer.. you're just passing a reference by value..
 
@BoltClock ah, thx for the advice. I guess the answer is "no", the comments aren't presented right there in the mod queue either.
 
@Mysticial Yeah we need to click to see them, even if we don't have to navigate away. (Which is nice, but still)
 
@BenjaminGruenbaum That's stupid. That's like saying Java has not objects, only pointers. I'm not denying there are objects, it's OOP. But the objects are handled via pointers.
 
@Potatoswatter It's not like saying that at all.
 
5:09 AM
@Potatoswatter The objects are handled via references, that's different. To really use pointers in java you'd have to use sun.misc.Unsafe with reflection.
 
@BenjaminGruenbaum FWIW the handles are called pointers in the spec, hence NullPointerException.
 
@LucDanton Yeah, they also call their bloatware class based programming model OOP.. Java is silly :)
 
It's confusing enough that several meaning of 'by reference' are used here.
 
Yeah, I agree.. me and @Potatoswatter probably mean different things here.
Anyway, any good C book or will the Ritchie one do?
 
A literal meaning of 'by passing a reference/handle/pointer' and the formal meaning of 'modifications by the callee affects the arguments given by the caller'
 
5:13 AM
Ritchie is the classic "The C Programming Language," right?
 
As you correctly pointed out the former is spelled 'passing a pointer/handle by value' in terms of the latter.
 
@BoltClock I find it easier to shift-click the link than to click on the arrow. lol
 
IIRC that's very oriented toward UNIX programming, and suck in C89 with mention of pre-standard compatibility. I don't know what would work for someone heading toward embedded, with class coverage of C11.
 
@Potatoswatter Yeah
 
07:06:36 Logging.GizmoComponent GizmoComponent.CreateGizmo
07:06:36 Logging.RootComponent gizmoService.CreateGizmo() = gizmo
07:06:36 Logging.FrobComponent FrobComponent.Frob: gizmo
07:06:36 Logging.RootComponent frobService.Frob(gizmo) = gizmo frobbed
I'm so good at dotnet.
 
5:15 AM
I'd be tempted just to tell him to get a dev kit (Arduino, Raspberry, etc) and play with sample projects, but the code style in those is invariably horrible.
At least he'd have fun though. It might not be worse than the alternative. He'll probably wind up with terrible, unsafe style anyway.
 
Also :lol: the configuration example has month instead of minutes in the date.
 
@Potatoswatter That's usually what I do when I learn a new technology (tinker with it, it's often a much better way to learn than reading a big book). However, I don't think he'll be able to handle it pretty well
 
Also, many Rasbperry embedded programs are written in shell script. What has the world come to.
 
I just solved a vicious linker problem in QtCreator by manually setting the compiler and linker. I would like somebody to appreciate my technical prowess.
 
@BenjaminGruenbaum Pointer is a rebindable reference.
 
5:19 AM
that's one way to look at it
 
@CatPlusPlus What if it's const?
 
Then it's a non-rebindable reference. vOv
 
Then a pointer is not a rebindable reference. QED.
 
This terminology is very localised.
 
5:20 AM
@LucDanton If it's const volatile then the hardware can rebind it for you.
 
lol
 
guys. why are people so annoying?
 
Wouldn't know, we have this thing called "plonking." Speaking of which…
 
@Crowz I hate things that remind me of my poorer quality. People remind me of me.
 
0
A: What is the maximum value for a int32?

guru_floridaFYI If you're not looking for an exact number but ballpark....2^32 is roughly the same amount of bytes on a DVD, or the hard drive limit before LBA mode came out. Signed ints would then be half that.

^^ wut
 
5:29 AM
@Mysticial Wouldn't be a problem if we all used binary
 
Why is this question even open.
 
Not too many answers are more efficient than that accepted answer, lol
 
@BenjaminGruenbaum That's K&R, not just Ritchie (in fact, Kernighan wrote most of it).
@CatPlusPlus But keep in mind that in Algol 68 (for one example) what they called references were rebindable.
 
Blerg.
Building this door device is hard. >_<
 
Many languages have rebindable references they don't call pointers.
 
5:37 AM
Does Fortran have pointer or references?
 
I can visualize how I'd get a motor to turn the door, but. I'm hitting a serious block in getting something that'd actually fit on the door itself.
 
@ThePhD needs to be an arm like device barrier-free.com/_images//OpenSesame200Brass1.jpg?dur=2425
 
Have you tried an external combustion motor? In principle, raise the air pressure on one side of the door.
 
Er.
The goal isn't to -open- the door.
The goal is to -unlock- the door.
 
@Mikhail Yes. Way back when, it didn't have any explicit pointers, but used pass by reference. Nowadays, I believe it has some support for some manner of pointers and explicit memory allocation, though I've never used that (haven't used Fortran since the very early 1980s).
 
5:40 AM
Turn the deadbolt knob and get the door open.
 
A very strong magnetic field might move the deadbolt directly, depending on its composition.
 
@ThePhD Unscrew the inside plate from the deadbolt. You'll typically have two screw holes toward the outside, and a shaft with a square hole in the middle. Mount your motor to the two outer holes, and put its shaft into the square hole in the middle.
 
Oooh. So you mean modify the deadbolt itself?
... That's actually a clever way around the landlord's bullshittery.
 
what's happening
 
@ThePhD No, not really -- just remove a part, mount yours in its place. When you want to, you should be able to remove your part and re-install the original, without any harm to any of it.
 
5:47 AM
stackoverflow.com/questions/17252995/dynamic-alignment-issue anyone can help me fix this issue? Thx.
 
julia> rand(())
0-dimensional Float64 Array:
0.635538
wat
 
...
What the shit. o.0
What language is that?
 
julia> Array{Int64, 0}()
ERROR: type cannot be constructed
julia> typeof(rand(()))
Array{Float64,0}
> The meaning of this form
The manual casually mentioned that julia is lisp-inspired and now I can't not notice it.
 
@JerryCoffin True that.
 
0-dimensional arrays, huh.
Coming up next: i-dimensional arrays.
 
5:55 AM
@CatPlusPlus It very well may be bug. Current release is 2.0, I have 1.2.
E.g. the list of rand methods doesn't list any that takes (), so.
 

« first day (981 days earlier)      last day (3972 days later) »