HNHacker News
TopNewBestAskShowJobs

tayo42

4,952 karma · joined July 15, 2015

submissionscomments
tayo42··on Elevated errors across many models
I was kind surprised to see details like that in a comment, but clicked on your personal website and see your a Co-founder, so I guess no one is going to repremand you lol
tayo42··on Kids Rarely Read Whole Books Anymore. Even in English Class
So what is your independent thinking doing for you? Are you happier then most?
tayo42··on Kids Rarely Read Whole Books Anymore. Even in English Class
I believe the publisher of LOTR broke it up into multiple books.
tayo42··on Recovering Anthony Bourdain's Li.st's
> He made it acceptable for men to care deeply about food, travel, culture

That doesn't seem right. Tons of travel content existed before he got popular. Endless summer wasn't for women

tayo42··on Recovering Anthony Bourdain's Li.st's
Alot of his shows we're pretty doable finance wise for people to replicate. He did like 3 episodes about El bulli though
tayo42··on Recovering Anthony Bourdain's Li.st's
> Alternatively watch any of his travel shows

His really early ones were kind of rough. Like you could see he was still figuring it out. There was one episode where he just narrated a lonely planet guide.

tayo42··on The highest quality codebase
You don't have to apologize. It's the internet, pedantic is expected
tayo42··on Using Python for Scripting
Pretty much anything longer then a throwaway one liner I write in python.

Would be cool if python had a pipe operator though.

The back ticks in ruby is pretty ergonomic too. Wish python had a simpler way to run commands. Kind of tedious to look up subprocess run arguments and also break things up into arrays.

tayo42··on The highest quality codebase
I wouldn't call html, yaml or css languages.

Same for sql, do you really context switch between sql and other code that frequently?

Everyone should stop using bash, especially if you have a scripting language you can use already.

tayo42··on Things I want to say to my boss
Its amazing that working is so inhumane and unnatural that people break down like this. There is is nothing you can do except suck it up and create mental barriers to protect your self while participating this weird game of white collar work.
tayo42··on The highest quality codebase
How do you end up with 3 to 4 languages in one project?
tayo42··on Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Program
Off-topic i guess. Are there like large scale success stories using this os?
tayo42··on Show HN: WhatHappened – HN summaries, heatmaps, and contrarian picks
At a glance though it's not obvious if theres something being sold. Its a hobby project? What is there to gain by gaming hn for this? Odd
tayo42··on Rust in the kernel is no longer experimental
Rust isn't that complex unless your pulling in magical macro libraries or dealing with things like pin and that stuff,which you really don't need to.

It's like saying python is complex becasue you have metaclasses, but you'll never need to reach for them.

tayo42··on The AI wildfire is coming. it's going to be painful and healthy
2k a month for daycare or nursery school lol
tayo42··on Bikeshedding, or why I want to build a laptop
I get the complaint about naming but hp is different then apple. They sell a variety of configurations and one isn't neccesarily better then any other.
tayo42··on OMSCS Open Courseware
Is a masters of really holding anyone back once you have a couple years of experience?
tayo42··on Patterns for Defensive Programming in Rust
I think you can do something like impl defref but not sure that's a good idea hah. Maybe it's a different trait I'm thinking of
tayo42··on Leaving Intel
The guys post were commenting on has alot of info on this topic lol
tayo42··on Adenosine on the common path of rapid antidepressant action: The coffee paradox
How do you explain the headaches and exhaustion durring withdrawal then?
tayo42··on Patterns for Defensive Programming in Rust
>Using _ as a placeholder for unused variables can lead to confusion

I would have guessed linters would have complained about what's being suggested there. Is the something special about var: _ thing that avoids it?

tayo42··on Thoughts on Go vs. Rust vs. Zig
It's one piece of information, but logging at the error location does that still. And if you have a function that's called in multiple places how do you know the path that got you into that place. If it wasn't useful we wouldn't try to recreate them with wrapped errors
tayo42··on Thoughts on Go vs. Rust vs. Zig
This guy can't help his self except to act like an ass
tayo42··on Thoughts on Go vs. Rust vs. Zig
I don't disagree that exceptions in python aren't perfect and rust is probably closest of them all to getting it right (though still could be improved). I'm just saying stack traces with exceptions provide a lot of useful debugging info. IMO they're more useful then the trail of wrapped error strings in go.

exceptions vs returned errors i think is a different discussion then what im getting at here.

tayo42··on Thoughts on Go vs. Rust vs. Zig
I thought ocaml programs were a little confusing about how they are structured. Also the use of Let wasn't intuitive. go and rust are both still pretty much c style
tayo42··on Thoughts on Go vs. Rust vs. Zig
Chill with being condescending if you want a discussion.

The error type in go is literally just a string

type error interface { Error() string }

That's the whole thing.

So i dont know what your talking about then.

The wrapped error is a list of error types. Which all include a string for display. Displaying an error is how you get that information to the user.

If you implement your own error, and check it with some runtime type assertion, you have the same problem you described in python. Its a runtime check, the API your relying on in whatever library can change the error returned and your code won't work anymore. The same fragile situation you say exists in python. Now you have even less information, theres no caller info.

tayo42··on Thoughts on Go vs. Rust vs. Zig
That makes even less sense becasue go errors provide even less info other then a chain of messages. They might as well be lists of strings. You can maybe reassbmle a call stack your self if all of the error handlers are vigalente about wrapping
tayo42··on Thoughts on Go vs. Rust vs. Zig
I feel like almost always `?` is a mistake in Rust and should just be used for quick test code like using unwrap.

Go's wrapping of errors is just a crappy exception stack trace with less information.

tayo42··on Thoughts on Go vs. Rust vs. Zig
How is a stack trace with line numbers and a message for the exception it self not enough information for why an exception was thrown?

The exceptions from something like open are always pretty clear. Like, the files not found, and here is the exact line of code and the entire call stack. what else do you want to know to debug?

tayo42··on I ignore the spotlight as a staff engineer
What interesting problems have you solved recently?
← PreviousPage 19 of 34Next →