323 karma · joined Apr 10, 2019 (7y ago) · 60 submissions
comment 2mo ago · link · parent
(fully vibe coded)
comment 3mo ago · link · parent
Finally Vandalism is the worst part of it, but mind you it's named after the Vandals a German tribe after they sacked and looted Rome their oppressors captial.
They say young animals learn survival through playful fights. Maybe western youth learns about freedom through throwing meatballs.
I really don't know but would love to read more about this topic.
comment 3y ago · link · parent
You can implement actor behaviours in go or node or even c, but without that lower level support it will never give you the stability guarantees that Erlang process isolation is giving.
To draw a weird comparison Elixir (with Erlang process isolation) brings two world together. First it's a PHP/Ruby level of fire-and-forget productivity because each http request is handled in an independent isolated process, which if it crashes won't affect the system, but instead provide automatically a nicely debuggable crash log. And second it provides natively all distributed tools for long-lived systems. E.g. PubSub , Sessions and database connections don't have to be rebuilt like in ruby/PHP on a per request basis but can be their own long-lived processes.
If there would be a library that could bring this easy to use process isolation+communication e.g. to C programming it would be a game changer. But the best you get in all other languages I'm aware of is to use actual process isolation (fork multiple node/ruby/go processes) and then use some kind of IPC manually or redis or k8s...
comment 4y ago · link · parent
comment 4y ago · link · parent
I feel we are in a shit triangle here. Ticket prices are too high <-> quality is too low <-> overall cost is too high. There have been ongoing attempts to fix this by increasing rider amounts but at Germanys population density it's impossible to ever get even near to Japanese levels [2] of low total kilometers built with high usages. After my interpretation of things there is some innovation necessary to bring the per KM cost down before the Deutsche Bahn can play a more important role in the transportation.
On the same coin the cost of public transport for families vs. car ownership is just ridiculous. I've got a family of 5 - For every German intercity route going by car is significantly cheaper than going by train - usually 5x cheaper but often more. Same is true for traveling within a city that isn't your hometown (where you might have a monthly ticket). At this point I'm not even sure whether this is a problem that can be solved socioeconomicly.
I feel electric cars, robotaxis and in the future electric planes are much more likely to solve the larger part of of transportation than that railway is going to do it. Especially given that building another set of rails now in Germany is going to take from planning to delivery 15 years. The change of technology should be planned in.
[1] https://www.diw.de/documents/publikationen/73/diw_01.c.34457... [2] https://www.econstor.eu/bitstream/10419/141066/1/vjh_v63_i03...
8.
Chrome: Don't need cookies to track users if you own the browser(twitter.com ↗)
20 points · by dominicl · 5y ago · 3 comments
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Not modern c++ last time I checked but active development for sure.
comment 5y ago · link · parent
comment 5y ago · link · parent
> A researcher studying practices and methods used by developers in the free software community decided that these questions were independent of the developers' political views, so he used the term “FLOSS,”
Unfortunately he doesn't name that researcher, whom he is attributing FLOSS to. Anyone knows?
According to Stallmann "FLOSS" is the most inclusive term including open source with a non-free license though:
> Thus, if you want to be neutral between free software and open source, and clear about them, the way to achieve that is to say “FLOSS,” not “FOSS.”
So and I'm suprised by that, while L stands for libre according to Stallman, the acronym FLOSS is a actually a more liberal term because it is neutral to whether the software in question free or only open source.
comment 5y ago · link · parent
[0] https://stackoverflow.com/questions/21992943/persistent-gc-i...
comment 5y ago · link · parent
Point taken on the checksums, we will add those
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Privacy: The clients are operating peer-2-peer and their communication is end-2-end encrypted. Meaning you and your peers host the data. The relay servers if needed are never and can never see your data.
Unlimited Storage: As it's a peer to peer system, there are no 3rd party servers storing any of your data. So it's limited only by your clients capacity
Open Source: The relay network servers are open source on our github site. The GUI client is closed source, you pay for the convenience. We might open source a pure command line client in the future.
Privacy Policy & Terms: They are linked at the bottom of the page: https://diode.io/privacy-policy/ & ttps://diode.io/msa/
I'm happy to answer all questions on this. Keep em coming.
comment 5y ago · link · parent
I think you're right that there is no upper bound but it shouldn't be necessary to do a full strlen() if you're instead scanning incremental. You could go char by char until the pattern '%f' is fullfilled and then return. That would solve the issue on it's root -- and who know how many programs would suddenly get faster...
So looking at glibc souces I've found the culprit in abstraction. Looks like a FILE* like stringbuffer object is created around the c-string: https://sourceware.org/git/?p=glibc.git;a=blob;f=stdio-commo...
And that abstraction does call something similiar to strlen() when initializing to know it's bounds here: https://sourceware.org/git/?p=glibc.git;a=blob;f=libio/strop...
I'm reading this source the first time, but I guess to not break anything one could introduce a new type of FILE* stringbuffer let's say in 'strops_incr.c' that is working incrementally reading one char at the time from the underlying string skipping the strlen()...
Would be awesome cool if GTA online would be loading faster under wine than on windows :-)
comment 5y ago · link · parent
comment 5y ago · link · parent