HNHacker News
TopNewBestAskShowJobs

xxs

3,976 karma · joined April 3, 2014

submissionscomments
xxs··on How I use LLMs to learn complex topics
Learning programming languages is quite trivial. Many years ago I counted 16 that I had used professionally, now they are more.

It takes way more time to master and be very comfortable with a language due to its ecosystem, though. Some languages are more likely to click with a person, yet underneath they are all the same (minus the functional languages that form their own group), e.g. some performance issues may require looking at the generate assembly code.

xxs··on Oracle bans AI-generated code from OpenJDK
if you have a method "void x(int i)", and change it to "void x(long i)", it will cause NoSuchMethodError if the code is not recompiled, i.e. if it's a dependency on a jar file. Likewise when there were methods in URLConnection that returned (or take) int for content-length, it would not be possible to convert them to long by just changing the existing signatures.

The same applies to having a method "void x(String s)", it cannot be changed to "void x(Object s)" (even though all the code would compile with auto downcast) but both methods have to co-exist being overloaded. There is more to the binary compatibility but I'd leave it here.

The way to do it is keeping the existing public (and protected) methods (&fields), possibly deprecating them, along with introducing new ones. Effectively any removal of anything that has been made accessible, public mostly, is forbidden.

Personally, whenever I had to maintain library code I stuck to the same principle, so folks could grab a new version w/o worrying or doing any changes on their own.

xxs··on Oracle bans AI-generated code from OpenJDK
like the sibling tells, a massive amounts of the enterprice software does runs on java
xxs··on Oracle bans AI-generated code from OpenJDK
>it has left the “move fast and break things

java never had that phase. If anything it had a full binary class (not even source, e.g. long and int are not compatible on binary level) compatibility. Generally you can take an application from '98 and run it nowadays.

It's only recent changes (jigsaw in java9 mostly) that were made them to drop some of that part.

xxs··on Almost no skill required to cook a steak
8minutes, that's just pure waste; even medium rare (which is hardly tolerable) is 56-57C. Also cooking the steak without any salt is travesty (that should not be an optional step)
xxs··on Helsinki Hacker News Meetup
Tallinn - then take ferry
xxs··on Helsinki Hacker News Meetup
sounds about right, people with 64 with just drink the (supposedly) free beer and not talk until much later.
xxs··on ICE Collected Nearly 1M People's DNA Last Year–Including Young Children
One of the downsides of the movie is the lack of exploration of entertainment - outside 6 finger person piano concerts...
xxs··on ICE Collected Nearly 1M People's DNA Last Year–Including Young Children
"several" tends to be mean [5-8] or the like. Outside blood type (which is common), name at least 3 countries that DO record (and retain) DNA samples at birth.
xxs··on Google fixed more Chrome bugs in June than over the past two years, thanks to AI
this is really not reddit
xxs··on The mean means nothing: data visualization to debug a latency problem
mean w/o std dev is just pointless, I tend to reject them altogether.

If I am to record something like queue times (as in latency), I'd have multiple samplings of both time enqueued and entries (or approx entries size), provided the queues have a reasonable size() method (e.g. not O(n) and not blocking). Even having max entries increased with lower overall latency, it'd speak of bursty behaviour.

In that regard - Recording percentiles en masse (production) is rather expensive when there are thousands of metrics. The avg/mean + max require few bytes (sub cacheline) and it can be implemented lock-free.

xxs··on UEFA and its national associations will not participate in FIFA competitions
>Hydration breaks probably won’t stay.

It was already introduced in the local women league...

xxs··on UEFA and its national associations will not participate in FIFA competitions
> proper "feast of football" as we used to say.

besides a significantly more common 4-3-3, I can't think of anything I particularly found entertaining - the waterworks, the extra VARs, the super special offside line. That's no feast. (and I can continue)

xxs··on UEFA and its national associations will not participate in FIFA competitions
An even funnier fact is that players who play for clubs in Europe (UEFA) won't be allowed to represent their countries.
xxs··on UEFA and its national associations will not participate in FIFA competitions
As a pundit - more 'water works', the addition in the last world cup was beyond lame.

>FIFA currently makes 40% of what the NHL makes,

That's entirely irrelevant, if FIFA even makes zero - most of the money is in the local leagues. FIFA is just there for the world cup

xxs··on Worse on Purpose – How Corporate Greed Killed Product Quality
there is no such thing here
xxs··on Worse on Purpose – How Corporate Greed Killed Product Quality
you can say shit here
xxs··on Worse on Purpose – How Corporate Greed Killed Product Quality
>Philips

not a german brand

xxs··on Why malloc always does more than I asked for?
> keep track of that metadata themselves you obviously don’t need to

likely it'd a be perf. hit in most cases. They'd have to copy to the tail end (likely) of the allocated area. Or the start and offset the pointer, they'd need to know the size of the metadata and account for that, including aligning it.Hence, the tail feels 'nicer'

It's possible to manually use mmap and forgo malloc entirely, rolling your own arena manager.

xxs··on I Stopped “Creating Content”
Not directly the answer, the only weird part (albeit not LLM alike attribution) would the use of 'reach out', after the negative attitude towards corpo-speak. "Contact", "call," "talk", "meet", etc. would be a lot better/normal/human words.
xxs··on Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s
Indeed, and it's filled with top-level filler comments unfortunately.
xxs··on Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s
Even setting up camera, lights - etc. goes in the way of doing things. Then someone would have to narrate it, and so on.
xxs··on Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s
Look at the picture at the title - RTL8103EL - which has absolutely nothing to do with anything regarding the text below. Then it quotes HN comments
xxs··on Show HN: IKEA Complexity Index
Well, don't use impact drivers (if that's "the gun", esp. an air tool). Like mentioned earlier, a drill driver with a low clutch setting is totally ok.

>a half-turn before breaking is how tight you want it to be

That feels super random, I would not think it allies to lots of fasteners - e.g. lug nuts, spark plugs, crank shaft bolts, or even deck screws (where another half turn would berry them too deep), or plastic self tapping screws. Perhaps some smaller ones like M4 bolts, or non-counter sunk wood screws?

Learning to use power tools (well any tools) should be considered desirable.

xxs··on What AI did to stackoverflow in a graph
Editing used to be fine, back then like 15-16y ago. Personally I posted mostly everything as community wiki (no reputation gain) as I got the mod-alike reputation anyways.

At some point the (say 2013-2014 or so) the site deteriorated quite massively, though - as folks considered stackoverflow CV worthy material...

xxs··on Show HN: IKEA Complexity Index
While not-precise settings 1-3 usually don't do much and after 4-5 screws you'd know which setting feels right (incl. tightening by hand to climb the scale). Most folks won't have sub 5Nm torque wrenches in general to calibrate or finish, so it'd be wrist tight feeling, I suppose.

>depending on the battery SoC,

The clutch is mechanical, so it should not matter and for brushless motors, the battery charge (voltage) should not matter at low torque, either. Just to be clear - I'd not advise to copy someone else's drill clutch settings.

Worst case if you end up stripping the chipboard - fill with putty of epoxy and wood shavings, wait for 5-6mins, re-drill, so on. It's annoying if it happens but overall it's quite easy to recover from.

xxs··on Show HN: IKEA Complexity Index
> it’s still going to take longer.

I never said otherwise, and the rest of my post tells it could be time consuming. The criticism is to the random time quote based off solely on parts count.

xxs··on Show HN: IKEA Complexity Index
Just for reference IKEA tend NOT to include wall fasteners (or anything alike, e.g. nylon inserts) that alone is a way more involved process (incl. leveling that I mentioned in a top post) than connecting a mdf-board plate (parts) with dowel pins (many parts) and metal screw(s) (even more parts).

Hinges need more time in general as well.

xxs··on Show HN: IKEA Complexity Index
> use an angle grinder.

I do use wood glue on all dowel pins, so most stuff is assembly once only. Unless the furniture provides metal inserts for machine screws, I do not consider it disassembly material. It's likely to exhibit the spontaneous disassembly on its right own otherwise (or squeak soon enough)

xxs··on Show HN: IKEA Complexity Index
Any drill nowadays would have a clutch. Use it, so it limits the torque. It applies for pretty much any kind of work (e.g. including mounting intake manifold on a lawn-mower, but then it's likely to use a torque wrench too)
← PreviousPage 3 of 34Next →