Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
MeruFM
Jul 27, 2010
all communities have redundant poo poo out the rear end

opensource is just more obvious because everyone can see it


timing events over the web

i can't wait for lag in every aspect of my life

what if my toilet times out while trying to flush

Adbot
ADBOT LOVES YOU

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

abraham linksys posted:

i think we can all agree that lowering the barrier to entry for embedded development is a Good Thing)

Greenglow, a javascript framework for operating nuclear facilities,

Stringent
Dec 22, 2004


image text goes here

coffeetable posted:

Greenglow, a javascript framework for operating nuclear facilities,

lol

Coffinscript, a javascript framework for medical devices.

MononcQc
May 29, 2007

Cocoa Crispies posted:


http://dominictarr.com/post/44516618714/working-around-the-cap-theorem-with-rumours-db

is there a checklist or easy form you can fill out and give to people that think they've escaped the cruel grasp of dr. eric brewer's cap theorem

Ended up making one.


Your distributed system advocates a way to beat the CAP theorem. Your idea will not work. Here is why it won't work:

(x) you're actually building an AP system
( ) you're actually building a CP system
( ) you are not, in fact, designing a distributed system
(x) you pushed the actual problem to another layer of the system
(x) you are assuming that network/hardware failures will not happen
( ) your solution is equivalent to an existing one that doesn't beat CAP

Specifically, your plan fails to account for:

( ) latency is a thing that exists
( ) high latency is indistinguishable from splits or unavailability
( ) a split node cannot be differentiated from a crashed one
( ) stable storage may become corrupt
( ) there might be more than 1 partition at the same time
( ) network topology changes over time
(x) clients are also part of the distributed system
( ) deleted items will come back after synchronization with other nodes
( ) clocks drift across multiple parts of the system, forward and backwards in time
( ) network failures will actually happen
( ) hardware failures will actually happen
( ) operator errors will actually happen
(x) side effects cannot be rolled back the way transactions can
( ) failures can occur while in a critical part of your algorithm
( ) split nodes can vanish forever
(x) things can happen at the same time on different machines
(x) designing distributed systems is actually hard

And the following technical objections may apply:

( ) using 'infinite timeouts' is not an acceptable solution to lost messages
( ) your quorum size cannot be changed over time
( ) your system accumulates data forever and assumes infinite storage
(x) re-synchronizing data will require more bandwidth than everything else put together
( ) acknowledging reception is not the same as confirming consumption of messages
( ) your solution requires a central authority that cannot be unavailable
(x) you assume short periods of unavailability are insignificant
( ) read-only mode is still unavailability for writes
(x) you are basing yourself on a paper or theory that has not yet been proven

Furthermore, this is what I think about you:

(x) you have no idea what you are doing
( ) you are badly reinventing existing concepts and should do some research
(x) you shouldn't be in charge of people's data
( ) nice try, but blatantly false advertising
(x) you should read the definition of the word 'theorem'
( ) you should read the definition of 'distributed system'

MononcQc fucked around with this message at 02:14 on Aug 15, 2013

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe
:iceburn:

tef
May 30, 2004

-> some l-system crap ->

MononcQc posted:

Ended up making one.


Your distributed system advocates a way to beat the CAP theorem. Your idea will not work. Here is why it won't work:

(x) you're actually building an AP system
( ) you're actually building a CP system
( ) you are not, in fact, designing a distributed system
(x) you pushed the actual problem to another layer of the system
(x) you are assuming that network/hardware failures will not happen
( ) your solution is equivalent to an existing one that doesn't beat CAP

Specifically, your plan fails to account for:

( ) latency is a thing that exists
( ) high latency is indistinguishable from splits or unavailability
( ) a split node cannot be differentiated from a crashed one
( ) stable storage may become corrupt
( ) there might be more than 1 partition at the same time
( ) network topology changes over time
(x) clients are also part of the distributed system
( ) deleted items will come back after synchronization with other nodes
( ) clocks drift across multiple parts of the system, forward and backwards in time
( ) network failures will actually happen
( ) hardware failures will actually happen
( ) operator errors will actually happen
(x) side effects cannot be rolled back the way transactions can
( ) failures can occur while in a critical part of your algorithm
( ) split nodes can vanish forever
(x) things can happen at the same time on different machines
(x) designing distributed systems is actually hard

And the following technical objections may apply:

( ) using 'infinite timeouts' is not an acceptable solution to lost messages
( ) your quorum size cannot be changed over time
( ) your system accumulates data forever and assumes infinite storage
(x) re-synchronizing data will require more bandwidth than everything else put together
( ) acknowledging reception is not the same as confirming consumption of messages
( ) your solution requires a central authority that cannot be unavailable
(x) you assume short periods of unavailability are insignificant
( ) read-only mode is still unavailability for writes
(x) you are basing yourself on a paper or theory that has not yet been proven

Furthermore, this is what I think about you:

(x) you have no idea what you are doing
( ) you are badly reinventing existing concepts and should do some research
(x) you shouldn't be in charge of people's data
( ) nice try, but blatantly false advertising
(x) you should read the definition of the word 'theorem'
( ) you should read the definition of 'distributed system'


aww yiss.

tef
May 30, 2004

-> some l-system crap ->
http://secretvolcanobase.org/~tef/distributed_system.txt made a few edits.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

cool now someone make one of these with ruby tia

jony neuemonic
Nov 13, 2009

coffeetable posted:

Greenglow, a javascript framework for operating nuclear facilities,

MononcQc
May 29, 2007

woops i confused a software core dump with an actual nuclear core dump! silly type juggling!

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

you have a secret volcano base too?

tef
May 30, 2004

-> some l-system crap ->
who doesn’t ?

ps http://ferd.ca/beating-the-cap-theorem-checklist.html :swoon:

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
can you crosspost that on programmingisterrible with a subtle link to tacodb somewhere tia

double sulk
Jul 2, 2010

congrats monocqc youre #4 on hn

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

gucci void main posted:

congrats monocqc youre #4 on hn

thanks for the hn update, how's the job going?

double sulk
Jul 2, 2010

Cocoa Crispies posted:

thanks for the hn update, how's the job going?

great ty for asking.

Bloody
Mar 3, 2013

abraham linksys posted:

nah it's not nearly that cool, it just comes with a JS API for developing on it. think of it like arduino's java APIs

(which is neat in itself - regardless of your feelings on javascript, i think we can all agree that lowering the barrier to entry for embedded development is a Good Thing)

No. No it is not a good thing. real embedded development tends to involve carefully managing your resources, because if you're using an embedded system odds are you want to use as little of everything as possible - as little power, as little memory, as little storage, as few instructions

when i think of javascript, i think of none of those things

but yeah the world definitely needs another batch of arduino led blinkers who are totally definitely real embedded developers

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

Bloody posted:

but yeah the world definitely needs another batch of arduino led blinkers who are totally definitely real embedded developers

arduino led blinkers who couldn't hack it in arduino c so they need jquery

abraham linksys
Sep 6, 2010

:darksouls:

Bloody posted:

No. No it is not a good thing. real embedded development tends to involve carefully managing your resources, because if you're using an embedded system odds are you want to use as little of everything as possible - as little power, as little memory, as little storage, as few instructions

when i think of javascript, i think of none of those things

but yeah the world definitely needs another batch of arduino led blinkers who are totally definitely real embedded developers

i too think that all forms of development should be gated communities with no easy entry point

MononcQc
May 29, 2007

$('blinkers').onblink(function(state) { ... })

Bloody
Mar 3, 2013

yeah because embedded c is so loving difficult

prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

Bloody posted:

yeah because embedded c is so loving difficult

it's definitely more difficult than most of the stuff people use to get started in programming

Bloody
Mar 3, 2013

then again my idea of embedded is more like "msp430" not like "arm"

lol do people actually consider arm things to be embedded?

Zombywuf
Mar 29, 2008

Looks forward to GC pauses in my toaster.

Notorious b.s.d.
Jan 25, 2003

by Reene

abraham linksys posted:

i too think that all forms of development should be gated communities with no easy entry point

learning C is the easy entry point

embedded dev before inexpensive ways to do C was the hellish nightmare

Zombywuf
Mar 29, 2008

Development should have barriers to entry. Much like regular engineering does.

Bloody
Mar 3, 2013

prefect posted:

it's definitely more difficult than most of the stuff people use to get started in programming

i don't believe you. syntactically it's ~as complex as common starters (every real language uses c-style syntax) and blinking LEDs in a memory-mapped environment is probably the simplest program that can exist. changing the language doesn't get you away from having to deal with embedded concepts like registers and memory-mapped i/o unless you're just doing it to bury everything in libraries which guess what you can do in c as well.

prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

Bloody posted:

i don't believe you. syntactically it's ~as complex as common starters (every real language uses c-style syntax) and blinking LEDs in a memory-mapped environment is probably the simplest program that can exist. changing the language doesn't get you away from having to deal with embedded concepts like registers and memory-mapped i/o unless you're just doing it to bury everything in libraries which guess what you can do in c as well.

i should probably have kept my piehole shut; i've never done embedded development (or c development) (or any Serious Software Product Development, even) :blush:

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
the blinkinglights program is difficult in that your typical high-level language coder has to be repeatedly whacked with a board that say "no the computer doesn't inherently provide X" until it is finally understood

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
but javascript is perfect when you want to code close to the metal :confused:

abraham linksys
Sep 6, 2010

:darksouls:
js is pretty fast - faster than ruby, for sure - but i guess the issue is one of memory consumption, not actual run speed

MononcQc
May 29, 2007

the only reason JS is not running on embedded platforms yet is that electrical engineers and the people usually working in embedded nevironment haven't embraced the DOM model yet!

MononcQc
May 29, 2007

what do you mean I can't map canvas elements over the LEDs

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
"simple" ≠ "easy" hth

forum enthusiast
Aug 12, 2010
my embedded experience is pretty limited, but i don't think that hiding the constraints of your system is the best way to educate new devs. if you're used to practically unlimited resources and take that mindset over to embedded systems then idk.

on the other hand, if they expose lower level functionality through their APIs and encourage users to understand the underlying hardware then that might be cool. don't know how that would even work though.

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
god drat, they just removed the <blink> tag, that would have made this project so much easier, gently caress

Malcolm XML
Aug 8, 2009

I always knew it would end like this.

Bloody posted:

then again my idea of embedded is more like "msp430" not like "arm"

lol do people actually consider arm things to be embedded?

launchpad makes msp430 pretty easy


idk how you do anything more complicated than blinkenlights without knowing how interrupts and stuff work

Max Facetime
Apr 18, 2009

QPZIL posted:

the poo poo does this even mean

it is a difficult question because its meaning is impossible to describe. one might ask the same about databases: What is a database, really? we just don't know

power botton
Nov 2, 2011

a desconstructionist, post modern look at databases

Adbot
ADBOT LOVES YOU

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

Zombywuf posted:

Development should have barriers to entry. Much like regular engineering does.

nope

engineering has barriers to entry because people would die if it didn't. a badly coded website isn't going to start a house fire. if you don't want to maintain awful code, raise barriers to employment in your workplace, but don't raise barriers to entry.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply