Forum comments in chronological order
Disclaimer: I am not responsible for what people (other than myself) write in the forums. Please report any abuse, such as insults, slander, spam and illegal material, and I will take appropriate actions. Don't feed the trolls.
Jag tar inget ansvar för det som skrivs i forumet, förutom mina egna inlägg. Vänligen rapportera alla inlägg som bryter mot reglerna, så ska jag se vad jag kan göra. Som regelbrott räknas till exempel förolämpningar, förtal, spam och olagligt material. Mata inte trålarna.
- Jun 2007
- Aug 2007
- Oct 2007
- Nov 2007
- Dec 2007
- Jan 2008
- Feb 2008
- Mar 2008
- Apr 2008
- May 2008
- Jun 2008
- Jul 2008
- Aug 2008
- Sep 2008
- Oct 2008
- Nov 2008
- Dec 2008
- Jan 2009
- Feb 2009
- Mar 2009
- Apr 2009
- May 2009
- Jun 2009
- Jul 2009
- Aug 2009
- Sep 2009
- Oct 2009
- Nov 2009
- Dec 2009
- Jan 2010
- Feb 2010
- Mar 2010
- Apr 2010
- May 2010
- Jun 2010
- Jul 2010
- Aug 2010
- Sep 2010
- Oct 2010
- Nov 2010
- Dec 2010
- Jan 2011
- Feb 2011
- Mar 2011
- Apr 2011
- May 2011
- Jun 2011
- Jul 2011
- Aug 2011
- Sep 2011
- Oct 2011
- Nov 2011
- Dec 2011
- Jan 2012
- Feb 2012
- Mar 2012
- Apr 2012
- May 2012
- Jun 2012
- Jul 2012
- Aug 2012
- Sep 2012
- Oct 2012
- Nov 2012
- Dec 2012
- Jan 2013
- Feb 2013
- Mar 2013
- Apr 2013
- May 2013
- Jun 2013
- Jul 2013
- Aug 2013
- Sep 2013
- Oct 2013
- Nov 2013
- Dec 2013
- Jan 2014
- Feb 2014
- Mar 2014
- Apr 2014
- May 2014
- Jun 2014
- Jul 2014
- Aug 2014
- Sep 2014
- Oct 2014
- Nov 2014
- Dec 2014
- Jan 2015
- Feb 2015
- Mar 2015
- Apr 2015
- May 2015
- Jun 2015
- Jul 2015
- Aug 2015
- Sep 2015
- Oct 2015
- Nov 2015
- Dec 2015
- Jan 2016
- Feb 2016
- Mar 2016
- Apr 2016
- May 2016
- Jun 2016
- Jul 2016
- Aug 2016
- Sep 2016
- Oct 2016
- Nov 2016
- Dec 2016
- Jan 2017
- Feb 2017
- Mar 2017
- Apr 2017
- May 2017
- Jun 2017
- Jul 2017
- Aug 2017
- Sep 2017
- Oct 2017
- Nov 2017
- Dec 2017
- Jan 2018
- Feb 2018
- Mar 2018
- Apr 2018
- May 2018
- Jun 2018
- Jul 2018
- Aug 2018
- Sep 2018
- Oct 2018
- Nov 2018
- Dec 2018
- Jan 2019
- Feb 2019
- Mar 2019
- Apr 2019
- May 2019
- Jun 2019
- Jul 2019
- Aug 2019
- Sep 2019
- Oct 2019
- Nov 2019
- Dec 2019
- Jan 2020
- Feb 2020
- Mar 2020
- Apr 2020
- May 2020
- Jun 2020
- Jul 2020
- Aug 2020
- Sep 2020
- Oct 2020
- Nov 2020
- Dec 2020
- Jan 2021
- Feb 2021
- Mar 2021
- Apr 2021
- May 2021
- Jun 2021
- Jul 2021
- Aug 2021
- Sep 2021
- Oct 2021
- Nov 2021
- Dec 2021
- Jan 2022
- Feb 2022
- Mar 2022
- Apr 2022
- May 2022
- Jun 2022
- Jul 2022
- Aug 2022
- Sep 2022
- Oct 2022
- Nov 2022
- Dec 2022
- Jan 2023
- Feb 2023
- Mar 2023
- Apr 2023
- May 2023
- Jun 2023
- Jul 2023
- Aug 2023
- Sep 2023
- Oct 2023
- Nov 2023
- Dec 2023
- Jan 2024
- Feb 2024
- Mar 2024
- Apr 2024
- May 2024
- Jun 2024
- Jul 2024
- Aug 2024
- Sep 2024
- Oct 2024
Jun 2016
A Computer In My Backpack (And A Chiptune In My Heart)
Anonymous
Wed 1-Jun-2016 13:28
Wed 1-Jun-2016 13:28
Awesome song! I love it.
Could this be implemented on a microcontroller (without SID)?
Would you open the source code?
Henrik
(Germany)
Could this be implemented on a microcontroller (without SID)?
Would you open the source code?
Henrik
(Germany)
Seyedof
Ali Seyedof
Thu 2-Jun-2016 22:52
Ali Seyedof
Thu 2-Jun-2016 22:52
lft wrote:
Hi, i have a little problem here with craft. some colours doesn't seem to be the correct ones, cyan is missing in the plasma (showing another shade of blue instead) or the first tunnel isn't coloured red and white (it's purple and violet) for an example. any idea? i checked the hardware a few times and it looks ok.
Did you connect AVcc? In the original design, AVcc was left floating (by mistake), and this probably affects the amount of current that can be sourced from PORTC. Otherwise I really don't know.
Is AVcc mandatory while you are using PORTC for digital IO, not the ADC functionality? I guess AVcc is needed for A/D conversion and you don't need them while using PORTC as digital IO (which is the case with your impressive demo).
I'm trying to implement your demo on ATtiny13 as an even cheaper version, but with less color depth and no music:)
Great work dude
Eqwipman
Sun 5-Jun-2016 08:44
Sun 5-Jun-2016 08:44
in the post "Producing a volume signal" i want to know where i can buy the digital pot shown in the picture. not the IC but the part with the knob attached.
Thanks,
Thanks,
A case against syntax highlighting
Anonymous
Tue 7-Jun-2016 22:23
Tue 7-Jun-2016 22:23
lft wrote:
Developing software is complex and error-prone, so people need to be thinking when doing it. And yeah, I realize that these opinions are controversial to some.I agree. However, I don't see how syntax highlighting necessarily makes reasoning code easier or harder. I don't know if the arguments are specious, but I think and feel that much of the arguments here are weak and unconvincing.
You have already dismissed (without examination) the strongest argument for syntax highlighting: aesthetics. There are whole philosophies of aesthetics that makes a lot of sense, but only when we go beyond the mere results of the programming. The aesthetic argument for syntax highlighting isn't for the sake of the quality of the resulting program but rather, the quality of the experience for the programmer. That in and of itself is underestimated by a fixation on the resulting code.
There are philosophies that precisely define aesthetics, but these are generally in the non-dual philosophies, not the dualist philosophies. As soon as you have a dualist philosophy, you set up an opposition between privileging objective over subjective, or subjective over objective, and it resolves nothing. Non-dual philosophies do not privilege objective over subjective, or subjective over objective, and have a lot of useful, testable (empirical, experienceable) things to say about aesthetics.
Aesthetics bring a human perspective to the technology and reminds us that, however efficient a technology is, it shapes and is in turn shaped by our experiences as human beings.
Ho-Sheng Hsiao
Anonymous
Tue 7-Jun-2016 22:26
Tue 7-Jun-2016 22:26
3 aphorisms (aphorisi?), all related, that i've collected over the long, arduous years of prof s/w, all a testament to BK's thesis:
1. if builders built buildings the way programmers build programs, the first woodpecker that came along would destroy civilization.
2. nelson's law: the better the four-wheel drive vehicle, the farther away from civilization you'll be when it breaks down.
and 3, the corollary: the probability that a bug exists is directly proportional to the programmer's insistence that it does not.
thank you for a great article (and the accompanying apropos pic of archimedes)
1. if builders built buildings the way programmers build programs, the first woodpecker that came along would destroy civilization.
2. nelson's law: the better the four-wheel drive vehicle, the farther away from civilization you'll be when it breaks down.
and 3, the corollary: the probability that a bug exists is directly proportional to the programmer's insistence that it does not.
thank you for a great article (and the accompanying apropos pic of archimedes)
A case against syntax highlighting
Anonymous
Tue 7-Jun-2016 22:45
Tue 7-Jun-2016 22:45
lft wrote:
Exactly. And making changes in code that one doesn't fully understand is bad, dangerous behaviour.But what about code you do understand? I don't want to wade through hundreds of lines of code because there is no syntax highlighting when I could have skimmed it to get to the part I wanted to. Even for code that I didn't write syntax highlighting helps in figuring out a lot of things like whether a piece of code is is working with properties vs. static classes vs. interfaces without jumping to the definitions to figure it out.
You don't dislike syntax highlighting because it makes it too easy for you to code, instead, you dislike it because you find your editor's fruit salad syntax highlighting distracting enough that it makes it _harder_.
lft wrote:
But my point is that syntax highlighting makes it easier for us to dive in and fix the code before we understand it, because it encourages us to skim through the code on a superficial level. The syntax highlighting distracts us from seeing the forest by making it easier to see the trees.This is exactly what I want to do because I am a seasoned programmer who can understand highlighted code by skimming it to get to the gist of the issue. I can understand that as a novice you might take more time trying to understand the code but for seasoned programmers skimming works with highlighted code.
pik33
Fri 10-Jun-2016 10:48
Fri 10-Jun-2016 10:48
I wrote the sid player for the raspberry pi(still in alpha state but it works and it can play most of PSID files.
https://github.com/pik33/Retromachine-SID-player
When I tried to play this tune I got only silence.
"A_Chipful_of_Love_For_You.sid" outputs the silence too...
So now I have to find a bug in my player...
...but I have a question: is there something not typical in these .sid files (SID registers not at D400 for example?)
https://github.com/pik33/Retromachine-SID-player
When I tried to play this tune I got only silence.
"A_Chipful_of_Love_For_You.sid" outputs the silence too...
So now I have to find a bug in my player...
...but I have a question: is there something not typical in these .sid files (SID registers not at D400 for example?)
pik33
Fri 10-Jun-2016 12:03
Fri 10-Jun-2016 12:03
pik33 wrote:
I wrote the sid player for the raspberry pi(still in alpha state but it works and it can play most of PSID files.https://github.com/pik33/Retromachine-SID-player
When I tried to play this tune I got only silence.
"A_Chipful_of_Love_For_You.sid" outputs the silence too...
So now I have to find a bug in my player...
...but I have a question: is there something not typical in these .sid files (SID registers not at D400 for example?)
Oops.. This comment had to be placed in "A computer in my backpack". This file outputs silence, too
lft
Linus Åkesson
Wed 15-Jun-2016 21:43
Linus Åkesson
Wed 15-Jun-2016 21:43
pik33 wrote:
...but I have a question: is there something not typical in these .sid files (SID registers not at D400 for example?)One thing I can think of is that I use so called illegal opcodes. These were undocumented and generally considered unreliable back in the day, but they work perfectly fine on any C64. But they're not used in older playroutines, and perhaps your 6502 emulator doesn't support them.
A case against syntax highlighting
Anonymous
Wed 15-Jun-2016 23:30
Wed 15-Jun-2016 23:30
Maybe we got used to.
I open a code file with plain notepad. My brain has a hard time.
I open it with notepad++, it's so much easier to separate keywords.
But there is a difference of course. The colors are not as glaring as in the screenshot.
But there should be a time where I never had such luxury when coding. I just don't remember it. Or maybe the fonts on the notepad and the white background are not helping. Maybe I should try some DOS compiler with blue background and proper easily readable fonts.
It's like I got used and can't look code without color intentation. Light colors, not glaring. I could say the same about autocomplete. I got used.
People tell me the same, how the hell can I code without double screens. I still have a single screen at my home. Maybe I'll get used to two screens some time and then it's hard to get back.
I open a code file with plain notepad. My brain has a hard time.
I open it with notepad++, it's so much easier to separate keywords.
But there is a difference of course. The colors are not as glaring as in the screenshot.
But there should be a time where I never had such luxury when coding. I just don't remember it. Or maybe the fonts on the notepad and the white background are not helping. Maybe I should try some DOS compiler with blue background and proper easily readable fonts.
It's like I got used and can't look code without color intentation. Light colors, not glaring. I could say the same about autocomplete. I got used.
People tell me the same, how the hell can I code without double screens. I still have a single screen at my home. Maybe I'll get used to two screens some time and then it's hard to get back.
Anonymous
Wed 15-Jun-2016 23:43
Wed 15-Jun-2016 23:43
I am wondering actually how this works in code.
There was this video where there is simple questions where you could fall in a trap if you are too fast to answer https://www.youtube.com/watch?v=i-aCSFD3xro
In that experiment, they discovered that if they used a much harder to read font, students would struggle but then have much higher success percentage.
So, the idea is, would it be possible that looking at code that is not as easy to read, would have different effects in problem solving? Not tabs would be a problem. But no color highlighting could be okayish, because once upon a time we didn't need it and code wasn't that bad.
Just an idea, because my instinct says it helps, but what if in specific cases, pushing a bit the brain to understand text will lead to better understanding of code or problem solving?
There was this video where there is simple questions where you could fall in a trap if you are too fast to answer https://www.youtube.com/watch?v=i-aCSFD3xro
In that experiment, they discovered that if they used a much harder to read font, students would struggle but then have much higher success percentage.
So, the idea is, would it be possible that looking at code that is not as easy to read, would have different effects in problem solving? Not tabs would be a problem. But no color highlighting could be okayish, because once upon a time we didn't need it and code wasn't that bad.
Just an idea, because my instinct says it helps, but what if in specific cases, pushing a bit the brain to understand text will lead to better understanding of code or problem solving?
Anonymous
Tue 21-Jun-2016 09:15
Tue 21-Jun-2016 09:15
I have illegal opcodes in my 6502. Maybe not all of them. The 6502 emulator implements all 65C02 opcodes, so if an illegal opcode uses the place of legal 65C02 opcode, 65C02 instruction will be executed. The illegals were left @ x3,x7,xB and xF
Maybe this can cause silence. 65C02 opcode executed instead of illegal 6502 opcode. I have to compare the opcode table.
The 6502 is doing something, I got finite time of jsr play so it does something and returns, but there is no sound from emulated SID as if no valid values are stored into SID registers
Maybe this can cause silence. 65C02 opcode executed instead of illegal 6502 opcode. I have to compare the opcode table.
The 6502 is doing something, I got finite time of jsr play so it does something and returns, but there is no sound from emulated SID as if no valid values are stored into SID registers
Anonymous
Thu 23-Jun-2016 20:00
Thu 23-Jun-2016 20:00
Best article regarding this mess!