skysight-inc/HackerNews huggingface dataset:
That's not really a problem.

In one hand, it shows the idea is really useful on its own.

And on the other hand, it shows that currently forgotten ideas have a chance to being rediscovered in the future.
That is the haskell workaround, and it also sucks, because it still requires a special non-uniform first value.

I do not want to write either of your snippets, I want to write

SELECT
a,
b,
c,
FROM

Because now selected values are uniform and I can move them around or add new ones with minimal changes no matter their position in the sequence.

It’s also completely wonky in many contexts e.g. CREATE TABLE. Trailing commas always works.

> I'd suggest to maybe just change your coding style - and make the start of the list special - instead of the end.

Supporting trailing commas means neither is special.
I only wish I could take credit for that design. One of my top seven favorite interface puzzle maze quandary games! A classic.
Show HN: Image-to-Kaleidoscope-Animation, real-time in the browser (open source)
Turn photos into kaleidoscope animations -- for free, in real-time, directly in the browser!

Click the button at the bottom-right to close/show the controls. You can use the menu to upload a new image, adjust the animation speed / number of kaleidoscope tiles / canvas size, and to export the animation as a video file.

This web tool is completely free, open source, without any paywalls or premium options. You are welcome to use it for personal or commercial purposes.

This project is coded using Javascript, HTML-5 canvas, and CSS. Video creation and encoding is done using mp4 muxer. Github repo: https://github.com/collidingScopes/collidingScopes.github.io

Enormous thanks and credits to Luke Hannam, whose blog post explained the code and mechanics for creating kaleidoscope animations in javascript: https://www.pepperoni.blog/canvas-kaleidoscope/
Trump and Musk may not pay attention to the constitution, but I understand that the US armed forces swear allegiance to the constitution — while they must obey lawful orders of the president, unconstituional orders must be refused even if from the president.

https://en.wikipedia.org/wiki/United_States_Armed_Forces_oat...

https://en.wikipedia.org/wiki/United_States_Uniformed_Servic...
I suspect that it's perfectly valid to name a column "from" or any other SQL keyword so allowing a trailing comma would make the grammar ambiguous.

Personally I agree with the sentiment, I find it annoying to have to juggle the commas on the last column name but I think there is likely a valid reason to do with making lexing easier to reason about.
Because no one rewards long-term efforts. You are rewarded for short-term goals and, at best, mid-term ones. In an abstract sense, customers reward you for long-term efforts, but this is something no one will put in an Excel spreadsheet with financial voodoo calculations, except when you are the sole owner of the business.
To be fair I have 2 mechanical keyboards that work with Windows and Linux but not with Macs. cf https://deskthority.net/wiki/Noppoo_Choc_Mini#Compatibility
And what shall we do until then?
oh thanks! I'm adding it now :)
That’s why I use leading commas.
> well over a dozen times a year since Covid lifted

And you don't give two fucks about the negative environmental impact of flying? Or at least, feel a little shame or entitlement?
kinda like that bad landlord map webapp that ppl in nyc setup
It is definitely the wrong solution to the underlying problem.

Handing out more and more personal data to companies, even approved by the EU, is not a 'digital identity', its the next step to 1984.

As long as personal data is stored at some companies server, it's not protected, it's held hostage.
The font size and color and layout seems uneasy for me.
Adding something to the end is the most common thing to do.
And changing the start is extremely rare - it's anyway special because you usually put it in the line with the SELECT.
That's called 'deduplication'.
I do this as well.

on top i often do a pad entry so that the elements are all on their own line

SELECT 1 as pad
, a
, b

then i can reorder lines trivially without stopping to re-comma the endpoints or maintain which special entry is on the line of the SELECT token

what would be helpful is both LEADING and trailing commas

so I am suggesting:

SELECT
, a
, b

would be permissible too. The parsing step is no longer the difficult portion.

Developer ease leads to less mistakes is my conjecture.
The art of reading like a translator
I'd say the countermeasure is like "AdNauseam". You just click "call" every time you see the ad. Rack up their costs until it becomes a net negative to show you an ad.
Has there been any company so far that has fired 100% of their programmers to replace them with AI?
Programmatically it is easy to not add trailing comma (just use something like `join(',', array)`) but it would save time during manual editing of a long query - I often add a new line then run query to discover that I forgot to add , on a previous line. When each line including the last one ends with , I can just add a new line (also ending with ,) and save time.
State your device, browser and resolution. For me it floats perfectly fine, as expected, because it is mostly text and uses the elements in the way they are meant to be used. I narrowed the browser (with the responsive mode toggled in inspector) window to something like 250px and it still showed everything nicely. Most websites break way before that width, making elements overlap and unreadable.
I don’t understand why so many people in this thread keep posting trivially easy to check incorrect claims.

Private equity, in the modern form, has been used since before 1950. It’s trivial to check.

CalPERs provides detailed annual reports with returns broken out. No one runs a nearly half trillion fund and “does not know the return of its” component investments.

I’m glad you trust your limited, obviously emotionally driven, demonstrably lacking in knowledge at every comment in this thread, beliefs over market data. You demonstrate to others why so many people are not going to do well handling their own pensions compared to those using proper methods.
Most SQL implementations do seem to allow you to name a column or a table with a keyword, but to refer to it you may need to put it in quotes or backticks.

I'm not sure if this is a solved problem at the level of the ANSI SQL spec or if every vendor does their own thing, but there's definitely plenty of precedent that ambiguous grammar is allowed and can be resolved.
>> Viewport meta tag

> It is not a hack, it is part of the html specification. You don't have to include it, but the browser defaults aren't great, and will not be changed due to backwards compatibility. Please always specify this tag, do not rely on browsers to break backwards compatibility because they won't.

It’s not part of the HTML Standard; what little underspecification there is is in the CSS Viewport Module Level 1 draft <https://drafts.csswg.org/css-viewport-1/#viewport-meta>. The HTML Standard refers to it once, while essentially talking about something completely different <https://html.spec.whatwg.org/multipage/parsing.html#speculat...>. The spec is incomplete and atrocious, and no one seems interested in improving it—it’s sat stagnant for more than a decade. It does things like use strtod to parse numbers, so that in theory (unless there’s some other document I don’t know about that replaces the meaning of “strtod”) an English user will parse initial-scale=1.5 correctly, while French would parse it as 1.0—but I hope no one has actually implemented it that way.

(Why is it part of CSS? Rendering stuff is mostly shifted into CSS’s domain, and also most of the things that started in meta tags arguably because of bad decisions end up being shifted into CSS proper, and that was the idea with @viewport, which was part of CSS Device Adaptation Module Level 1; but since everyone was apparently so supremely bored by the whole thing, they gave up <https://github.com/w3c/csswg-drafts/issues/4766>. But because it’s rendering, CSSWG is still probably the best place for it.)

—⁂—

Anyway: although it’s underspecified, it is… sufficiently consistent and settled, and absolutely invaluable. Every document being started from scratch, which has any intention of caring about mobile-sized screens at all, should include <meta name=viewport content="width=device-width,initial-scale=1">.
In his case, he holds inventory for his successful stores. He is also big on branding. For example, one of his business is selling plants and the custom made boxes for shipping cost more than plants.

he did mention drop shipping to test out ideas but don’t think any of those businesses took off.
Copyright law isn't bad per se. Copyright length is usually the issue.
The DevTools Ceiling: Great as Open Source, and a Terrible Business
> longer term this will destroy their ever dwindling market share

I'd very much hope so, but I am seeing humanity adapt to and support much worse terms and conditions, under the banner of "Meh.".
I think the common thread in airline pricing for the past decade has been that consumers want to pay the absolute least they can for every flight, disregarding almost everything else about the flight/plane.
I know it’s not a default, but `buildFHSUserEnv` is probably what you would have been interested in.
hmm simple but interesting, any plans for other cities/countries?
3dfx did it even earlier with the Voodoo 5 6000 all the way back in 2000.[1][2]

[1] https://www.extremetech.com/gaming/325466-i-wrote-the-first-...

[2] https://www.techpowerup.com/gpu-specs/voodoo5-6000.c3536
From the article.

> “This was an in-vehicle message designed to inform Jeep customers about Mopar extended vehicle care options. A temporary software glitch affected the ability to instantly opt out in a few isolated cases, though instant opt-out is the standard for all our in-vehicle messages. Our team had already identified and corrected the error, and we are following up directly with the customer to ensure the matter is fully resolved.”

So everyone can put down the pitchforks now, unless you are assuming deliberate malfeasance.
The economics very likely didn’t work. It’d be irresponsible for a launch company to model Starlink without a customer knocking on your door with a trailer full of dollars to sponsor the initial r&d and another bus of lawyers signing long term commitments. Vertical integration makes the business case much more appealing.
That is of course not all that they do, but you know that.
Jeep is now on the list of vehicles I'd never own. Ever. Even if they go back on the decision. Permanent lifetime ban for me and my family. My wife can't have a jeep, and neither can either of my kids.
D̴i̴d̴n̴t̴ ̴f̴i̴r̴e̴ ̴a̴n̴y̴o̴n̴e̴ ̴p̴e̴r̴ ̴s̴e̴,̴ ̴b̴u̴t̴ ̴I̴ ̴a̴m̴ ̴a̴ ̴s̴o̴l̴o̴ ̴d̴e̴v̴e̴l̴o̴p̴e̴r̴ ̴a̴n̴d̴ ̴I̴ ̴c̴a̴n̴ ̴d̴o̴ ̴t̴h̴e̴ ̴w̴o̴r̴k̴ ̴o̴f̴ ̴2̴ ̴p̴e̴o̴p̴l̴e̴ ̴n̴o̴w̴

Edit: I am a solo developer and I have to work half the time only now.
Have they?

I mean, that was a link to a German newspaper and the headline is:

> A German Eye On Elon Musk's Hitler Salute (Yes, That's A Hitler Salute)
Everything that is of low value. And its okay. If it is not useful to humanity, it should decay over time and fade away. Low value propositions should be loaded with parasitic computation, that burdens it with costs until it collapses and allows new growth to replace the old system.
There's no serious sources about people wanting to fire 100% of [insert title here] for LLMs. It's more about reducing head-count by leveraging LLMs as a productivity multiplier.

I haven't heard of companies successfully doing that at scale though.
I think a relevant bit of context for this move are the restructuring negotiations with Microsoft. Matt Levine has some excellent commentary on this [1][2], as usual. In short, due to their unusual "capped-profit" investment, Microsoft has first dibs on a very large chunk of hypothetical future profit. While the details are not public, a "low" valuation of 100B would imply that Microsoft is entitled to a controlling stake in the restructured for-profit, while a 1T valuation would proportionally imply a much smaller slice of the pie.

Presumably, Musk is trying to throw a wrench into these negotiations, by putting a valuation on the low end on the table, while Altman's "counteroffer" to buy Twitter for 9.74B sort of claims that this is too low by a factor of 5 to 10-ish.

1. https://www.bloomberg.com/opinion/articles/2024-10-21/who-ow...

2. https://archive.is/nHG3P
> 1. [That's a h]ard question to answer[, so I won't answer it.]

Nice.

> I do believe you should not have clearance to any sensitive documents if you don't have a clean record.

Thankfully, the State Department disagrees with you.

> 2. We are in unprecedented times.

a) This is always true (which is is).

and/or

b) You need to stop listening to the news, man. For this president, you're going to see 24/7 rage-bait from the major news sources. (Will this president do some absolute dogshit stuff that should be illegal? Absolutely. But so have scores of presidents before him, and (these days) each one gets a different treatment from the press.)
Well where do you think all that tech debt that “we’ll pay off later” goes? new icons is the only thing they can ship quickly.

In their defence who wants to be the first PO to ship nothing for extended period of time. Long term always takes a back seat to short term, IMO in any company pressure must come from the very top
Oh dear the rabbit hole I went down in the last couple of hours. Thanks for the link. ;)
The same reason that outsourcing all your telecom infra to China is a bad idea.
Courts and lawyers only have so much power.

Yes they generally won the digital IP battles of the 90s, but this is much harder. Millions of people have downloaded Llama models and there's a great variety of derivative and distilled models. It's an open secret that practically every AI company uses copyrighted data.

Moreover there's the political angle. If the US forces the west to obey copyright law for AI it'll be very hard to compete with China.
>>companies aren’t investing in junior developers

It was a case before AI as well.

Overall it reads the same as "Twitter will be destroyed by mass layoffs". But it is still online
The easiest way to get upside exposure in Starlink and wider spacex is to buy alphabet.
I updated my comment... On the first try the code-formatter here played some tricks with me.

The line before the Code has to be empty to get correct formatting.
We have fired all our programmers.

However, the AI is hard to work with, it expects specific wording in order to program our code as expected.

We have hired people with expertise in the specific language needed to transmit our specifications to the AI with more precision.
Many people are missing the point. The strategy for AI usage is not a long-term strategy to make the world more productive. If companies can save a buck this year, companies will do it. Period.

The average manager has short-term goals that needs to fulfill, and if they can use AI to fulfill them they will do it, future be damned.

To reign in on long-term consequences has always been part of government and regulations. So, this kind of articles are useful but should be directed to elected officials and not the industry itself.

Finally, what programmers need is what all workers need. Unionization, collective bargaining, social safety nets, etc. It will protect programmers from swings in the job market as it will do it for everybody else that needs a job to make ends meet.
It was designed to support a specific Air Force requirement: the ability to launch, release or capture a spy satellite, then return to (approximately) the same launch site, all on a single orbit. (I say 'approximately' because a West Coast launch would have been from Vandenberg Air Force Base, returning to Edwards Air Force Base.)

The cargo bay was sized for military spy satellites (imaging intelligence) such as the KH-11 series, which may have influenced the design of the Hubble Space Telescope. Everything else led on from that.

Without those military requirements, Shuttle would probably never have got funded.

I'm listening to "16 Sunsets", a podcast about Shuttle from the team that made the BBC World Service's "13 Minutes To The Moon" series. (At one point this was slated to be Season 3, but the BBC dropped out.) https://shows.acast.com/16-sunsets/episodes/the-dreamers covers some of the military interaction and funding issues.
dottir = female child (daughter)

son = male child
From my own experience:

1. It makes git diff less noisy when I need to add new element at the end since you don't need to add an extra comma at the end of the now-second-to-last element.

2. It makes reordering the last element a lot more pleasant during development since you don't need to add and remove comma when you are moving the line.

And the same applies (or I wish applies) to SQL. Time and time again I wish trailing comma is a thing in SQL when I'm constructing and testing even slightly more complex queries.
They have published a lot of information on their blog[1]. It's piecemeal, and around other articles about optimisations or security fixes or failures/postmortems, but it's there. Stuff like:

https://blog.cloudflare.com/how-we-use-hashicorp-nomad/

https://blog.cloudflare.com/cloudflare-deployment-in-guam/

https://blog.cloudflare.com/behind-the-scenes-with-stream-li...

1 - https://blog.cloudflare.com/
I don’t know enough about cars or the Jeep brand, but a common answer to this in the general case is market segmentation. If a company constantly makes decisions that make their product worse for you, you’re probably not the target market.

Perhaps in this case it means Jeep can sell their cars at a lower price. Perhaps Jeep is already perceived as a budget conscious brand. The market segment they’re targeting may care about that.

Kindle does this with their ads. They are targeting a consumer with ~$50 of disposable income to spend on an ebook reader, who would rather pay that little and have ads. I’ll never buy a Kindle because not only do I not want ads on the screen, but they have also neglected their high end device which is the segment of the market where I’m at.
The main point of the article was that the Hittite spoke an IE language (evidence from their cuneiform writing), but their DNA doesn't have any Yamnaya ancestry. So, two conflicting points. What the article describes is that they have found an ancient population which they call "the Caucasus Lower Volga people", and their DNA is present in the Yamnaya AND the Hittites, as I understand it. So the hypothesis is that these people spoke an early proto-IE language, and some of them migrated to where the Hittites originated, and others moved west and intermixed with a small region in what is today the southern part of Ukraine, and in a few villages of a few thousand people a whole new economy was developed and this is what eventually spread out as the "steppe migration", bringing proto-IE with them.

So, the base of the article is that they found a population which appears to be ancestral to both the Yamnaya and the Hittites, and that the latter split off before that population became the Yamnaya by migrating elsewhere and merge with people there. What's missing is definite proof that the "Caucasus Lower Volga" people actually spoke proto-proto-IE, but if they didn't then things look even more complex. If they did it would match the current linguistic and DNA evidence pretty well.
I remember very uplifted talk here a few years ago about firing truck and taxi drivers for AI. Turned out, programmers are easier to replace :)
I always say if I can reproduce a bug, I can fix it.

Hardest thing is reproducing a bug reliably.
whatever happened to 2 and 20?
The first line cannot have a leading comma resulting in inconsistency then too.
What you are saying in that post is that a hashmap should be O(log(n)) because if you have a word size w you need k_w = log(n)/w operations to compute the hash of a key that's large enough to not have collisions.

However by that logic the comparison function should also have a similar factor, since by the same argument the key values need to be large enough not to collide. Ie if the key values are just the natural numbers up to n for example, you'll need k_w words to store them and hence comparison takes O(k_w) = O(log(n)).

Thus a binary tree should also have an additional log(n) factor due to this, and hence be O(log(n)^2)).

However the point of big O is to compare, and since both have this log(n) factor you could just cancel that in both, leaving you with the familiar O(1) and O(log(n)) respectively for the hashmap and binary tree.

Is it sloppy to do that prematurely? Kinda yes, but it makes comparisons much easier as you don't have to go cancelling those log(n) factors all the time. And the point of big O is to compare the algorithms, not accurate running time.
"Destroyed" is not the same as "annihilated from exhistence". Twitter is a shell of its former self.
Ads in your car should be opt-in, so the pitchforks are warranted.
Update: Thanks for all the interest!

I've run out of monthly credit at map tiler, so I'm going to have to tinker a bit with the explorer view.

Edit: Switching to protomaps for now.
Takes a bunch of manual work per POD, that's the gist of it.

Fundamentally, if I have struct { int x = 3; std::string y = "bla"; }

I want the json to look like { x: 3, y: "bla" } without writing any code specific to the struct, and have it work bidirectionally. This is currently not possible because of a lot of reasons, but most trivially because the names "x" and "y" do not even exist anymore in your compiled code.
Ask HN: What intelligent forums exist outside of HN?
Twitter has long been declining, and Reddit has recently seemed to get much worse for me. Blind is just for bragging about your salary and making insensitive comments about race and sex.

HN is great, but I’m interested in more than just tech and tech people. Any recommendations?
Location-wise, I really enjoyed living there. Close to everything with great cycle routes. Easy access to fast tube/Elizabeth line connections. Some nice parks, and great walking/running routes along the canals/docks/river. Quick walk (or illegal cycle) through the tunnel to Greenwich.

But you're right, politically it's a disaster! During one of the general elections a few years back there was a local referendum held on the same night about how the mayoral governance was going to work in the borough. Rahman (who's now the mayor) actually had his thugs posted at the doors accosting voters as they arrived and urging them to vote for his preferred option. Police were there keeping an eye on them but didn't seem to be intervening. Guess this sort of electoral interference is okay in Tower Hamlets!
Prql has trailing commas https://prql-lang.org/ if you're ok with running that transformation.
I interviewed for a UK company that said 5 days in-office was a hard requirement. I politely declined and the interview ended shortly thereafter!

Seems like a massive time waste for no benefit. I go to the office 1-2x a week and that's enough for me to meet my team members and collaborate. But any more than that is too much!
as mentioned elsewhere, i personally introduce a pad element to get fire and forget consistency

SELECT 1 as pad
, a
, b