HNHacker News
TopNewBestAskShowJobs

kjeetgill

3,957 karma · joined April 30, 2018

submissionscomments
kjeetgill··on SICP: the end of an era (2021) [video]
Sincerely no snark intended. But this comment and another about "bottom-up" via Assembly and C kinda show that maybe you've missed the point.

We can blame SICP itself for that maybe, but it's all in the name: Structure and Interpretation of Computer Programs. It's abstract because it's not about actually physical computing — nor is it trying to take you to the same place as learning computing from hardware, "bottoms-up" is meant to but via some other mathematical means.

It's trying to teach you to reason about computer programs by it's structures — that they aren't just a list of instructions.

Reading Shakespeare won't teach you grammar but they'll help you be a better reader and writer in their own ways!

kjeetgill··on Apple TV prompt requires another Apple device
They're not making excuses for it— just clarifying why/how easy it can be to misunderstand the marketing material that led to that mistake.
kjeetgill··on A New Way to Achieve Nuclear Fusion: Helion [video]
The Nobel Prizes are awarded to "those who, during the preceding year, have conferred the greatest benefit to humankind."

I'd always heard it as: It's not just about new physics but about impact for actual people. Is it awarded that way? I couldn't say. But cracking fusion sounds worthy to me.

kjeetgill··on Chinese company that stole IP from ASML raises $140M
I'm not a US hater at all and agree with everything you've listed ... And a lot of thievery, broken treaties, and cheating too.

How that makes you feel about the US — or about thievery's morality and place in history — is an exercise left to the reader. But I think that's a fair read of the history.

kjeetgill··on In Memory of a Giant ( Chris Seaton)
I can't speak to anyone else's experience or interpretation of depression or suicidal feelings, but here's what I've come to think of my experience with them:

The experience is literally overwhelming. If you've ever felt overwhelmed by fear or overwhelmed by anger or anxiety you can relate to the idea that a simple rational list of the situation calmly spelled out doesn't shake the chemical, emotional, biological experience of it all. Depression/suicidal thoughts just operate on such a longer, slower, methodical time scale.

Yea, you can list all the reasons you should be happy (and that can help ... Sometimes. Or Eventually.) but it doesn't shake that you just aren't. And the that "make you feel depressed" — personal conflicts, life circumstances, jealousy etc. — well sometimes it's just what you fixate on when you're feeling that way, but not exactly because of it.

It's a strange experience and I'm thankful I've had years of distance on the other side of all of that.

kjeetgill··on Right and wrong: ten choices in language design
From the Abstract:

> and explanation of the thinking behind Eiffel's corresponding mechanisms.

Eiffel is the author's language so naturally it's going to conform to his ideas for what's correct or not. This is a defense of his language design choices, not about "deriving" the perfect language from some first principles or "calculus" and accidentally discovering it's Eiffel.

kjeetgill··on Blitsort: A fast, in-place stable hybrid merge/quick sort
People forget! The O(nlogn) limit for the best worst case is for comparison sorts. I don't know if you consider it a "special case", but for more cases than not you can do guaranteed linear time to the number of elements: Radix and Bucket Sort. This is O(n) for things like ints because the number of bits are constant but for strings the length plays a factor: O(k*n). This performance isn't dependent on the distribution of items being sorted so I'd consider that pretty general.

You could also consider things like sleep sort or spaghetti sort: googling them I'll leave to the reader. Oh, and sorting networks are a good read too.

kjeetgill··on Elastic.co lays off 13% of team
Lest best list I've found so far is pretty light: https://mikepope.com/blog/AddComment.aspx?blogid=2354
kjeetgill··on Why it’s hard to buy deodorant in Manhattan
Hm. Maybe it's just from having grown up here but to me those cities are very different places — each with a dozen neighborhoods of their own. And they range from "urban" through suburban, to isolated neighborhoods. Especially when you want to consider them in terms of stores, crime rates, foot traffic etc.
kjeetgill··on Why it’s hard to buy deodorant in Manhattan
I'm not sure how to consider the stats you're using here. Metropolitan areas aren't cities, the whole reason for the term is to include not just adjacent suburbs, but whole adjacent cities to major urban cities. Do we really consider an hour away and for cities over living in San Francisco?
kjeetgill··on Inverting a binary tree using x64 assembly
I'm not well versed in assembly, so learning assembly first would be the hard part!

I'm with GP, it's fun seeing how solutions differ between languages as a way to peek into other language communities I don't spend as much time in.

kjeetgill··on Using Rust at a startup: A cautionary tale
Java just has an incredibly long, deep, relationship with the open source/FOSS world that is going to take C# a lot of time to catch up with. Java's also consistently had a much better story with backwards/forwards compatibility and versioning.

I haven't used it in years, but I didn't find the anywhere near as full an ecosystem around C#, it's tooling, it's libraries, etc. It didn't help that there was a lot of confusion around what ran on which runtimes/versions.

Perhaps it's changed since then.

kjeetgill··on Nord Stream leaks confirmed as sabotage, Sweden says
If that's the case, why would Russia accuse the UK?
kjeetgill··on Twitter’s Entire A11y Experience Team Let Go
That's definitely close, thanks!
kjeetgill··on Meta Is Preparing to Notify Employees of Large-Scale Layoffs This Week
> TikTok is a copy of FB funded by the CCP.

With all due respect — Facebook (the product) is one of the social platforms furthest from TikTok. Even roughly equating them sounds like you might not use, know, or understand any of them. Vine, YouTube, or Snapchat maybe — they all differ in different ways — or even Insta I get ... But Facebook?

kjeetgill··on Twitter’s Entire A11y Experience Team Let Go
I have no horse in this race — I'm not on Twitter — but does anyone know if the blue checkmark boosts your posts in the feed/recommendation engine?

I'd expect it does implicitly at least because people must interact with those users differently.

kjeetgill··on Twitter’s Entire A11y Experience Team Let Go
> Huh

Before you let that cynicism build up too much, for the record, not all of us Elon+Twitter skeptics have a problem with the $8 thing. You're just not going to hear from any one who didn't have an issue with it.

Related: Is there a quippy term or a fallacy for the (very natural!) habit of treating a random sample of a million voices and expecting a coherent message from them? I feel like it's related but distinct from a strawman.

kjeetgill··on I worked for Elon Musk in the early days of SpaceX
Agreed. Impulsive, careless, fraudulent? Sure that's fine to have opinions and thoughts on, he's a public figure and we have a right to gossip and all. But incompetent? I feel like you need a bit more factual meat to something like that. That's a stretch. You can fail upwards in a lot of crowded fields, especially software startups, but Tesla, SpaceX, Starlink? Give the man some credit.
kjeetgill··on Lex Fridman Interviews Richard Feynman
Oxford English Dictionary (via Google) gives:

Factoid

- a brief or trivial item of news or information - an assumption or speculation that is reported and repeated so often that it becomes accepted as fact

So both uses are reasonable?

kjeetgill··on FBI testimony on hair analysis contained errors in 90% of cases (2015)
> The DOJ, FBI, Innocence Project, and NACDL (National Association of Criminal Defense Lawyers) have been working jointly on this review and share the same goal of ensuring the integrity of the American justice system in all respects. All of the parties are committed to addressing this situation properly and will continue to work together in a collaborative and professional manner.

This is the only thing keeping the cynicism at bay for me when I read stories like this. It's horrifying to think of how many people might be falsely imprisoned.

kjeetgill··on Nanowire synapses 30,000x faster than nature’s
Huh, I've heard about this study but recall them having the opposite conclusion.

Edit: I think this is the study we're thinking of. http://psychologyrich.blogspot.com/2011/04/does-bungee-jump-...

They couldn't see the flickering screen any better even though their subjective experience of the duration was longer.

kjeetgill··on GraalVM 22.3: JDK 19 builds, jlink support, new monitoring features, and more
Hotspot introduced the JVM Compiler Interface (JVMCI) a while back, so you could drop in any JIT replacement, including Graal.

https://openjdk.org/jeps/243

This is different than using GraalVM, which has all the polyglot stuff too. And the Native Image AOT stuff is different yet again ... I think! There's a lot of uses of the same core technology. It's pretty cool stuff!

kjeetgill··on Authors’ names have ‘astonishing’ influence on peer reviewers: study
Interesting, I hadn't thought of that. I wonder if that's okay though — if you're that familiar with someone and their work I'd expect your bias towards that specific person overrides any broad gender bias.
kjeetgill··on JEP draft: 64 bit object headers
Hey, sorry if it came across as condescending, I really didn't mean it to be. All I wanted to say was I don't think the choice is obvious and leave a few googleable buzzwords for anyone interested to go read up more on it.

I don't think I took a stance pro/anti erasure other than to say I think it's way more complicated a topic than it might seem (maybe not to you, but likly to others!) and it's worth reading up on. AND I didn't want to dig up old HN comments/posts to confirm what I'd read about it, so I was necessarily vague.

Edit 1: For instance, I vaguely recall that Scala head trouble porting to C# because of erasure related stuff. But I'm not genius enough to remember the details so I didn't get into it.

Edit 2: So I dug one up: https://cr.openjdk.java.net/~briangoetz/valhalla/erasure.htm... And posted here https://news.ycombinator.com/item?id=33171832

Edit 3: Other good conversations on it: https://news.ycombinator.com/item?id=18679684 https://news.ycombinator.com/item?id=13051594

Again, my only stance is that it's a surprisingly deep topic — Not making any claims!

kjeetgill··on Go: Redefining For Loop Variable Semantics
I've always referenced this as one of the subtle points of genius for how Java did lambdas:

by requiring captured variables to be final it removes a lot of ambiguity around what a variable name refers to. I like that local variables can only be changed locally. If you do want crosstalk between the inner and outer scopes you have to be more explicit and introduce a reference to talk through.

I love python, but I basically avoid this construction and use a single element list if I need it. I can never remember exactly how it works.

kjeetgill··on JEP draft: 64 bit object headers
I don't want to rehash this here, but this is actually a less obvious choice than it can seem like at first blush! Erasure and primitive specialization have a very deep set of considerations and tradeoffs that touch a ton of language features. There's a ton written about it, value-types generally, monomorphization, etc.
kjeetgill··on JEP draft: 64 bit object headers
I disagree. In general once you have a primitive specialized library kicking around in your path, you can pretty much just always use it for anything with primitive keys no questions asked. You don't have to over-optimize by deciding which one each time.

Usually you just pick fastuil or kobloke and then use it every time.

Edit: as comments below corroborate.

kjeetgill··on JEP draft: 64 bit object headers
These enhancement proposals are often OpenJDK/hotspot specific. I do believe this left to vendors.
kjeetgill··on It's Time to Mandate Treatment of the Dangerously Mentally Ill
Ah, I should have been more careful then. I was under the impression that Boise was dealing with an overwhelming transplant issue and was resistant the way Austin and Portland have been.
kjeetgill··on All Twitter users in the US will start to see crowdsourced fact checks on tweets
Are you reading it top to bottom somehow that you're even coming into contact with slang you haven't heard used? In my experience it's always filled me in on the precise meaning I've needed.
← PreviousPage 2 of 34Next →