kq

Results 17 comments of kq

Possible (quick and dirty) fix: - ~~https://github.com/kbridge/spdlog/blob/v1.x/include/spdlog/details/periodic_worker.h~~ - ~~https://github.com/kbridge/spdlog/blob/v1.x/include/spdlog/details/periodic_worker-inl.h~~ ↓ See below

Yes. Can't believe g++ has the same issue. These buggy standard libraries... :disappointed:

@gabime Would you like to add a workaround, or leave this to standard library implementors?

Of course this is out of spdlog's scope! To be helpful, let me post my workaround here, for people who suffer. Then we can close this issue.

spdlog periodic_worker workaround for MSVC https://gist.github.com/kbridge/251808f0cb7411782c3a2ce5f4877287

I think I will try someday, or maybe someone else. I'm a Windows programmer. Haven't been working with pthreads for a long time.

Very simple workaround: ```cpp #undef ELPP_FUNC #define ELPP_FUNC __FUNCTION__ ``` Add above code after `#include easylogging++.h`, before using any `LOG()` function. So sad this library doesn't provide a "standard" way...

Does this mean we still rely on LLVM or an LLVM-compatible backend for machine code generation?

```py url_template = "http://climate.weather.gc.ca/climate_data/bulk_data_e.html?stationID=5415&Year={year}&Month={month}&format=csv&timeframe=1&submit=%20Download+Data" # url_template = 'https://raw.githubusercontent.com/kbridge/weather-data/main/weather_data_{year}_{month}.csv' url = url_template.format(month=3, year=2012) weather_mar2012 = pd.read_csv(url, index_col='Date/Time (LST)', parse_dates=True, encoding='utf-8-sig') ``` Summary: - `url_template` is the same as @GillesMoyse posted. That...

Before renaming the columns to eliminate `°` characters, drop some unexpected new columns first: ```py weather_mar2012 = weather_mar2012.drop(['Longitude (x)', 'Latitude (y)', 'Station Name', 'Climate ID', 'Precip. Amount (mm)', 'Precip. Amount...