skysight-inc/HackerNews huggingface dataset:
Let's say you want a frontend for your server and have never written HTML before.

Where so you start? If you have decided on using Python for the UI you have a handful of libraries each with their own documentation. To get started you need to choose one and then read the guides.

If you decide to use HTML you have a whole lot more resources. I'd argue you'll be able to make a frontend faster using this approach.

I understand the hesitation because of the complexity associated with JS. Maybe you're thinking about bundlers and minifiers when you think about writing a frontend with JS.

But you don't need that. You can create amazing user experiences with a plain HTML, CSS and a JS file.
it is crap and you know it. it barely search the title. not url. not description or tags. which they add and remove from the add bookmark dialog every blue moon. btw i don't know which weird version your using because the current one doesn't have tags even in the desktop. maybe you didn't notice last random change
One of the things that I love about a lot of booths at MakerFaire is that they’re just someone who wants to share a project they made. No business, no Kickstarter, no fundraising. Just me and my Kinect-controlled Roomba.
And Wt and JWt, which also handle the server side in C++ and Java. https://en.wikipedia.org/wiki/Wt_(web_toolkit) :

> The only server-side framework implementing the strategy of progressive enhancement automatically

Is this still true?
If your mutable thing is mandatory, then I think it should go first. Otherwise, you will be in a strange position when there are default arguments. The mutable thing would then be sandwiched between immutables. Of course if your mutable parameter is optional, it must be after all the required parameters.

The argument above applies neatly to assembly instructions, which generally change one thing.
addend - Lithuanian king Mendog was christianized in 1250
yes I have... I think OSF is missing a lot of needed features.
You have to be good, and also care, which is like effort. a lot of young people care or put effort into playing sports but most do not have the talent to make a living at it.

"Average intelligence and persistence has accomplished much more than genius"

For hard problems, high IQ is necessary but still insufficient. You are not going to solve a hard math problem with average IQ no matter how much persistence you throw at it.
The blog post has some reference numbers embedded, but I cannot find the references below. (Did I miss something?) Specifically, the author hinted about a language and a company for #1. I guess this is Jane Street with OCaml? To be clear, you can make any insane language choice that you wish, so long as you pay so much money that no one will care. Exhibit A: Jane Street with OCaml
Just like Reddit, you’d have users using AI to generate fake posts to farm karma.

User generated content in general these days is completely poisoned.
Besides easier maintenance, a piston motor may have better energy efficiency.

The big two-stroke Diesel engines, like those used on ships, have energy efficiencies over 50%, e.g. around 55%.

I do not know if there have been some recent improvements in gas turbines, but at least a few years ago the efficiency of gas turbines was lower, sometimes as low as 40%. The reason is that the exhaust gases of a gas turbine are very hot, retaining inside a significant fraction of energy from the consumed fuel.

Electrical turbogenerators are preferred for mobile or military applications due to much smaller sizes for a given power and higher reliability, not because of good efficiency.

In order to have good efficiency when using a gas turbine, one must recover the heat from the exhaust gases, like in all combined-cycle power plants, where high efficiencies, e.g. over 65%, are attained by using a cascade of steam turbines, typically 3 steam turbines, for heat recovery. This increases a lot the size of the power plant and it requires a lot of water, which in Antarctica could be obtained only by melting ice, reducing the efficiency gains and complicating a lot the power plant (a special construction would be necessary to prevent water freezing in undesirable places and to use the water in closed cycle, otherwise the energy efficiency of a combined cycle starting from ice may be less than of a simple gas turbine).

A more realistic solution for using a gas turbine in Antarctica would be to recover the heat from the gas turbine that burns fuel with a closed-cycle gas turbine using supercritical carbon dioxide. While this is a promising method for replacing the entire cascade of steam turbines (with steam turbines, you need a cascade because heat is exchanged at fixed temperatures, where water is boiling; while with a supercritical fluid heat can be exchanged at a continuously decreasing temperature of the exhaust gases, recovering most of the waste heat in a single heat exchanger), it was mostly experimental and I do not know if there are any suitable commercial products at this time.
Usually people compile a "hello world" exe, and implicitly extrapolate that size to all programs of all sizes.

...which is then followed by arguments about how libc's own size should be compared to other libs that need to be linked statically and do a different amount of work.
> who love to think about whether there is a deeper hidden mathematical structure behind the business problems.

Yup and lots of whom started with programming as a hobby, and could chase after any shiny thing they saw, or run off whenever on any side quest that interested them.

Nobody wants to pay you hundreds of thousands of dollars to navel gaze, or run off down whatever path you feel is mathematically satisfying. Do that on your own time. You're being paid hundreds of thousands dollars to deliver business value - so do that. Build mathematical towers on your own time.

It's like paying someone by the day to paint your house and they paint the Mona Lisa in white paint on white and take 3x as long because it's more artistically beautiful even if the end result is just an all white painted house.

"Don't you see the deeper hidden artistic structure!?"
For some clarity on the support here: at Google it’s very easy to publish arbitrary code on the Google GitHub, and a bit of a pain to get permission to publish (new) projects on your personal GitHub. It’s also not too tricky to take a project with you (i.e. transfer ownership) if you leave. For these reasons, many googlers just publish their hobby projects on GitHub under the Google org. That’s most likely what this is, the support disclaimer is the big giveaway.
I was thinking this exact thing, they have the Massachusetts subsidiary, so why not?

I would still call this a "refuse to" vs "can do", but hey, Apple can keep that money - keeps the layoffs away.
I have been a little bit of a hammer snob for much of my life. My father and I built houses late last century and he had (now I have) an old 12 oz hemmer with a leather handle. It is what a hammer should be (general sort of construction hammer). The museum is in Alaska.
several errors in here:

He certainly does care about politics. Just watch his interviews on YouTube, where he describes himself as a "yellow dog Democrat."

> put Elliot Ness on an even larger pedestal than the one upon which he currently sits

That's not at all what I said about Ness. It was that he did play an important role and that was recognized even at the time. The fact that Hollywood made him into a mythic hero after he was dead doesn't mean he was really nothing at all.
Pandas can handle that with a flag
So where is AV2?

And 0.3% improvement for 1% increase in encode is pretty damn good.
Surely current events explains why ChatGPT is topical?
I have actually this week been building a similar API for my own internal use. Cool project!

Any intention of open sourcing it?
These comments prove compsci has a long way to go on respecting marginalized people
Thanks for that! You put it into a very understandable form
> You might note that this information is also contained in the same notional 750MB bundle.

Not necessarily, that's the point. It's uncertain if you can recreate a human being from genome alone even with perfect technology. Some crucial information could be passed from one female to another without being present in the genome at all.

> There was an experiment in birds related to this.

I suspect none of these birds were rebuilt in a laboratory from their genome alone. The experiment proves that information is passed inside the egg but it doesn't specify via which medium.
Extinctions attributed to co2 decreasing relative to oxygen, sort of what is required here to a certain scale at least
Part of the skill in using LLMs is knowing when and how to use them, how to set the 'temperature' (how 'creative' it will be in its response), and how to write a prompt that is less prone to illusory responses.

My eyes were opened one relaxing morning when sipping my coffee and pondering how to tidy up a database column by migrating from string to enum.

I asked ChatGPT for its thoughts and its response seemed perfunctory and on point, until at one particular line, tucked in the otherwise sensible migration file [1], it casually recommended deleting all users whose value for that attribute wasn't among those specified by the enum. I spat my coffee out and learned a very valuable lesson that morning!

[1] https://imgur.com/a/ejIdCH6
How could their monorepo build system with distributed build component caching be improved? What is faster at that scale?

FWIU Blaze was rewritten as Bazel without the Omega scheduler integration?

gn wraps Ninja build to build Chromium and Fuschia: https://gn.googlesource.com/gn
brains are complicated but so is behavior. maybe the second is more complicated due to unpredictability.
I wish the Pro separated AI and everything else. I can’t use the AI stuff at work for contractual reasons, but it’s also clear that most of the cost goes into that. I’m not paying $10/m for longer clipboard history, but I’d probably pay $50 one off for all the local-only bits.

Problem is that they’re VC backed and you don’t get SaaS valuations on selling a ton of single-purchase software.
Sorry for the late reply. I... generally do support it as well, although it does make things a fair bit less predictable than e.g. the US constitution does. From what I understand (not a lawyer) the US Supreme Court spends most of its effort on interpreting edge cases while the SCC has a fair bit more latitude in allowing what would appear to be clear prima facie Charter violations.

One of the things that does worry me about Canadian politics in general is that it seems to be a bit of an arms race where we don't always consider the question "what if the other party did what we just did". As an easy example, whether or not you agree with the Liberals' use of the Emergency Act, they've basically set the precedent that it's ok to use in a situation like what we had. The left generally seemed to praise this action, in large part because it was used to shut down a protest that they didn't agree with.

Next time the Conservatives are in power, though, it could very easily be wielded against left-leaning protests (e.g. the railway blockades) and the people who praised it the first time are going to be making shocked Pikachu face.

Whatever I agree or disagree with doesn't matter, rather I'm just concerned that the way the Charter is put together does leave the door open for the government to do things that seem to be prohibited but can be surprisingly overridden. Sometimes it'll be a government you agree with and sometimes not.
I saw that as well, but haven't had time to think much about it or explore alternatives. Thanks for reminding me.
> No, they buy houses to provide them shelter.

While the odds are good, buying a house does not guarantee shelter. One has to place a bet that the house will provide the shelter that they seek. If one loses (e.g. the house burns down), that's it. It was all for not. The loss is very much real. The only way you get to play again is to buy a different house[1]. Literally gambling.

However, one can hedge the risk of the gamble by also purchasing insurance. With the right insurance, the insurance will help buy another house in which one can take another bet on. So, again, insurance may not be gambling[2], but it is a tool used to help one gamble. It has no applicability outside of gambling.

> Just using the world “gamble” in a sentence doesn’t make it so.

Are you confusing gambling with gambling for the sake of entertainment? You have a point that buying a house or selling insurance is not like playing a state lottery or casino games. However, that is not what the article is about[3], nor would any reasonable person think that is the only form of gambling.

[1] Repairing it, if possible, but as far as this discussion goes that is the same as buying a different house.

[2] From the buyer's point of view. The insurer gambles (in turn, hedged by reinsurance) when a policy is sold.

[3] It does not seem to be able to find any difference between gambling and (selling) insurance. It is not written about fun games of chance.
Milawa is a "self-verifying" theorem prover for an ACL2-like logic
That article is from Jan 2022 though, has anything changed since then?

I was concerned that Russia had its eye on the Suwalki Gap around the time but since then I haven't seen any real movement towards the Gap to the Baltic states.
Right? The log message would have said the id isn't unique, and then it would have taken much less time to debug this problem.

Programming when everything works is easy, it's handling the problems that makes it hard.
I was never under any presupposition the problem was mine. Even when I act as normal as possible I still get rejection. It was always others. Fortunately I occupy a financial situation where that does not matter anymore. Embracing the weird nerd is better than trying to conform and not succeeding or being inauthentic.
https://github.com/ReverseApple/dgraph but IIRC it still has some @rpath and its Apple extended family counterpart issues. PRs welcome!
I was a big Quicksilver user. I was a big Alfred user (from literal day 1). I’m now a big Raycast user. In fact Raycast is the only one where I’ve developed my own extensions (beyond basic toy scripts), the extension model is very good (even if distribution is iffy).
I still can't find a decent explanation as to why zig, a C replacement needs to have Async built in by default. I actually think this should belong to a higher level abstraction.
so you scrape + store + process contact info etc, presumably.

sounds like a privacy nightmare

no doubt this is not GDPR compliant.

no doubt this is not legal in some parts of the world - unless people can opt out and get their data removed.
Site tries to access "quality-sawfly-29.clerk.accounts.dev", rejected by the EFF's Privacy Badger.
This is really cultural - I've worked in Anglophone organisations where leaders expect to be challenged on their assertions, and in Asia where this would be considered offensive (like taking a dump on your boss's desk) even in private.
He has a reason to continue to disagree. In fact, if we assume a perfectly mirror-like collision between two identical cars going 50 mph in opposite directions, then each one experiences a brick wall collision at 50 mph. This is four times less severe than a 100 mph strike against an ideal wall (indestructible, infinitely rigid barrier with a vast inertial mass).

Animation frames in ASCII:

_____ . _____
/ \___ ____/ \
/ \ . / \

_____ . _____
/ \___ ____/ \
/ \./ \

_____ . _____
/ \___ ____/ \
/ | \

_____ . _____
/ \_/ \__/ \
/ | \

The dots at the center of the collision demarcate a virtual brick wall that either car experiences due to the exact and opposite momentum and deceleration of the other.

Each car crumples against the dotted line, not passing through it at all.

(In our idealized example with a perfectly mirror-like collision in which both cars crumple identically, it behaves like an ideal brick wall: the worst kind.)

Hitting an ideal brick wall at 50 is far less severe than doing so at 100.

If the collision is perfectly inelastic, then in the two car case, the energy dissipated is 2mv² where v is 50 mph. In in the one car case where it is going double (2v) it the energy is m(2v)² which is 4mv². We assume the brick wall has no kinetic energy to contribute. We also assume the brick wall is not damaged so the 4mv² is absorbed by one car. Whereas in the two car case 2mv² energy is absorbed by two cars, so mv² each.

Thus, from the point of view of one car, the 100 mph brick wall collision is 4 times more energetic than the 50 mph head-on collision. From that alone you can intuit that head-on is same as brick wall, since the damage scales 4 times with a doubling in velocity.

(Now yes, hitting an identical parked car at 100 mph would me more similar to the head-on collision. A parked car is not a brick wall. It will move in the direction of the collision in addition to crumpling. Books for drivers should probably not talk about either brick walls or parked cars, but just convey that kinetic energy follows a square law, quadrupling when speed doubles.)
It's complicated enough that I don't think you could have something fully automated unless it's an RTG.

It would all probably end like Antarctica, we had one reactor down there, but the cost of sending people there just to run it and the infeasibility of any repairs of upgrades ended the entire effort after one generation.
Consider this: would you rather drive head-on into a parked car at 100mph or a brick wall?
Good lord. Raw milk is an ingredient: great for cheese*, but about as good to eat on its own as raw flour

*) And maybe yogurt and other fermented things too?
I'm now reading a bunch of Orwell's more journalistic work, just finished The Road to Wigan Pier. I wonder - who is Orwell of today? Specifically, his willingness / ability to cut deep into his own ideology (socialism). The only name I can think of is Ezra Klein...
> People already trust eg their (mechanical) cars and their hammers and saws.

Completely unrelated and irrelevant.

> And humans aren't all that trustworthy, either.

That may be kind of the point. But humans have consequences, generally speaking.
I have something that sends a UA of "Sitetruth.com site rating system". Many sites won't talk to that.
If it’s pure caloric intake there are plenty of dense fats that will let you do that without having to eat all day. Or your body could create all the proteins you need like silverbacks. Either ways, I’m saying in a sufficiently advanced society there should be enough ways to thread that needle to maintain what you want while modifying the rest. None of this is physically impossible.
Depends on the place but plenty of properties I’ve seen are one month in advance. Arguably still rough but not the 3x in advance kind of rough
I now use Windows professionally & use Debian on my older home laptop (and server), & I previously used a Mac professionally--last year. My thoughts can be summed simply, Macs are toys.

Windows is the king of business productivity; I've never seen someone with a mac do what I qualify as real business work using any applications outside of the Adobe ecosystem- If you took someone who works heavily in Microsoft & gave them a Windows machine, they'll be vastly more productive then they are in Mac OS even though Microsoft works on both platforms.

I suspect this is a core design issue more then anything as in Windows the work you do is forefront, in Mac using the Mac OS is forefront, and with Linix open source is forefront. I can tweak my Debian all day long but it won't ever run Rufus; while my Mac might run some windows applications it also won't give me the same terminal power as Debian will. Debian however won't allow me to run windows apps, will have driver issues (like my completely incompatible-still audio drivers for a laptop from 2008). Package management is and likely always will be a nightmare in Debian. However if I baby Debian and focus on particular workflows, I can set up a workflow for what I want-aka a writing environment or my golang environment but it lacks the robustness of jumping between applications seemlessly like Windows has. Linux continues to fail by not providing a superior desktop environment, however I'll still take Linux over Mac OS for any real work.

My next personal desire is to move my home computing towards purposed servers- one for writing, one for programming, etc while going either super-light laptop or portable screen & usb keyboard / mouse for maximum flexibility. That way I can setup at the multi-monitor command center if I want, or move out to the porch lightly.

I'd even go so far as to say that with the exception of gaming setups, beefier laptops / desktops isn't needed at all- just build home servers.
You're concerned that Russia, the country that has spent two years struggling to win a war against the poorest country in Europe is going to invade NATO?

I have some great deals on oceanfront property in Magnitogorsk that I'm willing to cut you in on.
They shouldn't. But they do. We're not perfectly spherical developers and we all make mistakes. Sometimes it's also extremely tricky to figure out what state is leaking, especially is it's an access race issue and happens only for some tests and very rarely. If you haven't seen that happening, you just need to work on larger projects.
> We had eight ECS tasks on AWS, all running five instances of our backend (overkill, yes we know, but to be fair we had AWS credits).

Yes, that's a very fair reasoning. YC did the right thing by investing in this company. Fits very well with the rest of their portfolio.
Ask HN: Terminal Only Code Env?
Curious if anyone works exclusively on the terminal without gui applications? If so, what does your setup look like? What are best tips?
That's one way to avoid bugs
Yeah, Linux is noticeably faster than Windows.
Ah, I think you're referencing the sidenotes. Sometimes the website doesn't render properly on mobile (I've tried getting click-to-expand working, but it's tricky), so try reading in desktop mode.

Regarding sidenote #1, I actually very deliberately did not mention the language or company ;) Here's the full text of the sidenote, if you're still unable to get it rendering:

> I'm not going to name the language itself, because this post would just turn into a flame war over that language specifically, and I definitely don't want to cast shade on any language/community in particular. I'm also kind of hoping that the most annoying people read this and think, "Ah, of course he's talking about that language over there! This criticism obviously doesn't apply to my perfect and favorite language!" Regardless, I feel that the thesis and content of this post applies pretty evenly to most functional programming languages.
What other use cases is this tool insufficient for?

BentoML already wins at model hosting in Python IMHO.

What limits this to demos?

IIRC there are a few ways to do ~ipywidgets with react patterns in notebooks, and then it's necessary to host notebooks for users with no online kernel, one kernel for all users (not safe), or a container/vm per user (Voila, JupyterHub, BinderHub, jupyter-repo2docker), or you can build a WASM app and host it statically (repo2jupyterlite,) so that users run their own code in their own browser.
TBH, if the backend were written in Go, this probably wouldn’t have happened to the extent it did. Somewhere in a log a descriptive error would have shown up.

One of the reasons I use Go whenever possible is that it removes a lot of the classic Python footguns. If you are going to rewrite your backend from
Javascript, why would you rewrite it in another untyped, error-prone language?