Readit News logoReadit News
dmkolobov commented on Airbnb allowed rampant price gouging following L.A. fires, city attorney alleges   latimes.com/california/st... · Posted by u/miguelazo
legitster · a month ago
Host here. Almost nobody sets prices manually. You either use Airbnb's pricing algorithm, or one from a third party. Either way it's set automatically based on local occupancy rates/hotel prices/etc.

Which is an argument that this is not truly gouging - there's just a demand surge and a supply crunch and the market responds the same way as if it was a business conference in town.

Another thing worth pointing out is that the market of available Airbnbs clears out from the cheaper units first. So it may look like prices are shooting up, but really it's just that all the normal priced ones are gone.

dmkolobov · a month ago
This reminds me of the time my middle-school history teacher decided to bring in one of the student’s financial advisor parents to defend price-gouging on gas during Hurricane Katrina evacuation and subsequent exodus.

It was an unconvincing argument then, and is an unconvincing argument now.

dmkolobov commented on Caching is an abstraction, not an optimization   buttondown.com/jaffray/ar... · Posted by u/samuel246
Xss3 · 2 months ago
I try to name things descriptively in simple terms and often end up with NamesAboutThisLong, once they get too long i know the thing is doing too much and some refactoring is needed for readability.

I also avoid letting the reader make assumptions. HasPlayerJumpedRecently is bad. What does recently mean? HasPlayerJumpedInLastTenMs is better, even if it's a bit long...Which highlights that it should probably be refactored into a more flexible value; MsSincePlayerLastJumped.

If you arent assuming a time var wth Ms is milliseconds you aren't doing games dev so that one slides with me.

dmkolobov · 2 months ago
Wow cool, you just summed up something I’ve found myself doing subconsciously in the past few years. Thanks!

I use to be quite fond of short identifiers, especially ones the make the signs “line up”… until I worked with code long enough that I forgot what I did and had to read it again.

dmkolobov commented on Wind Knitting Factory   merelkarhof.nl/work/wind-... · Posted by u/bschne
dmkolobov · 2 months ago
Beautiful work.

As an off-topic observation, whenever I see something like the phrase “operates between the public and the private space” I immediately think: this person definitely went to art school :P

dmkolobov commented on ICEBlock, an app for anonymously reporting ICE sightings, goes viral   techcrunch.com/2025/07/01... · Posted by u/exiguus
dmkolobov · 2 months ago
Yeah no. This happens in my city and to my friends. You're making a lot of assumptions about people's experiences here.
dmkolobov commented on ICEBlock, an app for anonymously reporting ICE sightings, goes viral   techcrunch.com/2025/07/01... · Posted by u/exiguus
datpuz · 2 months ago
Consider yourself lucky that you've never had to call the cops as a victim. People forget that cops also save lives.
dmkolobov · 2 months ago
Consider yourself lucky that you've never called the cops as a victim and then been further victimized by the police.
dmkolobov commented on Weird Expressions in Rust   wakunguma.com/blog/rust-w... · Posted by u/lukastyrychtr
GrantMoyer · 2 months ago
Haskell has `bottom`[1] (see also [2]), which acts like Rust's `return` from a type checking perspective.

I wouldn't call using a uninhabited type for the type of a return expression theoretically inelegant. On the contrary, I find it quite pleasing.

[1]: https://wiki.haskell.org/Bottom

[2]: https://en.wikipedia.org/wiki/Bottom_type

dmkolobov · 2 months ago
On the more mainstream side of things, Typescript also has a bottom type called `never` which is used to type unreachable/exceptional code.
dmkolobov commented on Web Embeddable Common Lisp   turtleware.eu/static/past... · Posted by u/todsacerdoti
bevr1337 · 2 months ago
Why was LISP not one of the first languages able to compile to WASM? I've been curious ever since the awesome WASM project started tracking different projects. They use emojis for progress and LISP has been a hatching egg.
dmkolobov · 2 months ago
If I had to guess:

1. lack of native GC, you had to roll your own by providing a runtime.

2. lack of tail-call elimination in V1 of the spec. This essentially forces you to trampoline everything.

dmkolobov commented on Type Inference Zoo   zoo.cuichen.cc/... · Posted by u/mpweiher
dmkolobov · 2 months ago
It is crazy how much work comes out of Bruno Oliveira’s research groups.

Another cool online thing that exists is CP, a language with disjoint intersection and union types:

https://github.com/yzyzsun/CP-next

dmkolobov commented on Now might be the best time to learn software development   substack.com/home/post/p-... · Posted by u/nathanfig
9rx · 2 months ago
> Is that really because of the English-esque syntax

Well, what we had before SQL[1] was QUEL, which is effectively the same as Alpha[2], except in "English". Given the previous assertion about what came before SQL, clearly not. I expect SQL garnered favour because it is tablational instead of relational, which is the quality that makes it easier to understand for those not heavy in the math.

[1] Originally known as SEQUEL, a fun word play on it claiming to be the QUEL successor.

[2] The godfather language created by Codd himself.

dmkolobov · 2 months ago
Do you have any advice for understanding the difference between "relational" and "tablational"? I remember hearing something about how SQL is not really relational from my college professor, but we never really explored that statement.
dmkolobov commented on OxCaml - a set of extensions to the OCaml programming language.   oxcaml.org/... · Posted by u/lairv
jitl · 2 months ago
Compared to what, running a garbage collector?
dmkolobov · 2 months ago
Probably? Locality becomes fairly important at scale. That’s why there’s a strong preference for array-based data structures in high-performance code.

If I was them I’d be using OCaml to build up functional “kernels” which could be run in a way that requires zero allocation. Then you dispatch requests to these kernels and let the fast modern generational GC clean up the minor cost of dispatching: most of the work happens in the zero-allocation kernels.

u/dmkolobov

KarmaCake day402October 13, 2013View Original