|
Zaxxon posted:can we put a scripting language in and only let programmers use it? I guess, but then you should probably just use whatever is going to interface best with your underlying system and give you decent performance which may very well be LUA unfortunately.
|
# ¿ Apr 9, 2013 18:38 |
|
|
# ¿ May 9, 2024 07:54 |
|
abraham linksys posted:wrote a lexer for handlebars syntax highlighting in pygments emacs has some lispy dsl for writing them but honestly i just end up using weird undocumented strings instead since they take up like 10x less space and who doesn't know how to read a regex in this the thirteenth year of the twenty-first century of our lord and saviour jesus "big jc" christ.
|
# ¿ Apr 10, 2013 04:25 |
|
vapid cutlery posted:you are so amazingly stupid that i'm not surprised at all that you'd write something like this uh ok gently caress you too buddy
|
# ¿ Apr 10, 2013 04:38 |
|
so have a thingcode:
|
# ¿ Apr 10, 2013 07:00 |
|
my favourite way is when you free something you weren't supposed to and then the next call to malloc gives you the same address back again and you're trying to use the same area of memory for two different purposes and wondering why completely separate areas of your program are loving up each other's poo poo
|
# ¿ Apr 18, 2013 04:45 |
|
Hard NOP Life posted:In what context? I think he's talking about this: http://nickknowlson.com/blog/2013/04/16/why-maybe-is-better-than-null/ (i didn't actually read it though) The idea is that having a type system that allows you to optionally tack on null as a valid value to any type is better than having to check against it all the time, which is pretty obviously right imo.
|
# ¿ Apr 19, 2013 20:12 |
|
tef posted:no it's just new people asking the same old questions hey what does everyone think about nesting in multiline comments?
|
# ¿ Apr 20, 2013 19:33 |
|
Internaut! posted:step up and move to the valley, everyone's hiring Only easy to do if you're american or canadian (yay TN visa). IDK about mexicans, you'd think they could get TN's too but, you know, racism. Pretty sure tef would have to get an H1B or something.
|
# ¿ May 7, 2013 19:32 |
|
prefect posted:boo. i really only speak english you can work in a lot of places only speaking english, holland has more fluent english speakers than canada Jerry SanDisky posted:1000 islands is nice, and you're really close to Kingston as well 1000 islands is pretty as hell, kingston is boring unless you like prisons or something
|
# ¿ May 8, 2013 01:26 |
|
Jerry SanDisky posted:kingston has great bars and breweries which kingston are we talking about here? (seriously though, kingston has a much better downtown then a lot of towns its size but I'm not sure I'd describe it as "great")
|
# ¿ May 8, 2013 02:22 |
|
i like how the top comment on hn is some libertarian making whiny semantic arguments about what "liberalism" actually is edit: okay, nm, it's moved down a bunch but it was still pretty lol Police Academy III fucked around with this message at 19:00 on May 14, 2013 |
# ¿ May 14, 2013 18:57 |
|
Mr Dog posted:waiting for the hipsters to start programming in x86 asm CISC architectures are for corporate java-drones, it takes a true ruby hackeur to appreciate the sublime beauty of RISC
|
# ¿ May 24, 2013 23:25 |
|
i'm pretty stupid but this blew my mind a bit: http://en.wikipedia.org/wiki/Covariance_and_contravariance_%28computer_science%29
|
# ¿ May 30, 2013 03:37 |
|
PleasingFungus posted:huh, so covariance is "X or a subclass" (e.g. generics), and contravariance is "X or a parent class" (e.g. ?) the thing that got me was how that to maintain liskov substitutability, return types of re-implemented methods must be covariant, while argument types must be contravariant
|
# ¿ May 30, 2013 04:20 |
|
people always act as if you could only like immutability if you're some lisp nerd who wants to look cool doing reduce-map-filter stuff, but really immutability is grand b/c it significantly reduces the amount of mental effort needed to understand any given expression. being able to look at a bit of code and know that the only thing that effects what it does is what you see and that the only thing that it effects is what the result is is great. I like immutability b/c I'm stupid, not because I'm smart.
|
# ¿ Jul 3, 2013 18:59 |
|
tef posted:the only problem is that mutability is kinda useful sometimes for performance and you can take my hash tables away from my cold dead hands. tru dat, also some algorithms are just easier to do with mutably, but on the whole i think immutability works better 9 times out of 10.
|
# ¿ Jul 4, 2013 18:19 |
|
I like rust's approach of having owned/managed/borrowed pointers as part of the type system but last time I actually tried to use it it was a giant pain in the rear end so hopefully they get it somewhere sensible before they hit 1.0
|
# ¿ Aug 4, 2013 19:00 |
|
At this point C++ needs to start adding compiler flags to disable features
|
# ¿ Aug 4, 2013 19:05 |
|
So I managed to hang javac at work today using recursive generics. Probably the only interesting thing I've managed to do at work so far tbqh (besides cleaning my butt with the fancy japanese toilet seats).
|
# ¿ Aug 13, 2013 08:03 |
|
tef posted:no one can afford to write software without bugs nah, just bust out your hoare axioms and proof tableaux and get to work, if you do it fast enough you might get it done before your code gets obsoleted
|
# ¿ Aug 18, 2013 21:55 |
|
coffeetable posted:software verification has come a long way since proof tableaux. the industries which are willing to splurge on safety (read: aerospace) have fallen madly in love with formal verification correct me if I'm wrong, but to be able to do useful formal verification, don't you have to use a language with different semantics than the typical imperative/mutable c/java/etc style? i heard that haskell is good for that sort of thing since it's so uptight about everything, and because recursion is easier to verify than loops.
|
# ¿ Aug 18, 2013 22:14 |
|
yaoi prophet posted:what keyboard should i get yospos, are kinesises actually that much better than flat keyboards hey look at what was just posted in the fatwood thread quote:the best keyboard is that giant fuckoff microsoft ergonomic thing with the weird toggle switch in the middle also java sucks, just so everyone knows
|
# ¿ Aug 29, 2013 05:10 |
|
how to actually use vim: hit ctrl-z and type in killall -9 vim; export EDITOR=nano
|
# ¿ Aug 31, 2013 02:36 |
|
i use emacs
|
# ¿ Aug 31, 2013 02:49 |
|
Gazpacho posted:configuration is for people who are incapable of learning if ur .emacs is < 1000 lines long ur not doing it right
|
# ¿ Aug 31, 2013 07:32 |
|
so a guy at work was unironically pushing for us to switch our javascript to dart. looking at the wiki page it doesn't look terrible if not very exciting, basically like the web version of go. has anybody actually used it or looked at it or given a poo poo about it? or is it just gwt 2.0?
|
# ¿ Sep 22, 2013 20:10 |
|
Vanadium posted:I'm really amazed the rust people get anything done with how sadistic their type system is. i like rust because it seems like they're trying to tackle problems that no-one else wants to deal with, but gently caress me if trying to use it didn't make me want to tear my hair out.
|
# ¿ Sep 23, 2013 02:01 |
|
Hey just bumping this thread to let everyone know that dart is poo poo and basically GWT 2.0. I mean you probably could've figured taht out by looking at it yourself for 5 seconds but just in case you wanted official confirmation.
|
# ¿ Feb 23, 2014 03:25 |
|
Internaut! posted:what was gwt 1.0 https://en.wikipedia.org/wiki/Google_Web_Toolkit
|
# ¿ Feb 23, 2014 19:24 |
|
I've been a professional web 'developer' for 9 months now and I still have no idea what mvc is lol
|
# ¿ May 17, 2014 18:04 |
|
|
# ¿ May 9, 2024 07:54 |
|
Jonny 290 posted:PL guys i need help imo i would just type 1234567890qwertyuioopasdfghjkllllzxcvbnmQWERTYUIOPASDFGHJKLLLLLZXCVBNM + whatever else into that site, copy paste the result and munge it into something easily parsable. edit so basically what that ^^^ guy was on about Police Academy III fucked around with this message at 03:27 on Sep 27, 2014 |
# ¿ Sep 27, 2014 03:23 |