News for hackers. Stuff that matters.

adamrmcd

Neat idea, but my takeaway is I had no idea that DNS also runs on UDP/53.. I always thought it was TCP only! #TIL

The author cites it as performance reasons, but at this scale, even the uplink to cloudflare, would be negligible, no?

Re:Have you ever seen soldering THIS close? [video] on Wednesday September 18, 2024 @08:36PM (#41587201)
Using a hotplate is like driving with one eye closed. Sure you’ll get there, but your accuracy will suffer!

Though I’ve had many a SOICs magically realign on the hot plate — they were pretty forgiving — it’s not worth it to run without proper temperature profiling, even if it’s from a hacked toaster oven :)

Re:I'm So Old: Web Edition on Monday March 18, 2024 @10:31AM (#39745089)
The 1x1.gif was the most versatile and common image on all my websites.

Perfect alignment of text and images every time!

Re:Are sockets the wave of the future? (1990) on Monday May 08, 2023 @07:42PM (#35868416)
I love this disclaimer buried in this thread. Will need to selectively add this to my own emails. Classic!

> Disclaimer: Don't take this too seriously. I just like to improve my typing and probably don't really know anything useful about anything.

I've always wanted to build an "I told you so" webapp.

Something that would store phrases associated with people with an incremental counter. Obviously the list of phrases, people, and counts are unique to the user.

This way I can say to my daughter, "I've told you <checks webapp> 46 times now to clean up your room!"

Dumb, but fun :)

Re:Internal pull-up resistors are insufficient for I2C on Sunday February 05, 2023 @09:46PM (#34672662)
I am not an expert, but I think it depends on your MCU. (Some may have better implementation of a soft-pull-up than others.)

I've only implemented i2c on esp32-s2, and left the pullup footprints unpopulated at first. Eventually I came to the same conclusion and put two 10k resistors on and called it a day. Cost was negligible.

Re:Ask HN: Who Remembers “Abort. Retry. Fail?” on Tuesday December 13, 2022 @11:59AM (#33971648)
You randomly try changing every IRQ jumper?
Re:Ask HN: Who Remembers “Abort. Retry. Fail?” on Tuesday December 13, 2022 @11:43AM (#33971356)
A random thought from the same era popped in my head a few days ago:

> What was the difference between extended memory and expanded memory?

10yo me never did figure out why Kings Quest would play with one and not the other.

Re:Creating a pick and place control board with the RP2040 on Saturday November 05, 2022 @02:36PM (#33484303)
I am absolutely loving the author's explanation on WHY each component was selected, placed, and caveats.

The interactive schematics and gerbers are subtle but very effective.

Overall a very clear design and tone I really need to follow for my own PCB projects.

Unless you're manually injecting 0x08 into a database record, isn't it your keyboard that interprets your backspace into the UI layer. There's no way to type a backspace without literally pressing backspace :)

Regarding the null, if it's C based, theoretically your password just stops there. All other chars after that would be ignored.

Now I wonder, what would other non-C languages do if they see 0x00 in a string?

Re:Ask HN: What Are You Working On? (August 2022) on Monday August 01, 2022 @03:43PM (#32311114)
Coincidentally, I was just looking at backups from my BBS from the same era.

I wish I had a way to retrieve the data, assuming it's even still good.

I remember using a parallel port driven magnetic tape drive to record them. Probably a device that tar(1) was originally designed for :)

What medium did you use?

Wow, this utility is insane.

Looks like some raw data the OP can use is available here:

  ioreg -l -r -n AppleSmartBattery
Docker container.
Re:Ask HN: Why is Perl considered a bad language? on Saturday June 04, 2022 @06:46PM (#31625866)
20 years ago this was my go-to language. Its CLI was very easy to develop your own system to combine grep, sed, awk, uniq, etc into awesome one liners, and for producing more complex file and network manipulation techniques.

One huge challenge I had was the inability to read other people's Perl code. There were dozens of ways to solve the same problem, and I had extreme difficulty reconciling my own understanding of "perl" with other people's code.

Re:Ask HN: Non-violent video games with great stories? on Saturday June 04, 2022 @09:57AM (#31620375)
I loved playing The Witness with my daughter.

"Where are the bad guys?" "No one is here, honey. Just us."

Reminds me I should revisit Myst and Riven.

Re:Plain Text Calendar on Tuesday May 31, 2022 @06:02PM (#31575480)
Often I use cal to find the previous or next month. I never understood why two parameters it assumes `cal mm yyyy` but when one parameter is provided assumes `cal yyyy` instead of `cal mm`.

ie, I just want to see April of this year: but `cal 4` returns Jan-Dec 0004 CE <!>

`cal -3` is perfect!

Re:E Ink Gallery 3 on Thursday April 28, 2022 @11:45AM (#31193957)
There are full updates and partial updates. The former involves refreshing the whole display multiple times to remove ghosting, and a complete redraw. The latter is a targeted change at specific coordinates, which typically involves going from white to black. Very fast, but it's a single point/block at a time.
Re:Ask HN: Heavy Metal Music for Programming? on Thursday April 28, 2022 @10:43AM (#31193078)
I've been on a Jazz kick for the past few months -- cocktail jazz, cooking jazz, lounge jazz playlists on spotify -- but it's starting to lose its effect coding.

Animals as Leaders is exactly the tangent I needed. Thanks!

Canadian here, and I do this too.

Part of the reason is that it's like passively introducing the person, or reminding the listener of the person's name, without the listener needing to ask.

I have a horrible time remembering names, esp. co-workers' spouce/kids names. I appreciate it when they do this.

EDIT: Western Canadian, and Shauna does this too :)

Re:Why isn't HN plagued with bots like some other websites? on Wednesday March 30, 2022 @07:21PM (#30862067)
Now I'm curious. What is the overall population of HN?
The CBC has never done this before: posted a complete article in an indigenous language on the main English site.

An awesome read that brings home the point of the people trying to keep their native languages alive.

ᐊᐣᑕᔚᐣᐦᐃ ᐁᐏᒋᑭᐍ ᐅᑕᐱᓇᒪᐣ ᓂᒪᒪ ᐅᑎᔑᑭᔑᐍᐏᐣ ᒷᔦ ᐃᐡᑿᓭᐠ

https://www.cbc.ca/news/canada/thunder-bay/%E1%90%8A%E1%90%A3%E1%91%95%E1%94%9A%E1%90%A3%E1%90%A6%E1%90%83-%E1%90%81%E1%90%8F%E1%92%8B%E1%91%AD%E1%90%8D-%E1%90%85%E1%91%95%E1%90%B1%E1%93%87%E1%92%AA%E1%90%A3-%E1%93%82%E1%92%AA%E1%92%AA-%E1%90%85%E1%91%8E%E1%94%91%E1%91%AD%E1%94%91%E1%90%8D%E1%90%8F%E1%90%A3-%E1%92%B7%E1%94%A6-%E1%90%83%E1%90%A1%E1%91%BF%E1%93%AD%E1%90%A0-1.6385526

( Read More... | 59 comments | 95 points | on HN )
I was in Moscow in 2008 and one of my fondest memories was visiting GUM (pronounced "goom") right in Red Square. Three or four stories of shops ranging from perfume to electronics to butchers.

I remember arguing with my mom loudly in English in its halls, and kids would come up to us to practice their english and try to help us :)

At the Motorola store in GUM I bought an unlocked Motorola ROKR with Cyrillic T9 keys, for the equivalent of US$200.

Our tour guide smiled on how much GUM was such a social hub for Russians since the 1920s. I couldn't comment on how the haves and have-nots viewed the location, or what it stood for over the years or today, but it was obvious to me its social status.

https://en.wikipedia.org/wiki/GUM_(department_store)

I'm currently facing similar challenges/goals. I've found the book by Alan Cohen to be very helpful, even to increase the coverage of what I know I don't know.

> Prototype to Product: A Practical Guide for Getting to Market

Highly recommend it

Re:Ask HN: Who wants to be hired? (March 2022) on Tuesday March 01, 2022 @01:54PM (#30518352)
Wow, first time I've ever seen a vacuum fluorescent display integrated resume minigame :D

The detail here is amazing. Well done

Re:Dip Switch USB Stick on Thursday February 03, 2022 @05:07PM (#30199688)
A form of two-factor authentication? (Something you have + something you know.)

Simply set the value to match a rotating 8-bit token and plug-in to login :)

Older »