ワールドニュース strat_ai_server

  • Macklemore dropped from Ed Sheeran tour following Palestine advocacy
    aljazeera_all | 2026-09-14 20:40 | id : 155143

    Gillette Stadium owner cites concerns over Macklemore's rhetoric as reason for barring him from performances.

  • Lilly says Foundayo has captured over 30% of new US patients on oral weight-loss drugs - Reuters
    reuters_world | 2026-09-14 20:38 | id : 155209

    Lilly says Foundayo has captured over 30% of new US patients on oral weight-loss drugs  Reuters

  • Trump approval up from record low, but outlook sours for Republicans, Reuters/Ipsos poll finds - Reuters
    reuters_world | 2026-09-14 20:35 | id : 155157

    Trump approval up from record low, but outlook sours for Republicans, Reuters/Ipsos poll finds  Reuters

  • Ukraine will support energy ceasefire if US ensures Moscow's intent, Zelenskiy says - Reuters
    reuters_world | 2026-09-14 20:21 | id : 155124

    Ukraine will support energy ceasefire if US ensures Moscow's intent, Zelenskiy says  Reuters

  • Multiple vehicle road crash in South Africa kills 21
    aljazeera_all | 2026-09-14 20:21 | id : 155144

    Fatal traffic accidents are a recurring problem for South Africa. 

  • Finland shelters under French nuclear umbrella amid Russian, US uncertainty
    aljazeera_all | 2026-09-14 20:20 | id : 155145

    Finland becomes 10th European state to sign up to military cooperation and nuclear deterrence initiative.

  • 楽天モバがおわび ID連携必須を撤回
    dmenu_business | 2026-09-14 20:15 | id : 154983

  • TNEC.BO - Reuters
    reuters_business | 2026-09-14 20:10 | id : 155257

    TNEC.BO  Reuters

  • 「国保逃れ」38社で1万1610人確認
    dmenu_business | 2026-09-14 20:03 | id : 154984

  • Elon Musk’s X Corp and SpaceXAI drop antitrust lawsuit against Apple
    aljazeera_all | 2026-09-14 19:59 | id : 155146

    The companies had accused Apple of favouring OpenAI’s ChatGPT over rival AI chatbots.

  • Exxon Mobil shuts down Joliet refinery after power outage - Reuters
    reuters_world | 2026-09-14 19:56 | id : 155079

    Exxon Mobil shuts down Joliet refinery after power outage  Reuters

  • Sudan aid networks at risk of collapse, UN agencies warn
    aljazeera_all | 2026-09-14 19:51 | id : 155147

    Without immediate donations, shelter and aid relief supplies could be depleted by the end of the month, says IOM.

  • 中国 イランへの情報提供報道を一蹴
    dmenu_world | 2026-09-14 19:51 | id : 154965

  • Funerals for children killed after fire spreads to school in DR Congo
    aljazeera_all | 2026-09-14 19:50 | id : 155148

    Memorial services were held for at least 28 children who were killed after a fire spread to their school in DR Congo.

  • Serbia's President Vucic says he will run for prime minister amid student protests - Reuters
    reuters_world | 2026-09-14 19:47 | id : 155161

    Serbia's President Vucic says he will run for prime minister amid student protests  Reuters

  • What’s the VAR mistake controversy in Haaland’s Man City goal vs United?
    aljazeera_all | 2026-09-14 19:46 | id : 155149

    Football players, fans, managers, and experts call for more accountability and less reliance on VAR for crucial calls.

  • US senators weigh requiring AI giants to commit to preventing catastrophe - Reuters
    reuters_world | 2026-09-14 19:43 | id : 155126

    US senators weigh requiring AI giants to commit to preventing catastrophe  Reuters

  • EU is set to propose ban on social media and AI chatbots for under-15s - Reuters
    reuters_world | 2026-09-14 19:35 | id : 155125

    EU is set to propose ban on social media and AI chatbots for under-15s  Reuters

  • Trump privately met with OpenAI’s Altman at GOP convention, MS Now reports - Reuters
    reuters_world | 2026-09-14 19:34 | id : 155131

    Trump privately met with OpenAI’s Altman at GOP convention, MS Now reports  Reuters

  • Trump says calls for more control on AI are a ‘SICK conspiracy’
    aljazeera_all | 2026-09-14 19:32 | id : 155150

    US president says current oversight is adequate and regulations could allow China to win AI competition.

  • 8217.T - | Stock Price & Latest News - Reuters
    reuters_business | 2026-09-14 19:22 | id : 155441

    8217.T - | Stock Price & Latest News  Reuters

  • Member of British armed forces killed in Ukraine crash, says MoD
    guardian_world | 2026-09-14 19:08 | id : 155091

    Ministry of Defence says person, who has yet to be identified, died in road traffic incident not believed to be result of hostile actionA member of the UK armed forces has been killed in a crash in Ukraine, the Ministry of Defence said.The person, who has not yet been named, died in a road traffic incident on Saturday. It is understood the incident was not a result of hostile action. Continue reading...

  • Bayer's Monsanto unit urges Missouri judge to approve $7.25 billion Roundup settlement - Reuters
    reuters_world | 2026-09-14 19:01 | id : 155132

    Bayer's Monsanto unit urges Missouri judge to approve $7.25 billion Roundup settlement  Reuters

  • Using Go to Build a Shared E-Bike Platform: Device Connectivity, Geofencing, and Real-Time Operations
    golangbridge | 2026-09-14 18:50 | id : 160990

    Hi Gophers, I’d like to share **ebike-go**, a source-available collection of Go services for shared e-bike and pedal-assist bike operations: github.com GitHub - wanghengwen/ebike-go: 共享电单车系统的开源实现,包括设备接入/业务处理/结算分账等,适合城市运营以及景区场景 共享电单车系统的开源实现,包括设备接入/业务处理/结算分账等,适合城市运营以及景区场景 The project grew from real operational requirements for city bike-sharing programs and tourist attractions. From a rider’s perspective, the process is simple: scan, unlock, ride, and return. On the backend, however, every trip involves live device connections, location updates, parking validation, helmet checks, pricing, promotions, payments, and operational reporting. This type of system has turned out to be a good match for Go. ## Where Go fits in a shared e-bike system ### 1. Maintaining connections with a large number of bikes Each bike has an IoT controller that reports information such as: - GPS location - Battery level and BMS data - Lock and riding status - Faults and alarms - Smart helmet status The backend also needs to send commands for unlocking, locking, powering the bike, finding a bike, or opening the battery compartment. In ebike-go, the device gateway is implemented as a separate Go service. Go’s lightweight goroutines and networking support make it practical to manage many long-lived device connections without requiring a complicated threading model. Device messages can arrive through TCP or MQTT. After protocol decoding, events are passed through Kafka to consumer and worker services. Redis is used for frequently accessed device state, while business events continue to the order and operations services. The simplified flow looks like this: ```text Bike / IoT controller | TCP or MQTT | Go device gateway and protocol decoder | Kafka | Go consumers and workers | Redis, MySQL, and business services ``` This separation keeps connection handling and binary protocol decoding away from slower business operations. ### 2. Processing bursts of device events Bike traffic is not evenly distributed. Morning commutes, tourist opening hours, promotions, and large return events can create sudden traffic spikes. Go works well here because the services can process independent messages concurrently while keeping the code relatively straightforward. Device ingestion, command delivery, state updates, and asynchronous tasks are split into independently deployable services, so the busiest part can be scaled without scaling the entire platform. Kafka provides buffering between live device traffic and downstream processing. This is important when bikes continue reporting data while a database or business service is temporarily slow. ### 3. Fast geofencing during unlock and return Parking is one of the hardest operational problems in shared mobility. Before unlocking or returning a bike, the platform may need to determine whether the current location is: - Inside the service area - Inside an approved parking zone - Inside a no-parking or no-riding area - Close enough to a designated station These checks happen on the user-facing path, so latency matters. The geofencing service is written in Go and kept separate from general business APIs. This lets us optimize and scale geometry-heavy checks independently. GPS alone is not always accurate enough. The business flow can also combine geofencing with Bluetooth beacons or RFID tags to confirm that a bike is parked in the correct place. ### 4. Keeping business domains independent The repository is organized as multiple Go modules rather than one large application. The main service areas include: - API gateway and authentication - Customer and operator APIs - Device gateway and protocol handling - Device state consumers and background workers - Geofencing - Order, pricing, and promotion integration - Operational analytics - Notifications - Open APIs for external systems Most HTTP services use Gin. The supporting infrastructure includes Nacos, Redis, Kafka, MySQL, Docker, and Kubernetes. Using multiple services does add deployment and observability work, so this structure is not intended as a recommendation for every Go project. In this case, the boundaries follow workloads that behave differently: long-lived connections, CPU-heavy geofencing, user-facing APIs, and asynchronous event processing. ### 5. Building small deployment units Go’s static binaries and relatively fast startup are useful for containerized deployment. Each service can be built, deployed, restarted, and scaled independently. This is particularly helpful for shared mobility, where traffic varies by region and time of day. A device gateway may need more capacity during a fleet rollout, while customer-facing APIs may peak during commuting hours. ## Business capabilities built on top The Go services support more than bike connectivity. The platform also covers: - The complete scan, unlock, ride, and return process - GPS geofences, Bluetooth parking beacons, and RFID parking points - Smart helmet pairing, status checks, and return rules - Configurable fares for different regions and vehicle types - Ride passes, coupons, memberships, referrals, and promotional campaigns - Multi-tenant operations - Merchant accounts, revenue-sharing records, refunds, and revenue reports The goal is to provide a practical foundation for organizations operating their own shared e-bike service, while keeping device communication and operational rules under their control. ## What I’d like feedback on I’m especially interested in hearing from Go developers who have worked on IoT, mobility, or real-time systems: - How do you structure connection ownership and command delivery across multiple gateway instances? - Which approaches have worked well for high-frequency geospatial checks in Go? - Where would you draw service boundaries in a system that combines IoT traffic and transactional business flows? - Which parts of this project would be most useful to document or provide as standalone examples? Issues and pull requests are welcome, especially for bug fixes, documentation, observability, and clean example configurations. Repository: **GitHub - wanghengwen/ebike-go: 共享电单车系统的开源实现,包括设备接入/业务处理/结算分账等,适合城市运营以及景区场景 · GitHub** 1 post - 1 participant Read full topic

  • Djibouti humanitarian situation worsens as Yemenis seek refuge
    aljazeera_all | 2026-09-14 18:46 | id : 155151

    Djibouti humanitarian situation worsens as Yemenis seek refuge

  • アーモンド効果 細菌混入で自主回収
    dmenu_business | 2026-09-14 18:43 | id : 154950

  • Europe must build own AI or risk getting cut off by US or China, says ECB’s Lagarde
    guardian_world | 2026-09-14 18:41 | id : 155154

    Central bank chief says continent’s AI dependency could give trade partners unprecedented leverage in negotiationsEurope must develop its own AI technology and build more datacentres in order to nullify the threat of being cut off by the US or China, according to the president of the European Central Bank.Christine Lagarde said the continent needed AI models – the technology that powers AI tools such as chatbots – that were “good enough” to carry out most tasks and run from domestic datacentres. If Europe invests in its own AI tech, said Lagarde, “the threat of being cut off loses its force”. Continue reading...

  • NATO pledges more Ukraine support after Russia strikes near Poland
    aljazeera_all | 2026-09-14 18:40 | id : 155152

    NATO chief Rutte insists Western allies will not be intimidated by Russian attacks meant to 'scare' them off.

  • 米 発電所の温室効果ガス規制撤廃へ
    dmenu_world | 2026-09-14 18:31 | id : 154949

  • Israeli minister threatens to revoke filmmakers' citizenship over Gaza documentary
    bbc_world | 2026-09-14 18:26 | id : 155233

    The film accuses the Israeli army of mass civilian killing in Gaza, and Israeli officials say it could be treasonous.