HNHacker News
TopNewBestAskShowJobs

the-smug-one

841 karma · joined August 10, 2020

Not actually smug, at least not on purpose.
submissionscomments
the-smug-one··on C-Macs – a pure C macOS application
Use try-with-resources instead of try/finally.
the-smug-one··on 'Lavender': The AI machine directing Israel's bombing in Gaza
>When people say you’re not “thinking critically”, they’re saying you’re trying to portray one of the modern conflicts with the lowest civilian deaths (versus combatants) as a crime against humanity while ignoring numerous others — eg, genocides in Niger or Myanmar, and forced expulsions in Armenia/Azerbaijan.

Why is it that this is always mentioned? As if ignorance of one crime against humanity makes us incapable of criticizing the other? And where exactly are the public spokespeople from our governments talking about how any of these genocides are justified as the killers have a "right to defend themselves"? Not to talk about how an attack that killed 4000 people justifies killing 25000 non-combatants.

> They’re not interested in a tit-for-tat retaliation: they’re intending to destroy the political and military structures that made the attack possible. A smaller country can’t cry “that isn’t fair!” when they start a fight and get beaten — this isn’t a scuffle between kids at school.

This is not even comparable to what is occurring when the world is condemning Israel's actions. If Israel was interested in removing the political structures that made Hamas's attack supported by Gaza then they could've stopped the settlement of the west bank, supported the stability of the Palestinian state, and countless of other actions which would have lowered the risk of creating terrorists in Gaza.

the-smug-one··on Optimize CSS with SAT Solving
Is that an example of using this tool?
the-smug-one··on I'm an Old Fart and AI Makes Me Sad
Artists that I know work in the way of exploring and learning about a subject matter and creating art relating to it. When I see this kind of art, and talk to the artists, I get the sense of exploring the subject and learning with them. A lot of art isn't this, it simply exists for much more plain purposes, and that type of art seems to be what AI is able to generate. I feel disgust towards the idea that people will be able to create their own art using AI, as the current state of the art only allows for quite shallow creations. I'm not saying it's wrong, but I am disgusted.
the-smug-one··on Javalin – a simple web framework for Java and Kotlin
Is the main advantage of frameworks then a social thing? You can depend on the future development of the framework as a whole, as opposed to a bunch of smaller libraries, so it doesn't matter if the sum total quality of those smaller libraries is greater than the framework.

Does it also have the advantage of not having to remember to import things? Like, does Spring prevent CSRF attacks etc. out of the box, and it's very difficult to accidentally create a vulnerability using it?

the-smug-one··on Memory leak proof every C program
Why would FFI be an issue?
the-smug-one··on Challenges to the credibility of two recent Netflix documentaries
"Fantastic Fungi" was terrible. It was dazzling visually, but contained almost no actual information. Just a commercial for psychedelic drugs, ridiculous.
the-smug-one··on Axiom – A scientific computation system
Hi Tim,

>There is no point in publishing the work as open source since it is still in the active research phase.

That sounds very interesting to me at least, I'd appreciate being able to take a peek.

the-smug-one··on You don't need analytics on your blog
You don't need tracking period. You don't know who, or even if anyone, reads yor blog.
the-smug-one··on My doomed career as a North Korean novelist
You should read my profile!
the-smug-one··on Progress toward a GCC-based Rust compiler
I don't think what you're describing here is accurate re: GraalVM. GraalVM is Hotspot but with C1/C2 not being used, using a generic compiler interface to call out to Graal instead AFAIK.
the-smug-one··on Tracking Java native memory with JDK flight recorder
Here's some more NMT usage without flight recorder: https://blog.arkey.fr/2020/11/30/off-heap-reconnaissance/
the-smug-one··on My doomed career as a North Korean novelist
Yeah, but he could also just not have said anything, right?
the-smug-one··on Swedish Tesla strike goes international as Norwegian and Danish unions join in
>If union membership is really the way of life in Sweden, is there anything preventing the government from a legislative solution? Just mandate collective agreements?

Yes, the unions and the companies. Neither wants that.

the-smug-one··on Swedish Tesla strike goes international as Norwegian and Danish unions join in
That will lead to extrajudicial action from the workers.
the-smug-one··on It's time for a new old language (2017) [pdf]
Racket has a DSL for describing programming language semantics called "PLT Redex", tutorial here: https://docs.racket-lang.org/redex/tutorial.html

It has its own renderer, so you can take your code and render it for insertion into a paper. It uses Felleisen-style reduction syntax, which is useful because it exposes the current continuation of a program explicitly.

the-smug-one··on Bored Ape conference attendees wake up with eye pain, vision loss
We have the knife in the drawer one in Swedish too. My favourite one is "The wheel is spinning but the hamster is dead" however.
the-smug-one··on Tesla to build 25,000-euro car at German plant
I was making fun because the fact that they have a waiting list doesn't matter at all, it's just an indication that Tesla can't keep up with demand. Anyway, I don't think that Tesla sucks. Even if I did like Elon I would still have made the same joke.
the-smug-one··on Beej's Quick Guide to GDB (2009)
Wow! I just tried it out, and that was like a dream come true. Thank you for linking this.
the-smug-one··on Tesla to build 25,000-euro car at German plant
You missed the part where whenever you under produce you're not going to be able to satisfy demand, making it so that you can have a waiting list :-).
the-smug-one··on Beej's Quick Guide to GDB (2009)
I wish that there was a performant and useful front end to GDB for Linux. There isn't, so I'm stuck using GDB manually. Maybe CLion is good?
the-smug-one··on Implication for C++ [pdf]
You probably did learn De Morgan's laws too, to be fair.
the-smug-one··on Steve's Explanation of the Viterbi Algorithm (2003)
The text for understanding and implementing HMMs is "A Revealing Introduction to Hidden Markov Models" by Mark Stamp, the content is a google away!
the-smug-one··on Would we still create Nebula today?
I don't understand why I should use something like Nebula or Tailscale. I've got a Wireguard setup where all of my users connect into a VPN. What does Nebula give me?
the-smug-one··on Most Americans comfortable with solar panels, turbines in their communities
Wind turbines are pretty noisy, so you might not want it right next to your house. That's a bit like living next to a high way.

Edit: OK, since this topic is fairly controversial I just wanted to say that it's probably not as loud as a highway, but it is noisy!

the-smug-one··on Investigation: 78% of carbon offset projects globally are “likely junk“
What're you going to do about all of the dead dinosaurs in the air that used to be in the ground?
the-smug-one··on JEP 457: Class-File API for Parsing, generating, transforming Java classfiles
Why isn't Lombok just written as a pre-javac pass? javac(lombok(srccode)). Just gotta keep that parser alive and up to date, which open source IDEs also must so they're probably available.
the-smug-one··on Is Math Real?
It's a trade-off between brevity and verbosity, some mathematics do that. Often longer variable names are in ALL-CAPS. Since ab = a*b, it's important to differentiate vars from multiplications.
the-smug-one··on Apache Open Office as an unmaintained project?
It didn't, OpenOffice hasn't been active for many years. Office365 (and its bundling with Teams) is however a challenge for LibreOffice, the actually active development branch.
the-smug-one··on Why do we need modules at all? (2011)
What's insane about monads :-)?
← PreviousPage 3 of 11Next →