Better HN
topnewbestaskshowjobs
Log inSign up

bashkiddie

70 karma · joined Jan 23, 2023 (3y ago) · 59 submissions

Submissions

comment 6h ago · link · parent

> sophisticated attacker

Is this argument "if I move the keys from $HOME/.ssh to $HOME/ssh, the script kiddies may not have guessed and therefore I am secure" ?

comment 1d ago · link · parent

I second this comment.

comment 4mo ago · link · parent

> but they tend to be one-offs that aren't worth the time

Friend of mine used to retrofit CNC machines. He's left the business, because the machines that can be serviced moved to poor countries - where customers tend not to pay him at all. The modern influx of CNC have some "intellectual property" protection and cannot be serviced.

comment 5mo ago · link · parent

> because everything is a method or an object or a closure

well, except for pattern matching. That is just syntax.

comment 5mo ago · link · parent

> Imagine you run a company register for a local government.

Is this data not public for some reason? I think it will not hurt if there are multiple copies spread between public offices and private companies. What really hurts is a private company hammering your webserver for their own profit. They should get their own copy.

comment 6mo ago · link · parent

Thank you for this long context!

comment 6mo ago · link · parent

I second that. Loading the pages takes longer before the video starts playing. I also regularly run into bot detection where no video will play at all until I log in.

comment 6mo ago · link · parent

I switched bank in 2021 and it was hard. No bank advertises "we do compliant chip tan" and no bank advertises "we do not buy an app framework that scans for customs roms".

Switching banks is hard, because all of them suck, are underdocumented and a moving target.

comment 7mo ago · link · parent

> Dopamine has a half life of 2 minutes in the body.

May be true.

But doing "rewarding" work encourages your body to emit more dopamine. Some people call it "the flow", others "hyperfocus", but it is a constant stream of dopamine that keeps you doing what you currently do. And you can interfere with the emittance and absorbtion by using caffeine.

comment 7mo ago · link · parent

An ADHD brain may work better without stimulating caffeine, YMMV.

comment 7mo ago · link · parent

I second this. Clownflare is agressively blocking: Fennec v149.0.2 - Germany

comment 8mo ago · link · parent

I am guessing: There is an evolutionary "shadow". Genes for getting old and healthy are not selected for, because you get old after having children. Evolution optimizes for the survival of your children.

Might be that cancer hits after creating offspring.

comment 8mo ago · link · parent

> wrote the defacto standard regex library in Rust

What is the motivation that Rust invented its own RegEx flavor instead of sticking to PCRE or even RE2?

comment 8mo ago · link · parent

Next years headline will be

> AI accounts for 90% of accidents while only accounting for 1% of traffic

comment 8mo ago · link · parent

When I shop for special hardware (e.g. bicycle shift gear) it is usually underspecified. If the information does not exist in the text block, a chat bot is of no use.

comment 8mo ago · link · parent

> Why can’t you tune your guitar?

You can.

(1) Movable frets https://www.youtube.com/watch?v=EZC69A8TsJ8

(2) No frets https://www.youtube.com/watch?v=92TxCGBNEVg

(3) force the string sideways to a higher pitch https://www.youtube.com/watch?v=kbALdNDhKYE&list=RDkbALdNDhK...

But the long answer is: It will stay out of tune for a given definition of "in tune", because there is no perfect string. A perfect string has a diameter of zero.

> The math of harmonics is really simple

If a string only had harmonics on it, the oscilation would form a stationary wave that never leaves the string and resonates between bridge and head. It is the non-harmonics that create the sound.

A sound is made of a base frequency and overtones. Overtones are never perfect multiples of the base frequency, because they are influenced by

(1) string length

(2) material bending stiffness

Because of bending stiffness, overtones have a lower frequency than their theoretical haromnics.

> The second harmonic is the one you get from the string vibrating in halves.

True in theory, false in practice due to bending stiffness.

> Guitars can’t be perfectly in tune

I don't see why. Overtone series are impossible to solve, but base frequencies can be tuned to your liking.

comment 9mo ago · link · parent

I would like to second this.

In Golang if you iterate over a thousand files and

    defer File.close()
your OS will run out of file descriptors

comment 10mo ago · link · parent

I have heard rumors that at one point in time gentoo lost its forum - basically a catastrophic strike such as deleting Arch Linux wiki

comment 10mo ago · link · parent

I am unhappy with python. It degrades fast. It deprecates libraries every minor release and that tends to break the applications I use. Recent examples are distutils and opsaudio.

comment 11mo ago · link · parent

> I say let X11 die, bury it, and never let it rise again.

totally awesome! And once we are done with X11, lets put pulseaudio to the grave! We can all focus on having an audio stack that does realiably stream to many sinks!

And polkit... su and sudo should have been enough

comment 11mo ago · link · parent

I once had to write an IPv6 stack intending to cache poison internet targets (alias resolution). I just referred to the RFC.

A well behaved reference implementation would not be of help.

comment 11mo ago · link · parent

A hull requires at minimum one shape and returns a convex shape.

A minkowski sum, as far as I understand it, requires a surface and a volume and returns a volume.

Example 1: apply hull() to a star shape

Example 2: You want to fold a picture (SVG) around a cylinder and make its edges FDM printable by 45 degree overhang, apply a cone to the image

comment 11mo ago · link · parent

I did not know about phonics

https://en.wikipedia.org/wiki/Phonics

English is my second language. I found writing and pronunciation disconnected and learned two separate languages.

comment 11mo ago · link · parent

> Go is strong.

How do you parse the puzzle input into a data structure of your choice?

comment 12mo ago · link · parent

The web page says Private Spaces can hide an app from the user.

What I want to do is hide my address book and gallery from the app.

comment 12mo ago · link · parent

Your Pixel 8 could be about two years old. The connector performed way under spec and you should send it in for repair (assuming your are in a country with a 2 year warranty period)

comment 1y ago · link · parent

If I want to ask my neighbor for a cup of sugar, I can either send a text or whatsapp. I get to choose which messenger I trust more.

Whatsapp provides metadata about my social profile and my active ours of the day to Facebook/Meta.

Carrier text message available is a bonus to me.

comment 1y ago · link · parent

I do not understand why your comment got downvoted:

I do receive spam in Signal, because i had to register a phone number.

I loose my chat history if I do not log into the desktop client for FIXNUM days.

The desktop client may crash as soon as you kill its supporting terminal.

I have tried the user name feature once and signal reported, that they had lost my username, I would need to create a new one.

I have not tried backup and restore. So far I am not in the mood for a potential failure.

comment 1y ago · link · parent

raises hand I have a bunch of problems with WhatsApp.

Have you tried to restore a backup? You cant, unless it is uploaded to google cloud. No google account, no backup. (including the adress book that's tied to the account, since you are asking, they changed restore rules recently)

Have you tried denying adress book access? Whatsapp barrs you from starting a conversation. But there is the workaround with https://wa.me/+phone ...except for WhatsApp web

Have you ever tried putting Whatsapp in an Android work profile? Now try to export a chat!

Every once in a while a get the task to save all pictures of a conversation and it is usually a pain (If you think its easy, try again in Androids work profile).

From a UX perspective I would never mourn WhatsApp

12