skysight-inc/HackerNews huggingface dataset:
You can accomplish the same thing in C with some macros: https://stackoverflow.com/a/376478/189247 But honestly, it is not worth the bother. You just end up with lots of (my_index_type_is_different_from_yours_t) casts littered in your code.
Show HN: Submit links to your site, docs, Git to get an AI that knows it all
I could make a counterargument that at least Elon and Trump are making it clear that they are teaming up. There are probably countless other big companies that are much more secretive about their collaborations.
Funnily enough the HN post 3 above this was also by the Guardian stating they will no longer post on X, and they are on a position where it won’t be an issue because they don’t rely on sensationalist content.
No meaningful number of people are leaving America because of a Trump presidency - To devote an article about how host nations should react is laughable
99% of the real work is connecting pipes. If you can, just connect pipes until you need algorithms and structures.

* Understand the O(N^x) notation. You must understand when a program will be fast or slow, when you can just code it or when you need a library. I refuse to implement a sort function that is harder than bubble sort. If it's small and weird I use bubble sort. If it's big and standard I use sort from a standard library. You don't have to be able to program a good sort function, just know they exist and why you should use it.

* In Python, remember that implementations in library are much faster than writing your own implementation using a few `for`s. Much faster, like 10 times faster for silly loops, and even more if the library is using something smart under the hood.

* Why are you studding algorithms and data structures? Are you in the university? At work? At work you can probably delay it until they click. At the university they are part of the standard courses and you must learn them to continue.

* Anecdote time: A few years ago for the Racket compiler I had to use some weird structures (that I didn't implement), modify them slightly and use them in an unexpected way to transform a O(N^2log(N)) to a O(Nlog(N)^2). For N=1000000 that is like 20000000000000 to 400000000, i.e. it the program does not finish in your lifetime to it finish instantly. (In most cases N is not so big, so the improvement is usually not so huge.)

* Anyway, algorithms and data structures are important, but most of the time you can just connect pipes and hope it's good enough. But you must understand when you can just use the simple method and when you must use more advanced tool.
Untrue; there was a bump, but it's pretty much passed: https://trends.google.com/trends/explore?date=2024-11-01%202...

EDIT: with NZ for contrast, https://trends.google.com/trends/explore?date=2024-11-01%202...
Yes, depending on thresholds which vary by state. For some you have to figure out taxes from the first transaction, for others from the 100th and then there are some that consider revenue, like $100k. At least at a conceptual level, taxes in the US seem much more complex than the EU, where you have only one tax rate per country.
We Live Alone, and Like It – On an Island by R. M. Lockley [pdf]
Is this not a perfect use-case for greasemonkey/tampermonkey? Browser independence FTW
Conclusion: Augmented Intelligence is more useful than Artificial Intelligence.
20k-year-old cars were smaller than the ones we are accustomed to today.
There often appears to be an inverse relationship between amount of money and goodness of person
This reminds me of LLM pretraining and how there are so many points at which the program could fail and so you need clever solutions to keep uptime high. And it's not possible to just fix the bugs--GPUs will often just crash (e.g. in graphics, if a pixel flips the wrong color for a frame, it's fine, whereas such things can cause numerical instability in deep learning so ECC catches them). You also often have a fixed sized cluster which you want to maximize utilization of.

So improving uptime involves holding out a set of GPUs to swap out failed ones while they reboot. But also the whole run can just randomly deadlock, so you might solve that by listening to the logs and restarting after a certain amount of inactivity. And you have to be clever with how to save/load checkpoints, since that can start to become a huge bottleneck.

After many layers of self healing, we managed to take a vacation for a few days without any calls :)
That’s not the fundamentals of political philosophy. It’s a western take on political philosophy, there’s many others both from the west and elsewhere.
You get either a compile time instantiated infinite lazy sequence, or a compilation error.

My personal bar for "amount of clever involved" is fairly high when the clever either does exactly what you'd expect or fails, and even higher when it does so at compile time.

(personal bars, and personal definitions of "exactly what you'd expect" will of course vary, but I think your brain may have miscalibrated the level of risk before it got as far as applying your preferences in this particular case)
Enterprise software is almost universally pretty terrible, and yet corporate world is running smoothly. That's because, at the end of the day, the quality of life of the users (employees) does not matter that much, they adjust and cope to get their work done.
Thanks, because this is useful.
This is fun. It would be interesting to add the able to query references inside the page, like images. That could be modeled as a foreign key relationship to the page. I'm using some Python libraries to do that and everything is wrapped in try/except blocks because PDFs are a mess. I wonder how poppler handles those kind of files.
The complexity this article talks about (discounts, tiers, billing periods, dunning, chargeback disputes) has nothing to do with compliance. It's all about maximizing revenue.
This looks very close to the table-format from Cooking For Engineers®: https://www.cookingforengineers.com/recipe/320/Sauteed-Spina...
80/557

146/1109
Long time Lenovo user here, considering switching to frame.work. Do I understand you don’t recommend frame.work for Linux?
It also excludes tests, which is how they reach such a low number. It seems they are trying to count the number of lines actually used in the executable. I can't see the value in this metric. If they want to talk about executable size, they should just use that. If they want to talk about the complexity of maintaining their project, then surely you must count all lines because those still make the project harder to maintain. I guess they're trying to measure the logical complexity of the final result, but I can't for the life of me think why a user or developer would care about this.
can we stop with replacing the 000 with k, it’s rather annoying
Careful. I too thought about this, but docker containers have the following benefits over the LXC scripts:

- Updates and automatic upgrades between major versions.

- The developer who wrote the software created the container (most of the time), this means its a supported environment. Also, as they have the insight into the application and future upgrades the environment has been setup correctly for each version.

If you want to achieve your goal, I'd suggest an LXC with your favourite Linux distro + docker + app container(s) for each app you have. It gives you the same thing, but with the benefits above.
Fun fact: a rectangular sheet of resistor with a specific thickness and terminals at both sides has a resistance unit of: ohms per square. Not square meters, just square!
Yeah. I scratch my head when there is a ton of new models and competition happening in the mini PC market that provides good value for end users, but nobody notices. When Apple releases a new mini PC, suddenly it's like a breakthrough or something. I even see people say "the entry 8 core Ryzen you can get on a desktop PC is 7700" when discussing this new Mac mini on tech forum, as if giant towers are the only kind of desktop PCs and 7840U/7840H(S) doesn't exist. (You would expect these people to know better)

I guess marketing matters.
Show HN: Nervespace – .NET Hosting from a Zip File
more like a hand movement sensor than a keyboard but yeah. it would also act as a mouse if you pinch your index finger and thumb on either hand.

One other important piece you're missing is that the displays are "cellphone" aren't permanently paired. and the "cellphone" could be a computing device of any size. your displays would interface with the larger computer at stores or smaller computers when you go about your day in public (street lamps, directions, information, subway,etc..). instead of a smart thermostat with a touch screen for example, you'd just bring your display near a wall (and/or actual thermostat) and interface with it. flying? just bring up your lightweight display and have it interface with the plane's computer for entertainment and information. So, instead of "cellphone" think, "thin client" but with modern wireless+battery tech.
Don't most of the rules around protection from unfair dismissal only come into force after 2 years?
I was looking into the table format for my app[0], but then the notes at the end made me reconsider: Tabular Recipe Notation Patent Pending (Michael Chu)

[0] https://news.ycombinator.com/item?id=42036041
Wouldn't it be _hilarious_ if, years from now, it was proven that the reason for LLMs hallucinating was because they were mimicking the reality of what they were trained on. We could have had accurate AI all along!
Absolutely. It's because they're controlled by the legacy finance system which can see that bitcoin is going to shut its money printers down.
Vivek likes 75% cut - https://www.theatlantic.com/technology/archive/2024/11/elon-...
Serverless, as in using AWS servers for code execution and AWS S3 servers for storage? Or serverless, as in... no server?
The question is if I rob Peter, then give him twice as much in return am I still a thief?
Super heavy-lift, frequent flights to space for Europe: Protein study results
Line was previously owned by Naver, but is now Japanese-owned. I believe it was actually developed in Japan - it happened as a reaction to communication problems during the 2011 earthquake/tsunami/nuclear disaster. It's an absolutely excellent app, no ads or anything, only pure communication with everything you would want for that purpose.
Forth May Be the Answer
A few x86 CPUs used are 4-7 generations old. Not sure what to make of that.
Is this the same sort of technique that Shazam uses?
My kind of people. Good luck!
Great job writing up the prognosis. I've experienced a few subtly nuanced Gboard and text input bugs on Android with quite unintuitive and frustrating symptoms (eg. keyboard not coming up when it should, copy/paste context menus not coming up after selecting a lot of text, etc). It's kind of pathetic when a platform can't even get text and the keyboard right.
I can offer no better words for you, however can offer advice which I myself shall no heed.

Vote accordingly and proceed onward. If collectively a negligible fraction also do the same then the results might just surprise. Ostracism is a powerful tool, while not always used for good, it does serve a purpose in society.
Electrec itself got corrupted a few years ago. It was far the best web page for news about electric vehicles going into details, but it was probably bought and now it's just ragebait.
Not really, you wouldn't normally kill or restart processes randomly in an OTP system. "Let it crash" is more about separating error handling from business logic.
The article is too dismissive of Chinese cheap EVs as a threat to Tesla and how tariffs might help Tesla.

Having said that it’s a good take, but after seeing how arbitrarily stocks rose in ‘21 I’m not too sure that rallies of household stocks are nothing more than emotional bets without any real strategy
Lemonsqueezy, Gumroad, and Paddle also act as the merchants of record, meaning they assume liability for every transaction. Their role extends beyond simply handling invoicing.
Survival of the fittest is just the circumstances we find ourselves in. Our strategy to survive is cooperation. Human are amazing at cooperation, second only to eusocial insects. Fairness is an important mechanism in organizing this cooperation.

So, yes. Fairness is intrinsically human.
Binary Ninja: https://binary.ninja/ :)

Think someone has already linked it below!
Two wrongs make a right? I'm guessing "around 30" means late 20s.
>modern devices position you within cities by using a combination of WiFi SSIDs + MAC addresses of routers and devices around you as well as GPS to triangulate your location. This was also the reason that our WiFi only iPad was able to display an accurate location in apps even though it had neither GPS nor cellular.

can't wait for this to find its way into Tomahawk missiles as a fallback for the jammed GPS environment
Understanding SwiftUI's View Update Mechanism: Starting from a TimelineView Update Issue

This article explores SwiftUI’s view update mechanism through a seemingly simple but representative TimelineView update issue.
This is how I do it. I can't stand needing to find information in ten paragraphs of text while cooking.

- Ingredients are listed in one column on the left in order of use.

- Duplicate ingredients are separate.

- Each step has one or more input products and one or more output products, indicated by arrows, and braces to group multiple.

- Handwritten because it's much easier. Computers are just too much trouble.
Tiny Static Map: 1 kb library to display a static map centered on a coordinate
Well, I wouldn't consider 7700 low-power in any sense, maybe 7640U or 7840U on a mini PC. You are running Linux the entire time?
Meta has a similar strategy, and this is why memory leak bugs in HHVM are not fixed (they consider that instances are going to be regularly killed anyway)
Yep, sorry!

It is Binary Ninja
Or «how to get hated by your co-workers ». I appreciate the technical challenge there tho.
IMO:

Industrious and skilled people but _they_ are _the_ limiting factor, now, whatever methods they are going to come up with.

Remove yourselves from these projects and start from scratch.
Fascinating, you wouldn't happen to have the code up would you? What kind of stuff are you doing, and what libraries did you use?
> >that is why we are talking to you right now, instead of beating the shit out of you

I have never written this.
I tried watching "Ivan Vasilievich Changes Profession" (1973) to see which way they had Ivan IV (the Terrible) crossing, but the director very cleverly has the actor's back to the camera during that moment in the elevator...
That's exactly what we did in the end—used a commercial VPN and provided internet to the device over the USB cable. Could have probably used a Tailscale on a VPS somewhere too.
Yes...but that headline is clickbait, plucked from a editorial that is mostly about other things. Also kinda laughable - the article is very heavy on "the EU should" stuff, with zero mention of Britain. Vs. The Guardian is British, and Britain left the EU years ago.

Reading things more charitably, I see the article as a "we need to actually get our sh*t together now" call to action. Not that I think it'll do any good, with how far Europe has sunken into dysfunctionality.
Guardian will no longer post on Elon Musk's X from its official accounts
that's above 12% on both.

now correct it for number of sold phones each (estimated by looking at the 70 most popular models) and we'll get why they said 1/4.
but it was easy to run out of them

So often in computing we've completely overhauled the stack with loads of new complexity, when simply adding more of some limited but unexpectedly popular resource would have sufficed (great example... IPv6).

(Ps. Thanks for your informative reply to my comment)
raku kinda puts a bunch of parts of itself together during startup, not entirely unlike Julia.

The sheer dynamism of the thing makes pre-baking that non-trivial, also not entirely unlike Julia.

I seem to recall chatting with the devs on IRC a few years and there seeming to be more than one viable way to potentially fix it, but they all seemed to me to share the property of needing a lot of effort during which nothing would work at all before you got something to show for it - and a decent chance of what you got to show after all that time was "welp, here's why which one can't work" - which is a really heavy lift in terms of somebody finding motivation to try it in the first place.

So tl;dr "yes, I dislike the startup cost, no, I don't expect it to change soon and I don't think it's a black mark against the team that it probably won't."
> Especially when you can't project your military power a few hundred km over your own border.

Quite a lot of western commentators were just as surprised as Putin to discover that Putin commanded a force that managed to lose its own tanks to local farmers.

The difference is we got out the popcorn, and he got filmed anxiously gripping his own desk for 12 minutes.

Since then Putin has put his country into a war economy, and now it is a war of attrition because Ukraine is given just enough support to not lose but not enough to win either — Biden is both afraid of Russia winning and also of Russia escalating it if they lose too hard.

This war will go on until the west gets tired of supporting Ukraine or decides that escalation is a risk they're willing to take or Russia collapses under the weight of the war economy or Ukraine develops nukes; but I don't mean "the USA" when I say "the west" despite the fact that most current support comes from the USA, as many European countries have been building up their militaries both in reaction to what Putin did and in anticipation of Trump taking the US out of NATO.
Half the LU tunnels are barely larger than the train, the other half are cut'n'cover. And they're rarely straight. And most lines run from 5am to midnight. Some now run almost 24 hrs.

That probably influences the decisions on roll-out and cost.

TFL has been ahead-of-the-curve with the rollout of some tech (Oyster cards, tap'n'go), but not so much with others when they get hacked.

https://www.bbc.co.uk/news/articles/c4gqg2elkj4o

https://en.wikipedia.org/wiki/Oyster_card#Precursor
the point is that they can do, in an FDA-approved manner a hearing test + tuning the hearing aid + hearing protection all in one device

and this means both that they don't have to use weasel legal language to avoid "the regulatory hawks" AND that they gain a huge air of legitimacy in their marketing as a medical device
Corruption is inherently bad because it undermines the rule of law and people's trust in the the government.
Amazon folks won’t debug your code though, they’ll just happily bill you more.
> Meta’s “FungiFriend” chatbot showed up in a popular Facebook mushroom foraging group, and soon enough, it advised users to cook a toxic mushroom in butter. Yes, you read that right.

To my understanding, sarcosphaera coronaria is edible after cooking so this specific advice is fine. Used to be eaten raw (and I still see some less-reputable websites giving that advice), but that's no longer recommended.

In general though, a mushroom identification bot just seems like such an obvious liability that I'd have to assume the creation of the chatbot (system prompt, name, image) is itself automated by asking an LLM to come up with one based on the group.
Off the top of my head I can't think of another democracy in which the executive can be appointed with fewer votes that the other parties/candidates, either systemically or realistically. In the US this has happened several times in living memory.

But that's not the point. The point is that in general and in terms of democracy and democratic mandate obviously the popular vote is the most important metric. That's the point of democratic elections.
Maybe buy a newspaper or two...
I don't understand this. As far as I know, the satellite basically sends its identifier and precise time, and from this information (combined with the information in GPS calendar that tells the locations of the satellites) the recipient can determines its own location.

How could it be possible to determine the location from a single timestamp and information about which satellite it belongs to? I suppose if the recipient already has a fix, then it could perhaps survive with less than 3 satellites by making some assumptions, but I imagine this will result in lower quality location information.

Were you proposing to assume the location of a 5m sphere the recipient is in?
What war has the West tried to expand east are you referring to?

Or you're just going to ignore the fact that former soviet states only started to ask to join NATO after Russia restarted invading its neighbors?
Not me, I just thought it was awesome.

Here is the person's Twitter/X thread about it:
https://x.com/_jzhao/status/1856103807903773015

First tweet announces it.

Second tweet has the deets:
------
shoutout to
@daylightco
and
@_chloeyan
for inspiring a lot of the effects used here! you can find a stripped down implementation here:

demo site: https://sunlit.pages.dev
source: https://github.com/jackyzha0/sunlit

effects breakdown below...
------
Part time work is possible.

I initially dropped to 4 days/week in lieu of a payrise (comp remained the same). Did that for a while and since then I've been working 2-4 days/week (3 right now)

It helped that it was a small company and I had been working there for 5+ years, not sure how I'd go about finding a part time software job otherwise. Everything is negotiable though.
They say a lot of things, like that their base models weren't instruction-tuned, however people have confirmed that it's impossible to find instruction that it wouldn't follow, and the output would indicate that exactly. The labs absolutely love incorporating public evals in their training; of course, they're not going to admit that.
I'm not so sure every design pattern corresponds to a missing feature. For example, what feature would the Observer design pattern correspond to?
I’ve been on ddg for years too, but I’d say their results quality has dropped as well. I haven’t really been happy with either recently.
nobody's stopping you from starting from scratch?
It's a pretty common convention, at least it's used a lot in my domains of interest. What do you not like about it?
How the James Webb Space Telescope was designed [video]
Thanks for the info. So if I wait a few months for stock to replenish it sounds like the 9000 series X3D may be a good option for a future-proof gaming PC
Specifically for this reason. The seller has much more incentive to provide false information than Google maps.

Before comprehensive maps, street view, high definition video and pictures, etc, one might have had to read what a seller or their agent says.

But now, I might only read a description after a given property meets my location/size/age/etc criteria, but I assume I need to verify whatever information the seller is providing.
Pure CSS implementation of some sunlight streaming in through the window
Ha! If you happen to live in the battle area of South Wimbledon then the noise from the northern line in the early hours of the morning can wake you up! It’s roughly 30 meters under too!
The link should be https://www.forth.org/lost-at-c.html to avoid a certificate error
Is it really true that the Kraftwerk "dissolved"? (They do tours still in 2024)

Also the claim the reason anyone left because half of the members wanted to make sounds that looked "perfect" on an oscilloscope and not how good they sounded - where can I see any confirmation of that?
I think the point OP was making is that a response to “this is a very X attitude to things” does not find a direct response in a follow up which is “this is a very Y attitude to things”, and completely fails to address the X.
And so you can in Żabka.