andreidd
Re:Memory Safe Languages: Reducing Vulnerabilities in Modern Software ...
on Sunday June 29, 2025 @05:01AM (#44411437)
What's stopping you from UAF or OOB array access in Delphi?
Re:Memory Safe Languages: Reducing Vulnerabilities in Modern Software ...
on Sunday June 29, 2025 @03:32AM (#44411003)
Why is Delphi/Object Pascal an MSL?
Re:Show HN: Workout Tracker PWA
on Wednesday March 06, 2024 @12:14AM (#39612559)
What libraries have you used?
Re:Why you should probably be using SQLite
on Friday October 27, 2023 @09:22AM (#38038095)
Why not use “:memory:”?
Re:Speed Up C++ Compilation
on Saturday August 05, 2023 @06:52PM (#37017022)
std::aligned_storage has been deprecated since C++23
Re:Observable API Proposal
on Friday July 28, 2023 @05:15PM (#36913433)
What’s wrong with generators?
Re:Breaking Up with SVG-in-JS in 2023
on Sunday July 02, 2023 @08:55AM (#36561044)
Using the svg as mask image in css is presented to have the disadvantage of two separate requests (one for css and the other for the svg content). That can be overcome by inlining the svg directly in the css file.
Re:Beautiful branchless binary search
on Friday April 28, 2023 @04:01AM (#35738715)
Nice, but good luck debugging if cmp returns -1. This is C++ after all and there is no constraint/concept to enforce the function to return bool. If you're lucky you get a sign mismatch warning.
Re:Building a Cloud Database from Scratch: Why We Moved from C++ to Rust
on Friday February 10, 2023 @07:25AM (#34738760)
Not entirely true. You can pool allocate a C++ coro.
Re:React Native 0.69
on Thursday June 23, 2022 @07:01AM (#31847392)
You can do both: two years ago I was looking for the best solution to ship a cross platform app (Android + Windows) and I just couldn’t decide whether to go platform-based UI + a shared C++ core or React Native. I ended up using React Native + a shared C++ core exposed as a RN module. As long as the API surface is narrow (and it is for my use case) this turned out well and it still gives me the possibility to scrap RN at any given time for platform based UIs.
Bonus: since most of my logic is C++, I am still able to ship the app using two RN versions: 0.59 for Windows 7 and 0.67 for Android
Re:Experimenting with Rust in Chromium
on Wednesday June 22, 2022 @09:11AM (#31835591)
And then someone will convert a std::string_view to a const char* and things will explode...
Re:Elastic UI – design library in use at Elastic to build internal pro...
on Saturday June 18, 2022 @02:13PM (#31792315)
Nice framework, but the license is oh so strange...
https://github.com/elastic/eui/blob/main/licenses/ELASTIC-LI...
Re:Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs
on Thursday May 12, 2022 @06:01PM (#31360655)
That's interesting, but it won't work with native code that statically links a SSL implementation.
Re:Compile time evaluation in Nim, Zig, Rust and C++
on Tuesday April 26, 2022 @08:28AM (#31166630)
Your example only works because the optimizer eliminates your call to std::to_string.
Call get_fizzbuzz(11) and you'll see the error.
Re:Compile time evaluation in Nim, Zig, Rust and C++
on Tuesday April 26, 2022 @05:12AM (#31165427)
No, it can't. std::to_string isn't constexpr. And even if it was, it still wouldn't work because the std::string needs to be destroyed inside the constexpr context.
The article is also wrong because std::to_chars isn't constexpr so you can't use that.
Re:A hundred things I learned working on the react team
on Friday December 24, 2021 @04:59PM (#29678168)
Is #92 missing?
Re:Ask HN: Best alternatives to Google Analytics in 2021?
on Thursday December 23, 2021 @11:23AM (#29663362)
posthog
* it's open source
* you can self host as a docker container
* you can log from the client side or from the server side
* awesome founders with HN accounts :P
Re:Israel’s Covid-19 boosters are preventing infections, new studies s...
on Thursday September 02, 2021 @04:55AM (#28389923)
Well, that's only partially true. Romania has preordered 120M doses for (at best) 15M eligible people. So either way, we'll have to donate tens of millions of doses.
Re:Goodbye C++, Hello C
on Saturday June 26, 2021 @03:41AM (#27639969)
Is the library open source? If so, would you share a link?
Re:Django for Startup Founders: A better software architecture for Saa...
on Thursday June 24, 2021 @02:41AM (#27614610)
> My answer is to use tools that handle this correctly on the output side (a good db library, an ORM, an HTML template library with auto-escaping, and so on).
Came here to say exactly this! Unless you're building raw SQL queries out of the strings, or you're using them in element.innerHtml, then you should not have to worry about it. Django ORM / Django templates / React / Vue /... will correctly escape stuff for you.
Re:This Blog is now hosted on a GPS/LTE modem
on Friday April 02, 2021 @09:20AM (#26671184)
As somebody who is looking to start a comercial product that needs a cheap SOM with some IOT connectivity I'm wondering whether there is a module similar to the one in the OP, but actually advertised and sold as a computer module rather than just a lte modem. Does anyone know? Something like Onion Omega2s without the SPI bugs.
Re:This Blog is now hosted on a GPS/LTE modem
on Friday April 02, 2021 @09:16AM (#26671160)
I'm a bit confused: does the manufacturer provide a toolchain to compile and run binary code on something that is not advertised as a SOM/SOC, but only as an lte modem?