10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions
comment 2y ago · link · parent
P.S: btw I'm not implying using extra data that shouldn't be there in a PNG is the only way to have a malicious PNG.
comment 2y ago · link · parent
I use the file command all the time. The value is when you get this:
... $ file somefile.xyz
somefile.xyz: data
AIUI from reading TFA, magika can determine more filetypes than what the file command can detect.It'd actually be very easy to determine if there's any value in magika: run file on every file on your filesystem and then for every file where the file command returns "data", run magika and see if magika is right.
If it's right, there's your value.
P.S: it may also be easier to run on Windows than the file command? But then I can't do much to help people who are on Windows.
comment 2y ago · link · parent
I guess I'll be writing a wrapper (only for when using my shell in interactive mode) around file doing just that when I come back from vacation. I hate it when file cannot do its thing.
Put it this way: I use file a lot and I know at times it cannot detect a filetype. But is file often wrong when it does have a match? I don't think so...
So in most of the cases I'd have file correctly give me the filetype, very quickly but then in those rare cases where file cannot find anything, I'd then use the slower but apparently more capable magika.
comment 2y ago · link · parent
I had both blackouts and brownouts. They're typically very short lived so why not add a little UPS to the mix?
Regarding the Pis: I've got both an army of Pi and now an army of NUCs. I don't know what'd work best for you.
Also is Gbit/s sufficient?
> Payback < 3 months
To me it's a no brainer but you could also aim for a payback in less than, say, six months and have something really smoking that $1000/month cloud offering.
comment 2y ago · link · parent
If it's an error in the specification, how can patches already be available without breaking the specs?
Can anyone shed light on this? I'm asking for I'm running unbound which is affected (because it's following the spec IIUC) and yet a patch for unbound is already out.
comment 2y ago · link · parent
This is HN. I run unbound on a Pi (mentioning the Pi I don't know if those running PiHole are running a vulnerable resolver or not). My Pi shall need patching when I get back from vacation!
comment 2y ago · link · parent
| <- bed lays on top of the feet
| | |
| | |
| | |
| | |
----|---| <- glue here
|
| <- this part touches the ground
The idea was that there was no way up to the bed for the bedbugs without getting stuck in glue. It's not unlike the traps for big wasps, to prevent them from attacking bees.Now of course it only works if the bed is on feet. It basically prevents them from climbing up to the humans as they get stuck in the feet.
What I noticed is bed bugs hate: zen rooms with no furniture besides the bed (very little place to hide, besides the mattress) and brand new paint.
Had bed bugs once, in room: treated the room with chemicals, moved the bed off the wall for a few days, repainted the room, vaccuum cleaned (with a very strong vaccum cleaner) the mattress... It worked but YMMV.
comment 2y ago · link · parent
I started using Linux when I was 25 or so. I'm 51 now. I do believe there's a far from zero probability that X is going to outlast me... Even if I live until 80!
P.S: and the day X dies, in decades, I do also think it's possible that, at long last, Wayland shall be as customizable and allows to do all the amazing thing X allows to do.
comment 2y ago · link · parent
Bitcoin is mined using ASICs while Ethereum is now using proof-of-stake. These two represent more than 30x the value of the next shitcoin (not counting stablecoin).
What coins are still mined using GPUs?
comment 2y ago · link · parent
Why limit to mammals? Female birds of paradise are way more likely to mate with the male birds of paradise that do exhibit the most harmonious colors (to our human eyes: so female birds of paradise happens to share the same taste as humans when it comes to harmony of colors).
comment 2y ago · link · parent
Common... He's talking about a home network.
I also have one of my Pi set up as a DNS server (running unbound directly not PiHole though) and this thing is rock stable solid.
We're talking about Linux here. I've had a Linux server reach years of uptime (kids: don't try this at home, it's not secure but it was a test of Linux's stability).
Redundancy is great though but I really wouldn't lose sleep over it. If anything you can "dd" the Pi's SD card to another one and just replace the Pi (or the SD card) should anything go wrong.
comment 2y ago · link · parent
I very never seen anything as sweet to sit on as that "pellicle mesh" they invented. It was first created for old people who couldn't t move a lot anymore then they pivoted into office chairs.
You simply never sweat while sitting on that pellicle mesh.
You MUST spend 20 minutes to set it up correctly (it has to lean back when you put your hands behind your head) and you must have one of the correct size. But once setup, in 12 years, I didn't t have to change the settings even once.
To everyone's bad taste but that s one darn quality chair.
I prefer it to other Herman Miller chair that do not have that pellicle mesh and I also think it lo9ks better.
In addition to that it s on permanent display at MoMA and it s the "Web 1.0" icon too.
Last chair I'll ever use.
comment 2y ago · link · parent
Now that said: in the EU (well in France at least), the biggest operators are teaming up and coming up with an interesting system called "SIM Verify" which is specifically crafted to make the life of SIM-swappers sad [1].
Basically companies relying on SMS can verify if a SIM card has been recently swapped and then act accordingly (like, for example, not allowing a password reset by SMS 30 minutes after a card has been SIM swapped).
I'm not saying it's a panacea, but it's a start (and it's all compliant with the EU's GDPR).
comment 2y ago · link · parent
Yes it's exactly the same: I'm actually reusing the same shortcut for both. In a regular buffer I'm using precisely avy-goto-char-timer and in, say, "counsel-find-file" (which I use instead of "find-file"), that same shortcut calls the ivy-avy function.
Now I use ivy/counsel/swiper/avy but don't use helm so cannot help there.
P.S: and I confirm I just hit the letter and, say, the file immediately opens (I don't need to hit enter for example)
comment 2y ago · link · parent
ivy-avy works like vim's EasyMotion or the older Emacs "ace-jump" mode (inspired by EasyMotion): you keep your eyes on the thing you want to select (or the place on the screen where you want your cursor to go to) and then invoke avy (by using a shortcut very conveniently placed as I use it all the time). Then a letter appears and you hit that letter (requires to be a touch typist as you cannot both keep your eyes on the candidate and look at your keyboard) and boom, you just selected the candidate / moved the cursor.
There's no faster way to select / move anywhere on the screen.
I'm using that since years (I used to use ace-jump before ivy/avy was a thing).
Imagine this list of candidates after I asked to open a file containing the regexp "green" (well it's just a word, but it could be a regexp):
/home/jack/work/green.pdf
/home/jack/private/greendayschedule.org
.
. (omit 10 lines here)
.
/mnt/greenvelvet.txt
/mnt/backup/green.cfg
Now I invoke "ivy-avy" and the list of candidates becomes this: f/home/jack/work/green.pdf
g/home/jack/private/greendayschedule.org
n
b (omit 10 lines here)
c
e/mnt/greenvelvet.txt
d/mnt/backup/green.cfg
And these individual letters appear in another color, so they stand out.To select, say, "mnt/greenvelvet.txt", you just hit the letter 'e'. Done.
It's really sweet and it works with nearly everything: selecting a candidate in a list (like a file, a completion, ...), moving the cursor anywhere on the screen, selecting a buffer, etc.
comment 2y ago · link · parent
Such headlines are usually followed, a few weeks later by an headline reading not unlike this:
"Three indicted in scheme involving deep-fake to steal $25m".
comment 2y ago · link · parent
I'm 51 and I've got a family too (9 years old kid) and my love for coding and tinkering with computers never went away. For example yesterday evening when they were asleep I spent hours playing with a (used) NUC I just bought. I did hack on some scripts too.
My hobbies are my cars and computing and I love that, since forever. And I still love these even though I've got a family.
I'd argue that something that you love and that you suddenly don't love anymore once you have kids is something you didn't really love that much.
A family and a love for the craft are definitely not mutually exclusive things.
comment 2y ago · link · parent
A strange development. But if they do they're sitting on one of the most profitable business on earth: emit a currency that doesn't pay interest, to the tune of tens of billions (and soon more than a hundred billion), and rake in the US treasuries yeld.
BTW we don't hear much on the subject from Centre (Coinbase+Circle consortium emitting the USDC stable coin). Coinbase gives a yeld on the USDC stored at Coinbase itself but they don't give it to USDC not stored at Coinbase. At 26 billion USDC circulating, this seems to be quite the business model too.
comment 2y ago · link · parent
Meta has no browser. No mobile phone OS. No big email userbase (where the valuable business stuff is sent, not the "zomg lulz cats pictures"). I think Apple, Microsoft and Google are all way better positioned than Meta.
> Near-total dominance of social networking, chat, mobile ads, and now AI.
Social networking, OK. Although LinkedIn is MS and, once again, that's where the real juicy stuff is. Mobile ads: dunno, maybe. But around me everybody has Telegram (EU here and it's not the first country in the EU where I notice that). Telegram is growing quickly: 800 MAU. AI: I know Meta just ordered a shitload of big stuff from NVidia, for billions and billions... But it seems to me OpenAI is still ahead. Is Meta even ahead of Mistral/Mixtral? (a tiny company with a mere 300 million EUR in funding).
That said I did buy Meta at around $100 when the tech crash happened. I hate Meta, but now the Zuck is working for me ; )
comment 2y ago · link · parent
The usual complete and utter disregard of the actual victims (the woman raped, for example) and the victimization of the actual criminals (the rapist, for example).
It's always been the signature of intellectuals and I believe it is the reason of many things that are wrong in society.
"The only thing necessary for the triumph of evil is for good men to do nothing"
(encourage by intellectuals, who intellectualize everything, including murder and rape)
comment 2y ago · link · parent
https://blog.codinghorror.com/object-relational-mapping-is-t...
comment 2y ago · link · parent
You can find things like tennis table clubs using a letterbox company or bikers club.
Or simply people who have no office, especially in this day and age of Internet, and who are renting a place and know they'll move out. They prefer a stable address for their business.
The problem when "everything is a red flag" is that you end up in a world where everybody is flagged as suspicious. In Belgium there's been an incredible statistic that came out: something insane like one out of every four citizen had already been flagged at least once. This doesn't work.
For when everybody is suspicious, nobody is.
Also companies offering letterbox services are extremely controlled. They're the first line in the KYC/AML verification and they're liable if they let obvious scams in.
Companies offering letterbox services are often recommended by accountants to their clients.
I know these very well and used one personally in 2023 (because I opened a company in a country before moving to that country).
Many online business have a website, a payment processor and a "letterbox" address.
This is business 101.
comment 2y ago · link · parent
It's not silly at all. Taking everything they can carry is not the same as tearing apart every pillow / mattress / picture frame / etc.
I got my house burgled a few years ago: they found my decoy "hidden" stash. I left a 2 gram of gold sheet there (yup, literally 2 grams, worth 80 EUR at the time), with its certificate. That and a two silver coins worth 20 EUR a pop.
They thought they hit the jackpot. They didn't find the real hidden place where shitload of wealth was stored.
I was pissed that I got burgled but at the same time I, literally, laughed all the way to the bank with the actual gold/jewelry. I say literally because I don't keep that at home anymore now (it's in a safe at the bank, which moreover has an insurance).
There was literally 20 000 EUR worth of gold coins and jewelry very close to where they found their "jackpot" (of about 120 EUR).
And it's a trick I learned from my grandpa: he always had two wallets with him. One day he got robbed in a supermarket (well everybody got robbed there that day): he gave his dummy wallet and kept all his money and precious papers.
You are very greatly overestimating the IQ, approximating that of an oyster, of bad guys. Youtube is full of thieves getting caught and you can see the imbecility in their eyes.
Now I'm not saying one or two aren't above the rest but most them are pathetic.