HNHacker News
TopNewBestAskShowJobs

felixguendling

104 karma · joined September 21, 2015

submissionscomments
felixguendling··on The Goose Programming Language
in C++ this could be done with `cista::raw::vecvec<char>` where only string start positions are stored (end is not necessary because end = start of the next -> 4 byte per string) https://github.com/felixguendling/cista/blob/master/include/...
felixguendling··on Pareto Front
If you optimize one criterion, it's simple: lowest is best or highest is best. If you optimize multiple criteria, all optimal trade offs between any of the selected criteria are "best" in some way.
felixguendling··on OpenTrafficMap
I guess we only find out if some people order those chips and check if there is some data. From my understanding the idea is the same like maps showing air planes or ships (for ships it’s AIS). So without volunteers/pioneers who participate we won’t know. It seems like traffic lights and trams also can send data.
felixguendling··on OpenTrafficMap
It's based on Car2X/Vehicle2X data that's sent unencrypted and can be received with chips you can order from China.
felixguendling··on Hyper-optimized reverse geocoding API
Have you tried MOTIS with only the geocoding enabled? This should be 1-2 orders of magnitude smaller.
felixguendling··on Text-Based Google Directions
Similar just based on open source + open data https://social.tchncs.de/@Jbb/116082509413974306
felixguendling··on Beyond OpenMP in C++ and Rust: Taskflow, Rayon, Fork Union
Would you recommend this as a "thread pool" / coroutine scheduler replacement for an application web server?
felixguendling··on Open Source Projects Receive Funding to Reclaim the Public Internet
Thanks! Maintainer of MOTIS here. We're planning to bring support for NeTEx, SIRI and OJP to MOTIS and with those formats a lot of features that are only available with those formats but not with GTFS(-RT) (yet). But having them implemented will also help us to quickly activate them for GTFS(-RT) once GTFS(-RT) gains support.
felixguendling··on Why I'm leaving Elm (2020)
I asked "Ask HN: Is Elm dead" in 2022 with mixed results. https://news.ycombinator.com/item?id=31485011

IMO it's safe to say that Elm is dead and won't come back with this attitude of the core team (which is not the only problem of the language). We never switched to Elm 0.19 from 0.18 but moved on to rewrite in Svelte 5 with TypeScript and never looked back.

felixguendling··on Portable and vendor neutral parallel programming on heterogeneous platforms
Just found this and couldn't find anything about it but it looks interesting. Does anyone have experience with it? Seems like a competitor to CUDA from AMD and Intel?
felixguendling··on Show HN: htmz – a low power tool for HTML
Regarding the size I would guess that if htmz would be extended to have the same features as htmx, it would also be similar in size? Would it make sense to modularize htmx in order to only pay for what you really use to support adding features without necessarily increasing the downloaded size?
felixguendling··on C Is the Greenest Programming Language
Looking at the benchmark where C++ is worst compared to other languages, it's depending on the library used. I would guess if they used Google's re2 Regex library instead of Boost's, the result would be different.

https://github.com/google/re2

https://github.com/greensoftwarelab/Energy-Languages/blob/ma...

felixguendling··on Rkyv: A zero-copy deserialization framework for rust
Exactly the same approach for C++ (including RelPtr which is called offset_ptr in cista): https://cista.rocks
felixguendling··on Ubicloud – open, free and portable cloud
Let's assume, Hetzner or OVH themself would just take Ubicloud and offer this as a service without paying any money to Ubicloud. In this case, many customers would just use the Hetzner/OVH offer (everything from the same vendor = more convenient) and Ubicloud has no way to make money. The AGPL license would not prevent IaaS providers from doing so. I think it's not easy to build a stable business as a company if everything is OpenSource. If Ubicloud would be a pure community project, that would be a different story.
felixguendling··on Ubicloud – open, free and portable cloud
Even with if the third party provider makes no improvements, they can still provide it cheaper because ubicloud pays the development costs? This is a business threat that would not be mitigated by AGPL-3.0?
felixguendling··on Show HN: Workout.lol – a web app to easily create a workout routine
Very nice! What can be added is to group exercises in beginner, medium and advanced and add warmup and stretching routines.
felixguendling··on FOSDEM 2023 is live now
I presented about MOTIS Project. Happy to share with you all the all the algorithmic details, our tech stack, etc, if you're interested. In the talk I just wanted to give a broad overview of what is MOTIS. I think it's really hard to explain data model, tech stack, or algorithms in depth in the time I had for my talk (10min).
felixguendling··on Ask HN: What happened to flatbuffers? Are they being used?
If you're looking for something faster but C++ specific, more compact in serialized size, more efficient in serialization you can try cista: https://github.com/felixguendling/cista (Disclaimer: I'm the author, always happy for feedback, eg in the GitHub issues)
felixguendling··on Real-Time Tokyo Subway Map
Nice! We also did something similar:

Demo: https://europe.motis-project.de/

Project site: https://motis-project.de

Source: https://github.com/motis-project/motis

felixguendling··on Replace std:find_if in 80% of the cases
When reading the title I thought that it is about complexity of linear search vs. better alternatives like hash sets/maps, or at least sorted data structures (binary search).

But if having linear complexity is fine, std::find_if/any_of/none_of/all_of/etc. are of course fine and you should prefer the version that's most expressive.

felixguendling··on Confession Of A C/C++ Programmer (2017)
Don't forget Sanitizers combined with comprehensive test suits. I would always recommend doing both, static and dynamic analysis.
felixguendling··on DIY Video Hosting
Maybe your content is against the rules of YouTube or you want to have a custom paywall for your premium content. Maybe you just don't want Google to collect data about your users. You will be in trouble when Google cancels your account without prior notice.
felixguendling··on Linux Sucks 2020
I don't think that the main purpose of AppImage and containers is to hide technical debt. Being able to package an application 1x to run on many Linux distributions is a huge plus - notably if you don't want to waste resources supporting Ubuntu, RHEL, Gentoo, Arch, etc. by maintaing a separate package for each and every Linux package manager out there.

The same is true for Docker: having a consistent environment is just very useful.

felixguendling··on Embedding Binary Objects in C
The linked page is currently not available. Archive link: https://web.archive.org/web/20200416183057/https://flak.tedu...

There are also ways to do this on Windows and Mac OS X.

This library provides CMake support to do this: https://github.com/motis-project/res

felixguendling··on What If C++ Abandoned Backward Compatibility?
I think the concept would look more like Rust. It is still compiled to machine code, not VM opcode. You do not need a VM and do not require a garbage collector, JIT, etc. which makes it suitable for more use cases.

But: if it's a completely new language (no backward compatibility to C++) - why do we need this? Can't we just use one of those new languages that are already available (Rust, Zig, Odin, Nim, just to name a few).

felixguendling··on Windows 11 could run on Linux
Playstation, Mac OS and many others are based on BSD for that reason (and probably other reasons as well).

I cannot imagine a BSD-based MS Windows but it would be cool!

This would probably solve slow filesystem I/O (which is one of the major pain points for me when working under Windows, especially if you have a large number of small files).

However, it's important for Windows to keep backward compatibility for applications using old APIs. I think that's a major selling point vs. other platforms.

felixguendling··on C++ UI Libraries
I consent with you that many pros and cons are rather subjective and pros/cons depend on the specific use case. On the other hand, I like having a list of all these libraries with their supported platforms, license and a screenshot. This alone gives a pretty good overview of what's there. Not all pros/cons are subjective (e.g. having a GUI wysiwyg editor is definitely a pro for some use cases). Anyway, thanks for sharing your view and thanks for sharing this comprehensive overview.
felixguendling··on Modern C++ Won't Save Us
For everyone interested in experimenting with this: https://gcc.godbolt.org/z/vmcnXh

Godbolt's compiler explorer is a great tool to try new features (language, compiler, standard library, etc.).

felixguendling··on C++ : if constexpr isn't broken
If you refer to `if constexpr`: There is no dark magic. Most of it is already possible with C++11 meta programming (i.e. with std::enable_if [0]). However, it's much more readable now (and it's more fun to write :D). I think we're on a good way that compile time programming will be more easily accessible.

[0] https://en.cppreference.com/w/cpp/types/enable_if

felixguendling··on Show HN: Stensal SDK: Retrofitting C/C++ code with quasi-memory-safety
Looks interesting. I have some questions:

(1) Where can I find a minimal code example where Stensal SDK finds a bug that could not be found with Valgrind, Sanitizers (i.e. Asan, UBSan) nor with MSVC debug mode?

(2) From the Get Started guide it looks like Stensal SDK is a custom compiler. If this is correct: which versions of C++ does it support? Does it fully support C++17? Is it based on another compiler (GCC/Clang)?

(3) As your pricing seems to be on a 'per user'-basis, does the CI server count as a single user?

(4) What is the observed slowdown in real-world applications? Or benchmarks like these: https://github.com/google/sanitizers/wiki/AddressSanitizerPe...

Page 1 of 2Next →