Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnulinux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
241.
▲
by
gnulinux
3y ago
I think that this is a hard problem and you're right that spamming KeyError everywhere is against the exceptionality of exceptions. But the current completely unchecked model is also misleading. I don't have such a great solution
242.
▲
by
gnulinux
3y ago
In terms of programming language construction making `x.y` and `x["y"]` equivalent looks appealing and, admittedly, cute but there are some problems: * For new languages: It's not generic enough since there is no equivalent o
243.
▲
by
gnulinux
3y ago
Makes the grammar simpler which makes new implementations to implement tokenizer much faster/cheaper. It's a simple problem with simple solution that has been causing a medium sized issue, so why not fix it?
244.
▲
by
gnulinux
3y ago
PEP 695 is great. I've been using mypy every day at work in last couple years or so with very strict parameters (no any type etc) and I have experience writing real life programs with Rust, Agda, and some Haskell before, so I'm fa
245.
▲
by
gnulinux
3y ago
Unfortunately, this is the fantasy but it's not the reality for some Americans. USA is a very complex country where blanket statements like this can be so far from the truth for some that you'd be surprised. Tax education in o
246.
▲
by
gnulinux
3y ago
Nothing too major except I'm about 99% sure \after is buggy. I love LilyPond enough that I'll soon file a bug report. It's possible I'm missing something but I have ample evidence that \after in certain contexts mess u
247.
▲
by
gnulinux
3y ago
My music involves a lot of time sig changes. When I export REAPER project to midi and consume in Python, there are bugs such as note duration being wrong exactly where there is a time sig change.
248.
▲
by
gnulinux
3y ago
This doesn't work for me because I do a lot of algorithmic composition and a huge part of my music making involves programming and it's very hard to write code anywhere that's not linux. Also I truly hate using windows or osx
249.
▲
by
gnulinux
3y ago
Really??? Uh, it's probably my fault but as a hobbyist composer (day job software engineer) I can personally say that tools I use absolutely and utterly suck. They're immensely buggy. My workflow includes: - LilyPond for writing t
250.
▲
by
gnulinux
3y ago
I'll probably do this! I never finished a game but sounds like a fun challenge and I some free time this weekend. I'm a composer so I'll keep everything very light and just focus on the music and programming in order to pract
251.
▲
by
gnulinux
3y ago
My sense is you're likely correct but do you have a source? I can't find confirmation and Keurig itself claims: > Keurig® pods are BPA-free and constructed using only FDA approved food grade materials. In addition, the temperat
252.
▲
by
gnulinux
3y ago
Absolutely not true and this is simply American propaganda. The truth is American insurance industry is an extremely inefficient middleware that makes everything more expensive and worse than other developed countries. [1] [1] "US spen
253.
▲
by
gnulinux
3y ago
I think you misunderstood what I said? They don't turn it into cash, they use it as payment for "priceless" services. Say, you pay someone "Mona Lisa" for an assassination, and they take it, then they themselves use
254.
▲
by
gnulinux
3y ago
What? Aren't stolen high art pieces used as their own currency in the dark web for "priceless" services. I was told that criminals use stolen art for payment and it just goes around one criminal to another. Is this just an ur
255.
▲
by
gnulinux
3y ago
For those who don't know, this is a quote from Tarantino's debut movie "Reservoir Dogs" (1992). The line is said by Mr. Pink (Steve Buscemi) in the first scene.
256.
▲
by
gnulinux
3y ago
This hits the nail. I agree that there are tons of music teachers, especially classically trained teachers who are like this. They can't/won't/don't teach improvising, composing, encourage you to develop your person
257.
▲
by
gnulinux
3y ago
A lot of music teachers are like that. I personally consider it shitty. My friend's first violin teacher (when she was 10 years old) made her do empty string bowing for a year. Just pull and push bowing. Now, don't get me wrong, t
258.
▲
by
gnulinux
3y ago
I don't fully disagree with you but my personal opinion is that people give too little credit to contemporary movements within Western art music. Their cultural force is significant, but it's clouded so it's not easy to mak
259.
▲
by
gnulinux
3y ago
Disclaimer: I'm not a writer, but I do write music. I think there are two types "bad" writing and I think people have a hard time having nuanced discussion about this. First category is what I would personally describe "
260.
▲
by
gnulinux
3y ago
> I've taken to replacing docker compose files with bash scripts for my personal projects. So far, it's been OK. I'm sorry but this is just incredibly messy for anything that's not trivial. We have tons of docker-comp
261.
▲
by
gnulinux
3y ago
This is the current setup I have at my current day job and it's pretty awesome. Wouldn't change it for anything else.
262.
▲
by
gnulinux
3y ago
No, no, I think you're missing the point. Mathematics is such that all mathematicians, in particular Brouwer and Hilbert, will read a proof and say "yes, this follows" or "no, it doesn't follow". The agreement
263.
▲
by
gnulinux
3y ago
Before coming to college I had tons of programming experience and two interships. I wrote websites, backends, real life applications shipped to customers, school club websites, I even taught C++ in my high school's IEEE chapter. CS 61A
264.
▲
by
gnulinux
3y ago
I personally had a blast and absolutely incredible time in both CS 61A and 61B. That they're "weeder" classes can be considered true only from the perspective that they're challenging classes but note that almost all CS&
265.
▲
by
gnulinux
3y ago
Just focus on improving your performance metrics the next quarter and shipping the project to the customer smoothly and you should be in a good position for the next year.
266.
▲
by
gnulinux
3y ago
I pronounce it a bit like "cor-relation", in IPA like /kor.re'lei.ʃən/ but also perhaps like /ko:.re'lei.ʃən/ ("coh-relation"), and almost never like /ko.re'lei.ʃən/ (~="
267.
▲
by
gnulinux
3y ago
It's because you treat it as if it's all or nothing. You can effectively allow apps to cooperatively schedule themselves, but also make sure `while(true){}` doesn't infinitely loop the system. You can e.g. timeout each app, o
268.
▲
by
gnulinux
3y ago
This is a lot of software nowadays. Design something extremely confusing, write complicated docs, users scratch their heads hold it the wrong way, things blow up, blame the user for not understanding your mental model. When I write software
269.
▲
by
gnulinux
3y ago
Uh... Such is linux life, when you're hit with issues and complain, it's "This is very gross disinformation and/or incompetence". No wonder some people won't bother dealing with it. Again, I truthfully experien
270.
▲
by
gnulinux
3y ago
Just to be clear, because it's buried everywhere and it's only in the original PEP page, these are examples of the new statement: # A non-generic type alias type IntOrStr = int | str # A generic type alias type ListOrSe
More ›