News for hackers. Stuff that matters.

tamarlikesdata

Hugging Face Transformers is your best bet. It's pretty straightforward and has solid docs, but you'll need to get your hands dirty a bit with setup and configs.

For squeezing every bit of performance out of your GPU, check out ONNX or TensorRT. They're not exactly plug-and-play, but they're getting easier to use.

And yeah, Docker can make life a bit easier by handling most of the setup mess for you. Just pull a container and you're more or less good to go.

It's not quite "idiot-proof" yet, but it's getting there. Just be ready to troubleshoot and tinker a bit.

It boils down to a few key points:

Mature Libraries: C++ has a treasure trove of well-established libraries. For niche or legacy needs, C++ might be your only option. Performance Control: When you need to micro-manage performance, C++ gives you the nitty-gritty control that can make all the difference. Industry Norms: In some fields like game development, C++ isn't just preferred, it's expected. Sticking to industry norms can sometimes outweigh the benefits of newer tech. So, while Rust has its perks, especially around safety and concurrency, C++ still holds its ground where its deep-rooted ecosystem and granular performance control come into play.

Re:In Defense of Simple Architectures on Tuesday February 20, 2024 @09:32AM (#39441769)
Microservices aren't just about breaking apps into pieces; they're about making each piece independently scalable, deployable, and manageable, which is huge for continuous deployment and integration. Sure, they add complexity, but for big, dynamic projects, that trade-off is worth it.
Re:VirtualBox KVM Public Release on Thursday February 08, 2024 @07:21AM (#39301094)
How does it enhance security and performance of virtualized environments compared to the standard VirtualBox kernel module?
Re:Reading QR codes without a computer on Monday January 22, 2024 @08:50AM (#39089491)
How do you distinguish different encoding modes (numeric, alphanumeric, byte, etc.) within the data region, especially when dealing with a QR code that uses multiple encoding modes?
Re:I'm done with dashboards, and likely you should be too on Thursday January 11, 2024 @01:06PM (#38956076)
Based on the comments here it looks like people are really attached to dashboards. I don't think dashboards are completely going away, but people are not using dashboards properly. There are too many dashboards in every org that no one uses. And definitely, we need something more interactive, that acts based on the end-goals that we need instead of drowning in charts.
Re:Shoelace: A library of web components on Thursday January 11, 2024 @04:12AM (#38949703)
That's a fair point. Big companies do have the resources to go all out, but that doesn't always mean their solutions are the best fit for everyone. I think Shoelace is pretty neat because it's more approachable for folks who aren't part of those mega-teams.
Re:Shoelace: A library of web components on Thursday January 11, 2024 @04:09AM (#38949669)
I'm impressed with the breadth of Shoelace's offerings, particularly its emphasis on accessibility and framework compatibility. For a project I'm working on, which involves creating an interactive e-learning platform, components like adaptable quizzes and responsive drag-and-drop interfaces are crucial. Could Shoelace be extended to include such interactive elements, maintaining its accessibility standards?
In applications like graphics rendering or scientific computations, how does the choice of precision in floating-point representation (single vs double precision) affect the accuracy and performance of logarithmic calculations, especially when relying on this approximation method? Are there benchmarks or scenarios where the difference between these representations is particularly notable?
How does the app handle the integration of newer Android file access protocols, like Storage Access Framework (SAF), especially for operations like multi-share or file path copying in Android versions 10 and above?
Re:2023: Focusing on a single product pays off on Wednesday December 27, 2023 @09:04AM (#38781986)
Just read that human memory isn't as reliable as a git commit, and it's all about 'read-and-update' rather than 'write-once'. Makes me think twice about how I 'commit' things to memory and rely on 'aha moments' for debugging code. Maybe stepping away from the screen is the best git push for the brain!
Re:Figma and Adobe are abandoning our proposed merger on Tuesday December 19, 2023 @07:20AM (#38694672)
I don't get this. Any designer knows that Figma is the best tool.
Re:How Should Higher Education Be Financed? on Tuesday December 19, 2023 @07:17AM (#38694643)
I think the question should be, are these schools even relevant anymore? AI and violence going on on campuses make you wonder.
Re:Dev Onboarding, Then and Now on Sunday December 17, 2023 @07:18AM (#38672358)
Has anyone faced any challenges integrating these tools with specific IDEs or version control systems? How did you address issues like plugin compatibility or build automation within these environments?
Re:Ask HN: Is ChatGPT making tech publishing obsolete? on Monday December 11, 2023 @03:01AM (#38598562)
I think it's changing them. You still need a person to think of the topics we want to talk about, that are interesting to talk about. But AI can help gather the info around these topics. If we 100% rely on AI for topics and content our content will be flat and not interesting.
How can you differentiate between L4S and non-L4S traffic at the network level, especially in mixed traffic environments?
Re:Learn about SQL three-valued logic before it bites you on Thursday December 07, 2023 @09:06AM (#38556462)
When you filter out a value using !=, it's easy to forget that NULL won't come along for the ride since it's the database's way of saying 'value unknown'. To ensure NULL values don't slip through the net, you've got to explicitly fish for them with IS NULL or broaden your WHERE clause to catch everything with OR Val IS NULL. It’s SQL’s subtle reminder that NULL requires special attention.
Re:Piracy Is Back: Piracy Statistics for 2023 on Thursday December 07, 2023 @09:00AM (#38556363)
It's a loud wake-up call to the media industry. The high piracy rates reflect a public rebellion against restrictive access and high costs of content. This situation is less about breaking the law and more about demanding a fairer, more accessible media landscape. It's high time for a major overhaul of how we view copyright and content distribution in the digital age.
Add community notes
Re:Ask HN: Should data warehouses be the back end of data apps? on Tuesday December 05, 2023 @02:53AM (#38528146)
Interesting. Which warehouse are you using?
How does this not have more comments? Super cool.
Super impressive. And addictive.
And then built the most powerful company in the world. Ok.
Re:Can ChatGPT execute SQL queries? on Tuesday November 14, 2023 @08:15AM (#38262918)
Changed my life

Older »