Better HN
topnewbestaskshowjobs
Log inSign up

charlesetc

141 karma · joined Nov 1, 2015 (11y ago) · 34 submissions

Submissions

1.

LLM Morality: asking LLMs difficult moral questions(llm-morality.deno.dev ↗)

2 points · by charlesetc · 1y ago · discuss

comment 3y ago · link · parent

Yeah auto format solves a lot of the syntax problems. Dangling else for instance is not at all ambiguous when you have automatic indentation.

comment 4y ago · link · parent

Don't they? Isn't that axis just "how much they like the candidate"?

comment 4y ago · link · parent

"How Ranked-Choice Voting elects extremists"

https://psephomancy.medium.com/how-ranked-choice-voting-elec...

This article recommends instead a STAR voting system which is still simple to implement and understand while not electing extremists in some cases. I would be sad to see NYC and others turn to ranked choice without considering all the alternatives.

comment 7y ago · link · parent

https://arc.io/product#how-does-arc's-cdn-work-technically

comment 7y ago · link · parent

Air pollution causes 4.2 million deaths a year.[1]

From the data in this link, we can infer that historically this adds up to 467 times nuclear.

[1] https://www.who.int/gho/phe/outdoor_air_pollution/burden_tex...

comment 7y ago · link · parent

Thinking about this decision just as a performance one disregards the fact that the code is substantially different. It does seems likely that one way is more intuitive / easier to work with than the other, I wouldn't know which though.

comment 7y ago · link · parent

It seems a bit premature to claim high performance without having a story for memory. I'm sure ocaml, swift, and basically all languages that do any type of runtime garbage collection would be significantly faster without it.

comment 9y ago · link · parent

Does npm even allow you to use projects that don't allow you to make changes to their code?

comment 9y ago · link · parent

I used Pony and bindings to opengl to write the (very) start of a graphics engine. http://www.charlesetc.com/stars-game-7.html

It was surprisingly easy to learn - I found the capabilities system rather intuitive compared to other methods for safely managing data races. Also the syntax is really simple and easy to read!

comment 9y ago · link · parent

Code generation is one way to get around generics. Go also stores all the type data at runtime so you can inspect the arguments passed to any function, which gives the same kind of generic behavior in any dynamically typed language.

So you definitely could implement an ORM in go without code generation - it's almost certainly been done.

comment 9y ago · link · parent

There's replication, but I mean that all the data is in one pg instance, whereas there isn't a single mysql instance with all the data.

comment 9y ago · link · parent

This is missing one huge point of the [uber engineer post](https://eng.uber.com/mysql-migration/).

They did not switch from a postgres instance to put all their data in a mysql instance. They switched from a single postgres instance to shard their data across many mysql instances. This an entire reworking of the architecture that is completely ignored in this powerpoint.

comment 9y ago · link · parent

I use konsole which is better than I found gnome-terminal to be and less klunky than I was expecting

comment 9y ago · link · parent

There have been many times when vim starts glitching out or something because of the terminal emulator I'm using. Even well tested ones like X-term and gnome-terminal. I never had that problem using st.

We hack so much into a text interface it's really easy to accumulate bugs.

comment 9y ago · link · parent

I used st for a good year and it worked really well! I've switched recently for features like the ability to change the font size without recompiling, etc. Despite its spartan feature set, st is quite usable.

comment 9y ago · link · parent

> Using Bitcoin for cybercriminal activities is becoming increasingly commonplace, as tracing payments is much harder due to the way the cryptocurrency works

"Cryptocurrency" is a large set of currencies, each of which work differently. Also, Bitcoin is a public log. It's much easier to trace bitcoin than to trace cash.

comment 9y ago · link · parent

You could easily prefix your special environment variable with 'lambdoku_' so you don't have to fear that people could use it..

comment 10y ago · link · parent

Keep in mind this was written 8 years ago and last updated 4 years ago.

comment 10y ago · link · parent

This is so awesome! I now am a lover of islands :D

comment 10y ago · link · parent

I found this super interesting and great 'hacker news' - any idea why it was flagged?

comment 10y ago · link · parent

People might be interested in this one too - got a weird name, and it's still under development, but it seems pretty good http://www.vim.org/

comment 10y ago · link · parent

Spoiler:

There's no difference

comment 10y ago · link · parent

Why do you all rely on oil? Just use batteries...

\s

I think it's important to note that they are not "replacing fossil-fuel electricity generation with lithium-ion batteries".

They are putting fossil-fuel supplied electricity into batteries to use at a later date.

comment 10y ago · link · parent

Purely functional doesn't mean immutable by default - it means immutable, period.

A function called with the same arguments will always have the same result.

comment 10y ago · link · parent

Let's ignore that your operating system is probably written in c.

27.

Git rebase for fame and power(charlesetc.com ↗)

4 points · by charlesetc · 10y ago · 1 comment

12