Hacker Newsnew | past | comments | ask | show | jobs | submit | Olreich's commentslogin

But many artists are hallucinating when they envisioned some of their pieces. Who's to say Mozart wasn't on a trip when he created The Marriage of Figaro.


That would have to be a very very long hallucination because it’s a huge opera that took a long time to write.

If you need to grab a particular struct's version of the data, you can via `opts.BarService.URL` or `opts.FooService.URL`: https://go.dev/play/p/MUSYJhmoC2D

Still worth being careful, but it can be useful when you have a set of common fields that everything of a certain group will have (such as a response object with basic status, debug info, etc. and then additional data based on the particular struct). I don't know why they let you embed multiple layers and multiple objects though. I've never gotten value out of anything but a "here's a single set of common fields struct embedding".


There aren’t grid-scale batteries that can handle hundreds of thousands of cycles at an affordable price. If we crack that problem, solar and wind for everything will immediately be the only technology worth deploying for energy in 99% of areas.


Nuclear energy sort of doesn't require batteries if they supply energy provided directly to grid man.

Solar takes more space than nuclear, the batteries are a huge huge mess. Its still a huge ecological issue that we can't forgive or brush it off man


The appeal back then was being able to get all the shows you wanted on a single platform. Netflix had all of Disney, WB, ABC, CBS, NBC, etc. at one point, including strong original content. Going all in on $10/month for all the TV I wanted to watch was a good deal. Paying $15/month times 5 for a worse experience... not so much.


I don't remember any cable tv packages that were $10/month except for maybe getting the local tv channels because you couldn't get good reception with an antennae.

Cable TV packages were $20-$30/month (base packages) for 200 channels, of which 10 of them you really cared about, then you had to add on another $10-$40 depending on what it was to get what you wanted. So, to finally get the 10-15 channels you actually care about you had to pay $50-$75/month for 900 channels.

Like, if all you wanted was Disney, you couldn't just get Disney channel(s), you had to pay for 250+ other channels too. Now you can just sign up for Disney+ streaming.


US students are expected to be able to read 104 characters by the end of 6th grade. While Chinese students are expected to be able to read 20k words by that time.

Characters in Chinese can be combined to make more words, and you need around 9k words in English to read a novel and 2k characters in Chinese to read a novel.


It is wrong to compare number of characters in English to number of words in Chinese. The proper comparison would be words in English to words in Chinese. By 4th grade I knew enough English to proofread ycombinator posts. Of course, that is a low bar...

And I think you're off by an order of magnitude about vocabulary size. Chinese vocabulary size around 6th grade is more like 2K - 4k words tops, not 20K. See

https://www.guavarama.com/2015/02/06/chinese-characters-by-g...


I get that there are tradeoffs and that logographic languages have advantages and disadvantages.

In this case specifically though there seems to be a pretty strong consensus that one of the advantages of a phonetic alphabet is ease and time to learn.

In a completely phonetic language (which English is obviously not) once a kid learns the alphabet and around 50 phonemes you can represent with it, their auditory and reading vocabulary is roughly the same. So you can have 6 year olds with a reading vocabulary of 20k words.

It’s not that simple, but clearly the more phonetic a language is the easier it is to learn for someone who can already understand the spoken words.


Current models are lossy databases at this point. Carmack looks like he might be trying to get logical reasoning to work (learning something abstract in one context and applying it to a similar context). That is something that would advance the field significantly and may be possible with a small team of researchers.


> But yes, the equivalent of fnmatch should be a separate module and that could be a dependency of glob.

Interesting, lets look at fnmatch: https://pubs.opengroup.org/onlinepubs/9699919799/functions/f...

Well, fnmatch really does two things, it parses the pattern and then applies that to a string, so really, there should be a "ptnparse" library that handles the pattern matching that fnmatch has a dependency.

Though, thinking it through, the "ptnparse" library is responsible for patterns matching single characters and multiple characters. We should split that up into "singleptn" and "multiptn" libraries that ptnparse can take as dependencies.

Oh, and those flags that fnmatch takes makes fnmatch work in several different ways, let's decompose those into three libraries so that we only have to pull in the matcher we care about: pthmatch, nscmatch, and prdmatch. Then we can compose those libraries based on what we want in fnmatch.

This is perfect, now if we don't care about part of the fnmatch functionality, we don't have to include it!

/s

This decomposition is how we wind up with the notorious leftpad situation. Knowing when to stop decomposing is important. fnmatch is a single function that does less than most syscalls. We can probably bundle that with a few more string functions without actually costing us a ton. Glob matching at a string level probably belongs with all the other string manipulation functions in the average "strings" library.

Importantly, my suggestion that fnmatch belongs in a "strings" library does align with your suggestion that fnmatch shouldn't be locked into a "glob" library that also includes the filesystem traversal components.


You know what’s more fun than having a bad junior write crap code while you point out their mistakes? Writing good code yourself.


None of those listed jobs is actually unskilled labor. Driving a big truck around narrow roads is a skill most don’t have, doing it at speed and running up and down to actually move the heavy packages is a skill most don’t have. Assembling furniture is a skill most don’t have, especially with complex engineered wood products that will break if stressed wrong. Handymen is literally just a collection of skilled labor jobs rolled into one guy that can handle small home improvement projects like carpentry, masonry, plumbing, and electrical. These are specialized jobs that have wrongly been labeled “un-skilled” or “semi-skilled” as if knowledge work is the only skill of value…


Very, very little labor is unskilled. In almost any work there is a massive difference in quality and speed between someone who has been doing it for <6 months vs. someone who has been doing it for >3 years.

My theory is that "unskilled labor" was a term of propaganda invented by an earlier generation of business leaders in order to publicly devalue many labor-intensive roles. That generation knew that it was a lie, but the business leaders that followed were taught that "unskilled labor" was axiomatic, and essentially "drank the kool-aid".

The result of this is that the labor pool for many disciplines has been hollowed out because it's no longer financially sustainable for workers to build the skills needed to excel in those roles.


Yes, it's propaganda. If the corporatists can convince people that a previously well-paid job (working in a slaughterhouse, for instance) is actually "unskilled labor," they're one step closer to convincing people it should pay less, and that it's a job no one you know would take so they have to import cheap labor to do it.


Sure, but the argument is still that the smartphones aren’t the root cause. It’s the transactional nature of the thing. Can’t fail students because money would go down, so keep passing them as they get better equipped to ignore you and have reduced requirements to get a passing grade.

The thing that’s changed is how much the transactional nature favors the lazy students, not the smartphones specifically.

The reason the argument is so bad that “it’s the smartphones” is because that implies an easy solution that is external to the academic system, when the root cause is internal to the system.


Why would the transactional nature favor students now though? What’s the mechanism for that, that’s internal to the system?

In other words it sounds like you’re arguing that the root cause is “the transactional nature” but that’s the one thing that hasn’t changed. So why is it worse now?

What is it that makes students “better equipped to ignore you”?


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

Search: