(06:30:16 ) ***jedb considers starting a list of technologies that have been unfairly maligned through propaganda
(06:30:28 ) jedb: no, wait, that's not the way to put it
(06:30:48 ) ***jedb considers starting a list of technologies where the general population's view is completely wrong due to propaganda
(06:32:17 ) specing: like wind turbines?
(06:32:26 ) jedb: hadn't considered those yet
(06:32:49 ) specing: or electromagnetic radiation?
(06:33:12 ) specing: or vapes?
(06:33:14 ) jedb: the list so far in no particular order includes Ada, monorails, nuclear power, and bicycle helmets
(06:33:34 ) specing: Hmm, what is the view about helmets?
(06:34:21 ) jedb: the general population, at least in a lot of the English speaking world, thinks they're an important/essential safety measure when cycling, when in actual reality they're generally pointless and mandatory helmet laws are demonstrably counterproductive
(06:34:57 ) jedb: bicycle helmets was why I had to be careful with how I titled the list, as they're a bad tech that the public thinks is good
(06:36:02 ) ***specing has had too many close encounters with pavement to declare helmets generally pointless
(06:36:13 ) specing: I agrre about the laws, though
(06:36:27 ) jedb: did you study physics in high school or equivalent?
(06:36:32 ) specing: yes
(06:37:02 ) jedb: then you should know that whether you're standing still or going along at 30km/h, if you fall and hit your head on the ground the hit is going to be the same amount of force
(06:37:09 ) jedb: plus or minus some road rash
(06:37:28 ) specing: not if you have a helmet that can crumple
(06:37:40 ) specing: the make those as well, and they are hideously expensive
(06:38:17 ) jedb: still the same amount of force applied in the accident though, which directly implies that the risk of injury for pedestrians and for general cycling should be similar, which they are
(06:38:32 ) jedb: the horizontal speed only matters if you hit a wall or a tree or something
(06:39:13 ) jedb: bicycle helmets don't really crumple either; they're generally pretty bad at protecting against concussion
(06:39:30 ) specing: search for MIPS helmets, they have energy absorbant foam
(06:39:41 ) specing: I think MIPS is what the foam is called
(06:40:10 ) jedb: I was thinking of the hovding, aka a head mounted airbag that some swedes invented
(06:40:15 ) jedb: *that* would protect against concussion
(06:40:52 ) specing: I wouldn't want to cycle without a helmet though, even the road rash protection is worth it
(06:41:07 ) ***jedb shrugs
(06:41:26 ) specing: two years ago my glasses also intercepted a 5mm stone, which lodget itself between the frame and lens
(06:41:28 ) jedb: if that's what you want to protect yourself from then sure, that's mainly what bicycle helmets are good at doing
(06:42:02 ) specing: I was thinking of buying myself a downhill helmet (chin/teeth protection) for city cycling
(06:42:09 ) specing: with a nice gas mask underneath
(06:42:31 ) jedb: you're gonna cook your head, I think
(06:42:42 ) specing: I have an electric bicycle
(06:43:02 ) jedb: oh, nevermind then
(06:43:22 ) specing: its broken though :(
(06:43:40 ) specing: I managed to fry its motor going uphill, haha
(06:43:53 ) silver left the room (quit: Read error: Connection reset by peer).
(06:47:22 ) nerdboy left the room (quit: Ping timeout: 265 seconds).
(06:47:49 ) nerdboy [~sarnold@] entered the room.
(07:06:06 ) theDon left the room (quit: Ping timeout: 240 seconds).
(07:07:43 ) wiselord left the room (quit: Ping timeout: 245 seconds).
(07:08:21 ) theDon [~td@muedsl-82-207-238-245.citykom.de] entered the room.
(07:15:56 ) Lucretia left the room (quit: Quit: Konversation terminated!).
(07:16:14 ) Lucretia [~Luke@pdpc/supporter/active/lucretia] entered the room.
(07:20:57 ) pagrioca left the room (quit: Remote host closed the connection).
(07:20:57 ) oxford left the room (quit: Read error: Connection reset by peer).
(07:21:18 ) Lucretia: jedb: the issue with bike helmets is because there were a lot of injuries here (uk) involving brain damage and that's why they have to be worn here.,
(07:21:42 ) ***Lucretia crashed a few times, never hit his head but damagaed a bike tho
(07:22:12 ) jedb: Lucretia: I actually looked up UK stats a little while back, apparently there was no noticeable change in injury levels despite helmet use rising from 0% to 40%
(07:22:39 ) Lucretia: probably not tbh#
(07:22:50 ) Lucretia: because if we crash, we don;t fuckign die
(07:23:10 ) Lucretia: imean i collided witha  girl, both bikes came out worse
(07:23:30 ) Lucretia: herse was from the side,. but mine was head on
(07:23:43 ) Lucretia: it's just a thing that happens
(07:23:59 ) specing: we mostly die from collisions with cars
(07:24:02 ) specing: ban cars
(07:24:21 ) Lucretia: cars are cool, so fuck that shit
(07:24:39 ) ***Lucretia imagines specingin an air balloon
(07:24:46 ) oxford [~chatting@gateway/tor-sasl/cantstanya] entered the room.
(07:25:15 ) Lucretia: with  his ilver foil hat
(07:25:35 ) Lucretia: there's way too many bacofoil people here :D
(07:29:16 ) jedb: Lucretia: ever seen the stats on what happened when mandatory helmet law was introduced in Aust and NZ?
(07:30:12 ) Lucretia: mandatory helmet law sounds rather pervy :D
(07:30:26 ) Lucretia: so no :D
(07:30:51 ) jedb: http://cycle-helmets.com/imgs/nz-injuries-participation-per-cyclist.gif
(07:33:48 ) Lucretia: you may as well tell me, i;'m not reading that
(07:33:58 ) Lucretia: can't be fucked tbh
(07:34:02 ) jedb: that should be just a simple graph...?
(07:34:16 ) Lucretia: hanfg on
(07:34:48 ) Lucretia: tyhoght that said pdf
(07:34:53 ) jedb: but anyway, when the law came in the number of cyclists more or less halved, while the injury rate more or less doubled, in a very conclusive looking fashion

#bicycle #helmet #safety #city

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

  bicycle  helmet  safety  city 

today we were discussing different spacecraft accidents caused by/related to software, discussed Arian-5 case, and I remembered a Soviet case, where there was a problem with decimal separator and Fortran compiler. Decimal separator in USSR was comma, but in Fortran code it should be the dot.

Also, Fortran compiler did not consider using comma instead of the dot as an error, but as different code. And my friend said - the same is possible to do in C++ - and sent me the illustration.

#include <iostream>
using namespace std;
int main()
cout << "Hello World" << endl;
if (1,2!=1.2)
cout << (1,2) << endl;
return 0;

if you run it, you’ll get

Hello World


#safety #programming #mistakes #safe #c++ #code #example #programming-languages #programming_languages #arian #fortran #source

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

there were one network administrator, and he was saying than he is frustrated that Armenia did not ban free wifi spots. when i’ve asked why, he answered that there is a lot of crime happening because of free wifi spots, and he gets a lot of requests, even got request from interpol.

well, i believe it’s a way of thinking of policeman, not system administrator.

policeman wants to simplify it’s work, and putting everyone to cell they can decrease the probability of crime. by banning open windows they can decrease probability that some thief can use them. but it’s not a way of thinking of administrator. well, i believe it should not be.

when i came to work where i work now, i’ve learned a sentence from my colleagues: “we are not police, we are administrators.” i like it a lot.

#police #surveillance #network #safety #security #wifi #freedom

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

here was a ted talk, i believe, and one guy from Sweden was saying - if somebody is watching me, i would prefer it to be local NSA, rather than US NSA.

Well, I envy him. He trusts local NSA so much. He believes that it’s not engaged in crime, corruption, unlawful activities. At least, it’s likely engaged less than the NSA of my country. Thus he feels himself more confident than me.

I am afraid of my local NSA more than of wolves, vampires, ghosts. It’s not they who might nock my door at 5am, when I am completely innocent. And definitely not US NSA. It’s my native, lovely, NSA. Which supposedly defends interests of the nation, but I am not quite sure it does not actually defend interests of other parties like their own, government, criminals instead. Sigh.

#safety #naive #sweden #nsa #privacy #surveillance #corruption #crime #confidence #security #freedom

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

I took the 142 rules of the MISRA-C:2004 “Guidelines for the use of the C language in critical systems” and applied them to Oberon-07. I discovered that more than 70% of the rules are not required when programming in Oberon-07. They are either already enforced by the language or are not applicable.

Examples of MISRA rules that are not applicable to Oberon-07:

Rule 14.4: The goto statement shall not be used. (Oberon-07 does not have GOTO)

Rule 14.5: The continue statement shall not be used. (Oberon-07 does not have CONTINUE)

Examples of MISRA rules that are enforced by the design of Oberon-07:

Rule 14.7: A function shall have a single point of exit at the end of the function.

Rule 16.6: The number of arguments passed to a function shall match the number of parameters.

The remaining 30% of MISRA rules that also need to be checked when using Oberon-07 include:

Rule 2.4 (advisory): Sections of code should not be “commented out”.

Rule 20.4: Dynamic heap memory allocation shall not be used.


#programming #oberon-2 #oberon-07 #oberon #misra #safety #safe #guidelenies

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

Now, modular programming is possible in C, but only if the programmer sticks to some fairly rigid rules:

  • Exactly one header file per module. The header should contain the function prototypes and typedef declarations to be exported, and nothing else (except comments).
  • The comments in a header file should be all that an external caller needs to know about the module. There should never be any need for writers to know anything about the module except what is contained in the header file.
  • Every module must import its own header file, as a consistency check.
  • Each module should contain #include lines for anything being imported from another module, together with comments showing what is being imported. The comments should be kept up-to-date. There should be no reliance on hidden imports which occur as a consequence of the nested #include lines which typically occur when a header file needs to import a type definition or a constant from elsewhere.
  • Function prototypes should not be used except in header files. (This rule is needed because C has no mechanism for checking that a function is implemented in the same module as its prototype; so that the use of a prototype can mask a “missing function” error.)
  • Every global variable in a module, and every function other than the functions exported via the header file, should be declared static.
  • The compiler warning “function call without prototype” should be enabled, and any warning should be treated as an error.
  • For each prototype given in a header file, the programmer should check that a non-private (i.e. non-static, in the usual C terminology) function with precisely the same name has its implementation in the same module. (Unfortunately, the nature of the C language makes an automatic check impossible.)
  • Any use of grep should be viewed with suspicion. If a prototype is not in the obvious place, that’s probably an error.
  • Ideally, programmers working in a team should not have access to one another’s source files. They should share only object modules and header files.


#programming #modularity #modular-programming #modules #C #modula #modula2 #oberon #consistency #safety

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)