Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

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

Submissions

comment 3y ago · link · parent

I remember VB was also a bit of a casualty of the move to the .NET framework. Yeah they had later versions of VB with .NET support but it still never really embraced or thrived in the new ecosystem. In general RAD tooling kind of fell out of favor in the 2000s and never really recovered.

comment 3y ago · link · parent

Companies "conjure up money out of thin air" by increasing prices and passing the cost on to consumers.

comment 3y ago · link · parent

Yet they're making huge stock buybacks and profits each quarter... something is fishy.

This is going to royally backfire as soon as the first big tech company blinks and starts hiring and poaching frustrated engineers. The exact same thing happened in the aftermath of '08 where companies that cut and held salaries flat were scrambling in '09 to retain and keep engineers--I distinctly remember Microsoft doing an across the board increase in salary to try to stem the bleeding and attrition.

comment 3y ago · link · parent

If you're describing an object on the page, like an image or video, you want a label element linked to it by id and likely an aria-label attribute on the object. (screen readers and such will look for this in particular). For an image you want an alt text attribute as a description too.

comment 3y ago · link · parent

Your HTML already has semantic meta elements like author and description you should be populating with info like that: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduc...

comment 3y ago · link · parent

You probably want rxpy, a port of the reactivex extensions from many other languages to python: https://rxpy.readthedocs.io/en/latest/

comment 3y ago · link · parent

Jupyter lab has a debugger for python: https://jupyterlab.readthedocs.io/en/stable/user/debugger.ht...

Most people write notebooks that are ephemeral and meant for ad-hoc analysis. If a value needs to be inspected it can just be printed in a cell, or even better a fancy widget or graph can display it. You don't need breakpoints as much since you can just choose what cells to execute, or create a throw away cell to grab some values.

Once you need to turn an analysis into a business process or repeatable task it makes sense to move it into a proper python module and use any IDE, debugger, etc.

comment 3y ago · link · parent

No that's absolutely perfect, it's enough to send a warning back to a bigger group or base that the police/government/bad actors are here.

comment 3y ago · link · parent

Not useless at all, these kind of ad-hoc mesh networks are perfect for communication during protests or other organizing, particularly when state actors are trying to monitor or disrupt cellular (like what happened in Ukraine protests years ago).

comment 3y ago · link · parent

If you use wireguard or something similar that gives every client their own private and encrypted IP then you don't really need syncthing. You can just use rclone or even rsync commands that point directly at the appropriate client IP in the mesh network. Syncthing is still useful though for its continuous syncing support and overall UI.

comment 3y ago · link · parent

Not really, it can't resolve a conflict inside the file and can't enforce a distributed lock on changing the file. Ultimately there will be ways for the file to corrupt or get out of sync, especially if multiple writers are present. There might be a way to make things work better with SQLite's more recent WAL mode but I'm not familiar with it.

comment 3y ago · link · parent

Setup a caching repository proxy like nexus: https://github.com/sonatype/nexus-public

This is a little server you run locally and point your package managers like Gradle, pip, npm, etc. at it and it will grab dependencies from their upstream and cache them locally to be available offline later. Once you get it setup go wild adding every dependency you can think of using so it preloads the cache with good stuff. Unfortunately offline caching for package managers is really hit or miss and rarely a priority to support, so expect some pain getting it all setup. Good luck.

Also if you haven't already consider installing and learning languages with a good standard library so you can install them once and do a lot of stuff. Python, go, and deno are really good options with capable standard libraries out of the box. Avoid nodejs or similar minimal/no standard library languages. Rust is surprisingly bad/hard to use offline in my experience too (cargo constantly wants to hit the internet and needs a lot of handholding to play nicely).

comment 3y ago · link · parent

Alrighty but the color blind person I know says otherwise and can't use red headlamps...

comment 3y ago · link · parent

Right which is why I say it will screw with their contrast.

I say this because someone I know who is colorblind can't use a red headlamp when outdoors. A lot of people use red lights to preserve their night vision, but for this person they can't see clearly with it vs. a white light.

comment 3y ago · link · parent

Yikes isn't this a nightmare for some colorblind people as the red light will not be clearly visible or provide much contrast for what they see?

comment 3y ago · link · parent

I love my solar powered triple sensor g shock watch. I keep it in a window to get light every day when not wearing it and it's run fine for 10 years and counting. The lack of any smart features or wireless connectivity is a feature IMHO. It's got three main sensors (atmospheric pressure, magnetometer, temperature) and all the interface to access them on the device. It's perfect.

comment 3y ago · link · parent

Who says Americans hate electric cars? Teslas are selling quite well here.

But you have to realize America is enormous--its over 2600 miles to drive end to end. Our highway system and infrastructure isn't setup to completely replace gas or diesel with electric for long term trips. It's getting much better, but I suspect reluctance to get an electric car in the US primarily comes down to cost and range anxiety.

comment 3y ago · link · parent

Americans like it because when you sit in a big V8 and smash the accelerator it jolts you forward and pins you in the seat while the engine is roaring like a lion. It's fun, like going down a hill in a rollercoaster. That's really all there is to it. Hearing it makes you think of the fun yourself.

comment 3y ago · link · parent

If that were enough to be a monopolistic practice then Walmart would have been shutdown decades ago. That's just how business is done in the US.

comment 3y ago · link · parent

Apple care subscribers will have the option to send killer drones after stolen items with iTags.

comment 3y ago · link · parent

Looking at the boondoggle of performance and reliability that is the F35, I'd be willing to let Apple take a crack at it.

comment 3y ago · link · parent

What monopolistic practices? They aren't buying competitors like Lenovo and shutting them down. They're just building a good product that people want to buy.

comment 3y ago · link · parent

Which is why you have short lived (less than a week) certs that have to be renewed only by access to the corporate network before you can even power on and unlock the machine's drive encryption.

comment 3y ago · link · parent

How does it help your situation to worry about something you cannot control or influence in any way whatsoever?

Plan for the future, good or bad, but don't dwell on what you can't control.

comment 3y ago · link · parent

If it's full disk encrypted then wiping and rewiping doesn't matter as much. As soon as the keys are trashed the data might as well be all zeros. Remote wipe is the whole point, it's not a goodbye gift to the employee... it's protecting company secrets. Wipe it and tell people to trash the machine as e-waste or send it back, it doesn't matter anymore.

comment 3y ago · link · parent

Separate your personal happiness from your job. Who knows what the future holds, maybe it won't be working in tech. Be ready for anything IMHO. It might get better, or it might not any time soon. But the sun will come up again tomorrow, and the day after and after etc.

comment 3y ago · link · parent

That's bizarre or just shoddy IT. Every major platform has remote wipe and self destruct capabilities, control over full disk encryption, etc. I guess they let people bring their own devices and just not follow solid IT practices?

comment 3y ago · link · parent

The idea that you will always be able to borrow money at no cost is pure fantasy. Except many, many start-ups and companies built business plans that could only work when they had a constant supply of free loans. A scooter rental startup for example could offer service for less than their operation costs because there was always a spigot of money to borrow.

comment 3y ago · link · parent

You can specify a hash for your CDN hosted dependencies so they aren't changed unexpectedly: https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

There's zero reason not to trust a CDN if you're using integrity checks. It's just a host on the internet sending you bits.

1
91011
84