skysight-inc/HackerNews huggingface dataset:
> I should have held the stock

I think the most important wisdom in all of quantitative finance is that the expected future value of a stock it it's current value plus the value from the "risk-free" rate.

It happened that Meta did (for now) come back from it's exaggerated death, but just look at Google which took a major hit today.
I have an M2 Pro 16GB — anybody on Apple Silicon can download DiffusionBee.app and immediately be generating images (from text prompts) with its default model/engine... drag-and-drop.

Incredible what (even with limitations of a single $1000 computer, costing less than a single nVDA 4090) a desktop mac mini can accomplish.

----

For comparison: the hard drive in the M2 Mini is FASTER THAN A MACPRO5,1's RAM!!!
I talked to my department head about this before I graduated and the answer was basically that new programmers have enough to worry about already and, frankly, she didn't want to have to answer constant emails about how to do or undo this or that in git. I think this was fair enough. Version control is useful but git is a huge pain for newbies and the students who get internships or work on open source learn it on their own anyway.
When an important word is quoted, don’t take it seriously
All this needs is a cryptocurrency that incorporates the externality of burning shit, and you’ve got a YC idea.
Their profit margins were always around 30% or so, except late-2021 through mid-2022 when it fell dramatically due to higher expenses and (unexpected) flat revenue.

As for $9B in research and development - they have 66K employees now. Say 30,000 of them are in engineering, costing the company $300K on average (salary + bonus + benefits + other expenses), that's $9B right there in research.
As one of the offenders, I do not see it as that far off topic. If someone posted a video called "Parkour for kids", would you think it off topic if people pointed out that this is just a really, really bad idea?
Just remember to automate the manual process at some point.

from https://allenpike.com/2023/dialup-world-isp:

"1. When a customer submitted their signup form to Dialup World, they would add a row for that new customer to their 20,000-row Excel spreadsheet.

2.Then, they would put that signup form in a pile with all the other signup forms of customers who had signed up on that day of the month.

[billing steps removed]

5. When a customer called to cancel their service, they would stop that customer from being billed further by simply – I shit you not – finding that customer’s signup form and trashing it. No signup form in the pile, no more bills going out.

You gotta hand it to these people. The seminal startup essay “Do Things that Don’t Scale” didn’t come out until 2013, and these legends were doing things that didn’t scale way back in the late 90s. They got 20,000 signups billed with the process equivalent of a shoelace and a discarded sauce packet."

Assuming they distributed the signup forms evenly amongst the 20 working days of a month, that would mean the billing group would have 1,000 bills to handle each day. Slogging day in, day out, forever. Might as well have named the group/department Sisyphus.
Not GP, but related: I've had the same DHCP IP from Xfinity (residential internet service) for well over a decade (and I think for 16 years).

At what point does a dynamic-but-unchanging IP become functionally static?
Would you have preferred I left out that second sentence? The parent seemed to be asking for help and that seemed to be on-topic. Though I suppose it could be inferred from the first sentence... but I think even the first sentence alone would have been likely to instigate the same response. Which then makes me wonder if it really is "ok to talk about [my] own experience" in an entirely on-topic discussion?
It only affects Apple processors. From the FAQ:

Yes (with a very high chance), if you have a device running macOS or iOS with Apple's A-series or M-series CPUs. This includes all recent iPhones and iPads, as well as Apple's laptops and desktops from 2020 and onwards.
Some great ideas here, thank you. I do want to keep it small and focused so I'll forego complex functionality like the Repeater, but you've raised some common pain points I'll tackle.
The "problem" with that is that typically an item that a business will happily pay $200 for can only be sold to a home customer for $10. Selling consumer items is a good example of things that require scale.
By far my favorite keyboard macro tool on MacOS. Great gui interface for making and recording macros. I think it is without a peer on any platform

I am well versed in AutoHotKey for Windows and have written 1000s of lines of macros in it, but Keyboard Maestro makes it so easy to create complex macros for even one time tasks.

Linux is certainly lacking in tools to automate the GUI.
With the price being under 25k used I think it qualifies for tax rebates too.
I violate DRY all the time in terraform. My process is roughly to write something that resembles a module, and when I need it again, I copy all the code and just change relevant variable values and see how it behaves. if I need to copy again a 3rd or 4th time, usually by that point I will have learned things that allow me to make a much better module/library than if I had relentlessly and mindlessly followed DRY.
Yes, because a gun that sits in a holster with a safety on is just as likely to kill you as a door is. Guns don't shoot themselves.
I have a Plex server with 6 spinning disks and a GPU which costs me around $20/month. The most expensive part is when the GPU is running (based on my Kill-A-Watt.) I host around 15 Docker services on it.

I think even with the cost of electricity, you can easily beat cloud hosting on a per-month basis. But, factoring in the initial cost of hardware and electricity, it's probably a wash.

But then, if you're running a hypervisor, and would otherwise have a LOT of VMs in the cloud, maybe it swings back the other way?
I'd like to have a shortcut that appends currently highlighted text, current url and timestamp to a text file on my disk. Can this be done with a bookmarklet?
>Keyboard Maestro 11 is not available from the Mac App Store and probably never will be.

I appreciate the honesty here.
Bypass Paywalls with ChatGPT
I’m finding chatgpt really useful to get summaries of articles behind paywalls!

E.g. asking chatgpt to summarize this: https://www.nytimes.com/2023/10/23/us/oregon-psychedelic-mushrooms.html

Oregon has taken steps towards the regulated use of psilocybin, a compound found in certain types of mushrooms, often referred to as magic mushrooms. Here's a brief on the scenario:

1. *Psilocybin Experiment*:
- In Eugene, Oregon, an initiative known as the psilocybin experiment is underway, where adults over 21 are allowed to experience the effects of psilocybin in a controlled setting. The setup includes psilocybin tea, wind chimes, and a tie-dye mattress, with the trip lasting for approximately six hours [oai_citation:1,Magic mushrooms: Thousands sign up for Oregon's psilocybin experiment ...](https://apnews.com/article/psilocybin-oregon-magic-mushrooms-psychedelics-therapy-legal-6e5389b090b0c50d5c90d9574b63eca5).

2. *Legislative Framework*:
- In 2020, Oregon established a legislative framework for the regulation and licensing of psilocybin [oai_citation:2,Washington Psilocybin Services Act: a magical legislative solution for ...](https://www.reuters.com/legal/litigation/washington-psilocybin-services-act-magical-legislative-solution-promoting-2023-08-11/#:~:text=At%20the%20state%20level%2C%20in,2022%2C%20Colorado%20passed%20a).

3. *Decriminalization*:
- Oregon voters approved the decriminalization of small amounts of psychedelics in 2020. This move was later mirrored in Colorado, which also passed measures to decriminalize psychedelic mushrooms and create state-regulated centers for supervised use [oai_citation:3,California Gov. Gavin Newsom vetoes bill that would have decriminalized ...](https://apnews.com/article/psychedelics-magic-mushrooms-psilocybin-gavin-newsom-california-df0acc070df06de668ef69aafc1f13e1#:~:text=In%202020%2C%20Oregon%20voters%20approved,Oakland%2C%20San%20Francisco%2C%20Santa).

4. *National Recognition*:
- The move towards recognizing the potential benefits of psychedelic drugs, including psilocybin, is also noted at the national level, with significant results being reported which might be groundbreaking [oai_citation:4,The Biden administration and Congress see psychedelic drugs as ...](https://www.politico.com/news/2023/08/12/medical-psychedelic-drugs-congress-00110851#:~:text=%E2%80%9CThe%20results%20that%20are%20coming,psychedelics%2C%20ibogaine%20and%205).

The unfolding scenario in Oregon is a part of a larger dialogue on the reevaluation of psychedelic substances both for recreational and therapeutic uses. It places Oregon at the forefront of this evolving discourse. How might the outcomes of Oregon's psilocybin experiment influence national policy on psychedelic substances?
Why is this restricted to "tech" billionaires? Republicans aren't lacking in billionaire supporters from other industries.
Societies tend towards an organizing principle, and liberty has been the organizing principle of the US since its founding no less than the interests of the German race was the organizing principle for the Third Reich and anti-capitalism was the organizing principle of the Soviet Union.

(Democracy was seen by the founders as way to protect liberty more than liberty was seen as a way to protect democracy.)

"Don't tread on me," was a slogan of the American revolution. Ditto, "give me liberty or give me death." For many decades, drug addiction raged in the US while heroin and cocaine remained legal because a Federal law against the free trade in these drugs was seen as an unconstitutional curtailment of the individual's liberty. The starting of a Federal income tax was likewise held up for decades on the same argument.

Again, liberty has been the main organizing principle of the US since its founding, and I'd be a little surprised to learn that there are Americans with IQs above 110 that do not know that, but I guess some people are too busy to learn about history and politics.
Thanks! While promptfoo offers great strict metrics, Spelltest differentiates by allowing custom prompt-based metrics. This lets you measure unique attributes like empathy or creativity in dialogues and completions.
Any business that you can run from a home server with a residential business line is not the kind of business we are talking about here. Yes, you can potentially serve a lot of customers with that setup, but your reliability story is terrible so you better have very forgiving customers.

What if your internet goes out? Even with a business line, I've had to wait five days for them to replace a fiber line that a squirrel chewed through.

What if the power goes out? I just had a five hour power outage. Even if you have a battery backup, when the neighborhood power is out for a while, the ISP equipment will die when its batteries go out.

What if your hardware dies and you aren't home to switch it out, assuming you even have spare hardware?

What if your A/C goes out and your server overheats and has to get shut down?

All of these are things you usually don't have to deal with when using the cloud or even a $5 VPS, because they design for all of these failure cases from the start.

If you're running a business from your house, it is by definition a lifestyle business, and that's not really what we are talking about here.
solving a paradox sometimes requires thinking out of the box

repatriation is not the global solution, it applies to mature and large companies

the dimension to explore is co-ownership of infrastructure by multiple independent companies, both small and large

a captive entity - wholly owned by member companies - manages a vast pool of resources achieving both the economies of scale and the flexibility needed by growing companies.

you don't "rent" somebody elses linux server, you invest and own a share.

R&D for evolving the platform is something outsourced to third parties (maybe even current cloud providers)
Waymo's description. Sentence one. [1]

"Waymo’s system is currently designed so each vehicle operates only within pre-mapped zones under certain conditions."

They don't drive all roads, they require roads to be fully mapped down to a full 3d map of the surface, and if the realtime surface deviates from the mapped surface they immediately reroute to a different road.

[1] https://ltad.com/about/waymo-zones.html
This one is a little shorter.

javascript:document.querySelectorAll('img').forEach(img => img.setAttribute('style','transform:rotate(90deg);'))
Should Cruise be compared to drivers as a whole? If a subset of drivers were restricted to a max speed of 30 MPH and drove very conservatively (like most CDL holders), they too would seem safer than the public. The public as a whole includes those who cut off fellow motorists, use their phone while driving, drive while drunk/high/groggy, etc.
A very large number of random decisions needn't always yet surprisingly often results in high-level emergent elegant/predictable phenomena... that's like, the entire point of statistics.
I don't find this argument persuasive. If you need to engineer the prompt in order for the model to give you the answer you want, and if it's performing poorly without that kind of assistance from a human who understands the task and the desired outcome... then it's perfectly OK to not bother and give the LLM a low mark on a benchmark. After all, the whole point was to test the LLM's language and reasoning skills.

"Prompt engineering" makes sense if your goal is more utilitarian, but it's not a license to cheat on tests. If you want a machine learning model to generate aesthetically pleasing images, or to follow certain rules in a conversation, then it's OK to rely on hacky solutions to get there.
There are roundabouts in England that are just a painted white circle in the middle of the intersection. Those work once the population knows how to handle roundabouts though. In the US, people barely comprehend regular roundabouts and in my town the larger one actually has traffic lights controlling the roundabout. So all the cost of the roundabout + all the cost of lights but none of the traffic flow benefits.
I first became aware of the yips when Eric Bristow (The Crafty Cockney - UK Darts player) went public about it affecting him.

When I just looked to find a link I was surprised to see gymnastics listed. I was aware of Simon Biles withdrawing from competition due to 'not knowing where she was in space' as she performed but I had no idea that although known as the 'twisties' it is a close relative to the yips?

https://en.wikipedia.org/wiki/Yips
Information Technology and Educational Amnesia (2009)
Replace

random() < 0.5

by

abc.a + random() < abc.a + 0.5

and you have (almost because of the inexactness of float computations) the same query, but that isn’t “in no way related to the tables”.

Now, that predicate is biased towards table abc, but that’s correctible:

abc.a + def.d + random()
< abc.a + def.d + 0.5

If the SQL engine is allowed to ignore the subtleties of floats, it can still prove that in this query the predicate isn’t really related to the tables, but it can’t do that in general.

So, you can change the spec to make the simple cases invalid sql, but that won’t get rid of this problem.
This example (because of the underlying rule change) explains why this has been such a focus of the right wing and of Elon. I never really cared about that mark and didn’t understand the focus on it. Literally one of the first things they changed after the takeover.
AWS was basically built as an internal product to support the retail business, and then they realized that they can sell it.
Someone may have said it, but the DoorDash guys acted as their first drivers until they couldn't anymore
> All successful designs so far have one or two main engines

Falcon 9 has 9 engines and launches weekly...
"Now it is clear that anyone working with rocket fuels is outstandingly mad. I don’t mean garden-variety crazy or a merely raving lunatic. I mean a record-shattering exponent of far-out insanity.

There are, after all, some chemicals that explode shatteringly, some that flame ravenously, some that corrode hellishly, some that poison sneakily, and some that stink stenchily. As far as I know, though, only liquid rocket fuels have all these delightful properties combined into one delectable whole."

Isaac Asimov, from the leading words to John D. Clark's "Ignition!"

While technically true, in rocketry - where the term was born - "hypergolic" mostly mean "of hydrazine family", which are (almost all extremely) toxic.

So it's a moot point to talk about the fine print. What was meant is that SpaceX doesn't pollute the land with poisonous fuel of the Starship, and the one argument is that the fuel isn't poisonous to begin with.

(And I'd really like to know what kind of additive would be in liquid methane - medium cryogenic - which Musk hopes to keep adding on Mars and which is toxic.)
Marketplace is decently well done. Still no shortage of scammers.
In reality, most larger projects are already like that - except with no logic spelled out. It's completely ad hoc. Instead you have to hunt in commit logs and compare with old versions of open source projects they based their source on. Sometimes the upstream changed their license too at some point in the past, and if you are lucky, you can still find a reference on some web page. The upstream project can have the same situation itself, in a sort of fractal way. It's turtles almost all the way down, until you end up with an early transcription of the Fortran BLAS routines to C by way of Pascal, with the intermediate Pascal routines lost somehow in the mists of time. Our historians now believe it all started after the moon landing in what they called Jan 1 1970 00:00 or "0" or origin. After seeing for themselves how inhospitable Space is, the humans decided to stay on Earth and focus their efforts on the study of source code. Some argued that it would eventually lead to the encompassing of all human thought and thus to Enlightment for all. Yet others feared a world where human thought has no consequence. Most are too busy with work to worry either way. After all, at the end of the month another name of God in the markets is what pays the bills¹ and who has time to worry about whether the Monad⁰ comes² or even exists.

0: https://en.wikipedia.org/wiki/Monad_(Gnosticism)

1: https://cyclonedx.org/

2: https://stackoverflow.com/ a / 1732454
The commenters in this thread don't seem to understand what it's like to be a new programmer, especially when you may not have had a burgeoning passion for computers your whole life. I too am a huge vim user but I would never recommend it to someone who doesn't really care about programming. You can make it your whole career without using vim. The subset of programmers on HN is very different from the industry at large. Most developers clock in, sling some Java and PHP for a few hours, and clock out. In general, this advice is fine. Maybe a little opinionated but who cares, they're valid opinions. If you're on HN, you're probably already disqualified from ever having needed this advice.
Seconded. This is great software sold the old-fashioned way: pay once and upgrade when you want to.

The lovely lack of mental friction around this model is something I miss dearly, as opposed to endless subscriptions. But this is probably because I am an old guy and haven't adapted to our new reality.

As far as KM goes, it's so well done. Very complete. Great for any one off key combos you want to add, but can do a ridiculous amount more. AND it's very well documented.
There is still a massive difference between PaaS and IaaS.

I don't think anyone wants to rely on a human to unload a rack from the car, walk into a data center and install it.

Doesn't mean that Lambda and hosted kubernetes should be our only alternatives.
Good job making environmentalism sounds like nonsense. Sometimes I wonder if takes like these are planted by the coal industry so that real environmental concerns are taken less seriously. But that's enough conspiracy theories for today
They should add to the emoji page a blurb about them also being called "emoticons." I remember a big debate about this, and we collectively decided to call them emojis.

Also, the helicopter game was going around on DOS well before 2002. I was playing that around 1993 on a Gateway 386.
I have "increment" and "decrement" bookmarklets, that look for the last-most number in a url and make it go up or down by one. I'm always surprised at how often it's useful. Oh, and I have this one called "kill sticky",

javascript:( function(){ let i, elements = document.querySelectorAll('body *'); for (i = 0; i < elements.length; i++) { if(getComputedStyle(elements[i]).position === 'fixed' || getComputedStyle(elements[i]).position === 'sticky') { elements[i].parentNode.removeChild(elements[i]); } } document.body.style.overflow = "auto"; document.body.style.position = "static"; })()

Which deletes those annoying page-covering popups like "sign up for my newsletter" or "you need to log in (even though the content is right there*)"
What do you mean? I did the AWS negotiation for a small but rapidly growing startup and that was one of the negotiables, there was no real problem getting discounts.
I don't know if what I'm imagining is technically possible. But it would be cool to be able to have my email mirrored to two different services. One email address, email shows up in Mango Mail and my Google Apps email. Then I can evaluate Mango Mail's spam performance against Google's to see if it's good enough for my needs.

If I get up the courage to try again, yours will be my first choice :)
> Whatever you think of other people's technical opinions, their opinions on the use of common resources, including land, environment, and money, are as valid as yours.

The government treats them as being equally valid for the purposes of elections (as it should), but that doesn't mean "people at your local dive bar agree with me, therefore I'm right" is a compelling argument
Mostly a design choice on Thanks.dev and GitHub Sponsors parts. I would be fine to give it all at once, especially since conceptually for me it's payment for the past year.
What is a “double”?
You should.

Best in class SaaS costs are like 10% of revenue
Fun fact, I found, mostly by accident, that adding a comment to the beginning of a bookmarklet Chrome will set it to the name. I'd love to see the source code in Chrome that does this.

Eg

javascript:/* name: /awesome# */alert(2+2)
Sorry to hear that. We understand each one will have a different set of problems. From our experience and talking to others, it is usually not as simple as adding a tenant_id column. You typically care about security from day one and want to be really careful how you isolate customers. You would also want to add user and organization management easily to the product. We have made these steps really easy without having to spend time writing complex permission logic and potentially buggy code. We also are able to provide query insights by tenant since the database understands tenant boundaries. There are also other things that I have mentioned in the blog. Having said that, if our users want autogenerated APIs, we would be more than happy to invest in it. We did have plans for it but in our conversations most did not bring it up. Hopefully, we can convert you to love Nile as we grow.