Better HN
topnewbestaskshowjobs
Log inSign up

felixguendling

104 karma · joined Sep 21, 2015 (11y ago) · 42 submissions

Submissions

comment 1mo ago · link · parent

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/...

comment 3mo ago · link · parent

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.

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

It's based on Car2X/Vehicle2X data that's sent unencrypted and can be received with chips you can order from China.

comment 8mo ago · link · parent

Have you tried MOTIS with only the geocoding enabled? This should be 1-2 orders of magnitude smaller.

comment 9mo ago · link · parent

Similar just based on open source + open data https://social.tchncs.de/@Jbb/116082509413974306

comment 1y ago · link · parent

Would you recommend this as a "thread pool" / coroutine scheduler replacement for an application web server?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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?

11.

Portable and vendor neutral parallel programming on heterogeneous platforms(github.com ↗)

1 points · by felixguendling · 2y ago · 1 comment

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

Exactly the same approach for C++ (including RelPtr which is called offset_ptr in cista): https://cista.rocks

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

Very nice! What can be added is to group exercises in beginner, medium and advanced and add warmup and stretching routines.

comment 3y ago · link · parent

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).

comment 3y ago · link · parent

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)

20.

Ask HN: Is Elm Dead?

40 points · by felixguendling · 4y ago · 19 comments

comment 4y ago · link · parent

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

comment 5y ago · link · parent

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.

23.

High Performance C++ Serialization and Reflection(cista.rocks ↗)

2 points · by felixguendling · 5y ago · discuss

comment 5y ago · link · parent

Don't forget Sanitizers combined with comprehensive test suits. I would always recommend doing both, static and dynamic analysis.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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).

comment 7y ago · link · parent

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.

12