skysight-inc/HackerNews huggingface dataset:
- Good Night, Moon

- The Runaway Bunny

- Harold and the Purple Crayon

- Grandfather Twilight (for slightly older children)

- Sandra Boynton books

- Max's Breakfast (and other books)

- I Read Signs (Tana Hoban; other books by her also quite good)

- Go! Go! Go! Stop! (Cherise Mericle Harper)

- Little Pea (Amy Krouse Rosenthal)

- Trucks, My Car (and other Byron Barton books)

- The Very Hungry Caterpillar (Eric Carle; some other books by this author are also good)

- Roadwork (Sally Sutton; also in the same vein by the illustrator Brian Lovelock: Demolition, Flight of the Honey Bee, The Rain Train).

Many others come to mind, but these are well-loved.
No, and given this article I wouldn't be surprised if they don't have an independence plan.

It's a shame, really - Firefox is still the best alternative to Chrome IMO, Mozilla just has no idea how to grow or maintain themselves. My biggest worry is that they'll either get acquired by some shady company or just fade into irrelevance.
Pretty sure the summers aren't as bad as Las Vegas. I can't answer for any of the other issues.
> This all requires contracts as code capable of ascertaining external facts

Do meatspace contracts ascertain external facts? No, a court of law does. For most things that will likely never change. But if the contract is of a fungible nature, then allowing it to exist on a blockchain means ownership can be traded with no additional infrastructure required. This is why I prefer to call blockchain “market-as-a-service”...
I've realized a lot of the same things. My understanding now is that it is the physical feelings themselves that are the stress. Managing stress is about learning to identify it and then learning how to best take care of it (which you can only do when you are first aware of the stress and the toll it is having on you.)
I've found jOOQ to provide the right tradeoffs and flexibilities for ORM vs. SQL. First, it can generate object models of tables from the database in development and therefore doesn't rely on any specific migration tool. These model classes can be used in a conventional ORM fashion, but you also have the option to use jOOQ to build SQL queries.

You can even fetch the results of arbitrary SQL expressions into a model class, which can handle partial population of columns. This allows combining ORM and SQL approaches with some code operating on models where that is natural, but this code can be applied to models which are fetched in alternative fashions when that is more preformat. E.g., fetching records using criteria that involves joins and only selecting relevant columns for the subsequent processing of fetched results.

The jOOQ "DSL" (i.e., Java interfaces and static methods) gives you essentially the full power of SQL without having to rely on external SQL files or stored procedures. (Or even worse strings.) You can even programmatically build these queries. E.g., optionally including different WHERE/HAVING criteria. The jOOQ "DSL" provides a fair amount of compile-time type safety, which isn't possible with external SQL.
That’s a shadow profile dude, and you were lying when you said there isn’t a shadow profile.
I run Safari & Firefox.

FF is still the "least bad" choice but I'm still not happy that I have to fix it by installing an add-on where that add-on (or at least the core parts of it such as filter lists) are licensed in a way that would allow the browser to have this fix out of the box.
Problem is, most people think that 0.3 being an approximation refers to the fact that it's one significant figure measurement of some sort, like 0.3V on a multimeter. Not that it's inherently an approximation.

Pencil-and-paper floating-point numbers like 1.23 x 10^5 are approximations of measurements (if we are doing science or engineering), but are inherently exact. Calculators bear that out, because calculators use base 10 floating-point, like pencil-and-paper calculations.

0.3 being inexact is only an artifact of the floating-point system being in a different base. No matter how many digits we throw at it, we cannot represent 0.3 in binary floating point. Not 64 bits, not 1024 bits, not 65535 bits.

If we use binary notation for floating-point numbers, they likewise become exact, in terms of representation. The inexactness we deal with then is the familiar type that we know from pencil-and-paper calculations: truncation to a certain number of digits after performing an operation like addition or multiplication.

But that truncation will not happen in a calculation in which both input operands are exactly represented, and the result is also exactly representable!!!

If base ten were used, 0.1 + 0.2 would be 0.3, exactly.

If we use power-of-two values, and combinations thereof, we don't have the problem:

1> (= 0.625 (+ 0.125 0.5))
t

No problem.

2> (set *print-flo-precision* 17)
17
3> 0.625
0.625
4> 0.5
0.5
5> 0.125
0.125
6> (+ 0.125 0.5)
0.625

No junk digits.

7> (= 0.25 (sqrt 0.0625))
t

Wee ...
A form of CBT that has been shown to be particularly effective at anxiety and panic is Acceptance and Commitment Therapy (ACT). If you've been struggling with anxiety, I highly recommend seeking out a therapist who has been trained in ACT.

You can also read and watch anything produced by Dr. Stephen C. Hayes, one of the therapists who developed ACT. He did so himself due to panic and anxiety and this was after becoming a psychologist. The whole field is quite fascinating.
"The secret to success is sincerity. Once you can fake that, you've got it made."
You forgot the TM...

Thanks. I’ll let you know when I do the ICO...
What you described sounds a lot like what I’ve been going thru, especially the part about “fear of anxiety itself being the bigger issue”. Have things gotten better for you?
Yes, this does not sound like an equilibrium state. It’s not sufficient to have transparency. There needs to be an alignment of incentives between consumers and corporations. This can’t happen when not all competitors are subject to the same laws.
Exactly. Arguably the algorithms are optimized for engagement, but it’s like saying opioids hold a mirror to society because so many who try them keep seeking them out.
It was only when I was heavily medicated for depression and anxiety that I realised the physical symptoms of anxiety. Whenever I was expecting a negative outcome, or when I was surprised, my body would give me a jolt of pain along my vagus nerve. Literally any negative event would cause me pain, and it was this pain that my brain was seeking to avoid.

My current medication does not remove this pain altogether, though it diminishes the sensation significantly.
Buddhism. Psilocybin.
Just a power outage? Sounds like just a one time issue that won’t have any material impact on their nuclear readiness?

Wished the article elaborated on the actual outcome of the attack
I'm reading a lot of the comments here and it seems the salient argument is that this will never replace Android or iOS because this or that.

99% sure those comments are correct.

But still, what gets me so hot and bothered is that it looks like purism and pine are making devices that cost almost the same as my other subsidized phone (android) AND might be a viable business EVEN IF there isn't a critical mass.

Linux gets better and better every year even though it will never replace Windows or OSX.

The big deal here is that we might finally have an amazing phone that gives us a complete and awesome developer experience AND respects privacy and the right to tinker fully with our phones.

We've had that on the desktop but NEVER on our phones. This is a sea change that seems worth getting excited about. And it doesn't matter if that doesn't destroy or beat out the alternatives.

This device will never be the marketplace where app developers try to sell my kids shitty apps. Who cares. It doesn't need to be the biggest to be interesting and incredible.
Previous comment was a bit too dogmatic. It’s a matter of degrees for sure.
I say try facing those issues. Your thinking mind is trying to process and make sense of those anxious issues. Example, if you were in an IED explosion in Iraq...it’s okay to think about it. It’s okay to process it. It’s okay to understand that it happened. But it’s also okay to understand that was a one-time thing and your body reacted the way it did to protect yourself from that one-time event. You may have lost some friends from that bad event, and you may have even been damaged from it. But that trauma is OVER. It’s time to heal through acceptance, talking about it verbally, and saying goodbye to those emotions.

This works well, as long as not you’re not still in Iraq at risk of getting hit with IEDs.
How have things played out since the initial sale?
That’s a good observation, and I think the insight is that you still think these thoughts during the day, but you avoid fixating / worrying.

Like, if you are worried about an upcoming job interview, it’s natural that you’ll think about the interview during the day. However, those thoughts will appear and disappear. You are not trying to distract yourself and avoid the thoughts, you are just learning to avoid fixation/obsession/suffering.
In your question you didn’t put any specific reasons why you think it’s a good idea to open source your project. There may be certain immediate benefits, such as the discipline it would force you in to. There are big downsides too, such as the distraction of bug triage or code reviews taking you away from focusing on growing your business.

Until you decide, why not work on project as if it was already open source (PRs, unit tests, documentation, etc.) without actually opening it up, and see how it feels first? If the hassle of keeping it going feels like too much when you’re by yourself, that would be valuable to know before you involve others.
"Wait to worry" I tell my self. Can I do anything about the situation at this very moment? No? Wait to worry. Yes? The DO IT.

It's not perfect, but man, it helps me get through some stuff.
We already use dispersal. For air pollution, for example.
For those with experience with ML in Julia I’d love to get some advice. I have a little business that sells 3D printed jewelry (https://lulimjewelry.com). My biggest seller is customers engraving their or their loved ones fingerprint on the ring. Most of those prints come in needing manual cleanup, which I can usually do in a few minutes.

I’d love to train a ML algorithm to do this, and I’ve been building up the before and after pictures over time using my manually cleaned up customer fingerprint images.
Can anyone give me suggestions or pointers on the sort of algorithm that may be best suited for this task? Just something to get me started down the correct path would be very helpful.
Is there a single method of generating power that does not pollute?

Solar power requires mining cadmium and tellurium, creating plastic frames, solder, connections, etc -- and then replacing said panels as they become ineffective/broken/dirty. These end up in the landfill and buried.

Wind power require mining rare earth metals, manufacturing large quantities of fiberglass or carbon fiber composite bodies, and then, once they're damaged, ineffective or spent, they end up in the land fill and buried.

The question is one of efficiency: which power generation method yields the lowest amount of waste and lowest health and life risks per TWh of generated electricity.
You seem very confident that proper procedures will be followed by organisations that have been caught lying and massively distorting the facts.

More likely is that we're (once again) part of an experiment, the outcome of which we'll find out in a few decades.
It would be roughly 20 if it grew with overall productivity.

Cost and risk exposure has grown dramatically for many laborers.

A majority of the USA struggles economically.

I read recently a figure of 40 trillion dollars being the amount that didn't go home with labor over the last few decades.

The promise was the cost of living was going to go down things would be cheaper and overall cost and risk exposure would be less. That didn't happen.
Couple pointers.

1. I have worked for FAANG adjacent companies(similar market cap) in the silicon valley. It is not exactly a badge of honor, sure - if other people want to honor you and you want to ride it why not. But it is not a badge of honor IMO. Horror? Sure.

2. People talk about 200+ guaranteed for a long time now. I think no one has caught on to it yet. Programmers of this caliber can and do pull ~600K regularly in FAANG and FAANG adjacent. If they are capable of people management at the same time (very few at this programming caliber are), then they will be pushed into the executive situation with millions in stock.
Sorry. It’s a “cultural” thing from some of the folks I have hung out with.

“Jackpot” === “Clusterfuck”

I think the origin is from something like “You hit the jackpot in the shit sweepstakes.”

Usually refers to a self-inflicted disaster.
I do wonder if they stopped optimizing for Intel once it was clear they were going to release apple CPU based Macs. I don’t have one personally, but I’ve tested a family member’s M1 MacBook Air, and it’s the most responsive laptop I’ve ever used. My 2019 MacBook Pro, on the other hand, feels... Just fine. And GPU performance for sure is far better under bootcamp. I pretty much exclusively play games in bootcamp, even if there’s a Mac version.
If also air distance calculated as the crow flies vs actual car km the numbers will be more air travel favirable
After having spent one year in home office, there is literally no household chore that I have not done during a meeting yet.

Easy tier: folding laundry, cooking, most other things

Medium tier: doing the dishes, cleaning the bathroom (need to have a towel at the ready if I need to unmute)

Hard tier: vacuuming (makes it hard to listen to what's being said, so I've only done it once very briefly until now)
This. Back in 2006 when i was doing my PhD in CompSci + Options markets, the Binomial model was the state of the art. IIRC Black-Scholes was usef for historical references, and to understand the underlying variables given the simple assumptions "'closed world" it has. For example, the fact that it serves only for European options.
High stakes at sea in global rush for wind power
"I ain't do no drugs" acceptable english to this author

"I ate too many drugs" something nobody says according to this author.

I have spent time in drug harm reduction. The phrase "I ate too many drugs" I have heard more than once. Especially in online drug communities

This author tries really hard to prove that he didn't say "I ate too many drugs" to the point of absurdity. Who knows what he said? Nobody really. There isn't a reason to conjure reasons to pidgenhole a dead man's words to fit a narrative

Especially considering one of the two things isnt even factual if you read the autopsy. Floyd definitely was incredibly intoxicated
> have you ever implemented any logic involving currency? You may want to take another look at it.

Floating point arithmetic is good enough for science, should be good enough for commerce too, no? Why is commerce special?
I think this is very unlikely. I think it way more likely that apples CPU team uses linux to test chip designs, and engineering samples.
This is a weird article. The headline doesn't really match it. Like it says the thinking brain is the last to know and the author suggests this is a physiological response. But all that's really saying is that anxiety isn't a conscious response. But that just means it's a subconscious response and not a physiological response somehow removed from the brain.

Also, what does "in your body, not in your mind" even mean? Let's face it, the distinction between your mind (or brain) and your body is a useful abstraction, nothing more. Nerve cells extend from your brain throughout your entire body. Where does your brain end and your "body" begin?

Life isn't software that lends itself to neat abstraction layers.
Interesting article. I have occasional (every few years) periods of anxiety. Last time around I went through a course of CBT, some of which I found moderately helpful - don't try to suppress feelings of fear, just acknowledge it and move on - but I was certainly not cured.

Then my doctor suggested I try out the Alexander Technique. I wasn't convinced, but gave it a go. Something about it helped, and quite significantly. The logical part of me rebels against this, as AT is full of woo, but the effects were undeniable.

The practitioner I went to focused a lot on feeling the floor beneath you, the seat supporting you, and so on -- I don't know how typical that is for AT, but perhaps that was the part of it that was effective for me. It would certainly fit with what the article says.
Proof of work uses a lot of energy. There are a few steps between that and “bad for the environment”, and you probably also need to explain why any other economic activity which uses a lot of energy is not also bad for the environment.

All human production processes use energy, and therefore all economic activity is “bad for the environment” in the exact proportion of its energy use.
If you get lumber from the Amish, the lumber measures the actual units.
The thing about eyeballs on screens is that there's two types: the commercial kind which we can certainly do with less of and get better at, and secondly it's a basic human desire, to be seen, felt, relevant. The latter will persist in any medium and we should make better incarnations that do this through technology. Online or shared world gaming communities might be one way. Another that should be in accelerated development right now are more ways of sharing experiences. E.g. we don't have physical movie theatres, but there can be something more social than Netflix, etc.
It's been 14 years since the last state of the art 3D audio experience:
https://www.youtube.com/watch?v=IUDTlvagjJA
has anybody done as good since then ?
What's this Cetera algorithm ?
Find an old tower? c'mon
i think no, it's not "not in my mind but in my body".

my take is that anxiety occurs first by warping a person's attention, and the mental and physical symptoms of that follow.
I was prepared to take a somewhat neutral stance on the post despite the negativity in other comments. It's a CEO reflection post, what should you expect?

But this is indeed completely empty PR fluff.

Vague rambling about data.

Lot's of justification for how awesome she is.

No mention of of an event that shook the company to it's core - laying off a quarter of employees.

Not even a hint of any vision, prospects for a future direction or how to save Mozilla from impending doom.

Why even write a post like this if you have nothing to say?

I do believe Mozilla will be fine for while. Google will keep paying well as a hedge against further anti trust concerns.

To be fair, Mozilla is in a tough position that can't be easily fixed. But this doesn't inspire confidence that they have the right leadership to get there.
You have to realize Mozilla does not have the marketshare to do this. Most of the web relies on ads, and since uBlock Origin blocks them, there would be no incentive for those sites to support Firefox.

Even if you just blocked trackers (as does ETP Strict Mode), many ads get blocked because those ads bundle tracking code within them. This, again, would cause there to be little to no incentive for most website owners to support Firefox.

What Mozilla is currently doing makes sense. They are being lax on the standard setting so that websites can still make ad revenue and have an incentive to support the browser.

If Firefox had a lot more marketshare, it might have been possible that this could slide.
Yes, it is still true if you include piracy.
That could add to the perceived huge performance gains on the M1.
with chromium/ungoogled chromium/maybe other derivatives, you can put multiple browser profiles to ~/.config/chromium and add --profile-directory="xxx" to exec path
Ask HN: Raspberry Pi projects for 7y olds?
My child is turning 7 in a couple of weeks and we've already made a basic webpage with HTML and CSS together.

But I've decided it's time to help her understand that basic technology is not magic (though someone other than her webdev dad will eventually have to help her with sufficiently advanced technology ;)

I'm looking for fun Raspberry Pi projects to do with a 7y old. I've DDG'd around and the listicle articles for "kids" range from very basic to projects for high schoolers. It's a bit overwhelming.

I'm curious what other HNers have worked on with the young kids in their lives.

Thanks!
Psilocybin is a powerful tool but it seems counter to the adage of "set and setting" to use it when beset by anxiety. As a prophylactic for it is of course a different story.
That's not really true. They act on GABA, which is the main inhibitory neurotransmitter throughout the central nervous system. So one of the effects is muscle relaxation, but that's only part of their effect.
> if you do mediation, you also need yoga
Not sure Gautama Buddha did yoga? Don't get me wrong, i am not against yoga, but wondering if great saints who never did yoga also attained greater heights including moksha..
Bullshit. Brain runs the body.

Anxiety is a bodily state driven by processes in the brain.

Autistic people know it best.
Arm-chair psycho-psychologist: Extra attuned to your eyes, and you get VR sickness because your body keeps refusing to follow what your eyes are telling your brain. Extra attuned to your body, and you get motion sickness because your eyes keep refusing to confirm what your body is telling you.

Anecdotal evidence: if you get motion sickness, you can help mitigate it by focusing on the horizon (ie, feed your eyes what your body is already telling you).

If you get VR sickness, maybe you can concentrate your focus on your body/breath to mitigate.
But it’s voluntary slavery, like BDSM play

edit: man you people cannot take a joke
Long Live Sandboxing
I don't know for sure this happened, but the adjective "properly" in "properly redacted" makes me wonder if they did black highlight, or drew black boxes over the text, instead of using a PDF editor's redaction feature. Only the latter truly works.
Big CRTs are pretty much gone as far as I know, but 1-micron ICs are all over the place. They're just not interesting any more.
Apple offer spatial audio [1] for AirPods Pro or AirPods Max paired with newer iOS and iPadOS devices.

[1]: https://support.apple.com/en-us/HT211775
Having managed myself multiple projects using various JPA implementations I think JPA is great for relational database driven applications. Some of my projects contained 150+ tables. I always use a combination of JPA and JDBC. And everything derived from a base object that comes with create and update timestamps and users, plus a uuid based id field.

The trick is that while knowing what you are doing in regards of limitations and performance, you design the data model alongside cardinalities from user facing components. You'll end up with a highly normalized schema.

The nice thing is that you can create views later on and transform data into shapes that are more useful to others.

If you make the mistake to start with the data-model only without knowing how the data is being collected or used you will most likely spend lot's of time converting entity objects into other objects and the other way around. The worst thing I have seen in my career, was half of the business logic implemented in Java and the other half in PL-SQL.

JPA is great for large projects! I haven't had a single issue that we could not solve.