skysight-inc/HackerNews huggingface dataset:
I created this dumb app in the middle of the night in 40 minutes with ChatGPT
I have a newborn, and the early mornings have been crazy. I usually stay awake beside my wife while she breastfeeds, waiting to burp the baby and sleep.

To keep me awake and help her stay awake, I started reading a few pages of books during these moments, but I was using the flashlight on my phone, which was very bright and unpleasant.

I was already considering buying a reading light, but that morning, in a moment of insomnia, I had the idea of creating an app that used the phone screen as a flashlight. I got up quickly and typed a prompt in ChatGPT, which generated something very close to what I imagined.

I copied the code and put it online using GitHub Pages right after. The whole process took about 40 minutes (and at least made me very sleepy right after; I fell asleep).

I used the app that same night, and this morning, I decided to improve it, improve some things, add some simple features, and also turn it into a PWA app that can be installed (so I could use it in full screen).

I liked the result so much that I published the app for free. It's straightforward, but I hope it will be useful to more people:

https://readinglight.app/
Unfortunately for you the flavor of Zionism he endorsed (which preferred a binational rather than a Jewish state) hasn't had any political significance since Israel's independence. If he were to espouse those same beliefs today, he would likely be seen as "anti-Zionist", if not outright antisemitic within Israel and its support base abroad.

So no, one does not get to say "Einstein supported Zionism" per the latter's modern definition and context.
There is not a distance that is good or bad to focus at.

Having little variance in focus distance throughout the day (long or short) can be bad, while focusing to either end of your visual limits can be tiring.
Even when nesting is disallowed, my point is that I find it preferable to not view it (and syntax-highlight it) as a “special string” with embedded magic, but as multiple string literals with just different delimiters that allow omitting the explicit concatenation operator, and normal expressions interspersed in between. I think it’s important to realize that it is really just very simple syntactic sugar for normal string concatenation.
Sugar raising blood sugar seems like a quite obvious effect but some people argue against it.

Edit: it doesn't need much to be smarter than you,
waihtis
It is abuse and the manager forced everyone to respond either by participating or by refusing to participate or by lying or by exposing that they actually have literally nothing interesting to say.

If you don't get that, then you are probably out their making life 5% hell for half the people around you, in blissful ignorance thanks to the effort they all put in to catering to your inconsiderate interactions.
Despite seeing code early in the series, didn't see any code that would actually put pixels on a screen, or even to write a static image into a file, at least not within the first 6 or 7 units. Somewhere around that point there is some reference to OpenGL, so presumably you could start to brighten patches of screen at that point?

Offering this as constructive criticism - the tutorials could be more engaging if the student could follow along and cause things to happen directly on the screen. It'd be awesome to organize the 1st unit as more than just confirming one has a compiler, to take it all the way to a kind of "hello, pixels".
idk why don't you instead just admit you were confidently spouting off about something you know nothing about
Show HN: I made a RAG plugin for obsidian.md
This is a mvp at the moment. I would love to develop this further like giving multiple llm support and all. What do you guys think?
> The idea that every single adult needs a single-family zoned space for themselves is something of a historic anomaly

Guess we should give up on smartphones, air conditioning, personal computers, more than one pair of shoes, more than one TV, among many new historic anomalies.
Correlations tend to disappear when one of the correlated things starts to get used as a tunable.

Related: [Goodhart's Law](https://www.oxfordreference.com/display/10.1093/oi/authority...)
It does have one, but it's not accessible when running in GBA mode.
As of python 3.6 you can nest fstrings. Not all formatters and highlighters have caught up, though.

Which is fun, because correct highlighting depends on language version. Haskell has similar problems where different compiler flags require different parsers. Close enough is sufficient for syntax highlighting, though.

Python is also a bit weird because it calls the format methods, so objects can intercept and react to the format specifiers in the f-string while being formatted.
2 birds. Seriously though. Adding links to a website for sharing links is now spam? Ok.
These things still don’t establish actual causation.

For example, someone susceptible to later developing diabetes may consume unusually high quantities of sugar when available as a means to deal with some other insufficiency. (Guess where that idea comes from). The problem is not the sugar per se, but the fact that different people respond to the same consumed items completely differently, something that is very inconvenient for those that want to treat everyone the same way.
> Authoritarian lawfare? You mean against the guy who literally tried to steal the last election?

Who are you responding to? OP referred to Biden as a purveyor of authoritarian lawfare. Which, given the term is flexibly defined, is both true for everyone and always falsifiable.

It's a stupid statement that follows an otherwise mostly thougtful comment. (Negating the "obviously...Musk...is a good actor" bit, but I'm not here to shit on faith.)
I had thought of that as well as a sitemap.xml placement but part of the fee would bring non-automated verification. Like you could only pay with a real credit card (not virtual) but nothing sounded super great. A do follow is only as good as the others on the site.

I already have the code there to make people do follow. I was just going to make an automated program that saw people who generate traffic and put it into a queue to manually check.
Security by obscurity works, it works, no matter how hard people regurgitate the bs that it's not working.
Charles Dickens writes a book. Everyone copies and sells it without permission. Charles Dickens starves. Charles Dickens either becomes a factory worker or dies. No more Charles Dickens books.
What does it actually mean when a thread is "Flagged"? This thread is marked as so, and often there is a comment explaining why the thread should be flagged, but I don't see one here.
Yes and not in Safari yet either. Someday I hope that all parts of WebRTC can be replaced with smaller and better APIs like this. But for now we're stuck with WebRTC.
Calling that a border bill is a bit dishonest. It was a $118 billion bill with only $20B in funding for border security, with restrictions on immigration that wouldn't even trigger until 5000 people each day (i.e. most border crossers) had been processed the same way they are processed now.

In short, it would have changed very little.
Why good writing is one of the hardest things
That's not really the point. Of course they're smaller in JQuery, the whole idea is to provide equivalents for things that are easy one-liners in JQuery.
Some of us still try to ship websites that use less than 50KB of JavaScript total.
There are no words for such a stupid move. But it is consistent with the decline of Western "civilization". Volunteers in freedom projects are not passports.
Most languages' abstract machines expose a very simple API, it's up to the language to add useful constructs to help us write code more efficiently. Languages like Lisp start with a very simple syntax, then add those constructs with the language itself (even though those can be fixed using a standard), others just add it through the syntax. These constructs plus the abstract machine's operations form the semantics, syntax is however the language designer decided to present them.
Notepad++ when I used it the 1st time I couldn't believe a text editor could be better. Fortunately shortly after I stumbled upon sublime. V3 was a bit awkward but end of the day still a text editor.
I create two: 30min and 45min, then for longer (rare) I just ask people to book two adjacent slots. I've had no pushback.
I like wrapping it in an Array.from() so you can use .map/.filter/etc.
My reaction: now we live in a world where a web service is necessary to send yourself email from a full-featured device connected to a local network. Yeesh. Longing for the old days of sendmail and self hosting.
Not limited to Google Workspace. I use it with a regular Gmail account.
Indeed. Its the same idiocy as was/is with cholesterole
I always tell my kid, be nice to crows, they've got a long memory.

I keep trying to feed them, but while there are crows in the neighborhood, they rarely fly near our house. I wonder if someone on the block was mean to them, once.
> The problem is not the sugar per se, but the fact that different people respond to the same consumed items completely differently, something that is very inconvenient for those that want to treat everyone the same way.

Haven't diabetes rates been steadily rising until today though? How does one explain that away as "people respond differently to sugar"?
Most of the examples need at least 5x the code compared to jQuery. You will inevitably end up encapsulating those in your own functions at which point why not just use jQuery for this type of DOM manipulation?
> Bad laws are weaponised by both sides.

I'm genuinely curious, can you cite a few examples of the Republicans weaponizing the law against Democrats? If they exist I'd like to know about them.

> Trump threatening to arrest his enemies under 18th-century sedition laws

Are you referring to his proposal to deport illegal immigrants? It's quite a stretch to compare that to prosecuting political opponents.

It's also not arrest, it's simply sending them to their original homes.
Maybe if we embraced small dependencies rather than saying "why bother?", then dependencies would become smaller?
I mean, frying oil. You could almost certainly achieve the same effect frying a whole potato in sunflower/peanut oil at 230C
https://lcwo.net/ is the way to learn
You can basically define a new language with a few lines of code in Racket.
This follows through into the app, which itself is a good demonstration for how a developer can tightly follow design guidelines while extended them with their own originality.

This is generally a good thing for users - building a unique UX for every app doesn't service the user. Some naively believe this is vanity, but no single app lives in isolation, so having all apps generally act and function similarly makes it very easy to pick up a new app and hit the ground running. Yes it also looks nice when all the apps look like they're from the same package, but that's not why we do it.

Something that stuck with me in the 90s was this description of the mac experience: "when you've learned one app, you've learned 80% of another". I bought Pixelmator and started using it immediately without any reference material, tutorials or videos, it is a 10/10 in quality software development.
That's not what I mean. I mean the display inside the lens would require a radically different focal distance (it's less than a millimetre from the lens) than the world outside (where you would view between 20cm and infinity). I don't really see how they could consolidate that within one lens.
Sorry, I was doubling down and responding to blackeyeblitzar's comment. When people refer to Biden enacting "lawfare," it's frequently a right wing talking point used to discredit Jack Smith's cases against Trump.
I am! You're welcome. :)
> I haven't heard any Republican party leaders taking about stripping Musk's citizenship, either

DHS established a "denaturalisation task force" in 2018. Stripping Americans of citizenship
I would expect that P(bad sleep this week | bad sleep chronically) > P(bad sleep this week | not bad sleep chronically). It's a question of inferential power: what is the minimum detectable effect size with such an indirect measurement?
Wow, you really got the whole boot in your mouth all at once, impressive!
> I’ve never heard of any Democratic party leaders talk about stripping citizenship

Fair enough, no leadership to my knowledge.
Don't worry, if you accidentally pierce the skin you'll simply poison yourself.
> When people refer to Biden enacting "lawfare," it's usually a right wing talking point used to discredit Jack Smith's cases against Trump

Oh, didn't know.
Great point. I have https://lynx.boo/Travis

I had this on the homepage but removed it. I'll add it back, I also want to add some examples of custom CSS so people can copy/paste.
He limited himself to a single card not a single swipe - it still needed two swipes.
"But it's an ancient lost art like decorating Christmas trees with asbestos!"
One card, which is two swipes.
Not relevant to this package in particular, but this line of reasoning baffles me every time I see HN comments about JQuery. So many posters argue against the use of JQuery because of its package size and bandwidth constraints, while simultaneously advocating for SPA frameworks that use orders of magnitude more bandwidth. Absolutely ridiculous cargo cult reasoning.
"Con" is very much a curse word, it's just that in French everyone is allowed to use "con" (and "conard"/"conne"/"conarde"/"conasse") and just about all cuss words. I remember my childhood French teachers using those words like it was nothing; kids too. French is a really crass language that everyone seems to think is beautiful. Well, it is beautiful, but it's also crass.

"Petit con" is "little shit". A French teacher might say that to a troublemaker student, say.
Zero-Click Flaw Exposes Potentially Popular Storage Devices to Attac
In the desktop version of the calendar, you can click the view settings in the upper right and turn off calendar appointments

They still show up on the mobile version of Google calendar though :/
> can you cite a few examples of the Republicans weaponizing the law against Democrats?

Every corrupt county clerk and fake elector scheme in the last election. Currently, Virginia striking voters from the rolls last minute [1]. Under Trump, conditioning disaster aid on politics [2].

> Are you referring to his proposal to deport illegal immigrants?

No, to his "enemy within" proposals and promise to prosecute his political opponents [3].

[1] https://apnews.com/article/supreme-court-virginia-voter-regi...

[2] https://www.politico.com/news/2024/10/03/helene-trump-politi...

[3] https://www.reuters.com/world/us/trumps-threats-prosecute-op...
Caldendly/cal.com don't compete with/replace CalDAV. They solve different problems. CalDAV is a protocol for exchanging calendar data. Calendly and alternatives are tools to let people outside your organization schedule an appointment with you.
Similar in Eastern Europe after the fall of USSR when western snacks came on the market and we fell pray to advertising after decades of isolation: "Those sugary western snacks can't be bad for you since they come from the developed west and rich westerners eat them". Oh boy, if we only knew back then what we know today. Probably why a lot of millennials today don't look very healthy.
Just means that some threshold of users clicked the flag button beside the post.
re: the first: this is in contrast to traditional structured editors which actively prevent you from doing edits that break the tree structure, even if the next edit would immediately restore them. users tend to do these often when refactoring; we looked at some examples versus a trad structured editor (MPS) here: https://hazel.org/papers/teen-tylr-vlhcc2023.pdf

in general though i have mixed feeling about making structured editing more text-like; the above is just about trying to patch a hole in existing structured editors, which doesn't in-itself improve on text. i think we can do better than that; we're exploring more radical directions in a separate project. but i do think it is interesting to see how close to regular text entry we can stay while always maintaining a well-formed (though incomplete) parse state which we can use to constantly run type-checking and evaluation.

the current model partially succeeds in the above, but at some significant usability cost, including the fact the the backpack obscures what the actual underlying parse state is. the ghost model i'm describing can basically be thought of a generalization of the vscode parentheses insertion you describe; it just works for every multi-delimiter form (eg when you insert 'let' you get ghosts '=' and 'in', with appropriate holes inserted). the utility is (A) the same as an incremental parser in a language server (you get semantic feedback in every state), but because of the ghost/hole insertions it's crystal clear what the parse state is that you're getting feedback from. but yeah the current version doesn't live up to that standard
LLMs have the potential to eliminate a lot of rudimentary tasks. The brain should find better things to do than locating the closest number in two lists. It isn't all doom and gloom.
XFCE 4.20 Pre1 Released (and Wallpaper Contest for XFCE 4.20)
Colossus AI Supercluster with over 100k Nvidia H100 GPUs
Sorry to hear you've been burned by sharing.
I can't speak for the other frameworks, but with Django this would have not been a problem at all. In Django, most "batteries included" features really just are 1st party plugins, i.e. you can choose to not use the builtin authentication stack and bring your own. All of this is officially supported and well documented, e.g. https://docs.djangoproject.com/en/5.1/topics/auth/customizin...
You’re making a common mistake many people make when talking about RTO.

If a person’s preference is to work with other people who in an office then full RTO must be enacted. Simply going into an office while others work remotely is not “their preferred environment.”

I would also bet that these people were not promised that they can work remotely for longer than remote work fit the needs of the business. Otherwise remote forever would be written into their agreements.

Sure you can argue that a recruiter or hiring manager over-promising and not putting it in writing is morally wrong, but at the end of the day, caveat emptor.

All of these employees knew they could be called back to the office and either a) pretended it wasn’t true or b) knew it was true and thought they’d have enough leverage to stay remote.

And the market has obviously changed since the agreement was made. Keeping the job is the compensation and recourse. If you think that you can find a remote job that pays as much as your now in-office job, go get it.
"Boludo" and "pelotudo" are just Argentine variants of "huevón" -- a big fat zero. They do not refer to genitalia. I know many people think that, but that's not their origin. And what, why should "ballsy" be a swear word? Of course it's not, not even in Argentina.

Similarly "weon" is Chilean for "huevón".

"Carajo", however, is an old word for "cock". "Conchudo" is basically "cunty". Etc.
I know this from the simple fact that I respond completely differently to sugar than almost everyone else I know, except gout sufferers.

The question is why people are guzzling so much sugar in the first place. The answer is they are malnourished. Post war britain was a particularly bad case they deliberately paper over, but my parents grew up with rationing and never snapped out of it, like many others, which led to many of my generation also being subjected to that diet. It simply fills you up but provides people with my metabolism with no energy at all.
at this point it is what ai can do for you - no serious m&a without it
"Inbouw" in Dutch. Yeah, those are the most common, and I get that a lot of buyers would see knobs on those on the plane of the counter top as unwanted.
I know, it was a bit of a joke.

But I think the OP's jQuery replacement is also dropping features in the service of a small footprint. So this was my 80/20 contribution to the "smallest jQuery replacement" problem ;)
Good luck. One thing I can recommend is maybe you find a workplace that does something in an area you like.

You said you’re not truly passionate about android dev but you have a lot of experience and you’re good at it.

Maybe there’s a company doing something you like (like maybe you’re a fan of some sport and it’s major league has a job for android dev) or on a mission you resonate with. I’m sure being interested in the mission or product is just as important (for both parties - you and the employer) as being good at android dev. I feel like being a good dev is the baseline, and the rest is the icing.

Hopefully you find the right next job that is a good fit for you.

Best,
Consider how much info cookies and user intent contain about each user via persistent session tracking.

I wonder if we will see ChatGPT include a behind the scenes giant JSON with 2-20k fields about the personal in the chat and have finetuned "personal situation" ChatGPTs (or just include it in the prompt).

We might find it abhorrent now, but like tracking, it might just come over time. First location, then interests, etc.
And it makes your colleagues miserable because they have to carry the load or slack off too, which inevitably means the whole team is disfunctional and should be let go
With a 30° FOV, and an apparent resolution of... two... and with the prototype not expected until 2026, I'm categorizing this as nothing yet. Which is just as well, as I'm not looking forward to the glassy-eyed future where everybody just doomscrolls directly into their eyes all day.
Your red flags are absolutely merited. I won't deny that.
It specifically calls out the use case of writing a library, where reducing dependencies is a much higher priority. It demonstrates how easy it is to replace usage of many functions. It never implies that the native equivalents are shorter.
Do they really have long memories, or are they just jerks, and people who feel guilty about something they've done mistakenly think their behavior is related?

I ask because I've been dive bombed by crows twice in my life while just peacefully walking, and I've never done anything to them. So I know they can be jerks for no reason.
Cross-Entropy Is All You Need to Invert the Data Generating Process
Finally a name that is perfectly fitting and describes the library surprisingly well.
Maybe just a small thing, but lynx.boo is a bit of a rough domain to use for a e-business-card sort of thing. That's pretty hard to communicate and easy to misremember. (links? link? What was the tld again?) I honestly didn't even know .boo was a thing.
What was the point of this to anyone who does not already know this person?

I thought the internal memo was going to just be the background to set up the actual point which would be something they learned or something.

Actually at first I thought it was going to be about Stripe's culture but there was really nothing too exceptionally bad, just ordinary bog standard work in a too-big company issues. The standout most offensive thing Stripe did to them was something they actually liked.

So, fine, it won't be about how good or bad Stripe is, just about some process they went through and it starts with "I'm not feeling much purpose to my life and I'm not sure why not, but work as a developer in a generic bog standard tech company is not providing it."

Ok, got it. Setup established. Ready for the point now. But then that's it. 'No "and then"'.

Ok like, so what? The mere fact of deciding to quit a tech job for the vague reason of non-specific dissatisfaction is relevant to this person's direct close friends & family, barely relevant to anyone else at their company, and not relevant at all to anyone else.
Because people eat different types of diets and consume, for example, different ratios of omega fatty acids - which in turn can cause chronic inflammation and diabetes