skysight-inc/HackerNews huggingface dataset:
> Obviously that points to larger problems though.

Does it, though?

Given that the readership of this site is ostensibly hackers and hustlers, including plenty of people with side-businesses from which they are at least trying to earn money, is it really so odd that somebody might be trying to do a deploy at an "unusual" time?

I'm as guilty of this as anyone else in the past, although I try to restrain myself now, but I'm constantly amazed at people who want to wade in with a hot take on practices and processes off the back of next to no information.

Here are reasons that I can think of for deploying at an unusual hour:

- As you suggested, production is broken

- Plenty of companies exist whose busiest times are weekends, or where events happen at weekends for which systems need to be available

- It's a side business, so it gets worked on outside of normal business hours

- It's an important source of income that will be disrupted (regardless of the size of the business, or whether it's main or side revenue)

- It's a startup, and people who work there are focussed on making the business a success at all costs (different points of view on whether that's a valid life choice but, for me, grown adults should be allowed to make their own choices without facing undue criticism)

- The world has mostly normalised on a Monday - Friday work week these days but there are still countries that have a one-day weekend, or where the weekend is split (I'm not sure if Thursday/Friday is still a norm in any Muslim countries these days). Point being, Saturday might be a business day or an important trading day

- The company could be a total shambles with poor processes and practices run by clueless management and leadership (but we don't know that and we shouldn't assume it)

- I'm sure there are plenty of other reasons for deploying late on a Friday

But, no, GP decided to lead with, "It’s late night Friday. Don’t." which I think is pretty arrogant, and to be discouraged. As I pointed out, we really don't know what's going on here, and deploying on a Friday might be a perfectly valid thing to do.
In our backend team we almost exclusively write integration tests.

For the frontend we do automated ui tests with a service called Autify.

This is not by any means extensive, BUT with very little time investment we get catch most of our bugs.
Show HN: 2D Duel Shoot Game
Last in Town
- Just released
- funny 2D duel shoot game in a western city.
- Opened for feedbacks

There is a time to shoot and a time to reload.

All duels have a different strategy, be smart.

But you will be vulnerable when reloading or shooting... be careful.

Only one will stay alive.

Manage your stress and shoot at the perfect time.

Only one will survive in each level.

Available on stores

Android: https://play.google.com/store/apps/details?id=io.mcflydev.shootnkill

iOS : https://apps.apple.com/us/app/last-in-town/id1670161425

Hope you get fun!
Nest the if statements then, perhaps in an else branch. Relying on short circuiting to avoid side effects or improving performance meaningfully is pretty shaky.
Though Ubuntu LTS has more sane exceptions for things like browsers and desktop apps pre-snap.
An instant camera using e-paper as film
What does "am familiar" mean? You have heard "of" them, or you have read their work?

With Skinner, even if you just read a biography, I would imagine that it's hard that one would not want to Google more about his stuff... his "Baby In A Box" thing, pigeons playing ping-ping, 1960s learning machines, etc.. And there are several very interesting YouTube videos about these things, many originals from the 1950s-1980s. If one is even just mildly interested in learning more about the kind of behavior modification that Skinner popularized, it seems really odd to me how one could not look at the man himself.

Besides, there are photos in most biographies. [1]

I don't expect the person on the street to know who Skinner is. But if someone makes their living writing blog posts and books about Skinnerian ideas, I do expect them to have done their homework.

When I was interested in Jung, I actually went to Küsnacht. Even met his grandson. Watched all the video interviews with him that still exist. And I'm not a journalist at all. Just deeply curious when I encounter someone with ideas that interest me.

But perhaps that's exactly my point:

Being successful in writing and marketing books about behavior modification and actually modifying behavior are two completely different sets of skills.

OG Skinner one the one hand and these popular books based on his ideas on the other hand are, to me, polar opposites:

Skinner did the experiments and found the things that worked. But he was terrible at anything one could consider marketing or self-promotion. The Aircrib story is the best example. Good stuff; terrible packaging.

A book on today's bestseller list about behavior modification that's written by an author who, apparently, has never even read a biography of Skinner, or watched a single interview with him, is the very opposite. Great packaging; zero original work.

Skinner, to me, is Zero to One. Self-Help books repackaging his ideas are One to Many. It's totally fine that this second category exists. Yet if people struggle with the second category of material, I want to encourage them to go looking closer to the source.

Like in programming, where you may go from using someone else's paid API to using an open source library. It increases your understanding of the problem space, makes you feel more confident in your abilities, and, most important of all, makes you appreciate the work of all those that came before you.

[1] B.F. Skinner: A Life, by Daniel W. Bjork is amazing. I think it would be a fun read even to someone not interested in psychology per se, given the "hacker mindset", natural curiosity and "make do" mentality that Skinner exemplified.
I'm not imposing anything on anyone. Merely stating the inevitable.
Dominion vs. Fox News lawsuit [pdf]
"Dark patterns" like what?
Yeah who cares about making needless changes to art. A lot of European art is white centric, maybe we should paint other races into it to make it more inclusive?
> Spoiler: it's hardware.

Yeah, this isn't MP3 on a C64. It's a C64 controlling an external MP3 player.
Yes, I was waiting for someone to write about it, but no one else did. I can see such a vast API that TamperMonkey offers in comparison to the competition. I don't have an immediate use of that extended API, but can definitely see using them in future.
100 Days CSS Challenge
I think the basic question -- what would it take -- is actually quite simple if you unpack it.

But the question conflates two totally separate things -- being conscious and thinking.

The easy answer is the one to "thinking". And this requires it to contain an actual working mental model of the world that gets updated, and that it uses to reason and act in order to satisfy goals. This is GAI -- general artificial intelligence. And it's opposed to just the pattern recognition and habit/reflex "autocomplete" AI of something like ChatGPT. There are lots of tests you could come up with for this, the exact one doesn't really matter. And obviously there are degrees of sophistication as well, just as humans and animals vary in degrees of intelligence.

As for actual "consciousness", that's more of a question of qualia, does the AI "feel", does it have "experiences" beyond mechanical information processing. And we can't even begin to answer that for AI because we can't even answer it objectively for people or animals like dogs or dolphins or ants or things like bacteria or plants. We don't have the slightest idea what creates consciousness or how to define it beyond a subjective and often inconsistent "I know it when I see it", although there's no shortage of speculations.

As for the rest of the question -- philosophers have come up with lots of ethical frameworks, but people legitimately disagree over ethics and academic philosophers would be out of jobs if they all agreed with each other as well. When we do come up with a thinking AI, expect it to be the subject of tons of debate over ethics. And don't ever expect a consensus, although for practical reasons we'll have to eventually come to mainstream decisions in academia and law, much the same as there are for ethics in animal and human experiments currently for example.
So where do they expect to get the 3-8 million in extra funding just for their projects? From the current whole budget of OWASP of 2 million...
I think the author is speaking only from the perspective of dealing with tech companies in the VC domain. With that context, what you quoted makes complete sense. Which is another discussion in itself.
Haha, right - as I was thinking about it I was feeling simultaneously sentimental and ghoulish.

Like, "aww, what a sweet idea, to respectfully retire and preserve someone's well loved toy," and then at the same time "yes, it would be easy to make money here by mass-cremating someone's well loved toys".

The line between the two feelings is apparently pretty thin. Perhaps I'll just stay out of the funeral industry lol
real-world cpp lives together with static analysis, which obviously catches this
The Appeal to Authority (or rather, the deference to authority) fallacy is insidious, regardless which direction is comes from. The founder may see themselves as the unique authority because they are the owner, they laid the groundwork, and they know their customers. Alternatively, the founder may see themselves as completely ignorant in a space (say BD strategy or industry marketing) and defer entirely to a professional firm or consultant.

Both of these are folly. Yes, the founder must have opinions and some amount of ego -- they must remain bought into a mission, but the key to success is flexibility, rationality, and willingness to change one's mind. This is a global truth, too. Basing a company (or a business unit, or a product team, or a functional group, or whatever) on a cargo cult of ego may work for a while but it will create far more pain & suffering than success.
I’m a perfectly happy Ubuntu user. I stick to the happy path and things generally go smoothly for me.

I don’t expect to need to change distros for the foreseeable future.
Given that there is a multitude of C++ compilers: Depends on your compiler. But in general, most compilers have a warning for this sort of thing.
But does Debian have the same security support speed as Ubuntu?

Debian is a community project, therefore everything is best-effort rather than guaranterd like Ubuntu or RHEL/-clones.

Although for all the hate it gets, Ubuntu Pro is genuinely a good offering when comparing it to something like RHEL.

Also fuck snaps, no body wants to use that crap, neither on the desktop(flatpak is just better) or the server(use containers already).
No. I do not make decisions like it is my company. For it is not, and I have no guarantees that the company is going to reward me. I make decisions as if I am a mercenary, not an owner.

I enjoy the work, and I know it has value, so I need my money today.

If a company wishes to participate in this sort of arrangement, I tend to put in more than healthy. If a company shows signs of trying to take advantage of my offer, I will remind it that I do not belong to it, no matter what a contract may have made them think.

It can be a very strong relationship, if the company wants it.

But I’m not taking a bullet.

There are likely others at or around your level that view your work as not important. You likely view theirs as the same. Maybe not. Either way, who is right?

Are you ever trying to accomplish something despite a different business unit? You might just be thinking of it like your company.

Are you ever willing to let a goal slip for the greater good? You might just be thinking about it like your company.

Dropping into that head space is important. But if it isn’t your company, it is as delusional to live in that headspace as it is to think the company cares for you in the way any person could. The CEO might. The company does not.
What's founders syndrome? Never heard of it
I think mp3 playback requires a reasonably fast multiply instruction, and the original 68000's 70 cycles per mul @ 7MHz, or 100000 muls per second doesn't qualify.
Nearly all of the Docker containers I build are based on Alpine. Occasionally I go "oh shit, this uses that musl thing not glibc, I need to remember to... <some minor tweak>".

The one Docker container that doesn't, in fact, is based on CentOS so I can run Davinci Resolve in CentOS when my desktop OS is really Ubuntu.
"as the adage goes, you ship your org chart. org chart is chaos. so we ship chaos."

I am pretty sure they don't know what to do come March 19 and have not thought this through.

Loyalists are getting promoted. Competent people are leaving for better jobs.

Seems like a middle eastern country I used to know.
Depending on what your code is doing, even if there are good endian-agnostic abstractions, endianness bugs are still likely to slip in from time to time unless you're defending against them by having your CI run on a big-endian platform. QEMU does this, and although CI-fails-on-BE is rare, it happens often enough that I wouldn't want to lose the coverage. (On the theme of the original article, IBM actively support this by giving us CI resource via the IBM LinuxONE Community Cloud machines, as well as being active in upstream development.)
Please read up on the definition of functional programming (or rather: pure functional programming, since you talk about "functional-purism").

Because, everything you are saying is either forbidden nor discouraged in (pure) functional programming. In fact, it is totally orthogonal.

The point of functional programming is solely to prevent the same code to behave differently just because it is used/called in different parts of the program. You can still use objects, you can still make them have methods that operate on only a limited part of the state and so on. No problem with that, I do it all them time in fully pure functional programs. In fact, I think this is best practice.
Compilers have no trouble ignoring header files outside of your project for the sake of warnings with -isystem instead of -I, it's not different for linters
Agreed, that matches my experience too, it's the clueless leading the clueless. I actively steer people away from OWASP regarding training and reference materials.
They didn’t reintroduce the error; it was never completely fixed. I created an issue for it. https://github.com/OWASP/CheatSheetSeries/issues/1089
I would like to hear more about the old code you had and how it got corrupted by time. What is the before and after?

You might be able to recover them by building or downloading an older version of your browser or whatever dependency that caused the issue.
Are there architectures which LLVM doesn't support, which aren't retrocomputing or 16-bit microcontrollers?
The more remote places don't have grocery stores in walking distance. And when you need a car, you might have to bike 20 km to a carshare parking.
What you described reflects that corporate structure and might be industry wide. They look at code as only valuable in the monetary return it makes. They might even consider it a cost center. That will always be a less than pleasant place to work in an organization.

So find places and maybe start at industries that consider their code an asset or profit center.

It’s ultimately just a valuation perspective, but understand to a business everything has a market context or business case. It’s can be infuriating, but better to know the system than blindly suffer through it.
If updates are assuming they don’t have to support whatever those peculiarities are, won’t the support burden be massive? As opposed to starting in a supported state and enforcing a policy of not breaking existing support (until it’s so disused no one complains).

Who decides what degree of “popularity” is sufficient to maintain default support?
I've been working in remote environments for 20 years. Productivity issues do not magically go away and are rarely just "people being lazy" unless you're not interviewing well.
I can't believe people are really on here thinking that zero data was considered and it's just a bunch of execs going off random "feels".
I also find (and have heard from others) that the act of writing things down helps you to remember them better (which somewhat obsoletes the note). It also, in my experience, forces your brain to think about them more because it has to externalize them through the slow medium of your hand. It results in surprising new thoughts being generated.

Some people I know follow the system of, if they want to remember it, they write it down. If they don’t want to have to, they type it up.
If your stereotypical regular Linux user is already what it is, imagine an opinionated power-user, which I would jokingly classify as the epitome of insufferable.

Every Linux power-user is opinionated - very opinionated, so every single one of them should make their own distro. Which is actually a good thing ( Freedom, remember? ), Everyone should make whatever they want, everyone else is free to criticize or ignore.

On the practical side of things, we want someone else to make the things we want, how we want. That's what employees are for and "the market" disagrees on the viability of that.
For me it, the drive to be more disciplined stems from the fact that I live my life so compulsively and I want to experience more things in life that require discipline.

As an example, video games and mindless doomscrolling eat up an inordinate number of hours. Hours that are precious and could be used towards a goal that I would feel proud of experiencing or achieving.
Same for me. Ran perfectly on my Thinkpad X1E (including for gaming!).
Akka seemed to win in Scala
ADTs is a concept I've had a tough time understanding; the approximate definition that made the most impact with is considering them as a specific type of enumerations: Ones where each variant holds a value. Is this correct?
I probably average about 1 1/2 questions per session, and a total of 7 or 8 questions a day. However, I am not experimenting with it, rather I am just using it to get good summary information.
How to Download Large Google Drive Files Using the Command Line
And that breakeven point keeps getting shorter as the conversion equipment gets cheaper. It used to be much longer, back when the concept was new.

Solar already generates DC and inverts to the grid, so tying it directly to HVDC could probably be done by just changing the inverters, rather than adding a whole standalone conversion station. So that makes it cheaper still.

The next frontier will be when a customer asks for DC handoff.
I'm in the opposite camp: more names means more identifiers to keep track of while reading in case they might be referenced more than once, even if it's just a short but nonetheless distracting check "ok, that's where the scope ends".

There are certainly times when I take the name approach nonetheless, but more like a last resort, or when I expect full contact stepthrough with a debugger. If I deem it likely that I will get by with merely brackets and copious amounts of whitespace, that's what I'll do.
That’s the way Swift enums work.

Here’s an interesting little exploration: https://littlegreenviper.com/miscellany/swiftwater/writing-a...
Finally a bit of sense.

You don’t test an oven by tasting a cake.

If you make wild claims that the oven makes great cake and you don’t include a recipe, then it is capable of making cake, but it is not a cake machine. Even with a recipe, someone has to prepare the batter and put it in the oven.

If you include a recipe and someone adds cayenne, they should not call your recipe spicy. That’s idiotic. They made it so.

When will people stop treating the cake and the oven as the same thing? Are they aware how mad they are starting to appear?
Alex Acosta, who became the US Secretary of Labor from 2017-2019 and more or less evaporated when Epstein went to prison. I’d love to know how that appointment came to be.
Stadia Maps, right? Your pricing is better than MapTiler, but both have the same issues for us - there's a significant jump from free to paid (no pay-as-you-go option) and server-side caching is prohibited. Both of these are completely sensible business decisions, but don't make sense for us specifically.

We have plenty of server resources from both our local partners and various cloud providers that have non-profit grants, but basically no regular budget to spend on SaaS, so self-hosting everything is the only thing that makes sense.
Another way is to bombard micromanagers with questions all the time and note each decision they give (in an excel sheet) and ask more questions about each decision and hold them responsible for every little thing they answer. When a decision is reverted re-ask all the questions again. Soon they’ll be avoiding you:)
I love the excuse that they claim SMS 2FA has been "abused by bad actors" but forget that there's certainly a shitload of ways to use virtual TOTP, FIDO2, etc that just mean someone has to change the script and they'll be back in business in no time at all.
Can recommend considering Endeavour as a Manjaro alternative.
> when the AI knew too much about the global map.

Is it that players hate good AI or that flagrant cheating breaks immersion? I think the latter would be an interesting AI target: can you make something which plays well but doesn’t do things which are obviously impossible for the player to do in-game - e.g. helping the AI with some extra resources isn’t glaring but having attacks perfectly target things the AI shouldn’t be able to see, or instantly repair damaged units, etc. is something you could never duplicate even if you were the best player in the world.
Someone needs to tell that Erik Baker that using lots of big words doesn't make you sound clever, it just makes you sound like a smartarse 15-year-old trying to impress their English teacher.
There already are porn stars whose careers depend in them looking like celebrities. Long before AI, in the early days of the internet, there were “nudes” of Gillian Anderson/Dana Scully. You own your body, bur your face is not as unique as you think it is. https://nypost.com/2021/07/13/uncanny-taylor-swift-lookalike...
Or you compile with -Wall -Werror, as you should do for serious projects.

I'm not saying C++ is a great language, it's not, but if you remove the secu then shoot you in the foot, it's your fault.
Only if they use Excel instead of these tools buddy
Ukraine wants Cluster Munitions and Phosphorus Incendiary Weapons
Nope! Checking the crawled database is smart, logical and makes more sense. I didn't even think of it. Probably I should have asked Bing Chat.
Forcing snap.
Downthread there's this:

>>Canonical has been taking steps to advertise their paid offerings in increasing velocity lately. Is there something that's been triggering this?

>https://techcrunch.com/2022/04/21/canonical-now-hopes-to-ipo... "Canonical now hopes to IPO in 2023" (April 2022 story).

So it sounds like it is the start of an active commercialisation of the users. Since Snap started getting pushed more heavily I've been looking to change. I've tried Pop_OS but it doesn't fit well for me. I want to stay on a relatively vanilla KDE ... probably try Debian next (been on Ubuntu for something like 15 years, was Slackware before that).
It's part of the language [1] [2]

> Builtin operators && and || perform short-circuit evaluation (do not evaluate the second operand if the result is known after evaluating the first), but overloaded operators behave like regular function calls and always evaluate both

[1] https://en.cppreference.com/w/cpp/language/operator_logical
[2] https://en.wikipedia.org/wiki/Short-circuit_evaluation
Or with -Wimplicit.
You can definitely give AI agents 'personality' - preference towards certain tactics, different play style, built in weaknesses.

In the context of Civ, you could have each civ leader have unique personality, and that would add a lot of color to the game.