Better HN
topnewbestaskshowjobs
Log inSign up

AlexAndScripts

834 karma · joined Mar 6, 2021 (5y ago) · 242 submissions

?
Submissions

comment 2y ago · link · parent

I'm curious, what is the stylistic difference between Unix and Windows c++? I don't know it.

comment 2y ago · link · parent

I presume you won't say, but now I'm wondering about who has similar intelligence capabilities to governments...

comment 2y ago · link · parent

Thanks!

comment 2y ago · link · parent

Unfortunately I can't access descriptions without another API call.

Thanks for pointing out the floats issue. It'll probably be OK because I round to the nearest integer when displaying and only use the extra precision for sorting, but I might round to 2dp on the server side to avoid wasting bandwidth on all those zeroes - I presume floating point imprecision compresses poorly.

comment 2y ago · link · parent

Thank you! I appreciate it.

I submitted it a few hours ago to two upvotes - I think it might be because I didn't include the link directly, and apparently that downranks it in the algorithm. I've emailed dang to see if it's OK to repost it.

comment 2y ago · link · parent

I wish I could say it's some lovely architecture, but it's just some glued together python scripts that get the data from the ebay API, categorise the GPUs (I initially tried local LLMs, but hard coded rules work far better), then generate a static site using jinja2 templating. My frontend "framework" is simple vanilla HTML, CSS, and JS.

I suppose I'm living up to the username! I do know how to write decent programs and in other languages, but I'm just so much faster when bodging.

I'm thinking of making similar website for more things, in which case I'd clean up the architecture a bit, but my exams are in a few months and this hasn't been particularly successful so we'll see. I probably shouldn't be spending my weekends programming right now :)

comment 2y ago · link · parent

Mine does that - https://gpu-prices.com . I managed to get beaten to the Show HN by a few hours :)

38.

Show HN: GPU Prices on eBay

4 points · by AlexAndScripts · 2y ago · discuss

39.

Avoiding fusion plasma tearing instability with deep reinforcement learning(nature.com ↗)

3 points · by AlexAndScripts · 2y ago · discuss

comment 2y ago · link · parent

Thank you. Beyond the brilliant photos, the archive itself is fascinating.

comment 2y ago · link · parent

Thank you! There are some really excellent images there.

comment 2y ago · link · parent

That may be yours (and mine), but it wasn't his.

comment 2y ago · link · parent

If you think that's bad, try being 18 :) this field may not exist (at least in its present form) by the time I'm out of uni (I'm planning to hedge my bets by studying physics), and it seems the world is getting less stable by the minute. There seems to be no sense of urgency or even medium-term thinking in stopping Putin, and Article 5 appears to be becoming less sacrosanct by the minute. Society is increasingly divided, with absolutely no attempt to find common ground (particularly evident in my demographic) and the majority of my generation having a miniscule (and shrinking) attention span through their direct stream of Chinese propaganda. And, of course, the climate-shaped elephant in the room.

I'm just trying to not let it get in the way of appreciating the world. I'm planning to travel to mainland Europe sometime next year (gap year). SpaceX has reignited spaceflight, and there's so much cool stuff going on in that space. Science marches on, with a steady stream of interesting discoveries.

And programming is great - for now. It feels slightly strange spending a week writing a project that may be finished with a single prompt in a few year's time, but it's enjoyable.

Maybe I'm overreacting? I've grown up in a pretty calm period, with the west in a clearly dominant position. Maybe this is, paradoxically, a return to normality?

comment 2y ago · link · parent

It's infuriating finding an excellent wallpaper, only to find that it's 900 pixels wide or "4k" with so much compression it looks worse than uncompressed 720p. That and the grotesque photoshops that fill the results when looking for space wallpapers.

On the plus side, Tineye can be quite helpful for finding things in their original size.

And I only use 1080p!

comment 2y ago · link · parent

I'm disappointed that nobody had made a mosquito CIWS yet. Has anyone tried making something based on a grid of speakers and constructive interference?

comment 2y ago · link · parent

Would that be the original British Imperial SOP or the closely-related but not-quite-the-same American SOP?

comment 2y ago · link · parent

I suppose you would also have to worry about surviving the trip - every atom in the interstellar medium would damage your ship, likely penetrating the entire way through, and electromagnetic repulsion would only work with charged particles.

comment 2y ago · link · parent

I had no idea you could achieve relevant amounts of time dilation so "easily" with relatively small (1m/s) of constant thrust - such that interstellar travel becomes somewhat viable provided you can continuously accelerate for the entire trip. Googling it, it would take approximately three years of observed time for a traveller to get to alpha centauri at 1g.

Could any somewhat-plausible technologies (fusion etc) get us to that point? I don't know how to do relatavistic maths, but it seems that directly converting mass to energy and ignoring relatavistic effects requires 50 000kg to accelerate 100 000 kg (with a constant relationship, as the C^2 cancels out) to the speed of light.

49.

Did astrophysicists mistake a statistical error for a new law of nature? [video](youtube.com ↗)

1 points · by AlexAndScripts · 2y ago · discuss

comment 2y ago · link · parent

Remove any grandeur? On the contrary, it would be the beginning of a new era of appreciating its grandeur.

comment 2y ago · link · parent

Thanks for elaborating, that sounds pretty fun.

comment 2y ago · link · parent

Haha :) I was referring to Starliner's window falling off during transport. I misremembered it as a door falling off. And yeah my name is pretty terrible, I've always been bad at picking pseudonyms.

comment 2y ago · link · parent

With an inversed polarity!

comment 2y ago · link · parent

They also build a lot of fossil fuel plants. They just have immense and growing energy needs.

comment 2y ago · link · parent

npm is easy to use? In my experience npm and the ecosystem that surrounds it are the only package managers I have ever used that consistently don't work, and in terms of design/ease of use in the theoretical scenario of it working properly it's marginally better than pip and significantly worse than cargo and hex.

56.

Gravitational wave detector in space "LISA" will hunt for ripples in spacetime(space.com ↗)

2 points · by AlexAndScripts · 2y ago · discuss

comment 2y ago · link · parent

Thanks for the offer. I unfortunately don't have a mac but I appreciate it :)

comment 2y ago · link · parent

I've never really pair programmed - I've worked on joint projects, of course, but collaboration occurs over discord/github. I'm intrigued - what does this actually consist of? Does one person write one function and another write the next while you chat about what needs to be done?

comment 2y ago · link · parent

That is pretty cool, I didn't know about that. I could see it being useful in some niche circumstances.

comment 2y ago · link · parent

Or keep its doors attached.
12345
9