Better HN
topnewbestaskshowjobs
Log inSign up

wgj

1,048 karma · joined Oct 8, 2009 (17y ago) · 401 submissions

Submissions

comment 2y ago · link · parent

Off topic, but Douglas Self is also the author of several remarkably good audio electronics books. For example, http://www.douglas-self.com/ampins/books/ssad3.htm .

comment 2y ago · link · parent

I've used prosemirror enough to have written custom nodes, commands, and custom code around its collaboration model. I got good results with all of this and I don't know any other platform that could have matched it.

The docs are thoughtful. There's an up-front learning curve to understand the architecture. When doing highly customized things, I referred to the source when needed.

For standard rich text, there are a lot of options. Prosemirror shines when you want to build on it as a platform.

3.

The Physics of Vim(robertames.com ↗)

22 points · by wgj · 2y ago · 2 comments

comment 2y ago · link · parent

> tends to score high in agreeability,

>> Hard disagree. “Maximum confrontation and/or defiance” has never been a goal of good leaders

comment 2y ago · link · parent

> Pretraining a GPT 4-class model from raw data requires trillions of tokens and millions of dollars in compute,

And millions of documents authored by people that weren't compensated.

The difference is consolidating all of that value into a single company.

6.

Zulily shutting down offices and laying off 292 employees(geekwire.com ↗)

6 points · by wgj · 2y ago · 1 comment

comment 3y ago · link · parent

(2018)

comment 3y ago · link · parent

They hire an attorney with good relationships at USPTO.

comment 3y ago · link · parent

As a beginner gardener, I'm curious. How is this applied in practical terms? (eli5)

comment 3y ago · link · parent

> implementations in various languages

Rosetta Code is a good resource for that.

https://www.rosettacode.org/wiki/Rosetta_Code

comment 3y ago · link · parent

This is a pretty good description.

"The primary distinguishing characteristic of systems programming when compared to application programming is that application programming aims to produce software which provides services to the user directly (e.g. word processor), whereas systems programming aims to produce software and software platforms which provide services to other software..."

https://en.wikipedia.org/wiki/Systems_programming

comment 3y ago · link · parent

This is what they're referencing with that comment. I don't know that there's a "Japanese" style of Ruby, as much as there is a style that looks and reads more like systems code.

https://github.com/ruby/ruby/tree/master/lib

comment 3y ago · link · parent

I started using Foam[0] a few years ago, but the more I used it, the more I dropped all the tedious bits, and it became nothing more than a big, evolving markdown repo.

I switched from vscode (back) to vim, and it has worked as well or better than it did before. I follow my own rules. I like the Zettelkasten idea of one idea per card, but if I put more related things in the same .md file, that's OK. I didn't like the flat directory structure, and so I have dirs organized by category. My /bar directory is inside my /cooking directory, and for whatever reason, that makes sense to me. Ripgrep doesn't care, and I always find what I'm looking for.

This markdown hierarchy, that still lives in a repo called "foam", has become indispensable to me.

[0] https://github.com/foambubble/foam

comment 3y ago · link · parent

If you're using Chrome, there's Scroll To Text Fragment, and it works on any page regardless of its markup.

https://chromestatus.com/feature/4733392803332096

Doing this manually is tedious, but a browser extension would make it super easy.

comment 3y ago · link · parent

There's a lot more interesting detail in the wikipedia article, including a full description of the algorithm, and Perlin's own improvement of using simplex noise.

https://en.wikipedia.org/wiki/Perlin_noise

comment 3y ago · link · parent

All those domains can still be pointed at the same deployment. The only extra cost is registrar and DNS, which is not much.

Usually the reason for this kind of setup is better SEO.

comment 3y ago · link · parent

I'm confused. You're better with the C Diff infection?

comment 3y ago · link · parent

Your written English is good! Good blog too.

comment 3y ago · link · parent

Scalability doesn't matter until it does.

“How did you go bankrupt?” Bill asked. “Two ways,” Mike said. “Gradually and then suddenly.” ― Ernest Hemingway, The Sun Also Rises

comment 3y ago · link · parent

Slack replaces in-person conversations, which have the same deficits, and many of the same benefits. It works best for remote and hybrid teams, where the in-person discussions aren't possible. It can even work well for in-office teams by allowing some collaboration to be more async. It's way better than email for this.

It's terrible for being off the record. All Slack should be considered durable for the employer.

comment 4y ago · link · parent

You can cellar your own wine. Lots of people do it, but cellar conditions matter and it's an expensive hobby. It's nice to not need to know five years in advance what you will feel like drinking tonight. Optionality is worth something.

But yes, with care a hobbyist can do better than how some retail wine is kept.

Edit: The main points are 1) cool (~55F/13C), 2) dark, 3) not too dry (70% humidity is usually recommended. This is to protect the cork), and 4) store on its side, also to protect the cork from drying out. Five years is a long time.

Most retail wines are made to drink now though. If it's on the shelf it's ready.

comment 4y ago · link · parent

It looks like no one has said this yet. Many of the higher price/quality wines are expected to be cellared for a certain number of years after release. Opened too soon, they will have too much tannin and/or acidity. It costs money to keep wines under the correct conditions. One thing that drives up the price of a bottle is whether someone else already did this for you. A 2014 Bordeaux right now, on average, will cost a lot more than a 2020 of the same wine.

23.

Twitter, amid compliance officer exodus, could run afoul of FTC rules(cybersecuritydive.com ↗)

23 points · by wgj · 4y ago · discuss

comment 4y ago · link · parent

Wow, it worked on me. I didn't see this until I just now searched for it.

https://www.cybersecuritydive.com/news/twitter-ciso-resigns/...

comment 4y ago · link · parent

https://www.recurse.com/about

comment 4y ago · link · parent

Junior/mid devs will rewrite something they don't understand, rather than analyze and understand it. Everyone wants a green field project.

comment 4y ago · link · parent

https://patents.google.com/patent/WO2022073055A1/en

comment 4y ago · link · parent

https://archive.ph/WZiZf
12345
14