10,596 karma · joined Dec 4, 2013 (12y ago) · 4,865 submissions
comment 1y ago · link · parent
How'd that all work with Clojure spec? I use spec and spec on functions (defn-spec) all the time in Clojure. It's my way to keep things sane in a dynamic language (and I know quite some swear by spec too).
I'd now need to spec, say, all my maps so that they're basically a "Maybe" or "Either" with the right side being my actual specc'ed map and the left side being specc'ed as an error dealing thinggy?
Would that be cromulent? Did anyone try mixing such idiomatic error handling in Clojure mixed with specs and does it work fine?
comment 1y ago · link · parent
Because it simply throws so many people off.
comment 1y ago · link · parent
Proxmox is easy. To me Proxmox is not just a bit but much easier than "directly running QEMU". It's also got ZFS for free working out of the box. I'm not saying it's secure. I'm not saying it's giving you the utmost control. I'm saying Proxmox is the definition of easy.
comment 1y ago · link · parent
I don't know about that: my wife built her first SME on Google Workspace / GSuite / Google Apps for domain (this thing changed names so many times I lost track). She's now running her second company on Google tools, again.
All she needs is a browser. At one point I switched her from Windows to OS X. Then from OS X to Ubuntu.
Now I just installed Debian GNU/Linux on her desktop: she fires up a browser and opens up Google's GMail / GSuite / spreadsheets and does everything from there.
She's a happy paying customer of Google products since a great many years and there's actually phone support for paying customers.
I honestly don't have many bad things to say. It works fine. 2FA is top notch.
It's a much better experience than being stuck in the Windows "Updating... 35%" "here's an ad on your taskbar" "you're computer is now slow for no reason" world.
I don't think they'l pull the plug on GSuite: it's powering millions and millions of paying SMEs around the world.
comment 1y ago · link · parent
Although I do still pay for ChatGPT, I find it dog slow. ChatGPT is simply way too slow to generate answers. It feels like --even though of course it's not doing the same thing-- I'm back to the 80s with my 8-bit computer printing thing line by line.
Gemini OTOH doesn't feel like that: answers are super fast.
To me low latency is going to be the killer feature. People won't keep paying for models that are dog slow to answer.
I'll probably be cancelling my ChatGPT subscription soon.
comment 1y ago · link · parent
> Only an elite few get to touch these machines.
But lately many can run quite a lot of AI models at home. Doesn't require too crazy of a setup.
Why not build something software fun at home that doesn't involve a DB? Maybe using some free AI model?
I did experiment lately: automatically "screenshot" a browser and ask an AI to find the URL and ask if the URL and site looked like a phishing attempt or not. Fun stuff (and it works).
I tried installing one of these "photo gallery" in a Docker container (where you can put all your family/travel pics and let anyone on your LAN [or on the net] browse them). I saw some of these have "similarity" searches features. I also saw that SAM / SAM2 (Meta's Segment Anything Model) was plenty quick: some people are using these to analyze video frames in real-time. So I was thinking about sending all my family pictures through SAM2 (or a similar model: I saw some modified SAM2 to make it even faster) and then augmenting the "similarity search" by using the results of SAM2. For example finding all the pictures about "pool", etc.
And why limit myself to pictures? I could do family vids too: "Find all the vids where that item can be seen".
Possibilities at the moment seems endless: times are exciting if you ask me.
comment 1y ago · link · parent
I tell them about the "terrorists" truckers who went on strike in Canada and who got debanked for going on strike.
> (I almost got debanked once -- I had my account re-instated after many weeks of extreme stress ...
You tell me. I had to fill nearly a PDF with nearly 50 pages justifying where and how I bought groceries and how I put tank in my car because they somehow thought I may not be living in the country I said I was living in.
Same things: weeks of insane stress but, eventually, they said things were OK.
You're not a weirdo. People don't realize we live in a Brave New World, complete with secret ESG score (assigned by banks to customers), etc.
Many simply have blind love for the state and they'll never question any rule made by the state.
So they'll state: "But banks are only following the law!". Which is precisely the problem: such laws shouldn't exist.
I live in a country where it's all about banking finance and most don't realize they don't produce anything at all. It's all about KYC/AML/compliance/SARs/fiscal lawyers/etc. A big, gigantic, void.
While you see SpaceX going from their Raptor 1 design to their Raptor 3 design, using the "idiot index", where things become more efficient and way cheaper, bureaucracy (and their banking following dogs) works the other way: everything becomes less efficient and more costly.
comment 1y ago · link · parent
Exactly.
But the really most shocking is the number of people that'll find excuses for such a dystopian system.
Now of course very few bite the hand that feeds them: when you literally work on software facilitating the handling of SARs, you need to do post-fact rationalization of your acts and life choices.
I hope the new administration burns that profoundly nightmarish system to the ground.
comment 1y ago · link · parent
Stop with the Al Capone, totally dumb, angle: instead of arresting him for his actual crime, they arrested him because he didn't pay his taxes. Something dumb like that. And everybody applauds as if it was so brilliant. It's not.
What I think is: arrest people for the actual crime they commit... and leave honest people the fuck alone.
comment 1y ago · link · parent
The excuse "(but) This is very much the law." isn't much of an excuse.
Last I checked the numbers estimated that, worldwide, KYC/AML costs on business where more than $180 bn while only $12 bn of funds were frozen. And frozen do not mean confiscated: a part of these are unfrozen and rightfully returned to their owners.
So that whole totalitarian, dystopian, system is a gigantic net loss.
And for what? To please bureaucrats who can do nothing else but push papers, create laws and rules and put ever more burden on everybody else.
But the worse of it all is that it gives a perfectly valid excuse for banks to debank anyone they don't like: seen that they don't need to justify anything they can just say "we're sorry we cannot say anything".
Wait, no, that's not the worst of it all. In several countries in the EU like France and Belgium the local IRSes do basically run ads explaining how you can denounce your neighbor.
I've heard a number floating in floating (devs in charge of these systems do talk): 25% of all the self-employed people have had at least one SAR.
On my LinkedIn I see people proudly posting 3rd-reich stuff like "The previous chief compliance officer said there were weeks where they had zero SAR". Basically implying that the previous dude was not filling enough reports and that he was so happy to get the job so that he could run those numbers up.
Burn that entire system. Just burn it to the ground.
There is no moral justification to freezing the bank accounts of truckers in Canada.
I don't care that "this is the law". Laws should be about justice.
This has absolutely nothing to do with being just.
comment 1y ago · link · parent
Same. Because they all try way too hard.
I have a fully working vintage arcade cab from the mid eighties which I still play on. I know. Most of these shaders and techniques exaggerate way too much what things really looked like. There's a tiny blur and there are tiny scanlines (or whatever these little black lines are called) but things... Mostly looks pixelated.
And that's an old, used, CRT I have: probably one of the blurriest one. Back in the nineties we already had fancy Sony Trinitron CRTs and these were flawless. Pixels just looked like pixels, not like all these blurred things nor like all these exaggerated shaders. Many CRTs were really crisp.
Do games from the eighties look better on a CRT? Definitely. But it was subtle.
Pixel art is pixel art and it's not pixel art because it was shown on a CRT and suddenly it wouldn't be pixel art anymore because it's shown on a modern monitor.
Things were really just "blocky" and pixelized. That's really how things looked.
comment 1y ago · link · parent
And in addition to that it's also useful for rending still pictures. 2D generated images by AI so far have incorrect lighting and many errors. Once it's a 3D scene rendered by something like Blender (which is free), it's going to look flawless: lighting is going to be correct (and configurable) and all the little details that are wrong are going to be easily fixed.
We already have insanely powerful tools and apparently from here it's only going to get way more powerful real quick.
comment 1y ago · link · parent
But it cannot. Have you ever seen the kind of setups professionals in various industries are using for their craft? Like DAW (Digital Audio Workstation), 3D modelling (Blender / Maya / whatever), JetBrains IDEs (or others), architects, doctors, etc.
How does that fit on a smartphone's screen? It doesn't.
Your phone is not and cannot be a PC.
A laptop is barely adequate.
Now I'm not saying there's not that one musician who managed to create that one hit from his smarthpone but most musicians use a proper setup. Proper instruments. Proper PC.
Is a phone sufficient to post pictures and vids on social media? Sure. But there's more to the world than social media.
I haven't seen many vids of chip engineers or SpaceX engineers working on next gen tech from smartphones.
A phone is not a PC, no matter how much you're addicted to your phone.
comment 1y ago · link · parent
> I have a router that from my ISP I am forced to use...
A friend of mine did impersonate the ISP's router's MAC address and used wireshark to sniff the traffic when the modem started. He then configured the ONT (which is physically inside a SFP plug, it's tiny) to establish the handshake/send the credentials.
I don't think the ISP has any idea at all :)
comment 1y ago · link · parent
Why not for it's always interesting to experiment but one is lossy (all bluetooth codecs are lossy AFAIK) and the other is analog. Probably on top of an already lossy source too. They "sound" the same the same way a pixelized color print of Mona Lisa next to the real Mona Lisa looks identical if you're far enough. You may or may not be able to tell the difference but lossy Bluetooth and analog aux-in don't sound the same.
I decided to go for a simple setup: a Yamaha fully integrated amp that does it all, including a network streamer. And I stream from Qobuz (lossless streaming) and from my own collection of CDs I ripped to FLAC (lossless and bit-perfect rips even though you're ripping from an audio CD, verified with an online DB of hashes from other people who did ripped the same CDs).
So I know that up to amp, it's all lossless. Then the amp does its magic.
It's simple really: even though I can't tell the difference between a pixelized color print of Mona Lisa and the real thing from far enough, I'd still prefer to know I'm actually looking at the real thing.
A Qobuz (lossless) subscription doesn't cost more than a Spotify one (lossy although they announced they'd move to lossless IIRC).
It's 2024: FLAC files are tiny compared to, say, even just a 1080p movie. Bandwith is plenty to stream lossless.
Why even bother with lossy? Lossy audio is tech from a quarter of a century ago.
comment 1y ago · link · parent
There's a reason they're doing that and someone like Theo de Raadt is bringing us OpenSSH (and OpenBSD).
In computer security defending is much harder than attacking. It's not even comparable seen how gigantic the gap is.
(dark side) Hacking is easy (and, yes, I did it when I was late teenager/early twenty-ager). Protecting stuff is the hard part.
comment 1y ago · link · parent
One of the main reason the very few manages to ruin cities for everyone else is because of the charitable take.
In addition to that, just like GP, my experience is that the people being nuisance are really just stupid. I haven't seen many chess IMs nor many engineers destroying things the majority relies on just for fun.
There's zero reason to be charitable with dumb people acting evil and there's zero reason to attribute intelligence where there's typically close to none.
comment 1y ago · link · parent
Imagine you want to run, say, Firefox like that (say because you'd like to see stdin/stderr output of what's going on without having to find to which log file it's outputting stuff: it's really just a silly example):
xterm> firefox
<-- the xterm is now "stuck here" (until Firefox exists)
if you now write, into that "blocked" xterm, the things you write shall execute when you exit/kill Firefox: Hello, world!
But one thing I used to do all the time and still occasionally do, first do this: xterm> firefox
<-- the xterm is now "stuck" here (until Firefox exits)
cat > /dev/null
You can now use that xterm as a temp paste buffer.So, yup, a good old cat > /dev/null works wonder.
comment 1y ago · link · parent
De Beers isn't the only entity producing lab-grown diamonds. There's competition and hence prices of lab-grown diamonds have been divided by 3 in less than ten years.
The interest in diamonds and trying to recreated diamonds predates De Beers by centuries.
> Diamonds are pretty
Like gold. Shiny gold is pretty too. Cleopatra already fancied that. Humans are humans and like shiny things, especially females.
Females birds of paradise for example shall pick the male birds of paradise we humans tend to find the most harmonious color-wise. Go figure but it's everywhere in the animal kingdom.
Something something about evolution / mating / etc. Not everything is subjective.
> and a marketing campaign to buy a diamond ring for your marriage proposal
I see many single women with diamond ear rings. Diamonds inside their watch. Necklace. etc.
Something could be said too about consumption and all the throwaway items we have (like smartphones) vs one of the hardest known material on earth which can be passed down to your kids and then grand kids while still keeping some value and at the same time being... Shiny.
comment 1y ago · link · parent
Now there's one way to pay to get way less ads: pay for an AI model and replace a huge percentage of your searches with searches inside the model. They're not bad at that. That's why many are saying that Google is (partially) in trouble with LLMs: wife and I definitely are searching less using search engines than we used too.
Besides that I'm running a local DNS server with a brutal blocklist: nearly one million of wildcarded domains (unbound supports wildcards). I block entire TLDs too. Entire countries' IP blocks. Add uBlock origin to the mix and your life becomes pretty ad-free.
I'm glad to pay a subscription for an AI model that doesn't serve me any ad. But I won't pay for something that serves me less ads, but still some ads. As simple as that.
You want me to pay: serve me zero ad.
comment 1y ago · link · parent
But then my DNS is always CloudFlare's 1.1.1.3 (no known porn sites, no known malware sites resolving). I used to use 8.8.8.8 in the past but I'm a happy user of CloudFlare's DNS.
More specifically: I use unbound as a DNS resolver and unbound uses 1.1.1.3 then locally I use dnsmasq to cache DNS answers for a little bit.
comment 1y ago · link · parent
I don't think you realize what's going on in the EU (failing into a third world continent at an alarming rate) or in China (where "little" cities of 30 million inhabitants are all about tech and feeling like you live in the future: not that everything is rosy in China).
EU carmakers are all in big trouble while Chinese EVs and Tesla are soaring. The EU has nothing to answer the mag 7, let alone SpaceX (the ESA was already way behind NASA).
That the US is growing at a faster rate than most other nation and continents is a fact and it's got nothing to do whether you or a care assistant goes to visit your grandma.