skysight-inc/HackerNews huggingface dataset:
Another disgusting Russian propaganda spin, if Russia wanted children:

- they wouldn't invade their country;

- they would allow Ukrainian authorities to evacuate children;

- they would request third party to evacuate children;

- they wouldn't keep 25.000 children kidnapped for 2+ years, without returning them to their guardians and state, that's a hell of an evacuation uh.

But good try to hide one of the crimes of genocide.
But is the luck biased to have more survivors in one direction over the other?
Isn’t perfect the enemy of good? It’s better, but not better enough until it’s faultless?
Yes I want my own kingdom. I worked my ass off to get where I am, purchased a property with land for the sole purpose of solitude and freedom from other people. Being able to roam my own property and be free of social interaction and interruption. Is that not my right?
https://github.com/clj-python/libpython-clj has deep support for leveraging the Python ecosystem and it works great.
> It all happens on your device.

I am not at all confident that this is true. If we take Microsoft at their word, the raw data is stored on your device. But is processing ever done on Microsoft servers? Are the results of that processing ever sent to Microsoft servers?

Given that Microsoft is pretty aggressive about moving Windows to being an OS-as-a-service, it's hard for me to think that all the data Windows handles stays on-device.
> i. Restore corporate tax rates to historically high levels

My gut feeling is that this would increase inflation, but I could be wrong.

> iv. Gradually curtail subsidies on field corn, currently occupying 5% of America's land (~100 million acres)

I would much rather the US spend $2.2B on corn subsidies so that we have food security in the event of a global catastrophe. I’d prefer eating nothing but corn flour/meal for years than starving to death.

> v. Shrink defense spending by half

As a (biased) US citizen, I would prefer keeping American Hegemony around, and that doesn’t happen without the massive military overspending the US does.
LLMs are famously bad at math. It's one of the prototypical examples of problems they can't solve. Yet it's the prime example presented here.

So I am curious, is Gates suggesting that we will overcome the fundamental issues here or is he saying that (which is kind of interesting in itself) it's plausible to have a technology that is fundamentally bad at something, be an effective teacher of that thing to others?
> or the owner of my car dealership calling me every once in a while unprompted to chitchat.

If you know the secret to stopping car dealership spam, please share!
Trying to sort the particles into single color blobs is pretty fun!
This guideline is basically banning the use of std::string.

Having a string abstraction beyond C null-terminated string is a huge deal both for convenience and for safety. It is super easy to get strings wrong in C.

This is also one of the reasons why printf won't work. You cannot pass a type like std::string to a variable args function.
Instead of pumping in ever more money to feed inflation, why don’t we ask how we can make food and healthcare cheaper?

Why is it “Amazon doesn’t pay enough for workers to afford healthcare” instead of “Healthcare is so exorbitantly expensive even people with relatively well paying jobs can’t afford it without government assistance”?
Things don't have to be mathematically infinite for them to be practically infinite.

> labor demand is absolutely limited to discrete job posting

Only for a very limited definition of labor. How many children post job offers for rearing them, for example?
GPS is even used for automatic HVAC controls in some vehicles.

A light sensor is used determine the amount of sunlight streaming and heating the interior.

GPS data is used to help calculate the angle of the sun, and determine which areas are likely to be heated the most, and thus needs more cooling.

A compass can be used to make it work even when the car is stationary (when GPS heading is unavailable).

A singular interior temperature sensor can be used for feedback, injecting some truth to balance things out.

It may seem far fetched or even fanciful -- functionality that only exists on very expensive or exclusive brands, or very new vehicles.

But as long as the GPS receiver and nav system exist on a network, and multi-zone HVAC is a thing in a given chassis, then the rest is mostly just software that is free (for the manufacturer) to copy and use.

Thus, Honda has been doing this stuff for at least twenty years now on fairly pedestrian vehicles.
It's a probabilistic associative array. A better benchmark is a Bloomier filter: https://en.wikipedia.org/wiki/Bloom_filter#Bloomier_filters
Isn't that just most desktop OSes with non-sandboxed processes?
Thanks for the links!
Seems like we don't need to mask prior to the first compare, since the low order bits only matter if the high order bits are equal (in which case, we can also safely compare lower bits). Or am I missing something?

bool IsEveryComponentGreaterThanOrEqual(uint16_t x, uint16_t y) {
int rv = x >= y;
auto xg = x & 0x07E0; auto yg = y & 0x07E0; rv &= xg >= yg;
auto xb = x & 0x001F; auto yb = y & 0x001F; rv &= xb >= yb;
return rv != 0;
}
Whoa also changing window size affects the simulation too!!
This makes sense. I guess I didn't take namespace or government bureaucracy into consideration.

Come to think of it open source software has this issue too where two projects exist with the same name.
Sorry for the trouble! Fixed now. You should see 10.
> The promise of being able to use any library from any language is really quite compelling, and that's what the WASM component model is about for me.

I'm excited for having extremely lightweight sandboxed. WASI enables having a runtime with a bunch of loaded libraries. You can start a very small script & link in the already loaded modules on the fly, in a very secure fashion.

It's be like having an isolate-oer-requesf model. Super secure, but with fantastically low overhead. Ideally instead of having a huge app server, a front end router would be picking which specific actions to run.

The ability to spin up a cast number of very lightweight secure processes and have them communicating with each other is fascinating. App servers as we build them are ghastly complicated swiss army knives, and being able to have something like a "serverless"/lambda architecture where we can narrow the scope down & really think about what has to be in a given request handling's process could be a big operational boon, if we're willing to once more venture away from the comforting warmth of the monolith that folks love huddling up next to.

As usual though hope & possibility is speculative & nuanced & diverse, and disbelief & disgust is blanket & unifying. I have no clue how I'm still so shocked to see negativity upvoted, positivity out down upon, after it happening so many times but I keep being surprised how strongly negativity reigns. And how fiercely & widely it downvotes! There's just something about the disbelievers & skeptics that they have to smash the downvote, can't abide possibility or excitement; there's never any wait and see, never any maybe about it. Just doom & gloom on and on.
How is this even professional software. Loading up news about sports, celebrities or a former porn star or other sexual stuff from mainstream news sources during a teams call. Yep the news preview or even default Edge homepage which many coworkers don’t change had this on a client call. What a joke. Even if it doesn’t bother you, news is just a distraction during the workday.
>The San Francisco residents have highest incomes in America, but continue to have the worst rates of homelessness in America

Not true.
Good luck with drivers!
Change your window size and watch the fireworks!
The panic of not changing things windows users freak out about is why windows only got a filter-able task manager last year, why command prompt was garbage for decades and so on.

The problem is now they’re finally changing some things that objectively sucked the ad people in the company are also along for the ride. But they always had the power to change things, now things that sucked are finally getting fixed.

Praying explorer gets a rewrite cos it’s slow jacked garbage
I also think NVDA is overvalued, but timing is everything. They could stay overvalued for years before coming back down. "The market can remain irrational longer than you can remain solvent" and all that.
> Well-structured software is easy to write and to debug

I agree that functional programming makes software easy to write (it’s easy to reason about pure functions). However, having spent a decade writing and supporting Scala apps in the wild, I disagree with the notion that FP makes software easier to debug.

Perhaps this is a reflection on the way FP has been shoe-horned onto the JVM, but too many of my stack traces contain deeply nested calls to anonymous functions, and the semantics of the original program are almost completely buried in noise. This gets a lot worse when you start working with heavy framework code.

When writing code, I love Scala’s succinctness and expressiveness. When debugging, I miss the simplicity of stack-friendly imperative code.
But that's been known for months now. At one point a bloomberg podcast mentioned in passing that nVidia inventory now has a lead time measured in months. Which kinda sounds like the makings of a bullwhip effect induced bubble[0]. Everybody wants inventory now, so they put in massive orders, hopefully get some fraction of what they asked for, and if they happily get too much they can, in theory, easily sell their surplus into the market. Think about how many "AI platforms" boil down to "we have GPUs!"

_If_ this is the bullwhip scenario, then it's basically a gamble about how many million cards nVidia can ship before their own short supply bubble bursts. Or the AI bubble more generally.

[0]: https://en.wikipedia.org/wiki/Bullwhip_effect
> Models don't do that though, only if you run them in a loop with tools they can call, so mostly don't do that.

That's also a description of DNA and RNA. They're chemicals, not magic.

And there's loads of people all too eager to put any and every AI they find into such an environment[0], then connect it to a robot body[1], or connect it to the internet[2], just to see what happens. Or have an AI or algorithm design T-shirts[3] for them or trade stocks[4][5][6] for them because they don't stop and think about how this might go wrong.

[0] https://community.openai.com/t/chaosgpt-an-ai-that-seeks-to-...

[1] https://www.microsoft.com/en-us/research/group/autonomous-sy...

[2] https://platform.openai.com/docs/api-reference

[3] https://www.theguardian.com/technology/2013/mar/02/amazon-wi...

[4] https://intellectia.ai/blog/chatgpt-for-stock-trading

[5] https://en.wikipedia.org/wiki/Algorithmic_trading

[6] https://en.wikipedia.org/wiki/2007–2008_financial_crisis
I think that's a short term perspective.

> they need to show impressive results right now to keep having money

Sure. You do as little as possible to make as much money as possible. This is a fundamental of commerce/human existence. But, at some point, it will end with everyone's models performing similarly, with free models catching up. The concept of sustained "impressive results" will eventually require actual "reasoning systems". They'll use all that accumulated wealth, from what you maybe perceive as low hanging fruit, to tackle it. I think it must be assumed that these AI companies are intentionally working toward that, especially since it's the stated goal of many of them. I think you must assume that these people are smart, and they can see the reality of their own systems.
I didn't consider it because i couldn't think of what it would be that they want people to talk about. What do you think about? Who made this for achieving what?
Is this something that changed much between versions of GPT-4?
Do you think Yan meant that GPT-4 failed with some special private test set in the same style (e.g: to avoid contaminated tests)?
I couldn't identify a "monte test with modified elements", do you mean the "Monty Hall problem"? (Not sure that's a basic reasoning test, but it's the only thing I could think of). I didn't see that in the transcript either though: https://lexfridman.com/yann-lecun-3-transcript
Or do you mean that by adding some Monte Carlo magic to the test's completion sampling that it can pass just fine?

For the Lex interview I only managed to catch the first parts about image processing, which did seem perhaps a bit dated. I mean to watch the podcast soon though.

Thanks for your thoughts, sorry I didn't get it yet!
> people don't really want to learn.

This is the most nonsensical statement I’ve ever heard. I don’t know how someone could actually believe this.

As someone who loves to learn, I’ve already been using AI to learn things I never had the patience for in school. I HATED classes. Learning at my own pace, in my own way with AI has been an incredible experience. It’s far from a “small optimization”.
Photoshop isn't getting hammered even though it's been used for such things (CSAM, revenge porn, etc) for decades
Never seeing Quora in my search results sounds wonderful.
I never heard of fentanyl until the government did their crackdown on pills in the 2010s. Regular doctors (not pill mills) were terrified of getting arrested for prescribing them legitimately. When the they started the crackdown, I predicted heroin use would start to spike again, and as we all know, heroin doesn't have the dosage written on the side of a bottle.

We've been doing the same shit for 50+ years, and the results are always the same: more drug use of ever harder drugs, more deaths, more destitution, more prison, more homelessness. We should try something else, but when all you have is a hammer ...
Legalization of hard drugs doesn't work long term. If you provide all resources to people to enjoy opiates - they will have no incentive to quit. Why is this utopian view so persistent?
> Investing is mostly about not losing money

Counterintuitively, when I focus hard on not losing money, I become too risk averse, I fail to take appropriate risk, and my returns are stuck in the low single digits.

I can't count the times I sold great companies like Apple and Netflix and Tesla years too early because I was afraid to lose money and wanted to "lock in" a 50% gain.

By focusing on potential for high returns instead of not losing money, with a diverse portfolio of assets that don't correlate perfectly with each other, total returns are much greater even though individual bets can show big losses for months or years.
$100...not the cheapest drive available, so it must have been soon after they were released...id say 1996
Here's a quick example of how DB access generally looks in production:

(ns rads.sql-example
(:require [next.jdbc :as jdbc]
[honey.sql :as sql]
[clojure.string :as str]))

;; DB Table: posts
;; +----+-------+
;; | id | title |
;; +----+-------+
;; | 1 | hello |
;; +----+-------+

(def ds (jdbc/get-datasource (System/getenv "DATABASE_URL")))

(defn row->post [row]
;; This is your optional mapping layer (a plain function that takes a map).
;; You can hide DB details here.
(update row :title str/capitalize))

(defn get-posts [ds]
;; Write a SQL query using Clojure data structures.
(let [query {:select [:*] :from [:posts]}]
;; Run the query.
(->> (jdbc/execute! ds (sql/format query))
;; Convert each raw DB map to a "post" map
(map row->post))))

(println (get-posts ds))
;; => [{:id 1, :title "Hello"}]
The Highlight feature (a button that takes you to a community-designated timestamp right away, intended to be placed where the primary content of the video actually starts) is particularly bad about this, though I have seen it used to comedic effect. A particularly unbearably cringe video had a highlight that jumped straight to the end so you didn't have to watch it.
MoE-based models are one model with multiple experts. This solution could use entirely different models with different architectures (and probably supports MoE models itself)
Love the idea, but I've found myself switching to Python once my bash scripts get to complex. Easy to maintain, and doesn't need compiling.
Well, yes and no. Most of the cover letters I've seen are too general and don't add any value.

But it seems (tech) companies still use them and it might work for candidates with less obvious experience to at least try to get the first interview.
> Memory: I basically learned how to type playing Police Quest and Space Quest II.

Same here. I recall playing Quest for Glory 2 and becoming very quick at typing "ask about ...". Pausing the game when the user brought up the typing window was such an innovation for me haha
I think the problem the other players have is they don't actually want to compete head-on with Nvidia.

AMD actually commissioned a drop-in CUDA emulator and we found out 'cause they stopped financing it and they open-sourced it as parts of the contract.

I would speculate that no one actually wants a "clone wars" situation since it would commodify the GPU and reduce everyone's profit rate.
It's absolutely treated as insider info by policy where I work. It might not rise to SEC enforcement action, but if caught you probably won't have a job anymore...
$869 sale means you sold between March 2024 and last week. Let’s game this out:

100 shares of NVDA at 453 pared down to just profits from 869 sale would mean holding about 48 shares and selling 52 shares. After today’s after hours movement your invested profit would be worth about $48k, or about $6300 more than when you cashed out your initial investment ($41712).

You take that same $41712 and buy INTC between March and now. If it was bought in March then you’re in for something like $43/share or 970 shares. Intel has been sliding since April and is now at $31. Your profit from NVDA has shrunk by nearly 30%. In the worst case (you bought in March rather than April), you’ve given up near $19k in profit by following your convictions. Your gains have gone from 115% (had you held) to potentially as low as 70%. I guess it’s all house money anyways though, right?
Photoshop isn't created by Microsoft which has a completely different corporate ethos than Adobe. Whataboutism doesn't really work regardless of how it is attempted.
How would that even be known? Do Paint-exported JPEGs have a Microsoft watermark?
You're not wrong. To this day I have no idea what my phone's mute button actually mutes and what it lets through.
How do you explain the failed drug decriminalization in Oregon?
You would abstract away the jdbc/execute part though, right? otherwise that's terribly unproductive compared to django etc.
Imagine if Microsoft sold pocket calculators. They'd refuse to accept or render numbers like 8008135.
> but amplification of horrible takes

The problem is the definition of 'horrible takes' is, and always will be, subjective.
Ask HN: Can we still run mobile computers off AA batteries?
This question came out of a lunchtime conversation with some colleagues, none of us who work in hardware or embedded: there was a period of time, up to the late 90s, where certain mobile computers and PDAs could be run off AAs for a long period of time, with sacrifices of I/O, display fidelity, and storage. Examples at the end.

Beyond size and aesthetics, is this possible today – or is this no longer possible?

(For example, do modern displays hoover up too much energy? Do 5G, Bluetooh and WiFi radios constantly suck power?)

Here were some examples of late-era portables that ran off AAs that we came up with:

- the Psion palmtop series used a couple of AAs, plus a coin cell battery for memory; and ran for a week [1]

– the Apple eMate, a Newton (ARM) in clamshell laptop form, which ran off 6 AA rechargable cells that could be swapped for off-the-shelf AAs, and ran for a week as well;

– similarly, the AlphaSmart Dana (Palm platform on 68k/ColdFire) and HP 200LX palmtops (PC-compatible) could be run off two AA batteries for around 30-50ish hours.

[1] https://news.ycombinator.com/item?id=40438434
Well I have limited time for fun and self-education. But yeah it's not a product.
I always thought C3 was strange since each cycle expands greatly in space. The size of any new cycle is vastly bigger, making C3 insensible to me.

Anyhow, the absence of strong dark energy makes things very easy for Penrose for the general concept of a cyclical universe. If gravity wins against dark energy, then a big crunch is easy, following which a new cycle starts. If instead gravity stays balanced with dark energy, then black holes slowly evaporate into photons anyway, preserving C3.
If you get hacked, the hacker has a video record of the last 3 months of your life. Passwords included. Surely that can't be hard to understand?
lol, nice deflection. MS Paint then. I can guarantee you it has happened.

Also what does "corporate ethos" have to do with "getting hammered"?
How do you feel about just fast forwarding past the ads in your audio player? Is that unethical too?
I’m not sure if it’s what you meant but have you ever tried to build or fix anything recently? It’s the opposite of low-skilled and I’d bet the majority of supposedly high-skilled workers wouldn’t have a hope of completing a job even satisfactorily.

Imho labour rates are going up because they are for people who are actually doing real, scientific-definition-of-work while other people collect ridiculous paycheques for chatting on Zoom

Sorry if I sound bitter but I implore anyone to give it a shot themselves before they complain about paying for real labour.
Security Audit Reports: A Guide for Everyone
Is it illegal to reach this box?
Numeric towers are indeed a sore point.

* There are more 64-bit integers than C floats/doubles. But in math, reals are a superset of the integers.

* Because floats are rounded, `x < x + 1`, is not an invariant.

* The possibility of a `NaN` value means that the assignment `y = x` does not guarantee that x and y are equal.

* Floats are implemented as binary fractions, so they are actually rationals.

I disagree with the OP that OOP is entirely flawed. The core ideas of encapsulation and messaging are a really useful organizing principle. And polymorphism beats maintaining giant case-statements.

Only when inheritance is added to the mix does it get dicey. As a tool for code reuse, it is not a bad idea. I think the central problem is that people want more from inheritance that it has to give (especially if you expect that children are always substitutable for their parents).
I write what I consider to be awesome cover letters, if simply because recruiters tend to mention something from them when they reply. What I wrote was clearly read in full.

ChatGPT produces this bland and generic resume summary. I wish it could generate something I thought awesome, but it cannot.

I would note that my teachers would be appalled at how casual and filled with puns and jokes they are, so it is not by any means the "Dear Hiring Manager" kind of cover letter.
It's just more fun if I know I'm making something that isn't a strictly worse version of something that already exists. Also it's more educational if I'm pushing some kind of boundary.
> you provide all resources to people to enjoy opiates - they will have no incentive to quit.

So?
The good news is that if your car has a 3G embedded modem, it probably doesn't have any networks to connect to anymore.
Invest in index funds and stay away from people who give you investing advice. They usually only tell about the times they got lucky.
Looks like someone deleted the wiki article and replaced it with an insult to hn and a racist slur. This is currently what I see when I navigate to the linked article:

> hn sux, pjals is probably in love with autione. niggers all.

If there are any emacs wiki admins reading this, you might want to look into correcting this.

-- EDIT --
I reached out to #emacs on librechat and it has been reverted.
The banning of hard drugs hasn't seemed to work long term either. Do you think they have incentives to quit now? It doesn't seem so to me. People want to do drugs. They're fun.