Hacker Newsnew | past | comments | ask | show | jobs | submit | complexworld's commentslogin

could you add some context for why you think it's poor?


Could you explain which antipatterns you're referring to?


Leaning heavily into object orientation, including baking in things like companion objects, object expressions, etc. Encouraging utility classes that tack half-baked functionality onto existing types. Smart casts encouraging overly complex hierarchy.

While operator overloading and infix functions aren't a Java anti-pattern, I also think the language would be improved by their removal.


Even if you sincerely believe that OOP is an anti-pattern, surely it was firmly "baked into the language" in Java already? Kotlin is fundamentally a better Java, not a rebuttal to Java.


This would be a godsend to if it works in a non-clinical setting!

I always wake up after 3-5 hours of sleep, and I usually can't get back to sleep during the night. According to Fitbit sleep monitoring even in those few hours, I don't get much deep sleep. Needless to say I am very fatigued during the day. If it wasn't for sleep medication I would be a complete wreck.


Most of our use is non-clinical (I'm the founder). Our devices are being used in research, but that is both in lab and in home.


Actually I think the vibe coding process does make you think about the requirements. When the LLM writes some code, and you run it, you see what's missing. Maybe this only works well for simple systems, not complex ones.


On my Kobo Libra 2 I never noticed a difference.


Getting the footnotes right is going to be really tricky. Sometimes I couldn't even read the superscript numbering on the original scans. And that was after zooming in to the max.

Reliably identifying the superscript locations should be enough since they are in the same order as the footnotes.

It's a little early for feature requests... but I would love to see an EPUB edition! It shouldn't be too hard once done with the hard work of getting the data structured structured.


Yes. The original idea was to have some LLM place footnotes references in the text, based on the content of the footnotes themselves, but as I say in the blog post, that failed spectacularly.

Now another idea is to manually put placeholders for footnotes references in the text, and then number them automatically. Before that, I manually enter the number of footnotes on each page, for verification. I have already done this for the first two volumes, it's pretty fast. Having the number of footnotes on a page lets:

- check that the number of footnotes is correct

- (and therefore) also check that footnotes numbers are also correct (from 1 to n, in order)

- also check that the number of footnotes references is also correct (should exactly match the number of footnotes)

- and finally, properly number the placeholders.

Manually inputing numbers in the main text would be very difficult and error-prone, but simply putting placeholders and checking them automatically, should be much faster and safer.


My Dad was a university professor in mathematics. He loved his field! But the math department he worked in was taken over by someone who loved playing politics and maintaining power by playing favorites. My Dad refused to kiss the ring, and paid the price for that in his career advancement. He had tenure so it was never as bad as what happened to Marshal Brain.

Now we have n == 2, this could be a pattern. Of course it's a similar situation outside of academia too.


Wouldn't the bug with queen side castling end up with _ _ K R _ _ _ _?


My problem is that I wake up in the middle of the night after 3-4 hours. Vaping one puff of indica cannabis puts me back to sleep until the morning. And even if I don't go back to sleep right away I'm feeling so good that I don't mind.

Apparently it's genetic. My genome has 100% correlation with genetic variants associated with insomnia.


When the battery is full where does the power produced by the panels go?


Solar panels can sit in the sun without producing any power at all just fine. The sun will cause a voltage to develop on the solar panels output terminals, but if that voltage is not enough to cause current to flow, for example, because of battery charge controller is not drawing current, or because they’re not connected to anything, nothing bad happens.


I don't know if OP's inverter supports it (looking at the manual real quick shows that it should), but the one I have will let you set any loads to use the battery when it's fully charged. Then set a point when it'll switch off battery, say 90%, and use the excess solar (after loads) to charge the battery again. So keeping the battery between 90%-100%, while still using most of the solar.

I don't have any loads setup on mine because I don't want to run cables everywhere like that, so my battery just sits fully charged until I need it.


Exactly the same place the power would go if the panels were in sun but the wires weren't connected to anything


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: