10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions
comment 4y ago · link · parent
Emacs using an elisp JSON parser is about 15x slower (!) than using a native JSON parsing lib. It's borderline criminal (just kidding): I think LSP should simply test if native JSON parsing is avail and refuse to run if it isn't.
I'm using LSP-mode and it flies (AMD 3700X / 32 GB of RAM / Emacs native compilation branch / native JSON parsing).
Apparently LSP-bridge is even faster so I may try it but if "Emacs completely locks up" when you hit a key due to lsp-mode, there's an issue (and a solution).
comment 4y ago · link · parent
Don't know about that but it seems an accepted fact, even here on HN, that it's worth two digits less than 18 months ago (due to inflation).
Kinda hurts.
comment 4y ago · link · parent
It's not just gold bugs: central banks worldwide are stockpiling on gold at record levels lately.
https://www.reuters.com/markets/commodities/record-central-b...
comment 4y ago · link · parent
stty -ixon
in interactive shells and Ctrl-s ain't an issue anymore.If I do want to "pause" the output, teletype style, as if the seventies called or something, I pipe my command into less instead.
I've been disabling Ctrl+s since literally more than a decade and don't know what I'm missing. Probably not much.
comment 4y ago · link · parent
Same here: second layer reachable from the hands' home position on the keyboard. Left thumb for the modifier + ijkl in my case (I like ijkl for it mimics an actual arrows key cluster).
It works everywhere: xterm / command line, Emacs, any editor / IDE really, any dropdown menu...
It's the way.
comment 4y ago · link · parent
Kraken is one of the OG cryptocurrencies exchange. Maybe the oldest still around. They're in the business since 2013 or so.
Since then the Crypsy, Quadriga, Mt Gox, FTX, etc. have all come and gone (with their customers' money) but Kraken is still there. If they are on a scam, it's a really long con: a decade and a half of a con?
They're not "Binance big" but they do nearly as much volume as Coinbase, so 3 400 employees doesn't feel that surprising.
I don't think BlockFi did anywhere near the volume of trades Kraken is doing. As I understand it BlockFi was some kind of a "fire and forget" thing where you'd loan your crypto and get some yield in return. So very little things actually happening there compared to Kraken.
Yes, 900 employees was insanely huge for BlockFi. But I don't think 3 400 employees for Kraken looks that crazy.
comment 4y ago · link · parent
Does anyone know if moving to a "3.0" audio setup is sufficient to fix this? That'd be left+right+center channel. Several speakers brands, if I'm not mistaken, do name the center channel as "vocal" or something like that.
Do people with a 3.0 speakers setup or more also have this problem of voices behind harder to discern than they used to?
Or is this just affecting people watching movie using whatever stereo setup?
I'm asking because I've got an "audiophile" stereo setup but don't really want to go to the trouble of moving to an home cinema amp + many speakers.
comment 4y ago · link · parent
If you're using a LSP server, which btw uses the "clj-kondo" which borkdude mentioned, it's totally independent from the REPL and will tell you immediately if your source file is missing a function definition or a variable.
Now it could be argued that you could have a wrong version of a function declared in the source file (and hence LSP / clj-kondo would still be happy) while the correct version got only defined at the REPL but...
That's not how I develop: typically I test stuff at the REPL but only define my functions in the source file. And from the source file, I "eval" the function and its hence available directly in the REPL.
Now I don't know about others but in my case I regularly write anonymous functions at the REPL, which I test directly on some data at the REPL, and then I copy/paste the anonymous function to the source file and give it a name there.
REPL> ((fn [x] (* x 2) 21)
42
OK, good, it works now, I cut/past (fn[x] (* x 2)) to the source file and change the anonymous fn to a defn.But I'll also sometimes just directly write the function in the source code file.
In addition to that, unit tests can help too.
So it's REPL + unit tests + LSP (which uses clj-kondo) and all three are totally independent.
And yet although they're independent, when LSP tells me something like: "Function x is called with only argument but expects two", I can fix it, eval the correct function, and the REPL is immediately aware of the correct version.
I've always got both the REPL and the Clojure LSP server running, independently, simultaneously.
> or assign a value to a variable.
Clojure really tries to put the emphasis on functional programming so you don't typically have lots of mutable variables to juggle with. I'd say I have more of a "global application state" at the REPL than different variables.
> I must be missing something.
Maybe you're simply not aware that you can code in the source file, eval there, and the eval'ed functions are directly available from the REPL?
I'm not sure my explanation are very clear but I hope it helps.
comment 4y ago · link · parent
That remains to be seen (for example I'm crossing fingers Brian Armstrong, the CEO of Coinbase, which is an HN unicorn, ain't at the head of a ponzi) but meanwhile something is certain: SBF was running a Ponzi (guaranteeing insane returns using previous investors and people's money: yup, that's a plain ponzi).
And he was lying in nearly every single of his tweet, up to a few days before the downfall when he was tweeting that everything was fine. Or when he was saying the money was FDIC insured. Deleted the tweets? Too bad, people have copies of that.
To me it seems like quite some people are pushing this "every crypto is a ponzi" now that their poster ponzi boy got caught with the hand in the cookie jar.
But I'm not sure they'll succeed.
I think there could be a future where, just as energy and commodities are still a thing after the Enron ponzi, Bitcoin may still exist after FTX/Alameda ponzi.
comment 4y ago · link · parent
And Deltec is a centerpiece behind the tether (USDT)/Bitfinex scam.
People who actually described the Alameda/FTX ponzi scam for what it was since day one have always said it: Alameda/FTX is just a front set up by tether/Bitfinex, made to precisely hide more market manipulation.
The links are becoming clearer: the top lawyers at respectively both Bitfinex and FTX used to be colleagues who... Worked at a firm convicted of fraud for they stole $50 million out of players in an online poker scam (the operator could see the players' cards and would play against them). FTX was, conveniently, a few streets away from Deltec in the Bahamas.
Everything checks out: countless "little" companies to try to funnel the money out of the US (including small banks which, as is now a fact, shared/exchanged between tether and FTX), the Bahamas, the lawyers...
It's a little gang who all know each other very well.
Now I don't think they thought FTX would fall but they had the setup made so that should it fall, it'd act as a fuse shielding tether/Deltec.
comment 4y ago · link · parent
Especially when the laptop does not have an Ethernet port. For me it's USB-C to Ethernet adapter when my laptop is in my office room, and pathetic WiFi elsewhere.
I take it I should try one of these USB-C to USB-C magnetic things (a la Magsafe): don't know if they're any good.
comment 4y ago · link · parent
I only started using them in 2017 and I still do use them sparingly. But typically only for stuff I buy directly from the brand's store on Amazon.
There are a few brands I still trust. They may all be going downhill at some point and the "official store" may actually be some front for cheap copies that stole the brand name, I don't know... But so far it looks okay to me.
Anker, Osram, Makita, S.T. Dupont (for refills), etc.
Last thing I bought from Amazon from some random brand was a box of 200 firelighters, supposedly ecological. I don't know if the brand is "true" or not, I don't know if they're actually ecological or not (they look like but it may all be a scam) but... They were cheap and they do actually help greatly lighting the fireplace.
So far Anker stuff looks like it's actually Anker stuff. Makita tools do look and feels like Makita tools, etc.
That's why I keep using them.
Now I do find the experience painful and I'm 100% sure that all these identical products but branded different when I search on Amazon for, say, 316L stainless steel are stuff that are going to rust in six months.
So I'd say that people using it because even if Amazon broken, it's still convenient to find all your usual brands in one place.
comment 4y ago · link · parent
That's the same story those who portrayed SBF as a hero now try to sell you.
Go back and read the explanation of the scam from those who explained the scam while it was ongoing (months and even years it blew up). From independent journalists to traders to even people testifying against FTX in front of congress: several saw SBF was a nobody and that he was full of shit (some junior trader who successfully executed three minor arbitrage at Jane Street on some minor market or something: nobody knew his name in the finance world, he was a complete no-name).
These people who sniffed him for the fraud he was have got a different story.
Here are a few interesting facts:
- top lawyer at FTX, Dan Friedberg, is an ex- colleague of the top lawyer at BitFinex, Stuart Hoegner... What did they both work on as colleagues? Biggest online poker scam, where a company wrote a poker server with a "god mode" to defraud players. Coincidence right? I mean... FTX / BitFinex, just a coincidence.
- SBF said he was fed up with the usual crypto exchanges that couldn't be trusted
- first thing SBF does is send $$$ to tether (through 100+ fake companies/banks like Moonstone banks and the like) in exchange for USDTs
So he doesn't trust exchange, but sends over the years billions of his customers' real USD to the most shady of them all to get, in exchange, counterfeited money (tether/USDT)? And the top FTX lawyer happens to have been involved in both a fraud and a coverup with the top lawyer at BitFinex.
BTW it's the Panama papers that revealed that the gang between tether and BitFinex where the exact same people.
Every single Bitcoin pump is linked to insane volume on the BTC/USDT trading pair. Even the last one, done through FTX/Alameda, when Coinbase and USDC were already big.
So everything circles around tether / Bitfinex (who are still in the game, compared to SBF / FTX / Alameda).
And that official story: "The 27 years old lost it all to bad leveraged trades that had no stop-losses".
OK, sure. Fine. Maybe.
But tell me... Wasn't it Bitfinex or Bitfinex's Alameda on the other side of that trade? (for Bitfinex also has the same structure with their own "independent" trading arm, whose name I currently forgot).
I mean... Let's not talk about the petty $40 m in donations to grease politicians (mostly democrats but also republicans). That's petty money. Just like the rumours about $120m in real estate that SBF's parents acquired (which may or may not be true). Even if true, that's still cheap kickbacks for the money mule / fuse / useful idiots.
WHERE ARE THE FUCKING TENS OF BILLIONS?
comment 4y ago · link · parent
Since discovering the pantorouter for woodworking I always wondered: wouldn't the same technology make sense for ultra precise 3D printing at home? Instead of having the motors drive directly on top of the model, have the motors drive a pantorouter instead and have the smaller end of the pantorouter on top of the model. It's "just" simple machines right, lever and axle basically?
https://en.wikipedia.org/wiki/Simple_machine
All I could find is people 3D printing parts to make a pantorouter for wood. But I'd really love to see one for finer 3D prints.
comment 4y ago · link · parent
He also says it is important for marketstakeholders and the CFTC to investigate the clear conflict of interest (between FTX and Alameda).
And he ends saying that even though he is for innovation, he says that innovation which is found to increase risk unacceptably or fails to protect consumer is against the law.
Pretty good read IMO.
comment 4y ago · link · parent
I regularly (one day out of every two?) wear a relatively heavy mechanical watch while working. 127 grams I think. I don't have more issues to my left hand than my right hand has ; )
comment 4y ago · link · parent
And they running puff pieces after the scam was uncovered. And they're trying, after having presented SBF as a genius, to now make believe people that it's only leveraged trades (to the tune of tens of billions of dollars) with customers fraud gone wrong.
Why is anyone still reading the garbage coming out of these papers that aren't even suitable as toilet paper is beyond me.
Meanwhile there are people out there who exposed the Alameda Research ponzi before FTX was even created. It was the same ponzi as the Bitconnect ponzi: say you notice crazy arbitrage [1] and promise insane returns "guaranteed zero risks".
Insane returns promises have a name: scam. Giving the insane returns to the early investors while keeping the scam going as another name: ponzi.
And this was all explained years before the ponzi was exposed.
And in addition to that US congressmen and senators are accusing SBF and ex-officials and officials to be working hand in hand to allow FTX regulatory capture of the crypto exchange market...
And you dare tell us that the journalists trying to sell the "leverage trades with customers money gone wrong" are still... Journalists engaged in run-of-the-mil journalism?
Despite all the donation SBF made to these publication?
Please.
I mean: the only other explanation is that these journalists are so incompetent they shouldn't be allowed anywhere near a keyboard. They should be flipping burgers and even then I wouldn't want to eat the poison they'd be serving.
comment 4y ago · link · parent
Then Coinbase has a very serious issue: legislators already said that should Coinbase go belly up, the actual tens of billions backing the USCD (Coinbase's stable coin) could be seized to reimburse the investors first.
So, knowing that, who is going to use Coinbase's stable coin? Knowing that at any time the rug can be pulled under your feet.
Even if they're legit they're walking on extremely thin ice.
Then there's the issue of Coinbase, for whatever reason, having pairs trading in USDT (the ultimate scam). And Coinbase is also guilty of having listed several of the pump and dumped shitcoins of SBF's creation.
Sticking to BTC / ETH and actually backing USDC 1:1 without using the funds to bail out investors first was too much to ask?
comment 4y ago · link · parent
There's also no reason to believe articles written about SBF aren't politically motivated anymore.
comment 4y ago · link · parent
On the contrary. It's the only case where maths can defend vs men with guns.
Multi sig schemes spread over different people over several continents make the "men with guns" thing very difficult. Or multisig but m-out-of-n, with a dead beat: if after x weeks you don't hear of person A, person B and C move the coins to a new sig where person A isn't involved anymore.
There are also a shitloads of things you can do with smart contracts. For example you can have a smart contract where if person A's private key doesn't sign anything for more than x weeks ("blocks"), the funds are destroyed.
There also the whole plausible deniability thing: where it's impossible to know where a hardware unlocked with a hardware wallet is the real thing or not.
$5 wrench attack, here's my real password: take the 50 millions. Oops. Decoy. On the other password there's $2bn.
comment 4y ago · link · parent
Also: does Copilot work for Clojure and is it any useful for Clojure?
comment 4y ago · link · parent
I think it's fair to say that exchanges and websites promising 8% or 15% year-on-year returns are done. They're not coming back any time soon. They'll now be called out by everybody. And probably legislated out of existence too.
But the end of Coinbase? Coinbase seems legit. Sadly for them the very bank they're using, Silvergate (ticker SI), may be a goner. So USDCs emitted by Coinbase may or may not be worthless (and moreover seizable by the state to bail out Coinbase investors before Coinbase customers).
I'd like to see how exposed to Silvergate Coinbase is.
I hope Bitfinex dies a painful death. I hope Binance crashes and burn.
I hope every single exchange accepting USDTs falls.
But I do hope Coinbase, a HN unicorn, survives.
comment 4y ago · link · parent
Totally. And it's not just about "stable countries".
People in Cyprus (except the russians, who were warned a few days before and had the time to move their funds) saw the money on their bank account used to do bank bail-ins. Probably a test to see how the population would react when the same would happen EU wise (as bank bail-ins are now, by law, mandatory in the EU for failing banks).
People in Spain were incentivized by the banks to put their savings into products yelding x% then the banks defaulted on the principal. That one's even more vicious than the Cyprus case.
The FED and ECB printed trillions for years and year... But we're to believe that saving confiscated through inflations are due to only to supply chain issue and to the war that started in Ukraine. Yeah. Sell me a bridge too please.
So far people in Spain and Cyprus who had put their money in BTC are still winning. Those who got their money confiscated by bail in and by bank-sold shady investments not so much.
We'll see.
comment 4y ago · link · parent
I don't disagree with the other points but... That one remains to be seen. Bitcoin was precisely created as a gigantic middle finger to the central bank's endless money printing to bail out the financial system. That's the message in the genesis block ("Chancellor on the brink of second bank bail out": it's as political as it gets). The early adopters, before the poker players (Bitcoin was used to facilitate players-to-players transfer on poker sites before Silkroad and drugs where I thing IIRC), were libertarians and anarchists fed up with the FED.
This hasn't changed, so far. There are only going to ever be 21 million Bitcoin. Ethereum, at the moment, is deflationary (more ETHs are burned than created through proof-of-stake).
You get, what, 5% on your USD: great. But real inflation is, say, 12%. So that's still 7% down.
There's a price at which people are going to enter BTC and Ethereum with the promise that it won't be inflated to death.
Many may not like it. "Inflation in the two digits, good!. Helicopter Ben: savior of the economy. Bank bail outs mutualizing losses: perfection by our beloved state!".
But there are still people out there who see the value in something that cannot be printed at will.
I'd say especially so when the FTX and Tether of this world, at times in bed with officials, are printing at will their worthless token and dumping them on retail with the blessing of the New York Times.
> There are still inflation worries in the economy.
Precisely.
I'm certainly not keeping all my life savings in cryptocurrencies. I was all in cash after the war in Ukraine started and I'm certainly enjoying the firesales on many stocks right now (Stanley, Makita, ASML, Intel, 3M and a shitload of stocks I handpicked are totally on sale: it was time to sale when everybody was yelling "TINA" and the war in Ukraine started and it's time to buy now that everybody is yelling "falling knifes, it may fall another 90%"... Yeah, sure. If all the companies I handpicked are falling 90% more, I'll load up the truck and retire in a fancy yacht in a few years).
But this entire USDT/FTX scam (with the blessing of the SEC and CFTC), these shitty tokens created out of SBF's farts (sorry but it's how it is) and these centralized exchanges makes me want to go bullish on BTC / ETH. I'm waiting for tether to go bust to go in bigger.
Many hate it here: BTC may not be worth much but "your keys your coins" and as long as it's not totally outlawed, nobody is going to prevent me from storing BTC (mo matter their value) on a hardware wallet.
And f--k fractional reserve banking, f--k bail-ins (Cyprus), f--k the vicious states stealing people's money (Spain, where banks offered crazy return rates to their customers then defaulted on the principal) and certainly f--k mutualized bank bailouts.
I have zero confidence in USD / EUR. I have zero confidence in banks. I believe in stocks and, yes, in BTC and ETH on my own hardware wallet.
comment 4y ago · link · parent
You mean as in passing regulation drafted by SBF, the dude running the biggest crypto ponzi exposed so far, which would have allowed him to capture a hefty chunk of crypto exchanges market through regulatory capture?
The chief lobbyist of FTX was an ex-CFTC commissioner regularly meeting with the SEC and the CFTC.
Here are the very words of US Congressman:
https://twitter.com/RepTomEmmer
"Interesting. @GaryGensler runs to the media while reports to my office allege he was helping SBF and FTX work on legal loopholes to obtain a regulatory monopoly. We're looking into this."
I also read this: "Four U.S. lawmakers have accused the SEC under Chairman Gary Gensler of "regulatory hypocrisy and inconsistency."
So it looks like the "billionaire financiers" may not be the only ones to blame.
We're not just talking about "regulation interfering with the free market". We're talking about regulatory capture by the biggest fraudster since Madoff.