Better HN
topnewbestaskshowjobs
Log inSign up

SigmundA

3,264 karma · joined Feb 21, 2011 (15y ago) · 1,577 submissions

Submissions

comment 18h ago · link · parent

Wouldn’t that just be warped space if it has no other interaction?

comment 1w ago · link · parent

MS SQL Server lets you choose the table storage as row or column as needed along with clustered indexes and other things, but these are explicit choices:

https://learn.microsoft.com/en-us/sql/relational-databases/i...

comment 1w ago · link · parent

Parent was talking about covering indexes not clustered indexes. Postgresql doesn't have true clustered indexes, table is always heap and indexes are always separate.

A clustered index the table itself is an index and organized as such.

A covering index is separate from the table but contains all fields necessary for the result so the base table need not be accessed.

comment 3w ago · link · parent

Yes this is what I do with power outage with solar and battery and 5 ton, I have to modify my behavior and conserve, increase ac some from say 73 to 77, shower during the day when there is excess power etc.

If there are clouds lowering solar output the ac isnt running as much either or at night.

If I wanted to run as though the grid was up would probably need double the size solar and battery.

comment 3w ago · link · parent

I have 18kw of solar and 30kwh of batteries with a 5ton ac it will run it will run indefinitely assuming the sun comes out, if it doesn’t I have a chargeverter that can keep the batteries charged off my RV’s diesel generator or gas portable.

My solar system generates excess power daily and has zero maintenance, the generators are pure money sinks for backup power and require regular maintenance.

Options are nice.

Also heat pump water heater and dryer help reduce load along with efficient variable speed hvac and good insulation.

Fuel is a problem during a storm too and a buried large propane tank is a good way to go but very expensive on top of installation.

An electric car with bi directional charging would add to flexibility either charging from home system or being able to go find power and bring it home.

Ideally I would like a gasoline hybrid with power out like a F150 power boost and a fully electric with large battery and V2L any Tesla would do now as they all have 2400w out I believe Cybertruck can do more. My chargeverter can take 120v or 240v

comment 1mo ago · link · parent

iPad used to be able to act as a HomeKit hub before Matter support, it was phased out starting in iOS 16 and fully removed this year.

comment 1mo ago · link · parent

I read Blindsight long before modern LLM AI came about and at the time I thought the aliens being intelligent without being conscious was fascinating and gave me a different perspective that those things could be separated but it didn't have and direct application.

Learning how modern AI's respond immediately made me think about how Rorschach was communicating with the crew and how current LLM AI's might be considered intelligent while not conscious.

https://en.wikipedia.org/wiki/Blindsight_(Watts_novel)#Consc...

comment 1mo ago · link · parent

Not bad, think I still prefer that their visual cortex was more advanced such that they could easily perceive multiple perspectives (necker cubes) and maybe even higher dimensions but they had a "crucifixion glitch" such that too much euclidean geometry in the visual field of view caused seizures which doesn't normally occur in nature.

This helped explained their downfall with man creating euclidean geometry everywhere and was taken advantage of when they where brought back as they where very good at certain tasks while also requiring anti seizure drugs which kept them in control.

comment 1mo ago · link · parent

Best explanation for vampires not liking crosses I have ever seen. I always enjoy vampires that are explained scientifically for some reason in fiction, its like some sort of challenge and they usually avoid the whole dislike of crosses, not here, thought it was a decent attempt along with many other ideas in the book, very enjoyable to me.

comment 1mo ago · link · parent

MSSQL (Clustered Indexes) and Oracle (Index Organized Tables) among others let you chose because there are advantages and disadvantages for different situations.

Not having true clustered indexes in PG is something I miss coming from MSSQL, it helps performance when the majority of access is always primary index avoid indirection from index lookup then tuple lookup and it also saves space if its the only index.

comment 1mo ago · link · parent

So maybe it should have two different undo files so both can be run side by side?

comment 1mo ago · link · parent

I think this might not be clear on the issue, it broke vim's undo file, as in it deleted it and replaced it with Neovims version.

Just by trying Neovim you can lose your vim undo file.

comment 2mo ago · link · parent

I have memories of supporting a Netware network with a custom Foxpro app used by a bunch of telemarketers in the mid 90's.

When there was application error the source code would pop up in dialog maybe a some sort of debugger and the end users would just type a bunch of crap in trying to get out of it and hit enter and save the changes and corrupt the app for everyone and it would have to be restored from backup.

Pretty sure it was Foxpro or maybe dbase, definitely wasn't MS Access as it was still a dos based client.

Very different idea about app security back then, was really nice to developed the db, GUI front end and printable reports all in single runtime though.

comment 3mo ago · link · parent

I wonder if the Trump T2 phone will get this chip.

comment 3mo ago · link · parent

I much prefer Bryson City to Gatlinburg, and you can technically go into the park right outside Bryson City at Deep Creek, and even hike to Clingmans dome.

Gatlinburg is a tourist madhouse while Bryson City is a great little town and you can drive over to Cherokee if you want more and get into the main part of the park and over to Gatlinburg should you so desire.

Road to nowhere is always fun to visit, kids always laugh at the graffiti and like the creepy tunnel while the hikes around are beautiful.

comment 4mo ago · link · parent

Wonder if they will ever fix upload progress using XHR, pretty annoying to not be able show accurate progress to the user when using larger chunk sizes:

https://bugs.webkit.org/show_bug.cgi?id=277286

comment 4mo ago · link · parent

MSSQL can handle 32k open connections no need to run a pooler in front of it, can PG do 32k connections and a process for each?

MSSQL shares cached query plans between connections including jitted code, PG cannot do that and the changes needed to make the plans cross process portable would be extensive while sharing between threads is just normal code sharing between threads.

comment 4mo ago · link · parent

>Unsafe extensions can take down the whole instance in the threaded model, processes contain the blast radius to that connection.

MSSQL has its own task scheduler with the ability to kill etc, its like its own OS internally in that respect but yes there is no memory protection there for unmanaged code.

It doesn't really have unsafe extensions other than it is possible to create extended stored procedures which could do bad things, very frowned upon. If you were concerned about that you would run that database in its own instance (process).

https://learn.microsoft.com/en-us/sql/relational-databases/s...

https://learn.microsoft.com/en-us/sql/t-sql/language-element...

https://learn.microsoft.com/en-us/sql/relational-databases/e...

>I'm thinking the buffer cache and locks and WAL coordination are just as fast - it's just mmap'd SHM into each process.

Plan caches contain pointers to executable code and sometimes jitted code, this cannot be just shared to another process with a different address space and work, this is code not data, to transport between processes it needs to be serialized in a way that is not tied to process memory including things like ASR, certainly doable but since it wasn't designed that way much needs to be changed vs just sharing between threads.

https://en.wikipedia.org/wiki/Position-independent_code

comment 4mo ago · link · parent

Interesting I have definitely used the distinction between null and empty string quite a bit in MSSQL and matches most programming languages.

Another issue that used to exist was Oracle table name were limited to like 12 characters or something so I have seen horrible abbreviated table names to fit in the Oracle limitation even in other DB's due to some systems being able to run on both MSSQL and Oracle even though SQL Server has a 255 char limit for table names.

comment 4mo ago · link · parent

Each PG connection being a whole process does not scale like MSSQL that uses a thread per connection which has a max of 32k per instance.

There are no need for connection poolers in front of MSSQL although it is normal to pool connections in the client application which may hold hundreds open typically in a web server.

This also allows MSSQL to more easily share cached query plans between connections since its just sharing executable code between threads.

For PG to do plan caching it would need to serialize the plan between processes and that would require some significant work since it was never designed that way.

PG has it obvious unix roots using processes instead of threads, MSSQL coming from Windows where new process are expensive and there was no real fork, but threads are cheap uses that approach instead.

comment 4mo ago · link · parent

I also miss clustered indexes, datetimeoffest, plan caching and query hints from MSSQL.

comment 4mo ago · link · parent

I don't agree, a relational database is not required to have a particular storage engine or format, that is an implementation detail.

There are other relational databases that have both kinds of storage engines and some use both on the same table (row based insert with column based migration and secondary column store indexes: https://learn.microsoft.com/en-us/sql/relational-databases/i...

Just like you can have b-tree based table storage vs heap in the case of index organized tables / clustered indexes (which pg doesn't have) you can choose column based instead the logical data model is still the same relational model.

comment 4mo ago · link · parent

The machine is easily overridable by disabling FSD...

Modern cars will auto brake if sensors detect what it thinks is an imminent collision regardless of accelerator position: https://en.wikipedia.org/wiki/Automated_emergency_braking_sy...

Traction control systems will cut power if wheel slip is detected again regardless of accelerator position: https://en.wikipedia.org/wiki/Traction_control_system

FSD is obviously very different than normal cruise control and I cannot see an argument why a system that knows its heading down a dead end street at more than double the posted speed limit would allow such and accelerator override and not apply automatic emergency braking, it makes no sense, that serves no purpose while leading to a tragic outcome.

comment 5mo ago · link · parent

Sorry the difference between 70mph and 15mph is a 20x difference in kinetic energy completely different outcomes.

comment 5mo ago · link · parent

Moving off a railroad track at what maybe 15mph max is very different than doing 70mph down a cut de sac double the posted speed limit. I am not saying FSD should prevent any forward movement, how fast can it go in reverse? Probably something like that.

comment 5mo ago · link · parent

I guess that seems ridiculous to me. I could understand if its some sort of government regulation, but if you want to ram a house or anything else or go double the posted speed limit then you should be required to disengaged FSD and go manual, obviously.

There are plenty of videos of stuck vehicles that have a hard time due to traction control disallowing power even with full accelerator pedal, this is not a foreign concept in a modern vehicle. Here is one example, they refer to traction control as the soup nazi, no power for you! : https://www.youtube.com/watch?v=WLVae7-N_Vs

It's a feature to look for in a off road vehicle if it has a traction control disable and even ABS disable on motorcycles, this is an explicit command to disable a safety feature that typically resets when power cycled. Not sure why FSD would allow overriding an obviously unsafe situation, the operator can disable the whole thing at any time if they wish to do so and go manual with a specific on screen command rather than hitting a pedal right next to the other stop pedal with your foot resting between them otherwise.

comment 5mo ago · link · parent

>FSD has Automatic Emergency Braking but that does not apply to hard acceleration by the driver

Why?

comment 5mo ago · link · parent

That is the current public information if it is true is only the driver at fault?

What are the alternatives? FSD on and no driver input? FSD off and driver rammed house without assistance?

This is mostly a thought experiment for me provoked by the incident after being impressed to buy one.

Tesla obviously wants to blame driver to absolve themselves while it’s obvious to me driving with FSD is not the same as driving normally when it comes to reacting to unusual circumstances and a certain amount of responsibility is given to the FSD.

Based discussion with the younger owners of FSD it’s obvious driving around manually will be like driving stick shift soon or writing in cursive, an atrophied skill that the younger generation will have no use for.

comment 5mo ago · link · parent

Why does the FSD blindly accept accelerator input in the face of a dead end cul de sac with much lower speed limit? Is this some sort of regulation?

I have driven normal cars that cut power and brake if they detect a perceived dangerous situation usually annoyingly and in error. Traction control will also cut power to prevent wheel slip regardless of pedal position.

comment 5mo ago · link · parent

So my understanding is the telemetry shows the FSD was on and driver held the accelerator down the whole time and the car did 70+ mph into the home.

Tesla proponents say it’s the drivers fault since the accelerator was held while dissenters say why didn’t the FSD step in.

I happened to just test drive a new model Y having never done so before and not being very interested for various reasons. I may be getting the new L version when released soon in the US it was very impressive especially for the current price compared to the competition and how impressive FSD was is part of my change of heart.

You can hold the accelerator while FSD is engaged to tell it to go faster, this made sense but I assumed it was a suggestion not a go down with the ship command.

So the question is should FSD prevent unsafe speed and ramming objects when engaged even if operator holds accelerator. Based on what I saw with FSD it should know the speed limit and that it was heading to a dead end cul de sac ahead of time and the cameras should see the house near the end perhaps too late to stop but at least slow down.

The argument is I have heard there are actually regulations requiring it to accept accelerator input regardless but I have used other vehicles that emergency brake based on sensor input while manually driving even somewhat annoyingly when no actual obstruction exists (phantom braking).

My thoughts are FSD was on so the accelerator is a suggestion not a to the death command and it should have not allowed the vehicle to enter the house at 70 mph. So while the driver is at fault so is FSD and the complacency it presents contributes to driver error.

Most likely explanation is the driver panic hit the accelerator instead of brake. From driving with FSD it seem easy to get complacent and then do something like that when needing to take over vs normal driving where you are already engaged with braking and accelerating manually.

12345
53