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 Learn TLA+
If you're working on problems where TLA+ can help you, then you damn make sure you know your state invariants.
the-smug-one··on Learn TLA+
It's HN, have some fun.
the-smug-one··on Saul Kripke has died
They're named after Kripke for inventing them when he was in highschool. The kind of stuff that makes you feel woefully intellectually inadequate :-).
the-smug-one··on Cppfront, Herb Sutter's proposal for a new C++ syntax
If you've got 10^6 LoC of a product that will be developed and maintained for 10+ more years then you can slowly replace it with this.
the-smug-one··on Excuse me but why are you eating so many frogs
Beef tongue is amazing! Try out tongue tacos.
the-smug-one··on Mikhail Gorbachev has died
It's not like China forced the west to dismantle its industrial base. The west was happy to do it! And now we're living in a globalized world, where the worker has won less than their masters.
the-smug-one··on Native Minecraft servers with GraalVM Native Image
On some micros Graal beats C2, on some others it doesn't. It's not a silver bullet.

GraalVM is regular OpenJDK with the compiler switched out, AFAIK.

the-smug-one··on Mikhail Gorbachev has died
Dang, good move to force a whole country into bankruptcy.
the-smug-one··on Backyard hens’ eggs contain 40 times more lead on average than shop eggs
You know, you can just eat lentils, beans, peas, rice, wheat, fresh vegetables, olive oil, and so on? Like, right now. It's very affordable, and you don't need to shop from Amazon or install an app for it.

Your comment is such a hot take that it could heat up a hot air balloon.

the-smug-one··on Go 1.19 Released
Isn't that what Java's ZGC stands for ;-)?
the-smug-one··on More invested in nuclear fusion in last 12 months than past decade
Five bucks? 1kg of beans in Sweden is like 3 bucks.
the-smug-one··on Eating horsemeat in France
I suspect that it depends on the age of the goat and the amount of fat (if goat is similar to mutton). Older and more fat => more 'distinguished' taste.
the-smug-one··on Eating horsemeat in France
Restaurant Bergamott has horse filet if you're interested.
the-smug-one··on Vala Programming Language
Guile is the (supposed to be) preferred GNU extension language.
the-smug-one··on Introducing PyScript (summary of PyCon keynote)
It's not like those hundreds of bytecode ops aren't slow as molasses too, for similar reasons.
the-smug-one··on The French repairability index – one year after its implementation [pdf]
Poor quality products are typically cheap. Such a tax will hurt poor people, those who most of all need lower priced products. Poor people will need support in buying high quality products.
the-smug-one··on ACM Makes Thousands of Research Articles Freely Available; Opens First 50 Years
In some languages it is datalogy :). For example Swedish: https://sv.wikipedia.org/wiki/Datavetenskap
the-smug-one··on GDPR and the Lost Generation of Innovative Apps
Why isn't the reduction in quantity of apps on the app stores indicative of less shovelware that was only able to bring cash in because of user tracking? Why do we want the kind of innovation which GDPR forbids?
the-smug-one··on Master’s Degree in Computer Science
These were all taught at my uni, along with a course that paired student teams up with companies to develop for them.

It's still not what's most important at uni, imho. You have 5 years at uni, many decades at your job.

the-smug-one··on My experience getting a tech job with no degree or relevant work experience
My uni has an on-prem installation of Github and this is where you upload and collaborate on your solutions. This isn't course specific, this is just what you do.
the-smug-one··on Racket v8.5
Racket is slow which impacts the entire dev cycle, has even less use of ad-hoc polymorphism than CL (very annoying to have to use the monomorphic functions all the time), editor support isn't great (SLIME still contends well here, the speed is an issue here too), and the package story is a bit more difficult to get familiar with. Not as interactive in dev as CL, because safety.

Cool arrows in Dr.Racket though, nice macro system, and so on.

the-smug-one··on How to Quiet Your Mind Chatter (2021)
Sometimes I get stuck in loops of thought about "what I need to do", such as "I need to buy X, pick up Y, return Z". Writing this list down breaks the loop. I think that counts as mind chatter :-).
the-smug-one··on Swedish slow TV: The great moose migration [video]
Sorry for the rude people on here :-).
the-smug-one··on Why LSP?
His point is poorly expressed in that case. Let's look at the quote again.

>Contrast this with Emacs and Vim. They just don’t have proper completion as an editor’s extension point. Rather, they expose low-level cursor and screen manipulation API, and then people implement competing completion frameworks on top of that!

People don't implement competing completion frameworks on top of "low-level cursor and screen manipulation API". There are more high-level APIs included in Emacs, such as completion-at-point. To quote company-mode's website:

>The CAPF back-end provides a bridge to the standard completion-at-point-functions facility, and thus works with any major mode that defines a proper completion function.

To me the author misrepresents what Emacs has built-in and what package writers use.

Technically company-mode isn't third party, it's part of GNU Emacs. It needs to be downloaded, yes, but it's not third party. Emacs needs a package recommendation engine (I know VS Code has this, awesome!).

the-smug-one··on Why LSP?
I want to further bang about on this: This is a plain false statement. Emacs's completion-at-point was (C-h C-f) introduced at 23.2, in May of 2010. company-mode has commits going back to 2009.
the-smug-one··on Go 1.18
> Don't use a pointer - it's bad for performance.

That means you must have Optional[*sync.Mutex]. Then what's the point?

the-smug-one··on Ask HN: Self-hosted open source IP security cameras?
Yeah, any changes to the kernel would obviously also get GPL:d :).
the-smug-one··on Ask HN: Self-hosted open source IP security cameras?
Axis cameras aren't open source, but they're just Linux running systemd and Axis (or other) software. You can ssh into them, write your own apps, etc. They're not particularly locked down. They support ONVIF and VAPIX, which are API:s that VMS's such as Milestone and Genetec target.

> poorly secured IoT devices will get repurposed for.

Don't let it have access to the outside net then?

the-smug-one··on How generics are implemented in Go 1.18
Rust has macros and an expensive type system though, and compilation is getting faster.
the-smug-one··on So you want to design a programming language (2017)
Or just write your own operational semantics and grammar in Racket's Redex :). Lots of ways to Rome.
← PreviousPage 7 of 11Next →