frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Microsoft Python Driver for SQL Server

https://github.com/microsoft/mssql-python
34•kermatt•2h ago

Comments

zurfer•1h ago
This is really timely. I just needed to build a connector to Azure Fabric and it requires ODBC 18 which in turn requires openssl to allow deprecated and old versions of TLS. Now I can revert all of that and make it clean :)
abirch•1h ago
What my workself would love is to easily dump Pandas or Polar data frames to SQL Tables in SQL Server as fast as possible. I see this bcp, but I don't see an example of uploading a large panda dataframe to SQL Server.
A4ET8a8uTh0_v2•1h ago
Honestly, what I find myself doing more often than not lately is not having problems with the actual data/code/schema whatever, but, instead, fighting with layers of bureaucracy, restrictions, data leakage prevention systems, specific file limitations imposed by the previously listed items...

There are times I miss being a kid and just doing things.

sceadu•43m ago
You might be able to do it with ibis. Don't know about the performance though
abirch•37m ago
Thank you, I'll look into this. Yes performance is the main driver when some data frames have millions of rows.
qsort•39m ago
How large? In many cases dumping to file and bulk loading is good enough. SQL Server in particular has openrowsets that support bulk operations, which is especially handy if you're transferring data over the network.
abirch•32m ago
Millions of rows large. I tried doing the openrowsets but encountered permission issues with the shared directory. Using fast_executemany with sqlalchemy has helped, but sometimes it's a few minutes. I tried bcp as well locally but IT has not wanted to deploy it to production.
__mharrison__•1h ago
Very cool. Used to be a huge pain to connect to sqlserver from Python (especially non Windows platforms).
qsort•46m ago
I do expect this package to make connecting easier, but it was okay even before. ODBC connectivity via pyodbc has always worked quite well and it wasn't really any different when compared to any other ODBC source. I'm more on the data engineering side and I'm very picky about this kind of stuff, I don't expect the average user would even notice besides the initial pain of configuring ODBC from scratch.
tracker1•2m ago
IIRC, I had trouble if I installed the MS ODBC driver and some of the updates for Ubuntu (WSL) out of order. I generally prefer a language driver package where available.

Would be nice if MS and Deno could figure things out to get SQL working in Deno.

denis_dolya•30m ago
I’ve been working with SQL Server from Python on various platforms for several years. The new Microsoft driver looks promising, particularly for constrained environments where configuring ODBC has historically been a source of friction.

For large data transfers — for example, Pandas or Polars DataFrames with millions of rows — performance and reliability are critical. In my experience, fast_executemany in combination with SQLAlchemy helps, but bulk operations via OpenRowSets or BCP are still the most predictable in production, provided the proper permissions are set.

It’s worth noting that even with a new driver, integration complexity often comes from platform differences, TLS/SSL requirements, and corporate IT policies rather than the library itself. For teams looking to simplify workflows, a driver that abstracts these nuances while maintaining control over memory usage and transaction safety would be a strong improvement over rolling your own ODBC setup.

th0ma5•20m ago
This is the correct prospective. Often driver issues transcend technical and political boundaries. My old team dropped a vendor who changed the features of a driver and spent several years trying to find another as well as making that vendor reapply and make a new case, which, didn't work out for them.

Learning the natural history of human disease with generative transformers

https://www.nature.com/articles/s41586-025-09529-3
1•bookofjoe•46s ago•0 comments

Why random lines of video game dialogue get stuck in our heads

https://www.theguardian.com/games/2025/sep/17/video-game-dialogue-pushing-buttons
1•n1b0m•1m ago•0 comments

The Debian-based version and Linux Mint 22.3 will be appearing by year's end

https://www.zdnet.com/article/just-got-linux-mint-22-2-two-more-versions-are-coming-soon-and-they...
1•CrankyBear•1m ago•0 comments

Viaduct, Five Years On: Modernizing the Data-Oriented Service Mesh

https://medium.com/airbnb-engineering/viaduct-five-years-on-modernizing-the-data-oriented-service...
2•mooreds•1m ago•0 comments

Say Goodbye to Node.js HTTP. Meet Brahma-JS an Ultra HTTP

https://github.com/Shyam20001/rsjs
1•StellaMary•2m ago•1 comments

Tesid: Textualised Encrypted Sequential Identifiers

https://temp.chrismorgan.info/2025-09-17-tesid/
2•Palmik•2m ago•0 comments

Cookies vs. You. Who wins in 30 seconds?

https://consent.gg
2•Brog_io•7m ago•0 comments

Unconditional separation between quantum and classical information

https://arxiv.org/abs/2509.07255
2•fuglede_•8m ago•0 comments

Show HN: Vatify – Simple API for EU VAT validation and rate calculation

https://www.vatifytax.app/
1•passenger09•10m ago•0 comments

Works in Progress Magazine Print

https://worksinprogress.co/print/
1•tosh•11m ago•0 comments

Everactive's Self-Powered SoC at Hot Chips 2025

https://old.chipsandcheese.com/2025/09/17/everactives-self-powered-soc-at-hot-chips-2025/
1•pella•11m ago•0 comments

Everything I Hate About React, I Hate About JavaScript

https://chadnauseam.com/coding/pltd/react-is-good-javascript-is-the-problem
2•ChadNauseam•11m ago•0 comments

Ask HN: Is anyone else sick of AI splattered code

4•throwaway-ai-qs•11m ago•3 comments

How a rare gene variant contributes to Alzheimer's disease

https://news.mit.edu/2025/study-explains-how-rare-gene-variant-contributes-alzheimers-disease-0910
1•gmays•12m ago•0 comments

When Knowing Someone at Meta Is the Only Way to Break Out of "Content Jail"

https://www.eff.org/pages/when-knowing-someone-meta-only-way-break-out-content-jail
1•Improvement•13m ago•0 comments

Sokosumi: Decentralized AI Agent Marketplace

https://www.sokosumi.com
1•Padierfind•13m ago•0 comments

Login with PDF

https://joaomagfreitas.link/login-with-pdf/
2•freitzzz•13m ago•0 comments

Secure Credentials on Comet with 1Password

https://www.perplexity.ai/hub/blog/secure-credentials-on-comet-with-1password
1•elashri•14m ago•0 comments

Chef by Convex is now OSS

https://news.convex.dev/open-kitchen-chef-is-now-oss/
1•meetpateltech•14m ago•1 comments

John Carmack's .plan Archive

https://github.com/oliverbenns/john-carmack-plan
2•helloplanets•15m ago•0 comments

Securing Node.js development environment with AppArmor

https://dmitrychekanov.com/posts/securing-node-js-development-environment-with-app-armor/
1•ngram•15m ago•0 comments

DeepSeek writes less secure code for groups China disfavors

https://www.washingtonpost.com/technology/2025/09/16/deepseek-ai-security/
1•otterley•17m ago•1 comments

Ask HN: Do text platforms naturally become woke?

2•keepamovin•17m ago•2 comments

FND – Unpacking the Tipping Point of Functional Neurological Disorder (FND)

https://www.letstalkfnd.com.au/blog/The%20FND%20Perfect%20Storm
1•nibblenum•19m ago•1 comments

Google Gemini earns gold medal in ICPC World Finals coding competition

https://arstechnica.com/google/2025/09/google-gemini-earns-gold-medal-in-icpc-world-finals-coding...
1•vok•19m ago•0 comments

MistralAI released a new Magistral Small 2509

https://huggingface.co/mistralai/Magistral-Small-2509
2•mseri•20m ago•0 comments

Depression Reduces Capacity to Learn to Actively Avoid Aversive Events

https://www.eneuro.org/content/12/9/ENEURO.0034-25.2025
2•PaulHoule•21m ago•0 comments

University of Kent UK Mirror Service

https://mirrorservice.org/sites/
1•gjvc•21m ago•0 comments

Tinycolor Supply Chain Attack Post-Mortem

https://sigh.dev/posts/ctrl-tinycolor-post-mortem/
10•STRiDEX•23m ago•0 comments

ctrl/tinycolor and 40+ NPM Packages Compromised

https://www.stepsecurity.io/blog/ctrl-tinycolor-and-40-npm-packages-compromised
2•tomelders•23m ago•0 comments