skysight-inc/HackerNews huggingface dataset:
> Both forms feature "implicit flow of control", contrary to Zig's stated goals.

They absolutely don't. All control paths are explicitly represented by syntax (no different from the hidden goto in a while loop -- it's explicitly recognised by the while syntax); proof: you can draw all of them by just examining the syntax of the current subroutine, while knowing nothing about others. Exceptions, however, are implicit: any call, foo(), might or might not cause some control flow change in the client without there being any explicit acknowledgement of that by the client; you cannot draw all the flow paths just by examining the syntax of the current subroutine.
I waited for this for long but never hear back.
It is open source, but I wouldn't exactly call it free as in freedom due to GPL-incompatibility. It has less eyes on it, requires more maintenance due to being out-of-tree, and coming from Oracle, it sounds like a legal minefield. Not that I personally risk anything, but I feel like btrfs is more future-proof (safer from being discontinued). Plus, it works OOTB on most Linux computers. Its ubiquity allows me to use it in numerous places. It is quite flexible and doesn't require that much resources (I hear ZFS is quite RAM-hungry?). It isn't perfect either, use what suits you!
Worth noting that Restic is suitable for Windows. Not sure if Bupstash was tested on macOS. Borg also has FreeBSD support and experimental support for Windows via WSL2 and Cygwin.
Another useful resource is hadolint (https://github.com/hadolint/hadolint), which not only gives additional recommendations, but also a way to enforce this.
How it works:

> No. Zero fees. TreeCard will be 100% free to use.

> Every time you use your TreeCard, Mastercard processes the transaction and charges merchants (online and physical stores) a small fee. This is a standard fee paid by all merchants to1 accept card payments. We'll use that fee to plant trees.

I'm confused though. Surely this fee Mastercard charges goes to Mastercard, not the card company?

https://www.treecard.org/how-it-works
Also see this thread where folks here believe schools will stop using this book because it's now out of copyright:

https://news.ycombinator.com/item?id=25609741
Scientists Believe US Embassy and CIA Officers Hit with High-Power Microwaves
hm, somehow you immediately before this one have 2 comments where you criticize Zig that are not downvoted in your comment history?
epoll and io_uring (the latter of which did not exist when K&R was written) have nothing to do with C though
> In the military knowing first-light and last-light, down to within a few minutes, is essential daily.

Why is that?
"no harm to them"

No harm, perhaps, but likely considerable expense (in time and labor, which are not free).

Still, doing so is a public good, and I support the idea when feasible.
Confessions of a Virtual Reality Gym Rat
The OP is putting himself in the domain owner's shoes. It's a mild inconvenience for the OP, but what if the OP was a bad guy? He could have setup a site that looked like the old one saying "unstoppable is back! Log in and update your payment info!" but stole credit card info or passwords.

The owner of the domain should have been more careful to delete their A records once they no longer owned the IP address. IPv4 addresses are finite and it's not surprising for a housing provider to recycle them.
Big Blender Projects for 2021
Thanks for summing it up, so now I know who Zig is targeted at, and it's not me. 8)
But why would you have concerns downloading a banking app directly from your bank? You have trusted them with your money, after all... With apple, you can't install and run software even from sources you trust, outside of apple.

Apple policy could be described as an insult to the scientific principles that led to computing, let alone user rights to run software on devices they own (somewhat established in courts).

"In the famous Apple v. Samsung lawsuit, Apple even claimed ownership of geometric shapes such as rectangles with rounded corners", cited from
The crisis of intellectual monopoly capitalism, Ugo Pagano
Try taking a picture of a fast moving object in the sky with your phones camera, it is quite hard to do; even at an air-show where they all line up for you.
It isn't confusing. The meaning of the syntax isn't obvious if you didn't bother to learn zig syntax, but it is entirely consistent with how zig does this sort of thing.

The for loop payload syntax, where you can also give a name to the counter, is the only weirdness with it.
Is this even possible under the licensing agreements of journals? Why isn't every country already doing this?
> It existed before. Golang, Haskell, C, D (both kind of - int32_t), caml, and many others. It's i32 that deserves a "why this one?" comment.

"i32" and "u32" are used because they are short (and used often). They are just typedef away in C and are used ~forever, did you look at Linux kernel for example?

But I'm with you on the general sentiment - beyond trivial, lexical things like type names (which almost any language allows you to redefine anyway), Zig appears to have strong NIH mentality in regard to the syntax. Trying to replace C, but go out of their way trying to invent syntax just to be different from it and most other things too.

And a lot of people appear to notice and pay attention to this, as the discussion here shows.
TBH, I just handwrote those. Just like with git, the collisions are highly unlikely, and most of the time the first few letters are all that's needed before you can tab-complete.

QR codes aren't a bad idea, but clipboard sync doesn't work quite well on wlroots-based compositors in my experience :)

Just make sure to put a bit of ASCII below your QR code.
Related:

A case is going on in Delhi HC against libgen and sci-hub.

https://www.hindustantimes.com/india-news/delhi-hc-asks-libg...
> "It seems that the owner had it pointed to a Linode instance/IP which was then abandoned and was subsequently "inherited" by me."

answers the "Why would my domain point to somebody else's server?", doesn't it?
From the highlighted answer:

> A Short Story To Illustrate:

> Someone else decides the code is a good solution for a problem they are facing, and decides to copy it into their open source GnuFizzBuzz project, covered by the GPL.
Five years from now, someone is doing an open source audit on your code (maybe you are selling to a nervous customer, or your company is going public).

> The open source audit finds the snippet of code you got from Stack Overflow, and recognizes it as originating in GnuFizzBuzz.

> You are now stuck explaining how/why you have GPL code mixed into your commercial product, or proving that the code was actually from Stack Overflow. Can you prove that the person posting the code to Stack Overflow owned it to begin with (maybe they actually copied it from GnuFizzBuzz to begin wih).
Almost nobody lives in their email client, and if you do you should consider reevaluating your life options instead of using the "cool" client. We're only here once
Next, ban synthesizers producing acid sounds. So long, TB-303 emulator:

https://apps.apple.com/us/app/pure-acid/id1481283602
Diagrams 2.0 for Mac – Beta Testers Wanted
Astroturfing is a thing.
> couldn't be ideologically diverse without jumping through ridiculous hoops.

Jumping thru hoops is what Zig seems to choose with its unorthodox, different-just-to-be-different syntax. I wonder, how many will want to jump with it?
Three MB Pros in 3 Years. Every single one was repaired before being replaced. Roughly 7k € down the drain.

Combine this with Endpoint Management crapware from my employer and you have a toxic combination. Esp. as said crapware is primarily targeted and optimized for WIN machines as the parent company is > 500k WIN machines and only about 25k - 40k Mac machines.

Sad, as I really loved the pre 2018 MB Pros and it was a blast doing my data analysis work there.
Previous company went through source code audit during acquisition. Auditor inevitably found code from Stack Overflow. Their guidance, which got us a passing grade, was to just include links to the SO answer and link to CC in a nearby comment in the code.

This is not legal advice, just sharing our story.
The configuration fixing it for the domain owner is very simple: update your DNS so it doesn't point to a server you don't control anymore. OP observed someone made that mistake and is posting a PSA "hey, remember that that's a thing and don't do it because it's bad". If that's obvious to you and you never make that mistake, great, you are not the target, but real-world experience shows that it happens all the time.
There is truth to what you've said. The word neoliberal tends to be bandied around too generously as a general criticism of centrist Democrats and I am no exception here.

>Again, this seems to be an attempt to categorize tech workers as conservative by categorizing views common to both conservatives and liberals (e.g. preferring a capitalist economy over a command economy) as conservative.

This is the exact crux of the matter if you consider the premise of most left-wing parties. They will naturally see the Rep-Dem divide as Capitalism and Capitalism-Lite. Looking at the continuation of policies under Clinton-Bush-Obama (especially in foreign policy) this is not entirely without merit. This is often humorously depicted as a drone shooting civilians but with a gay pride flag sticker on it. If you were to plot those policies on some sort of graph and compare them to left-wing parties, I think the comparison would probably be clearer. I don't know if anyone has done that yet.

Ultimately, this is due to a confusion around the term liberal itself. Since the other party skews to the right compared to the OECD average, the Dems become qualified as left-wing instead of center-right, although it is true that this has fluctuated historically if you look at FDR. A coastal Democrat tech worker will think that they support gay marriage or drug legalization and believe that pretty much makes them broadly left-wing while at the same time working for a surveillance capitalist business. In the end you get places like Silicon Valley with homeless people roaming the streets next to some of the wealthiest humans in history. Yet most tech workers there would fully believe themselves to be progressive and working for a world fundamentally different to the one today, with power balances completely different.
Owhh, makes sense, thank you.
Goldman Readies Mass Market Roboadvisor
How can any court in their right minds, consider anything administered by, in this case, self appointed “therapists”, a “point of view” and thus protected by the first amendment?

Wouldn’t this open the door for any other sort of dangerous belief? Perhaps denying actual medical help in favour of “thoughts and prayers”?
Right. This is great if you are still learning the ropes. However the title is best practices. Using uid 1000 and using rw file mounts exposes your main user to potential exploits. Often 1000 is in the docker group for convenience.

That allows an attacker to potentially append some nasty code outside the container and get password-less sudo. Unlikely? Very. But security is all about layers.

I've seen full-fat Ubuntu containers with uid 1000 which is in docker group on the host and ~ mounted to run some python flask app, in production.
emails to addresses like security@domain.name or webmaster@
Ask HN: Expected size of paying customer base with a freemium model?
I just finished listening to an interview with Drew Houston, co-founder of Dropbox, on the podcast 'How I built this' (episode published on the 9th of November 2020 for those interested).

During the interview it was mentioned that as Dropbox operates using a freemium model only around 3-5% of the total userbase are paying customers.

This got me wondering, is this the expected percentage of paying customers when using a freemium model (when successful)? Or does it matter if the product has built-in inherent virality to it (is the number usually lower than 3-5% and Dropbox has it better than most)?
Documentation is definitely not the language's strong point just yet, but that's understandable when it's still on a 0.x release and it's a massive work in progress with ambitious goals. The reference is useful at a high level, the autogenerated stdlib stuff is highly hit and miss and I suppose will be ripe for community contribution when the method of generating it is nailed down.

The language itself is fantastic once you get a decent grasp of it, which you'll probably achieve by reading the stdlib source to get a feel for what you need to do.

I've been using it to build stuff on my Pi Zero. Still hit a few snags with cross compilation and C interop, but it's been a pleasure to write. I'm definitely keeping an eye on it as a good alternative to getting into Rust.
How to Stop Endless Discussions
The best explanation I've heard is that mask resistance is more of a political statement against economic shutdowns. Which is understandable, but ultimately a red herring that detracts from a productive political movement forming around the real issue of the rent treadmill. eg Restaurateurs don't actually want to be open for indoor dining right now, they're just forced to by an economy which has been warped to prioritize "growth" metrics above human concerns. But the political machine has gone to work telling them the pandemic is a hoax, and with that assumption it must be the response that is to blame. Somehow herds of people always end up running in the wrong direction.

As for general questioning, yes in the abstract everything should be questioned. But when most of the people raising questions seem to be acting in bad faith, then eventually the questions they're asking are going to be reflexively rejected. That creates an irrational blind spot for sure, but that's still a smaller rationality disruption than letting the bad faith questioners continue to destroy the discourse. Given the way herds work, I definitely agree that there could be something wrong with the specifics of the mask consensus. But my general prioritization heuristic asks why that would be someone's focus when there are significantly more pressing issues. And so any argument has a very high bar to clear, probably to the level of conclusive studies showing mask wearing is actively harmful, and not just simple conjecture on the mechanics from first principles.

> As for police state tactics, I don’t think they’d be considered if people were just smart and took precautions. They’re on the table because too many people insist on refusing to do simple things.

This is the real pisser. Being a libertarian myself, it galls me how much damage has been done to freedom, supposedly in the name of freedom. Allowing a pandemic to spread unchecked, meaning I need to treat everyone I come into contact with as potentially infected (including wearing a mask in my own house as I've got healthcare visiting), has been a grave damage to my freedom. I can only conclude the covidiots see "freedom" as the ability to behave like spoiled children, rather than the opportunity to make responsible choices.
Have you ever participated on an Apache or Eclipse project? Both have a rather robust IP due diligence. Our project scans all (+transitive) Maven deps via https://clearlydefined.io on every release.
How do you think card companies make money at the moment?

In exactly the same way - you buy something, the merchant is charged a fee, the payment provider takes a cut, the card company gets a cut. Sometimes they pass some of this cut on to the customer as well (the cashbacks and rewards.)
What are people’s thoughts on how using vs not using a REPL help or hinder one’s thinking as a programmer. Specifically I mean if you have no REPL and maybe a long compile time you’re forced to put a little more thinking and planning in up front if you don’t want to waste your time. You might be more meticulous in catching bugs. Whereas with a REPL you can throw stuff at the wall. If something breaks you can just tweak variables and structure in real time till it starts working.

That’s just one characterization I came up with off-hand and it may be inaccurate. I’m mostly trying to paint a picture where tools affect the thinking of the programmer.

What are people’s thoughts on this? Does using a REPL or not using a REPL change your thinking and how so?
Yeah, there are 3 possibilities.

If there is absolutely no data cached in the device, it requires the almanac. Basically a map of all satellites in the constellation. Takes roughly 15 minutes because satellites transmit data really slow. This data is valid for a couple of months so a device can cache it a long time.

If the almanac is present, it provices the coarse information. The device still requires precise status of the satellites it is receiving signal from. Each satellite transmits that within something like 30 seconds. So it would take 30 seconds for a precise fix.

If the device knows everything about the constellation, can process the satellite signal immediately and pinpoint the location. If you are using a mobile phone, it should always be in this state because the required data is provided fast via internet.

In case of other devices like offline watches, the almanac might be synchronised from time to time when you connect it to your phone or computer. And the fix would take up to 30 seconds.
Isn't that easy to prove with timestamps?
The connection part is tough. I'm moving back to a major city because I found living in a small town for the past couple of years to be mind-numbingly boring.
> Comparing to really-simple C, it's full of arcane stuff.

I think it's quite the opposite. Don't forget that C also has macros and a lot of arcane undefined behaviour. I don't know if Zig is as simple as C -- it doesn't have macros but does have, say, slices and comptime -- but it's also much safer and much more expressive. Overall, it's a very simple language, that's very expressive and also quite safe.

> That's one of the traits of Zig too it seems.

Absolutely! It's a feature of all low-level languages. Zig, however, unlike C++ and Rust, doesn't try to waste its complexity budget on making it seem like a high-level language when you just look at the code on the page (and it has other downsides, too, besides language complexity).

> I'm sorry, but that's total nonsense. Shows that not enough good faith went into Zig design. Even in C, that could be syntactically annotated as:

And I'm sorry, too, but I would say it's an example of Zig's exceptionally great design at this stage. If at some point it turns out that adding a new kind of syntax element here is worthwhile, it can always be added later. When in doubt -- leave it out. You never know when your complexity budget is best spent, and if you already have a general means of doing something without a new syntactic category, it's best to wait and see.
Yay, their Sun is white. Way to go Apple. Though the adjacent yellow line and fuzz may still reinforce the pervasively common 'Sun is yellow' misconception. But that's still better than the yellow and orange disks of other apps people have linked to. Including Google's android and web search weather widgets. :/

Therein lie my hopes and fears for AR's educational impact. Things done well with care, becoming ambient informal education. Here twilights, day lengths, Sun color, cause of night. Versus ambient cognitive pollution, as collateral damage from design choices, and from the usual carelessly wretched education content.
Hi there,

I’m the developer of Diagrams, a native Mac app for creating structured diagrams that lets you visualize your thoughts, processes, and systems. No matter whether you want to draw a simple flowchart or describe a complex software architecture, Diagrams will support you with that.

We’ve recently announced Diagrams 2.0, a major update that brings a bunch of new functionality as well as optimizations for the latest Apple technology (macOS Big Sur, Apple Silicon). Currently, we’re actively looking for new testers to join our beta program and help us polish this update before the public release. If you’re interested in participating in the beta, please request a seat: https://links.diagrams.app/beta-signup

Find more information here:

Announcement blog post: https://diagrams.app/blog/announcing-diagrams-2

Beta Program: https://diagrams.app/beta

Website: https://diagrams.app

Twitter: https://twitter.com/diagramsapp

Cheers!
Lukas
That's helpful, though googling around a bit suggests both the Z80 (and popular peripheral chips) and FPGA/CPLD devices do have non-bus, single pin abstractions that can output and input 3 states with a single pin.

But replicating that with an ATMEL or similar generally requires dancing around with resistor ladders or similar.
Using Octave over matlab is preferable for me for the same reasons many people use GIMP over photoshop. I use octave for things that are reasonably self-contained, like the metaphorical editing of a single image. I like Python over octave for the kinds of uses that might cause someone to use python over GIMP for image processing, to extend the metaphor.
I'm guessing they will be able to define their own license if the order is big enough. If not, I think a new National Library can be established and every citizen is automatically a member?
I am one of the few people that inspects the source-code of extensions. It's easy to do, for Firefox for example, just right-click and save-as in the extensions site, then rename your extension to a .zip file and extract e.g:

addon.xpi --> addon.zip

Then manually sift through the code looking for obvious malicious intent (or not so obvious malicious intent if the author is doing obfuscation). Note: obfuscation is a red flag! A simple scan for `https://` / 'http://' would usually yield interesting URLs where data is sent. I have actually spotted malicious addons in the wild this way and reported them to Mozilla. They were thankfully removed.

Note: Obfuscation is NOT the same as minification, and I don't mean minification when using the word obfuscation!
It probably works similar to an affiliate program but for credit/debit cards. I'd imagine that Mastercard benefits from Treecard encouraging their members/customers to make purchases using Mastercard's network.
Maybe because the country sees the absurdity in paying for the research and then paying again to read the results.
>How about improving the country/platform in other ways? Including publishing opinions, pressure groups, shaming when necessary, and so on.

All of those are optional for Apple to consider, not giving them money sends a signal they won't ignore.
I'm sorry, but I do programming languages for decades, and familiar with a bunch of them. There's absolutely nothing special about Zig, it's yet another wannabe proglingo. What sets it apart is strong desire "to replace C" while being apparently "as different as possible from it".

I understand such a strategy (among many possible), and that will be a fun strategy if it pans out. The current situation though is that people question: why that dude purposely make it harder than needed for everyone?
Can't help but think a lot of code is needed here just to render some controls on a window.

Something like XAML for GTK would be nice.