Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,596 karma · joined Dec 4, 2013 (12y ago) · 4,865 submissions

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

comment 2y ago · link · parent

> This is something we solve with 1. Taxation (equal tax treatments for capital gains etc) and 2. Sane social policies (education, health etc)

Ah yup. First we print tens of trillions and go to unsustainable debt levels and then we explain that, now, we need to tax people.

Another solution would have been to maybe not print tens of trillions out of their arse?

comment 2y ago · link · parent

> From 2020-2024, rent prices spiked by a third. How much of that is due to collusion by corporate landlords and a software coordinator?

> And where is the Fed?

Printing shitload of money. Which accounts for the other 75%.

comment 2y ago · link · parent

> I see a lot of comments here that seem to imply there is knowledge that victims were exclusively members of Hezbollah.

Well a great many here also believe that raping and killing 1200 young civilians who were enjoying a music at a festival is an act of "resistance". I don't know about you but to me these civilians weren't Mossad agents.

War is messy: if you don't want to find out, don't fuck around. For example begin by not firing missile on another country.

And I see a lot of people who are fucking around at the moment, including in the EU and the US, thinking there shall never be any reaction.

They can keep fucking around: at some point they'll find out.

comment 2y ago · link · parent

> ... compare the frequency of words to those used in human natural writings and you spot the computer from the human.

But that's a losing endeavor: if you can do that, you can immediately ask your LLM to fix its output so that it passes that test (and many others). It can introduce typos, make small errors on purpose, and anything you can think of to make it look human.

comment 2y ago · link · parent

Oh wow, tyvm: I looked a little bit already and it looks like a treasure trove. Very extensive.

comment 2y ago · link · parent

As someone who used to eat assembly instructions for breakfast back in the days and remembering when a MUL was taking more than 1 cycle, is there any resource you'd recommend to learn about using the highly vectorized/parallelized instruction sets in modern CPUs?

I know about Daniel Lemire / lemire.me

Anybody / anything else you'd recommend?

comment 2y ago · link · parent

OK will do. I'll email you one of these days and we'll go for an afterwork Place d'Armes or Place Guillaume II or at the Kirschberg or something like that!

comment 2y ago · link · parent

> Unlike POST, however, the method is explicitly safe and idempotent, allowing functions like caching and automatic retries to operate.

A shitload of answers to GET requests, although cacheable, are stale though. If you issue a GET for a page which contains stuff like "Number of views: xxx" or "Number of users logged in: yyy" or "Last updated on: yyyy-mm-dd" there goes idempotency.

Some GET requests are actually idempotent ("Give me the value of AAPL at close on 2021-07-21") but many aren't.

Stale data won't break much but there's a world between "it's an idempotent call" and "I'm actually likely to be seeing stale data if I'm using a cached value".

I mean... Enter in you browser "https://example.org", that's a GET. And that's definitely not idempotent for most sites we're all using on a daily basis.

comment 2y ago · link · parent

> But it’s worth taking a step back from the medieval-fantasy cliches that overran later D&D publications, and playing the original, more coherent setting: A swords-and-sorcery world, empty of government, where anyone can pick up a sword, become a hero, and live the American dream.

"... empty of government ... live the American dream"

That is the real fantasy: to believe that the USA is "empty of government".

Or maybe the author considers the american dream is dead, because of too much government?

comment 2y ago · link · parent

Ah gotcha, that's what I missed. Thanks for your explanation. For a regular address, even with the public key, if there are 256 unknown bits it'd be 2^128, which is statistically unlikely to be solvable.

comment 2y ago · link · parent

> ... but had the social clout to pause/rollback the supposedly decentralised/immutable Blockchain

Vitalik (and all DAO ETH hodlers) luckboxed in that the ETHs locked in the DAO, although "stolen", couldn't be withdrawn by the attacker before a few weeks.

There has been zero pause and zero rollback. Most people don't understand that: by chance the stolen funds were inaccessible to the attacker for a few weeks.

What Vitalik did is he forked (soft fork) the ETH blockchain to modify the rules. That soft fork happened before the cooldown period expired, so the attacker never got to access his funds.

Some members of the community said "adding new rules is against the spirit of decentralization, so we keep using the old chain". The old chain was named "Ethereum classic" while the forked chain kept the name "Ethereum".

But there's been no rollback.

comment 2y ago · link · parent

> When you post a transaction, the public key is in the transaction (inside the field "sigscript")

Is that true for every single Bitcoin transaction?

> With the public key known you only need 2^(66/2) checks (instead of 2^66), which can be done really fast.

Then how comes not all Bitcoin transactions are front-ran like that and Bitcoin is not worth zero already? 2^33 is indeed nothing: 8 billion (so I understand this can be easily cracked).

comment 2y ago · link · parent

> DoJ investigation found.. [banking] business had been used to launder more than $650m between 2016 and 2021 from US fentanyl sales for Chinese crime groups and drug traffickers.

According to the official CIA "world factbook" or whatever that is called: an estimated 3% to 5% of the world's fucking entire GDP is linked to criminal activities.

Blockchains are cool in that they allow to follow the laundering (so it allows for nice blog entries with good looking graphs, which I do appreciate), as opposed to traditional banks where it's all opaque.

But the amount of money laundered using cryptocurrencies is a drop in the bucket compared to size of criminal activities ongoing in the world (btw criminal activities predates blockchain by centuries or millenia).

And don't get me started on the missing billions when "aid" is sent to this and that country. Be it Ukraine or Haiti or whatever: there are corrupt officials and individuals at every single step of the ladder.

My favorite is the US loading a 747 with 12 billions in bills of $100 USD to "help the reconstruction of Iraq" and officially 9 billions of those 12 billions have been "lost".

Yup. Lost. That's official stuff.

So the $200m of the Lazarus group, compared to $9 billion in $100 USD bills: cry me a river.

comment 2y ago · link · parent

Added myself for the Grand Duchy of Luxembourg / Luxembourg (City) (lu-Luxembourg as this meet.hn encodes that country-city).

Motivated to meet dmichulke, pvtmert and uselpa... And the others who may join.

comment 2y ago · link · parent

Hungary is trying to raise the total fertility rate by... Removing personal income tax, for life, for any woman who had four or more children. It's too early to know if it'll work or not but Hungary is not "Japan bad" or "Greece bad" from the fertility standpoint.

But it's not just economical: the west worked very hard to destroy the notion of the family and worked even harder to convince women they didn't need neither any men nor any kid, while at the same time creating shitload of inflation and raising taxes like mad. Which woman wants a kid in a world where an heterosexual man is considered evil incarnate and where, anyway, there's not enough money to properly raise kids?

I'm not even starting on what is actually taught to kids these days in public schools in the west: there are parents that actually need to opt-out their fifth-graders (aka 9 to 10 years old kid) from classes teaching them to masturbate at home while making sure their parents aren't aware of it (but of course they can discuss that with the teachers)... No, I'm not making this shit up.

You want kids in today's world? Who's living in, say, the UK atm and thinking "What a great environment to raise a kid!". Who's living in, say, Springfield Ohio and actually thinking about having kids?

It's much more than just an economical failure: the west is crashing.

comment 2y ago · link · parent

It's a classic and Steve Yegge hasn't been nice to Haskell with that one. As a Java programmer I used to love an even older blog making fun of Java and its ecosystem called, IIRC, "The bile blog". It was trashy, mean, using lots of swear words and it was really good.

comment 2y ago · link · parent

> With Bitcoin I feel like it’s different, since the hashing algorithm would only ever change during a fork. This is rare in that it only ever happens every few years.

Wait what!? Did the Bitcoin hashing algorithm ever change?

comment 2y ago · link · parent

In Belgium, before my C128, I had an Atari 600 XL. Very good looking 8-bit Atari machine. And some Dragon 32 were to be found in Belgium too.

I don't think the Atari 600 XL and 800 XL somehow made it to France, Belgium, etc. but not to the UK.

comment 2y ago · link · parent

> I'm surprised some of the C64s still work.

The C64 PSU are notoriously flimsy but the C128 PSU is known to be exceptionally good (and not to be mistaken for an Amiga 500 PSU: physically they look the same but the pinouts are different and shall fry your machine!).

My C128 (the one I had back when I was a kid) still worked last time I tried it: during the Covid 2020 lockdown.

Not only it still worked, with the sound and everything, about 2/3rd of my 5"1/4 floppy disks were still working too (I know that that won't last though).

Obviously the disk drive was still working (a 1570 in my case, a weird hybrid between a 1541 and a 1571).

comment 2y ago · link · parent

> Cruise ships have a huge ecological impact everywhere they go.

The sheer size of these things is hard to comprehend. I'm on vacation at the fancy french riviera and the billionaire's superyachts, when on a bay next to a cruise ship, look like tiny miniature toys. It's just wild. The cruise ships are not just three to five times longer, they're also, way, way, way taller than the superyachts.

You see a cruise ships and it screams "I'm here to destroy the environment".

My wife wanted to try a vacation on a cruise ship but to me it's a big no-no.

comment 2y ago · link · parent

That's "Modern Educayshun", sunshine:

https://youtu.be/iKcWu0tsiZM

comment 2y ago · link · parent

I loved that (encoding stuff in webp) but my takeaway from the figures in the article is this: brotli is so good I'll host from somewhere where I can serve brotli (when and if the client supports brotli ofc).

comment 2y ago · link · parent

> Do FireFox, Chrome and Safari still use unencrypted channels for DNS queries?

Firefox for sure has a "corporate" setting which guarantees that DNS queries are unencrypted, using port 53 (virtually always UDP although technically I take it TCP over port 53 is possible but a firewall only ever allowing UDP over port 53 for a browser works flawlessly).

AFAIK Chrome/Chromium also has such a setting and making sure that setting is on bypasses DoH.

I force all my browsers / wife / kid's browser to my own DNS resolver over UDP port 53 (my own DNS resolver is on my LAN but it could be on a server if I wanted to).

That DNS resolver can then, if you want, only use DoH.

To me it's the best of both worlds: "corporate" DNS setting to force UDP port 53 and then DoH from your own DNS resolver.

The benefit compared to directly using DoH from your browser is that you get to resolve to 0.0.0.0 or NX_DOMAIN a shitload of ads/telemetry/malware/porn domains.

You can also, from all your machines (but not from your DNS resolver), blocklist all the known DoH servers IPs.

comment 2y ago · link · parent

A huge shitload of the Internet is the Web.

The reason I force DNS over UDP to my own DNS resolver is not so that chinese-internet-of-shitty-insecure-device (which I don't own) cannot phone home: I do it so that I'm in control of what the browsers can access over HTTPS (my browsers are all HTTPS-only).

> or not software written by someone else chooses to use the OS networking stack or even respect your desires when it comes to name resolution

Then meet firewalls. The users accounts running browsers on my setup can access HTTPS over port 443 and query UDP to my local DNS resolver. A webapp (i.e. a software written by someone else) is not bypassing that "networking stack" that easily.

Regarding name resolution: except some very rare cases where https shall work directly with IP addresses, a browser using https only will only work for domains that have valid certificates. Which is why blocking hundreds of thousands --or millions-- of domains at the DNS level is so effective.

And if there are known fixed https://IP_address addresses with valid certificate that are nefarious, they're trivial to block with a firewall anyway.

I'm in control of my LAN, my router, and my machines and webapps written by others either respect HTTPS or get the middle finger from my firewall(s). Not https over port 443? No network for you.

Reading all your nitpicking posts you make it sound like firewalls and local DNS intercepting and blocking DNS requests aren't effective. But in practice it is hugely effective.

comment 2y ago · link · parent

> As a network guy ...

Then transparently redirect the DNS request from all your machines at home to your own DNS resolver (so that you're in control of what gets resolved and what doesn't, like malware, phishing sites, porn so that kids don't get to see that, etc.) and have your own DNS resolver use DoH.

But asking for browsers to "make DoH ubiquitous" (they would force DoH and DoH only) is not a good thing. It also probably would clash with corporate policies, so it'd make the browser picking that path unusable in corporate settings (leaving the corporate market to competitor browsers).

comment 2y ago · link · parent

> The one that redraws any image you might find offensive, rewords advertisements, and rephrases comments to be positive?

You're kidding but I've already toyed with using AI models to analyze browsers' screenshots and determining if it's likely phishing or not and it works very well.

comment 2y ago · link · parent

> It sounds like the solution they adopted was to instantiate a brand new classloader each time a dynamic class is evaluated ...

I was confused too (and I may still be) but that's now how I understood their solution.

Their solution, IIUC from reading TFA, is that they simply didn't use eval at all anymore. So the whole "eval loads a new classloader" thinggy (so that it can be GC'ed later on) is totally moot.

comment 2y ago · link · parent

Both Silicon Valley and The IT Crowd (the british version) are amazing. Although not comedy I also strongly recommend Halt and Catch Fire.

comment 2y ago · link · parent

Serious question: does the Meta LLama ToS / EULA even allow fine-tuned models based on Llama to be used for commercial purposes without making the weights available?
1
808182
163