skysight-inc/HackerNews huggingface dataset:
This is funny and interesting AND GPT4 gives such a bad photo for the prompt.

Is this because GPT4 is out of a highly stylized space? I really haven't played with it. My objections include: water droplets on the mug, bad framing, B- latte art, mug looks basic (and the handle has geometry that makes you question geometry), table surface looks sus, unidentified brown splotches on the table, what's going on with the chairs, what's up with the floor, what's the small bright vertical plane that descends from halfway in the plane about, and so on. I don't know if the caption is random, but here is the caption I'm responding to:

An exquisitely detailed photograph captures the essence of a calming coffee break. In the foreground, the star of the scene is a matte black ceramic mug with a lustrous outer finish that gently reflects the ambient light, its thick walls hinting at the mug's thermal-retentive quality. Nestled inside the rim, a creamy surface of latte art presents a delicate feathered pattern, comprised of swirling strokes with varying shades ranging from the rich dark brown of the freshly brewed coffee to the light beige of the perfectly frothed milk. Each line in the pattern is smooth and purposeful, evidence of a skilled pour, and comes to a focal point with a singular, tiny coffee bubble, an accidental yet charming centerpiece. A soft shadow wraps around the mug's rim, adding depth and dimension, while the subtle sheen on the milk's frothy canvas catches the light, drawing the eye to the textural contrasts.

In the softly blurred background, everyday domestic tranquility is hinted at—a pristine white countertop underpinning the scene, a red-rimmed napkin holder casually placed to the left hints at a touch of color and homeliness. Behind, the clinical metallic sheen of a laptop lies closed, inviting its user to savor the moment of respite it offers. The space is intimately peaceful, a gentle invitation to pause and enjoy the craftsmanship and simple pleasure of a well-made cup of coffee.
The author mentions "dropping [his] religion" here [1], which undercuts the idea that he is lying to himself about his religious doubts.

I don't think much good comes from analyzing a private stranger in this way, especially given such limited evidence.

[1]: https://benexdict.io/p/uncertainty-and-marriage
I agree. Battery replacements need to be the goal not charging. It’s WAY more efficient and cost effective since you can charge at off peak times. Smaller EVs like motorcycles have no chance until replacement is an option
You don't. They're the raw material used to produce writing, and the process of writing is also a process of editing your notes. If you aren't producing writing then you can just leave the notes alone.
> You need...

I submit a counterexample of the huge network of Tesla superchargers that can do the job quite well with the NACS connector.

maximum power output of 600 kW and a maximum current of 615A at 1,000V

https://www.notateslaapp.com/news/1269/tesla-v4-supercharger...

The practical limits are based on the cars and their batteries, not the charge port.
A.I. has got something special to it because of its special talent at bullshitting.

Last week I tried really seriously to use JetBrain's A.I. assistant at work.

It could answer questions about my code sometimes, it could figure out what my database schema was by looking at the stubs JooQ built out of the tables.

I was working on a recursive CTE for postgres

https://www.postgresql.org/docs/current/queries-with.html#QU...

which is a little tricky to express in JooQ because you run into one of those "need to access the definition before it is defined" problems that they invented the Y combinator to deal with... Most people just hand-code the table reference in the join like is done here

https://www.jooq.org/doc/latest/manual/sql-building/sql-stat...

The assistant tried to write the query numerous times, it got the basic idea right but could never quite figure out how to close the loop on the recursion. It exhausting to keep cutting and pasting code from it and then hitting alt+ENTER to bring in imports and finding sometimes I got the wrong imports (java.lang.Record vs jooq.Record), etc.

It would often say things that were totally wrong such as needing JooQ 3.15 to write CTEs because it misread the documentation.

Now my experience is that many ignorant programmers are also belligerent and the assistant is always polite and actually will change it's opinion if you show it evidence to the contrary... But maybe that makes it more dangerous because the better it gets socially, the better it gets at keeping you in a tarpit.
> The pilot only has one pipe that goes between two locations. There’s no indication of how they would scale this to actually be useful for local delivery.

This must be the same group that pitched MARTA.
> but being able to inspect the runtime state and get a sense for the data layout makes the experience so much richer.

That's kind of the problem and why it's a crutch. If you get better at reading code and reasoning about it without needing to use a debugger, it'll make you even more productive for when you actually do need to reach for it. The opposite is not true.

Being able to read code deeply in the setting of code review and point out structural issues without needing to execute that code or strap on a debugger is an enormous superpower, and one of the biggest skills that differentiates an early-career or mid-level engineer from a senior engineer in those that I've hired and managed. Over time, you do a lot more reading code than writing it if your codebase does its job successfully.
Whats an example of a “non legacy” manufacturer that has perfect software?

Im currently in the process of selling my Tesla (“non legacy manufacturer”) back under lemon law because of constant hardware and software issues like windows intermittently refusing to roll up (despite 6+ service center visits), windshield wipers not working, random alerts about “faults” they allegedly can’t locate in their logs, getting alerts on my phone that windows are left open when they’re not, lane departure warnings when the setting is turned off and i am not departing a lane, loud popping noises on speakers followed by infotainment “crashes”, etc.
Theft or other losses, cost of roving charging vans and personnel, etc.
This sounds like a rough experience. Tangentially, I’m curious about what the future of cities will look like as EVs become more common and charging infrastructure expands. In what ways will cities change the areas surrounding these charging stations to make the duration of the vehicle’s charge more pleasant?
The conversation is about what if Tesla doesn't open the standard to one company. An unlikely situation likely.
But why? Why should anyone providing a service be forced to also allow others to represent that service? Shouldn't it be up to the service owner to figure out what they want to do with it?

The only reasoning behind the whole iMessage thing seems to stem from a specific age band of Americans that value others based on the background color of their messages. This is a human problem, not a technology problem.
There was a chart I saw on HN related to this that also showed most of the increase is going to exports and maybe even a decrease in domestic demand iirc

Let me see if I can dig that up, it was actually a site with lots of data and graphs you could play with

---

https://www.eia.gov/totalenergy/data/browser/#/?f=M&start=19...

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

---

Yup, imports down, both production and exports way up

I wonder how much of this is the US shipping natural gas to the EU and other countries
> Jeff Bezo drove costs down for consumer products

By resale of $2.99 stuff from AliExpress for $29.99? That’s what Amazon is today, full of discounts from renown brands like BSTOEM and SPHOEN. /s
my loose understanding

1) transformers create an input x input size attention matrix that is unnecessarily large. state space models somehow compress this.

2) "The main difference is simply making several parameters [in the state space model] functions of the input"

3) i think it might be more sample efficient (requires less data)
It's unclear what your reason is for believing there's an actual, specific, restriction, in force against these specific engines.

If you haven't read many of these types of regulations before, a general category that matches means very little.

So is there some reason why you believe there is one?
OP's code is much easier to understand, though, which is the main (only) purpose of their code
2nd beta of KDE Plasma 6 released
There’s a page at https://quantum.microsoft.com/en-us/experience/quantum-crypt... designed to explore some of the resource needs and concepts on this topic you may find interesting.

Disclaimer: I work on the quantum team at Microsoft.
A better comparison is South Korea and Thailand during the Asian Financial Crisis in 1997. Back then, Thailand and South Korea were roughly comparable.

If China manages the headwinds well, they can pull a South Korea. If not, they'll become a Thailand.
AWS re:Invent 2023: Iteration velocity is the solution to all software problems
If you have the + subscription you can upload pdfs directly/ask it to ingest.
Thanks!

You probably refer to one of the demos on our landing page?

I like how you describe the problem. You're absolutely right that SQL seems easy but it's these edge cases that make it hard to get right. Joining metrics with a date spine is definitely a good practice to avoid missing date periods.

I think we could/should teach Dot to do that in the future. It should at least be a feature you can turn on as the data team.
Lots of hardware companies (not just auto makers) don't understand software. They treat it like just another line item on the BOM, like a bolt, a windshield wiper blade or a door panel. The purchasing guy finds some 'software' that barely meets the minimum written requirements at the cheapest price, they scoop it onto the product somewhere on the assembly line, and then never think about it again. This is how we get things like our TV's (pre-Google/Apple) on-screen menus and our printer's setup UI.
Technology and sci fi, two famously apolitical domains of human creativity,,,
I think for the pharmacists its simply economics. It's cheaper to have 3 or 4 pharmacists and a bunch of much lower payed techs on staff to do the work manually then develop and maintain automation while complying with existing regulations. I know some hospitals have automatic medication dispensing, so I'm assuming they have much higher volume where it makes sense.
The general public doesn't have to accept anything because they still have a choice to use whatever car they want. It's only the drunk drivers being forced in those evil autonomous cars, and they would have otherwise killed themselves/others anyways if left on their own. And then over time the safety numbers, convenience and more will speak for themselves and convince you to switch.
How Equity Works at Gumroad
Nice take-down, and I appreciate the points you raise, but isn't

> if you're not willing to engage with your doubts, then you have no business putting your thoughts into an essay under the pretense of intellectual honesty.

kind of talking about every essay, ever? The only people free from doubt are on ventilators and definitely aren't writing a lot of essays. The very act of writing an essay is engaging with (a few of) your doubts. And if you're writing it for others to read, you're painting it over with some level of pretense.

Just because he's not engaging with your personal hobby horse of uncritically accepted Christianity doesn't mean he doesn't have something to say. Show me a being with a pure mind, free of any self-contradiction or self-avoidance.

Really, please do, so I can pet it and make it wag its tail.

> the author knows exactly what was wrong, but considers it a virtue to lie to themselves about it.

As do we all. Only the topic varies.
One thing I will add is that this paradigm really encourages either making a ton of functions (which IMO makes code flow harder to read for these kinds of low-effort projects), or having a lot of scoped statements.

A good addition would be something like how flutter's LSP-based tools, which I use in Emacs), have a "wrap with widget" auto-refactoring tool, for e.g. when you want to wrap an entire widget tree in a new layout without having to do it manually.
Yeah I agree having a different app for each station sucks, but I don't really understand how plug-and-charge would solve this. For anything that does support plug-and-charge, don't you still need to register the payment method somewhere in advance?

Unless we have some universal payment processor which all the charging networks agree to use I will still need register through an app or something when I encounter a new brand of charger on a road trip.

It seems like the real solution is a law which requires the stations to accept a more universal payment system like credit cards. I think there is already a law like this in California IIRC.
He was a smoker and a drinker, too, in spite of which American Baptists often loved him.
I think the Internet is the most apt example.

The Internet delivered 5 trillion dollar companies. It was also a bubble that popped in 2002. For every Google or Amazon there are a dozen Nortel's and Webvan's.
If I remember correctly, the TLDR is that RDRAND output is mixed with other "standard" entropy sources and basically making getrandom() non-blocking immediately.
As a addendum to this. I think many of the J6 crowd thought the same thing when posts they made online were used in evidence against them. You may have nothing to hide, but like Snowden said: "Saying you have nothing to hide is like saying you don't care about freedom of speech because you have nothing to say"*

In both situations there is a loss of privacy and autonomy. At some point people just shut down, for the same reasons people behave differently when they know they are under surveillance verses when they think they're not.

*paraphrasing
Thank you. It seems to be a no-brainer for other manufacturers to adopt to a common standard with additional benefits to their client base.

It's a welcome change, especially after years of proprietary solutions to shared issues.
You had me at numerical algorithms but I'm not sure I agree about functional programming and type theory. I used to like functional programming and type theory when I was younger and found it completely useless as I moved further along in my career.

I'll make a different suggestion: set theory (which builds intuition around relational data modeling) and distributed systems (which builds intuition around building scalable services and software architecture) are by far the most important theoretical foundations I've had to actually apply at scale. That's followed by data structures & algorithms and discrete mathematics (for the rare times I really do need to write some optimized inner loops).
this is real neat! can't wait to see where this goes.

after seeing the demo, i immediately wanted to sign up and input a google sheet where i'm tracking my health stats from a current case of covid. but yall don't have that connection. a google sheets connection would be handy. so many orgs i work with use that. it's not the best way for people to maintain data, but a lot of people still use it.

also, the sign up with elon musk placeholder text was a turn off. regardless of how one personally feels about him, you could put any person there and somebody wouldn't like it. it's too risky and imo nobody needs placeholder text for a personal info form. i imagine this is early startup branding experiments which i respect, but thought i'd offer my unsolicited feedback.
Norway is perhaps a bit special, but this is very common for service stations along the roads or in Oslo to have many fast chargers. You can buy a drink or some food, and most have some space to sit down.
In a thread elsewhere (mastodon, I think?) the idea of using a Copilot-like LLM as an assistant in removing code was suggested as
* a way to use an LLM with less discomfort about model provenance (since you wouldn't be using anything it generated )
* a way to get over some user cynicism (waves) about whether an LLM usefully "models" the code.

Of course, at the time noone thought copilot could actually do any of that, but it was a few weeks ago and things are moving quickly.
This comment-and-response pair has a really weird "shape".

You're offering a retort to someone who is communicating their position that you ought not do something, where the retort consists of nothing more than explaining that people are doing it. Yes, clearly. But what the person you're responding to is arguing is that you ought not do it.

Consider the following hypothetical:

Person A: Here's little advice: don't take up smoking. Smoking is bad for you.

Person B: Yet people smoke—my cousin, for example.

The point of the other comment wasn't that it isn't happening or that it's physically impossible to even try. Indeed, the fact that it's being done—or that people are attracted, at least, to trying to do it—was rather the entire premise of their "word of caution".
Who here missed https://news.harvard.edu/gazette/story/2023/12/researchers-c...
Put simply: the breakthrough here (not related to the IBM news in parent link) massively cuts the physical qubits needed to do error-correcting (in the pursuit of logical qubits). What they demonstrated in this regard was vastly more efficient (more than the 1000:1 industry benchmark, though it's not apples to apples) than the current state of the art (as well as what IBM is hoping to achieve in its next generation chip). It seems to have pulled game-changing quantum computing years closer to reality.
The paper:
https://www.nature.com/articles/s41586-023-06927-3

Sorry if it's seen as off topic, my standalone submission on it didn't generate discussion https://news.ycombinator.com/item?id=38705445
My favourite discovery for 2023 was https://maccy.app/ which provides a Windows-style clipboard history.

It covers off one of the few things I love from Windows.

Edit: One more to mention: I'm obviously biased, but I continue to find my own scratchpad app invaluable https://klipped.com/macos
Using interfaces (whether literal interfaces in your language or the general concept) to isolate operations that rely on dependencies is so critical IMO. It makes testing so much easier, takes little additional upfront effort, and generally makes nicer to read code (subjectively).

For example, if I have my `MailSender` interface with an `SMTPMailSender` implementation but then I want to switch over to using the AWS SDK for interacting with SES for auth purposes, I can just implement my interface as always and create my new `SESMailSender` and plop it in place and all my code just works. This isn't just for testability, but also general modularity.

It takes so little additional upfront effort as well. Even just declaring an interface helps you isolate what functionality should actually be publicly exposed. I really don't think this creates any serious development drag. On top, it makes your tests so much easier to write, and tests are usually a good bang for your buck for the major cases.

If you truly only need a single implementation and not even the ability to have one for testing, then that's fine! Keeping in mind that adapting this to an interface in the future should be simple and do that when it comes up.
no, i had a small truck, so we'd just throw extra ballast in the back to help with that
Not only that, how do you even propose to do it?

If you just send the payment info via the charging plug, now you have to worry about the payment info being stored in the car and potentially stolen if the car has any security vulnerabilities, including in the charging port.

If you use some kind of tokenization or similar then you're inserting third party payment processors into the system and they'll be wanting a cut.

Just put a card reader on the charger and be done with it.
Police handle both. The "law breaking" aspect isn't proven until later. So the argument is moot anyway really.
> The idea is that the cost of autonomous car use will be much lower than taxis

I see this all the time and I just do not believe it is true.
Uber/Lyft/etc undercut taxis for users to take market share, and have drastically raised prices to become marginally profitable.

Autonomous cars are more expensive, and the labor in non-autonomous cars is not the majority of the costs. In NYC, a 1hr Uber could easily cost $100 against a minimum wage of $15.

The idea that a taxi trip becoming cheaper than a car owners marginal car trip would require dramatic dropping of taxi prices. Even halving is not really going to do it, and I don't think removing the driver even halves the costs.

The autonomous taxi boosters also seem to overlook what happens to unattended, unmonitored public infrastructure in urban areas of this country. The reason I stopped using Zipcar in NYC was because they were typically trashed inside by the previous drivers. Now imagine an autonomous taxi that gets turned over 10x as often. Good luck.
Introduction to AsyncStorage SQL and SQLite in React Native
Same. Not American so perhaps the experience is different across the ocean, but it was truly magical. As an awkward, weird kid that didn't really know what to do with himself it was life changing.

My former team is still alive and going strong, and after uni I went back as a coach. I still hear the same stories about how awesome the group is, and how kids that now are in the same position as I was find it a "safe space", if you will.
> Our sandboxes are isolated microVMs (Firecrackers)

This question is tangential to your product, but I’m curious about where/how you host these?

Looks like a very interesting product btw, I’m going to give it a try!
I mean yes, but you're missing the point. "Build HTML, parse HTML into DOM, render" is inherently a much riskier proposition than "Build DOM, render", because you're relying on your escape function working correctly and matching the parser.
I also agree 90%. However, when you shorten defmacro to mac, you break tooling.

Here is an example. Let's put this into a file called file.lisp:

(defmacro foo ())

(defwidget widg ()) ;; I just made up defwidget: it doesn't exist!

(mac bar ())

Now, let's run Exuberant Tags (ctags):

$ ctags file.lisp
$ cat tags
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.9~svn20110310 //
foo file.lisp /^(defmacro foo ())$/;" f
widg file.lisp /^(defwidget widg ())$/;" f

Hey look, ctags recognized my defwidget invention and index widg as a tag.

Where is Graham's mac?

Always call your custom definers defsomething, and put them in the first column as
(defsomething name* ...*. Then ctags will index you custom defined
constructs.

Also, saving a couple of character in defining a macro is false economy, because a macro should be used at least several times and considerably condense your program and make it more readable.

defmacro is already abbreviated; it could be define-macro which would be bad. defmac is a nice possibility.
Huh, must be region based then? This URL [0] says 14 for me and that's what my monthly charge is.

[0] https://www.youtube.com/premium
I was told, simpler than C, syntax wise and coding a _real life_ rust compiler implementation being _SIGNIFICANTLY EASIER_ than a C compiler.

That was a lie, period.

rust is just another toxic computer language, but this one seems to be financed and pushed like any other by powerful organized groups of people. As I said, there is a smell of Big Tech.

And I don't forget the "ofc, the canonical rust compiler is written in rust"... (but the real hard work is actually done by llvm which require a c++14 compiler). What a f** joke.

I wanted to update my judgment on rust, well, I did.