Better HN
topnewbestaskshowjobs
Log inSign up

avg_dev

1,405 karma · joined Oct 28, 2016 (10y ago) · 474 submissions

Submissions

comment 3y ago · link · parent

thanks, I think that would make sense

comment 3y ago · link · parent

Curious what you think of https://github.com/VSCodium/vscodium .

I'm not actually familiar with the issues that VSCode has but I seem to recall some key component was not OSS, but I forget the details there and maybe it has changed. I know it has telemetry and such, but AFAICT that can be disabled by some settings. (I personally use vscode for my own work and disable telemetry and don't use any code assistant platforms, and I would like to know if there is a problem with what I'm doing)

comment 3y ago · link · parent

A couple of thoughts:

1. Since you say it is an open market with alternatives, I don’t see why you seem to take issue with the blog post author taking one of the alternatives.

2. I thought the author did have some issues with the product. Like lack of persistence of uploaded files, price going up, and the support for the author’s current main language, Lisp, being not as good as for Python.

comment 3y ago · link · parent

How is this not covered by points 1 (don't put in hacks because of guessing) and 2 (measure)?

comment 3y ago · link · parent

wow, I didn't get that impression at all. And he clearly does say "Measure", not "shut off your brain".

I would assume that if you measure enough things and code enough you may start to get a feel for what is going to be expensive and what is not. And then - as before - you can continue to measure and iterate.

(Also, I think you said "first people" when you meant "first point")

comment 3y ago · link · parent

fantastic demo. 64k... i've never done anything like that. i think it is a very cool skill to have.

comment 3y ago · link · parent

> On April 22, 2011, Razor 1911's demo division won the public choice award[7] during the Scene.org Awards ceremony at The Gathering for their 64k intro "Insert No Coins" coded by Rez with music from Dubmood.[8]

Insert No Coins: https://www.youtube.com/watch?v=N5CNlMGcARA

comment 3y ago · link · parent

i would call this "paying attention".

comment 3y ago · link · parent

This is my question too. If I am going to risk my Google Account getting banned, there is no way I want to try something like this. If it is actually explicitly allowed, then sure I will use it.

comment 3y ago · link · parent

I’m pretty fond of their Relay product. I use something called Hide My Email on my iPhone and it, an Apple product, generates an email address that forwards to my main address and a reply-to address that will relay my mail to the sender without revealing my main address. It is great for signing up for stuff on the web. Relay is just like that, but works on my non-Apple computer (it’s a browser extension). It also has an add-on which generates one mobile number that works the same way and you can give it out to services that need a phone number.

I did file a support ticket once and the support person clearly didn’t understand or read my request and instead sent back some pre-formulated response to another query. That was kind of annoying. But other than that I’m quite happy to pay the few bucks a year for the service.

comment 3y ago · link · parent

I’m curious why I haven’t seen any ads or warnings to disable my ad blocker on YT yet. I do watch a lot of videos. I guess they are likely rolling it out and I will get it eventually.

comment 3y ago · link · parent

i really feel that the first sentence in that quote is an apt way to sum up a part of how learning and attention work for us as humans.

personally i've spent some time thinking about how in my life it is very easy for me to pay attention as hard as i can manage and still miss so many things. i feel like things like code review are a great way to work on this sort of thing (attention training, global and contextual awareness, etc.). for example, there is this place that i've been walking by regularly for a couple of years and someone maintains a nice flowerbed there and i pause to take a glance at it and have been doing so for about a year since i first noticed it. but a couple months ago i noticed that there is a companion flowerbed a few feet away that i just had never noticed because i was so focused on the first one. was that companion flowerbed there all along? i suspect that it was! but i have no idea because i didn't even know it existed.

i have tried to extrapolate this to knowledge across humanity in general. i suspect sometimes it takes just one person to notice something, to make an observation that informs their behavior, and it begins to disseminate to us all. sometimes it takes several tries and a long time to happen. and i wonder how much low-hanging fruit there is out there that just none of us have noticed yet. and i think about how integrating a simple, fundamental set of best practices already established by others who have been paying attention can improve the low-bar for us all.

i think that julia evans touched on this in https://jvns.ca/blog/2023/10/06/new-talk--making-hard-things... which was discussed here recently and so did dan luu in his https://danluu.com/p95-skill/ which has also been discussed here somewhere.

and, to conclude, i too have a lot of gratitude for stenberg and all the folks who've worked on curl, and many other parts of our internet infrastructure that i usually take for granted every day.

comment 3y ago · link · parent

Thanks to both of you for the amazing descriptions. And continued good luck.

comment 3y ago · link · parent

Very clear mental image there. Thanks for phrasing it that way.

comment 3y ago · link · parent

a part of me agrees with the aim of what you say: why not start afresh with something that is less prone to accidents? and i do agree with that idea. but i think it is also somewhat impractical to ignore that pretty much every server i've ever interacted with has a default, vanilla, bash installed, and if i know how to use that, it helps me get by.

not to say we can't and shouldn't try to do better.

comment 3y ago · link · parent

that was fantastic. i didn't watch the talk, i opened up the transcript and thought to myself i would read a few slides and see if i enjoyed it. that was maybe 20-30 mins ago and i finished it all. really well done, i enjoyed it from start to finish.

i like the way she broke it down. i feel like the author addressed ways to learn and communicate effectively and also grounded it in very concrete terms. i don't want to get too much into psychology or anything which i really am not qualified to talk about but i feel like going through these types of ways of learning and communicating is a continued exercise in ego deflation and in pragmatic problem solving.

i liked the SQL order-of-query-operations thing, the bash and shellcheck thoughts (i will use `-o all` from now on), i am curious to play with the DNS tool (the article links to https://messwithdns.com/ but the actual URL - taken from the text - is https://messwithdns.net/ , FYI), and i enjoyed the part about HTTP (i was hoping she would talk about SPDY and whatnot, i have not even begun to explore such things and am curious what that is all about).

i am going to read the two posts linked the behind-the-scenes on "hello, world".

thanks for the link!

edit: two things this made me think of:

1. the XKCD comic "ten thousand": https://xkcd.com/1053/

2. Mark Russinovich on git: https://twitter.com/markrussinovich/status/15784512452490526...

comment 3y ago · link · parent

I see

> I don't know how fast the car will go and probably never will. The car was built to thrill me, not kill me. That doesn't stop me from the occasional blast on the highway though.

but I am unsure if that means he has never driven it using the jet engine, or whether the engine even will power the car or just kinda runs on its own. I'm curious to see it go at all under jet engine power.

Edit: maybe this is it https://www.youtube.com/watch?v=R-ipYAl3o40

comment 3y ago · link · parent

nice... does anyone remember a K Car with a supercar engine? that was not quite as crazy as this one, no jet engine, but it was nice. i can't seem to find it but i remember reading about this "sleeper car".

comment 3y ago · link · parent

i love it

comment 3y ago · link · parent

i appreciate this counter-example; thanks. i was hoping there was a way to get real enums in go.

comment 3y ago · link · parent

I don't know, for me, the link posted here seems to be a tweet thread, and each post in the thread shows a screenshot of some of the post.

comment 3y ago · link · parent

I guess my thinking was based off of this:

> Each entry contains (nbits, value) where `nbits` is # bits to be consumed and `value` is normally a symbol, but if `nbits` exceeds N `value` is interpreted as a table index and `nbits` is reinterpreted as the longest code length in that subtree. So each subsequent table should have `2^(nbits - N)` entries (the root table is always fixed to 2^N entries).

Given that, wouldn't it be only natural to construct a test where nbits exceeds N, so that you exercise the code where `value` was being interpreted as an index, and `nbits` as the longest code length in that subtree?

Hmm, I guess that this could have been done and perhaps was done (I took a quick glance at the code and didn't really grok it in a couple mins), and the issue would be that even if you did do what I suggest, you would likely not exceed the maximum fixed size with your crafted test, and thus not catch the bug.

comment 3y ago · link · parent

Thanks for your explanation.

I’m not a C programmer over the past decade+ and was never very good at it anyway. But I was thinking, based on your description, I agree that a bounds check would have caught the issue, but I’m also curious if an automated test could have been constructed to catch this sort of thing. I personally work with code where you could factor out some calculations to their own function and test them in isolation. Perhaps that would be tough to do here because of performance; I am really not sure.

comment 3y ago · link · parent

Really interesting. I wouldn’t have conceived of this. But it only makes sense.

comment 3y ago · link · parent

Often people take what’s offered, whether it is a fair deal or not. Everybody isn’t out there negotiating their best possible rate all the time. Corporations have long taken advantage of whomever they can to earn a buck - it’s a time honored “tradition”.

comment 3y ago · link · parent

i cannot tell you how much i enjoyed this article. it was very funny. it had so many great elements. a fun tech problem, pizza, getting me to look up what “s-tier” meant, a dash of humor (as if the premise wasn’t already hilarious), the mea culpa at the end and the ideas as to what the bug was (his theory sounds plausible to me, but idk).

comment 3y ago · link · parent

Well, this is too is pretty clearly highlighted in the article... I mean it doesn't really matter too much, but

> He aimed to create a tool that was:

> Distributed: [...]

> Compatible: The new tool would incorporate as many features and workflows as BitKeeper.

> Secure: [...]

and there is another quote from Linus Torvalds contained in the article:

> 'Well, it was obviously designed for our workflow, so that is part of it. I’ve already mentioned the whole “distributed” part many times, but it bears repeating. But it was also designed to be efficient enough for a biggish project like Linux, and it was designed to do things that people considered “hard” before git – because those are the things I do every day.'

comment 3y ago · link · parent

i enjoyed your article; thanks. one small note: I think when you say

> (queue heart attack)!

you actually mean to say

> (cue heart attack)!

comment 3y ago · link · parent

well, this quote from Linus Torvalds is in the article:

> "So I’d like to stress that while it really came together in just about ten days or so (at which point I did my first kernel commit using git), it wasn’t like it was some kind of mad dash of coding. The actual amount of that early code is actually fairly small, it all depended on getting the basic ideas right. And that I had been mulling over for a while before the whole project started. I’d seen the problems others had. I’d seen what I wanted to avoid doing."

comment 3y ago · link · parent

heh, i browsed the tag history on github to see if i could track it down, but github gave me a 500 error on this link: https://github.com/git/git/releases/tag/v0.99
1
456
16