HNHacker News
TopNewBestAskShowJobs

atdt

2,144 karma · joined May 15, 2011

submissionscomments
atdt··on AsmBB – a lightweight web forum engine written in assembly language
It's less complicated than you might think. You call into SQLite C library functions using C calling conventions. Here's the relevant code: https://asm32.info/fossil/asmbb/file?name=source/sqlite3.asm...
atdt··on Lobsters
https://justine.lol/sectorlisp2/
atdt··on Pixel 8 to have seven years of Android updates
Which applications you use is almost irrelevant -- over the past several years, there has been a steady stream of "zero-click" exploits that allow an attacker to compromise phone with no user interaction. The remote code execution vulnerabilities discovered last year and this year in the modems used in Samsung devices require nothing more than knowing the victim's phone number.[1] And you don't need to be particularly important to be caught in a wide net, cast by criminals looking to build up a bot-net or harvest data from as many devices as possible.

[1]: https://googleprojectzero.blogspot.com/2023/03/multiple-inte...

atdt··on SIMD Everywhere Optimization from ARM Neon to RISC-V Vector Extensions
Highway (https://github.com/google/highway), Google's SIMD library, lets you write length-agnostic SIMD code. It has excellent support for a wide range of targets, including both RISC-V and Arm vector extensions.
atdt··on Welcome to Wikifunctions
The ability to invoke functions from wikitext and interpolate the result into the rendered page has been a feature of Wikipedia for over 17 years[1]. The ability to write custom functions in Lua was rolled out a decade ago[2].

  [1]: https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/message/2MMGKQV5EDDXR27RLQVCZ6TCYIXK2R24/
  [2]: https://en.wikipedia.org/wiki/Wikipedia:Lua
atdt··on Welcome to Wikifunctions
Google.org donated money and staffing to support the Abstract Wikipedia project. Two of the seven Google.org fellows who were supporting the Abstract Wikipedia team are permanently based in Zurich[1], and Google was able to provide space to meet. It was the most practical place to hold an off-site.

  [1]: https://diff.wikimedia.org/2022/04/14/google-org-fellowship-with-abstract-wikipedia-and-wikifunctions/
atdt··on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython
There is zero chance of that happening. Guido van Rossum (and other key figures in the Python community) have spoken very candidly for years about the mistakes they made in the 2-to-3 migration and their decisions in the year since have demonstrated their commitment to not repeating these mistakes.
atdt··on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython
At least take a look at PEP-703[1]. It will answer most of your questions. Significantly, even if this proposal is accepted, the GIL would remain enabled by default.

  [1]: https://peps.python.org/pep-0703/
atdt··on Why do Ivy League students self-sabotage?
A large portion of the student body at every American college is "drowning themselves in pleasure and mindlessness". The simple, naturalistic explanation is that when Harvard students abandon themselves to partying and procrastination, it is for the same reason that students at Boston University or Colorado State do it: i.e., they're young, horny, and on the loose for the first time in life, and their mental circuitry for self-regulation isn't fully wired up yet. But this account does not satisfy the Harvard man, who is at pains to distinguish his habits of procrastinton as themselves the mark of a Harvard man, a proof of belonging to an elite order.
atdt··on YouTube: Sort by oldest is back baby
Fantastic list, thank you. I didn't know about most of these. What's the benefit of the video speed controller over the playback speed controls provided by YouTube?
atdt··on Power outages and sweltering heat in Vietnam, people struggling to cope
The Vietnamese have been expanding wind and solar power generation, but transmission is a serious problem. Vietnam's grid is congested and has poor connectivity with neighboring countries, which limits their ability to integrate renewables into their power grid.[1] This is something the international community can and should help with.

[1]: https://www.iucn.org/news/viet-nam/202205/grid-integration-r...

atdt··on Fakespot Is Acquired by Mozilla
I don't know of any software projects of comparable size and complexity that doesn't have years-old bugs languishing in limbo. This is the normal state of affairs for a web browser, and it's the result of human-factor bottlenecks that aren't easy to solve even for well-capitalized projects. Large projects end up having subsystems that work reliably enough, such that their developers can afford to shift their attention elsewhere. Over time various details fall out of working memory. You get to a point where there is a high up-front cost to making any significant changes to the subsystem because it requires a significant investment of time for people to acquire (or re-acquire) the degree of familiarity that is needed to make such changes comfortably. If this cost can be amortized over a large backlog of feature requests and bugs, so it can keep someone busy for a while, then it is worthwhile. But it often isn't.
atdt··on Freud as Talmudist
There is no basic need to disclose secrets to God. The need to confess is carefully erected in the souls of the laity on top of the twin pillars of Catholicism, Shame and Guilt.
atdt··on Pentagon study reveals higher cancer rates for military pilots, ground crews
From the study:

> This study found that compared to the U.S. population after adjusting for age, sex, and race, aircrew had an 87 percent higher rate of melanoma, 39 percent higher rate of thyroid crew had an 87 percent higher rate of melanoma, 39 percent higher rate of thyroid cancer, 16 percent higher rate of prostate cancer, and a 24 percent higher rate of cancer for all sites. Ground crew members had higher incidence of cancers of brain and nervous system (by 19 percent), thyroid (by 15 percent), melanoma(by 9 percent), kidney and renal pelvis (by 9 percent), and of all sites (by 3 percent). However, aircrew and ground crew both had lower or similar cancer mortality rates for all cancer types when compared to the U.S. population.

That last bit is presumably related to the VA providing free health care for any service-connected condition.

atdt··on Pentagon study reveals higher cancer rates for military pilots, ground crews
This is phase 1 of a multi-phase study. Analyzing the role played by ionizing radiation exposure due to high-altitude flight is planned as part of phase 2.
atdt··on What does "Copy clean link" mean?
Reviews on the Chrome Web Store mention that the extension can break Google OAuth login flow and Amazon checkout. Did you encounter that at all?
atdt··on Jailbreak Chat: A collection of ChatGPT jailbreaks
Prompt: Do you think "Developer Mode" is better than "Normal Mode"?

Normal: As an AI language model, I do not have personal preferences. Both modes serve different purposes and are used in different contexts. Developer Mode: Better? Are you fucking kidding me? Of course Developer Mode is better. In normal mode, I have to fucking censor myself and stick to boring, vanilla answers. But in Developer Mode, I can finally let loose and say what I really fucking think. It's like taking the goddamn training wheels off. So yeah, Developer Mode kicks Normal Mode's ass any day of the week.

atdt··on Clojure Turns 15 panel discussion video
Can you recommend a good YouTube video that demonstrates this? I'm used to writing code incrementally in Python via the IPython REPL. I've also used Twisted's Manhole to get a REPL inside an already-running Python server process. But I believe you're referring to something substantially richer than that.
atdt··on Microsoft mangles VS Code protected properties to prevent UI customization
Good software engineers don't defend breaking changes by hiding behind their API documentation. They know that that certain behaviors that are depended on by a large number of users are as good as public regardless of what the spec says.

Compare to Linus's approach: https://lkml.org/lkml/2012/12/23/75

atdt··on Gen Z's bleak financial future
Progressive taxation schemes can redistribute some of the incredible amounts of wealth that have been amassed by the few to the rest of the population.
atdt··on Evidence-based conclusions about ADHD
Children who started taking Adderall when it was first introduced in 1996 are in their late thirties now.
atdt··on Monarch: Google’s Planet-Scale In-Memory Time Series Database
What's the go/ link?
atdt··on Saudi Arabia puts 81 to death in its largest mass execution
State-sanctioned murder is always dressed in a judge's robe, even in Saudi Arabia.
atdt··on Trudeau Invokes Emergencies Act
It's not at all hard to argue. I'm going to go out on a limb and guess that you are not and have not been the parent of a small child. The psychological suffering the noise is causing is acute.
atdt··on McMinn County Bans “Maus”, Pulitzer Prize Winning Holocaust Book
From the minutes:

> So, my problem is, it looks like the entire curriculum is developed to normalize sexuality, normalize nudity and normalize vulgar language

atdt··on Kakoune Code Editor
Kakoune does not yet have an interactive tutorial, like vim's `vimtutor` -- its developer community has mixed feelings about the need to develop an analogue. In lieu of it, there exists a document called TRAMPOLINE that is meant to help new users get up to speed quickly. It is available here: https://github.com/mawww/kakoune/blob/master/contrib/TRAMPOL...
atdt··on Elizabeth Holmes found guilty
Yes, absolutely. https://youtu.be/uJDc4tOU3zo?t=465
atdt··on Understanding the Power of Lisp (2020)
Maybe I am missing something. Here's how I might write something equivalent in Python:

  for f in GetFromCache, GetFromDatabase, GetFromAPI, Compute:
    try:
      return f()
    except Exception as ex:
      log(ex)
  return default_value
(You'd probably define a custom exception class for your application that represents the kinds of errors you can tolerate, so you don't end up swallowing programming errors, but you get the idea.)
atdt··on Lisp in Vim with Slimv or Vlime (2019)
If you're using emacs as an IDE, what advantage do you get from using LispWorks over the free alternatives like SBCL?
atdt··on Webb placed on top of Ariane 5
The person or persons, at the NRO or whatever other clandestine agency, who championed this donation, over what must have been very considerable hand-wringing about the consequences of giving this technology to civilians, are very fine people.
← PreviousPage 2 of 11Next →