skysight-inc/HackerNews huggingface dataset:
If I had a dollar for everytime I heard “we had a tight deadline” as an answer to a question “why is this code so shi*y” I’d have more money than Musk.

There is no good code vs. bad code, there are just good programmers and bad ones.

And given how many programmers there are in total, roughly 98.76% of them are the bad ones :)

I am in my 26th year of this career and I can count on one had situations where a bad programmer wrote good code and good programmer wrote bad code.
Sounds like someone shipped a bug to me and QA didn't catch it
- Any good books on Nix, to get started?

(or even a quality online tutorial?)
I got addicted to an MMO (DAoC) long ago. Luckily for me it didn't cost me much money other than the bot accounts I bought and maintained. But, it did cost me other things. I dropped out of grad school, stopped working out, stagnated at my job, and became completely obsessed with the game. I treated it as a second job. Looking back the why seems silly and embarrassing - I was part of a guild that needed my help. Eventually I had a long term relationship end over the game. The next day I gave all my accounts away and never played again. I still play single player games when I have time, but definitely no MMOs.
This is the way. It also lets you pretty much seamlessly switch CI tools at any time.
Think before you post, next time.
https://free.oberon.org/docs/en/

On a glance it looks pretty limited, I see no way to access OS API, no networking, etc (more or less like Turbo Pascal).

Perhaps sufficient as educational tool.
> thieves know that all iPhones are locked like this and thus don’t steal them

Do you even believe this? I haven't seen any examples of thieves saying "stick em up! Oh, iPhone? Have a nice day"

Easy counterexample:

> an entire wall of iPhones (approximately 436) were gone

https://www.usatoday.com/story/news/nation/2023/04/07/apple-...
Sounds to me like a design problem, not a justification for letting companies maintain control over the goods purchased from them.
Gorilla: An API Store for LLMs
Of course, because tech and hype, woohoo. Never mind forests or even better swamps capture carbon "for free".
I stand corrected, but even the open version happened "much before" this one from Asahi. For kernel-level, there's already quite a bunch of previous work due to Android, so it doesn't really count, either.
Nah it’s because all the early preorders went to scalpers. When they announced it all my scalper buddies preordered one right away so they could do this
The math of diffusion image generation tell us something fundamental
"I just attended a talk on the mathematics of diffusion image generation models and it blew me away.

Takeaways:

1. The math is very “simple”

2. In fact, it’s so simple that this method shouldn’t really work

3. The fact it does says something very fundamental about the universe"
> Pretend getting to the moon would have cost a quadrillion dollars. We wouldn't have been able to do it.

This is a statement of reality, not economic system. A society that decided to divert resources, today, to building a Dyson sphere on Alpha Centauri would fail, irrespective of economic system, because the goal demands more resources than it can sustainably divert.
It was only part of what made them fast and they should absolutely have told their clients what the price for that performance increase was. Choice is fine but it has to be a an informed one.
This project is cool as hell. I really appreciate that it has very straightforward instructions and takes no time to get up and running, it's just a git clone and an install command.

The only quirk I ran into is that when I ran graphical programs, I would get a full-screen window with a blank prompt; I needed to move that window to another workspace in order for the running program to be displayed. The IDE seems to get smushed into the bottom corner of the screen in KDE and gnome for some reason (which I could work around by toggling windowed mode with alt+enter and then dragging the window to resize), but it works fine in i3.

Between discovering this and finally getting around to trying the Factor language, I'm afraid I'm going to be very unproductive on my side projects for a while..
I doubt it all that uncommon. Rust reject A LOT of perfectly valid ideas. Or, at least, it used to. Apparently this has been getting better.

If you look around at lifetime recommendations, for a while they were so annoying that most people were saying “just force a copy and don’t use lifetimes”.
> Craig Ferengi is too busy massaging his own ears

FTFY
I was scraping a Wordpress site a few months ago using Go and I had to spoof my user agent to get results. So it definitely happens
People don’t become addicted because they’re “dumb.” Addiction is a completely different beast
By far my favorite feature of matplotlib is that it produces readable and accessible plots by default. Font sizes and linewidths are not too small, the default color palette is colorblind-friendly, and the default colormaps are perceptually uniform. Other software (for example Matlab and Mathematica) have absolutely terrible defaults and require a lot of fiddling to get the plots right.
Ask HN: How did you make >$10k using AI?
I think it's more that the reward doesn't need to be valuable to the legal system in order to be valuable to the player. It's relatively easy to convince a minority of people to care about a reward that the legal system doesn't consider valuable. This feels very much like gambling for the player, while simultaneously skirting gambling laws and improving the house edge to 100%.

Most people say they don't care about that number at the top right on HN, but somehow there is still an awful lot of complaining about voting patterns. HN is almost entirely unlike a casino, but karma does demonstrate the phenomenon (of getting people to care about a legally meaningless reward).
Gambling is fun...if you aren't an addict.

Go down to the races, there is real excitement, real energy, it is fun. Saying it is "lower class" is poor (I would say that is ultimate "low class" mentality). Lots of people have other stuff going on in their lives, so they watch sport and having a small bet on makes it more exciting.

The gambling culture that exists in the US is completely bizarre because it is designed towards the most extractive, most pointless forms of gambling because of political pressure (the gambling industry are usually the biggest donors to both parties every presidential). Gambling is not something that should ever be fun by itself but something that can enhance an existing interest.

And most people can have a bet on their sports team, and that is it. They put on a accumulator, they bet on the home team, it is fun and ends there. Gambling addiction is something quite distinct from this (and something that only impacts a huge minority of people, usually under 1%...the reason why it is so pervasive in some countries, US and HK being the two most notorious is due to government intervention that maximises harm).

Poker is fun because it is social, blackjack is okay but verging into degen, there is a spectrum here.
Looping back to TFA: I've been trying to use this workflow more to get quality code written more quickly. I definitely have a habit of spending too much time polishing code - getting a draft/do-not-merge PR up with the core of my proposed changes up for review helps me avoid that, plus getting an earlier review helps with finding issues.
DX Is the New UX
UX emerged as a key competitive battleground in a world of many user interfaces (UIs) competing for the scarce resource of user attention.

But three key shifts

- unbundling of the value chain,

- growth in API-based business development, and

- the rise of protocols

are creating a new competitive frontier.

DX is emerging as the next big battleground in a world of many application programming interfaces (APIs) competing for the scarce resource of developer commitment.
Addiction isn’t rational and it isn’t related to financial planning or critical thinking.
I wasn't referring to TOU pricing, but actually exposing residential customers to the wholesale market prices that a commenter below pointed out typically run every 5 minutes in most parts of the US. The utilities and actual generator owners bid into this ultra-complex auction and get an instruction on where to go every 5 minutes that minimizes operating costs and determines prices at every node. These prices are extremely volatile (pretty much the most volatile major commodity) and change rapidly in short periods of time (example: from $25/MWh to $5000/MWh within a few minutes). The bigger players deal with these prices by hedging in various forward markets and through other contracts. There is a big push from academia and a lot of the big names in the industry to have the residential customers exposed to that so the demand side of the auction finally starts working which solves a lot of the pre-existing problems coming from running a market where demand is almost entirely inelastic.

I shouldn't have used "foaming at the mouth" as the connotation is pretty negative. I should have said extremely committed or something like that. These are all smart and good people trying to solve a major problem that's been ongoing for decades. The economist in me agrees with them, but part of me also has an aversion to the constant complexity creep in our lives as well as risk.
There is a driver for the Neural engine. Touch id doesn't work yet.
Bankman-Fried's Parents Stand by Their Sam– and Face Their Own Legal Perils
Growing geopolitical conflict has investors feeling guilty about defense stocks
These games provide no cash reward. This is clearly stated in the article.
No microphone unfortunately.
Most everyone can lower blood pressure by reducing salt, even those on BP drugs
How's the grass there? Do you like it?

I pondered about moving to OpenSuse, just to diversify, but I'm afraid my work laptop (Dell Inspiron) may not have the same support like Fedora provides (wifi card, "special" firmware updates, etc).

In my personal computer I use Arch. It took some time to adjust to `dnf` and copr concept of fedora. For example, since fedora isn't a rolling release distro, I had to jump through hoops to get emacs wayland to work.
Yup, it's like Euro Truck Simulator, but you simulate being a gambling addict. Oops...
> The company hasn’t shared a range figure yet

Ah, there's the rub.

But it is nice to see things advancing so quickly. Fast-charging really needs to be a thing. I am deeply pessimistic about battery-swapping. I don't think it would work.
> You could also phrase this as 'global GDP would triple from this initiative'

No, you couldn’t, not in real terms.

Let’s suppose a government diverted 2x GDP to this proposal. It can’t tax 200% of output—it must print money. G goes to 2x prior-year GDP. Pretty much immediately, every other component collapses to zero (besides expectations, the government is basically seizing all base metals production and transportation and labor) amidst hyperinflation. Which makes your real G, and GDP, lower than before.
If you're suggesting the self-hosted runners are equivalent to running locally, then no, self-hosted runners still require a commit + push and runs remotely with the added overhead of the job being queued, reported, etc.

The dream is to have something like a container _locally_ and be able to run something like:

> gh actions run
Existing laptops provide that higher level of abstraction, and audio quality is uniformly garbage.

It’s likely much easier for the open source people to do the work to deal with the underlying physics once, and then port it to all hardware. The laptop models are all essentially the same (they have a few electromagnets, cones and a few sounding boards). Each one has different parameters in their mostly-linear response curves. My guess is that after the first few models work well all the others will rapidly fall into line.

Something similar happened with printers 20 years ago. The open source stack implemented state of the art dithering and font hinting once and ended up producing higher quality output than the commercial windows drivers for the same printers.
What is considered "bad" is determined by the end-user (other companies, or organizations).

Here is what they already allow you to block:

- Adult Content/Gambling/"Tasteless"/Nudity/Violent

- High bandwidth: Video streaming, image sharing, P2P, etc

- "Legal liability": Inc. "hacking sites", hate groups, pirate software, illegal drug, school cheating, self-harm, et al

More information here[0]. You can enable at the parent or each child category. They'll likely add a new parent category for "AI" et al.

[0] https://learn.microsoft.com/en-us/microsoft-365/security/def...
I think one implication of there being ancient advanced societies before 10,000 years ago is that it shows that radical eco-primitivism will never be a viable strategy for dealing with resource depletion. This is because advanced society will always reemerge eventually. We either figure out a way to be sustainable in a high technology fashion now or we try it again in 50,000 years.
What would Samsung bring that Oculus Meta can't? Maybe better integration with the Samsung Galaxy phone ecosystem, but Samsung doesn't really have an ecosystem to begin with, the way Apple has.
> Another issue with being completely dependent on software is that during a catastrophic event that tears down or renders our infrastructure useless, it is safe to assume you will not have access to your money (which is crucial for your survival and well-being)

Your money will be the very last of your concerns then. You will need time and effort to repel the hordes wanting your food and water. You cannot eat cash.
I’d like to see better centralized support generally from CI systems. Six months of steady migration and a custom DSL seems alarmingly common.

CI Wishlist:

* testable outside of CI

* required steps based on repo characteristics (ex: security scans)

* central step and workflow definitions

* controlled rollouts/rollbacks to simplify migrations
So you’re bearish on OpenAI because you don’t think they can deliver AGI? I don’t think they need to deliver AGI to be profitable.
If someone has owned their house nearly fifty years and has not made any significant capital improvements, Zillow does not know what their heat source is, whether they have air conditioning, etc. Maybe their electric service is still fused, instead of a circuit breaker panel (or whatever the technical term is), and they have old fashioned two-prong outlets. My point is, Zillow does not have the same detail and historical info on a house that hasn't sold in so long, so their estimates are more questionable.

Despite your anecdata, I still wager that very few people as percent of overall homeowners have owned and lived in the same house for fifty years without making major improvements.
As other commenters have noted, large universities are quite heterogeneous and their administrations are fairly decoupled from their research activity, except in a big-picture sense. The timing is basically irrelevant because you might as well regard Stanford Data Science and the Stanford University Administration as separate entities for all directly-research-related purposes.

I'm a researcher at a large university (admittedly a grad student, and therefore more insulated from university administrivia than a professor), and I don't even know who my university's president is.
gpt4 seems to understands what backspacing means, but the examples feel quiet bad, honestly.

the chat was named "red and blue deletion and substitution"

> write a sentence that contains red^Wblue

The sentence you're looking for, with the use of the "^W" deletion notation, would be: "The sky was a vibrant blue after the red was deleted." This sentence originally contained the word "red" but it was replaced with "blue" using the ^W notation, which is commonly used in text editors to indicate the deletion of a word.

> again

Sure, here's another sentence using the ^W deletion notation: "She chose the blue dress, having initially considered the red^W." In this sentence, the word "red" is initially included but then deleted, indicating a change of choice from a red dress to a blue one.

> write a sentence that contains red^H^H^Hblue

Certainly! Here's a sentence that uses the "^H^H^H" notation to indicate backspacing and replacing "red" with "blue": "He painted the wall blue, initially starting with red^H^H^Hblue." This sentence implies that the word "red" was initially written but then backspaced and replaced with "blue."

> again

Of course! Here's another example: "The balloon was blue, not red^H^H^Hblue." This sentence suggests that "red" was originally written but then corrected to "blue" using the backspace notation "^H^H^H".

> write a sentence that contains red and blue

"The artist mixed red and blue to create a beautiful shade of purple."
It's not a zero sum game. All the enterprise companies hiring 3,000 engineers only need a tiny fraction of their software to run their core businesses, and most of it is legacy.

When a tech recession hits and clears out the clown car, everyone stops paying for software. You might be working on a team of 3 experts instead of 30 morons, but you'll work twice as hard for half the pay, with the same dickhead managers that treat you as replaceable cog, except this time they'll be right.

If I were you I'd stick with the easy money where you get to look like a genius for being able to write basic simple code.
If consumers don't care about their money, then who would?
Anecdote time.

In 1995, my dad bought a house in Southern California for $550k. He was able to afford that on a $150K salary and my mom did not work.

Today, that house is just under $3M. In order for me to afford that house today, I would have to make around $600K.

Housing "market" is not a market.
Someone just shared this on twitter https://huggingface.co/spaces/latent-consistency/super-fast-... which you can play with right now in your browser.
I was simply responding to the query about a non-patent-encumbered codec.
My main, albeit simple, local organizational pattern is: 1. everything under ~/dev 2. all projects are their own folder under a year folder. And if I ever restart work on something older, I move it to the current year.

I have hundreds of project folders and it’s helpful day-to-day to just be able to look in ~/dev/2023 for current stuff. But it is also relatively easy to find older things since I have a sense of roughly how far back they are. Making a new year folder right around Jan 1 and rolling forward active work is always a treat.
Gachas are, I think, basically identical. They appeal to a different demo using different processes but a lot of the people who work on games with monetization are using stuff that was learned in the gambling industry (i.e. how to maximize yields, how to treat whales, etc.).

Gachas are as problematic as casinos imo.
"Customers would like to block it". That list frequently includes Microsoft services that a customer doesn't pay for, and therefore wants to eliminate.

A lot of financial companies have an allowlist approach to their firewalls, so if it's not on the list it needs to be blocked.
> A PKI where the CA private key is not secret is not really a PKI now is it?

At the end of the day, _you_ are the one in control of the list of CAs that you trust. If you are, it is (maybe) security. If you aren't, it is DRM. This is a simple rule with surprisingly little grey areas. See eIDAS...

> I doubt 0.001% of buyers in any market segments has a clue about PKI

Does it really matter how is the DRM implemented? They don't want to hear about Apple DRMing iPhone repairs, end of story.

PKI is also not the only way to implement this.
Sure, but since time immemoriam this has been left to the "free market" to sort itself out, and the "free market" has let us to this point.

Should some government regulatory body like the EU intervene to force their hand? Maybe.

But do remember that in the "old-days" of dumbphones and featurephones you were getting no SW updates at all ever and replacing your phone every 2-3 years was the norm back then.

It's only now that we're thinking about this as we start to think about phones more as general purpose computers in our pocket and less as phone dialing and messaging devices, like in the old days.

One thing's for sure, it's that the free market will never self regulate itself on this matter, same how it has not self regulated itself in the auto industry were it not for the EPA and EU, we'd still be buying ICE cars that turn our cities into smog if we were to leve emissions to the auto manufacturers.
word of the day: commentariat
From the headline, I thought these were regular gambling apps where you win/lose money.

But no -- this is something I'd never heard of. These are apps where you can't withdraw winnings.

People are spending $100,000's with zero potential reward.

I'm... baffled.

Although now I guess I'm forced to ask myself, how is this any different from other free-to-play games like virtual multiplayer golf or Mario Kart or whatever that some people have spent $10,000's for equipment/upgrades/cosmetics/etc., that similarly don't equate to anything in the real world.
Crazy thing about this and is frustratingly obvious, as I become a little older in IT, is that this is just a workflow problem.

CI build pipelines aren't even really in the class of workflow problems that are even difficult to implement... workflow engines start you down a rabbit hole towards different models of computation that eventually ends up with a turing machine anyway, but I digress.

It's just really kind of ridiculous that the same basic problem gets re-implemented literally thousands and thousands of times across different platforms and use cases. The fact that the current implementation is based on some Frankenstein of former visual studio code and other stuff really, isn't that surprising.

Of course! Standardizing workflows leads precisely to the XkCD referenced in the article, in standards produced by the workflow vendors of of course been horrendous and focused on preserving or enhancing market share, and we're done in the era of XML.

The issue of course is that workflows are an "Enterprise" feature and solution.

Perhaps someday in the halcyon future someone will actually address a useful cross platform workflow model I could conserve algorithms, processes, techniques, and maybe even plugins. Because right now the workflow engine is balkanized across every single CI platform.
I would respectfully suggest that the author is misusing CI. If you have trouble running your tests locally, you have a problem. If you have trouble deploying from your local code, you have a problem. All of those capabilities should exist as simple scripts in your project already. Once you have that done, the CI yaml is a simple glue layer that defines an order of operations, e.g.:

1. Run static tests

2. If those pass, run unit/integration tests

3. If those pass, deploy

If you find yourself screaming about YAML, you're leaning too heavily on it and need to refactor your project's scripts.

Maybe a good question to ask would be "if I had to switch to another CI system today, how hard would it be?" If the answer is "hard", perhaps you're leaning too heavily on it and need to refactor your project's scripts.
Beyond unit tests, this seems like a great opportunity to leverage property-based testing, at least for pure functions; checking that both versions return the same results is an easy property to think of.
I third this opinion: another reason it’s important is it allows you to do your build in an emergency when CI is down for whatever reason.

CI automation is for me the thing that replaces me running scripts one by one (and reporting/deploying results)

It is not the thing that does the building/testing/deploying. That’s the scripts that are hopefully written in a debuggable, portable, language.
Yeah the lower classes gamble on the races, the upper classes gamble on companies and financial derivatives. The even more ridiculous thing is one bet has a positive expected value and one doesn't.