News for hackers. Stuff that matters.

tirrex

I think chair is the most important part. It looks so comfortable.
Re:Wp-SQLite: WordPress running on an SQLite database on Monday May 16, 2022 @08:52PM (#31404771)
Exactly. Is there any benefit running mysql instead of sqlite for Wordpress? Feels like default db should have been sqlite all along.
When did this happen? Is it new?
Re:Nvidia Research Turns 2D Photos into 3D Scenes on Saturday March 26, 2022 @07:12AM (#30810862)
Are they using four photos or more?
Re:I built a receipt printer for GitHub issues on Saturday March 26, 2022 @07:09AM (#30810844)
This should be improved further. Add a scanner to read handwritten answer and post it as the response.
Re:Uthash – C macros for hash tables and more on Saturday March 26, 2022 @07:03AM (#30810808)
https://github.com/tezc/sc/tree/master/map

For those who are interested in faster hashmaps, I tried bunch of hashmaps and this one performs better than others. This is for C. Maybe C++ has better hashmaps.

Re:Ask HN: What's Up with Google? on Friday January 21, 2022 @09:04PM (#30032463)
I can pay for a search engine service if it blocks paywalls, bloated sites, fake bullshit clickbait contents. It’s time consuming to find what you’re looking for with Google. Unfortuanetely, there is no alternative.
Re:Revolt: Open-source alternative to Discord on Tuesday September 07, 2021 @08:29AM (#28443862)
How are they going to make money and support the development?
Re:Impact of Undefined Behavior on Performance on Friday July 09, 2021 @01:59AM (#27780842)
> And how much impact does it have on runtime performance? Well even computing a sum for a relative small number 1000, according to cppbench, the signed version is 430X faster.

Although you can find these kind of examples for a few lines of code snippet, the question is what is the impact on overall program? Nowadays, I guess it has no impact for almost all programs. Because memory access patterns, system call overhead, operating system interaction etc. have much more impact on overall performance compared to optimizations enabled by undefined behaviors.

Thanks, I’ll take a look.
Too much marketing. Don’t get me wrong but I’m lost among “fast, scalable, low latency, high throughput” marketing paragraphs and images.

There are links to other websites(company website I guess), it is same unfortuanetely.

Please consider adding sections/pages about “how did you do it, benchmarks supporting your claim, what is different in your product compared to ndb” etc. If there are links to these somewhere, you may want to make it more visible in your front page.

Re:Minio Changes License to AGPL on Friday April 23, 2021 @08:26PM (#26920890)
Some companies have no AGPL policy.

e.g : https://opensource.google/docs/using/agpl-policy/

Re:C++ Alternative Operator Representations on Friday April 23, 2021 @07:49PM (#26920640)
I agree, “!” is something easy to miss. I prefer “!=“ mostly for this reason.

I am just surprised I’ve never seen this in any code base before.

Re:Beej’s Guide to C Programming [pdf] on Friday April 23, 2021 @07:39PM (#26920572)
Isn’t it type safe? e.g you can’t add char* to a double array.

What do you mean by broken alignment?

Re:C++ Alternative Operator Representations on Friday April 23, 2021 @02:34PM (#26917688)
What is the purpose of this? Does anybody find these more readable?
Re:Beej’s Guide to C Programming [pdf] on Friday April 23, 2021 @02:13PM (#26917510)
For a vector alternative, I find this one easy to read and use :

https://github.com/tezc/sc/tree/master/array

It is just an array of your type, e.g int *numbers, so you have type info in debugger as well.

Re:I'd like to review your README on Saturday April 17, 2021 @06:07AM (#26843063)
fast, simple, scalable, modern, high performance, easy to use, enterprise-grade, secure, production-ready, new generation, lightweight ...

These are common words I see in the first paragraph of readmes. If people can avoid these, they’ll write better introductions. No marketing, no subjective words. Otherwise, I feel like someone is trying to sell me that product.

Re:I'd like to review your README on Saturday April 17, 2021 @05:31AM (#26842888)
It would be great if author points us a few READMEs he likes. So, people can avoid many issues before asking for review.
Re:Java Is Underhyped on Thursday April 15, 2021 @11:35PM (#26829139)
I agree with you.

Actually, Java has great tooling, JVM is very nice, it has great potential for high performance code generation. It has everything for debugging. But at the end of the day, language is driving people to write bloated software.

I just wonder, how come e.g Linux kernel code 100 times more readable than any project in Java? More importantly, how did we come to this point that we accept bloated/unreadable code in the name of higher/better languages?

Re:Java Is Underhyped on Thursday April 15, 2021 @11:25PM (#26829062)
Java style verbosity hurts readability. That’s the most important issue with Java imho.

Take a look at a http server one in Java and one in C. Readability difference is crazy.

My company is in transition from Java to C, for bunch of stuff just for performance reasons. So, I debug similar projects time to time both in Java and C, http server, in memory cache, iot server etc. After seeing both, I just think although Java has great tooling, it drives developers to write unreadable code.

Older »