skysight-inc/HackerNews huggingface dataset:
Many C/C++ UI frameworks require allocating component parts, linking them together to create an operating widget, and then attaching callbacks and whatnot... The code creating a dialog/window/toolbar with multiple such widgets is a perfect case for using goto to implement a single code block of unwinding of the complex construction of that dialog/window/toolbar. Multiple times I've had long winded debates on why complex dynamic memory structure unrolling is safest as a single code block. The subtle win is the unexpected MASSIVE code shrinkage that occurs when a UI's codebase adopts goto for dynamic structure unrolling. I've seen applications that dragged become nimble if not perky after the code reduction from removing 2/3rds of the code that was nothing but repeats of partial structure unrolling due to an error at one spot, and a similar one a few lines down with a complete duplicate of the upper unrolling and a bit more added, and then another duplicate a new lines further, and again and again and again...
PHP was my first language, but back in 2008 it was a real mess. Not only was performance based, but there wasn’t a package system if I recall correctly and everything was just in the standard library prelude namespace. The names were also really poorly standardized and optimized for keystrokes rather than readability. Security issues were abundant across the ecosystem, and everything ran slowly. Most importantly though, everything in the ecosystem intended for it to be used as a templating language like Jinja—little bits of PHP sprinkled amid a sea of HTML tags. I remember learning Java and Python and feeling so blown away because they weren’t doing this strange inside-out template programming—they would define webserver handlers and generally decouple the application logic from the HTML. I’m staunchly of the opinion that 2008 PHP was a hot mess, but also that not long before it was the easiest path toward a functional web application. I’m sure a lot has changed in the intervening years, especially considering Facebook’s heavy investment, but nevertheless I understand why it was so heavily criticized by people who used it back then.
I'd wager that's part of the puzzle - lacking information, you jump to the conclusion that 99% are single color in a given lake. But, "most" could be 51% or anywhere in between.

How many fish do you need to catch to be relatively confident you've covered the 51% possibility? 2-3? 9-10? I'm sure there's a mathematic solution, but my gut tells me I'd want more than 2-3. Maybe as many as 10 or 20, depending on how frequently fish are caught.
The London orbital motorway the M25, definately not central London, with its majestic 12 lane sections boasts an average speed of 25mph.
If you're building from source, then I'd just disable what you don't need via src.conf(5)'s various WITHOUT_FOO settings. They are described in the man page itself.
There are plenty of places that you can go to on this planet with little to no law enforcement. Don't be surprised if you end up dead there. Handling global crime is very difficult.
> It's the people saying "PHP is the best language for building web apps in 2021" that are problematic.

OP didn't say this.

> No. It's simply not. We have come a long way since then and that view point can only be held out of ignorance.

> Language tech improved, PHP didn't come with it.

Are you familiar with the changelogs over the past 10 years? Are you ignorant of the changelogs?

> But to say PHP > Java/C#/Rust/Elixir/etc is just being an edgelord for the sake of it.

OP isn't saying that.

> Right tool right job, PHP can still be the right choice for lots of things if you have experience with it and can use it to make the thing you want.

Isn't this true of any language?
Perhaps "There is a threshold of intimacy beyond which more will be owed."
>The favicon visualization brought memories of the million dollar homepage. I suppose it was precursor of NFTs.

It was not; NFTs are digital certificates saying that you own certain digital content on the other hand The Million Dollar Homepage was basically selling ad space on the website.

You can argue you could buy part of the website(digital space) and therefore you own the part of the website but in reality you were renting it as an ad space meant to promote your website(link).

Purpose and vision of The Million Dollar Homepage and NFTs are completely different but I can see similarities between
quasi owning digital space(part of website) and owning digital content or digital certificate(digital token).
How to compare Metal vs non-mac hardware then?
Weird, I thought there was a resurgence of web app developers using React|VueJS on the frontend and Laravel (PHP framework) on the backend?
The problem is that so many people use that phrase who actually do intend to be rude, so it has lost all meaning. There’s no point in using it any more.
US-China Business Relations from the Perspective of the American Heartland
Only Haskell programmers would consider the type signature a replacement for an explanation. I don't mean to be rude to you personally - this is endemic to the culture of Haskell.

Possibly once you're immersed in the world and up to speed with Haskell type signatures are all you need. Unfortunately for people coming to the language we need more context to fit the pieces together, and the vast majority of documentation I found lacked that context.
> Windows, that is even in 2021 is still a clanky garbage.

That's how I feel about macOS. It's for people who prioritize maximum animations over speed. For example, Finder is so slow compared to Windows Explorer. I love Windows. I love the customizability I love the speed, and even 15 years ago, there were 10X more software package for Windows than Mac.

I hear that macOS in recent years (after 2019?) even allows you to change the drab grey color of the menu bar? That's progress! Maybe by 2030, they will allow you to move the menu bar to a vertical orientation because that's how a lot of people prefer it; there's less vertical space than horizontal on most monitors. I honestly cannot understand how one can stand this stifling arrangement where you are told, "This is how it is, we know better".
Varjo Aero – Designed for professional VR. Now available for all
US surgeons test pig kidney transplant in a human
How so? It’s a progressive bracket both ways? Wouldn’t you want your spouse to earn more income, regardless of 30% tax?
Most web devs are aware of most of these, or at least the gist. The issue (I find) is the clients, management, the creative team, etc. are not. Not that they need to understand the nitty gritty details. Of course not. But their disconnect between their expectations and reality is demoralizing and destructive.

These lists are helpful and entertaining, but the damaging friction typically too often comes from the outside.
I think there is wisdom in this, but I also think there is value in some circumstances to making efforts toward behaving in a way that gets respect from others, because then they take you seriously. This can come down to manner of dress and tone of voice. It likely doesn't matter most of the time, but I feel that making an effort to not appear stupid in order to get the person drawing your blood to take you seriously is not a waste of time.

It's true that I often care way too much about looking stupid and this post is really useful for reexamining that mindset and seeing how it's a mistake. Setting my ego aside and doing the best action regardless of how it makes me look would benefit me 99% of the time. BUT, I've had people in charge of some thing I care about dismiss my thoughts or contributions because it appears to them that it's not worth their time to pay attention to me. If I am collaborating on something that I know or care a lot about, I want my questions answered well and I want my contributions taken seriously. Sometimes that means I need to go out of my way to get the respect of this person. Being professional, making efforts to let someone know WHY I am asking a question, and asking revealing questions that benefit others' understanding, are not always a waste of time.
Online abuse: banning anonymous social media accounts is not the answer
The financial markets pay very close attention to the Federal Reserve, not just to the meetings where interest rate decisions are made but to speeches which give a clue of Fed governors' thinking. I suggest allowing Fed governors, Congressmen, and Senators to trade but to have a system where trades are reported every evening. It would be good to know how they are investing their personal money based on what they are hearing.
Jetson One Personal EVTOL
A 30-Year Campaign to Control Drug Prices Faces yet Another Failure
Read up on solar sunrise, a infosec teacher of mine was involved on the Army side and said it was seriously being considered because of timing and email being run on some extremely mission critical systems. This was lead up to first Iraq war and things where being routed through a machine in Baghdad. So, the possibility that this was a military attack was seriously being considered.

And no I don’t think it was likely, but there’s only so many time in history senior military people have referred to nuking something in a non joking manner.
Nowadays it doesn't even end there. You risk getting "cancelled" by social media mobsters.
goto is the idiomatic way to emulate RAII in C. It's everywhere.
Huh. Do they even have facilities to weigh the bags?

But yeah, they might well be more regionally variable than Ryanair.
(OT) One big problem of completely different languages sharing the same alphabet is the tendency to keep the spelling of names in the original language rather than convert it to reflect the way it may be read off in your own. For the life of me I can’t even guess how to pronounce this post’s title. (Or, when you have to call a guy whose last name - in English - is Chrząszcz, what do you do?)
Why does the reader need to read this blog post?

We don’t but we think we might learn something or be entertained. Withholding a piece of information that lots of readers are naturally curious about is odd. I like the post & Dan Luu’s writing in general but I’m dying to know the why behind the computer in the smallest box request.
Don't share your code, someone will just copy it and you won't get a penny.

Try https://flippa.com it's like ebay for websites.
That looks like an example of languages using ? to represent a different but similar looking character.
> Ideally, an sql interface

You could use Google BigQuery to write such queries for the whole internet (or parts you chose)
It is some good point that goto has many helpful uses, it is when people use it for working around when control flow should be re-factored instead that it becomes harmful. Like on many other things it is no issue in moderation, only in excess.
> Did she reach a ripe old age? Death comes for us all.

please don't write anything if you have nothing constructive to say. your closed-ended questions are judgments disguised as 'questions' that are only meant to shame OP and dismiss their loss.
Also, it works great in portrait mode e.g on a phone.
This feels a lot like comparing languages based on “hello, world” programs.

> Uploading a single standalone PHP file you wrote to your 5$ webhost via SFTP, with _no other work required_ and just seeing your code run on your website? Show me how to do that exact thing in almost any other web programming language. You can't.

You can do this with Go and you don’t even need your webhost to have any special language support. Moreover, that single file can be an entire program, not just a single source file.
Please explain a little more with an example. Certainly not in my C code, though I a huge fan of RAII in C++.
Fascinating frankenplane: https://www.airspacemag.com/history-of-flight/frankenplane-1...

"With no DC-3 wings to be found, maintenance crews repaired the damaged aircraft with a DC-2 wing, five feet shorter than the original."
Right-to-Left Website Development: Аdvice on design
I was agreeing with OP. You can use PHP, just don't be someone like you and it's fine.
Completely agree. I had a thermodynamics teacher in college say “in the history of transportation we’ve never switched to something powered by lower energy density [than the previous mode of transportation]"

in other words “energy density wins the day".*

That was running through my head when I read they were switching to technology with lower energy density but, to your point and to the article's point, it’s really about systems level energy density and not cell level energy density.

* with Tesla we have now seen that there is another factor, convenience, that my professor did not account for. I own a Tesla and the primary selling point… OK it was acceleration… But the secondary selling point was never having to go to a gas station again when I am just barely going to make the meeting and forgot to fill my gas tank the night before.
Is this post about being willing to look stupid or about not being afraid to ask questions? In my own experience, I was more afraid of asking questions because I was afraid it would expose me as not paying attention in class or not being prepared. I was afraid of being embarrassed by the question. I suppose one could say this might also be read as afraid of looking stupid, but stupidity itself is ironically not as simple as some might believe.

I remember the first time I heard the statement: The only stupid question is the question you don't ask. This statement bewildered me, because I thought I might be the one that asked "that" question. If this sounds confusing, I most likely read that statement as "the only stupid question is the the one you shouldn't ask and if you don't know what makes a question stupid, you're probably too stupid to know."

This fear of asking stupid questions made me unwilling to take math courses beyond Geometry. I ended up getting further math education when I started my IT career in 1990. I overcame my fear of asking questions in the course of doing my student teaching assignment before that.
Presentation given at https://evu2020.exordo.com/programme/presentation/114. I couldn’t find the presentation itself.

https://www.forensischinstituut.nl/actueel/nieuws/2021/10/21... is the press release (in Dutch)
I remember working with two C teams where one did:

rc = do_something();
if (!rc) {
rc = do_something_else();
}
...
do_cleanup();

and the other did:

rc = do_something();
if (rc) goto xout;
rc = do_something_else();
...
xout:
do_cleanup();

I think the goto was clearer and harder to get wrong?
I always read “with all due respect” as “I totally disagree but I also feel you are incredibly wrong, and would like to raise this in a way that gets us to detach our egos from our positions so we can dig into this”.

It does not always work to do this, mind you.
There are markets for selling websites and internet businesses like Microacquire, Flippa, and Empire Flippers.

You can get an idea of what kind of data is shared by browsing those markets.

https://microacquire.com/

https://empireflippers.com/

https://flippa.com/
You can always explain in a few words why, even without stating your actual underlying reasons. The clerk doesn't need all the details. This person clearly struggled more than he had to if he would have just provided a reason the clerk could understand. I bet his lack of social skills and perceived "stubbornness" were a much higher contribution factor to the clerk being puzzled and may be even thinking he was being stupid.
I've got a 99 and, outside of the dated fx and sequencing abilities, I think the only real difference is that you can load your own waves for the RCM modulation? I think you can hack the 77s to do that too.

Oh, and it's even more unbelievably massive and heavy. I will never part with it - they are the most criminally underrated synths, and it's crazy they are still often priced lower than the DX series.

It would be great if someone would built a better live editor for them though.
In Poland, any major medical study on living patients must be approved by bioethics commission of local medical self-government.

Somehow, almost all of them have Catholic priest as member. He studied ethics on Catholic university, so he is "qualified".
Before Inkle, Jon was the primary writer and developer behind a well-received (highly regarded) commercial parser-based story game, The Shadow in the Cathedral.

It's been free for years on itch.io: https://textfyre.itch.io/the-shadow-in-the-cathedral

Highly recommended.
they're both about killing a brand name and trying to deceive public perception and manipulate our collective memory/map
I'm a little spectrumy so I often forget how important emotional support/bedside manner is to many people. I see my doctor as an automaton who I feed problems to and he feeds me solutions.

Even something like a broken bone falls under the category of "normal" health issue. It happens all the time. You will be fine with a perfectly mediocre doctor dealing with your broken bone.
Using the Symbolics Document Examiner was the best manual reading experience I've ever had
I did this a while ago. the .iso.xz came in at 22.1 MB and the .iso at ~80MB.

That's for a ro image with tmpmfs and varmfs[0], a minimal kernel, base and the packages nginx-lite, jansson, re2, curl, acme.sh and some services.

The system boots from an ISO into running nginx and hosting a basic network scanner[1] at a VPS provider.

I basically built from source with a custom SRCCONF[2], KERNCONF[3] and some other cleanup[4].

There may be easier ways to do it but it worked out pretty well for me.

[0] https://www.freebsd.org/cgi/man.cgi?rc.conf(5)
[1] https://disco1.sajber.se/
[2] https://github.com/sebcat/yans/blob/master/tools/freebsd/vm/...
[3] https://github.com/sebcat/yans/blob/master/tools/freebsd/vm/...
[4] https://github.com/sebcat/yans/blob/master/tools/freebsd/vm/...
> This is my biggest wish for OpenSCAD.

Even better would be a procedural way to "measure" things on models returned by code.

e.g. a method that would return a sorted list of intersection points between a 3D line and a model.

This would be a killer feature for OpenSCAD.

This is all the more sad that the underlying engine (CGAL) does support this feature.
Docker - x86 images are a pain with M1 Mac. If you can run ARM images, it’s already as fast as running natively on Ubuntu.
The other stuff works great on M1 - photos, videos, etc.
Honest beginner question: Why wouldn't I just unwrap the values first and then do computation with the unwrapped values?

I get how Maybe types can be useful for parsing something or doing IO but once you get your Maybe value, wouldn't be the first action to unwrap it? If it is Nothing you can either provide a default value or just stop right there. I don't see the sense of dragging the Nothing further done with you and having to deal with potential nothingness further done the stack even if you have the tools to make it look nice.

Maybe there are other functors where this makes more practical sense?
The Mnemonic (which I heard from Merlin Mann's podcast) is to approximate the pronounciation of "Csikszentmihalyi" as "Chick sent me, hi"
I don't know any online community that esposes some of the ideas I believe about web technology. There's "handmade network" but they don't seem to be much into web programming.
That figure is after subtracting idle power. It’s right there on the chart.

The workload is described as "Compute MT" (i.e. multithreaded), compared with "Memory MT (i.e., memory intensive Multi-threaded workload), with a third bar on the chart being the average of the two.

It seems to me that the "Compute MT" is the closest to the measurement that Intel or AMD would describe as TDP. The M1 is a ~25+W chip, not a 10W chip, if we’re going to make a fair comparison with Intel or AMD equivalents. It’s still a great CPU of course, but it’s not magic pixie dust.
Static compilation is great but all of those languages require you to jump through hoops or have significant caveats to statically compile programs. Go is the gold standard for static compilation, and it’s pretty great to be able to deploy a single file!
Ok! jacques@modularcompany.com
Most of history across the world has seen conflict between the wealthy merchant/scribe/craftsman class which would become the capitalists, and a landowner/priest/warrior aristocracy which typically held power. While it's not the first time it's ever happened, the modern industrial world is by far the longest lived and most extensive alignment of capital and power.
If PHP was as good as Java (which you are arguing) then they could. But they don't. Why is that?
I think they should use map in the text and fmap in the Haskell examples, while explaining quickly why Haskell uses fmap. You can translate an example with map in Python, JS, Java, etc. fmap is Haskell-specific. I also think we shouldn't tie "functional design patterns" to Haskell so much, but that's a bigger issue.
"...and you're happy with the time spent", to exclude time blindness, zoning out in a meeting, etc.
I used a pixelbook with Android apps as a daily driver for a couple years. I wouldn't use the touchscreen unless I absolutely had to.

It gunks up the screen and a mouse is just more precise.

I had the option of "tablet mode" and the pixelbook is pretty much the thinnest notebook/tablet on the market, but even it's 12" size is just too big to hold in "tablet mode" for extended periods of time.
> Coming from assembly language, I always found the anti-goto sentiment rather cute. A beautiful restriction, but ultimately arbitrary. Like writing poetry. Or those novels that do not ever use the letter "e". Why would an otherwise sane person write code with "rep" and without ever using "jmp"?

There is no need to use GOTO when a language has functions/procedures and exceptions.

Of course it makes sense in Assembly or more rudimentary languages, or in specific cases for speed optimization (getting out of multiple loops).

However, I must admit, sometimes I'm sick of the way Go "deals" with errors so I resort to GOTO to manage HTTP errors in my HTTP request handlers.
Impact Without Burning Out
Unfortunately it was a first hand account, solar sunrise 1998 was the event but many of the details aren’t exactly public. The critical bits where it was being routed through a compromised machine in Baghdad, many DoD systems where running email alongside more mission critical applications, and the timing was the lead up to the first Iraq war.
You cannot win this argument because for some people Lynx in a terminal is an acceptable way of browsing the web.

Also, people argue in bad faith all the time and a lot of people for whom it isn’t an acceptable way of browsing the web would pretend it is anyway to win an argument.
Text in librsvg starts to get better
what do we have for people in the service industry who burn out? what advice do we have for them?
totally agree, cyber-bullying is mostly due to anonymity, and technology is well developed, and hackers find their way to do heinous acts and hide behind, this type of abuse cannot simply be prevented by banning social media, the cause is deep within the society's roots.
Lesson learnt from the blog post.: Avoid Jane Street. Hostile interviews are a red flag. It's okay for the interviewer to be unconvinced. But active hostility in a setting like this with a stranger indicates serious problems with the organisation's culture.
It's not just about the code quality, although that's an important aspect of it. It's the quality of everything. The development environment. The architecre. The product itself. The "engineering" mindset.