Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 9y ago · link · parent

Why, what kind of drivetrain issues could you have possibly had with a regular, non-electric car in the time you owned your Leaf?

comment 9y ago · link · parent

Tremendously? A gallon of gas here in Chicagoland is under $2.50. I filled up in LA last week for $2.89. Am I the only one that remembers when gas was at the $4 mark just a few short years ago?

comment 9y ago · link · parent

Please respect HN’s rules for on-topic discussion.

comment 9y ago · link · parent

I’ve never used .dev - but going back five or six years we set up a .dev sub domain of our domain and use that exclusively for development.

dev.ourdomain.net is a web-accessible server on our local network, configured as the dns server for that sub domain and is our internal CA trusted to issue the certs we use for development.

comment 9y ago · link · parent

Yes. There’s nothing special about localhost besides the fact that’s aliases to 127.0.0.1 in the hosts file.

comment 9y ago · link · parent

The morning after the Pakistan scandal hit the news, I woke up with a lot of traffic to my blog post from June 2006 that covered the new "C" fonts from Microsoft from the Vista and Office betas: https://neosmart.net/blog/2006/a-comprehensive-look-at-the-n...

As the article says, Calibri wasn't _commercially_ available until November, but people found out I had access to it and that I had posted screenshots of text typed in that font dating a full 5 months before the commercial release (and before the forgery in question).

comment 9y ago · link · parent

No problem on iOS; I see the same thing that I see on my Windows desktop.

comment 9y ago · link · parent

Yeah, yajs hurts performance. There's actually a disclaimer on that landing page you sent me.

Neovim has its own js/json highlighting out of the box and it's pretty crazy fast for me.

comment 9y ago · link · parent

I use the code behind this web app: http://latex2unicode.herokuapp.com/

It converts latex to unicode where possible. It's pretty impressive how much of Latex can be replaced with Unicode today.

This program translates LaTeX markup to human-readable Unicode when possible.

Here's the default text from that webapp:

Basic math notations: ∵ A͡B + B͡C ≠ A͡C ∴ ∬∜x̅ ξᶿ⁺¹ - ⅜ ≤ Σ ζᵢ ∴ ∃x∀y x ∈ Â

Easily type in hundreds of other symbols and special characters: , ℵ, Œ, ⇊, etc.

Font styles support: 𝔹𝕝𝕒𝕔𝕜 𝔹𝕠𝕒𝕣𝕕 𝔹𝕠𝕝𝕕, 𝔉𝔯𝔞𝔨𝔱𝔲𝔯, 𝐁𝐨𝐥𝐝 𝐅𝐚𝐜𝐞, 𝓒𝓪𝓵𝓵𝓲𝓰𝓻𝓪𝓹𝓱𝓲𝓬, 𝐼𝑡𝑎𝑙𝑖𝑐, 𝙼𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎.

Now type in this box and try it yourself. ⌣̈

comment 9y ago · link · parent

> but text can contain commas

Erm.. text can contain tabs, too. This problem was solved so, so long ago when all the various ANSI/ASCII/whatever encodings were compiled by specifically reserving not one but two characters precisely to serve as field and record delimiters.

0x30 and 0x31 solved not only the problem of having commas or tabs in your text preventing you from treating them as field delimiters, but also allowing you to include new lines and carriage returns in your fields, too!

0x30 is the unit separator (aka field delimiter) and 0x31 is the record separator (aka, well, the record separator).

I _believe_ there was a record key on some standardized keyboard layout back in the day, too.

Edit: sorry, they are decimal, not hex. Thanks @jrochkind1

comment 9y ago · link · parent

The first thing I do on any Linux machine is set up an `ifconfig` alias in my shell. That's a command that I've been using for a lot longer than some of these distributions have been around.

From the man page documentation for ifconfig:

> This program is obsolete! For replacement check ip addr and ip link. For statistics use ip -s link.

and

> Ifconfig uses obsolete kernel interface. It uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes. Since an Infiniband address is 20 bytes, only the first 8 bytes of Infiniband address are displayed.

I don't understand why ifconfig couldn't be upgraded to use whatever the new IOCTL that is compatible with 20b+ addresses instead of being deprecated for favor of a new command entirely.

Fortunately, my FreeBSD servers all take ifconfig out-of-the-box... and even my Linux shell under Windows does, too.

comment 9y ago · link · parent

What’s wrong with neovim?

comment 9y ago · link · parent

That’s a broken highlight syntax file. The good ones don’t highlight text until it becomes visible in the buffer. You should bug it if it is reproducible in neovim. The team is highly responsive.

5444.

These two new iOS 11 features could literally save your life(neosmart.net ↗)

1 points · by ComputerGuru · 9y ago · discuss

comment 9y ago · link · parent

A bank account number is all you need to initiate an ACH transaction for any amount to any other account (in the US).

comment 9y ago · link · parent

Interesting find. It opens an embedded browser window to OAth with Slack, but after that closes nothing happens to the main window (i.e. the account never gets added).

Incredible how it has a seemingly from-scratch cross-platform UI without framework bloat; but it doesn't seem to work...

comment 9y ago · link · parent

They’re version control friendly.

comment 9y ago · link · parent

Presumably you meant with a prescription? Prescription medication is a term for drugs that can/would be prescribed, regardless how they were obtained.

comment 9y ago · link · parent

That’s a phrase, well-accepted and very famous in this domain. https://en.m.wikipedia.org/wiki/Tyranny_of_the_majority

Please don’t insinuate bad intent where there needn’t be any.

comment 9y ago · link · parent

Which is why jQuery throws (and handles) exceptions every single time I run it under a debugger. Ugh.

comment 9y ago · link · parent

It’s not slack but electron.

We’ve been floating the idea of developing a native client for slack (we have experience in this field, having developed a Windows client for iMessage) but haven’t decided if it would be worth our while.

comment 9y ago · link · parent

23andMe became a joke after their stupid handling of the FDA situation that resulted in them being nothing more than a glorified dna-based ancestory.com

Wait until 23andMe has their next sale and get the kit for $99 to have your DNA sequenced, then spend 5 bucks to get a _real_ dna-based medical profile from Promethease.

5453.

Scientist’s death helped increase knowledge of dimethylmercury poisoning (1997)(articles.latimes.com ↗)

2 points · by ComputerGuru · 9y ago · discuss

comment 9y ago · link · parent

I imagine a lot of people install it via cargo.

It’s also only very recently that the crown has passed from ag (the silver searcher) to rg.

comment 9y ago · link · parent

We - and a lot of other people in similar boats - moved from Solaris to FreeBSD a while back. That ship sailed a long time ago, there isn’t much that FreeBSD doesn’t do out of the box in a similar fashion to keep people from making the switch.

The only thing I miss from Solaris is the focus on ABI compatibility. rlib was first-class, and apart from Windows, it’s the only OS I know that is fully abi compatible between the x86 and x86_64 kernels (actually even more than Windows. The entire system, drivers and all, will work with either the x86 or the AMD64 kernel booted up without recompiling).

comment 9y ago · link · parent

Like python but easier to dive into for anyone that’s used C before?

comment 9y ago · link · parent

cgit is nice, but it’s too reminiscent of the old CVS web interfaces for a lot of developers. Gogs (and therefore gitea) aimes to replicate the look and feel (and thereby the interactivity and ease-of-use) of GitHub from the start.

comment 9y ago · link · parent

I don't know about CI, but gogs/gitea does issues and wiki.

comment 9y ago · link · parent

Mandatory heads-up for those that haven't come across them: gogs [0] and its fork gitea [1] are zero config, download-and-run, self-hosted alternatives to GitHub/BitBucket/GitLab that won't suck the life out of your server, are efficiently written, and very fast even on underpowered (read: RPi) hardware or shared VPS nodes.

0: https://gogs.io/

1: https://gitea.io/en-US/

comment 9y ago · link · parent

That's ok. I presume you weren't a C/C++ dev before, that's old school shorthand for C coders that don't want to type out suffixes or cast numeric values.
1
181182183
277