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

You do realize that much of the 'cyberpunk dream' science fiction of the 90's was actually harshly critical satire and dystopia of what the world would look like when technocrats and technology rule people, right? Like you realize William Gibson books and such aren't just cyberspace opera/Stars Wars in VR... it's showing the real suffering that was possible when you blindly trust technology to rule society. Gibson is honestly a bit of a luddite in his mistrust of technology.

comment 4y ago · link · parent

This is the direction a lot of RTOSs go, for example Zephyr (https://docs.zephyrproject.org/3.0.0/guides/portability/posi...) and FreeRTOS (https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_POSIX/i...).

comment 4y ago · link · parent

They're looking at this from a higher level for defining the API and programming model people will use to write event-based code. An implementation might run using interrupts and a timer to drive an event loop on a single core, or it might scale itself out to run on multiple cores where available like they mention.

comment 4y ago · link · parent

A lot of these dunder (double underscore) functions are useful for metaprogramming. Just kinda spitballing an idea but perhaps some code to generate a python object model based on the schema of a database would want to use this method. If your DB schema has some special way of defining subclass relationships (maybe a foreign key to another table) you might need to manually control when something is or isn't a subclass in python's object model based on the result of querying the DB schema.

In general metaprogramming is the kind of thing you probably don't and shouldn't reach for first, in fact it's usually more for libraries and tools vs. your production business logic. It can get difficult to reason about and pass the maintenance of code that heavily uses metaprogramming to other people unfamiliar with it.

comment 4y ago · link · parent

There's nothing useful to deploy it on though--the 'future soldier' concept of the 90s never went anywhere (https://en.wikipedia.org/wiki/Future_Soldier) and we don't have a computer platform on every soldier. IMHO I'd stick to using machine learning to detect stealth aircraft and missiles to improve intercepting them.

comment 4y ago · link · parent

Could it not also be that unions are having a hard time gaining traction because Amazon is taking illegal anti-union measures in their warehouses? The NLRB gave merit to complaints of illegal activities like threatening workers who were voting to unionize: https://www.vice.com/en/article/xgdejj/amazon-repeatedly-vio...

comment 4y ago · link · parent

"labor" as a noun is a synonym for union

comment 4y ago · link · parent

Quotation marks implies they are directly quoting from the leaked memo, i.e. not a sensationalized headline.

comment 4y ago · link · parent

Yeah this post is basically how to build your own wrapper around nix to manage your Mac user environment because you didn't like some of the decisions the nix maintainers made. It's easier to just install nix following its directions and then exclusively use nix-shell or nix develop (with flakes) to activate development environments with specific tools. Kind of like a python virtual environment on steroids. Forget entirely about managing your user's global tools and packages unless or until you want to do that, you could just keep using homebrew!

comment 4y ago · link · parent

The lottery for rich folks that can prove they have money is called the stock market.

comment 4y ago · link · parent

Very cool looking! I love using SQL for ad-hoc data analysis, my brain just groks the language so much more easily than other data query languages like python + pandas.

comment 4y ago · link · parent

Not just PNW, in the midwest where I grew up it was full of split level homes like that too. A bit more brick exterior but otherwise the exact same formula.

comment 4y ago · link · parent

Yeah read the blog post, that's by design--the town was abandoned in the 80s and has been maintained by a private owner. I think it would be kind of cool to live there as an escape from the hustle and bustle of cities. Like living in a shack in the woods, except the shack has most of the amenities of modern life (circa 1980).

comment 4y ago · link · parent

ARM isn't just a single architecture either, there's ARMv6, ARMv7, ARMv8/ARM64, etc. Most of the platforms folks are using are ARM64 but not all of them!

comment 4y ago · link · parent

It really doesn't matter, people will adapt over time. Jupyter used to be iPython Web Notebooks. The project wasn't harmed by a rename and refocus.

comment 4y ago · link · parent

I don't know anything about their situation but if they have rent control then that could be a good reason why they haven't been pushed out. NYC in the 70s was pretty famous for giving artists a great deal on rent control lofts and such since they had all kinds of derelict buildings after industry left.

comment 4y ago · link · parent

Plenty of community colleges are run from state funding and have all kinds of adult education shop classes. You can learn to weld, do carpentry, etc.

comment 4y ago · link · parent

It might be interesting for embedded scenarios where you need an always-available database but can't guarantee there will be a connection available consistently to a central database server.

comment 4y ago · link · parent

This helps a lot with font rendering in Linux: https://pandasauce.org/post/linux-fonts/ It's a bit of work but I was a lot happier after making all the tweaks. The biggest thing is that Chrome has its own completely isolated view of anti-aliasing independent from the system and you have to take very specific measures to configure it appropriately. I ended up just switching to Firefox and have had less troubles and more consistent fonts.

comment 4y ago · link · parent

These are actually images, no device has emoji fonts to support the combos. On gBoard it pops them in as stickers/images so anyone can see them.

comment 4y ago · link · parent

Spider makes truly terrifying combos, like Penguin-spider: https://emoji.supply/kitchen/?%F0%9F%90%A7+%F0%9F%95%B7%EF%B...

comment 4y ago · link · parent

I noticed this on gBoard in the last year and have had a ton of fun discovering combos. Mix penguin with a lot of other animals and they wear a tuxedo, like: https://emoji.supply/kitchen/?%F0%9F%90%A7+%F0%9F%A6%89=8kr

comment 4y ago · link · parent

For me if I type two emojis it starts showing suggestions for other emojis, and the first one is always the kitchen combo if it exists.

comment 4y ago · link · parent

Varies by state. Some states allow you to have a kit car inspected and certified to drive on the street. Others require that the car be built from the frame of an already street legal vehicle. Some places put strict limits on the amount of miles it can be driven a year, and you'll likely need to shop around for specialty insurance to cover driving it.

comment 4y ago · link · parent

Watch Chaplin's The Great Dictator and it's really amazing when you realize it came out in 1940 and was created in the late 30's, right when Hitler was seizing power and starting WW2. Chaplin was a genius and realized the most powerful way to hurt Hitler was to make him look like a fool and mock him. Its monologue is an equally unforgettable scene: https://www.youtube.com/watch?v=J7GY1Xg6X20

comment 4y ago · link · parent

Because your Makefile likely depends on a very particular environment setup with specific versions of compilers, script hosts, tools, etc. You can meticulously maintain a giant readme that tells devs how to set each tool up (and inevitably takes everyone days and weeks of time to troubleshoot), or you can make a container that has everything setup and ready to go.

Make is great and you'd likely use it inside the container. But everything around make is typically an enormous pain to manage across multiple machines, multiple architectures, etc. and that's where docker containers help greatly.

comment 4y ago · link · parent

You can actually find the cards online too: http://stoney.sb.org/eno/oblique.html

comment 4y ago · link · parent

Helm can store kubernetes charts in an OCI/docker registry too: https://helm.sh/blog/storing-charts-in-oci/

comment 4y ago · link · parent

It does help, docker's buildkit backend (enabled when you use the buildx command instead of build) supports building for other architectures automatically. You can for example on an ARM device build a perfectly fine x86 or x64 image and push it to a registry, or vice-versa. It works by behind the scenes using QEMU to emulate the other architecture and binfmt_misc to run its executables. This all happens transparently and wraps up what used to be a bit of manual work and tweaking.

It also supports running other architecture images using the same QEMU magic. It's really quite polished and works well.

comment 4y ago · link · parent

Are you concerned the cat's self esteem was harmed because it didn't get any dates?
1
373839
84