Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions

Submissions

comment 4y ago · link · parent

I've found it's easier to keep every terminal app with its bone stock color/theme config and then just change your termianl app's color palette directly to a different theme. You might lose out on all kinds of extra colors for various things beyond 16 different levels (i.e. the typical terminal color palette) but it's so much easier and still looks pretty nice 90% of the time.

comment 4y ago · link · parent

VS code + the vim mode/keystrokes extension is a solid replacement IMHO. I still keep neovim around for quick terminal edits, but I no longer try to have a fancy config or setup with it--it's just too much work and constantly breaking with plugin updates.

comment 4y ago · link · parent

There are a bunch of tools that generate color schemes for other tools based on a template of their configs. For example pywal is a popular one: https://github.com/dylanaraps/pywal But pretty much every major scripting language like JS, ruby, etc. has their own take on the same idea.

Base16 is another popular one with a ton of implementations: https://github.com/chriskempson/base16

comment 4y ago · link · parent

He was on an episode of the Changelog podcast in the fall and went into similar topics: https://changelog.com/news/RRAw/visit It's a good listen.

comment 4y ago · link · parent

OPA has a whole policy language to define how people have access to resources however you please. See details here: https://www.openpolicyagent.org/docs/latest/policy-language/

comment 4y ago · link · parent

Hah, it would be great to set the pi back a bit and cut the top off an old floppy disk to turn it into a caddy that seats with the card and pushes it back into the pi. When in use it would look like a disk is loaded. Perhaps you could even salvage enough of the disk and ejection mechanism to make it pop out with a button press too.

comment 4y ago · link · parent

A datacenter scenario seems like a good fit for a centralized source of entropy, like a server with a dedicated high quality entropy source (maybe some kind of geiger counter/nuclear decay based source?). Very early in the boot process query the entropy server for a truly random seed and go from there to initialize your random algorithm, kind of like NTP and network time sources. Security would be something to pay attention to as you wouldn't want an attacker to ever get control of providing entropy.

comment 4y ago · link · parent

Self driving at Uber was a core part of why investors pumped so much money into them and pushed them public. People expected Uber to roll out self driving cars and completely replace their human driven fleet of cars, thus increasing their profits immensely. It definitely was not a vanity division.

comment 4y ago · link · parent

Yeah this could be anything from "wow cool" to "holy smokes, how is THAT possible???". If all of the game state, output pixels etc were turned into time series data and reassembled in a dashboard in real time--THAT is pretty cool!

comment 4y ago · link · parent

Very cool! I would have loved this as a 12 year old. I used to play with Hypercard in a similar kind of way as flatgames.

comment 4y ago · link · parent

You check the court records. These are easy to find with a digital records search, or you call the court clerk. The phone number is listed on the warrant. This is not hard, but it's not an automated process by design.

comment 4y ago · link · parent

Yes, which is why just set the bar at responding to any request for any data with "Sorry we do not respond to requests for data that aren't court ordered warrants. Please come back with a warrant we can verify."

The problem here is that companies have a policy of trusting some government email address for little one-off, no warrant needed requests. Don't have that policy.

comment 4y ago · link · parent

Faking a warrant is a felony, perhaps even a federal one that would get the FBI involved I assume. You'd have to forge an official court document, forge a signature of a judge, etc. That has _serious_ consequences and prison time vs. faking a "data request" that might be entirely digital with no physical document or signatures, etc.

Not saying it can't happen or won't happen, but a criminal has to be seriously determined and ready to risk a long prison sentence to fake a warrant.

comment 4y ago · link · parent

Employee retention. One of the rumors floated early on was that it was just to keep some senior engineers happy and at the company.

comment 4y ago · link · parent

It has explicitly different design goals than git. Read its comparison page of fossil vs. git features.

Git is just a "me too" of the BitKeeper source control system that Linus used before he wrote git. Linus isn't even trying to hide the fact--he explicitly says he wrote git because he had to move off BitKeeper after a license conflict and he needed something that was functionally similar for kernel development.

comment 4y ago · link · parent

Very cool! systemd is so underrated and underappreciated in the container world.

comment 4y ago · link · parent

Assets were much simpler. The screen was ~320x240 pixel so your 2D images were a handful of pixels from a couple hundred limited colors. An artist could bang out tons of images and sprites in the amount of time it takes someone to meticulously craft, model, paint, animate, etc. a full 3D monster today. Same thing for sound and music--it was much simpler and more manageable by one or small number of people.

Look at game jams today, like the 48 hour game creation contests. A lot of stuff that comes out of those are little 2D things reminiscent of games of that early 90s era. It's because it's still pretty fast and easy to make assets for that style of game.

comment 4y ago · link · parent

Quake and beyond was when he and id brought in Michael Abrash, and IIRC Abrash helped a lot with the low level graphics of the Quake engine. Not to say Carmack couldn't handle it or it was beyond him but Abrash, a legend in the graphics programming world at the time, definitely helped move technology forward.

comment 4y ago · link · parent

As a Jeep owner (an older one), get used to chasing electrical gremlins now and just put a battery kill switch on it. :)

comment 4y ago · link · parent

Does the hood or hood latch lock? If so just disconnect the battery negative after parking. Anyone that plugs anything into the OBD-2 while you're gone is going to get an unresponsive system. I doubt they're going to take the time to troubleshoot, pry open the hood and reconnect the battery, etc.

comment 4y ago · link · parent

My '05 Holden has multiple buses and I imagine every car of that era and beyond is the same. One is OBD-2 and accessible under the steering wheel. It _only_ has the mandated emissions equipment info connected to it, like oxygen sensor readings and such.

It has an entirely separate and different physical connector for a CAN bus, one in the engine bay and another under the driver seat IIRC. This one has all the goodies--locks, entertainment system, full engine diagnostics and sensors, etc. I actually have the full factory service manual for the car and key programming is only possible with GM's tech 2 computer system connected to the CAN bus, not OBD-2.

comment 4y ago · link · parent

I would be shocked if OBD-2 is used for any key programming. They're almost certainly using a CAN bus (modern cars have both, OBD-2 strictly for legacy emissions testing and multiple CAN buses for everything else). Not that a CAN bus is any less accessible or more secure, but in almost all cases to do anything non-trivial over CAN like key programming requires the $20k dealer computer system (which is specific to every manufacturer and sometimes even model of car) or some serious reverse engineering chops and weeks of time to figure it out.

comment 4y ago · link · parent

Who is left on the team that can help paying folks work through web related questions? As I understand it the MDN team only exists to manage user contributed content. So you can book a call to talk to some project managers about how they convince people to give free content I guess?

Or put another way, why wouldn't you just pay money directly to the content creators who are putting stuff on MDN? These are likely the folks making patreons, paid courses, etc. and are the subject matter experts you'd want to engage.

comment 4y ago · link · parent

No the "we'll pay for it!" comments were in the context of the staff being let go and departments spun down. We meant, we'll pay to keep this high quality content going.

No one said, sure yeah fire all those folks, flail around for a year, convince people to just give free content for funsies, then we'll slap a price tag on it so the exec bonuses can keep getting higher.

We'd pay for the old Mozilla that cared about a high quality web. That Mozilla appears to be long dead.

comment 4y ago · link · parent

Are they going to rehire all the dedicated editors and staff they laid off?

Or is this really just charging money for all their now open source contributed content...

comment 4y ago · link · parent

Graviton 2 instances are really amazing in my experience. I can't believe every other major cloud player (Google, Azure) still don't have any ARM instances available. Get with the times folks.

comment 4y ago · link · parent

MJPG aka motion jpeg is just a stream of static jpeg images IIRC. You see it a lot from cheap IP cameras and browsers don't have any trouble rendering it as an animated image.

comment 4y ago · link · parent

Does it matter? Github is a closed source service. If they run Microsoft SQL Server vs. MySQL it doesn't matter or change anything for its users. All that us as customers and users care about is the experience and performance. Whatever they want to do internally to achieve that doesn't matter at all IMHO.

comment 4y ago · link · parent

A person who should not have had access to the system gained near full admin access for five whole days. That is the textbook definition of a breach of security.

It doesn't matter if they did it by fooling or paying a low level CS rep to get access to their account vs. using their 'leet hacking skillz' to pwn the electronic defenses. A breach is a breach and the CSO of all people has to own up to that fact.

comment 4y ago · link · parent

It's wild that apparently near full admin access to the service was handed out to subcontractors of subcontractors. There was so little oversight and so many levels of indirection that it took months to figure out the full impact of the breach and incident. This does not seem like a healthy or responsible security policy for a company whose primary business is... authentication security.
1
495051
84