skysight-inc/HackerNews huggingface dataset:
Working link while the page is down: https://web.archive.org/web/20230218100221/https://exple.tiv...
> Also, "uninstallable" means "cannot be installed"

Nope. In writing, it's technically ambiguous -- it could mean both "can't be installed" or "can't be uninstalled" but to me it means "can't be uninstalled". In spoken language, it depends how you stress the first syllable and both could be used, I guess.

That's why if you want to denote the installability of something, you should use the nonambiguous installable-noninstallable pair and leave the word "uninstallable" for the "can't be uninstalled" meaning. AFAICT, whether you should spell it as "non-installable" or "noninstallable" (note the hyphen) is up to you.

Again, in my personal experience, uninstallable definitely means 2 in [1]: "uninstall-able". Pretty sure I never saw that word used as "un-installable".

[1]: https://en.wiktionary.org/wiki/uninstallable
Statement of Jewish scientists opposing the “judicial reform” in Israel
And if you adopt a moral framework that emphasizes those common ideas in defining the category of “bad people” (or perhaps “deplorables”) then you’ve got a powerful justification for elites to dominate ordinary people.

It’s an inversion. We used to hate GOP voters for working on Wall Street and at McKinsey and laying off workers, while bombing Afghanistan and Iraq. But now the target is the traditional views of nationality, sexuality, etc., that GOP voters have in common with those laid of workers and Iraqis and Afghans.
I actually think there’s a fairly large gap for new and innovative geospatial tools/solutions in the open-source space.

It’s true that alot of databases that have “Support for Geospatial” - but that can mean a a lot of things, often with little overlap in functionality, or very specific, inflexible access patterns that breakdown with even small variations in the problem.

I don’t think it’s too uncommon to find that none of the available solutions work for particular real world problems, and often it comes down to handcrafted solutions like this.
There's an old apache project: libcloud (python) that tried to generalize various cloud service apis. It was.. not good.
Twitter will now charge for SMS two-factor authentication
New smarter Copilot blocks insecure code, writes 40-60% of developer output
I’m not so sure this is great news for Twitter. Twitter can drive 5x as many clicks as… a niche tech website that has 0 business plan. It essentially puts a cap on Twitter, the most active/popular account can drive less than 1m clicks, and you can’t reproduce that because that account is owned by a guy literally tweaking the algorithm to prefer his own posts. Now think about advertising where the click through is going to be an order of magnitude lower, and the reach is going to be orders of magnitude lower. It’s not really setting the world on fire…
No modern language seems to have oop tho (golang, rust)
The only programing principle anyone will ever need is the Principle of Least Surprise.

Everything else can and should be constantly re-evaluated.
some legends say code should speak itself
I just can't shake off the feeling that all those "be productive" techniques are nothing else than means to force oneself to do something one don't want at all. Human psyche will take a serious tall on these activities, even if one have a positive reinforcement system well set around them.
Yup no turning back now after supping on CK3 wine.

I tried EU4 but graphics/text-rendering issues meant I just couldn't play it. I look forward to an EU5 with a CK3 quality make over. Sounds like we might have to wait a year or so Vic3 iron out all it's issues.
So the topic here really has nothing to do with .count, STL, C++ 20 or even C++ itself. It could happen in almost just every language.

A very confusing article.
Yeah I shouldn't have included that bit about libraries - if there is a config file, it doesn't matter how you parse it. My preferred ways of configuring in order of preference would be: having a config.h (for a few, highly customized programs, like my terminal, browser, etc.), environment variables (has the advantage of applying to subprocesses, which can be useful for some types of programs) and flags. Aliases with flags can be lost in a lot of contexts, but you can always place wrapper scripts in PATH which just exec the real command.

As a side note - the wrapper script approach is really powerful for fixing programs that you don't have the time to patch. In particular, if a TUI program doesn't clear the terminal after exiting, you can put it between "tput smcup" and "tput rmcup".
The interesting thing is that the adversarial strategy can be explained in a few sentences to any amateur Dan level player in a sufficient manner to use it successfully, assuming to be sufficiently strong.

When learning to play Go, you go to a number of steps, where sometimes you have to unlearn something you learned in a previous step. I am a weak amateur player (around 10k) and I only have a vague idea about aji (taste in Japanese) and no idea what good aji and bad aji is. I even don't master life and death. When AIs started to beat professional Go players, it seemed that they had a good understanding of aji, because they created good aji and avoided bad aji. They also played a very balanced game, overseeing the whole board, something that non-professional players often fail to do, and now the adversary strategy reveals that the AIs do not even have a good understanding of life and death and even fall for 'tricks' that I would have been able to counter.
A few hours to build, years to develop the need for the right features.
My point is exactly that, Intel, AMD and Google are the ones to blame for OpenCL failure, not NVIDIA.

And lets not forget that OpenCL came from Apple, which they gave up after messing with Khronos politics. Which is basically the reason Metal came to be, before Khronos decided what OpenGL vNext was supposed to be. Had it not been for AMD's Mantle, they would probably still wondering about it.

They were the ones that failed to provide tooling and libraries that would create a valuable ecosystem around OpenCL.

It is more than fair, it is always easy to blame others for our failures.
> And yet when I once sent him a picture of B. F. Skinner, he didn’t know who that was

I am familiar with Skinner and his work and I would also not recognize him from a photo. I also wouldn't recognize Freud, Jung, Pavlov, or Zimbardo from their pictures either. Am I missing something?
Misleading name: sounds like dating site.
> it is relatively easy to argue and have a consensus upon

If you’re a reasonable person, yes. But when you’re not, all kinds of crazy patterns evolve.

E.g. a boss saying “I’m perfectly ok with functions that take more than 100 arguments.” (Compiler does not even support this.) and code being copy-pasted dozens of times being perfectly readable, but is a sink-hole when you refactor.

Clean Code (Martin’s book, and the movement in general) is my weapon when stubborn colleagues will not listen to reason. Sometimes they will listen to authority.
Hackers Ran Amok Inside GoDaddy for Nearly 3 Years
I use :
- jquery
- vanilla JS
- Vue
I think the language is unreadable.
For me, the purpose of a programming language is to let a human talk to a machine.
Show me (for instance) control flow for the example function on the home page. It just isn't making things easier
But developing the new stuff doesn’t make the old stuff go away; there’s a huge userbase with trillions of lines of scripts and stuff to support.

It’s thinking like this that led to the fragmentation in the first place.
So, like any other instance of this (in academia).
I think it's pretty interesting
> Deckard

It does. Bloody awesome. I'm re-watching this video trying to understand some of the shorthand being used. There's "bang" for exclamation mark; "cap drum" (?) for `cd`. I can't figure out what words he uses to invoke `git clone` at 1:27 but it's incredibly futuristic. I wish my daily driver wasn't a Mac these days =(
My simple, effective org mode setup
Yes but being principled to the point that you do obviously stupid things isn’t good, and it’s even worse when idealogical zealots seize hold of power. We want people to poke holes in things which is what I think you were getting at, but they should be nowhere near anything serious.
Can you prove this?
Having all those files around from an app I've used long ago feels really untindy to me. Even though, practically, it's ok. It still bothers. Feels like if you dispose of some old stuff by throwing them on the roof. Even though it works, it feels messy.
Crusty Leaking Cells Kill Your Tech. Just What’s Going On
Nuclear Tourism: When atomic tests were a tourist attraction in Las Vegas, 1950s
…anything that requires hashing as a fundamental part of the guarantee. Which happens to be quite a lot of the structures most of us use every day. Sets, maps, etc.
If you email me I can send you my notes. Contact info in profile.
> frelling heck dmitiriid, nearly everytime you show up in my replies it's full of huge long dissembling.

Says the person who goes on a rambling rant with cussing, personal attacks, and little to no substance.

Every time you show in anyone's replies this really is all anyone can expect.

I believe you've already had multiple warnings on that from HN moderators.

So, at this point, adieu.
AI in Your Workplace: Efficient, Bossy, Dehumanizing
But we were not lied to in that regard.
(edit: sorry, reply does not really match your post, might have been better a level up? The bar connection to the "java vs c++" that I can come up with is that the pass by reference is not much of an issue when the general mindset is mutation-averse)

Java has come a long way since the "OOP is the bee's knees" days when people fully bought into OOP's out of sight, out of mind promise about mutable state. This started long before language features like records gave post-OOP the official blessing. Along the way have been a few odd intermediate stages like the bean craze that was all about exposing state and pretending that it's still OOP somehow, and the AOP adventures that explored ways to get along with all that mutability.
I think this might be a function of their DLC model, where they launch a barebones game and flesh it out over two expansions.

Civ V and VI vanilla are so much more boring and incomplete without their expansions
"financial products"

This threw me.
Docker-Compose Examples
This could have also been prevented using Yoda Notation with 0 == _someLongNamedMap.count(...).

https://en.wikipedia.org/wiki/Yoda_conditions
Any examples to add, or you just want to leave it at pithy comment?
Executives has larger, permanent desks (or offices) that don’t get bothered, and never get kicked out of a meeting room — but their assistants will kick you out of yours. The problem is invisible to them.
I understand the visceral reaction there, but OWASP is a nonprofit foundation, and conferences cost money to host. They were attempting to make the conference as cheap as possible by getting volunteers instead of paying people for whatever work they could, I'm sure.

If this was a for-profit company, I'd completely agree with you, but it's not.
It's worth mentioning Talon[0] here, which is a system for offline voice control as well, with great python-based scripting (and also supports eye tracking, though I haven't used it myself).

Using your computer or programming with it works like a charm, with some interesting and impressive projects based on it coming out as well, like Cursorless[1].

There's a great strangeloop talk[2] demonstrating talon and the actual state of voice coding, which is how I discovered it (hint: it's much better than you'd expect, and straightforward to learn at that).

[0]: https://talonvoice.com/

[1]: https://github.com/cursorless-dev/cursorless

[2]: https://youtu.be/YKuRkGkf5HU

Disclaimer: not affiliated, just a happy occasional user
instead of googling a recipe, you may just ask one of these models for a recipe. Imagine a huge set of potential searches that doesn't happen? that's quite a threat to google
Do you think that any other fix that makes it readable is incorrect?
How does the example not show control flow?
There’s some interesting discussion about how to potentially improve the design of the search space. Plus they had to manually simplify the final optimization algorithm, so it’s not like they’ve cut themselves completely out of the loop, it’s just a higher order tool
Canonical has been taking steps to advertise their paid offerings in increasing velocity lately. Is there something that's been triggering this?
This has names like dual track, popular in larger organisations. Everyone reports to a technical lead (your first example) and a management one (the second). Having one person do both puts a lot of load on them, popular in smaller organisations.
>"I recently had to uninstall some apps and it’s common for apps to litter files throughout /Library and ~/Library."

For ~/Library your application may often put its preferences in ~/Library/Preferences/ and partly in ~/Library/Application\ Support/. That's entirely normal and expected. But, no, for /Library that's absolutely not common. Very few applications run as an actual "installer" and even fewer of those request admin privileges. But it is annoying those few times some software actually does it. At the least you can always tidy it up yourself on the command line.
That was quite common during the Windows 9x days, leading to that long period of time of problems later under XP with old apps only running under an admin account.
I recall years ago playing some edition of "Galactic Civilizations" on single player and I started to get ready to attack a neighbour.

The neighbour saw this and sent me a message saying "If this were a harder difficulty mode, I would think you were planning to attack me!"
Yes this has been my experience of utilizing atomic habits. For me it was all about understanding the how and why of falling into or sustaining negative habits, as well as how the opposite is accomplished, and used this info to modify my most important habits- exercise, diet, and reading

I do get some of the OP blog poster’s anxieties about somehow optimizing every facet of one’s life using these techniques but I always approached atomic habits as making small but very meaningful changes over time and it’s been incredibly helpful for me
Look at this thiefdom of tools, ZAP is the only cool thing on this list, all the other things are bean counting apps.
Field Performance of Low-Cost Sensors for Particulate Matter Air Pollution
>I don't know where the temp sensor is on the board but it read 54 (about 24 above ambient)

The temperature sensor resides within the JH7110 SoC.
E2E for happy paths and unit tests for algorithms that are nontrivial, that’s about it.
An array is just a different way to implement a list data structure.
It also help to move each closing paren to it's own line, so instead of

)))

it looks like

)
)
)

It's almost the same number of parens, just a different formatting.
Detroit ZMC-2
"Show HN: Ractor – a Rust-based actor framework with clusters and supervisors" (2 days ago):

https://news.ycombinator.com/item?id=34813489

It feels like async / actor frameworks / gui things are permanently in flux. I wish clear winners would emerge already.
> That is really doubtful, especially at this point when they've been full of seawater for so long.

They have coating inside. This prevents corrosion for some time. Earlier this year there were reports of a cost estimate of $500 million and a time duration of one year for a repair.

One of the pipelines hasn't been damaged, but maybe needs some equipment replaced -> pumps.

> NS1 was operational for years

"Was". It wasn't delivering natural gas when the explosion happened. Russia had stopped the gas transport already. Various reasons were given - technical problems and the sanctions against Russia.

There was never any natural gas delivered via NS2. NS1 was stopped end of August 2022.

If Russia ever wants to sell natural gas (again) via these pipelines , then it should stop their brutal war on the Ukraine NOW.

> I don't think that's fair.

It is. There is zero chance that Germany will take any gas delivered via these pipelines without a full political change in Russia.
I...don't see how that's relevant to what I said, but.....ok? I don't really disagree.
In addition to the examples other people have given, I think Ruby does this very nicely by making map, filter, and reduce methods on collection data structures.

Of course, Ruby is a bit of a mixed bag, but for the applications where it fits, it can be very nice.
> ...you tend to find the code writes itself.

...in theory. The problem is usually that you had already spent a lot more time designing all your type constraints before "the code can write itself", then it would have been to just sit down and write some code to get the damn thing working first.

And at least IME, spending so much time upfront without any visible process results in too rigid "over-architected" systems which are hard to extend when the requirements ineviatably change next month (or even just an external system your code needs to talk to).

The best solution is usually to not give in to either extremes, but find a well balanced approach somewhere in the middle where you have some sane restrictions designed into the types to prevent the most obvious bugs, but not enough that the whole house needs to be rebuild if a little requirement detail changes.

> I will sometimes go days or weeks without even running the code I'm writing because I just have confidence in it.

...that's *exactly* what I mean, just that I don't see this as a good thing ;)
Around 15-20% test coverage sadly enough. As a solo founder, small team, not enough funds in the bank, the most important thing is shipping the next change and iterating from there
I guess:
f x -- obscure and mathematical

(f x) -- too many parentheses

f(x) -- PERFECT
Because I was replying to someone who talked about the 'military-side of this space'
If the CEO was micromanaging all the time but cycling their attention through multiple different groups over time you'd get this appearance. I can imagine that being a reasonable time management policy from their side.
First thing I thought of when I saw the original wrong code. I prefer the author's approach, though, as I do believe it is more clear, unless there is something performance critical about it that requires short-circuits for maximum efficiency.
An important thing to keep in mind is that the singularity is more of a mathematical dead end than a real thing that’s supposed to exist.

The singularity existing in the math suggests that our theories are incomplete, and I would say it’s not surprising that new theories of black holes would do away with the singularity.
> Closure is not a language so hopefully not?

Very true, the typo is strong in this one.

> rather than the persistent data structures you'd expect from a strong clj inspiration

What do you mean by persistent here?
I assume some kind of shared memory instead of copying?
Or something with more practical implications like deep immutability?

> looks a lot more like a description of Python datatypes

I am surprised where this sentiment comes from. Because of the initial comment?
Basically any language nowadays has maps, sequences and byte strings.
If I had to draw a similarity to Python it would be something along the lines of first-class generators.
The Presocratic Philosophers [pdf]
> The idea that you can take something non-trivial and just install it without issues across multiple systems is flawed

Why? If anything, the fact that you can't is the real flaw
It’s absolutely wild to me that AMD and Intel doesn’t collaborate to port PyTorch and Tensorflow to OpenCL/Vulkan. I just don’t get it. Seems like the obvious thing to do.
I would chip in. That’s a great idea!
With hundreds of thousands of employees outside the US.
Were the worked who wanted to continue striking allowed to, or not? Was the response of the Republican-dominated Senate predictable or was it a surprise? If I give fine china to a toddler who drops and breaks it, which party is really at fault?
Absolutely, for both cases.

I'm reminded of RSS back-in-the-day, 2007ish a bit before, when a good proportion of everything had RSS with full text summaries. Then publishers, both large and even smaller blogs, decided they'd prefer to give their readers a worse experience and moved to publishing only teasers, often that 'read more' stuff, or even just headlines, in their RSS feeds. Because they didn't want their readers reading it not on their property, even if that property was only a hit counter.

I can expect a similar backlash to GPT summaries.

The Postgres people may care less than the long form article publisher. I feel that the momentum will be towards better summaries, and these need not be any less intriguing - if an academic paper can manage a meaningful summary in a paragraph or two so can a major publisher - there will be some that don't adapt (and some, that due to a readership, won't have to) that will kick and scream as their boat takes on water.
Readability can be a subjective property.

For anyone who’s spent even a casual amount of time with S-Expressions, the example code is extremely readable. But if ALGOL-like code is your main source of experience, then Janet will look like executable line noise.
Flatpak applications under Linux get their little sandboxes under ~/.var/app/$application-id where they can create whatever they want and the user can remove it from there when needed. Except for that, any other path that the app can access is decleared in the permissions; or the user is very well aware, because he picked the file via filechooser (portal).

Soma macOS applications can use similar scheme, under ~/Library/Containers/$application-id, but for the user more difficult to know which one is supposed to and which isn't.
Debian is an ancient African word meaning "Can't be bothered anymore with whatever Ubuntu is pulling off in the next release".

I guess anybody interested in a minimal Ubuntu install would be better off installing Debian instead. The value Ubuntu added "back in the day" was end-user friendliness, where end-user is somebody not necessarily technical. But that's kinda pointless anyway for a minimal install. Ubuntu was also useful vs Debian for its regular release schedule and long term support but you basically have this with Debian too nowadays and it's been like this for years now.

Can't wait to have the linux kernel installed as a Snap package.
Show HN: I curated a list of 200 tools needed for product launch
Exactly. There's no reason for a font to be tied to a specific OS version.
I get happiness from strict routines and become depressed when they get messed up, and yet you tell me the latter is better. Maybe it is for you but we are all different.
Yet another casualty of poorly contrasting text.
You can with the "uBlacklist" extension