Better HN
topnewbestaskshowjobs
Log inSign up

sqrt_1

205 karma · joined Jan 10, 2022 (4y ago) · 39 submissions

Submissions

comment 2mo ago · link · parent

I thought that it was videos of the replays on the site. Was very impressed that it was a replay playing that you can scroll around in and select units.

comment 5mo ago · link · parent

There was this FPS demo recently https://playcanv.as/p/qxGSuzYq/

People have also converted some small sections of Unreal 5 demos into splats https://superspl.at/scene/692c4f91

Or perhaps use a real world scan - it was suggested this one would make an ideal setting for zombies https://superspl.at/scene/6359774f

comment 10mo ago · link · parent

Current government has explicitly said that they will not lower hose prices:

"We're not trying to bring down house prices," Housing Minister Clare O'Neil declared on ABC's youth radio station triple j.

"That may be the view of young people, [but] it's not the view of our government."

https://www.abc.net.au/news/2024-12-14/housing-minister-says...

comment 10mo ago · link · parent

John Carmack likes how Grok will tell him he is wrong.

"I appreciate how Grok doesn’t sugar coat corrections" https://x.com/ID_AA_Carmack/status/1985784337816555744

comment 1y ago · link · parent

It really annoys me when fiction is based on real events, takes a lot of liberty with the source material that it enters into the public consciousness.

The classic case is the "The Life and Voyages of Christopher Columbus" where it was claimed he was aiming to prove the Earth was not flat. My personal peeve is movies like "The Imitation Game".

comment 1y ago · link · parent

I think it is mostly just a problem with Victoria - and they are are hardly conservative. Hospitals and ambulance service is a state issue and other states fair much better.

comment 1y ago · link · parent

Windows built-in snipping tool (shortcut Win + Shift + S) also has a text actions button to extract text.

comment 1y ago · link · parent

I think Japan did this last year https://japandaily.jp/japans-government-initiatives-to-boost...

comment 1y ago · link · parent

Looking at your link, it seems to be US only stats?

Best selling in 2024 world wide was Model Y even including trucks? https://www.visualcapitalist.com/ranked-the-worlds-best-sell...

comment 1y ago · link · parent

This is well outside my expertise, but some discussion happened at the time https://www.reddit.com/r/programming/comments/56xxmb/the_str...

Some people suggest that maybe Facebook runs with MAP_UNINITIALIZED

comment 1y ago · link · parent

I don't believe they are allocating 128 bytes, or accessing out of bounds memory.

He explicitly states 128byte filename allocates 129 bytes. https://www.youtube.com/watch?v=kPR8h4-qZdk&t=1417s

comment 1y ago · link · parent

It was from C++con 2016 - Facebook take on small strings https://www.youtube.com/watch?v=kPR8h4-qZdk&t=1343s I believe it is about a page that was conditionally returned to the kernel.

comment 1y ago · link · parent

Related to unspecified vs undefined. I recall some C code was trying to be tricky and read from just allocated memory. Something like:

int* ptr = malloc(size); if(ptr[offset] == 0) { }

The code was assuming that the value in an allocated buffer did not change.

However, it was pointed out in review that it could change with these steps:

1) The malloc allocates from a new memory page. This page is often not mapped to a physical page until written to.

2) The reads just return the default (often 0 value) as the page is not mapped.

3) Another allocation is made that is written to the same page. This maps the page to physical memory which then changes the value of the original allocation.

comment 1y ago · link · parent

I would settle for something like - "any network functionality in consumer devices must be open sourced and user modifiable"

It is probably too high a bar for most manufacturers, so they will not likely include such functionality.

comment 1y ago · link · parent

AoE2 is coming out on PS5 this year.

comment 1y ago · link · parent

Didn't Tesla's top selling car (Model Y) get a refresh last month? Potentially a lot of buyers waiting to get the new model.

comment 1y ago · link · parent

There is a counter at https://www.usdebtclock.org/

comment 2y ago · link · parent

Higher levels of bisphenol A (BPA), a plastic commonly used in food packaging, were detected in urine samples taken from women pregnant with boys later found to have autism. Florey researchers identified the biological molecular mechanism underlying this association.

19.

Association between prenatal exposure to plastics and autism in boys(florey.edu.au ↗)

2 points · by sqrt_1 · 2y ago · 1 comment

comment 2y ago · link · parent

And the other reason for dlls for common system libraries, security. If a security bug is found in a dll that is shared amongst a lot of programs, that can be updated without having to recompile all the programs.

comment 2y ago · link · parent

If you are thinking about the C runtime on Windows, you can statically link those dlls into your program via compile time options.

There are valid reasons for dlls however. The main one being symbol name collision.

For example, you can use a dll that links to version 1 of a library, while using version 2 of the library yourself without having any name collisions.

Many years ago when I did Linux development this was a main gripe of using .so files - imported names could clash with the same global names in your program and you get random runtime behaviour.

comment 2y ago · link · parent

I don't think a town in Tennessee recently outlawed homosexuality in public,

They just added: "No person shall knowingly while in a public space engage in indecent behavior, display, distribute, or broadcast indecent material, conduct indecent events, or facilitate any of the foregoing prohibited acts."

Problem was that the referenced indecent statue definition included homosexuality, which was then removed from the definition even before it blew up on social media

https://www.usatoday.com/story/news/factcheck/2023/11/22/ten...

https://www.politifact.com/article/2023/nov/28/did-a-city-in...

comment 3y ago · link · parent

FYI there is a at least one science journal that only publishes reproduced research:

Organic Syntheses "A unique feature of the review process is that all of the data and experiments reported in an article must be successfully repeated in the laboratory of a member of the editorial board as a check for reproducibility prior to publication"

https://en.wikipedia.org/wiki/Organic_Syntheses

comment 3y ago · link · parent

Good video on the topic - there is a sun sensor on the dish - looks for the brightest object and orients to face it. https://www.youtube.com/watch?v=NbsHgE89qO4&t=340s

comment 3y ago · link · parent

Classic skit on identity theft by Mitchell & Webb https://www.youtube.com/watch?v=CS9ptA3Ya9E

comment 3y ago · link · parent

On Windows, as part of PowerToys - there is a Text extractor. Works just like the screenshot tool except dumps text to clipboard https://learn.microsoft.com/en-gb/windows/powertoys/text-ext...

comment 4y ago · link · parent

Here is a performance graph on removing items from a vector vs list - slightly old (2017) https://github.com/dtrebilco/Taren/blob/master/Articles/iter...

From the article https://github.com/dtrebilco/Taren/blob/master/Articles/Eras...

comment 4y ago · link · parent

This reminds me of when the Australian government did blind recruitment.

"Blind recruitment means recruiters cannot tell the gender of candidates because those details are removed from applications."

"The trial found assigning a male name to a candidate made them 3.2 per cent less likely to get a job interview.

Adding a woman's name to a CV made the candidate 2.9 per cent more likely to get a foot in the door."

https://www.abc.net.au/news/2017-06-30/bilnd-recruitment-tri...

comment 4y ago · link · parent

Article mentions to format to exFat as NTFS has a 4GB limit - I don't think that is true.

comment 4y ago · link · parent

The same Youtuber did a 4090 "review" for April fool day https://www.youtube.com/watch?v=0frNP0qzxQc
12