Hacker News new | past | comments | ask | show | jobs | submit | ausjke's comments login

It seems libsdl2 does not support framebuffer anymore, which is critical for embedded devices(no gpu or 3D acceleration i.e. opengl needed there)


Yeah, libsdl2 is built around more modern rendering devices and drawing APIs, and supports far fewer (but more popularly used) platforms. And is vastly faster on those platforms than SDL1.2 used to be, since it’s playing to the strengths of those modern devices, instead of fighting against them the way that SDL1.2 did.

Do note that libsdl2 can emulate framebuffer-style “I just want to splat pixels to the screen”-style program architectures just fine using “streaming” textures [0], but that’s not going to help you if it doesn’t support your platform.

If you need broader platform support and/or are running on low-power devices, then libsdl1.2 is still around and supported, and is probably a more appropriate choice for such projects.

[0]: http://wiki.libsdl.org/MigrationGuide#If_your_game_just_want...


It supports kmscon, maybe if works in software.


I'm trying htmx after years of frustration with all other SPAs and build tools and changes.

after reading the site I still feel I need a little more information, is there known projects made with htmx somewhere for me to study?

Thanks for the great work!!


It's pretty new but people are starting to publish information on using it:

https://www.mattlayman.com/blog/2021/how-to-htmx-django/

https://www.jerriepelser.com/blog/using-htmx-with-aspnet-cor...

You can also join the discord server if you have questions:

https://htmx.org/discord


Great. Thanks!


"Since I started interviewing, we have only hired white or Asian men" -- I actually found this outright racism, it's like saying our NBA roster are still mostly black for the last few decades.

Focus on the merit of them, not the skin color, like Dr.M.L.K said. It's hard to force an Asian to be a NBA player, and it might be difficult to force some black to be a coder, they all have their fields to shine, I pick this just trying to make a point, you pick people by how good they are, not how their skin color looks.


pure text is easy to work with most of the time, in fact ascii diagram is used heaviyl in RFCs


200 years is good enough for me, how can I do that? How much do I need to get that? Do I need replace my blood every 3 months like Peter Thiel is doing?

Read somewhere saying our DNA is coded at 120 years 16 days or something like that, everything expires after that point, unless you can replace them ahead of time, if we know how that is.


I am learning python right now, Python is not only non beginner friendly, it's also not C-family(java,c++,js...) friendly(assuming most developers knew some C before taking on Python). That been said, it's versatile enough for me to continue, but calling it beginner-friendly is misleading to say the least.


> Python is not only non beginner friendly, it's also not C-family(java,c++,js...) friendly(assuming most developers knew some C before taking on Python).

Python is at least as close to “C-family” as JS; it's also probably not the case that most people learning Python knew some C first, since it's been fairly prevalent in introductory classes as a first language, while C is not particularly common as an introductory teaching language anymore.


I disagree with it being non beginner-friendly. Too many of the resources are geared towards beginners, and its docs aren't as thorough as Java's.


Python is absolutely not beginner friendly, but JS is just worse when you consider its who-knows-what-is-in-there nodejs and npm and twenty different ways to build and treeshaking or whatever. If I have to pick one, it has to be python unless I do web frontend.


after the election I cut the ties with all long-term friends who holds a different political view, none of us can bear with another sides so let's get rid of each other. I feel so much relieved actually and never looked back, in fact I should have done this long time ago. There is no way to get along, YOLO, no need to bend just for the fake of outdated nothing-in-common 'friendship' anymore.

for those who are not even old friends and on the other side of the wall, I hope we live in different countries and never see each other ever on the street.

I never felt that disappointed in the so called democracy, for a 50:50 split in this country, something must be changed or it will tie both sides deadly, nothing can be done then. Maybe a war is indeed the way out.


That's just nuts and it doesn't need to be that way.

Your politics is not your identity. Other people's politics are not their identity. It's just differences in policy opinions which can and do change through life or as circumstances change.

If a person is intrinsically welded to political affinity as _the_ defining characteristic of themselves or others it's a huge problem. A huge imbalance. A horrible and shallow misunderstanding of the nature of the human experience.

Most people want the same things out life and for society, they just have different ideas on the best policies to achieve this. Very few people are intrinsically and irredeemably evil. Many more are simply confused or misguided. Sometimes it's us that's misguided. Its useful to keep somewhat of an open mind and understand people view the world in different ways.

Your friends are people and your friends not Democrats and Republicans.


"Politics" is how someone would treat you if they didn't know you.


Use RPi for NAS is really a stretch. Just buy those low-power x86 mini-itx boards with 4GB memory and 4 SATA ports along with gigabit ethernet, they're around $150?

Note the smaller size of RPi-etc makes no sense when you're going to host 4 hard drives anyways which takes quite some space on their own, and you need a decent PSU for the drives too, and a solid case as well, etc.

Just buy those ASRock mini-itx boards at newsegg or somewhere and let RPi do what it's best at.


Suppose if the sale did not succeed, what will happen to Nvidia's high-flying stocks partially caused by this merger? I don't own Nvida stocks, just be curious


IIRC, the stock is actually down since the announcement. Nvidia is buying ARM because of its high stock price. The stock already ran up thanks to the AI boom.

Honestly, I work at NVDA and I think the deal is dumb. I don't see what benefit it brings to us. The industry is beginning to move away from ARM, so buying yesterday's technology seems like a bad move.


You're right, it does not seem ARM-acquisition helped or damaged NVDA stock both ways over the past 5 months.

"Moving away from ARM", to where? X86 does not seem like a good destination, RISC V is not there, MIPS/AI-chips etc are not a trend either, I honestly don't know where else the CPU industry can move to.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: