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 3y ago · link · parent

> I am wondering though, in what areas does Lisp get used these days?

If you consider Clojure a Lisp then I think before the tech stocks crashed there were seven unicorns built with Clojure. Banking, healthcare, analytics, ...

I'd say Clojure can be used anywhere Java can for sure. And Clojure runs on top of ClojureScript too.

Then Clojure is only one of the Lisp dialects and there are "lispier lisps" out there which also their success stories.

comment 3y ago · link · parent

> invest in much lower risk investments like money market funds and high quality commercial paper, which tends to have very low returns

As I wrote in the other comment: Coinbase says the tens of billions of USD backing their USDC are in short term US treasuries. ATM the return on these is 4.7% yearly? 4.7% yearly they pocket on more than $50 billions. Without giving the returns back to the USDC holders (as far as I know people keeping USDCs in their own private wallets do not get any yeld).

Or is Coinbase not actually putting these tens of billions in short term US treasuries (which mean they'd be lying)?

Or am I misunderstanding what's the yearly return on these short term US treasuries?

comment 3y ago · link · parent

> What exactly is hard about running a fiat backed stablecoin? Don't you just accept money for your token and invest it in low risk crap?

That's what Centre (Circle+Coinbase) is doing. They're emitting USDC and publish the individual identification numbers of every single short term US treasury (and the bank at which they're held) they buy with actual USD from customers. I don't know, from their terms of services, what happens with the returns/yeld on these treasuries.

For now that interest rates went up suddenly Centre is getting several percent on tens of billions (!) yearly. They're certainly not distributing the yeld to each individual address owning USDC.

So it looks like Centre may be a very profitable company by now.

But tether's case is believed to be different: many believe they never had anywhere near the amount of real USD backing the USDT they emitted and that they emitted USDT mostly out of their arse, tens of billions of them, and used these to pump the price of BTC (and of the whole ecosystem).

comment 3y ago · link · parent

TFA, to me, touches about something I've wondered about a very long time ago: what are the implications of CPU and storage growing at much faster rates than human population?

Back in the 486 days you wouldn't be keeping, in RAM, data about every single human on earth (let's take "every single human on earth" as the maximum number of humans we'll offer our services to with on our hypothetical server). Nowadays keeping in RAM, say, the GPS coordinates of every single human on earth (if we had a mean to fetch the data) is doable. On my desktop. In RAM.

I still don't know what the implications are.

But I can keep the coordinates of every single humans on earth in my desktop's RAM.

Let that sink in.

P.S: no need to nitpick if it's actually doable on my desktop today. That's not the point. If it's not doable today, it'll be doable tomorrow.

comment 3y ago · link · parent

> Writing to disk is fast and my internet is fast. Things feel super snappy. I've been building computers from parts since about 1998, I think this is the longest I ever went without an upgrade.

I did like you: rocking a Core i7-6700 from, what, 2015 up until early 2022. 16 GB of RAM, NVMe PCI 3.0 x4 SSD, the first Samsung ones. I basically build that machine around one of the first Asus mobo to offer a NVMe M.2 slot.

It was and still is an amazing machine. I gave it to my wife and I'm now using an AMD 3700X since about a year and... I'll be changing it for a 7700X in the coming weeks (hopefully).

The 3700X is definitely faster than my trusty old 6th gen core i7 but Zen 4 is too good to be true so I'm upgrading.

All this to say: you can stay with the same system for seven years then upgrade twice in less than 12 months!

comment 3y ago · link · parent

For example using private bare Git repositories hosted internally at the company with mandatory OpenSSH U2F authentication (requiring a physical key like a Yubikey) would go a long way and requires two minutes to setup. Or a VPN. Pick your poison.

But then you lose convenience.

Slacked picked convenience and it led to the headline: "Slack's private GitHub code repositories stolen over holidays" and the top voted HN comment so far is: "Slack is selectively and deliberately limiting public access (discoverability) to the security breach announcements.".

The question is: was convenience worth it?

There are other tools. There are other ways to host. There are other ways to do CI/CD.

But it's less convenient.

It's a tradeoff.

comment 3y ago · link · parent

> What does human-level intelligence mean?

What about a simple test: it means being able to create better versions of ChatGPT and StableDiffusion.

Can an AI create a better version of itself, all by itself?

Because humans are going to create better versions of ChatGPT.

So no matter the exact definition of "intelligence" or "human intelligence", the goal is simple: create a better version of itself and it'll be considered intelligent.

Can't do that? It's simply not matching human-level intelligence.

So I don't see how intelligent machines wouldn't lead to "intelligence explosion" and the "technological singularity".

comment 3y ago · link · parent

> See, you should use a tiling window manager with several workspaces and shortcuts without having to look at your keyboard, e.g. Meta+4 to go to workspace 4 where you have your chat apps.

That's basically what I do. A tiling WM and then one modifier key (Super in my case but whatever) and then keys to go to any workspace/virtual desktop I want.

And most of my workspaces are always organized in exactly the same manner, so I know exactly where is what.

comment 3y ago · link · parent

Wow. Godwin's law at the first post. Well done. (btw I'm not a big Tesla fan: I find the cars seriously lacking in build and interior materials/quality for the luxury price at which they're sold [for the S and X at least])

comment 3y ago · link · parent

> A group of Chinese researchers have just published a paper claiming that they can—although they have not yet done so—break 2048-bit RSA.

If a quantum computer can break 2048-bit RSA, what about elliptic curves?

comment 3y ago · link · parent

Why is this downvoted? Ain't it exponentially harder to break RSA using qubits each time you double the key length?

Until we switch to quantum resistant algorithms, we can keep doubling the key length for some time no?

8192 bits should still be acceptable speed wise (if we consider that 2048 bits is broken, then I'll take slower operations over broken keys any day of the week).

comment 3y ago · link · parent

Your mileage may vary. I'm using a 38" screen (21:9) daily since four years and I wouldn't want it any other way. Except maybe a single 49" monitor (which does 32:9 I think).

comment 3y ago · link · parent

> I always thought the most important thing about home security alarms is calling the police

Having my house visited once while I was away and twice at night when I was there, I'm now prepared. The two times I was there, I make the bad guys run away but I still don't know if they knew I was there or not and what their plan was.

So now I take no risk and I've got an amazing alarm system.

To me the most important is that the alarm makes it physically impossible for the thieves to steal much. My alarm system gives the thieves 45 seconds to give a password (and they don't know it). If I'm under duress, there's a "I'm under duress" password and the security company will answer: "Fine, have a good night" while they actually call the police. So the thieves cannot know.

If no password is given, after 45 seconds a smoke fills the entire house. It already triggered, worked wonders. It leaves no trace once it dissipates.

With the smoke the thieves cannot steal anything. They certainly don't have the time to find the safe / open it.

The game becomes: "Without seeing anything (due to the smoke), find the door to flee the house before the police arrives".

That's what I love with this alarm system: it turns the thieves into preys.

It's communicating over several channels (as an anti-jamming system). It's got its own battery.

It also detect break-ins attempts, before the thieves are even in: the sensors detect the vibrations and it works (one day I let my hammer drop and that was sufficient to trigger one of the sensor).

comment 3y ago · link · parent

Happy New Year!

comment 3y ago · link · parent

This article itelf is complete bullshit. They're obviously totally anti-Musk and paint him next to ponzi-boy and 10-years-in-jail-Holmes.

The intellectual dishonesty is high on this one.

And then:

> But it turned out that Bankman-Fried had essentially gambled away customers’ deposits at his company, leaving the customers in the lurch and destroying Bankman-Fried’s fortune virtually overnight.

That is not at all what the indictment is about. It would be nice if the media stopped trying to bullshit us into believing that.

Alameda was a scam from way before FTX was even created. The leaflet selling Alameda to investors were already using fake return figures.

There are counts of conspiracy to defrauds customers and investors alike.

The "effective altruism" guru (the Oxford professor who bought a $15m mansion with stolen money) was actually involved at FTX.

It's not clear at all he's clean.

Real altruistic people don't need to posture as altruistic people. They don't need to run cults. They don't need to scam people. They don't need to pose as "holier than thou" people.

And they certainly don't buy $15m mansions with stolen money.

What about, instead of spitting on Elon Musk, we get some actual investigative journalism?

For example I've got an interesting subject to investigate: the exact role of SBF's guru who frequented the Bahamas and is running an "Effective Altruism" movement from a $15m mansion bought with stolen money?

And, please, journalists... No bullshit in this age.

comment 3y ago · link · parent

I really don't think so. It's estimated 3% to 5% of the entire world's GDP comes from organized crime. These are officials CIA numbers / estimates.

3% to 5% of the entire fucking world's GDP.

Cryptocurrencies are a tiny drop in the bucket. Tinier than tiny. Completely insignificant in the grand scheme of crime.

Organized crime existed way before Satoshi Nakamoto released Bitcoin to the world and shall, sadly, continue to exist long after that.

comment 3y ago · link · parent

> In five years, this guy founded a hedge fund that made millions of dollars, a crypto exchange that handles billions of dollars in trades, and became a mega-billionaire...and it came crashing down because he was secretly stealing user funds.

That is not what happened. Alameda was a scam tied to the tether fraud from the very start. The entire thing was a con. Alameda was pump and dumping shitcoins before FTX was even created.

> In five years, this guy founded a hedge fund that made millions of dollars

remains to be seen. May not even be true. Some say his "kimchi trade" story is bullshit.

The leaflet where he "sold" Alameda to investors is more than extremely fishy: it looked like a scam planned from the beginning.

> a crypto exchange that handles billions of dollars in trades

remains to be shown too. A lot was certainly fake volume. For all we know most trades that happened where actually dumping shitcoins they pumped on their users. It's not known where all the supposed users are nor how much was really trader there.

It is very likely the volume was in part fake, to sucker investors in.

> and became a mega-billionaire

he never was that. That was a lie too. If at any time he had billions, that was stolen money and valuation based on lies and tokens he created out of his (now sorry) arse.

> and it came crashing down because he was secretly stealing user funds.

It came crashing down when it shouldn't have because the dude was bribing officials (it's now proven) to try to regulatory capture a big part of the crypto exchange market by having a legislation passed that would have killed Binance.

And CZ from Binance exposed the ponzi SBF was running since day one.

The indictment clearly specify that there was a conspiracy to defraud both investors and customers.

I don't buy for a second that he was running a legit scheme, that he was legally worth billions (it was all fake valuation) and that someone a few trades went wrong.

That's not at all what happened.

comment 3y ago · link · parent

> Was Jarre popular outside of France?

As I recall it Jarre was a semi-god in Japan. He made incredible concert there and had a gigantic following. I think he was bigger in japan than in France.

comment 3y ago · link · parent

> This piqued my curiosity and I wondered if Linux supports ReadyPlay and other DRM standards to support higher bitrate and higher resolution Netflix streaming.

I pay for my Netflix subscription. And when I want to watch a movie on my projector, I first torrent it (fiber optic, takes two minutes top), then play it. No random Internet issue. I torrent the x264 "webRIP" which I figure out is basically the film I paid for the right to watch using my subscription. I'm not a "data hoarder" / movie collector: I watch the movie then delete it. Same for series.

I started doing this after I upgraded my Netflix subscription to a higher tier then noticed streaming quality on OS X was still crap.

comment 3y ago · link · parent

> Whether tacit collusion—where firms effectively behave as though they are colluding without any direct communication expressing agreement

Basically the Nash equilibrium.

comment 3y ago · link · parent

At some point I thought it was still a thing because my wife was still kinda, sorta, using it.

But years ago she quit.

I hear about Meta and that they own WhatsApp and I see people using WhatsApp.

But FaceBook: among my friends and family who used to post there, nobody ever posts anything. I don't doubt many are still logged in by default because they haven't updated their computer in years but they simply do not posts anything anymore, don't use if to message people (they use WhatsApp or Telegram instead) and don't check their feed.

And most of all: people don't ever talk about FaceBook at parties anymore. Since a long time. It used be a thing: people would ask if you were on FB or tell you about this or that person that posted this or that thing on FB. People don't do that anymore.

I don't understand where FB's MAU numbers do come from: in my (non tech) circle FB is simply already dead.

comment 3y ago · link · parent

> Aren’t we calling it climate change now?

Overall temperatures are warming but it's hard to call it "global warming" when there are tens of dead in the US due to a winter so harsh it's going to break records and when it's believed that the entirety of Europe may become much colder should the gulf stream stop (which some believe would be a consequence of warming).

In the grand scheme of things planet earth ain't dodging another ice age.

So there's that too.

If you want to rally more people to the cause I think it'd be wise to call it "man induced climate change" or something like that. Not just "global warming".

"Global warming" is unlikely to gain much traction when people are literally freezing to death in advanced economies.

comment 3y ago · link · parent

The brand "newman" was a thing when I was a kid.

My mind got blown out the day someone made me notice you could rotate the logo 180 degrees and end up with the same logo.

Wikipedia has the official logo and animation showing it in action:

https://fr.wikipedia.org/wiki/New_Man

comment 3y ago · link · parent

> If I give you an rpm package, that isn't really any better. It can run any script during installation and you'll already be running it as root.

But it's not about you giving an rpm package at will. It's about the distro including packages in its official distribution and many people installing the very exact same package. Instead of people randomly pulling install scripts from the Web which can, for all we know, at every curl, be fetching a different install script.

In addition to that Debian has an ever growing number of packages which are fully reproducible, bit for bit. All these executables, reproducible bit by bit.

When I install a package from Debian I know many people have already both scrutinized it and installed it. It's not a guaranteed nothing shady is going on but what's safer:

- installing a Debian package (moreover reproducible bit for bit) which many people already installed

- curl bash'ing some URL at random

Anyone who says the two offer the same guarantees is smoking something heavy.

It's all too easy to sneak it in a backdoor for, say, once every 100 download when you moreover detect, as in TFA, that curl bash'ing is ongoing. And it's hard to catch. And it's near impossible to reproduce.

When you install from a package that's full reproducible: there's nowhere to run, nowhere to hide, for the backdoor once noticed. It shall eventually be caught.

Here's why it matters (FWIW there are tens of thousands of Debian packages which are fully reproducible):

https://reproducible-builds.org/

Thinking that installing a package "isn't really any better" than curl bash'ing from a URL is, plain simply, wrong.

comment 3y ago · link · parent

Of course... I'm using a japanese Happy Hacking Keyboard Pro JP (HHKB Pro JP). The HHKB is kinda famous for its Topre switches: I'm just using the japanese variant. They're kinda pricey as far as keyboards but the price is okay'ish if you buy them directly in Japan.

Before using a japanese HHKB Pro JP I was using a reqular US QWERTY HHKB Pro 2. But then I figured out a narrower spacebar and more modifiers would suit me best. The big enter key on the HHKB Pro JP may not be for everyone that said.

As for the setup, I don't have a public Github page with my config (I use Git but with bare git repos on my own servers) and it's actually going to depend on how you did configure the DIP switches on the HHKB Pro JP (it's got 6 dip switches IIRC) but it's nothing out of the ordinary.

I'll just throw random infos that may get you started if you go this route...

I'm on Linux so it's just one .xkb file which is mostly a modified QWERTY layout to add Hyper and Super modifiers. I had to mess up a bit with the japanese Henkan and Muhenkan modifiers keycodes IIRC.

As a sidenote I'll say that you probably can do everything from the .xkb file but xkb and xmodmap (to set up modifiers) aren't mutually exclusive.

In the .xbk file a "regular" key like, say, 'x' stays of the type ALPHABETIC but I modified i j k and l to be FOUR_ALPHA and they're then (example for 'i'):

    key <AD08> { type= "FOUR_ALPHA", symbols[Group1]= [ i, I, osfUp, osfUp ] };
where FOUR_ALPHA has "Hyper" in its short modifiers list.

I use Hyper for a lot of shortcuts (I configured Hyper to be the key at the left of the spacebar) but not for ijkl: Hyper+ijkl is used to send arrow keys code, always.

As for Super I use it only for my WM: so I configured one key to be Super in .xkb and then my WM (Awesome WM) only requires one line to be modified to tell it which modifier you want to use for shortcuts.

It's not complicated but it took me some time to set up everything: mostly because I had no idea how the .xkb file format was working and it certainly looks a bit alien.

I versioned my .xkb keymap files in Git and I experimented. I'm still under X so an xev window open to see the event (not sure how that works under Wayland) / keycodes sent, an editor to edit the .xkb file, commit changes as soon as good progress were made:

   xkbcomp mykeymappings.xkb $DISPLAY
To test the new settings. Rinse and repeat.

Once it's set up, it's set up for good.

comment 3y ago · link · parent

That that movie was named using only the letters G, A, T and C is what prompted my wife and I to give four given names to our daughter, starting each with one of these letters (in the order G, A, T and C). Geeky enough I'd say : )

comment 3y ago · link · parent

On many keyboard there's only one Ctrl key and it's at the left and hence it makes Emacs's "C-x" really painful. You're supposed to hit 'x' on a QWERTY keyboard with your ring finger.

One trick, not mentioned in the linked doc, is to move C-x to something else using Emacs' very special "ctl-x-map".

Check one of the mapping using "Ctrl + one finger of the right hand" which is a functionality you don't use much and map that to ctl-x-map.

comment 3y ago · link · parent

Your comment assumes everybody is using a "normal" keyboard.

Since then a great many have come up with actually ergonomic keyboards and they virtually all have something in common: modifiers easily reached with the thumbs while the hands are in their home position.

No crazy "moving the entire left hand to not hit ctrl with the pinky". That's not ergonomic. At all.

If the layout is QWERTY, left hand on asdf, right and on jkl; and the thumbs on modifiers/spacebar.

Hitting modifiers do not require hand movement and do not require stretching the finger underneath your other fingers.

If anyone's serious about this, consider an actual ergonomic keyboard (Ergodox, Keyboardio, Kinesis, etc.).

I picked Japanese keyboards --even though I don't speak japanese-- for several reasons: they're ubiquitous, they can be had with Topre switches (I much prefer Topre than Cherry), the spacebar is tiny so I don't need to distort my thumbs to reach the modifiers, they have lots of modifiers (due to the various input methods japanese has) and, well, the killer...

Laptops with japanese keyboards are a thing.

Laptops with, say, a Keyboardio keyboard: not so much a thing (unless you carry your keyboard and your laptop of course).

I remap the entire keyboard to be basically QWERTY with Hyper and Super in addition to Ctrl/Alt/Meta/Shift. Super is dedicated only* to the window manager and nothing else. Modifier+ijkl sends the actual arrows key code. Works in every single app.

Life is good.

comment 3y ago · link · parent

> Why ECC Memory Is So Important

Except that it's not for many use cases. It's great for servers but for people on their personal and/or work computer, it's simply not that useful.

Seriously: which percentage of developers have ECC on their development machine(s)?

As developers we live in a world of SSH, cryptographic hashes, checksums everywhere, Git repositories (that is a big one), Merkle trees, digital signatures, reproducible builds (which are gaining traction), etc.

Heck, I'm torrenting the latest Debian or Devuan .iso image. My torrent client is using every known trick under the sun to make sure that should anything go wrong, the broken data shall be discarded and re-downloaded. Download is done, I dd the image to some installation medium. I can then verify its checksum matches the official one. A bit flip didn't slip by unnoticed.

All the music I carefully ripped from my audio CDs? They're all cross-checked with an online DB of known bit-perfect rips. There's an accompanying file containing each song's hash and I can verify at anytime that all my files are 100% correct.

But really most of all I live in a world of Git repositories. My entire Emacs config is versioned under Git (I know YMMV but I like it that way). Some people version under Git their entire user dir.

Tell me how my lack of ECC is going to really make life miserable here?

I have nothing against ECC... But if I want to upgrade my AMD 3700X to a 7700X, apparently I cannot get ECC.

And that's totally fine: I certainly won't discard the 7700X because I cannot get ECC for it.

And if anything looks suspicious, running Memtest is the first thing you should do.

I've had bad RAM at times. I'm still there.

1
126127128
163