Hacker Newsnew | past | comments | ask | show | jobs | submit | stronglikedan's favoriteslogin

Both of my parents are teachers of a European language. They both have phd's in linguistics, and rate very highly with students (who basically adore them).

All of this context to say that not once has anyone using Duolingo been able to "test out" of the first ("101") class that they teach. Duolingo self-learners come in with a very unequal mix of vocabulary and... not much else. Unable to use declension properly [0], unaware of most rules around gender, verb tenses, etc.

I'm sure (and I should look it up) that there have been academic papers written on these quite different methods/approaches: gamified learning vs "academic" learning, immersion by moving to a country, etc.

But in my parents' experience of teaching (which spans ~40 yrs), Duolingo students pretty much all became disappointed in the app: these students thought that they had developed skills when it turns out they mostly got addicted to a game that overpromised useful learning over entertainment.

---

Imho, the ugly truth is that language learning as an adult is deeply hard and requires a tremendous amount of effort and "tricks" to keep yourself motivated. People who watch native media with subtitles, play with AI apps (such as the YC backed https://www.issen.com/ which is quite nice), take a mix of "classic" classes, spend time in a country where the language is spoken and force themselves into situations where they "have" to speak, etc. all do much better. But it's a ton of effort.

[0] https://en.wikipedia.org/wiki/Declension


Two quotes from the article stand out. First, from the X screenshot: "something about the process of writing makes your ideas 10x better". Second from near the beginning: "The most important person to convince is the author."

Design documents are so essential that even after mumble years in the industry, I am amazed when people, including putative "Product Managers" push back on the idea. As Leslie Lamport noted, "Writing is nature's way of telling us how sloppy our thinking is."

For those wanting to learn how to improve the quality of their technical writing, see Write Like an Amazonian: https://medium.com/@apappascs/write-like-an-amazonian-14-tip...


The structure I prefer for a technical design document is like a three-layer onion.The first layer is the problem statement, goals, non-goals, and requirements, both functional and non-functional. The next layer is the functional specification, which describes precisely how the system will work from an external perspective. The third and final layer is the technical specification, which describes the internals.

Each section should follow from the previous. The design doc should justify to the reader (and author) that the problem is understood, the requirements are necessary and sufficient, the functional spec meets the requirements, and the technical spec implements the functionality and non-functional requirements.

As a corollary, if one section has a fatal flaw, there is no need to read on. If the problem is misunderstood, then the functional spec is likely wrong. If the functional spec doesn't meet the requirements, then the implementation is moot.

The issue I see very frequently is technical design documents that provide only the final section—a simple description of the system that will be built. As a design reviewer, there is limited feedback I can provide on such a design. Sure, it's a system, but will it solve the problem? Does the team even agree on the problem to be solved?


I found this video very helpful:

https://m.youtube.com/watch?v=oBt53YbR9Kk

Yes, it is 5 hours long. At least 4 of those are worth it.

Many people confuse caching with DP. I’ve had that conversation too often. I think it’s down to the memoization examples people choose being too toy and just looking like caching. Caching is global shared state, whereas memoization can be scoped to the current calculation and still be useful.

But they always skip over tabulation, which is where I believe DP distinguishes itself.


I like this article. Lots of comments are stating that they are "using it wrong" and I'm sure they are. However, it does help to contrast the much more common, "use Postgres for everything" type sentiment. It is pretty hard to use Postgres wrong for relational things in the sense that everyone knows about indexes and so on. But using something like L/N comes with a separate learning curve anyway - evidenced in this case by someone having to read comments in the Postgres source code itself. Then if it turns out that it cannot work for your situation it may be very hard to back away from as you may have tightly integrated it with your normal Postgres stuff.

I've landed on Postgres/ClickHouse/NATS since together they handle nearly any conceivable workload managing relational, columnar, messaging/streaming very well. It is also not painful at all to use as it is lightweight and fast/easy to spin up in a simple docker compose. Postgres is of course the core and you don't always need all three but compliment each other very well imo. This has been my "go to" for a while.


How timely, I just finished going through a tutorial that builds a text editor like kilo from scratch: https://viewsourcecode.org/snaptoken/kilo/index.html

Would highly recommend the tutorial as it is really well done.


If you’re interested in doing local web development with “real” domain names, valid ssl certs, etc, you may enjoy my project Localias. It’s built on top of Caddy and has a nice CLI and config file format that you can commit to your team’s shared repo. It also has some nice features like making .local domain aliases available to any other device on your network, so you can more easily do mobile device testing on a real phone. It also syncs your /etc/hosts so you never need to edit it manually.

Check it out and let me know what you think! (Free, MIT-licensed, single-binary install)

Basically, it wraps up the instructions in this blogpost and makes everything easy for you and your team.

https://github.com/peterldowns/localias


They really are an amazing band that defies neat classification. https://tmbw.net/wiki/This_Might_Be_A_Wiki:Other_Bands_You_M... is quite the list.

We do it like this at GitLab and it's very effective: https://handbook.gitlab.com/handbook/leadership/1-1/

For #4 (divide and conquer), I've found `git bisect` helps a lot. If you have a known good commit and one of dozens or hundreds of commits after that is bad, this can help you identify the bad commit / code in a few steps.

Here's a walk through on using it: https://nickjanetakis.com/blog/using-git-bisect-to-help-find...

I jumped into a pretty big unknown code base in a live consulting call and we found the problem pretty quickly using this method. Without that, the scope of where things could be broken was too big given the context (unfamiliar code base, multiple people working on it, only able to chat with 1 developer on the project, etc.).


Also check out https://nodered.org/ and https://github.com/huginn/huginn if you're interested in free and open-source software you can run yourself.

I just started “Build Your Own Text Editor”[0], but using Odin instead of C. So far, I’m impressed with Odin. It’s the most ergonomic C replacement I’ve tried. I wish it had been around 25 years ago when I was professionally working with unmanaged code.

[0] https://viewsourcecode.org/snaptoken/kilo/index.html


https://pragprog.com/titles/pwrdata/seven-databases-in-seven... - A book by the same name. Instead of giving you a brief blurb on each database, the authors attempt to give you more context and exercises with them. Last updated in 2018 it covers PostgreSQL, HBase, MongoDB, CouchDB, Neo4J, DynamoDB, and Redis. The first edition covered Riak instead of DynamDB.

If anyone's interested and wants to hear more, I have a mix of 92/93 era Jungle [1]

Some rough mixes here and there (especially the first one) because it was live from a NYE event. But it suits the style of music, that era was so raw and fresh, the future was being invented right there! Very happy days :)

1) DJ SS - Intro

2) Higher Sense - Cold Fresh Air

3) Deep Blue - The Helicopter Tune

4) Roni Size - Time Stretch (93 Mix)

5) DMS & The Boneman X - Sweet Vibrations

6) Engineers Without Fears - Spiritual Aura

7) Omni Trio - Soul Promenade

8) Codename John - Kindred

9) Brainkillers - Screwface

10) Dubtronix - Fantasy (Remix)

11) M-Beat - Incredible

12) DJ Rap - Your Mind (Gimp/Steve Mix)

13) Asend & Ultravibe - What Kind Of World

14) LTJ Bukem – Horizons

15) Bruck Wild - Silent Dub

[1] https://on.soundcloud.com/WjQVyJRfYMyQLP3f8


As others have said the C4 model is a great way to address a number of these issues.

I can’t find the right video at the moment but Simon Brown (creator of C4) gives a great talk about creating his DSL, Structurizr, for C4, which he developed during COVID lockdown (if memory serves). There are many videos on YouTube of Simon talking about “C4 Models as Code” so I’m sure any one of those will suffice.

The focus is on creating the model of your system architecture, from which the diagrams you extract are a specific projection of that model. Rather than a diagram be the main artifact. It’s a simple but very powerful concept that I’m always surprised isn’t more widely used.

Structurizr models can also be exported to display as ilograph diagrams, mermaid diagrams and more. Also very much worth a mention is icepanel, a lovely tool for architectural model that implements the C4 model heavily.

I saw Simon talk at a conference in Sydney about 10-15 years ago and heard about C4 for the first time in that talk, it’s been one of the most influential talks I’ve been to in my career as it made a lot of fuzzy things in my head all start to come together in a way that just made sense.

https://c4model.com/

https://structurizr.com/

https://www.ilograph.com/

https://mermaid.js.org/

https://icepanel.io/


I'm glad to see posts like this. Some of my favorite features not mentioned in the article:

- User Styles: I can customize pretty much everything about the browser UI using CSS.

- Containers: Shared history, form data, bookmarks,etc. But containerized cookies.

- Separate search field next to the address bar.


Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain, I can easily ignore the pop-up once I've got the muscle memory, or I can even disable the pop-ups altogether. It's brilliant for discoverability.

With this, I've passively memorized far more advanced motions in the last 12 months than I did in the ~8 years before that. And since Helix is a vim style editor, many of these motions also work in vim!

I feel like Helix is the perfect editor for people like me who know just enough vim to be comfortable, but never got very deep into customizing or muscle memory with advanced motions. Helix does some things differently compared to Vim, which I hear puts off some more advanced Vim users.

The built-in LSP & highlighting support with a stack-based "jump to symbol" and keybinds to traverse the stack also perfectly maps to how I want to navigate code, it has made me far more productive than ever before.

I'm not affiliated with the project myself, I'm just super happy I found the perfect editor for me :]


Longtime soundcloud user here (creator and consumer, pro subscriber). Not excited about this news but also a good time to share about Mixcloud:

https://www.mixcloud.com/

This site has shockingly few ads (feels like one per week) and lets you stream complete mixes. You won't find single tracks here.

For most music consumers though, mixes are probably what you didn't know you needed anyway.


Yeah I’ve combined two products, Gentrol and Invict Gold. The combination nukes large populations.

We have effective pest control for roaches, probably developed around the same time. Using growth regulators like Gentrol make it so the cockroaches can’t breed effectively, so after a generation or two they go extinct. Somehow roaches got into our suburban home and I was able to destroy them using this method. Pesticides and roach bait didn’t do much — the growth regulators were key in permanently removing the infestation.

I’d guess the difficulty in a place like New York is similar to the problem I’m having with mice because we have a forest behind the house — an essentially endless reservoir of new roaches living in the pipes and throughout the city.

Source: was professional exterminator about 15 years ago. Growth regulators were the only thing that worked.


I just made a very cursory look into this, but this is possibly that a Group Policy default that has changed to a different setting in Windows 11 than it had been in previous versions of Windows.

It absolutely does work if you disable UAC via Group Policy, but disabling UAC in my opinion is much a step too far as that loosens security in too many areas and would greatly increase Windows 11's attack surface.

I'll open an issue to investigate trying to identify the Group Policy setting to change to specifically re-enable this behavior without disabling UAC. Be advised that it'll be a few weeks as I'll be waiting until the January patch to drop (should be January 9th, 2024) for me to test prior to the January 2024 update to the guide.


I think the best way to try this out is with LLaVA, the text+image model (like GPT-4 Vision). Here are steps to do that on macOS (which should work the same on other platforms too, I haven't tried that yet though):

1. Download the 4.26GB llamafile-server-0.1-llava-v1.5-7b-q4 file from https://huggingface.co/jartine/llava-v1.5-7B-GGUF/blob/main/...:

    wget https://huggingface.co/jartine/llava-v1.5-7B-GGUF/resolve/main/llamafile-server-0.1-llava-v1.5-7b-q4
2. Make that binary executable, by running this in a terminal:

    chmod 755 llamafile-server-0.1-llava-v1.5-7b-q4
3. Run your new executable, which will start a web server on port 8080:

    ./llamafile-server-0.1-llava-v1.5-7b-q4
4. Navigate to http://127.0.0.1:8080/ to upload an image and start chatting with the model about it in your browser.

Screenshot here: https://simonwillison.net/2023/Nov/29/llamafile/


One of the best things I ever did was get strong through a basic barbell training program called Starting Strength.

Squat, deadlift, overhead press, bench press, chinups, eat, sleep. It really is that easy.

Highly recommend it for anyone interested.

1. Any back pain I had disappeared completely.

2. When I have to lift something awkward (eg, furniture), I don't injure myself. If you can deadlift 200KG, awkwardly leaning over your lawn mower to grab a 20KG bag of concrete is pretty easy.

3. It is really really handy being able to move heavy things.

4. Basically everything else improves. Going for a tough hike uphill? Your legs will be a lot less sore if you can squat 150KG. Need to hold your screaming baby for 40 minutes? Easy!


Take this test instead: https://openpsychometrics.org/tests/FSIQ/ It's free and IMO the best of the free tests.

I have read many docs.

The one that I find easiest to understanding is still the one that I wrote about a decade ago when I first had to work with OAuth 2. All others I understanding by mapping what they said to concepts in mine, and that seems to work pretty well.

My document is available at https://metacpan.org/dist/LWP-Authen-OAuth2/view/lib/LWP/Aut.... Even though you're unlikely to ever use that library or language, you may find it worthwhile.


Compared to competitors, Apple TV+ currently appear to put much more emphasis on quality over quantity in their original content. I really enjoyed some shows like Severance, For All Mankind, Trying, Acapulco, Foundation. It reminds me of the time when Netflix Originals stood for content to be excited about. What they don't have is a back catalog of licensed films and shows included with the flat rate offering (they all cost an extra fee).

All of the real meditation traditions around the world - including the ones inside of Christianity - spend decades training highly skilled teachers to help people

1) avoid problems like this, and

2) clean up problems like this when they do happen.

And even so those traditions never, ever (in my experience) describe themselves as anything other than perilous. "The way is long and narrow." "Like a snake entering a bamboo tube." And so on.

I put together a system for solo practitioners working with absolutely minimal oversight in 2015. People doing it since then, I talk to them roughly once (on average) to check they're doing it right, then don't hear back from them for years until they're getting into the weird "foothills of enlightenment" end stage stuff -- if they make it that far. Most don't, they plateaux. Which is fine, that's a good, safe place to be.

Instructions here. There's a bunch of other stuff in that same directory structure. It's fine.

http://files.howtolivewiki.com/.meditation_2015/transcripts/...


> If you're interested, you can get it (legally) in the UK here

And if you happen to be belong to the rest of the ~99.13% world population, you can grab it here:

    Episode 1 - magnet:?xt=urn:btih:3C378A82CF67A1107523CA6C647077403A1EF74D&dn=India+The+Modi+Question+S01E01+1080p+HDTV+H264-DARKFLiX&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=udp%3A%2F%2F47.ip-51-68-199.eu%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2920%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce

    Episode 2 - magnet:?xt=urn:btih:F55992F922B9A0E49C09E198835F0F06EE07635B&dn=India+The+Modi+Question+S01E02+1080p+HDTV+H264-DARKFLiX&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.dler.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=udp%3A%2F%2F47.ip-51-68-199.eu%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2920%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce

YMMV, but I recommend more people try High Intensity Training (HIT). HIT explicitly contradicts several of the (well-supported) claims in the article, but I've personally found it effective, and I think there's a good case that it's a better fit for most adult lifestyles.

[ETA: Just to clarify, HIT is different from the more widely-known HIIT. This wikipedia article[1] is a good introduction, and the book "Body By Science" is an excellent deeper dive.]

I'm a 40-ish male with a long history of resistance training, and have tried many variations of sets/reps/volume/rest etc over the years.

For a few years now I've been doing a version of HIT, basically single sets (to failure), no (or little) rest between sets, full-body training once a week, supervised by a trainer. It sucks, but it's over quickly.

It's great. I'm significantly stronger than I've been in many years, have remained injury-free throughout (rare for me), and play competitive basketball several times a week without issue (beyond my inconsistent shooting).

The article cites its sources, has solid (for exercise science) evidence backing its claims, and is pretty convincing - if you're a college student with plenty of time, and you're seeking to maximize muscle growth, then yes there's a good case that you should do several workouts a week with more rest between sets.

However, if you're a working stiff who just wants to get it done efficiently, HIT is much easier to fit in a busy schedule. I think it's worth considering for the median person reading fitness articles on HN.

For most people, I suspect HIT is essentially just as effective as the type of protocol advocated in the article, but that's just a hunch and not a claim I could support with anything beyond personal experience.

[1] https://en.wikipedia.org/wiki/High-intensity_training


"Everybody wants to be a bodybuilder, but nobody wants to lift no heavy-ass weights." - Ronnie Coleman

I have gained quite a bit of muscle mass after building out a home gym during covid. I'm no scientist but following the Reddit PPL[1] workout and eating lots of protein did the trick for me.

[1] - https://www.reddit.com/r/Fitness/comments/37ylk5/a_linear_pr...


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: