skysight-inc/HackerNews huggingface dataset:
> Therefore the existence of the q pointer does not tell the compiler what type actually exists at memory address p/q. Is it invalid to construct q from p? I wouldn't think so as long as they are in the same allocation, but maybe I'm forgetting a rule.

But then the question is, how would you construct an allocation where both q[-1] and *p are guaranteed to be valid objects of their respective types, using standard C? (i.e. without relying on implementation-specific behavior).

> Surely there's a way to allocate two different types up against each other, though?

If by "against each other" you mean without padding between them, then I think the C standard allows that but there's no reliable/portable/guaranteed way to do it (that I know of).

By that I mean that specific implementations can guarantee that, either with struct packing or, in some cases, by carefully aligning them within a struct or a union. But this depends on the implementation/architecture, so it's not strictly portable/standard C, I think.

> Even if you don't make an actual struct, you can grab some char and say that X bytes are size_t and Y bytes are something else, can't you?

I'm not sure that is possible according to the standard, unless they already were objects of those types. See this[0]:

> It is always presumed that a char* may refer to an alias of any object. It is therefore quite safe, if perhaps a bit unoptimal (for architecture with wide loads and stores) to cast any pointer of any type to a char* type.

> The converse is not true. Casting a char* to a pointer of any type other than a char* and dereferencing it is usually in violation of the strict aliasing rule.

> As noted by Pinskla it is not deferencing a char* per se that is specifically recognized as a potential alias of any object, but any address referring to a char object. This includes an array of char objects

That said, I think for converting a bunch of chars to another type it's possible to get around that with memcpy() in some cases, but I'm not sure it would be helpful in this scenario.

[0] https://cellperformance.beyond3d.com/articles/2006/06/unders...
That’s true. I find that “save to Home Screen” gets me quite far.

I think the answer is too often, “so we can control and milk our users more easily.”

The Reddit website doesn’t have to be garbage.
Check out shapez.io. It has an full rpg/builder UI (I think in canvas), and the full code is up on github.
Didn't the author already sell exceptions to the AGPL? If companies that refused to use AGPL wouldn't just buy one of them, why would they pay him under his new scheme?
> LocalStorage is easy to use but too limited at 50Mb.

50MB is plenty for time/project tracking, calendar & similar.
That's a terrible bet to take as a founder. Assuming even odds, put aside $10k for some time, and you may double it if you're doing well and probably don't need it, but if you're failing, you lose the money.

The only utility is vengefulness, perhaps.
Go and rust are actually not that far away from each other on the logarithmic scale of complexity.

I recommend that you broaden your horizons by studying something really complex like Haskell and something really simple and stripped down like Lua.
The Motorola PowerStack
I have made a regex that accepts valid JSON
> Regarding the language. The only thing you’re going to hear as a response to that entitlement: “this is Germany, we do this the German way”. I’m not German, just fyi… you know, when I arrived in the UK in 2006, I didn’t expect that everyone will explain to me things in Polish. I actually had to learn the language.

I think his point is, English is the lingua-franca of the internet and international business. If you are looking to accept international founders, investors and money, maybe it's a good idea to add EN i18n.
On the other hand, Flash Boys was utterly without merit.
Law of Demeter, constraining responsibility in functions while avoiding tortellini code, clear variable names etc.
It’s not unreasonable to expect a country that wants to attract foreign investment to make it possible to interact with the bureaucracy in English. Whether Germany wants to attract foreign investment is of course their own decision to make, but I’m assuming here that they do.

It would be nice if a neural international language like Esperanto had caught on, but it hasn’t. In actually existing reality English is the global common language.
Maybe nobody says that exact thing, but people do often say things like “if you don’t like it you can fork it”, as a way of shutting down discussions.
> is a straight-up GPL violation as far as I'm concerned.

How ? Are these repos insufficient ?

https://gitlab.com/redhat/centos-stream/src/kernel/centos-st...

https://gitlab.com/redhat/centos-stream/src/kernel/centos-st...
Didn't know this had such a name. I was basically taught basically this doing sports as a kid. Nobody called it by name, but it's basically what we were taught to do when you are out of breath. Not specifically a 4 count, but a breath, pause, release, pause, repeat.
The whole site is a gem; great collection of 80s/90s RISC/SMP computers from a lot of the cutting edge vendors (Apple/NEXT/Sun/Motorola/etc). The author repairs them and keeps them actively working, in addition to their documentation of the systems on this site.
What does look like the native UI? I'm not a Mac user so maybe that platform has some uniformity? Windows is a total mish-mash and just about every app and utility for the past 20 years (even MS Office) has had its own "skin". On Linux, Gnome and KDE constantly redesign things, and every distro is different, so there isn't really a standard. The only things I can think of that are consistent are the utilities that come with the DE, but most of the apps I use on Linux are either browsers or IDEs, each with their own style, or console stuff (and even then, the UX varies!)
Oooh thanks. A full RPG UI builder has got my attention!

I’ll check it out when I’m at work as their website just says that there’s no mobile support. :/
It is not actually self-hosted. Rather it has a meta-circular interpreter.
Yes but those are fairly straightforward commands that are not really relevant (the post is about using v4l2 and gphoto).
He looked into opening a GmbH, not the other way around. He wants to do business in Germany.

You can absolutely go through this process without speaking German but it will cost you money in lawyers.

> I think his point is, English is the lingua-franca of the internet and international business.

Maybe the Internet, yes. But international business? I don’t think so. Maybe from a perspective of native English-speaking person it appears to him like that. But it’s not the case in many non-English speaking countries.
This is why you shouldn't do any substantial free work for projects that want a CLA.
I would imagine it runs for a long time if you are only powering it on to connect to WiFi, grab weather data, render the screen, and then shut off. The PiJuice page mentions "intelligent on/off switch", but I didn't easily find any details. Hopefully intelligent means "turn on at a certain time via an onboard RTC, turn off when systemd says it's OK" and the userspace code implements that dance correctly.

In the absence of any power control, the PiJuice page says the 13000mAh model powers a Pi Zero W for 60 hours at idle (18 hours at full load). Based on the lack of discussion on the post, this is probably what's going on, though recharging every 2.5 days is exceedingly annoying, so maybe not.

If you're doing a similar project, I really like the TPL5110 series of chips for power control. You basically connect it to your Li-ion battery, your project's voltage regulator's enable pin, and a GPIO pin. You set a time interval with resistors, and it draws 35nA while the power is "off". When the set time interval is reached, it enables the regulator, and your microcontroller boots. Do what you need to do, then set the GPIO pin. The TPL5110 then turns off the regulator and goes back to a very low state. With a 1200mAh battery, I can collect samples half-hourly and write them to a database over WiFi (with a RP2040 and ESP32) for several months without recharging. It all works very well, and would also work for the e-ink use case.

I will say that I've had random luck doing this with e-ink displays. Some freak out and generate artifacts or fade out when you disconnect power. Some don't. Often marked with the same part number. So I have no idea what's going on there. Also, be careful about what your microcontroller does when you have the battery connected to an analog input to measure the battery voltage; you can easily draw a ton of current while otherwise idle that way. Large resistors are your friend, though be aware that some say things like "you'll blow up the chip if any IO pin has a voltage on it larger than Vdd". I didn't see that in the RP2040 datasheet and it didn't blow up, but your mileage may vary.

One last note, when I've done projects like this in the past, I ended up just doing all the image manipulation on a server somewhere, and making the microcontroller just stream the bytes that the screen should display from the server. Then you never have to touch the microcontroller code, and you don't have to have a full Linux system on the client side (as this project did) with the associated power demands. $1 microcontroller > $35 Linux box. Though if you are a CircuitPython fan, this is ridiculously hard to implement because images get large fast and Python wants to read all the image data from the WiFi interface into RAM. Easier if you just write it in C.
The Greenway is a lovely addition to Boston. Used to spend lunches there eating from food trucks.
The concept of (development) environment as separate from the program is alien to Lisp.
Maybe not. I attended Florida Atlantic University and that was a project I did. The shell wasn't that much, just run commands, support redirection and pipes, and (I think) handle environment variables (for example, "ls $HOME").
Did you not read 4 lines below that on how you should indicate that your app does in fact use Instagram APIs?

> If you offer an app, website or a product or service that uses the Instagram APIs or is otherwise compatible with or related to Instagram, you may only use Instagram to say that your app is "for Instagram" or that the name of your campaign is "on Instagram" in a descriptive manner.

If the name of the app is "InPlan - Planner for Instagram" and the "for Instagram" is dictated by the Instagram rules, how exactly would you propose they modify that? If you want to dispute the logo, look at the changed logo they used. It does not infringe the Instagram logo at all.
> anti-business

This is one of the most abused phrases in politics.

Let's back up and talk about some fundamental values. I think most people can agree that we work to live, not the other way around. Businesses exist to serve an economic function. Businesses are not an embodiment of the ultimate good, any more than the barter system was, or indentured servitude. These things are ways of structuring economic activity.

My point is simple: Businesses operate according to the context they are in. The businesses do not define right and wrong. Businesses exploit the conditions they are in if they want to thrive.

Banning dog fighting is bad for the existing businesses AND the right thing to do.

Banninge CFCs was bad for industry at the time, according to some time frames.

Let's recognize the shared foundational moral factors here before we assume that we're on vastly different pages.
On the contrary, this is the sentiment that encourages us to make free software in the first place. This is the only reason FOSS exists, even. Who in the world would license something under the GPL if its terms didn't make it clear that the software comes with "ABSOLUTELY NO WARRANTY"?

As long as it’s free, it doesn’t matter how bad it is, because at least you're giving others a chance to make it better, INCLUDING improving the code quality to enable less experienced developers, or even laypeople, to collaborate. No one should expect you to take that burden upon yourself. If all developers did everything right on the first try, we wouldn't need open source.
By definition, there can be no such projects. One of the requirements for a license to be called Open Source is that it does allow commercial use.
Twitter spends $13M/year on food service for SF HQ
The percentage starts with a zero.
And its thanks to people like you that I was able to save my 75" 4k LG by replacing the TCON board when it went on the fritz.

$50 eBay purchase and a 15 minute swap. Now six months later and still going strong.
The implication was clearly that the article was posted by people unhappy with the results of the election...which doesn't make sense given that it was published before hand.
No it can't. You're thinking of "visible source" or "source available".
Not really, no; they aren't integrated and it's not a single lisp environment from kernel to surface and all the way in between.

Symbolics was special. Oberon is similar, and comes close.
$lastco (defense contractor) used something like that for localizing various EMF (cell phones, drone controls, RC remotes, and other potential IED triggers) as part of one of those "smart soldier" DARPA programs.

There's definitely demand in the defense-adjacent space.
It's actually not. But you need to speak the language... Duh.

You make a notary appointment to sign a default company contract. You pay in the 25000€ for a GmbH (or less for an UG) onto a newly created bank account. You send the confirmation from the bank to the notary office and they'll inform all relevant government agencies. About a week later you get a letter that your new company is ready to use.
As someone who has read one of his books, I strongly doubt that Lewis didn't look at the whole crypto-sphere critically.

Remember, a lot of these guys are huge narcissists. They will reveal their darkest secrets to a famous journalist, because a bit of fame overpowers their most basic survival instincts. It's like when Trump had Bob Woodward embedded in the White House.
I think an example would be the famous 2D Action RPG CrossCode [0] which is a game that was made using the canvas alone [1]. I doubt that the UI in that game is made using the DOM.

0 : https://store.steampowered.com/app/368340/CrossCode/
1 : https://steamcommunity.com/app/368340/discussions/0/12918172...
It doesn't have to be.

A voronoi based vector codec could probably be close enough that people would struggle to tell the difference from film.
I did it. And at the end of it I had a text editor. And it made me feel like a programmer.
> VS Code is open-source software. Nobody cares.

As a matter of fact, I have sent multiple pull requests to VS Code recently. I have found the codebase to be relatively accessible (despite the size).

Even if few(?) individuals care about it, it can make a difference for companies. Both Google and Facebook are using VS Code internally (and they wouldn't if it wasn't open-source).
> the argument for suppression leaned on the severe consequences up to thermonuclear war, something which the argument for suppressing passive radar technology is going to have a harder time with.

Why would you assume radar needs the same justification as nuclear weapons, when there are lots of export controlled products and ideas already that aren’t justified by the specific or immediate threat of thermonuclear war, e.g., encryption, weapons, chemicals, software, etc.? That’s what ITAR is…

The Morland/Progressive story is quite fascinating. It’s worth pointing out that it happened more than 30 years after the original designs, after other countries had their own nukes, and the case was dropped due to all of the info Morland shared already being in the public domain. It’s not really an example of free speech winning against the government, and isn’t precedent for how we’re handling defense related technology today.
> Largely people who get angry at the idea that black lives might matter.

This is an incredibly disappointing thing to read. Just because you disagree with another on some policy or political notion or another does not justify the belief that they hold a differing view for the most despicable reason you can come up with. Does that make sense?
Unless housing corrects none of this matters people are making more and just spending it on rent and other essentials.

It’s crazy to me that the house i grew up in and my parents could afford with only my dad working as enlisted in the military now is 650k vs 140k 20 years ago. This rate of growth doesn’t seem sustainable.
“with hundreds of thousands of concurrent flows ”
I was thinking of https://lwn.net/Articles/430098/ - I remember there being quite a fuss about it at the time, but RedHat employees were clear that it was their company's deliberate policy. Perhaps things have changed since then.
I'd say the reasoning is adjacent but not the same. There will always inherently be some harmonic distortion when playing a record, and that sounds pleasing to the ears in a lot of cases.

But the main reason records usually sound better is simply dynamic range.

I'm a huge fan of 80s club music (Paradise Garage type stuff). I've spent a lot of time and money over the years ripping those original records, because unfortunately the digital releases of a lot of those songs were brickwall limited, which ruins the dynamics and punchiness of the drums and other elements of the music. I'm sure the same applies to other genres.
Brilliant explanation and walkthrough of some problems encountered along the way. Thank you for demystifying Blink/Skia a little bit.
Depends on the business model. A New Jersey gas station will deny you the freedom of putting diesel in your Civic.
"I lost data because I went on a vacation" is not an acceptable failure mode. Users understand "no data is saved" or "all data is saved," complex rules will lead to pain.
I think theres an order to abstraction. Variables, functions, classes / modules, classlibs / pacckages, microservices etc... and with each bump up comes maintenance overhead, version management, integration testing, monitoring etc. so it has to be warranted. There are obviously very legitimate, and pragmatic cases for microservices, but just a monoliths are a magnet attracting all code to an ever growing codebase (i.e. its easier to just add it to the monolith), microservices tend to breed microservices.

Conways law is also a real thing. Sometimes, microservices are a practical choice given team structures and ownership, rather than product reasons.... likewise the monolith. Sometimes with a smaller team(s), the monolith is the most pragmatic option, as increasing product complexity due to all the above needs, reduces the capacity for other work.

Sometimes - its a good thing to embrace conways and run with it, as opposed to discovering it as a side affect.
What about the many things that do not fall under ITAR? The NSA recently awarded[1] a $10B contract to Amazon Web Services. I don't think AWS was built entirely by Americans. US military routinely purchases commercial off the shelf products and services, and I doubt there is any effort to ensure they all were made entirely by US Citizens.

I work along side of Russians, Iranians, and Chinese teammates (no North Koreans, to my knowledge). I wonder how they would feel if my company decided to sell their widgets or services to the US Military, where those things could plausibly be used against their own families?

https://www.wsws.org/en/articles/2022/05/27/qemh-m27.html
Your words are wasted (2012)
We see this repeating itself in China. However bad and dreary life is in a factory, working on a subsistence farm is worse with worse outlook than most factory jobs in the city.

A factory job give you the opportunity to advance. Maybe you sneak in some study time here and there, maybe you meet like minded people, maybe you meet the person you _want_ to spend your life with. In a rural setting with isolation and insularity and lacking transportation, your options are severely curtailed and likely end up like your parents or worse.
I think for this and for photos it’s more the idea of imperfection. That patina, wabi-sabi or other entropic term gives an emotional response I don’t find in digital. I’m not looking for lossless digital I can’t really discern, which DAC basket to put my eggs in, or if the latest digital remaster just demolishes the loudness delta. I have, but these days I want a more tactile experience. I’m looking for the experience which surrounds the music or photo. And when I didn’t take that picture or record that music, it feels more ‘real’ when I can vicariously feel the experience involved.

Anecdotally, I went on a trip with some friends recently and everyone took their phones while one person took a manual camera. Everyone uploaded to a shared album at the end, and the pictures which paint the picture of the weekend to me are the ones shot by the amateur which are often a bit out of focus compared to the hyper accurate self-stabilizing self-focusing technology.

Perhaps it’s the romantic in all of us.
Installation bloat mostly.
I've read all? of his books? Even the one about the importance of the band Marillion. I couldn't disagree more.
Not only was he in the spotlight but he was in the spotlight in Washington, D.C. rubbing elbows and yukking it up with lawmakers:

https://fortune.com/crypto/2022/11/08/sam-bankman-fried-face...

https://archive.ph/klRPC
It's similar to lens flare: lens manufacturers go to great lengths to reduce lens flare (there's a limit to what they can do though), and in VFX/CG we often add them for effect in movies, both for full-CG stuff and even on top of plate footage from cameras which didn't even have much (if any) lens flare in the first place.
I remember a program once that used a model kind of like this. The main program itself was FOSS, and so were the Git and SVN plugins for it, but the ClearCase and SourceSafe plugins for it were proprietary and very expensive. (Unfortunately, I don't remember what the program was.)

This is one model of open core I can get behind: make everything FOSS except compatibility/integration with other non-FOSS things. It's a win-win: if you care about being 100% FOSS, you'd have no use for the proprietary plugin, and conversely, if you do need it, then you're already contaminated anyway.
The notary thing is insane. It's not a completely redundant profession, but it's not that far off. I suppose it's nice to have if two parties, non of whom the government trusts, sign a contract with each other and you need a trusted witness. But for when you submit some documents to the government? Absolute bullshit. But the German government really does not like to make itself unpopular by making professions redundant, so notaries are going to stay around for a long time.

It's all a part of the general conservatism that comes with having a high median age. Everything here moves slowly. And there are benefits to that, for people who for various reasons don't like change (and there are a lot of those).
I wouldn't recommend PO or PM roles if you're looking for low stress. That's not to say these roles aren't fulfilling or rewarding, but they come with stress. When things are going well, praise and recognition goes to the teams. When they aren't, you're the head on a spike.

I'd agree that the stress of Product roles varies with company. Dealing with clueless, egotistical executives and HiPPos is never enjoyable.