HN user

electrum

1,227 karma

Software engineer. Co-creator of Trino (formerly Presto SQL).

https://trino.io/

https://www.linkedin.com/in/electrum

Posts28
Comments245
View on HN
trino.io 3y ago

Leaving Facebook/Meta was the best thing we could do for the community

electrum
212pts62
blog.starburst.io 4y ago

Data Fabric vs. Data Mesh: What's the Difference?

electrum
66pts15
blog.starburst.io 4y ago

Does the Data Mesh make data integration harder?

electrum
29pts1
blog.starburstdata.com 5y ago

Data Mesh: The Answer to the Data Warehouse Hypocrisy

electrum
25pts4
www.cnbc.com 6y ago

Mark Cuban says bailed out companies should never be allowed to buy back stocks

electrum
135pts94
www.forbes.com 6y ago

Texas Taxpayers Pay for Wind Power and Then Pay the Grid to Take It

electrum
14pts5
prestosql.io 7y ago

Presto SQL: Optimizing the Casts Away

electrum
12pts0
blog.okmeter.io 7y ago

PostgreSQL: Exploring how SELECT queries can produce disk writes

electrum
1pts0
techcrunch.com 8y ago

Damage from Atlanta’s huge cyberattack is worse than the city first thought

electrum
2pts1
www.bloomberg.com 8y ago

Buffett and Gates Are the Latest Bitcoin Critics

electrum
2pts0
www.teamten.com 10y ago

Java for Everything (2014)

electrum
89pts83
www.nytimes.com 10y ago

A Seismic Shift in How People Eat

electrum
2pts1
www.citylab.com 10y ago

China's 50-Lane Traffic Jam Is Every Commuter's Worst Nightmare

electrum
4pts0
www.wired.com 10y ago

VW Could Fool the EPA, but It Couldn’t Trick Chemistry

electrum
2pts0
blog.jetbrains.com 10y ago

IntelliJ IDEA 15 Early Access Program Is Open

electrum
3pts0
www.ee.ryerson.ca 10y ago

Unix Recovery Legend (1986)

electrum
143pts60
lasvegassun.com 10y ago

NV Energy fights to keep rooftop solar from cutting into its profit

electrum
3pts0
www.usnews.com 10y ago

FCC says Dish can't use $3.3B in credits in airwaves auction

electrum
9pts0
www.teradata.com 11y ago

Teradata Launches First Enterprise Support for Presto

electrum
2pts0
gizmodo.com 11y ago

A Simple Design Tweak May Keep Drunk People from Falling on Train Tracks

electrum
1pts0
ruthlessray.wordpress.com 11y ago

Inventing Favicon.ico

electrum
207pts69
code.facebook.com 11y ago

Even Faster: Data at the Speed of Presto ORC

electrum
13pts0
www.techrepublic.com 11y ago

The world's largest open-source company doesn't sell software

electrum
3pts0
www.eff.org 12y ago

Aspen to Students: Your Property Book is Not Your Property

electrum
13pts2
www.wired.com 12y ago

A Vibrating Watch That Messes With Your Perception of Time

electrum
1pts1
vision.cloudera.com 12y ago

Impala v Hive

electrum
1pts0
www.homedsgn.com 15y ago

A Tiny Apartment in Hong Kong Transforms into 24 Rooms

electrum
1pts0
codahale.com 15y ago

What Makes Jersey Interesting: Injection Providers

electrum
2pts1

Procedures are very useful to enforce business logic in the database, rather than in the application. It’s like putting a higher level application-specific API on top of your database schema.

For Cockroach, it could help substantially with latency for multi-statement transactions, since the procedure could be executed on a database node closest to the leaseholder for the data. Executing a multi-statement transaction on the client means incurring per-statement latency between the client and gateway node, and between the gateway node and the leaseholder.

The H2 embedded database has compatibility modes for other databases, which seems helpful for testing, but ends up being incompatible in various ways for anything non-trivial. You end up fighting the compatibility and skipping useful native features of the target database, while still not having confidence that the code works on the target database.

We now use the awesome Testcontainers library (available for multiple languages) that makes it easy to launch the real database in a Docker container. Testing applications against multiple databases is now trivial.

This is part of the IntelliJ IDEA platform, so all of the JetBrains IDE products have it. I don’t use it often, since I normally rely on Git, but it’s saved me several times after I accidentally deleted a file or made a mistake with Git.

Even more confusing, the 404 on GET is caused by doing the HEAD when the object doesn't exist. Without the previous HEAD, the GET would usually succeed.

Tesla has a slider for the charge limit with 90%+ being designated as Trip and 50-90% as Daily. Even for a trip, I avoid charging above 90% because regenerative braking stops working when the battery is nearly full, which results in a substantial change to the way the car handles. You get used to one pedal driving and rarely having to use the brakes, so it's very unnerving for the car to not slow down rapidly when you let up on the accelerator pedal.

JDK 15 6 years ago

IntelliJ shows you exactly where the block starts, so if you have a line with less indentation (causing the entire block to start at that column), it is easy to spot.

That's not true for SMS-2FA, since text messages are often delivered to the device with the browser. Safari on both macOS and iOS will offer to automatically fill in the code received from SMS.

I've used the Dell U3219Q for over a year for this purpose. Importantly, the monitor provides 90W of power, which is needed for the larger laptops, especially when running power intensive tasks. Most USB-C monitors do not provide enough power.

The cable that came with my Dell U3219Q has worked well for nearly a year. The monitor provides 90W of power to charge the MacBook Pro, so it effectively functions as a docking station with a single cable.

This isn't specific to USB-C. The older MagSafe adapters (and likely the ones before them) came in different wattage for different computers. The smaller wattage adapters are physically smaller and lighter -- often important for someone who intentionally purchased a lightweight computer.