Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,596 karma · joined Dec 4, 2013 (12y ago) · 4,865 submissions

email: I'll add a suitable email one of these days
Submissions

comment 2y ago · link · parent

From TFA:

> This is now less that 15 years away and plenty of system that will have problems have already been shipped. We should stop adding to the problem. Most computing, especially computing using Debian or its derivatives, is now done on 64-bit hardware where this issue does not arise.

The goal is to support 64 bit time on 32 bit systems.

> We are doomed.

We really aren't. Y2K was a big nothingburger despite the media scaremongering.

64 bit systems are already nearly everywhere. As TFA states: most distros don't even bother supporting 32 bit hardware anymore. They simply don't.

Are there going to be tiny Internet-of-shitty-insecure-Things devices out there failing in 2038? Very likely. Nuclear powerplants failing, nuclear warheads launched by mistake and lab doors wrongly opened (from labs where they do GoF research on deadly viruses)? Nope. Not gonna happen.

comment 2y ago · link · parent

In the EU we have, since decades, the "Arcoroc" brand and it does glasses and plates that really do not break easily. As teenagers we'd have fun with others who weren't aware: we'd take a pile of plates in our left hand and tell the other person "catch them all, quick!" and throw with our right hand plates one after another.

Invariably he'd miss one then many and be in a state of panic and yet none would break when hitting the kitchen floor.

Silly teenagers we were. I see that brand is still around. It's solid.

comment 2y ago · link · parent

Location and ACR may explain the ads I keep getting. But they're way off (because I'm cautious).

I happen to live in one of country with the highest GDP per capita (higher than the US) and I also spend lots of time in another country, in France, on a very famous place on the french riviera. That'd be the location part.

Then I love fast expensive sports cars. I just can't help it. Own two or three.

So what kind of ads do I get all the time? Ads for very very very rich people. Ads that want to sell me private jets flights or... Directly private jets. Yup: I'm not kidding, I keep getting ads where this insert many millions here private jets are for sale. Porsche cars: all the time.

Needless to say: I don't have anywhere what it'd take to fly private, let alone buy a private jet (even used).

But I find it funny: somehow the ad industry is thinking I'm completely ballin'.

Now of course I make sure to not only click on the ads but also pretend I'm deeply interested: for example I'll make sure to Google "Is a used Embraer better than a used Gulfstream?" : )

comment 2y ago · link · parent

> There will be hundreds of people here that fit this perfectly, or am I wrong about the demographics of HN?

Why would there be people on HN not wanting people earning less than them to have leisure?

People are free to bicycle, hike, rock-climb, and do whatever the fuck they want.

The only thing I don't want is wage-earner longing for my savings through taxes so they can buy Luis Vitton man purses.

And I want to be free to buy whatever the fuck I want with my hard-earned money: be it luxury cars or audiophile (audiofool, I don't care) audio gear.

But I don't give a crap what others do.

comment 2y ago · link · parent

> He should put it in Swiss bank so they can’t touch it.

That era is long gone.

comment 2y ago · link · parent

I don't know why you got that feeling, TFA says this:

> Some view C as a language so simple and raw that you’ll spend all your time working around the language’s lack of built in data structures, and fixing pointer bugs. The truth is that C’s simplicity is a strength. It compiles quickly. Its syntax doesn’t hide complex operations. It’s simple enough that I don’t have to constantly look things up. And I can easily compile it to both native and web assembly. While C has its share of quirks, I avoid them by habits developed over 22 years of use.

Which is nothing unreasonable.

I code mostly in a Lisp dialect but I don't take offense at, say, the Linux kernel being mostly C.

comment 2y ago · link · parent

> I don't feel this is safe enough. I also feel we could do better by optimizing images on the BE, or creating thumbnails for videos.

Yeah definitely. Even optimizing the vids. I just spend time writing scripts to convert, in parallel, a massive amount of JPG, PNG, PDFs, mp4 videos and even some HEIC files customers sent of their ID (identity card or passport, basically). I did shrink them all to reasonable size.

The issue is: if you let user do anything, you'll have that one user, once in a while, that shall send a 30 MB JPG of his ID. Recto. Than Verso.

Then the signed contracts: imagine a user printing a 15 pages contract, signing/paraphing every single page, then not scanning it but taking a 30 MB picture, with his phone, in diagonal, in perspective. And sending all the files individually.

After a decade, this represented a massive amount of data.

It was beautiful to crush that data to anywhere from 1/4th to 1/10th of its size and see all the cores working at full speed, compressing everything to reasonable sizes.

Many sites and 3rd party identity verification services (whatever these are called) do put limit on the allowed size per document, which already helps.

In my case I simply used ImageMagick (mogrify), ffmpeg (to convert to x265) and... GhostScript (good old gs command). PDFs didn't have to be searchable for text so there's that too (and often already weren't at least not easily, due to users taking pictures then creating a PDF out of the picture).

This was not in Amazon S3 but basically all in Google Workspace: it was for a SME to make everything leaner, snapper, quicker, smaller. Cheaper too (no need to buy additional storage).

Backups of all the originals, full size, files were of course made too but these shall probably never be needed.

In my case I downloaded everything. Both to create backups (offsite, offline) and to crush everything locally (simply on an AMD 7700X: powerful enough as long as you don't have months of videos to encode).

> Anybody have experience with any of this? I imagine having a big team and dedicated services for media processing could work, but what about small teams?

I did it as a one-person job. Putting limits in place or automatically resizing, right after upload, a 30 MB JPG file which you know if of an ID card to a 3 MB JPG file doesn't require a team.

Same for invoking the following to downsize vids:

    ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4    (I think that's what I'm using)
My script's logic were quite simple: files above a certain size were candidates for downsizing then downsizing then if the output was successful and took less than a certain amount of time, use that, otherwise keep the original.

I didn't bother verifying that the files visually matched (once again: all the originals are available on offline backups in case something went south and some file is really badly needed) but I could have done that too. There was a blog post posted here a few years ago where a book author would visually compare thumbnails of different revisions of his book, to make sure that nothing changed too much between two minor revisions. I considered doing something similar but didn't bother.

Needless to say my client is very happy with the results and the savings.

YMMV but worked for me and worked for my client.

comment 2y ago · link · parent

How timely: my bicycle's rear tire is a goner. My brother changes it by himself but I only have the skill to take the wheel off and bring it to the shop!

> and the greater the chance they’ll conclude they’re working in a bullshit job.

OK but you guys all know how many software have been involved in the creation and shipping of that bicycle and all its material? It's software all the way. The 3D modelling, the logistics, all the payment processing making buying/shipping the materials, etc.

I won't comment on taxes (on revenues for all the companies involved and on their employees too and on the sale etc.) and all the software that implicates and all the bureaucracy that it allows to thrive because, to me, that is the real bullshit that should be decimated (not reduced to zero but decimated).

But anyway many things we enjoy and take for granted exists thanks to and because of software.

Put it this way: even if they're similar in that they both have two wheels, I'm not trading an early 20th century for my Specialized (californian company btw even though I'm in the EU) full carbon S-Works (S-Works is the top end from Specialized) bicycle.

Thank you very much, software devs, for having made the creation of that wonderful bicycle possible.

comment 2y ago · link · parent

> My perfect keyboard would be something like a 150% with standard full layout but then adding in a bunch of programmable macro keys, I want more than F12! I want F1 through F36.

Not 36 but I've got one of these IBM Model M clickety clik keyboard with 24 function keys:

https://www.reddit.com/r/thinkpad/comments/9i1aef/24_functio...

But that said: I switched to a 60% HHKB more than a decade ago and I don't regret it. I prefer to use modifiers and less keys than more keys and longer hands / fingers travel.

Maybe you'd like this Wey Tech MK06:

https://deskthority.net/viewtopic.php?t=15102

comment 2y ago · link · parent

> For a doctor that was nearing the age of retirement or had very poor keyboard proficiency...

I went to a doctor recently who was typing very fast. I did kid with her that she could type nearly as fast as I did and yet she was also using one of this automated note taking thinggamagic (holding some kind of microphone in her hand).

She'd type manually for stuff like email/subject, click click one sentence here, click, one word there: for that kind of stuff it's too slow to dictate one word, then click, etc.

But in that big empty text field? She'd dictate.

As a bonus as her patient I got to hear her report (or "my" report if you want) in real-time.

comment 2y ago · link · parent

It s not software that s absurb, it s society at large that is. Starting with the insane pointless bureaucracy then trickling all the way down into every single aspect of our lives.

I love coding. And I love woodworking too: there are so many videos out there to help you get started. Learning to use dowels was quite the revelation for me.

Still very scared of the table saw (Don t have one yet).

comment 2y ago · link · parent

> M-Disc BD has the drawback of being Blu-ray, which seems to have gratuitously obnoxious things about it that I don't want to deal with on Linux.

I don't have one yet (still burning DVDs) but what'd be the obnoxious things to deal with when burning Blu-ray discs on Linux compared to burning DVDs?

comment 2y ago · link · parent

> DVD-R (gold metal layer) 50 to 100 years

These are the only DVDs listed with such a long life. I don't care about RW. Anyone know a brand/model of such DVDs I can still buy today?

(and, yup, I'm one of those still burning DVDs with important data on it and, no, I don't have that much important data and, no, I don't backup only on DVDs)

P.S: speaking of which it's a major PITA but most PC cases brand/models do not offer anymore a slot for a DVD reader/burner. I really dig my "Be Quiet!" tower (Pure Base 500 / military/beige color) but there's no 5"1/4 slot to put a DVD reader in there. It pisses me off so much I may re-assemble my modern PC in an old case : (

comment 2y ago · link · parent

> When a 32Gb USB stick is $3, why are you thinking about a 1Gb CD?

I've got data CDs from 1998 still reading fine. There are CDs and DVDs listed in TFA as having 50 to 100 years of longevity.

How's that 32 GB stick going to do in 50 years if left untouched from now till then?

I've never heard about USB sticks for long term archiving.

comment 2y ago · link · parent

> ... it's eye-opening to find out that people are paying thousands of dollars for a time-keeping device that needs the date to be manually fixed five times a year.

People used to wear gold as jewelry thousands of years ago. And some people still do just that. That behavior predates a great many currencies. For example I'm pretty confident people shall still wear gold as jewelry long after the EUR currency shall be dead.

Enter any jewelry store in the west now and they'll tell you: men buy jewelry too now. But it didn't use to be that way: typically a watch was the only jewelry a man was allowed to wear.

I've got a very nice japanese mechanical watch which shows day of the week, day of the month and power reserve in addition of the time. Got it for 300 EUR brand new at a "family sale".

When I'm wearing that watch there's some device responsible for the zombification of the west I can do without: my smartphone. Adjusting it manually once in a while doesn't seem that bad of a deal.

comment 2y ago · link · parent

But at this point why bother basing XUnbutu on Ubuntu? Why not use Debian as a base?

comment 2y ago · link · parent

It works for zero days sellers too: sell 0DTE 30 minutes after open (it's hectic too during the first 30 minutes), rebuy 30 minutes before close.

If "increasingly only 10 (minutes before close) matter", then the methods used to price 0DTEs shall need to be updated.

comment 2y ago · link · parent

> $1.3 billion > ... > After estate tax: $200 million

What's the most amazing is that with such a confiscatory scheme in place, the monkeys at the helm still managed to create 130% public debt and are concerned that they cannot sustain the debt payments anymore.

And others shall push to make more of what didn't work: more taxes, we'll solve everything with more taxes, for the gubernment knows best!

comment 2y ago · link · parent

> Or in other words: the target command is invoked in an isolated exec context, freshly forked off PID 1, ...

Of course. The solution to every Linux "problem" is, of fucking course, to have the PID1 spread is tentacles to yet more part of Linux.

Every single problem can be solved by giving yet more power to PID1... Except the problem of PID1 having too much power.

comment 2y ago · link · parent

> ... A poor home life increases chances of mental illness and decreases chances that someone will drive you to practice. Will you even maintain the team sport if your teammates never accept you...

I've never been and shall never be a team player. I go my own way. Never did any team sport (I hate them and I hate watching them). My parents never drove me to any practice (OK, OK, one year of judo but that's it).

A crappy skateboard, a used BMX clone, and self-assembled rollerskates go a long way (and in the not so long run cost less money than the fuel to drive to sport).

I'm still fit at 51 and I attribute that to me moving my arse off when I was a kid (and then teenager) and going out to play in the streets and parks every single day with my skate/roller/bicycle.

People should stop looking for excuses. And they should especially stop looking to excuse others.

Others don't like you? Grow a pair. Build a carapace. Learn to wheelie and learn to do kickflips. You'll get the girls.

Team sports are totally overrated (nowadays I still play some tennis).

comment 2y ago · link · parent

It means pull the plugs for all your equipment and they'll be fine. Then eat tuna cans for a few weeks waiting for things to come back to normal.

comment 2y ago · link · parent

> The delay is important for increasing security, but then why not have it after the check?

It really isn't on a local machine, when the keyboard is used to enter the password manually. There should be zero delay. 0 ms. That'd be acceptable. And some system can be configured to "no delay" before successive password attempts.

If one really believes adding a delay locally helps, the only thing that makes sense is introducing a delay after several broken attempts (like, say, five attempts: 10 seconds delay).

But security theatre by having a 3 second delay between two login attempts is ridiculous.

comment 2y ago · link · parent

> We have "reasoning machines" that are intelligent...

That's quite a statement.

comment 2y ago · link · parent

Sound? Which sound? My main "workstation" has no sound. It physically cannot emit sound.

And it can browse the Web just fine and allows me to work just fine. It is exceptionally rare that I need something in a Youtube vid and if I do, I turn subtitles on and watch at x2 speed: but that happens maybe once a month, maybe not even that.

So, yup, don't count on me to write software that "emits sound".

The nice thing is that because there are deaf people out there and because supporting handicapped people is a thing, the Web is guaranteed to continue working just fine without any sound.

It's not that I don't like sound: on the contrary I'm listening to music all day long, on a very nice hifi setup.

And I certainly don't want pesky sounds bothering my music listening experience.

comment 2y ago · link · parent

> Decades? Are you still talking about British Columbia, Canada?

Ain't that the real scary thing though? That's it didn't take decades but mere years for things to turn to shit?

To me real evilness is the supposedly compassionate ones, who not only refuse to see evil but also encourage it.

comment 2y ago · link · parent

> In theory I'm also for decriminalization, but in practice it doesn't work. Some drugs are so intense, can't compare to your Friday night beer.

The question is simple, really: "Do you really want your kid to have free access to Tranq?".

Answer that, in all honesty, from the bottom of your earth.

My enemies aren't the dealers or the consumers. My enemies are those saying every single drug should be freely accessible to my kid.

comment 2y ago · link · parent

> The fact that your device can become a complete brick, because of an issue in their completely hands-off account management system, smells like a class action suit

This is HN frontpage. It's on a big "Mac" website. The damage is done.

Many are going to write nonsense like: "Apple is still a $2 trillion company, so this obviously works for them" to which I'll respond with a simple question: Did it not work for Apple before these SNAFUs? Does it work better for Apple now, after fuck ups like that?

It's not normal behavior and they are losing customers over this.

We had an Apple "moment" in the family: around the 2012'ish MacBook Air era. Two at home and they worked fine, for about ten years. Then the battery issues, the keyboard issues, the trackpad issues. Eventually these MacBook Airs died a painful death.

I'm on Linux since the nineties (and, yup, I can get into my system with Apple or Microsoft forcing an online ID down my throat) but the Macs were convenient for the wife.

So we bought a MacBook Air M1. After 13 months or so the screen died alone, overnight: was working fine before closing the lid, was dead in the morning. There are threads with dozens of pages on that subject.

That's when I switched the wife to Ubuntu. Ubuntu, Linux Mint: she doesn't care. Heck, I probably could have her use Debian or Devuan (Debian without systemd).

Apple is done for us. It's over. We'll never ever buy a Mac again and I'll never ever recommend a Mac to anyone.

And I'm far from the only one thinking that way.

The damage is done.

Rationalize as much as you want, invoke AAPL's market cap as much as you want, and enjoy being locked out of of your devices without any recourse.

comment 2y ago · link · parent

> Like the Spectrum before it, the Amiga allowed people who couldn’t afford a PC to play games on a computer. Then the PC killed it: microchips got cheaper, Amiga didn’t move fast enough, and it seemed to die really quickly.

TFA's author must be from a parallel world. I remember actual businessmen (friend's father and friends of him) having "PC"s at home. Monochrome piece of mediocre underperforming slow pieces of shit they were. 286 crap.

While us on our Amiga could run typesetting programs, edit videos (try that on a PC from back then), "digitize" audio samples (we had "digitizer" allowing to transform an analog audio source into digital files), run countless intros and demos and games as good as those in the arcades.

Games on the PC back then were pieces of turd written in BASIC.

> uncool

Yeah. But no. Not in this world. In this world the Commodore Amiga was one of the most badass, coolest, machine ever which was half a fucking decade ahead of its time. It was the coolest thing around and it deserves the scene and following it still enjoys.

P.S: I don't always flag submissions, but I do I do it about obvious pieces of trolling

1
929394
163