10,590 karma · joined Dec 4, 2013 (12y ago) · 4,855 submissions
comment 5y ago · link · parent
I'm in my late forties and I don't play with config files a lot because... Once X11 / Awesome WM is set up it is set up, well, for years. Literally years. Does not move: not a iota.
At times I've had my "workstation" (just a big PC) with an uptime of 6 months. 6 months of uptime, for a desktop. That's how stable things can be. (I had my reasons for leaving my computer up at night for one of its core was computing something: but that's not the point... The point is these Linux and BSDs can be so stable you can, if you want and kernel security patch excepted, easily reach one year of uptime).
My current desktop PC is six years old and I'll soon buy a new one and I'll reinstall everything from scratch: I've got notes and may need to "fight" new hardware and whatnots for a few hours (if I'm unlucky) but then hopefully I'll be good for another six years?
The thing is: if you don't like tailoring your system to the way you like it to work, then you're forced to use the way others thought it'd be best for you...
So, sure, it may be a bit more work than a Windows or OS X machine, but the stability and uptime is also on a whole another level.
comment 5y ago · link · parent
The BASIC cartridge was coming with some kind of keyboard controller that you'd plug in the 2600's joystick ports.
It was horrible but it allowed to do simple programs and even draw colored lines etc. IIRC.
comment 5y ago · link · parent
Now because I was a bit evil, when on summer camp (without my Atari 600 XL) I'd create small BASIC programs and mail them (snail mail, obviously) to my mom with accompanying instructions and SHE had to enter my program. Then I'd phone her and ask her what the program did : )
comment 5y ago · link · parent
> Modern browsers are not good "desktop citizens", if you will. They hog memory to the point where opening anything new will create a pressure stall.
I went the ballistic route: most of my browsers run inside local Docker containers, on which I put CPU and RAM quota.
It's my machine: I decide how "citizens" behave : )
comment 5y ago · link · parent
comment 5y ago · link · parent
All my music collection is FLAC files, bit-perfectly ripped from my CD collection. So, sure, they're digital files, compressed, but lossless. It is, for all practical purposes, just as good as a CD (as long as my external DAC is as good as the CD players' built-in DAC).
The original CD may have been badly engineered but that's another topic.
3 000 CDs fits in more or less 1 TB in lossless (but compressed) CD quality (just to give an idea of how tiny it is using modern storage standards).
Some people only use FLAC as archives but these files are so tiny in this day and age that I don't bother converting the FLAC to mp3s: I sent directly the bitperfectly ripped FLAC files to my DAC / stereo setup.
comment 5y ago · link · parent
That's one solution.
I've got mine under Git. It's a bit more "work" in that when I upgrade packages (which I don't do all the time) I need to commit what's been deleted/added but I can at any time go back to any past working setup.
Then I just use Git across user accounts / machines to synch my Emacs setup.
Others are using Nix.
> Each time I update all packages something new breaks...
Don't know what's the "proper" way to do it but I upgrade packages manually and never all at once. That is: I never start from an empty Emacs. There are some tradeoffs I guess but I never have to track down which package is problematic and reverting is basically checking out the last commit.
I'm not saying it's the best way to do it but it just works.
comment 5y ago · link · parent
I just found these old machines of mine in a garage during the first Covid lockdown and decided to try them out and found out they were still working (still had an old CRT TV laying around).
comment 5y ago · link · parent
I wonder how many of us still have them all... I probably sound like a broken record at this time but I still have my Atari 600 XL, Commodore 128 (which I was only using in C64 mode) and Commodore Amiga.
The 600 XL and 128 are still working and the Amiga is probably easy to fix.
comment 5y ago · link · parent
The EU has no fiscal competence, this is left to the individual states.
I don't think much Bitcoin mining is done in the EU? Much of the EU has the most expensive electricity in the world.
From a fiscal point of view the taxation of cryptocurrencies depends on each nation. Many have already decided, by law, how to tax Bitcoin and cryptocurrencies. For example in Portugal if I'm not mistaken Bitcoin is considered a currency and gains made on currencies are not taxed. In other countries it's considered capital gains. Etc.
None of it is harmonized.
The EU simply doesn't have the authority at the moment when it comes to fiscal matters (it's the same for taxes on cars, gold, jewelry, whatever).
The EU probably can issue a rule banning mining using proof of work in the EU that'd then have to be translated into national laws: but I don't think that'd change anything.
Banning mining in China, however... That one would probably have consequences.
comment 5y ago · link · parent
I take it GP meant mining without gigantic electricity consumption: so not proof-of-stake but proof-of-work
> ... and how does it differ from regular fiat money today?
There was a discussion here a few days ago where people were trying to determine how many swiss bills were circulating... Someone commented on the irony, in a thread hating on cryptocurrencies, that anyone at anytime can know exactly how many, say, Bitcoin or Ethereum do actually exists.
There are other difference between government issued money and cryptocurrencies: for example some cryptocurrencies have a fixed, carved in stone, supply curve and so you can know beforehand exactly how many are going to be mined each year.
This is quite different, for example, from Venezuela's bolivar: Maduro just announced that 1 000 0000 bolivian bills were going to be printed now.
comment 5y ago · link · parent
There are a few large projects written in Clojure. I'd say it's a "data first" approach, not uniquely "map first".
There's this famous 4 minutes rant by Rich Hickey (the creator of Clojure) where he talks about maps and about how Java does OOP (and how maps are served through getters but you can't see easily that they're maps), it's golden:
comment 5y ago · link · parent
Well, wouldn't it already be quite a win if for 99.9% of the smart contract out there no human judge was needed?
It's an honest question: ain't it unthinkable that most could be fully automated and yet real courts could be used in rare cases and that that'd be already be quite an improvement? Or is the system only working if 100% of the time no human ruling is needed?
I have no idea...
comment 5y ago · link · parent
This reminds me of Bruce Schneier's article "Unicode is too complex to ever be secure", except in this case ASCII too apparently ; )
Which makes me wonder: for such sensitive programming languages, shouldn't the specs be much more restrictive and for example only allow 'A' to 'Z' in variable names, no digits, no lowercases, etc.?
comment 5y ago · link · parent
I never thought about that (I avoid FP as much as I can) but, oh boy, the can of worms!
.Net (or Java) OOP where an object's hashcode needs to give the same (or not?) value for 0.0 or -0.0: this is the kind of stuff nightmares are made off.
I'm sure this can be turned into some very funny "Java puzzler".
comment 5y ago · link · parent
The most beautiful FP bug I remember was a denial of service in some webservers where by setting the header "Accepted Language: en-gb;q=0.3 en;q=0.8 ..." to a specific value you could send the official Java floating-point parser in an infinite loop (and this affected several Java webservers).
So at each webpage request, you were sending one CPU core of the webserver basically busy-looping. Hence crashing the webserver in a few requests at most.
Now it'd be heresy if I were to say that maybe, just maybe, had the standards mandated to use 0 to 100 for weighting instead of 0 to 1.0 we could have dodged a whole source of potential issues!?
No, no, I realize this is heresy: let's all keep using numbers that cannot even be represented correctly (except as strings), parse those strings into something approximately representing what's written in the string, then make more approximation errors while doing computation with these numbers, propagation errors, epsilon estimation errors, and keep insisting we all could have authored "What every computer scientist should known about floating-point numbers" (which is 80 pages long and, well, approaching a treaty) ; )
/rant off
comment 5y ago · link · parent
I don't follow: is a single kid from a middle class family an outsider to kids from other middle class families where they have 2 or 3 kids? I mean, I understand that middle class is neither rich nor poor, but what's the difference for a unique child compared to middle class families with serveral kids?
Do the siblings typically provide opportunities for their brothers/sisters? (I'm personally launching atm a new endeavor with my brother but I don't see that as particularly common).
comment 5y ago · link · parent
Now I just looked at that Schnorr paper and, well, I can tell you that I'm not going to be the one implementing it : (
comment 5y ago · link · parent
It took me 3.3 years of actual computation time to do about 2^46 multiplication+modulo of two 2048 bit numbers on a Core i7. 2^36 of 2048 bit numbers should be doable in a day on an eight years old CPU.
P.S: that was on a single core, for the problem I solved was explicitly created as to not be parallelizable.
comment 5y ago · link · parent
Theory is nice but if you can find the solution to something, just do it and then brag once it's done : )
comment 5y ago · link · parent
Does these kind of solutions work for every cryptocurrencies? For example does is support Bitcoin? Or is this something that needs some kind of smart contract like those provided by Ethereum?
And another question: what about optionally fully anonymous transaction as in ZCash, does the scheme work to sign tx done using ZK proofs too? Or fully anonymous ones, like David Chaum's upcoming "xx coin"?
comment 5y ago · link · parent
But you probably haven't, except in, well, games?
> 60hz is far from smooth, and that number is a leftover from days past, not what is actually optimal or good.
Well it would already be wonderful if we actually had 60 Hz in modern application / devices, including 16 ms response time. I fired up an old game the other day on my arcade cab (CRT screen), some shoot'em up game, and it was silky smooth. I'm pretty sure it was "only" 60 Hz but it was constantly 60 Hz: any input with the joystick or buttons had results the very next frame.
This felt so much smoother than any of the army of modern devices I'm using on a daily basis: even if they can animate stuff at high refresh rate, the latency before the animation starts is what makes using them painful.
Refresh rate is a thing but so is the latency between when your input and when, visually, it produces a result.
I've seen people working on ports from old arcade game where they'd record using high-speed cameras LEDs physically hooked to the joysticks/buttons to make sure that "input at frame x means response at frame x + 1". Short of that your app very probably is not responding in 16 ms or less, unless you really know what you're doing.
There was this famous rant by John Carmack where he lamented that on PCs it was faster to do a transatlantic ping than to push one pixel to the screen: I don't know how far we've gone, but when I compared modern devices to my old arcade cab and it's measly 60 Hz (but 16 ms latency), I'm still not impressed.
A 120 Hz or 144 Hz or 240 Hz is no good if it takes 35 ms between when you move the mouse and when you see the results on screen: that's not "120 Hz" but 30 Hz. And 30 Hz feels laggier than an 35 years old arcade cab: it is that shameful. 35 years and still feeling more responsive than any productivity app.
I remember a recent tool posted here (I think for OS X: maybe an editor) here by someone who was fed up with this extreme "input lag" and was guaranteeing his program would be answering in less than 16ms (maybe was it 24ms, don't remember exactly). But that is an exception.
I think you're highly underestimating how smooth 60 Hz already is when there's no input lag. Now, of course, I'm taking 120 Hz or more any day over 60 Hz but we should very badly focus on input lag too.
And, sadly, we live in a world where I'd scientifically guesstimate that 99.99% of the programmers are totally unable, due to limitations of their tools (do they have high speed cameras and can they prove how fast things are pushed to the screen?) / knowledge (I'm not John Carmack and modern software stacks sure seems complicated) / languages (let's not start a flame war) / mindset (never optimize anything / 100 MB JavaScript downloads are fine, etc.), to push anything to the screen in 8ms or 4ms.
Except for top-notch game programmers working on AAA titles.
So 240 Hz monitors, sure: bring them up. But bring me too the programmers and tools needed so that in 4 ms I'll see the result of my inputs.
comment 5y ago · link · parent