|
Mr Dog posted:If you're shipping less than like a million units of something and you have any say in the matter than use a Cortex microcontroller. Then use GCC to compile your 32 bit ARM code, I hear that compiler is pretty good. The cost is basically the same as MSP430 and PIC at this point, it's slightly more expensive, but the price difference is not worth the extra ballache unless you're shipping a shitton of units. or idk maybe you care about power consumption what a novel concept and i dont mean care as in 'well itd sure be good if this was greener' i mean care as in 'this literally gets a dozen microamps to run off of, figure it out'
|
# ? Aug 19, 2013 02:56 |
|
|
# ? Jun 4, 2024 00:43 |
|
my lovely arm board contains a cortex-m3 that has a 65 kHz mode drawing 9-12 uamps, plus itll run at 32 mhz for a dozen milliamps. idk if thats good but it sounds cool
|
# ? Aug 19, 2013 03:48 |
|
yeah i keep banging this drum but the EFM32 is p sweet with regards to power consumption and that's a Cortex M3 poo poo is a fucen dream to program for as well
|
# ? Aug 19, 2013 04:27 |
|
so i'm lurking the scala thread and holy poo poo what is the matter with scala can somebody please justify it to me
|
# ? Aug 19, 2013 04:28 |
|
Mr Dog posted:yeah i keep banging this drum but the EFM32 is p sweet with regards to power consumption and that's a Cortex M3 i totally forgot you mentioned these. i need to bookmark these drat things, they sound incredible. gonna use one as soon as i can, thanks. may be tough convincing the greybeards that not all msp430s are the final word in power
|
# ? Aug 19, 2013 04:38 |
|
FamDav posted:so i'm lurking the scala thread and holy poo poo what is the matter with scala
|
# ? Aug 19, 2013 04:55 |
|
FamDav posted:so i'm lurking the scala thread and holy poo poo what is the matter with scala do you want to use java but you're afraid you're hipster friends will make fun of you? try scala
|
# ? Aug 19, 2013 04:57 |
|
shrughes posted:There are ways to avoid these strawman N^2 callback/state combinations quite rigorously. Use the right design pattern. It's likely possible, but the question then becomes if it's less painful than alternatives. The "if you are careful enough it's fine" argument is a weak one when the thing you're comparing it to is a generally non-painful option. It doesn't just have to be possible to do things fine, it has to be at least as good as alternatives.
|
# ? Aug 19, 2013 05:28 |
|
Shaggar posted:do you want to use java but you're afraid you're hipster friends will make fun of you? try scala do you want to use haskell but it looks hard and different and you have some jvm lib you're tied to anyway? try scala
|
# ? Aug 19, 2013 10:30 |
|
No one has ever wanted to use Haskell.
|
# ? Aug 19, 2013 12:51 |
|
i was really stoned when i learnt haskell
|
# ? Aug 19, 2013 13:05 |
|
Shaggar posted:No one has ever wanted to use Haskell. shaggar have you used haskell
|
# ? Aug 19, 2013 13:34 |
|
No, b/c I've never wanted to and I've never needed to.
|
# ? Aug 19, 2013 14:31 |
|
Shaggar posted:No, b/c I've never wanted to and I've never needed to. but you've used linq haven't you?
|
# ? Aug 19, 2013 14:37 |
|
yes. im not a fan, for the most part.
|
# ? Aug 19, 2013 14:38 |
|
FamDav posted:so i'm lurking the scala thread and holy poo poo what is the matter with scala what do you want justified? it's fast, it's relatively nice, and it has access to pretty much any java lib.
|
# ? Aug 19, 2013 14:49 |
|
Yeah most of the warts I've seen with Scala are justified as being necessary to maintain compatibility with Java
|
# ? Aug 19, 2013 14:55 |
|
if you want to use java then just use java instead. unrelated: the stuff in System.Workflow.Activities.Rules in .net is good enough for stupid and simple rules processing.
|
# ? Aug 19, 2013 15:34 |
|
Shaggar posted:if you want to use java then just use java instead. and if we don't want to use java but use java libs?
|
# ? Aug 19, 2013 15:38 |
|
you're lying to yourself
|
# ? Aug 19, 2013 15:40 |
|
oh i just think it's silly that they all the monads are referred to as collections even though thats a strain for some of the classes they are defined on. also methods are gay
|
# ? Aug 19, 2013 15:49 |
|
FamDav posted:oh i just think it's silly that they all the monads are referred to as collections even though thats a strain for some of the classes they are defined on. yeah, it usually doesn't bother me but sometimes it acts weird, like zip between 2 options returning a list[(T,U)] instead of an Option[(T,U)].
|
# ? Aug 19, 2013 15:53 |
|
Condiv posted:yeah, it usually doesn't bother me but sometimes it acts weird, like zip between 2 options returning a list[(T,U)] instead of an Option[(T,U)]. yeah i saw your post in the scala thread but since i dont plan on compilin poo poo ill just ask here why did you do code:
code:
|
# ? Aug 19, 2013 16:15 |
|
the thing i dislike about scala is the gratuitous use of symbols that do not form reasonable search queries which impedes language comprehension.
|
# ? Aug 19, 2013 16:23 |
|
FamDav posted:yeah i saw your post in the scala thread but since i dont plan on compilin poo poo ill just ask here yep, i suck at for comprehensions.
|
# ? Aug 19, 2013 16:24 |
|
ok cool. i was worried that is was even worse than "they approached this from the wrong direction" and you had to convert o lists of things and convert back and it was hecka stupid
|
# ? Aug 19, 2013 16:25 |
|
Bloody posted:the thing i dislike about scala is the gratuitous use of symbols that do not form reasonable search queries which impedes language comprehension. same but for every language
|
# ? Aug 19, 2013 18:56 |
|
VanillaKid posted:i was really stoned when i learnt haskell Prolog is a much better weedlang
|
# ? Aug 19, 2013 20:31 |
|
Shaggar posted:if you want to use java then just use java instead. scala is like java but better it's java++
|
# ? Aug 19, 2013 21:36 |
|
/* An CDate is a signed 64-bit date/time num representing how many 49710ths of a second since Christ. The reason it is this crazy num is so that 32bits is exactly one day. These nums can be subtracted to get time differences. The time of day to the nearest 49710ths of a second is stored in the lower 32-bits. The upper 32-bits hold the num of days since Christ. PrintF() and the file datetimes use this format, otherwise you might want to use GetTimeStamp() for a higher frequency timing, divide by time_stamp_freq, but this num is tied to your CPU's clock frequency which is inexact when converted to real-time. */ CDate cdt=GetCurTimeDate; I64 i; for (i=0;i<DF_NUM;i++) "%%h%dD: %h*D\n",i,i,cdt; NewLine; for (i=0;i<TF_NUM;i++) "%%h%dT: %h*T\n",i,i,cdt; "$FG,PURPLE$CDate freq:%12.6f$FG$\n",0x100000000/24.0/60.0/60.0; /* You can customize to your locality with date_fmt_map[] and time_fmt_map[]. DateTimeFmtMapsRst() will rst them. */ //Example of how to use with DF_NUM, TF_NUM #define's "%h*D\n",DF_MM_DD_YYYY,cdt; "%h*T\n",TF_HH24_MM,cdt;
|
# ? Aug 19, 2013 22:05 |
|
Notorious b.s.d. posted:scala is like java but better nah, scala sucks just like every other "functional" pos. only it sucks worse cause it only exists for people who don't want to use java cause their autistic. they also cant use maven for the same reason.
|
# ? Aug 19, 2013 22:09 |
|
Shaggar posted:nah, scala sucks just like every other "functional" pos. only it sucks worse cause it only exists for people who don't want to use java cause their autistic. they also cant use maven for the same reason. if you had been a c programmer in 1980, i bet you would have murdered bjarne stroustrup
|
# ? Aug 19, 2013 22:18 |
|
I've never had to program in c and for that I feel blessed.
|
# ? Aug 19, 2013 22:21 |
|
Shaggar posted:I've never had to program in c and for that I feel blessed. could you do it in a pinch? i know you're all about java and c#, but what brought you to this point? what languages did you learn with?
|
# ? Aug 19, 2013 22:23 |
|
Hard NOP Life posted:// losethos its cool imo how its impossible for this guy to get the help he needs because he lives in america prefect posted:if you had been a c programmer in 1980, i bet you would have murdered bjarne stroustrup bjarne is the man who doesn't know how to say no, but it turns out Alexandrescu is even worse
|
# ? Aug 19, 2013 22:56 |
|
prefect posted:could you do it in a pinch? i know you're all about java and c#, but what brought you to this point? what languages did you learn with? pascal (lol) and c++ in high school and then java in college and then c# irl. I've done minor stuff in plenty of other languages but it always comes back to java and c# just being the best.
|
# ? Aug 19, 2013 23:15 |
|
prefect posted:if you had been a c programmer in 1980, i bet you would have murdered bjarne stroustrup when I was writing assembly i was like "lol c is piss easy poo poo for dumbasses" then i switched to c and i was lke "lol c++ is a dumb loving mess of things that some dumb academic bolted onto c bc he prolly feels like its ~theoretical nicer~ this way, then i read stroustrup's faq about c++ and it was approaching all those things from a practical angle so i trhough well maybe ill try to use c++ right and see how it goes" now i use c++ and im like "lol wasteful bytecode interpreted java/c# shaggar PoS" but its been like 10 years and my mind isnt remotely about to change this time until a better natively compiled language than c++ comes along
|
# ? Aug 20, 2013 00:07 |
|
i'm glad you take your positions very srsly
|
# ? Aug 20, 2013 00:14 |
|
Shaggar posted:nah, scala sucks just like every other "functional" pos. only it sucks worse cause it only exists for people who don't want to use java cause their autistic. they also cant use maven for the same reason. Nah scala adds a ton of good OO features. It is a better java than java and you never gotta worry about fp obsessive poo poo if you don't want to They explicitly told the fp spergs to gently caress off, which is where scalaz comes from -- a bunch of stuff rejected for inclusion in the std lib
|
# ? Aug 20, 2013 00:16 |
|
|
# ? Jun 4, 2024 00:43 |
as far as I've ever understood, the problem with scala is that it tries to jam every paradigm and feature into one language which subsequently leads to no real identity or niche and massive bloat, granted some people might like that though
|
|
# ? Aug 20, 2013 00:18 |