skysight-inc/HackerNews huggingface dataset:
Yes, and the conservatives have been clear on this from the beginning. I remember watching Question Time a decade ago when I was turning 18 and people obviously asked about austerity and the conservatives response was not "we need to stop spending in order to help the economy which will then help poor people", it was "the goal of our government is simply to grow the private sector".

Thatcher even said that the eventual goal of the UK was for all the labour to be highly skilled. The vision is a nation of software devs, engineers, financiers, lawyers, and managers driving their car to work or paying whatever for the expensive train ticket.

We even have a pipeline that takes you directly from university graduation to these high end jobs. These jobs then re-educate you with their own bespoke courses.

Basically, the point of austerity was always to try and starve all of the public aspects of the country. It is almost all by design.
The big difference is that the first function may be be wrong, but the second is quite obviously wrong.

The smallest odd of a list of numbers > 9999 is not 9999.

The smallest odd of an empty list is 9999 is not 9999.

The smallest odd of a list of even numbers is not 9999.

The first function does seem easier to understand but relies on global state (is_end_of_week, is_end_of_month) and side effecting functions (run_payroll).

Neither of these functions should survive code review.
I just recently wanted to print a 250 pages pdf "book" that we did for my grandma with her recipes. we wanted to print all pages in color but oh my god, printing services were EXTREMELY expensive at around $0.70 usd per page!! It would have costed more than $150 to print the whole thing.

Then I looked at self printing. Buying an inkjet and 1 set of ink carts was like $130. Even if I borrowed the printer, the ink was VERY expensive.

It is 2023... printing pages should be extremely cheap both in color and b&w. Why hasn't there been innovation in that front?
Buying a launch used to cost around 60 million or so, that would still leave you with only 2 million dollar to build and operate one satellite. The costs to SpaceX are certainly lower, especially for reused ones, but still makes me wonder how cheap the satellites are.
If the axe bounces off it must be blunt. I’ll let someone else test though.
I mean, since we split systems up because the whole can end up being worth more than the sum of its parts, there's definitely a knowledge of the whole to be kept besides knowledge of the parts. You have to budget for this.
Am I the only one who is amazed by this technology?

> Please don't upload photos containing offensive content. Uploads that may contain such images will be rejected automatically.

> Non-photographic and low-quality images require a review before they appear in search results.

How does it know what is "offensive"?
Is this configurable?
I don't want to upload photos of people (for obvious reasons) but other than that,
does it even know the contents of a photo to tell if a photo is offensive?

Is a photo of a shelf at a grocery story selling beer offensive?

Is a photo of ice on the sidewalk offensive?

Or is it just about human nudity and porn?
I use all 3 OSes everyday. Work on Windows / WSL (Ubuntu) and macOS for personal. Gdb is great but nothing can touch VS debugger. printf only is insanity.
It's funny how "efficiency" isn't actually defined in economics, but people keep using it.
I deployed this recently and added a bunch of pictures to it. PhotoPrism prominently features an AI-generated (?) 'description' on each photo, but for 98% of my photos, it was unable to come up with any description. The install procedure is needlessly complicated, there's no good reason for an app like this to require docker.

Overall, I was underwhelmed
Generalizing from your first paragraph, things occupy only one chunk when they're an idiom that you know well.

That you know well. This is why there's so much disagreement on this stuff. Different people have different idioms that they know well. You're never going to be able to reduce "what is simple" to something everyone agrees on.

There's an actionable part of this observation. If you're responsible for a code base, it should use a limited number of common idioms. Have everyone working on the code base learn and use those idioms in preference to other approaches. Consistency reduces the mental burden on the reader.
> Chromebooks (Linux in disguise)

I don't think a win for Chromebooks counts as a win for Linux, except in maybe the most narrowly technical sense.
I only looked at the S series, as per the link.
An early 'easter egg'
Rail is different I think. Private companies successfully operate rail networks all over the world. The NYC subway system was built privately and only fell apart due to urban flight. Most of Japan rail network is private I believe, and more than a dozen companies. I think Stockholm's subway and regional rail systems are privately run and have been for ~30 years.
So you compare your explanation of a code change to GPT's?

Or you send your explanation to ChatGPT to rate?
It was fairly long series of checks, some complicated, and they mixed up an or and not case when merging them into the single if.
That's exactly the problem that obscenely highly paid leaders are supposed to be solving. And when they don't, they still get paid obscene sums.
Idk enough about this discussion to argue it, but his hypothesis does not imply your second point couldn't be true.

> your answer is just a hypothesis, not a proof. these things can be studied (by studying abiogenesis in-vitro), and it's not certain these decisions were "flash frozen" like you describe. 2-, 4-, and 6- nucleotide coding systems might have coexisted in the RNA world, and 4- could have won out for some reason.

His hypothesis is, at least in part, “4- won for some reasons for which we have no explanation, and it stayed that way for some reason [that we may or may not know].” I suppose the reason would be that 4- was somehow better suited for the particular use-case at the time.

Of course there’s a ton of interesting details to discuss to discover, and whether if multiple systems coexisted is one of many fascinating things to discuss, and his response never said otherwise.
Yup, and in the embedded world, they are used to achieve encryption of the OS firmware, thus preventing reverse engineering of the device, protecting IP and securing devices through obscurity.

I'm thinking of enterprise grade networking hardware for example. Their main OS ROM is encrypted and they will refuse to decrypt if the boot process is altered.

There are no real secrets or user data being protected by the encryption. Heck, actual passwords and user configurations can be stored in clear.
Your comment was dead, as are all your comments and submissions. Probably another case of a spam filter gone bad. As dang says[1], email hn@ycombinator.com and they'll solve it.

[1] https://news.ycombinator.com/item?id=36577441
You can always build and tag your own docker image using the docker files included from source. Or simply follow the docker files as install instructions:

[0] https://github.com/photoprism/photoprism/blob/develop/docker...
This is just part for the course.

Those who think "europe is good on privacy" and want others to "shut up about it" ignore the deep corruption that exists (with regional flavours) which is usually shielded in bureocracy and process to pretend it's doing things on behalf of people and not simply their corporate quid-pro-quo friends and their self preservation interests.

But hey, it's easier to pretend "things are fine and that the problem is 'the right'" or some other boogeyman that dares criticize things outside the overton window.
It’s not the cost for me, as I was previously using Pixels which weren’t tremendously far off in price.

I’ve had a Mac since 2014, after years of complaining about them. Then the M1 came out, and I became a zealot, because my base-spec Air trounces my fully-spec’d i9 MBP that my work gave me.

But the real trick that keeps people in is the ecosystem. I switched to an iPhone a couple of months ago. Other than some iOS complaints, the handoff and interplay between devices is incredible. Answer a phone call on the Mac? Sure. Copy a URL on the Mac, and then paste it on the iPhone? Yep, no problem. Apple solves small, annoying problems, and does so without friction. Things just work.
We need to rearrange our brains. USPS provides a valuable service to the country. It does not need to make a profit. It should be evaluated based on the value it generates for the people. Why does something like the mail system get treated differently than something like road development, which is not expected to bring in any revenue at all let along a profit?
Maybe look at what Wolfram was doing a few years ago, https://writings.stephenwolfram.com/2019/02/seeking-the-prod...
You want a bunch of teens with iphones putting their greasy fingers all over priceless artifacts and you are amazed that someone would push back?

If you're hiring an untrained person and your only requirement is that they have a telephone, you're going to realize pretty quick that most of the documents you wanted to scan got sold to the black market.
I have a very small and simple Samsung laser printer I think I bought it 9 years ago. It's been amazing for the odd printout I do every year. No dry ink, fast and no frills connecting it to any OS through USB.

I should use my arduino one to make some sort of printer server.
Budget Hound: easy-to-use iOS budget planning tool
A lot of people are still hesitant about starting to manage their personal budget, as they feel it's.... too complicated.

You can plan your expenses, incomes and savings for a month and get a perfect daily limit calculated in less than 60 seconds. I developed the Budget Hound for my personal needs (I was soo tired of finding a great tool that could replace my crazy excel spreadsheet), and then my friends and more and more people started to use it.

I will appreciate your feedback as I am constantly improving my app to make it comfy for everyone.
California Bill Aims to Reduce Waste by Reining in ‘Sell by’ Dates
> That The Economist, the City of London's answer to Pravda, published this article at all is telling.

Do you mean it's extremely left wing? Or pro-authoritarian capitalist? Or the most left-wing publication you can find in an otherwise capitalist group?
I'd say focus on the area you feel most comfortable on, that site is seriously great but a more modern version could bring to bear some useful things like numerical methods and interact with the trove of great research as well. https://optics.byu.edu/textbook is an open source wiki type textbox that I really enjoy.
Make that 450 actually :)
"We can then separate out that complexity even further if we move the determination of the value of paid_today into its own function."

Ouch, and this immediately makes it less obvious what's going on, because you have to look up the function. In this case, the name is self-documenting, but that's far from always the case. And even then the extracted function seems to conflate 2 concepts, 'pay day', and 'eligible to be paid', and the code even looks suspect/buggy; which is more clearly unambiguous:

(one and two or three)

(one and (two or three))

This kind of extraction is only useful if you need to re-use the encapsulated calculation IMHO, otherwise just comment each term, or use something more powerful than "if and or then", eg decision tables, etc.
Shout out the Geophysical Institute at UAF. I did an internship there when I was in school
So fine her all the way into insolvency and assign community service. How does her imprisonment help her victims?
That's because the "wine runtime" is much more stable than the "linux runtime" (whatever that means).
Twitter has a functional website though, and you can do a lot more to block trackers there.
It's debatable whether it was ever fit for purpose at all though.
Animals have the instinct to shit in front of you and not feel the slightest discomfort doing so too. Should we all start shitting in front of each other to more closely align our behavior to animal instincts?
It does default to “For you” when I change between accounts in the same app.
> In your restaurant, would it make sense for your chef to spend their first six months on building a stove? No, that doesn’t make a lot of sense - your chef should instead be preparing food and supervising other people in the kitchen. Buy the stove, don’t build it yourself.

By that logic - why even have staff in the first place? Pay for a catering service, don't make the food yourself.

> This may sound obvious. Yet, at VC-backed software startups, I see software engineers spending months on building “internal tooling” without shipping an actual product.

That may or may not make sense; but more importantly - it's independent of whether or not there's VC money. In fact, VC's may want to supervise you to make sure you're only working on getting something to market.
It's also that companies won't pay more for the work no one wants.

And elite companies won't hire less "brilliant" but worth ethical to do the boring work. During the fat times, they paid people too much for work they hate that wastes their talent. Google is full of PhD scientists maintaining CRUD apps.
They abandoned CentOS, created CentOS Stream which has its own set of issues, mostly you need to send an email to the actual package maintainer to remind them to update the package. And now the package sources are held behind a subscription portal.

This is being hostile towards open source. And as someone else pointed out, the reason we're mad at Red Hat is because they were built because of the open source community, but now they've shown that since their acquisition by IBM, their goals have profoundly changed - they are now seeking to be more profitable, if it's by IBM's orders or not, we can only speculate, but there is a correlation here and it's not just a coincidence.
If I have a function call to WHAT_DO_I_DO_AM_I_LYING, that's no better than a block of code with a comment that says "WHAT_DO_I_DO_AM_I_LYING". The difference is that, once I look carefully at the code and find out what the called function does and that the name (optimistically) isn't lying, then the called function only takes up one line in the code I'm looking at, whereas the in-line block takes up several lines (plus the line for the comment). For me at least, the function call takes less mental space (if the function name is accurate).
So if you have your PE license and are writing software that controls a commercial airplane system or a spacex rocket, you are not an engineer doing software engineering?
James Cameron spent 10M to built his submarine. It is impossible at present time to build a orbital manned rocket for that amount. Therefore the submarine is easier to design and build.
“ADD PAPER”, “NEEDS PAPER”, “CHECK PAPER”, “NO LETTER PAPER”?
There has been innovation. Epson marketed new inkjets that take liquid ink which is quite cheap. Something like $10 per bottle which can last for thousands of pages. Perhaps you should check them out. The line-up is called "ink tank". Other manufacturers have followed suit with similar products.
Sounds like Amtrak... the zombie of a train service, constantly revived by new cash injections from Congress whenever it does poorly (which is always)
Cuts both ways - people in general are largely motivated by profit, not just corporations and their executives.

Do people prefer to buy the package of ground beef that's $9/lb or the one that's $5/lb? When faced with a choice, most people want the cheaper one, disregarding the harmful externalities that make the lower price possible. Nevermind that the more expensive one is better for their bodies and the environment. Most people and corporations are married by the same motivation: to make and save as much money as possible with no regard for the harmful effects.

If profit-seeking consumers shift their motivations, profit-seeking corporations will naturally starve, and something higher than profits will prevail. But people won't change. Nobody is going to vote for the government to ban the cheaper but more harmful beef farm.
Isn't variable name length a factor there?

There's a dogma that variable names should be super descriptive, but I came to programming from science where X, y, phi, gamma can be both highly generic and ambiguous and highly meaningful (everyone knows what X@beta means). I try to find those opportunities elsewhere.

Or at very least start a function that takes an `employee_qualifies_for_a_bonus` argument and immediately say `eqlf_bonus = employee_qualifies_for_a_bonus`. There's a time for understanding the domain and a time for understanding code. I
I found that the meaning of the first one was a lot easier, but there are a lot of assumptions about the called sub-functions... Mainly that they actually behave in a way that's consistent with their names. (I've gotten bitten by that a lot).

The second function is harder to to understand in the sense of meaning, but easier to understand in the sense of raw behavior. I can see more of the code that determines it's actual behavior, and can inspect and trust that the logic is appropriate.
Hurl, run and test HTTP requests with plain text
Hmm.

While I don't doubt that ITAR is especially complex, following legislation is pretty common as a basic requirement in software development — say GDPR, or tax rules, or COPPA, etc. — it really doesn't seem to me that this is pushing all that hard for anything specific and detailed enough to even justify the claim that they're calling for a specific level of complexity of legislation.
The EU issued fines to Google and Meta for billions of dollars a few weeks before they decided this data transfer would be allowed. Wonder if they'll actually be required to pay the full fines now.
Ask HN: Why do functional programmers hate loops (for, while, etc.)?
Why do functional programmers hate looping constructs of imperative languages and ignore them as if they don't exist?
Tried two games... The laser did not work if there was any (enemy) piece on the diagonal... So I could destroy any pieces with the laser.
Feeling similar due to phone just being faster is not the same as a loss of performance.

You are still paying performance for using web apps, and even though your fingers don’t feel it as badly, your battery sure does.
I just had the same sort of realization actually, trying to explain to myself why I dislike micro-functions: it pollutes the vocabulary that I need to know at all times with super low value information words that are only relevant in very particular contexts(and that I don't necessarily trust to not be mislabelled).

This is an unappreciated value of using code frameworks and doing things the 'framework' way. You might have a somewhat convoluted function using framework or std lib functions to do a task but anyone familiar with the tool can just read it top to bottom and have a genuinely deep understanding of what the code those and what edge cases might show up.

If you convert that into your own function vocabulary by wrapping the 'basic' code into extra methods... nobody can read the superficially more elegant function and know anything more than what the function names are telling them. It's like they're reading pseudo-code and can only guess at the implementation subtleties unless they annoyingly 'manually' inline the code by jumping to and reading through the custom function definitions.
Really fun. Clock can be fixed and small issues here and there but fun game.
I think this entire article has missed the point.

For all the blather about enabling creatives, the fact is that the moment one of those creatives "gets political" (as determined by Threads, however they want, with no human appeal), their content will become effectively invisible [0].

Since a huge amount of creativity revolves around political themes - inequality, police brutality, racism, etc - this means that sooner or later creatives will start realizing that Zuck has Zuckerberged them once again.

And it's not just creatives. A large portion of science is inherently political - as we've seen demonstrated amply in the last few years. Threads can say - "hey, we were open from the start that this is a safe space, a conflict free zone - so please remove your political science which shows that oligarchs are burning the planet, and never reach our sheltered normies again".

Even (especially?) education is political. Will teachers get shadowbanned for pointing out they can't afford pencils for their class? Or for asking to be able to teach evolution in the South? That's up to Threads, and it's being spun as a good thing that the place will be "less toxic".

Meanwhile, fossil fuel companies, too-big to fail pharma giants and banks, KKK-funding beer companies and anti-abortion chicken sandwich shops will be heavily advertising to these hundreds of millions of Threaders. That's not political though; because money.

Any meta-Threads about this can be deemed as 'political', and thus made invisible.

I think this is a giant brainwashing machine; even worse than Facebook. And it won't make people smarter, or give people more time to engage in politics offline; it'll just make reaching any anti-corporate tipping point that much harder.

0 - https://www.theverge.com/2023/7/7/23787334/instagram-threads...
It did the same for me, and (at least when I looked at it) there was no way to just manually tag photos/identify subjects.
Nah... We've had Workspace for a long time and there are still users that adamantly refuse to use Google Apps over MS. They actually have good reasons as well. Since Google just has web apps only there's always extra steps uploading all the office docs they get from other businesses.

We tried blowing Office 2013 away on everyone's machines after being told most users didn't think they needed it. Now, a few months later 90% of our users have asked for a 365 license.

What typically happens from what I can tell is that most businesses just end up having a mix of both 365 and Workspace.
Privatisation and everything that goes along with that (eg deregulation, "small government") is nothing more than a scheme to extract money from government to private corporations. There is a revolving door of politicians and civil servants who go from overseeing and enabling privatization to the industries they privatize. It's why Ajit Pai, former FCC Commissioner, now works for Verizon.

Privatization for key services (eg public transit, health care, power generation, housing) has been an unmitigated disaster, almost without exception. It's mystifying why anyone still supports it for any reason other than self-interest.
“PAPER” would be enough to trigger some logical checks for most, surely?

I have done a stint of helpdesk work and can’t see that this would be too catastrophic.
Get an older Dell XPS 15. Newer gen are above this price point but 2-3 gen back will be very nice.

Battery, WiFi chip, memory, and storage are all upgradeable; you'll just be signing up for a given chip generation. L
What harm in NATO encircling Russia? That they wouldn't be able to attack neighbors with impunity? Isn't this concern and outright admission they had plans to murder their neighbors?

Russia does whatever it wants to 'win' at an imaginary game of aggression chess. Then they say whatever it takes to 'explain' it.
It is announced last year [1] called SUSE Liberty Linux . I think priciple converting current RHEL/CentOS repository to own inhouse repository like Oracle did [2] or MS did [3], and get the money from providing subscription for support and security.

1: https://news.ycombinator.com/item?id=30006699
2: https://docs.oracle.com/en/solutions/migrate-centos-ora-linu...
3. https://github.com/microsoft/CBL-Mariner