|
EpicCodeMonkey posted:can't compile files in parallel In the previous version they introduced a bug where volatile qualifiers were incorrectly ignored in some circumstances, leading to some amazing bugs and weird behaviours. It's a pretty loving serious problem in an embedded micro when you're reading hardware status registers to see if you can exit a loop and it's doing this instead: code:
Spatial fucked around with this message at 03:12 on Mar 29, 2015 |
# ? Mar 29, 2015 03:07 |
|
|
# ? Jun 8, 2024 02:13 |
|
EpicCodeMonkey posted:Are management horrors still classed as coding horrors? I worked for a place like this for a while and quickly discovered that I made the same amount of cash whether I worked or just sent resumes out all day, so I started doing the latter.
|
# ? Mar 29, 2015 03:38 |
|
Ugh, I'm in a similar situation. No one believes me when I say a component is browning out or otherwise resetting itself, so I have been tasked with days of driver rewrites to eliminate good interrupt driven design and move back to a polling loop "like we used to do back when we launched first_product". Why doesn't anyone believe me? Because first_product works fine on a completely different hardware platform, with a different model of component and years of bug fixes. Often I have to bring people up to speed on how we're actually doing things in code so they can revise their far-fetched ideas why it doesn't work. It was suggested that I was overwhelming the resetting component with commands, despite using hardware flow control and only issuing the next command after getting and validating the response to the previous one. Result? Now I have work issue to test the interface with a dummy command before every real command. I'm about to double the number of commands hitting this supposedly overloaded command interface!
|
# ? Mar 29, 2015 04:47 |
|
kitten smoothie posted:Older devices? Zawinski was blogging just a few months ago about lovely cheap Android "smart tv" boxes that all had the same MAC address burned into them. Seemed like a cheap way to run advertising on a TV screen except you can have only one Otherwise you need some kind of per unit step on the manufacturing floor to change the MAC and that costs money and you (the Chinese factory) can get away without it
|
# ? Mar 29, 2015 13:45 |
|
sund posted:Often I have to bring people up to speed on how we're actually doing things in code so they can revise their far-fetched ideas why it doesn't work. I'm always amazed at the wildly incorrect mental models of things that people can come up with. "How do you think this works?" can usually get some crazy responses. It makes me wonder how many things I have ridiculous assumptions about and don't know it.
|
# ? Mar 30, 2015 01:32 |
|
Some good stuff in this paperquote:An interesting code-reuse strategy was observed for participant P7. The task was to re-implement an already existing functionality from another customer-specific version of the application. P7 copied big blocks of code containing several methods and "deactivated" the whole copied code by commenting it out. Then he looked at compiler warnings that indicated that a certain method was not found by the compiler. Following these warnings, P7 removed the comments and "reactivated" the appropriate methods. P7 applied this strategy repeatedly until all compiler warnings disappeared. Using this strategy, P7 traced which methods in the copied code were really needed. With this strategy, P7 did not try to understand how each method works. quote:P3 used the compiler to search for locations where a specific constant is used. He changed the name of that constant in its definition and examined the locations of the resulting compiler errors. quote:Naming conventions played a central role for company C5. Three participants from C5 even used a self-developed translator that transformed cryptic names of functions and variables into a meaningful human readable form, which helped to get a better understanding of the software. quote:P15 reported that it is often unclear how the end user uses the application and that he has limited knowledge about the application domain.
|
# ? Mar 30, 2015 06:42 |
|
HappyHippo posted:P15 reported that it is often unclear how the end user uses the application and that he has limited knowledge about the application domain. I think this (not knowing how the end users actually use the software) is a very easy trap to fall into. The big project I have worked on at my place benefits from the fact that we speak to the end users of the main software package directly and occasionally visit them on site (and from the fact that we get regular dumps of their database, because it isn't secret or confidential data). This is helpful in making sure we make the software do the things that actually help them do their jobs. Limited knowledge of the application domain sounds like a training gap. We are in a somewhat specialised field that I didn't know much about before I came here, but we get training (and there are lots of people to ask questions) so that we have enough of a clue.
|
# ? Mar 30, 2015 12:34 |
|
EpicCodeMonkey posted:Welcome to the world of embedded systems, where IAR pays vendors to ensure they get first support of all chips so there's little choice when they hit the market. Their wonderful IDE reminiscent of Windows 3.1 that crashes all the time, uses a crazy XML project format (ASCII encoded binary, comma separated in a single XML node for some settings) and can't compile files in parallel could fill up this thread. It is your moral imperative to ensure that the hacks behind this compiler lose customers. Holy poo poo. I am amazed that open source web development is apparently not even close to being the worst software development cesspit.
|
# ? Mar 30, 2015 12:50 |
|
Athas posted:It is your moral imperative to ensure that the hacks behind this compiler lose customers. Holy poo poo. I am amazed that open source web development is apparently not even close to being the worst software development cesspit. Remember, a lot of the same people who do open source development also have day jobs programming, but at their jobs they can also keep all their code secret and have an incentive to squeeze all the money out of the end user that they can.
|
# ? Mar 30, 2015 15:15 |
|
Commercial web development / hosting? Pay to enter content into web ui, content no longer under your control. It went down? When did this happen? You lost content? What did you lose? No we don't have failover. Backup? Sure we do, from April. That's what's up now, dummy. And you can't sidestep us because politics nyah nyah nyah nyah nyah nyah
|
# ? Mar 30, 2015 15:47 |
|
Athas posted:It is your moral imperative to ensure that the hacks behind this compiler lose customers. Holy poo poo. I am amazed that open source web development is apparently not even close to being the worst software development cesspit. Open source is a transparent cesspit. I can almost see the argument, then I have to touch that godforsaken Cube and lose my composure. Why it can't just chuck out a gcc compatible BSP is beyond me.
|
# ? Mar 30, 2015 16:10 |
|
HappyHippo posted:Some good stuff in this paper Can anyone ever really know Eclipse?
|
# ? Mar 30, 2015 17:50 |
|
Found this comment when I merged code today: // 3/29/15 - [MCF] May be overstepping but I want to fix an error. I recognize that we need to figure why this would be necessary Basically he just caught the exception in order to ignore it (that was the fix), and doesn't tell any of the developers responsible for this part of the code that there was a problem. So yeah, I guess we'll just wait until bad data starts blowing everything up, good plan.
|
# ? Mar 30, 2015 17:54 |
|
Athas posted:It is your moral imperative to ensure that the hacks behind this compiler lose customers. Holy poo poo. I am amazed that open source web development is apparently not even close to being the worst software development cesspit. There's significant pushback from on high about doing that though. Maybe they and the IAR guys are friends. There sure isn't any other reason to use it.
|
# ? Mar 30, 2015 19:44 |
|
If anyone was wondering why GitHub has been loving unresponsive the last few days, well... here's a political/technology horror for you that impacts coding: China Appears to Attack GitHub by Diverting Web Traffic The New York Times posted:But in a recent series of attacks on websites that try to help Internet users in China circumvent this censorship, the Great Firewall appears to have been used instead as a weapon, diverting a portion of the torrents of Internet traffic that flow through it to overload targeted websites. quote:The New York Times declined to comment on the attacks
|
# ? Mar 30, 2015 21:33 |
|
Some of the horrors i see are here http://starlogs.net/#calclavia/Voltz-Mod-Pack The problem is, - Is it that site or the content of the commits...
|
# ? Mar 31, 2015 06:28 |
|
TheresaJayne posted:Some of the horrors i see are here Posting minecraft mods is cheating.
|
# ? Mar 31, 2015 14:39 |
|
code:
|
# ? Apr 1, 2015 08:49 |
|
zokie posted:
You want to say that he should have used "if(true)" to save on typing. Admit it! . Sorry, I'm a horrible jerk.
|
# ? Apr 1, 2015 10:03 |
|
zokie posted:I just don't know what to say... I wonder if he was trying to do IsNullOrWhitespace and Intellisensed his way into the wrong function and didn't notice.
|
# ? Apr 1, 2015 10:27 |
|
i know this is another minecraft commit trail but OMG this dev is completely out of his mind look at the commits.... https://github.com/SpongePowered/SpongeAPI/pull/526
|
# ? Apr 1, 2015 12:35 |
|
TheresaJayne posted:i know this is another minecraft commit trail but OMG this dev is completely out of his mind look at the commits.... You realise it's an April Fool's joke?
|
# ? Apr 1, 2015 12:43 |
|
seiken posted:You realise it's an April Fool's joke? Java conforms with all relevant ISO Standards regarding Poe's Law.
|
# ? Apr 1, 2015 13:09 |
|
seiken posted:You realise it's an April Fool's joke? I am on the Sponge Dev team, of course i know Its still terrible
|
# ? Apr 1, 2015 13:23 |
|
Got to review this lovely function written in PHP today by my coworker. I guess technically speaking it works, but I guess he isn't aware you can break out of loops.code:
|
# ? Apr 1, 2015 22:50 |
TheresaJayne posted:Its still terrible Needs more framework. The users will break it in no time.
|
|
# ? Apr 2, 2015 00:16 |
Coding horrors: Kickstarter edition https://www.kickstarter.com/projects/1091981218/pythor-a-premier-web-programming-language
|
|
# ? Apr 2, 2015 00:54 |
|
DARPA Dad posted:Coding horrors: Kickstarter edition https://www.kickstarter.com/projects/1091981218/pythor-a-premier-web-programming-language i'm the bad unfunny april fools joke
|
# ? Apr 2, 2015 01:15 |
|
I dunno man, if this is an April's Fools joke then he spent quite a while setting it up: https://github.com/football-fastball/pyThor
|
# ? Apr 2, 2015 01:31 |
|
Yeah I interpreted it as a dude who's just slightly unhinged, there's no shortage of them in this industry.
|
# ? Apr 2, 2015 01:36 |
|
I thought that Javascript on the server was stupid, but I never would have imagined Python on the client (of sorts).Suspicious Dish posted:i'm the bad unfunny april fools joke Admiral H. Curtiss posted:I dunno man, if this is an April's Fools joke then he spent quite a while setting it up: https://github.com/football-fastball/pyThor Poe's Law strikes again.
|
# ? Apr 2, 2015 02:51 |
|
Admiral H. Curtiss posted:I dunno man, if this is an April's Fools joke then he spent quite a while setting it up: https://github.com/football-fastball/pyThor Well he does say if you pledge you can look at the website ddstar.us DOH!
|
# ? Apr 2, 2015 06:45 |
|
HardDisk posted:I thought that Javascript on the server was stupid, but I never would have imagined Python on the client (of sorts). A lot of games use Python on the client. Civ iv / v for example.
|
# ? Apr 2, 2015 15:00 |
|
I meant in web land.
|
# ? Apr 2, 2015 15:03 |
|
I'd use it. It's a much nicer language than Javascript. Harder to minify, I guess.
|
# ? Apr 2, 2015 15:18 |
|
JavaScript is gradually accumulating features that Python also leans on quite a bit, anyway. Just wait a decade or so and you can use them in production with a shim
|
# ? Apr 2, 2015 16:00 |
Create your resources in Python, run them through a converter that turns them into Javascript.
|
|
# ? Apr 2, 2015 16:10 |
|
If only browsers supported something that wasn't javascript. Maybe we could program in something good instead.
|
# ? Apr 2, 2015 16:40 |
|
Pavlov posted:If only browsers supported something that wasn't javascript. Maybe we could program in something good instead. Any Good Language can be Compiled Down to JavaScript™
|
# ? Apr 2, 2015 16:54 |
|
|
# ? Jun 8, 2024 02:13 |
|
Mogomra posted:Any Good Language can be Compiled Down to JavaScript™ I prefer "sufficiently advanced languages are indistinguishable from Javascript (to a compiler)"
|
# ? Apr 2, 2015 17:06 |