skysight-inc/HackerNews huggingface dataset:
You read a ton of comments about there not being a choice and still don't get it - congrats- you could apply to work at Mozilla Foundation.
> Generally speaking the reader will need to have seen some sort of external marketing in order to make it to the product website and then on to the docs.

For me it goes like this:

* see an article or link description that promises something interesting. If it has a sound rationale and not too many buzzwords I continue.

* quickly skip the homepage/brochure to look for hints of real use-cases or some hard, tangible problem they solved, ignore the rest.

* check the pricing tabs to get a rough idea of the features, figure out if I'm in the target audience and to find out whether the pricing model scales with my needs or with theirs.

* check the documentation, look for quick starts, specific guides, integration with other tooling.
we are looking for additional product validation. Would you be interested to tell me a bit more about your situation and what you would consider useful in a call?
Live streaming is the new future of E-Commerce
Are you sure?

Not in the “haha, yes of course”, in the “I’ve spoken to HR and have it writing” kind of way.

I’ve heard this is not true from others, it is simply true in certain geographical regions where local laws override the contract you signed.
Carbon offsetting a round trip to Bali comes in at around $120 dollars on the first site I tried.

No idea on their specific methodology etc. but I do believe that the general principle of using financial tools to find the best solutuons to problems is sound. But that seems like a sacrifice thats roughly on par with buying a toaster and likely is immaterial in the context of a vacation halfway around the world.

But I'd guess the kind of person that wants someone to fix their holidays personally before they fix the toaster industry (or the agriculture industry that makes the bread they toast) is likely to reject such a solution for some reason as it makes solving climate change a bit too easy, and applying market forces and capitalism to replace fossil fuels is just as much of a threat as government regulation of the same thing. Is there any solution that they're going to like if the direct result is to reduce the wealth, power and influence of the oil and gas industry?
Individuals and interactions over processes and tools?
> Anyone on the planet will respond to advertising if an advertiser figures out how they identify high and low status markers. It doesn't matter how rational they thought they were before that, on aggregate.

Isn't there also some component of effective demand to this? If you're completely satisfied with your material needs, a marketer is going to have a very tough time selling you on something. If you don't care about being seen as uncool and don't like smartphones, you're not going to get one. Etc. In the extreme, a hermit monk would just reply to a sales pitch with "still tethered to your possessions, I see".
WHO Covid-19 library contains hundreds of papers from hijacked journals
How well do the Android apps run on it (using Anbox)? I'd need that for running my banking app.
I believe that this confusion comes from the avoidance of low level details.
A function is just a location in memory where instructions are stored. Returning a function is nothing else as returning a pointer to a memory location.

In languages like Java that want to hide everything memory related I also was struggling with grasping what a function really is. Is it even allowed to return a function?

Languages that hide memory locations and direct memory access are one of the reasons that some programmers are struggling with functions returning functions.
It's probably bandwidth. You may serve static html from L1 cache and still get DoSed.
The heavens underground: Soviet Union’s opulent metro stations
Python implementation is super low quality.

A lot of their tests were checking for Exception raises and were basically testing AttributeError due to a change in interface instead of the initial error they were testing for.
This conversation started when another developer was alarmed that the strlen() call in the for loop looked like it could be quadratic. I think we owe that dev the respect to not dismiss their concern as being "obsessed with micro-optimization but lacking knowledge of compiler optimizations".

I try to write code that is as plain and simple as possible, and make it obvious what it does and that it has no gotchas. I want my code to be understandable both for new developers, and for my future self, who will surely be less smart than I think I am today.

Here is the original code, with the loop body elided:

for( int i = 0; i < strlen(s); i++ ) {
}

It is trivial to rewrite this as:

for( int i = 0, n = strlen(s); i < n; i++ ) {
}

This is a very common idiom, and now it is perfectly clear what the code actually does. Obviously, it only calls strlen() once.

Of course, as I pointed out in another comment, if you're writing a loop that iterates over a C string, you never have to call strlen() at all! You can just use the canonical C string loop:

for( int i = 0; s[i] != '\0'; i++ ) {
}

Or if you like brevity (which I like too):

for( int i = 0; s[i]; i++ ) {
}
but see also: Alfred Bester, The Men Who Murdered Mohammed.
The overwhelming majority of Americans do not have a positive balance of savings minus debts. I'm not talking about the lower class, I'm talking about middle-class people who own mortgages.

You may have ten grand in your bank account, but you also probably have a mortgage for another four hundred grand. Inflation to the degree that you describe would cause tens to hundreds of thousands of dollars of that debt to evaporate.
Walkthrough video is too fast. Looks good otherwise. Better if you add a video with audio instructions.
I will never understand why people think grey text on a white background is a good idea.
Lots of people building customized, hacker-friendly "cyberdecks" these days. Just pick your favorite.
> Anyone on the planet will respond to advertising if an advertiser figures out how they identify high and low status markers

Really? "Status markers"?

I suppose I respond to "status markers" subliminally, like anyone else does. I recognise brands that have been advertised, and I rate them higher than unknown brands.

But I despise advertising, especially the shotgun advertising that encroaches/takes-over on public space; and UBE. Turning buses and taxis into advertising billboards has degraded public space. And a lot of shotgun advertising involves externalising costs - UBE in particular costs an awful lot in terms of the inbox-owner's time.

I'm conflicted about this. I'm OK with brand promotion, which began in times when many products were adulterated (e.g. flour mixed with brick-dust), and a brand tied product quality to brand reputation. But brand marketing seems to have gone hand-in-hand with price competition, so that "top" brands nowadays are often correlated with cheap components, built-in obsolescence, and crap service.

If we're considering a tech product (think SaaS), then a website that has obviously been manicured by someone from Marketing is a serious turn-off. Especially if the marketing dude has removed all useful information.
America solved a large part of air and water pollution issues as a side-effect of policies which shifted production largely off-shore. That solution won't work for the remainder.

The trash problem seems to have worsened - especially in the cities. Municipal governments have eliminated street cleaning from their service portfolio and now seem to mostly rely on things getting so bad that some civil group sign on to their adopt-a-highway program and make some effort to clean things up once or twice a year. Hard to take care of the home when you're busy sending trillions to destroying people's lives in other parts of the world.

The difficulty I have in looking optimistically toward the future comes from my lack of confidence in the leadership of this nation. An entrenched two-party system and a complicit media has led us to a place where we cannot adequately provide for basic human needs (education, health, and housing). Without caring for those things for all of the people living within our borders, the hard choices we will need to make are going to bring us through a period of turmoil as the pains of adjustment are felt unevenly throughout our society. Someone is going to lose and it probably won't be the rich and upper middle class. We will likely end up covering them for the loss of their beach-side property while the poor sod living in the countryside will be treated like we currently treat our homeless.
Knuths paper is interesting.

If it were not for being autorejected in code reviews I would use goto:s alot more.

Even if I want to break out of nested for:s there is always whining about jumps.

In some cases it makes the code more readable as Knuth shows. Dogmatism is a bane of programming.
For sure. But I think there's value in both focusing on systemic issues, as you say, and in associating individuals with the indelible stain of their own immoral actions.

You can say that the rise of the Nazis was due to flaws in the Weimar political system and weaknesses in social institutions at that time, but you can also make sure people know the names of Eichmann and Heydrich and similar.
Sindre, Imba looks refreshing - like coffeescript but for the full web stack. Will give it a shot on my next project.
In this case, nginx is serving a 502 status. It's possible whatever stack was running that was being proxied to by nginx was killed, possibly by RAM or CPU limitations. I don't think it's a bandwidth issue here
https://puri.sm/posts/anbox-on-the-librem-5/

Also, see the FAQ.
Yes, but the name choice was quite intentional and probably giggle inducing. This is about as toilet humor as it can get.
In what ways if I may ask?
Devils advocate:

GP might work for a company working on a niche application (be it software or hardware) that requires code to be written like the aforementioned and anyone who specialises in that field is already adept in reading and writing code like that.

I'm not going to defend that choice of programming style for everywhere but software development is a broad industry where you do get pockets of people working on code that looks totally alien to others who are used to see C or ALGOL derived languages. Take LISP for example, there is LISP code in half of all European TVs shipped in the 90s. Forth is used in loads of places, even FreeBSD's bootloader is written in Forth. Machine code is almost completely unreadable for humans yet a massive chunk of software in the 80s was written using it.

My point is the industry might have standardised on a subset of syntax styles that seem readable to the lowest common denominator of developers but it's a massive industry with developers using all sorts of exotic languages effectively. Let's not go down the rabbit hole of saying they're doing it wrong because their code looks alien to you before you've understood the field in which that code is running in.
Grizzly bear DNA maps onto Indigenous language families
Nerds can also be influenced by by one upping your competitor’s specs sheet with gimmicks. Features that look good on paper, but are badly implemented and have limited usefulness in practice.
Back then it was Netscape and NCSA Mosaic. IE was being forced upon us by Microsoft.

In the end, it's Google everywhere. My how times have changed.
The post in question used a video from a typical street con-man to argue his point. I argued against that, street con-men don't do very well even if the guy in the video tries to argue otherwise, so it isn't very good evidence that everyone are easily tricked.

You can try to argue that a group gets tricked in other ways, but that is a different argument, I just punctured the street con-man part of the evidence. You could even argue that the street con-man is good evidence that people actually aren't equally good at spotting cons, since some falls for it even though most don't. And since the effect is so dramatic for street con-men maybe the effect is similarly dramatic for marketing? Who knows, anyway it isn't good evidence in his favour at least.
Why not ask Obama instead of Biden? ... It was his campaign promise... Twice...

I mean Trump was an idiot and all but at least a part of the wall he promissed was build
I had one of these. Sadly, there was only limited software available for it. It was very useful (at that time) to be able to receive faxes though.
The guy who organized the tour didn't mention anything about a heat pump - and he was the developer who had bought the building, so I guess he would have known. Heat pumps were invented much earlier, but didn't become commonplace for this purpose until after the oil crisis. Plus, IIRC the system was only HV without the AC. With added AC and heat pumps to reduce the heat loss, it definitely makes more sense...
And the sequel, Claudius the God. Some of the page-turniest yet most glowingly literary fiction you're likely to read!

This was Graves' idea of making a quick buck by dashing off a potboiler, btw:

> Graves stated in an interview with Malcolm Muggeridge in 1965, that he wrote I, Claudius mainly because he needed the money to pay off a debt, having been let down in a land deal. He needed to raise £4000, but with the success of the books he brought in £8000 in six months, thus extricating himself from his precarious financial position. [2]

- https://en.wikipedia.org/wiki/I,_Claudius
Your statement about "detailed firsthand knowledge" hit home and reminded me of a topic related to job/task automation--single points of knowledge.

There is a big push at my employer to eliminate single points of knowledge and this push typically takes the form of voluminous amounts of documentation that is 1) never proofed, validated, maintained, or updated, and which 2) no one ever reads. Makes more sense to have a solid continuity plan and create a work environment that doesn't cause employees to pull a Jerry McGuire. Probably also worth recognizing the value of observing the practice in action vs reading someone's opinions on it.

Humans aren't fungible.
To paraphrase @popehat, this is just how federal prisons are. (OK, I don't know how such prisons are in the UK, but presumably they're bad.)

That's a Bad Thing, for sure. But I suspect most of Assange's fans aren't upset about the treatment of Assange because they oppose the carceral state; it's because they're fans of Assange.

In other words, if you say "I'm opposed to the conditions of Assange's detention", I suspect you're not saying you oppose the normal conditions of legal detention--which perhaps you should--but, rather, that you are opposed to the fact that those norms we happily apply to millions are being applied to Assange.
Maybe we should rebuild the Large Hadron Collider as the core of a silicon fab/s
I do not understand the initial statement that an 18 year old from Yemen, that they mention was preparing to start college, was "conducting research in Afghanistan", until he was arrested in February 2002. So this is research by at best a high-school kid in taliban-ruled and/or US-occupied Afghanistan, and it seems like a bizarre claim.

This article also conflicts with the birth year on his wikipedia page, according to which he would have been 22/23 in early 2002. This birth year estimate comes from the Guantanamo authorities however, so not sure whether that is very credible either.

https://en.wikipedia.org/wiki/Mansur_Ahmad_Saad_al-Dayfi
I can tell Apple in no uncertain terms that they will not see more of my $$$ if they let vendor A to do business with customer B as there is no way to do this without making my experience shit.

Very likely not just mine:

https://www.bloomberg.com/news/newsletters/2020-10-08/china-...

Your logic doesn’t seem to apply in real world to China or Steam vs Epic vs other stores situation.

So at best you are not convincing.
I remember reading somewhere in the 90's that Bill Gates proposed this as a potential solution for spam.

If I remember correctly his proposal was to have the sender solve a cryptographic puzzle, which takes a bit of CPU time. For normal every day use you wouldn't notice, but this subtle costs and throughput limit would make spamming no longer economically viable.
That sure isn't how my lactose intolerance went. I stopped drinking milk as a child because it became unpleasant and as an adult have no trouble eating the many dairy products that don't have a lot of lactose (cheese, yogurt, etc).
Thanks for the polite reply. :)
Does your router support disabling DHCP? You can just run your own DHCP server in that case.
After reading about various vulnerabilities which are the direct result of backwards JS language features - most recently prototype pollution - I’d be hesitant to use JS for writing scripts.

Maybe I’m just being paranoid.
Psychedelics are a space to explore themselves.
Perhaps there would be a shift in the domestic populace.

For example, that segment of the populace that championed waterboarding and defended it as a legitimate interrogation method involving a little discomfort, and believed it wasn’t torture, have come to show their true colors and believe they can’t breathe and are being tortured by wearing a mask.
Yes, it is DMARC which can break mailing lists. Neither SPF nor DKIM breaks them assuming the mailing list does not modify the mail.
The concept of an international criminal court itself is an affront to national sovereignty, and isn’t very widely supported. Among those who go along with it, they tend to stop once it creates an issue for them.

The ICC primarily prosecutes the war crimes of war losers. They’ve convicted some Nazis, some Serbs, and a few African war lords here and there. But it’s silly to presume they have authority over any nation that exists with even a modicum of national security.

You won’t see George Bush, or any other US official before The Hague for the same reason you won’t see Xi Jinping, or Putin, or Netanyahu, or Tony Blair, or Ali Khamenei, or Rodrigo Duterte… there.
https://en.wikipedia.org/wiki/Hashcash
The Amazon Effect
>>>That's over six decades of being wrong--sixty years of belligerence with nothing to show for it but a horrific body count

The problem with this argument is we have no way of definitively proving it one way or the other. If Communist Vietnam hadn't spent 10 years and a million lives dislodging the US, could Communism have overtaken SE Asia? Would Vietnam have had the military experience necessary to depose the Khmer Rouge after that regime killed ~25% of Cambodia's population? How many excess deaths would you be counting if Thailand's Communist insurgency had eventually turned into a Khmer Rouge clone (itself having copied the worst excesses of Mao's Cultural Revolution)? https://www.cia.gov/static/e73ecdedf076611c592b1d8397cbe61a/...

Bottom line: Hindsight is 20/20. Don't assume that the outcome we have is the worst one possible and therefore all has been for naught. That said.....hold people accountable for shit decision-making, and there definitely has been that in spades.
Assume your blessed with perfect balance and athletic ability... Electrically speaking, wouldn't you want to hop on one foot?
I really take offense with some of the descriptions in the article. He did’t learn aerospace engineering from watching YouTube. As one of my professors (who had multiple degrees from India’s finest engineering schools) put it on the first day of class “helicopters are generally a bad idea…”
I wonder if they could use some kind of magic to create synchronous versions of all async APIs (e.g. https://giuseppegurgone.com/synchronizing-async-functions/)

Although this would be fighting the language...
There’s an amazing book by Rory Stewart, a UK diplomat/former MP, called The Places Between. He walked across Afghanistan in 2002 and the book documents his journey. it gives a nuanced cultural description of the tribal landscape (and is fascinating not dry). It’s worth picking up
> That includes not only politicians but the parts of a democratic society that isn't necessarily directly elected, within the justice system, military and media.

You missed money, who make up the majority of the overclass.
What a weird way of looking at things. With that frame of mind, I could explain all the issues I've had ever. "Oh, I hit that wall on the way out from the parking? Too bad I didn't have a racing education, then it would have been prevented" and blame it on lack of education.

The reason he was killed was because the main rotor hit his head. It did so because it wasn't following safety precautions. None of that has anything to do with his formal education.
Ballistic protection (and much more rigorous materials and component testing) seem like they'd have played a more critical role than a seatbelt in this particular instance.

That's not to say that personal restraint system isn't a critical component of safety equipment. Just that its role in this specific mortality mode would be negligible.

Helicoptors are complex. There are many ways they can kill you (or those around you).
> Returning a function is nothing else as returning a pointer to a memory location.

That depends. If the language supports proper first-class functions, it's basically an instruction pointer plus a record of the variable bindings the function code is "closed over" (i.e. parameterized on). Many languages do support this nowadays.
Ask HN: Linux distro based on Docker images?
I've stumbled upon a distro where you set up your system as a stack of Docker images, possibly on a discussion here regarding NixOS.

Does that ring a bell with someone?
I think a bit of disillusionment with mathematics is healthy, but it's misguided to call this kind of thing "a fundamental flaw in mathematics".

For one thing, in my experience, working on real life problems involves a whole lot more "memorizing problems" than working on mathematics.

And thank goodness for that! When I drive over a bridge or install an app, I really don't want to hear that whoever made it has an aversion to memorizing problems and solutions. Solving a real world problem is usually boring. Making a real life thing well is usually about correctly putting together many pieces that some other people have put together, in a way that's roughly similar to how somebody else has already put a lot of those pieces together before. Most of the work is well-trodden and uncreative.

I think part of the reason mathematics feels like it's about "memorizing problems" is that getting something deeper than that out of it is a habit/skill. A very important aspect of the vague notion of "mathematical maturity" is a habit of looking at a solution to a problem with the mindset of "how could I have come up with this?". That is, unpacking a problem and solution into some deeper understanding or way of thinking that led to it. As opposed to filing the problem and solution away "as is" into some toolbox to be referenced later. A lot of "gotcha!" solutions to mathematical problems are unsatisfying precisely for this reason.

In a lot of cases once you've read a problem and read a solution to that problem, and understood the solution, you've done about 10% of the work. The remaining 90% is this difficult work of unpacking and repacking lessons from that solution into something that actually deepens your understanding of what the problem is about. Sometimes reading the solution is actually doing negative work.

In other words, if you look at this problem and look at this solution and think "neat, but I don't get anything out of it beyond 'neat'", that's normal and fine, and probably correct. But that doesn't mean there isn't anything in it beyond 'neat', and a big part of learning mathematics well is to dig deeper than that even when the problem and solution don't force you to. Whether that digging is worth it is up to you. (It's often kind of a crapshoot in terms of payoff.)

But that's a more complicated situation than "this shows a fundamental flaw in mathematics".
Which war crimes were committed? Be specific.