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

Looks like it is already available on VSCode Copilot. Just tried a prompt that was not returning anything good on Sonnet 4.5. (Did not spend much time though, but the prompth was already there on the chat screen so I switched the model and sent it again)

Gemini 3 worked much better and I actually committed the changes that it created. I don't mean its revolutionary or anything but it provided a nice summary of my request and created a decent simple solution. Sonnet had created a bunch of overarching changes that I would not even bother reviewing. Seems nice. Will probably use it for 2 weeks until someone else releases a 1.0001x better model.


You were probably stuck at some local model minima avoidable by simply changing the model to something else.

Completely off topic;

So I just took a look at DJ’s website and he has a college transcript there. Something looked interesting.

Apparently he passed a marksmanship PE course at the first year. Is that a thing in US? I don’t know, maybe its common and I have no idea. I’d love to have a marksmanship course while studying computer science though.


US colleges have a very open curriculum, where you have wide leeway in what classes you actually take, especially in the early years of study. If you're coming from more European-style universities, this is vastly different to the relatively rigid course set you'd take (with a few electives here and there).


I wouldn't be surprised if it's a pretty normal thing in a few countries or regions in the world. Marksmanship and archery are also olympic sports.

Yeah, in Russia even thought everything is decided for you once you've selected your major, PE classes still for you to choose. Competition to get in was crazy too, none of that "first come, first served" - swimming only accepted top N students, table tennis held a tournament style competition (I went there with two friends and I had to play against both of them).

US colleges still have far more options, though.


It would be an easy “A” for a lot of people in the US!

My college required its graduates to pass a minimal swimming test. Just enough swimming ability to give a potential rescuer some extra time to effect the rescue, rather than have us go straight to the bottom of the sea. We all took a test in the first week or so. Those who failed had to take a course and retake the test.

I needed one PE credit to get a degree from my community college. My school didn't offer marksmanship, but I would imagine it would fit into PE, archery certainly would and there's synergy. I took Table Tennis to graduate. I don't think my engineering school where I got my BS required Physical Education though.

It's definitely not common. My US university required 2 physical education classes, but only if you were under 30 and hadn't served in the military. They may have offered marksmanship, but I just took running and soccer (aka football). The classes were graded pass-fail and didn't even count for academic credit.

US colleges last one year longer, and the first year is more academically similar to the last year of high school in Europe.

My high school had some marksmanship trophy's in their case dating back to the 70s. Responsible gun ownership was a real thing when a sizable portion of the male population were veterans.

We have myriad available "electives" that contribute towards our degrees. I have college credit for "bowling and billiards" and "canoeing and kayaking".

I took an 8-week, 1-credit badminton course to fulfill my PE requirements. I wouldn't be surprised to find a marksmanship course.


I share the same name with a local TV star in my country. Even that is a PITA. Can’t imagine being named Mark Zuckerberg or Michael Jackson or anything like that.

At some point there were teenager girls calling me (no idea how they got the phone number). I started acting like they called the right person and there would be happy screams on the other hand. I guess the high point was that. I decided that might not be a good idea though. Would definitely continue if my “fans” were middle aged men.


Michael Jackson is a fairly common name though, I went to school with one. Also with a George Washington, he had a harder time...

Michael (A.) Jackson is the inventor of representing programs in this diagram format: https://en.wikipedia.org/wiki/Jackson_structured_programming

There's also https://en.wikipedia.org/wiki/Michael_Jackson_(writer) , who was one of the most famous experts on beer and whisky.

I seem to recall when he was on TV he leaned into the joke ("not that Michael Jackson"). Of course that was long before the days random people could send abuse on Twitter.

It used to be that whenever I told people about his work, they'd ask if that was the beer guy.

.net has a polymorphic serializer where the output json contains a $type field for deserializer to choose the concrete type.

It needs to be the very first key in the object. I’ve been bitten by this because postgresql’s jsonb also does not preserve the key ordering.

I believe the latest .net release addresses this but key ordering does matter sometimes.


When order is important it can be maintained by an external layer with, e.g. a an encoding into a list of pairs.


Most alternatives being talked about are working on query strings (like `$.phoneNumbers[:1].type`) which is fine but can not be easily modeled / modified by code.

Things like https://jsonlogic.com/ works better if you wish to expose a rest api with a defined query schema or something like that. Instead of accepting a query `string`. This seems better as in you have a string format and a concrete JSON format. Also APIs to convert between them.

Also, if you are building a filter interface, having a structured representation helps:

https://react-querybuilder.js.org/demo?outputMode=export&exp...


JSON logic is nice, but for example, the Python bindings were last updated 8 years ago


I use httpie (not httpie actually, https://github.com/ducaale/xh but it has the exact same ux). For the life of me, I can't remember curl flags for some reason. Even fucking -X POST... Sending JSON is pain too.

For quick and easy http requests, httpie has been fantastic.


xh is mandatory Rust rewrite of httpie :)


Since this is old, I assume someone found these photos and then manually selected the pointer location. Maybe used openCV or something like that.. But I'd most likely go with manual.

There are 700+ images defined in https://pointerpointer.com/new-positions.json and the script finds the closest match to the current mouse pointer.


Yeah probably. It likely made it significantly easier given that the images are always super zoomed in, so a single finger pointing covers roughly 6-8 mouse pointer locations (I'm kind of eye-balling it here).


The images are also shifted to match the mouse pointer exactly, easier to notice near the edges.


710. Did a binary search on the URLs. Didn't look at the JS, whoops.


You often don't even have to read any JS to find these things. Check the network tab, maybe filter by application/json.


JS as a synecdoche for JS and everything it requests. I may be the only person who says that. I may be asking you to read my mind. Unfair. Ah well.


This seems like a great program!

Small anectode;

My wife runs a cafe in Ankara, Turkey. A week after opening a random cat walked in and claimed one of the chairs.

We started feeding him. Then another walked in... We left a large automated feeder outside and started spaying / neutering, vaccinating, deworming them. I think we neutered close to 20-30 cats. A couple needed medical intervention (broken limbs, infections etc). And 2 I had to put down because they were too far gone. This effort alone put the neighborhood kitten population in control.

The place was aimed at health conscious / vegan people so the theme fit with cats hanging around.

It is really emotionally and financially draining to do these things. I've been fortunate enough to fund everything myself but I assume it is hard when scale grows larger and there is not enough help.


There is an excellent documentary about cats in Istanbul: Kedi https://en.wikipedia.org/wiki/Kedi_(2016_film). A full version of the movie can be found on YouTube premium.


A highlight of my time in Turkey was the cats - thank you for your efforts! Antalya had a lot of cat hotels in the park and most looked very healthy.


Classic Turkey.


Thank you for your efforts!


[flagged]


Brand new account only to start off like this. Sigh.


They are all over this thread with hot takes.


They have a cloud offering. Hourly billing instances with basic management features. They also have an S3 compatible storage service as part of it and a load balancer.

I mean it is not really "cloud" compared to larger ones, just a toy but they are building things now.


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

Search: