Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


Spam Mod: time to go?

Posted by DeathMonkey on Monday August 28 2017, @06:19PM (#2596)
31 Comments
Code

Admins should probably take a hands-off approach when it comes to moderation. Especially, if they are regularly posting highly opinionated comments in the same forum.

No matter what, SOMEONE will question the fairness of any given decision.

The problem with the SPAM mod is that it's a -10 moderation. That causes 2 issue:
    1: Mods can never fully revert it if we think it's in error since we can only ever make a post +5
    2: Because it's a super-mod, now the Admins are forced to manage it. It wouldn't be such a problem if the standard was objective (e.g. only commercial). But, since it's a subjective standard there will always be disagreements.

Is this a solution in search of a problem?

We really don't see much commercial Spam. Why isn't -1 Troll sufficient for the non-commercial "Spam?" Sure, it'll slow the descent into the karma hole a bit but how quickly do we really need to demote people?

Islam is no more inherently violent than Christianity, BUT..

Posted by DeathMonkey on Friday August 25 2017, @05:33PM (#2590)
24 Comments
Code

Islam is no more inherently violent than Christianity, BUT..

If anyone has a basis to say otherwise it's probably Charlie Fucking Hebdo!

Which they didn't actually say, for the record.

I Want To Die Off-planet...

Posted by NotSanguine on Thursday August 24 2017, @05:46PM (#2587)
11 Comments
/dev/random

Space travel is dangerous. We all know it. How did the old joke go? NASA == Need Another Seven Astronauts.

One of the big issues that space agencies have with manned space flight is getting folks to the target, perform whatever tasks (e.g., search for evidence of life on Mars, explore the oceans of Europa, build a temporary moon base on the surface and survey for lava tubes, water ice and other resources for a permanent base, perform geological surveys of asteroids, etc., etc., etc.) are required and returning those same folks safely back to Earth.

But what if we took a different angle and weren't so concerned about returning people safely? We could send older folks, those with terminal diseases, those with spinal cord injuries (who needs to walk in micro-gravity?) and those who just want the glory and adventure of advancing human knowledge and helping to make humans a space-faring race.

I'm 50 and in relatively good health. I don't want to die, nor do I want to throw away my life, but I'd jump at the chance to go to Mars, the moon, the asteroid belt or the Jovian satellites, even knowing it was a one-way trip.

Given that even Martian gravity is just 38% that of Earth and anywhere else we might go is much less than that, physical strength isn't so important. A space-farer would just need to be healthy enough to survive the acceleration (~3Gs) to get into orbit. After that, acceleration to reach other points in the solar system (given current technologies) would be much, much less.

So I'm going to set up a straw man for argument's sake and ask if you soylentils feel as I do, or are you just cowardly pussies who care nothing for adventure and advancing the knowledge and reach of the human race?

I, for one, would welcome the opportunity to die doing so.

THIS COMMERCIAL(?) MESSAGE WAS BROUGHT TO YOU BY HELIUM

Posted by melikamp on Thursday August 24 2017, @06:03AM (#2585)
6 Comments
News
In the Beginning there was Helium.

Also saw eclipse

Posted by khallow on Monday August 21 2017, @10:52PM (#2577)
2 Comments
/dev/random
I also saw the solar eclipse. I watched from Colter Bay in the Grand Tetons National Park which was on the north side of the path of totality. Got some great views, but my photos suck.

Anyway, the park consists of two areas, the Teton range of mountains which goes something like 20-40 miles (30-65km) and has a impressive vertical rise (up to 6000 feet or around 1800 meters) over the second part of the park, a very level valley which runs along the entire east side of the range. There are several lakes in the valley area including the fairly large Jackson Lake of which Colter Bay is a part.

We had scouted the Grand Tetons the day before. The authorities had done a relatively good job of managing the situation. There were five areas where visitors were encouraged to go (which in theory would handle a good portion of the visitors the park was expecting to receive) and everything in the park was scheduled to open at 6am this morning (Mountain Daylight Time). It still sounded like way too many people for too small a space, but I'm not seeing what the park could do better. I guess I'll hear how things went later in news or the local Yellowstone rumor mill.

I and some friends managed to find a vantage point near the marina located there to view both the Tetons with the bay in the foreground and the sky where the Sun would be situated during the eclipse. I'd say about 200-300 other people also found this spot, so it was a bit crowded.

We got lucky, the clouds completely vacated the area around 10am and there were no clouds to interfere with our viewing from start to finish of the full eclipse period (about 3 hours in length).

One interesting aspect was the changing of the sky behind the Tetons. My digital camera didn't do it justice since it automatically adjusted for light levels, but you could see the shadow approaching from the west behind the range and later the lifting of the shadow, providing a sort of weird false dawn near the end of the eclipse.

Prior to this expedition, I had prepared some observation tools. I didn't finish the ambitious scheme I vaguely outlined in this post (ran out of time and energy), but I did come up with a nice, simple projection method (small telescope projecting normal image into a box) by which I could count six sunspots on the Sun and partially melt the plastic frames on two very cheap eyepieces of a very cheap telescope that I acquired for this purpose (when the telescope was off-center, the sunlight going through the scope was brushing the edges of the eyepiece holders). Worth the price, but not a problem that I was aware of from reading up on this sort of telescope design. I didn't bother with it at later stages of the eclipse since I had also brought solar glasses and one could observe the total eclipse itself with the naked eye.

The final interesting aspect of this was the traffic. I have never witnessed heavy traffic so purposeful as today. We must have traveled 50 miles in heavy traffic (on single lane roads) that was at or above the speed limit aside from occasional burps. That is unheard of either in Yellowstone or Grand Tetons National Parks (we started our trip in the former around 4am). Usually some animal ambles onto the road or an RV putters along at 25 MPH, putting a halt to that. Not this time.

Clowns VS Nazis in DC. What a time to be alive!

Posted by DeathMonkey on Friday August 18 2017, @07:59PM (#2570)
2 Comments
News

Socialist Juggalos gear up to fight pro-Trump ‘Nazis,’ and the internet is loving it

The Juggalo March on Washington, a protest against the government’s classification of Juggalos as a gang, will take place at the National Mall on Sept. 16, the same day as the pro-Trump “Mother of All Rallies.” There’s no love lost between the two sides.

Buzzer For Quiz Games, Update 2

Posted by cafebabe on Thursday August 10 2017, @08:47PM (#2557)
2 Comments
Code

Oh, this is getting ridiculous. I write a small state machine to test understanding of a micro-controller and it is now going to be used to run a quiz. Additional hardware is on order. (A cheaper Arduino which can be damaged or stolen without affecting my work.) Even sillier, I'm getting feature requests. The first feature request is for lights per participant and per team. So, code has been extended to allow up to four separate buttons for each of four teams:-

begin 644 buzzer.ino.gz
M'XL(`%2YC%D"`Y552U/;,!"^^U=LIQ<#;O%*?F72'`I-@9D`!9+AP.3@8@4T
M8^S4#QA@\M\KVY(39(?2TZZ_77WZ]C'6_BX<E"\O+(.?:087)7^!H_"!Y;"[
M;^SO@GFX0VST87K/X#!-\C0K>/GPM8I6X2IF!W8`&?N2%V%6R&,-CC;DX2-3
MR?F2W?+%,RQYDL-"W,:395GD$"81I&51^37QYX@M>,+@XG)\-9X":8&#\60"
M=/TYFT[/SQ`<#2'@:@@%3T,<\#7$A4!#/!AHB`]H:U``B"TTNQI?3L8_$)#H
M&`&D.D8!'1US`%T=<P$]'?,`?1T3\@(=$_K654S'WT]K?<36,0*D4\<`2*<.
M,5/2*00%8Z<2%)2=4I`"Z=2"#I!.,>@"Z52#'A!]*`.@^E"$2(HZAD")CA&@
MG7VB0/6-$@*IOE-"']6W2LBCOMY9P1?HF.`;&$:9Y/PN81'<WH<9%"Q\N$%O
M/GI58[+^[9`/./0#CO..LQIJ2LN<98U2-19+;;ERJ'(<Y;C*\93C*R=0SL!J
MMZSU6FYLR;%EQY8>6W[T.H)_ET71")9SLN2?0EHJK2.M*ZTGK2]M(.W`4GNF
M',6(BA(5)RI25*P]`L6_LV`WZ,^'AO&8\@@BGMR9/"GJK;`JIVKZ#KP:(&)W
MO`CCZXP7S*SCQR='QSM#/52=V!*J_J0;(1:'SR;:MKTE<W)^74<R5I19,C16
M2F4J5#:BWM835]GB%V_&(WL8?T-O&._M-8D]^F_B>7M%3PUOPTVKXOE(YEVR
M,#+K`<?S.F5EJ*1JXIM9S8/26\F?IY`7VQLNRJSQ&JO./]WSF)D]Y*-1>W=;
MKVQOJZYIFR9#/)!9F4":W++Z%:QEY2*^W-YA\9*>II$<TOEL^FO65*?P1I-U
M<J8"VT:B#JAI;'"M@VH6O4$Y@8V[5N^N@.QH=43RJO&WS5GU-BAC2R8:',7/
DZS;%:;K\_SWD"[-OASZ-U(JI1)#KT2]XU97Z%U!H?@E5"0``
`
end

(Usual instructions for uudecode process.)

Another feature request is distinct sound samples per participant or per team. That would be awkward. The sound samples would either have to be compressed and compiled into flash with the program or loaded into RAM via a USB virtual serial port or invoke an unholy set of libraries to read FAT32 flash storage over SPI and play MP3s or invoke a separate piece of hardare which does the same task or port/re-implement algorithm to a different platform, such as a Raspberry Pi. So, no, there won't be distinct sound samples. Pin goes high. Pin drives NPN transistor. Buzzer makes noise.

If people also want scores on a digital display then the project may be re-implemented on other hardware. At that point, someone else can continue the project because I have more important tasks.

Buzzer For Quiz Games, Update 1

Posted by cafebabe on Thursday August 10 2017, @04:29AM (#2552)
0 Comments
Code

I wrote a small program to implement the buzzer round of a quiz game. This is not much more than a "Hello World!" test in the quest to implement a 3D surround sound speaker array which itself is part of a larger project. During this process, I repeatedly bump into emperical but mundane reality. The most mundane problem includes not having any momentary switches to hand and only having latching switches. Therefore, the buzzer game code has been updated so that it works either type of switch. This has the side-effect that any of the switches may be independently wired with pull-up resistors or pull-down resistors. Therefore, the project has gained some idiot-proofing which may be considered elsewhere.

begin 644 buzzer.ino.gz
M'XL(`+8WBED"`WV27V_:,!3%W_,I[K27@+(1_V%E0KRT8FTE5M8NJ,]18UI+
MJ9W93BNH^.Z+8P@D=7B+S\_']^;<.QK"9;G=,@6_I(+[DF_A.GUE&H:C8#2$
M\&J`8W0!R0N#*RFT5(:7K]\MM=BR>!)/0+%OVJ3*[&U.1S'H](T=+NN"/?'U
M!@HN-*RK:EP4I=&0B@QD:>QW_?#7C*VY8+"XO;Y)$."V@(&T!0*T+5`8-\+E
M?+&`'\?C*DF6=P@N.@J&24<A\+.C4$!Q(]T_S/_.$T`H"+@PH%&D<:1)I&FD
MQ],@>),\@XR+Y]#B?``?`53G9V[2_%%QP\(\NJF:'4R[NNWX!+$\W80HCN.>
MFXOE8TT4,Z42TV!WJ"VKVIZR+M3&]IGA,XR<8;1A&LWV^(&E6;C/W"'L0=@A
MXD'$(>I!U*%Q"[FQ>`/Y]YYRTYY&E5!>WWU_X3D+/0_-9GKL;A]'43MV]H$Z
MXDZM:L]5*4"*)U8O<UU;5[S83Z/:_M\R:P:Q7"5_5J[C%L&]A/02ZB/UEOAT
M-Y;H]LY/<"\AO81ZB$OR!-2YN[]WYR;&(\&]A/02VB&?AZ)8P5+#LGQS'$TN
MY6$R?!WZ]O;+3*/##K@E.FE^U^?#UH<]/GS>1ZR/>'SDO(]:'_7X:.,[">0_
(J"G,$O8%````
`
end

(Usual instructions for uudecode process.)

Buzzer For Quiz Games

Posted by cafebabe on Tuesday August 08 2017, @04:32AM (#2549)
4 Comments
Code

I've written a program which implements the functionality for a buzzer round of a quiz game. This is suitable for two, three or four teams to have a common button (or buttons wired in parallel). The program performs a power-up test of lights and buzzer before entering the main loop. When a member of one team presses the team's button, a buzzer sounds for one second and the team's light stays locked on until the quizmaster hits a reset button.

It requires an Arduino compatible micro-controller configurable as five digital inputs (button1, button2, button3, button4, reset) and five digital outputs (light1, light2, light3, light4, bell). The first team has a very small advantage which can be measured in millionths of a second. Making a completely equally weighted input is left as an exercise. Keeping score is a more difficult exercise because it requires a routine to compensate for switch bounce.

begin 644 buzzer.ino.gz
M'XL(`#P`AUD"`WV26T^#,!B&[_D57^(-6]1!6]V,V<W,/"33>6#9-9%N:X(M
MEJ+9S/Z[I3`$I+N#]^G[G0=]F&2['95P*R2\9&P'=^$'3:$_<`9]<&]ZR/.'
M$&PHW`B>"JE8]G&>TQSGS!MY(Y#T+%6A5`>0)O2=K;:0,)["2D=F/,E4"B&/
M0&0J_S9!3B*Z8IS"[.'N/O`!-04$N"E@($V!P$4E3*:S&5S^_2Z"8/[DP["E
M(!BU%`Q7+86`[U72R^OT;1J`[SO.EV`11(RO7<85Q#WX<4#_KYD*XZ5DBKKQ
MZ;VNJW?=UO/B:HC&X=;U/<^SO)S-EX9(JC+)KYW](;?0N3O2%O.K;/\9.L+P
M$49*=BC@\SMDJMF]KB@V[N\-BZE;QGBE8>06H^N-QWD0^-GG[TT')J"^$YEQ
M$/R=FF,P"5+=<5*VJ*_G4415=_-%\+P(3*H&05:"K81T$3/Z+KTXI=.'IVZ"
MK`1;">D@Q;AJP`RWZ+[X+X=7)\A*L)60%JF=6;D421,:*AK%V[_5Q$(<-L-6
LC3V7`]*+-B=NGD!Y*[7R]S8GLCO1<2>V._%Q)[$[2>6L#>87E=OD@RH%````
`
end

(Usual instructions for uudecode process.)

Rectangular Tuit, Part 5

Posted by cafebabe on Tuesday August 08 2017, @02:39AM (#2548)
0 Comments
Code

(This is the 37th of many promised articles which explain an idea in isolation. It is hoped that ideas may be adapted, linked together and implemented.)

I'm working on a 3D surround sound speaker array as part of a larger project. I'm working through a list of tasks. One particular sticking point has been to deploy code on a micro-controller. This has been a limitation since at least Apr 2015 and has been complicated by trying to use a clone of the least supported Arduino on a poorly supported host without using the supplied idiot interface. Regardless, I report success if using a large number of third-party binaries count as success.

The first complication is that Arduino is open source and the schematics are freely available. Therefore, anyone who is time rich and cash poor may purchase a clone of the official Arduino boards. I purchased a board which was approximately 1/2 of the official price and I'm told that it was possible to purchase similar for 1/3 of the official price. So far, I've not encountered any incompatibility but I'm told that clones may omit ground-planes to reduce cost and therefore I/O may fail to work at full rated speeds. This is quite pausible. I understand that the processor on the first Raspberry Pi was only intended for use with eight layer boards and that the choice to use a six layer board limited storage card communication to a maximum of 15Mb/s and even this is optimistic.

The second complication is compiling ARM Cortex M3 code for no operating system when the host is ARMv6. This involves installing a random set of binaries on Raspbian using apt-get and then using /usr/bin/arm-none-eabi-gcc which may or may not have been present when I started.

The third complication is deployment of code to a Atmel ARM SAM via BOSSA. Each manufacturer has its own method of programming a micro-controller and this particularly true for ARM. So, one protocol is used for Atmel AVR chips, a different protocol is used for Atmel ARM chips and different protocols are used for ARM chips from other manufacturers. To further complicate matters, there are two (or more?) implementations of BOSSA programmer. The official one from Atmel works on Windows and Linux. An open source re-implementation uses wxWidgets and works on more platforms. From the dependancies installed via apt-get, it would appear that Raspbian uses the implementation which uses wxWidgets.

The fourth complication is that installation of arduino, arduino-core, bossa and bossa-core fails to provide any ARM firmware under /usr/share/arduino/hardware/arduino or suchlike. Indeed, the Arduino IDE 1.8.0, 1.8.1, 1.8.2 and 1.8.3 has no support for ARM. This would be particularly problematic if downloading the software recommended via Arduino's online shop. Ignore the official recommendations. Use 1.6.8 or 1.6.13 rather than the latest and greatest version.

The fifth complication is to avoid the IDE. This can be achieved by hacking up some random Makefile to use $(HOME)/Arduino-1.6.13/hardware/arduino/sam, /usr/bin/arm-none-eabi-gcc and /dev/ttyACM0. You may also want to use suitable flags to reduce compilation time, compilation size and execution time. Unfortunately, this will not increase security because there is no support for stack protection when using Arduino's BLOBs.

After working through these problems, compilation and deployment of a blink light worked first time. After a quick play with LED PWM, I devised a library so that it is possible to divine more than one bit of state when an error occurs on a micro-controller. Indeed, this will blink up to four hexadecimal digits and also blink an arbitrary error string in Morse code:-

begin 644 error.c.gz
M'XL(`"K3AED"`Y68;6_:,!#'W_,I/"J50"$8VK6LK)TZ^L36EJZCZQXU&6+`
M(R29$TK9Q'>?0R`%#+E=D%"P[WX^W_WMF!1SY$1:0^&XY$Q*5Y*::W%R)5J2
MR3')%5/%'#%JV3(M'9!FCZMNQW=E((8#,^P-N]O,M@D/G0WZ5"KO[N73Z2SI
M*!9W+)O[/K%=UR-NAPR8['-)F&,12W1%X)NS$181^?2U\F%=;L*4:U?Z/`XD
M#))6:(7X`9/!O'7H<V+Q#AO:03Q5X5BBS0(%]X1#ALZ4[P8]+D="F?L>;XN.
MX-84O24ZC@*0^LUIO7;2;-S]O*W?I+94DW#X<BLI[::V5+RBDTH]NL**YO2S
M90NG;P@G("P??K>RY&^*1#E@]H,4`3>6./G+^L5EMAK:<)N-#1;=;[:_:CPL
MF+>F]Y('0^E44Y.E6+K,,V;#3VWW*4VPMMQ@9KTXDS*E^7*R'_-[:QSW04=/
M>--$69&S+[H.MTB[QR2Q:>BF%&'8](A6;?K:L+;ITWE6W>[L1/9D,>[0?!)'
M,)WXYH$'H92,<*`<\<>#"!=&XL7#>N&PJN^;1W]4O84Q_9$(VCUCUC5O)4K6
M2DP9,W,8MVCQ15=+<M:?_YPL>1?6>4^S"[C/-*][QXG8Z#Q!)"ZJ5CY*G):V
M44_8W"@='97F65$+[EIM,2OZ;=PW;^^;LZ@6%5,*M5:924:1.U'-J6J))_:L
M'.OXN%2>F4Y6'#;85]:;;[#>6VN]P9@N&<<*TO43*VA%/W,-D"4-D"7%IDEZ
MH9@KY7Q6PQSU(@E5,-6G@.)]SR0!%:U0,%'`[62>:>)P!C!?9'19$(=+'TWD
MA1<*5P*+@<*5$W$F%K>;C,-*;P_`(4OQ$L+AE+*?K!0L[B!9*%A<!=`=$O<*
MDC$.9P)[`':5Y:'D(957!&J+G.X;:)DAJW&2.5QI8<D)1='?:O06)'44OZ;Q
MV]`S"\4_U?@6$#\*?Z;A>6+R4?!S#=X!M(/C7VC\+K!T4/A+#=^#-ET4OZ[Q
M13(?17^GT7]!CUL4_[W&[P/"1^&O-+P-';50_&N-/TC6#HI^H]&=Y.2@Z`V-
M[@)/-!3^5L-[@')PX7_0^+^!98N+_T[C2T`Z*/Q'#>\#VP(*W]3P06)V4/![
M#3X$=F04_I.&?X0.T2C^@\8?`<I$X3]K^"?HZ(3B?]'X8^@/&HK_5>/_@8Z2
;_\E?\W9FP_N9C9#E=S4++V?^`7A,_//4%0``
`
end

(Usual instructions for uudecode process.)