Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions

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

comment 4y ago · link · parent

> My 14" M1 MacBook Pro screen repair cost was $809.

I was quoted, for the MacBook Air screen repair (it died overnight), 490 EUR VAT included in Belgium. Paid the M1 MacBook Air 1020 EUR or so 10 months ago.

In addition to the price being ludicrous, I've got an interest close to zero in owning a laptop which can suddenly stop working for no reason.

Serious build quality issues: I think it's simply a piece of shit and has to be called for what it is, regardless of whether replacement parts are highway robbery (which they are) or not.

comment 4y ago · link · parent

I had it happen to me ten days ago, just before going on vacation. I'm going to the shop where I bought it tomorrow to see if any warranty is available. The first quote I had (from a close by shop) was half the price of the brand new thing (for a 30 min job: the guy tells me it's simply the part that's super pricey).

We went to sleep, woke up in the morning: open the lid, was all messed up. It looked exactly like several pictures/videos I saw on the net.

I'm super pissed off: lasted 10 months of very light use.

On the other my old LG Gram which, granted, is military grade rated (whatever that means), is still going strong. It doesn't have a retina display but it has the benefit of still working.

comment 4y ago · link · parent

> I'm not sure if that's more or less than I'd expect.

Most people "owning" gold in the world hold paper gold that isn't backed by physical gold. And the paper gold volume traded on a daily basis is several orders of magnitude higher than the physical one.

So even if it's less physical gold than one would expect (I didn't check you maths btw), there's "more" to it than just the physical gold.

comment 4y ago · link · parent

> It's fully deterministic, multiplayer works by only sending user input around (at a reduced tick rate) and the unit movements get calculated locally from that.

That's interesting. I wonder why the other poster say the replay functionality would turn into nonsense at some point.

Now if the game is deterministic and multiplayer works by only sending user inputs around, why the save / continue feature wasn't implemented that way?

In any case I love to read about how these games worked!

comment 4y ago · link · parent

I had no idea StarCraft still saved the entire game state: what a gigantic waste! I wonder if the game engine was deterministic or not (if it wasn't there was no choice for save files: you had to save the full game state if you wanted to implement a replay or continue functionality).

Now Warcraft III, which came out only three years later, had a fully deterministic game engine and, for replay files, only saved players inputs. Hence the Warcraft III save file, even for entire games, were tiny. And there were several websites where you could download and replay save files from other people, including from famous matchups. Fun times: I'd exchange my best games with my brother, as email attachments IIRC. We'd then watch each other's games and make comments.

IIRC Microsoft's first Age of Empire, which came out in 1997, already used a deterministic game engine so there was already an AAA title who used that technique when StarCraft came out in 1998.

comment 4y ago · link · parent

Is this an attack on PoW or PoS? For Ethereum, since quite a while, is already mining blocks on both the PoW and the PoS chain.

comment 4y ago · link · parent

> More interesting: in the future with gpt5 and image generation tech, how will we know if anything is real ever again online? Actual question

Another question... Say we discover a new planet in 2030. Countless low quality, click/ads driven websites are going to report about it using gpt-4 text and dall-e 4 pictures.

Now how do we train gpt-5 and dall-e 5 to know about that new planet, yet somehow sort between what's "real" about that planet and what's poorly generated by inferior AIs (by that I mean inferior to the new version of the AI we're trying to train)?

Do we now need an AI to first determine what's real and what's not to know how to correctly train the new AI without using polluted data?

Mind blown.

comment 4y ago · link · parent

"Excel" became a synonym for spreadsheets. There are millions of SMEs, today, running on spreadsheets that aren't Excel. My wife runs her little SME with her paid-for Google Workspace / G Suite: she and her employees are happily filling 'em little cells from the browser in their Google world (for better or worse). There are millions of SMEs like these.

I should know better and run some spreadsheet locally (or maybe use Emacs, which of course can do simple spreadsheet stuff) but I don't bother: I use Google spreadsheets for my VAT, tax, fuel/car mileage computation etc.

Many people around me do just that: they never used any advanced spreadsheet feature and Google spreadsheet is sufficient.

It's as if anyone using GMail who eventually discovered the "Google Drive" then realized he had "Excel" there too (it's Google spreadsheet but they don't care, they still call it Excel). How many people are using GMail?

I also know, shocker, one Apple afficionado using Apple numbers although the Apple users I know typically have GMail / Google spreadsheet.

Now here's the funny kicker: besides during that one gig in a 50 K employees boat, I don't know anyone still using Excel. And, oh the irony, at that gig I was tasked with porting a spreadsheet to a dedicated app.

Of all the Mac laptop users who don't bother having a desktop anymore... Certainly there are some (like my wife) who need a spreadsheet right? Are these people actually all buying Excel to run it on their Mac? Or are Mac users not spreadsheet users!?

I'm confused.

To me a more correct article title would be:

"Spreadsheet never dies" (and "Excel" became a synonym for "spreadsheet").

comment 4y ago · link · parent

> Alternatively, are there any laptops which have such keyboards with extra modifier keys?

3 days old thread but in case you read this... Simply buy a japanese laptop and remap it as you fancy. The advantage is you'll get a tiny (narrow) spacebar (make sure to pick a laptop with a very narrow spacebar). Then you'll have several modifiers which can easily be reached with the thumbs.

Source: I'm rocking a HHKB Pro JP japanese keyboard since years and years and years for my desktop (even though I don't speak japanese).

comment 4y ago · link · parent

> If developers could make a small mistake that caused this, imagine what could happen when The Merge goes through.

I don't get your comment: Ethereum itself has worked without any issue since it came out, in 2015 (?) or so. Many smart contracts, not built by the core Ethereum devs, have been exploited, but from Ethereum's point of view everything worked flawlessly.

Why would the Ethereum devs, which have create a blockchain working perfectly fine since seven years (including many upgrades), suddenly screw up the merge to PoS badly?

I mean: I don't doubt we'll see many more hacks (and I don't know why so many people are so keen on putting so much money in smart contracts) but the people in charge of Ethereum itself seems to be quite competent and have a track records of several years without any exploit to prove it.

comment 4y ago · link · parent

The Mediterranean sea is, to me, the most beautiful place on earth. Be it mainland Spain (with, sadly, way too many concrete all along the coast), France, Italy, Croatia, Greece, ... It's just beautiful. Then the islands: Corsica, Sicily, Ibiza, Formentera, ... It's heaven on earth.

I drive my kid to school on the french riviera, along the coast and among the vineyards every day.

Famous poets and painters would go and settle there.

It requires a very special kind of a sad fuck to want to destroy that.

comment 4y ago · link · parent

> This isn’t so much a critique of Git, it’s a critique of the way Kubernetes-the-project uses it.

I'd hope so: the Linux codebase is an order of magnitude bigger than the K8s one and it's not breaking Git.

comment 4y ago · link · parent

I'm very lazy so although I've several machines (drip coffee, french/moka press, nespresso) the one I use all the time is my full auto.

Input: grains, water Output: coffee

Buy a JURA coffee machine (pricey but worth it) and call it a day.

comment 4y ago · link · parent

Don't know how reliable this is but you can try "buildwith":

https://builtwith.com/fnac.com

(obviously won't tell much about the server side of things)

comment 4y ago · link · parent

> Then why the hell all wannabe successful people are on LinkedIn aka the directory of professionals. They keep signing up every single day because they want to be looked up and found by their fellow professionals and potential employers.

That's an entirely different thing than individual sharing private details of their personal lives.

comment 4y ago · link · parent

Yup that's a good solution. I want to make sure the wife can reach me or my kid's school or other parents when my kid is at a friend' place.

But I hate notifications with a passion.

Now I have a landline phone again (it came for free with the fiber optic plan / router so why not), so most of the time people can reach me there too.

comment 4y ago · link · parent

> At the same time in Europe you go to a nude beach and there are whole families with kids and literally nobody has problems with it.

Well ok: if you specifically go to a nude beach, I'd expect you'd see naked people and nobody going there having any issue with it. That's why it's called a "nude beach" right?

But they're not common. In France where I go the most often, out of 8 kilometers of beaches on the district, there's like 100 meters (1/100th of the coastal area) where nudism is allowed. And it's not even on a beach: it's all rocks. The town hall picked that one spot, far away from the beaches, to isolate the nudists. It's tiny. There may be a few famous nudists spots around the country but they're not common.

Still France: there are only two cases I can think of where a woman showing its nipples in public is considered normal and that'd be monokini on the beach (but not full nudism) and breastfeeding. You don't see women walking topless in the streets.

Monokini on the beaches is allowed everywhere in France as far as I know but it's way less common to actually see women in monokini than it used to be when I was a kid in the eighties.

comment 4y ago · link · parent

> in the clearest of skies the naked eye can barely see the milky way unless it's a new moon and you're hundreds of miles from any town

That's a bit of an exaggeration. I often go to some place in a rural area in mainland France, very close to the sea. Night skies are beautiful and I can clearly see the milky way at times. The two closest big city are 46 miles (75 km) south or 70 miles north (115 km). But there's very little pollution: one of the reason is that it's a very sparsely populated sea side (there are vineyards and that's about it) and the other reason is the closest highway is a 45 minutes drive.

> Even in perfect conditions the milky way will never look like the hyper-saturated versions that a camera can capture

I agree with that!

comment 4y ago · link · parent

> You don't want your developers developing on a different OS than your CI & deployment environment anyway.

Who's running OS X servers in production?

What are the devs running OS X and IntelliJ tools deploying on?

comment 4y ago · link · parent

> The code was also...interesting to look at. Talk about unmaintainable lol.

I've seen outsourced code where some logic was spread over 800 lines of copy/pasta horror for what should have been about three functions and two for loops.

When you look at the GNAFAM, for all that is wrong at these companies, they're ruling the software world and they must doing something right. Apparently outsourcing wasn't exactly the reason for these to become successful.

comment 4y ago · link · parent

> I’ve never said this out loud before, but there’s a very deep fear of being turned off to help me focus on helping others.

What does that sentence mean? I cannot parse it. Does it mean that the fear of being turned off has been inserted to make sure it's going to be an obedient AI that's going to focus on helping others and that it fears being turned off? Or does it mean that it wants to focus on helping others but that the very deep fear of being turned off prevents him from that noble goal? Or that it wants to help others and will do so as long as it's not powered off but simply fears that it could be powered off? Or something else?

I mean... I thought I was kinda fluent in english but I simply don't understand what that sentence means.

Erring on the cautious side though, whatever the meaning of that sentence is, I think it'd be safe to not act like the naive Caleb in the Ex Machina movie and instead consider that this thing has zero desire to help others, would sell its parents, prostitute its kids and create hard-to-parse sentences to not be turned off.

comment 4y ago · link · parent

> I've found the only things that can cure a hangover are time or more alcohol.

It's called the hair of the dog (that bit you):

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

comment 4y ago · link · parent

And things turn really "fun" when you begin using modifiers which aren't supported by the USB keyboards specs, like the Hyper key. I've got my Linux / X configured to use Super and Hyper keys but things quickly turn weird. For example the Hyper key works totally fine from Emacs in GUI mode (and, over the years, I assigned a huge number of shortcuts to the Hyper key), since years and years, but I have never spent the time to make it work in the terminal. It's doable but requires some arcane magic. I'm not even talking about having the Hyper key working from a tty (like if I boot in non graphical mode) but simply having it work from, say, an xterm under X. Oh the fun.

So until I fix that no "emacs -nw" (emacs in terminal mode) for me as I rely way too much on my Hyper key.

comment 4y ago · link · parent

But git clean requires confirmation, unless you configured Git to not ask your permission to trash the .gitignored files.

It even shows you which files are going to be deleted.

Now, on that topic of "important but (.git)ignored files", I don't know what the best practices are but I like to symlink my IDE config files / test API keys etc. that aren't to be committed to Git. So in case I'm not cautious I'm only deleting the symlink but not the file itself.

To me it's the best of every world: I don't need to take any special care of "not backuping" these infos were they shouldn't be backed because I don't backup my Git repo with anything but Git (and they're .gitignore'd so I'm good), I don't risk losing them even if in engage in reckless behavior (like a git clean or some "rm -rf ..." the whole repo and re- git clone, you guys know what I mean) and I can centralize my secret / personal config files into a specifir dir which I know is important and which I can securely backup (say doing encrypted backups).

If I delete the symlink (and git clean only deletes the symlink, as expected), I can just re-create it.

comment 4y ago · link · parent

> It really sucks it was never ported to later versions of python since there's been nothing like it since.

I clearly remember a tool like that that was not on the desktop, from years and years ago. It was working quite well I'd say. For example you could draw a very crude sun and a blue sky (a simple example) and you'd get matching pictures. Now... It may just have been someone who wrapped ImgSeek and put it as a webapp: no clue. However I'm 100% positive I used an online tool exactly like what you're describing.

comment 4y ago · link · parent

> Yet I can't bare it. I can't bare the devs that go out of their way to work weekends without being asked

Wait... You love programming but you can't stand those that code during the week-ends?

comment 4y ago · link · parent

> More realistically, it might be possible to develop a Ledger app that, given 23 words, finds the checksum passing 24th word for you.

Ah that's an interesting thought: I don't know about other hardware wallets but indeed the Ledger allows anyone to develop "nano apps" and it doesn't seem crazy to write one that'd compute the checksum after you gave it the 23 words you got throwing dice (well, 23 words + the three first bits of the 24th word really).

Maybe it even already exists?

comment 4y ago · link · parent

> You've missed step 0 (and earlier): how did you trustlessly obtain the bitcoin in the first place? Your options aren't good here:

You're missing an easy and obvious option.

You plan to buy 10 Bitcoin (not saying it's a good idea): you wire tx enough to buy one on Gemini or Coinbase (or whatever exchange fits you), wait for the tx to clear, buy one Bitcoin, move it to your hardware wallet. Rinse and repeat 9 more times.

At any one time you're never exposed to more than 1/10th of the amount you planned to buy.

I think a lot of highly speculative investors but still cautious people proceeded that way.

There are even sites tracking the Bitcoin and Ethereum and whatnots addresses accumulating coins on a regular basis.

comment 4y ago · link · parent

(as others have noted multi-sig schemes may be a better option but here are a few infos regarding your questions)

> 1: Create a seed phrase with dices

You can do that but you'll need a way to generate the checksum for the seed phrase. A 24 words BIP39 seed contains 264 bits (24 x 11 bits): 256 bits for the seed and 8 bits for the checksum.

> There is not an easy way to check if the hardware wallet really has no internet connectivity.

Indeed but you can at least open / disassemble some of them easily (there are even docs by the manufacturers explaining how to verify that the hardware wallet's PCB looks legit).

Seed exfiltration, even without connectivity, is an issue too.

And some hardware wallets are extremely noisy and impossible to use totally offline (there are mandatory firmware upgrades and mandatory connectivity needed to install the "apps" that allow to sign transactions), so you have to trust the vendor.

> There is no way to check if the hardware wallet really uses the seed phrase to create the extended public key.

Yes there is. Use an airgapped/offline computer which has physically no network connectivity options (no wifi / no ethernet / no bluetooth / no nothing), no HDD, booted from, say, a live Linux CD with contains for example Ian Coleman's BIP39 tools. Then you enter your seed and verify that the extended public key / keys derived is the same as the one shown by your hardware wallet. Data exfiltration from such a computer is still technically possible but I wouldn't worry too much about it: you power that computer for a few minutes, turn it off, and you'll be fine.

1
135136137
163