Shachar Shemesh

526 posts

Shachar Shemesh banner
Shachar Shemesh

Shachar Shemesh

@ShacharShemesh

Computer programmer, open source activist and a firm believer in not letting others do my thinking for me. My Hebrew account is @ShacharSh

Katılım Mayıs 2021
32 Takip Edilen144 Takipçiler
Sabitlenmiş Tweet
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
Just like about everyone else, I, too, opened a Mastodon account. Feel free to give me a follow there: @compusar@fosstodon.org @compusar" target="_blank" rel="nofollow noopener">fosstodon.org/@compusar
English
0
0
0
0
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
Ever wondered what goes into getting data off of your SD card? Well too bad, you're going to hear about it anyways. A new video is up with random pieces of information on the SD protocol and history. youtu.be/GxeoCp1ewuo
YouTube video
YouTube
English
0
1
4
78
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
Can AI replace programmers? As in, completely replace? I have an answer... in the form of a 20 minutes video. youtu.be/5GBLLMszPxs
YouTube video
YouTube
English
0
1
2
90
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
it might have missed the break on line 90 (in which case the loop's condition means that if the loop has exited, the if must be taken). As far as I can tell, this is legal C++, which means this is a bug in the compiler. I would love the input of other people to confirm
English
0
0
0
33
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
I can think of two (wrong) assumptions the compiler might make to lead to this. It might assume timerQueue is a local var (and thus, changing it from placeTimerEvent would be UB), or
English
1
0
0
36
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
The code in the picture is a timer interrupt handler. It gets the timer events from a global timerQueue. It seems that the condition on line 100 is not processed correctly. It calls "reset_timer_cycles" even if the call to "placeTimerEvent" added the event back into the queue
Shachar Shemesh tweet media
English
2
0
1
449
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
Did you know that the Apple II's display memory jumps all over the place? Have you ever wondered why? In this newest video I answer that. And, no, the memory refresh is not the reason. youtu.be/HIuuxUc3nCk
YouTube video
YouTube
English
0
1
2
266
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@r0ktech Neither. The best is: try { volatile b = 15/a; return false; } catch(MathException) { return true; }
English
0
0
0
13
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
I'm building an Apple II clone on an FPGA board. I finally got text mode over HDMI working. There's a video up about this. And that's all, really. youtu.be/BzKzyDRaGww
YouTube video
YouTube
English
0
0
1
163
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
@quadrawin But not the opposite. If you remove C from GC, you get only G, which stands for Garbage.
English
2
0
96
26.9K
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
Huge news! After 38 years, C++23 finally removes Garbage Collection from C++
Dmitrii Kovanikov tweet media
English
92
129
3.5K
466.3K
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@JBrooksBSI No, it just says I haven't implemented that part *yet*. In fact, I specifically say I don't want a frame buffer, partly because of the latency it introduces.
English
0
0
0
23
John Brooks
John Brooks@JBrooksBSI·
@ShacharShemesh Oh, I thought early in your video you had a diagram where the AppleII video was planned to be eliminated by migrating AppleII pixels to a unified HDMI output.
English
1
0
0
37
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
Hurray! A new video is up. After 3 years of constantly thinking it's just around the corner, I finally got HDMI output working. And without using a frame buffer*! * - for some definition of "frame buffer". youtu.be/H_KDwbn5FYw
YouTube video
YouTube
English
1
2
6
520
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@JBrooksBSI Oh, no. That Apple II side will have 100% authentic(ish) display, converting the Apple memory directly into pixels. All that I've discussed is the frame buffer for the RISC-V. The display is two controllers, both converting memory into pixels, and a component that merges them
English
1
0
0
40
John Brooks
John Brooks@JBrooksBSI·
@ShacharShemesh Very nice! I too tried 32-bit pixel HDMI for my AppleII VidHD card in 2018, but the DDR bandwidth was too high. I dropped back to 16-bit A1R5G5B5. Your 8-bit pixel is even better, but HGR/DHGR artifact colors might need more bits, especially at higher resolutions. Keep going!
English
1
0
2
87
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@iyoushetwt My first three were: Applesoft Basic 6502 Assembly C (K&R version)
English
0
0
0
12
Ayushi☄️
Ayushi☄️@iyoushetwt·
What was the first programming language you learned ? Mine : C++
Ayushi☄️ tweet media
English
1.9K
164
3.6K
199.6K
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
A video is up for a C++now talk I attended in person. I skim through it. At some point the speaker, @linusbm, shows a graph and explain spikes in performance. Current me has a question, but that's okay, because original me asked the exact same question. youtube.com/watch?v=KFe6LC…
YouTube video
YouTube
English
0
0
1
78
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
A new video is up, in which I speak Chinese. Oh, and I also may or may not talk about PCB traces zigzagging, as well as how difficult it is to time DDR signals. But mostly, Chinese. youtu.be/Js6-K9lFsYw
YouTube video
YouTube
English
1
1
3
188
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@halvarflake For a moment there I thought my German is much worse than I thought, until Google Translate said it was Dutch.
English
0
0
1
5
Halvar Flake
Halvar Flake@halvarflake·
Keeping America safe?
Halvar Flake tweet media
English
2
0
2
1.8K
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@gadievron If you've only started thinking of patching after deployment, you've already neglected the basics.
English
0
0
1
6
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
@gadievron While I agree with everything you said in this thread, I think of "the basics" in a different way: Instead of asking "how feasible is it to do them", I ask "how can I construct my system *so that* it is feasible to do them".
English
1
0
1
13
Gadi Evron
Gadi Evron@gadievron·
Unpopular Opinion #1: I don’t like The Basics. Not because they don’t matter. They do. I patch, I enforce MFA, I budget for backups and segmentation. But “the basics” have been turned into a cult.
English
3
0
2
212
Shachar Shemesh
Shachar Shemesh@ShacharShemesh·
Can someone please explain to me how can YouTube's transcription transcribe me saying "subroutine" as "subruine"? I though, for all AI's faults, it was supposed to always produce a real word (even if not the one I said).
English
0
0
1
82