Better HN
topnewbestaskshowjobs
Log inSign up

microflash

4,341 karma · joined Dec 10, 2021 (4y ago) · 605 submissions

A software engineer, avid reader and fellow web wanderer
Submissions

comment 2y ago · link · parent

DataGrip, Jetbrains' standalone database IDE, is also excellent. I have been using it for several years to work with Postgres, Oracle and Redis.

comment 2y ago · link · parent

Wow, that's dramatic.

comment 2y ago · link · parent

Thank you. That's what I've asked them to provide me along with the quote. Still waiting for their reply.

I guess I am a bit disappointed from the fact that I own laptops from Lenovo, Dell and Asus which were subjected to much rougher usage and are still working flawlessly. This Macbook was my first Apple notebook and this issue cropped up with comparatively careful use.

364.

Ask HN: Anyway to appeal for replacement of MacBook Pro display?

2 points · by microflash · 2y ago · 5 comments

365.

Coming soon to Node.js – node:SQLite module(github.com ↗)

6 points · by microflash · 2y ago · 2 comments

comment 2y ago · link · parent

I recently dealt with something like this. Someone ran a `delete *` statement which truncated a bunch of tables in production with critical business data. They had autocommit on in their database client. Luckily, there was a backup available which restored the data. After the analysis, it was decided to provision less privileged roles and explicitly turn off autocommit in all database clients. I am also introducing a PR workflow with static analysis that detects these issues. Nobody was fired and no names were ever mentioned in the announcements.

comment 2y ago · link · parent

And here I'm, writing the resume in markdown using Obsidian, slapping some custom CSS until it looks good and hitting Export to PDF.

comment 2y ago · link · parent

> 2. Integration with the Typescript language server was just not as good as VSCode. I can't pin down exactly what was wrong but the autocompletions in particular felt much worse. I've never worked on a language server or editor so I don't know what's on zed/VSCode and what's on the TS language server.

I had similar experience with JavaScript where it kept showing me errors (usually for ESM imports) even though things were fine. In VSCode, things worked without fuss. I've been testing out JetBrains Fleet [1] as well and its language support is far superior compared to Zed.

[1]: https://www.jetbrains.com/fleet/

369.

Affinity Designer, Photo and Publisher free for six months(affinity.serif.com ↗)

1 points · by microflash · 2y ago · discuss

370.

Maven Central and the Tragedy of the Commons(sonatype.com ↗)

3 points · by microflash · 2y ago · 1 comment

371.

E18e – Ecosystem Performance for JavaScript(e18e.dev ↗)

2 points · by microflash · 2y ago · discuss

372.

Google Sheets ported its calculation worker from JavaScript to WasmGC(web.dev ↗)

450 points · by microflash · 2y ago · 214 comments

373.

Hollo – federated single-user microblogging software(github.com ↗)

2 points · by microflash · 2y ago · discuss

374.

Lawsuit Accuses AudioEye CEO and Its Executive Chairman of Stock Manipulation(prnewswire.com ↗)

1 points · by microflash · 2y ago · discuss

comment 2y ago · link · parent

If they've shipped it, it HAS to do SOMETHING.

376.

Beyond monospace: the search for the perfect coding font(evilmartians.com ↗)

2 points · by microflash · 2y ago · discuss

comment 2y ago · link · parent

Try this.

/* keep the icon hidden by default */ :is(h1, h2, h3, h4, h5, h6) .icon { visibility: hidden; }

/* show the icon on focus and hover */ :is(h1, h2, h3, h4, h5, h6):focus .icon, :is(h1, h2, h3, h4, h5, h6):hover .icon { visibility: visible; }

/* show the icon on devices that don't have any accessory that can hover */ @media (pointer: coarse), (any-hover: none) { :is(h1, h2, h3, h4, h5, h6) .icon { visibility: visible; } }

The `pointer: coarse` media query checks if you are using a device with an input mechanism of limited accuracy (such as fingers on a touchscreen). The `any-hover: none` media query checks if none of the input mechanisms on your device support hover (such as a Surface tablet not attached with a keyboard).

comment 2y ago · link · parent

> Allow es modules to be require()-ed. It's be synchronous and slow and ideologically impure, but it'll make it so that millions of projects (mostly private!) will be able to start adopting es modules without a massive refactor.

This is already available in Node.js 22 [1] with ` --experimental-require-module` flag.

[1]: https://nodejs.org/en/blog/announcements/v22-release-announc...

comment 2y ago · link · parent

To be fair, this ain't available in India either.

380.

Virgil: A fast and lightweight native programming language(github.com ↗)

4 points · by microflash · 2y ago · discuss

comment 2y ago · link · parent

Alternatively, put your main content above the fold and get rid of that uselessly large hero in the header which necessitates adding skip links.

comment 2y ago · link · parent

I've done the same. It is extremely annoying that there's no concept of graceful fallback in modern operating systems. For example, Google Pay on Android can work without location enabled but whenever you start the app, it is the first thing that it prompts you for (even before asking fingerprint or passcode unlock that you've set on it)

383.

Elk – a nimble Mastodon web client(elk.zone ↗)

1 points · by microflash · 2y ago · discuss

comment 2y ago · link · parent

I use the default terminal as well. The only thing I miss is right click to paste.

385.

Google promised better search – now it's telling us to put glue on pizza(theverge.com ↗)

74 points · by microflash · 2y ago · 2 comments

comment 2y ago · link · parent

The fact that you need a Google account to associate with a private space moots the entire purpose of private space.

387.

Google I/O 2024 tried too hard to prove Google is good at AI(9to5google.com ↗)

2 points · by microflash · 2y ago · discuss

comment 2y ago · link · parent

And that too with some gymnastics, and not through a straightforward option in settings.

comment 2y ago · link · parent

Here's a citation: Apple still refuses allowing multiple profiles on iPad.

390.

Permira to take website-design firm Squarespace private in $6.9B deal(reuters.com ↗)

2 points · by microflash · 2y ago · discuss

1
121314
21