HN user

adchari

44 karma
Posts0
Comments41
View on HN
No posts found.

I'm unsure if this is true anymore? The ingredient list and information from their website seems to indicate that this is no longer an ingredient (although some of their products do use lanolin/beeswax)

They don’t really have to be losing in the long term, being short deep out-of-the-money puts nets you an option premium if the underlying never crashes, and once you delta-hedge that position, you can remove the tail risk from your portfolio

To be fair, this book definitely doesn’t start from first principles since UIUC requires several classes before 374 (the class which uses this book). UIUC splits the data structures material into another hands-on class, and introduces discrete math and preliminary ideas about algorithm analysis and proving correctness in another course.

On top of that, 374 only uses about half this textbook in conjunction with other notes about topics not covered in this book (mostly models of computation). The rest of the material in this textbook is used in 473, the elective advanced algorithms course.

That’s not to say that your experience isn’t valid, but within the context it is primarily used in, it’s a very good additional resource to lecture content, which is more than can be said of most textbooks

Compiler Explorer was used to teach some basics of compiler optimization in my computer architecture class a couple of years ago, but the About Me page was the first time I had heard about SWEs working in quantitative finance. I'm starting at a trading firm in a couple of weeks, so thank you Matt Godbolt for sending me down that particular rabbithole!

I’m going to chime in despite being a broke college student. I’ve been using ledger for about 2 years now, and daily reconciliation of what I actually spent is more helpful to me than having a budget, or anything else, it forces me to acknowledge how much I spent, and on what. Personally, it short circuits the easy swiping of plastic that leads to a ton of unnecessary spending, kinda like using cash.

Ledger has budgeting features, allows me to use multiple commodities (I even wrote a script to get stock prices and help ledger value them). I can’t comment on bigger things, but for my use case, I really enjoy it.

The issue isn’t really the paper (although one can argue that any single use item isn’t ideal), paper coffee cups contain a thin layer of plastic on the inside to prevent leaking, which prevents them from being easily recycled or biodegrading naturally (which also isn’t possible in a landfill). A minority of recycling plants actually has the capability to separate the paper from the plastic, but this is not time or cost efficient and so it’s easier to just throw it out.

Also, some places do brew or mix in a paper cup first, some will brew directly into your cup.

Maybe I can offer an interesting perspective. Compared to most readers on this site, I’m likely on the younger side, I’m 20, at a university, and I’ve been programming since I was ~14.

I used VS Code for the majority of my freshman year assignments, but decided to switch to emacs during my sophomore year, mostly because I’d heard interesting things about org mode, magit, and other packages, and I had a system programming class coming up that would require me to SSH into a VM and finish assignments on the VM.

The initial muscle memory shift was scary, I repeatedly gave up on learning emacs, only to come back a couple days later and attempt it again. I started with Spacemacs/Doom Emacs, but both assumed I knew vim, and I found feature discoverability to be complicated. The fact that many packages were included made things more confusing, I tried to figure out what helm and Ivy were, and how to configure things, etc.

The only time the process really stuck for me was installing vanilla emacs, reading a couple of tutorials on how the extension system worked, and just forcing myself to use it for every assignment I had. The built in tutorial was handy but I still don’t use the navigation commands most of the time. Nowadays, I can’t get out of emacs, I read my email in it, I use org mode for everything, and have it synced to my phone, I used lsp-mode at an internship this summer where I was writing Go, I’ve got autocomplete set up, etc.

While an easier experience would help get people into emacs, I think the fact that you can really customize it in any way you want initially forces you to learn a lot more about your editor than any other editor. If I want autocomplete, I need to go figure out how to set it up, but there’s a plethora of resources. It teaches you how to be a better developer, always looking for new packages and sharpening your tools.

Haskell's Children 6 years ago

Garbage collection is also limited, you can still effectively create “memory leaks” if you hold a reference to something you’re not longer using.

It’s not that the language is different, it’s that the default is stupid. It’s much more likely that if I’m trying to concatenate a string and a function, I’ve mistyped something, not that I want the source code of the function.

You can always include some additional function which takes a function as an argument and prints the source code as a string for the 4 people in the world who rely on function to string coercion, why is it a default behavior with no visibility?

I get it, JS is different from C or C++ and every other language but we call out poor design decisions by comparing them to expectations fostered by other languages

US schools can't exactly support all those American students without income, and international students are that source of income.

My university (UIUC) heavily relies on international student tuition to provide facilities, pay teachers, and give financial support to students who need it, despite the fact that it's a public university; they simply don't get enough funding from the state.

I fully support this, Harvard has definitely committed some questionable acts recently. However, Ivy League schools in general are well known for their prestige, and they usually have a rather high quality of education in most subjects. Why should any one group of applicants be excluded from seeking out that opportunity?

The same systems are in place at most private schools; all of them have affirmative action, holistic review, and control who gets in with their final say. Even public universities have this issue, look at gender-based admissions in CS for example.

But they're a lot easier to group together than any other races. Like most other races, they have similar cultural values (parents/family is the most important thing, education is a close second), they have some shared experience (India was under British control for a period of time, China and Southeast Asia were both at least under European influence, if not control (See: Vietnam)).

So how would you group them? People from the Middle East at least share a common religion, even with many North Africans, and are arguably a significant subgroup of "Asians" overall, but the average Indian is a lot closer to the average East Asian individual in general. Buddhist ideas are stemmed from Indian religious ideas, and plenty of shared cultural beliefs exist.

The top performer attributes are also interesting, the majority of Asian immigrants come to the US with a technical job, resulting in children who tend to succeed in similar subjects and overall, as their parents are an easy role model, and are relatively well off.

This, of course, can be attributed to things like the Chinese Exclusion Act, etc., which made it extraordinarily hard to immigrate to the US from Asian countries, so only well-off and educated individuals could get here.

While self learning tools is obviously a useful skill, it's also nice to have someone experienced give you a full overview of how things work. For example, I learned how to use a shell on my own, but learned a lot of features I didn't know by taking a system programming course.

UIUC has a similar course which teaches a variety of commonly used tools, and is graded based on open source contributions

https://cs.illinois.edu/courses/profile/CS491TC-120198

There are lotss of responses here advising Ubuntu to teach Linux skills. I'd like to put in a vote for Manjaro instead:

The automatic driver detection when you install it can be handy, the Arch repositories are easier to use and include the same software you would find on any other machine, and the Arch wiki still applies, allowing you to find information on any part of the system you have questions about.

In addition, I think Arch derivatives in general encourage a healthy reliance on the command-line, which is actually what you want to learn how to use.

The University of Illinois requires TOEFL and in person English language interviews before a TA or professor from a foreign country is allowed to teach any section. Students still face similar issues, due to accents and the fact that fluency in a language guarantees that you can convey an idea, not that you can engage listeners and use idioms which translate well.

Honestly, I haven't found a need for it yet.

I am a student studying CS, and none of my coursework really requires heavy memorization for exams or assignments. For the most part, even if I need to remember some algorithm, it is simple enough that it can be derived or remembered for lecture.

However, my SO is pre-med, and consistently uses Anki to great success. Her exams are very centered on information which needs to be memorized, including standardized exams like the MCAT. I think this is where spaced repetition programs shine.

Generally, people don't need to memorize large amounts of information, they need a few facts and relations to each other. This can easily be achieved with hand-written or typed notes which an individual can review when needed.