HackerLangs
TopNewTrendsCommentsPastAskShowJobs

jhhh

no profile record

comments

jhhh
·8일 전·discuss
The article presents two possible methods to protect privacy in a dataset. It then attacks a theoretical weakness in a contrived scenario in the old method, which intends to incline us to choose the other, newer solution. The article does not describe in detail the newer solution beyond its name. I have have questions that the article doesn't cover in enough detail: 1) Has the coarsening failed in the way described in the article in practice which leaked information? 2) How does the 'other' solution we're expected to desire work? 3) What is an example of the difference in level of detail offered by the newer solution that was not possible when the data needed to be coarsened in practice?
jhhh
·8일 전·discuss
Just like the article and every other opinion in this thread...
jhhh
·8일 전·discuss
The prompt they used was probably more succinct. Not everything needs fleshed out.
jhhh
·10일 전·discuss
What in the dissenting opinions definition of jurisdiction did you disagree with?
jhhh
·지난달·discuss
Why was 'can a user request a different email' not literally the first test that comes to mind when making something like this? Do they not test anything because the scale is too big?
jhhh
·지난달·discuss
Ironic to use AI writing to complain about AI search results to advertise your product. But to the point, being an old school firefox user I still have separate address and search bars. My main search engine on my PC is 'google (web only)' which opens directly to the web tab which only has result links. I'm dreading the day they remove it as a feature.
jhhh
·2개월 전·discuss
I haven't kept up with cljs in a long time but I remember it originally being pitched as just clojure on js--at least I think that's how Rich originally described it. My impression was it was just supposed to be, as much as possible, another runtime. This change seems to add in features that are exclusive to cljs and actually conflict with clojure itself as await is already a keyword in clojure.core. Have the two impls diverged over time, or was this feature specifically important enough to the users to overcome the differences?
jhhh
·3개월 전·discuss
Amazon sidewalk and related technologies will likely allow devices to bypass needing your network at all in the future. The last TV that doesnt support these features will probably be my last.
jhhh
·3개월 전·discuss
It does seem to introduce a lot of complexity for its own sake. This kind of workflow only survives on the absorb command and like you said it doesn't really cover all the interplay of changes when separated. It's a more independent version of stacked diffs, with worse conceptual complexity.
jhhh
·3개월 전·discuss
After hearing about a workflow that used absorb I wrote a simple git version I called 'squash-index' in about 15 lines of bash in a few minutes. Since git allows subcommand extension I just made an executable 'git-squash-index' and everything worked as if it was a builtin subcommand. I get that initial ergonomics are important for new tools but if the only novel feature is reified merge conflicts it doesn't really seem worth making the switch. No one needed to evangelize git to people like myself who had worked with a variety of old version control systems (cvs, svn, etc). It was just obviously much, much better. jj seems like it streamlines certain things, and might be worth learning for new users who have no git experience, but doesn't really differentiate itself enough for people who've been using git for a long time.
jhhh
·3개월 전·discuss
I miss the text only reading era. This is a blog and should not need to have JavaScript enabled to render text to a page. I would rather not have to be annoyed by flavor of the month duplicate scroll bars, cookie banners, newsletter pop-ups 5 seconds in, scroll to the top pop-ups, idle overlays, highlight helper bars that break copy paste, etc. This blog didn't have all of those but had some. I'm sure the metrics look great because I had to load this page four times. First initially, and then disabling JavaScript and realizing it doesn't load anything at all. A third time re-enabling JavaScript and then deleting all the annoying elements, and then a fourth time to make sure my cosmetic filter is applied correctly. 4x the interactions! Must be doing something right.
jhhh
·4개월 전·discuss
A benefit to using the currying style is that you can do work in the intermediate steps and use that later. It is not simply a 'cool' way to define functions. Imagine a logging framework:

  (log configuration identifier level format-string arg0 arg1 ... argN)
  
After each partial application step you can do more and more work narrowing the scope of what you return from subsequent functions.

  ;; Preprocessing the configuration is possible
  ;; Imagine all logging is turned off, now you can return a noop
  (partial log conf)
  ;; You can look up the identifier in the configuration to determine what the logger function should look like
  (partial log conf id)
  ;; You could return a noop function if the level is not enabled for the particular id
  (partial log config id level)
  ;; Pre-parsing the format string is now possible
  (partial log conf id level "%time - %id")
  
In many codebases I've seen a large amount of code is literally just to emulate this process with multiple classes, where you're performing work and then caching it somewhere. In simpler cases you can consolidate all of that in a function call and use partial application. Without some heroic work by the compiler you simply cannot do that in an imperative style.
jhhh
·4개월 전·discuss
I asked gemini a few months ago if getopt shifts the argument list. It replied 'no, ...' with some detail and then asked at the end if I would like a code example. I replied simply 'yes'. It thought I was disagreeing with its original response and reiterated in BOLD that 'NO, the command getopt does not shift the argument list'.
jhhh
·4개월 전·discuss
Google had a feature in gmail for a long time that automatically sorts your email into categories like Promotions, Social, Updates, Forums, etc. It was automated and fairly effective imo. If you try to disable the 'smart' features they will then disable this categorization retroactively and dump thousands of emails in your inbox and then nag you about turning it back on.
jhhh
·5개월 전·discuss
Did the article intentionally start with a LLM cliche to filter out all the people who hate reading obviously generated content? I would say it worked.
jhhh
·5개월 전·discuss
YouTube Shorts exist, which they brag about hours watched, so I don't think they really care about those things at all.
jhhh
·5개월 전·discuss
Right, if there's no legal weight to any of their statements then they mean almost nothing. It's a very weak signal and just feels like marketing. All digital goods can and will be made worse over time if it benefits the company.
jhhh
·5개월 전·discuss
If I made a new, not-AI tool called 'correct answer provider' which provided definitive, incorrect answers to things you'd call it bad software. But because it is AI we're going to blame the user for not second guessing the answers or holding it wrong ie. bad prompting.
jhhh
·6개월 전·discuss
This feels like a case of guessing at something you could know. There are two types of allocations that each have a size and free method. The free method is polymorphic over the allocations type. Instead of using a tag to know absolutely which type an object it is you guess based on some other factor, in this case a size invariant which was violated. It also doesn't seem like this invariant was ever codified otherwise the first time a large alloc was modified to a standard size it would've blown up. It's worth asking yourself if your distinguishing factor is the best you can use or perhaps there is a better test. Maybe in this case a tag would've been too expensive.
jhhh
·6개월 전·discuss
Do you envision the development to track clojure as much as is possible, similar to how cljs was conceived to be clojure in js and not just clojure-ish js, or do you think you'll eventually diverge? I made a language a while ago that was like 90% clojure but hesitated to call it that because I didn't want there to be an expectation that the same code would run as-is in both languages. Seems like from the landing page you're going for more of a drop in replacement. Look cool, good luck!