HNHacker News
TopNewBestAskShowJobs

thamer

2,913 karma · joined October 5, 2007

submissionscomments
thamer··on HN is up again
The last post[1] before this one was posted at 12:45:10 UTC. This current post was made at 20:30:55 UTC, so that's a gap of 7 hours 45 minutes and 45 seconds.

[1] https://news.ycombinator.com/item?id=32026548

thamer··on No Language Left Behind
Does this mean that Facebook's advertising system will finally start rejecting ads calling for genocide in Myanmar, and that they will finally flag comments expressing the same intent? As recently as March of this year there were reports that Facebook accepted ads that said "The current killing of the Kalar is not enough, we need to kill more!" or "They are very dirty. The Bengali/Rohingya women have a very low standard of living and poor hygiene. They are not attractive".

Full story: https://abcnews.go.com/Business/wireStory/kill-facebook-fail...

These were submitted to test Facebook's systems, because there's a good reason not to trust their promises on this front. Facebook was used extensively to propagate hate speech in Myanmar during the crisis of 2017, with their moderation tools and hate speech detection system letting through a ton of hateful content with real-world consequences, in the course of an actual ethnic cleansing campaign.

Other references: "Facebook Admits It Was Used to Incite Violence in Myanmar" https://www.nytimes.com/2018/11/06/technology/myanmar-facebo... (2018)

"Violent hate speech continues to thrive on Facebook in Myanmar, AP report finds" https://www.cbsnews.com/news/myanmar-facebook-violent-hate-s... (9 months ago)

thamer··on To improve search results on YouTube, use the search prefix “intitle:”
Agreed. That said, YouTube Premium doesn't remove sponsor segments in videos, and these days many videos include a long segment about their sponsor of the day or their merch/patreon.

For this, I've recently discovered the Chrome extension SponsorBlock[1], which relies on user-submitted segments to auto-skip all kinds of off-topic segments in the video. You can choose to keep, skip, or mute segments like intros, sponsor promo, subscription reminders, and more. This metadata is not available on every single video, but in my experience it has made a huge difference in the amount of ads and repetitive reminders I see. Many videos get segment updates very quickly.

[1] https://chrome.google.com/webstore/detail/sponsorblock-for-y...

thamer··on Satellites can now find the sources of methane leaks
Some of these leaks are enormous. In the past few years one in particular made the news, at the Aliso Canyon gas storage facility managed by SoCal Gas[1]. It was the worst single natural gas leak for the U.S. in recorded history, with an estimated 97,100 tons of methane released.

[1] https://en.wikipedia.org/wiki/Aliso_Canyon_gas_leak

thamer··on GitHub Code Search (Preview)
I've been using the preview for a few months, it works pretty well. That said, one thing I miss from the regular code search feature is the ability to use a form to filter search results, or to refine results using suggested filters after an initial search.

The regular search results page usually has a few pre-set choices that you can quickly click on to refine the results, like a list of languages found. Code Search supports many such filters[1], and even supporting suggestions or completion in the search box would be a good improvement. With the new UI once you're on the search results page the examples of the home page are no longer visible, so I never know if I should use lang:py or language:python, or if it's path:*.txt or filetype:txt.

[1] https://cs.github.com/about/syntax

thamer··on GitHub Code Search (Preview)
This is very useful to see examples of how people have used APIs that are either poorly documented or not at all. Or even that are well documented, really. Going from docs to code is not always straightforward.

To give you just one example, recently I've been using it to find how people have written code to interface with e-ink displays. I usually have the datasheet which lists all the commands the protocol support, but building it all into a valid startup sequence of ~20 commands to activate the display is left as an exercise for the reader.

So the docs will look like this: https://www.waveshare.com/w/upload/6/6a/4.2inch-e-paper-spec...

And what I need is a sequence like this: https://github.com/joeycastillo/The-Open-Book/blob/5c5054c58...

thamer··on Video shows self-driving Tesla head into oncoming traffic
Direct link to the moment the car turns onto a one-way street, against traffic: https://youtu.be/t0kXTZJZ87E?t=392
thamer··on Learn TLA+
Yes it is essentially brute-forcing it.

Note that TLA+ is the language that the model is written in. The program validating is called TLC, it's a model checker.

thamer··on What's the deal with all those weird wrong-number texts?
I would hope that Instagram has some counter-measures to prevent brute-forcing, at least restricting the number of failed login attempts.

It might be instead that your friends re-used a password that was leaked/stolen from somewhere else; anyone with a non-trivial number of online accounts using the same email will be listed in multiple leaks on aggregators like https://haveibeenpwned.com/.

thamer··on Use of special characters in usernames on YouTube has been limited
Is it very difficult? So many of these spam accounts follow the exact same format, with names following some variation of "Free stuff Telegram: +1234…" or "s3xY p1cs c0mE 2 mY chAnNeL", etc. Tons of them post these obviously made-up threads about how "Dr John Smith" has helped them triple their crypto investments.

There's probably a dozen or so templates that many of these spammers and scammers use, and if you can spot them in a second, it's not hard to train a model to recognize them also.

It is out of control because YouTube does not care to fix it, not because it's some insurmountably hard problem that one of the top AI companies in the world just can't figure out.

thamer··on Lung imaging technology reveals cause of long Covid symptoms: Ontario study
Research paper: https://pubs.rsna.org/doi/10.1148/radiol.220492
thamer··on Copilot sells code other people wrote
There are other AI-based code completion systems than Copilot, at least Tabnine[1] and Kite[2] come to mind, I'm sure there are more.

[1] https://www.tabnine.com/

[2] https://www.kite.com/

thamer··on GitHub Copilot is generally available
Reporting on my own experience, I got access to Copilot a few days after it was announced and am currently not expected to pay for it.

I started a project that currently has 9.4k stars (now mostly maintained by someone else), and still maintain a project that has 2.5k stars.

thamer··on CircuitPython – The easiest way to program microcontrollers
CircuitPython is a fork of MicroPython, and they periodically bring in commits from MicroPython to stay up to date.

One advantage of CircuitPython is that your board gets mounted as a volume like a USB drive, and you can just copy code.py onto it to install your program; it's just a more user-friendly experience. For comparison MicroPython only exposes a file system through a tool called rshell[1], that you need to use to copy code over. CircuitPython also seems to have a lot more libraries due to Adafruit's investment in this ecosystem, although I suspect that most of them could easily be adapted to work with both.

[1] https://github.com/dhylands/rshell

thamer··on CircuitPython – The easiest way to program microcontrollers
As others have mentioned, you don't always need the full performance of these microcontrollers, and many are pretty powerful to start with. An ESP32-S3 has two cores running at 240 MHz, and boards that ship with 8 MB of RAM and 16 MB of flash for $22[1]. They also have WiFi, BLE, and tons of pins. This is more than enough to run many programs with CircuitPython, and the number of libraries available for it[2] makes it incredibly easy to get started building small projects.

In addition, connectors like Qwiic/STEMMA QT[3] make it possible to connect to a large number of sensors without needing a breadboard or having to solder anything. I've built a few projects with microcontrollers like these and Adafruit sensor boards and never had to resort to low-level languages.

[1] https://esp32s3.com/feathers3.html

[2] https://docs.circuitpython.org/projects/bundle/en/latest/dri...

[3] https://learn.adafruit.com/introducing-adafruit-stemma-qt/wh...

thamer··on Inkscape 1.2
I loved using Inkscape when I was running Linux, but since switching to a Mac it’s one of the programs I found to be running a lot worse on that platform compared to what I remembered.

I get that it’s a GTK application so not running with native UI components, but is there something that can be configured or installed to make it more responsive? Just opening Inkscape with a blank document and resizing the window is incredibly laggy, maybe redrawing the window only once or twice a second as I resize it.

edit: I should have installed version 1.2 before posting this comment. I've now tried it and it's much more responsive than it's ever been on macOS. Really great work from the Inkscape team!

thamer··on CNN cutting back on over-hyping everything as “breaking news”
Chris Licht was previously the executive producer and showrunner for The Late Show With Stephen Colbert.

One of his first major decisions as the new CEO of CNN was to cancel CNN Plus, and it looks like the review of things that need to change is still ongoing.

It's not too surprising to see him introduce this no-BS mentality at CNN, the over-hype of minor events is something they would have mocked at The Late Show.

thamer··on Find Wikipedia photos needed near you
Some EXIF data is displayed, this page covers the topic: https://commons.wikimedia.org/wiki/Commons:Exif

Here's an example of a photo that was uploaded to Wikimedia Commons, with extensive EXIF metadata: https://commons.wikimedia.org/wiki/File:Giza_pyramids_and_Kh...

To hide your lens size you you can always strip the metadata before you upload, e.g. with ImageMagick:

    convert original.jpg -strip output.jpg
thamer··on What did Earth look like X million years ago?
No errors, but two regular log messages and two warnings:

    webParams: {startingYear: 260, surfacePoints: Array(0), camera: {…}}
    (warning) THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.
    > Jb.loadTexture @ three.min.js:990
    > createSphere…
    lastAddressFailed true
    (warning) THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.
    > Jb.loadTexture @ three.min.js:990
    > createClouds…
Edit: I figured something was missing so I tried disabling uBlock Origin in case it was blocking some assets, but that didn't help.
thamer··on What did Earth look like X million years ago?
I also wasn't seeing anything, until I used "⌘ A" to select all text, and noticed that the list of animals or plants for the city I selected was displayed at the top left, in white text over a white background. Selecting all made it slightly more visible, enough for me to read the text.

Screenshot: https://i.imgur.com/VQjfvQZ.png

thamer··on I've used all the notebooks
Sorry I'm only seeing this question 4 days later, so I hope you'll eventually see this answer.

I did get the black pen, but I don't actually use the eraser that's at the back. Just based on the time it takes to flip the pen, it's not really worth it.

Instead, I often leave my non-dominant hand by the side bar where I can quickly tap on the back arrow to erase the last stroke(s), or switch to the lasso eraser with one tap. In that mode, you can draw a shape around the area that you want to remove, and you do this using the more precise pen tip, not the wide eraser at the back. There's a dotted line that appear as you draw this shape, so you can see it in real time instead of wondering where exactly the eraser is being applied.

I can see it being useful in a few cases, but it's far from essential and I'd be just as satisfied without it.

As for the OCR mode, it would be better if it was done by default and kept in the document's metadata as searchable text. Instead, the feature you linked to is for a way to OCR the page and send it by email. If you were writing to someone or sharing notes you might want to do that, but this is not quite the same as having the software be able to search through your notes.

thamer··on Rocket Lab – “There and Back Again” Launch (Live Stream)
Rocket Lab will attempt to recover the first stage of their Electron rocket as it descends back to Earth using a helicopter and a tethered hook, caching the booster in mid-air by hooking onto its parachute.
thamer··on I've used all the notebooks
A few people have said they use a Remarkable 2 tablet in this thread. I had seen it mentioned multiple times on HN and ended up getting one a few weeks ago, and I absolutely love it. The writing experience is great, especially for technical sketches which is the main type of writing I do with it. I wish it did a bit more like automatically OCR documents with indexing, but what it ships with is already more than I expected.

I'd definitely recommend it.

thamer··on North Koreans are jailbreaking phones to access forbidden media
There's something like 4 MB of storage. It's made for storing keys, not screenshots.
thamer··on Ask HN: Best way to learn about computing history?
Ben Eater also sells a kit for those who want to follow along by building their own: https://eater.net/shop
thamer··on Lenovo Forums stores plaintext password as a cookie
It's not the same. If you the un-hashed password leaks it can often be used to authenticate on other websites since people reuse passwords. You can't do that if all you have is the hashed password.
thamer··on A helicopter will try to catch a rocket booster mid-air
Peter Beck (Rocket Lab CEO) has explained in a few interviews that maintaining a fleet of boats is incredibly expensive, and that this cost is one of the major reasons why they didn't go this route. Operating helicopters is much cheaper in comparison.

He has quoted actual numbers in the past, such as in this December 2021 interview (https://youtu.be/gcuOSXjevGs?t=751): "Do you have any idea what it costs to operate a ship? It's way way cheaper for Electron to fly it with a helicopter than it is to put a ship out there for a couple of days. It's just ridiculous. Marine assets are SO expensive. […] The Bell 429 that we operate is like $3,000 an hour. […] It's a 2.5, 3 hours flight. […] It's like $60-70,000 for the ship just to sit in the port! Not even going anywhere, it's $60,000 a day. And that's just a tiny little ship."

thamer··on Opinion: Another species of hominin may still be alive
I wasn't familiar with the term hominin and though it might be a misspelling of hominid, but that's not the case: https://australian.museum/learn/science/human-evolution/homi...

Hominid: the group consisting of all modern and extinct Great Apes (that is, modern humans, chimpanzees, gorillas and orangutans plus all their immediate ancestors).

Hominin: the group consisting of modern humans, extinct human species and all our immediate ancestors (including members of the genera Homo, Australopithecus, Paranthropus and Ardipithecus).

thamer··on Building a Hacker Space (2007) [pdf]
The wiki page seems outdated now, but at some point Noisebridge in SF spent an estimated $700/month on Club-Mate (compare to "other snacks" for $900): https://www.noisebridge.net/wiki/Finances
thamer··on New(ish) command line tools
macOS equivalent of locate: mdfind. This actually uses Spotlight, so it can search for files by content as well as by name.

    # search by content:
    $ mdfind some_string
     
    # search by name:
    $ mdfind -name my_file.txt
Both commands return a list of files matching the query.
← PreviousPage 4 of 17Next →