• 0 Posts
  • 38 Comments
Joined 3 years ago
cake
Cake day: July 16th, 2023

help-circle


  • I am a big SQL fan but not all data has to be relational.

    Let’s say I want the GPS coordinates of ten million vehicles every 5 seconds. I have a vehicle id, a timestamp, and coordinates. I do not care if a few writes get lost. Why does this have to be relational?

    And perhaps I also record other info that may change from vehicle to vehicle. Perhaps just values that are true if present. DoorOpen, BrakeApplied, LightsOn, LightBarOn, EngineOn, etc. I may only be displaying this data in a UI. I may get different values from every vehicle or even every write. There is no “schema”. I mean, I can have a JSON field or something in my relational table? But this is not exactly relational anymore.










  • What?

    First one is optimized obvious.

    Second one optimizes to x = 10 via constant propagation.

    Third one first unrolls the loop, propagates constants including booleans, and then eliminates dead code to arrive at x = 10.

    The last one cannot be optimized as “new” created objects that get used, nextInt() changes the state of those objects, and the global state of the random number system is impacted.




  • The Industrial Revolution was literally “are you truly impressed by a machine that can weave cloth as well as your grandmother”? And the answer was yes because one person could be trained to use that machine in much less time than it took to learn to weave. And they could make 10 times as much stuff in the same time.

    LLMs are literally the same kind of progress.

    Except we are not 200 years later when the impact on the world is obvious and not up for debate. We are in the first few years where the “machine” would be broken half the time and its work would have obvious defects.





  • Governments do not have to be involved in projects to pass laws that impact them.

    I would argue greater EU participation in FOSS would improve the situation. One, the number of people in the government that understand how FOSS works may increase and frankly ignorance is often the problem. Second, if lawmakers themselves or the things they care about rely on FOSS, they will be much less likely to kick the legs out from under it.

    From a code perspective, the risk is low. If it is just that they add back doors (not because it is the law), we simply create versions without those back doors and use that instead.

    I do not think that developers have any greater insight into social or legal issues than you do.


  • Well, I think some fully remote is fine. However, I do think hybrid is the best model. Just my opinion.

    One of the “dangers” of fully remote is that they become fully global. The amount a company will pay becomes disconnected from the cost-of-living. That creates inequity. Not just that employees in richer areas may be underpaid but also that remote employees for rich companies may be paid far more than their countrymen in their home market.

    I don’t really like the idea of running decades of income lottery while the global order works this all out.

    Even within a single country it can be fairly extreme.