HNHacker News
TopNewBestAskShowJobs

TJSomething

801 karma · joined October 10, 2013

submissionscomments
TJSomething··on Reddit Strike Has Started
The neat thing is that Reddit is community moderated. Each community is allowed to set their own standards, but they also need to clean up their own spam. So, /r/science doesn't allow any jokes at all while /r/Antiwork bans anything that's pro-corporation.

But several times, mostly when the controversy got too hot, the admins have killed subreddits, like /r/The_Donald, /r/incels, and /r/FatPeopleHate.

TJSomething··on How to password protect a static HTML page with no JavaScript
Given the Turing completeness of fonts, you might be able to do actual encryption with a custom font that has a key baked in.
TJSomething··on Correct Horse Battery Staple: Secure Password Generator
I don't like the original diceware list. The EFF made a pretty good list though: https://www.eff.org/dice
TJSomething··on Ask HN: I won't have Internet access for months, How could I use my time?
Reality in Sudan seems pretty rough right now.
TJSomething··on Ask HN: I won't have Internet access for months, How could I use my time?
Given your skill level, I would recommend working through the Structure and Interpretation of Computer Programs in Racket, which has a nice self-contained development environment.
TJSomething··on Are sockets the wave of the future? (1990)
I prefer the name for them that they use in the API, which is "guild".
TJSomething··on Mullvad VPN was subject to a search warrant – customer data not compromised
That one's pretty easy to disprove though. Just have a computer solve a random NP-complete problem and then verify it by hand.
TJSomething··on Intranasal vaccine confers broad mucosal and systemic immunity against SARS-CoV2
I'm not sure what you mean that the necessary studies have not been done. Because they have and broadly agree that a fourth vaccination provides benefits against hospitalization (though not infection) for older people, generally based on epidemiological measures of population-wide severe cases of COVID-19, not immune response.

Bar-On YM, Goldberg Y, Mandel M, Bodenheimer O, Amir O, Freedman L et al. Protection by a Fourth Dose of BNT162b2 against Omicron in Israel. New England Journal of Medicine. 2022. doi: 10.1056/NEJMoa2201570.

Magen O, Waxman JG, Makov-Assif M, Vered R, Dicker D, Hernán MA et al. Fourth Dose of BNT162b2 mRNA Covid-19 Vaccine in a Nationwide Setting. N Engl J Med. 2022. doi: 10.1056/NEJMoa2201688.

Gazit S, Saciuk Y, Perez G, Peretz A, Pitzer VE, Patalon T. Relative Effectiveness of Four Doses Compared to Three Dose of the BNT162b2 Vaccine in Israel. medRxiv. 2022:2022.03.24.22272835. doi: 10.1101/2022.03.24.22272835.

Arbel R, Sergienko R, Friger M, Peretz A, Beckenstein T, Yaron S et al. Effectiveness of a second BNT162b2 booster vaccine against hospitalization and death from COVID-19 in adults aged over 60 years. Nature Medicine. 2022;28:1486–90. doi: 10.1038/s41591-022-01832-0.

Regev-Yochay G, Gonen T, Gilboa M, Mandelboim M, Indenbaum V, Amit S et al. Efficacy of a Fourth Dose of Covid-19 mRNA Vaccine against Omicron. New England Journal of Medicine. 2022;386:1377-80. doi: 10.1056/NEJMc2202542.

Muhsen K, Maimon N, Mizrahi AY, Boltyansky B, Bodenheimer O, Diamant ZH et al. Association of Receipt of the Fourth BNT162b2 Dose With Omicron Infection and COVID-19 Hospitalizations Among Residents of Long-term Care Facilities. JAMA Internal Medicine. 2022. doi: 10.1001/jamainternmed.2022.2658.

Amir O, Goldberg Y, Mandel M, Bar-On YM, Bodenheimer O, Freedman L et al. Protection against omicron severe disease 0-7 months after BNT162b2 booster. medRxiv. 2022:2022.05.04.22274647. doi: 10.1101/2022.05.04.22274647.

Cohen MJ, Oster Y, Moses AE, Spitzer A, Benenson S, Israeli-Hospitals 4th Vaccine Working G. Association of Receiving a Fourth Dose of the BNT162b Vaccine With SARS-CoV-2 Infection Among Health Care Workers in Israel. JAMA Network Open. 2022;5:e2224657-e. doi: 10.1001/jamanetworkopen.2022.24657.

Grewal R, Kitchen SA, Nguyen L, Buchan SA, Wilson SE, Costa AP et al. Effectiveness of a Fourth Dose of COVID-19 Vaccine among Long-Term Care Residents in Ontario, Canada. medRxiv. 2022:2022.04.15.22273846. doi: 10.1101/2022.04.15.22273846.

TJSomething··on Using RP2040 PIO to drive a poorly-designed displa
I remember reading some PIO documentation that explained that PIOs were for handling all sorts of interfaces, from basic flash to cursed displays found on AliExpress.
TJSomething··on Administrative Scripting with Julia
Generally, I'd use Eclipse Temurin from Adoptium, if I not already in a Linux distro that has a JRE package.
TJSomething··on Wavelength
I don't really like Discord's threads. They're basically a channel nested inside of a channel, but they don't really interact with or get exposed in the outer channel. And by default, they disappear after a while. And the threads are kind of hard to find if you haven't joined them yet.

Something that has a UX more like traditional forums as a chat app sounds neat to me.

TJSomething··on UK: Food inflation rises to 18.2% as it hits highest rate in over 45 years
Unsurprising. Over 58 million US chickens have died of the H5N1 bird flu in the last year. Although it seems to have slowed down considerably in the last two months. Currently, South America is having a lot of problems with the same strain.
TJSomething··on Bitwarden PINs can be brute-forced
An Nvidia RTX 4090 can crack a 4 digit pin using PBKDF2 with 200k iterations in less than a quarter of a second. Argon2 is definitely the better option, but even at 1 hash per second, that's less 3 hours.
TJSomething··on SPA view transitions land in Chrome 111
You can't safely use old browsers on the internet. Heck, you can't really safely connect old anything to the internet.
TJSomething··on Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
I feel like lower level languages like Rust make it more obvious when you're doing something that isn't great for performance and often have a standard library that helps abstract away the details of doing things in a performant way.
TJSomething··on Telemetry required? Ask users first
If you axe 60 features and there are 20 features left that are used by that 50 percent, then that might be a legitimate tradeoff from a business perspective.
TJSomething··on Eduard: Swiss-Style Relief Shading for Maps Using Machine Learning
The biggest thing that I'm seeing that Singh has over Huffman is the adjustable detail-preserving terrain smoothing. Detail-preserving blur algorithms don't generalize well. Application-specific NN solutions tend to excel at this problem, by having a model of what details are important vs incidental.

I would like to see a combination of the two, with the terrain pre-processed before being used in Blender.

TJSomething··on Eduard: Swiss-Style Relief Shading for Maps Using Machine Learning
> Many standard shading algorithms exist for creating shaded reliefs, some can easily be found in applications like ArcGIS and QGIS but they are simply not expressive enough (see our paper for examples). Creating these reliefs is partially an art form rather than a simple illumination problem, so trying to encode the 'human-ness' into step-by-step algorithms is simply too difficult. This is where ML enters the picture.
TJSomething··on Self hosting in 2023
My problem is that I have never been able to purchase residential internet that allowed me to open port 443 or port 80.
TJSomething··on Bing: “I will not harm you unless you harm me first”
That would be probably be Lena (https://qntm.org/mmacevedo).
TJSomething··on GitHub is aggressively caching raw.github, breaking many use cases
It doesn't appear to be visible on mobile, only desktop.
TJSomething··on Trove of spices from around the world on sunken fifteenth-century Norse ship
Scopalamine is amazing. Being on the ocean is otherwise a debilitating ordeal for me. Worked really well on cruises I've been on.
TJSomething··on Nullness markers to enable flattening
I mean, it doesn't take much for a class of errors that has existed for 55 years to cause a billion dollars in damage. Just in US labor costs, that's less than 5 hours per developer year. And I probably spend about 10 hours a year on average dealing with NPEs.
TJSomething··on Blink virtual machine now supports running GUI programs
This doesn't use WASM or a browser at all. This is an new, original x86-64 machine code interpreter with a JIT compiler that supports x86-64 and aarch64. This is an extension of Justine's APE project to use x86-64 ELF as the core of write-once-run-anywhere software.
TJSomething··on ChatRWKV, like ChatGPT but powered by the RWKV (RNN-based, open) language model
One of the important parts of ChatGPT over plain GPT-3 is the reinforcement learning from human feedback to ensure alignment, without which it's not quite as good of a product for the public.
TJSomething··on Wobbly clock
I can't tell, since I don't have a Mac, but looking at the code, it implements a note from the Safari documentation for canvas [0]. I assume that if you don't do this, it either is very small or very pixelated.

[0] https://developer.apple.com/library/archive/documentation/Au...

TJSomething··on Single-file scripts that download their dependencies
You can do something similar in F#. This creates a cross-platform desktop GUI.

    #!/usr/bin/env -S dotnet fsi

    #r "nuget: Avalonia, 11.0.0-preview4"
    #r "nuget: Avalonia.Desktop, 11.0.0-preview4"
    #r "nuget: Avalonia.Themes.Fluent, 11.0.0-preview4"
    #r "nuget: JaggerJo.Avalonia.FuncUI, 0.6.0-preview4"

    open Avalonia
    open Avalonia.Controls
    open Avalonia.Controls.ApplicationLifetimes
    open Avalonia.FuncUI
    open Avalonia.FuncUI.DSL
    open Avalonia.FuncUI.Hosts
    open Avalonia.Layout
    open Avalonia.Themes.Fluent
    open System

    module Main =
        let view =
            Component(fun ctx ->
                DockPanel.create
                    [ DockPanel.children
                          [ TextBlock.create
                                [ TextBlock.fontSize 48.0
                                  TextBlock.verticalAlignment VerticalAlignment.Center
                                  TextBlock.horizontalAlignment HorizontalAlignment.Center
                                  TextBlock.text "Hello world!" ] ] ])

    type MainWindow() =
        inherit HostWindow()

        do
            base.Title <- "Hello World!"
            base.Height <- 400.0
            base.Width <- 400.0
            base.Content <- Main.view

    type App() =
        inherit Application()

        override this.Initialize() =
            this.Styles.Add(FluentTheme(baseUri = null, Mode = FluentThemeMode.Dark))

        override this.OnFrameworkInitializationCompleted() =
            match this.ApplicationLifetime with
            | :? IClassicDesktopStyleApplicationLifetime as desktopLifetime ->
                let mainWindow = MainWindow()
                desktopLifetime.MainWindow <- mainWindow
            | _ -> ()

    AppBuilder
        .Configure<App>()
        .UsePlatformDetect()
        .UseSkia()
        .StartWithClassicDesktopLifetime(Environment.GetCommandLineArgs())
TJSomething··on Show HN: Vim online editor using WebAssembly, storing files using IndexedDB
Because VSCode relies on garbage collection, but WASM doesn't support garbage collection yet. Vim is written in C and manages its memory manually.
TJSomething··on Python 2 removed from Debian
Perl's original "use strict" was added in 1994 with Perl 5, to allow backward compatibility with Perl 4 scripts.
TJSomething··on All I want for Christmas is these seven TypeScript improvements
C++ can do it with variadic template overloading.

https://stackoverflow.com/questions/35959979/functional-comp...

← PreviousPage 5 of 10Next →