skysight-inc/HackerNews huggingface dataset:
You almost certainly will never do something novel while also learning a new language. And even beyond the learning phase: I've found that getting past this mental barrier of "whatever I build has to be useful" is essential to getting enjoyment out of side projects. Find it in yourself to enjoy the process for its own sake.
How to create a Facebook Group and Promote it
The safegcd implementation in libsecp256k1 explained
There is a website that visualizes the distances in the solar system at the scale of 1 pixel to the diameter of Moon. In the lower right corner there is a symbol with a "C" and some lines around it that makes you automatically travel at the speed of light. Start the journey, put it on an extra screen if you have one and see nothing happen for most of the time ;)

The current distance from Sun is shown in the bottom center and you can change units in the menu attached to it. "Astronomical units" or "light minutes" might be the most useful, kilometers or miles if you just want to be blown away by the order of magnitude.

https://joshworth.com/dev/pixelspace/pixelspace_solarsystem....

I also submitted it for discussion here:

https://news.ycombinator.com/item?id=27573172

Edit: fixed the scale, it's 1px:diameter of Moon, not 1px:distance Earth-Moon as I initially wrote.
The money is probably the thing that keeps most people in the job, but it's not like willingness to take a pay cut magically makes jobs fall into your lap, either. It expands the pool of companies you could possibly work for, sure, but everything else above that I said still applies.

There's also rarely a guarantee that the new company you're trying to join is significantly better, and companies intentionally make it difficult to get the inside scoop on work-life balance/on-call responsibilities until after you're hired. Personally, I would love to find a new company to join... but my experience interviewing is that it takes months of effort for a potential pay cut and no guarantee that I won't just end up in another shitty situation and paid less, so I struggle deciding if it's actually worth it.
If you're in favor of a locked down operating system there's nothing else I need to know.
Think about compiling a large C++ program and its dependencies every time you run the generated executable. This is sort of like what is Julia is doing.
It's difficult to believe that ten years from now, there'd be any serious options other than Starship and its future peers. (Incidentally, the Delta IV is already at end-of-life; ULA is replacing it with Vulcan and its Blue Origin engines. The final Delta IV-H launches are planned for 2023).

https://spacenews.com/ulas-delta-4-heavy-down-to-final-five-...
If julia could become a native vector/gpu programming language that is usable by mere mortals this could be a niche that might eventually grow into mainstream. But I can't help but notice that e.g. nvidia's github mentions only: Python, C++, C, Go, Cuda. (not sure the order matters).
Bitcoin conference – Guy jumped to show off DOGECOIN (viral Bitcoin Miami)
Well, OP is talking about their first job, so my advice is targeting that specific situation. As a general rule, engineers see a fairly large bump in pay when going from their first to their second job, particularly if they did a poor job of negotiating their first salary. So yes, in terms of career development and realizing your earning potential, you should not stay at your first job for more than a few years.
This list is not very fresh or exhaustive; for instance, does not contain two recent Apress books, which are Vsevolod Domkin's Programming Algorithms in Lisp and Michał "phoe" Herda's The Common Lisp Condition System.

(Disclosure: I was the technical reviewer for the former and I wrote the latter.)
The reason no one is doing a battery replacement program is that they don't make sense. The battery is the most expensive part, and main expense, in an electric car. When it's trashed The reasonable thing to do is replace the car.
If you're worried about the lifetime of the battery in an electric car. Remember that it uses the same tech as your mobiles and laptops. But the charge, drain cycles of your phones battery cells are once a day. Still they are usable even after several years. But in a car, it's cells charge, drain cycles are going to be way fever a year. I do have friends with early Model S cars, and no one of them are complaining about range loss. I'm sure they must have lost some. But not problematic amounts. I do have the impression that early Leaf cars had a bit more problems with this, and that their battery care electronics where more primitive. But in fairly sure they've sorted that on the newer ones.
Might there be not some benefits to try to get into orbit around this object, like perhaps a free ride to the Oort Cloud maybe?
That is brilliant, and extendable. Plowing in some random nitrogen-fixer allows them to keep all their industrial machinery in place, and make no fundamental changes. Switching to learning how to grow seedlings is an entirely different frame of mind. One is generative and nurturing, where each seedling has potential to be something big and important, and thus matters; the other is extractive and exploitative, where the seedlings are just biomass for the machine.

Really lovely metaphor.
HMock: First Rate Mocks in Haskell
It's more of a gambling for insurance companies.
The title should be “why SSDs mean programmers no longer have to think about hard drives”.

These are all reasons SSDs are much more pleasant to work with than old platter disks.
The post says "Incl. 95.46628 +/- 0.000052".

Am I right to interpret this as meaning that the body has an extreme inclination, almost in polar orbit of the Sun? That would be pretty interesting; it would mean an orbit completely out of line with the rest of the Solar System.
What everyone should know is that flash drives can lose their data when left unpowered for as little as three months.
Internet outage – Why does it happen
Additional context: it was provided to me as suggestions, none of it came as a surprise, and I decided to put on the wall. There was no "forcing" involved. I personally don't have any problem with anyone suggesting areas of improvement for me, and equally would disregard it if it was off base.
Speaking purely for myself, I like lisp because I find it embodies a certain pure joy of hacking that I don't find to be quite as present in other more popular languages that I use.
I'm going to second this saying that I have similar sequela that were massively improved through the ketogenic diet. Also if anyone is going to try the ketogenic diet make sure to consume excess salt, potassium, and magnesium. Additionally it is very difficult to maintain your weight on the keto diet. I was only able to go for 6 months before I lost too much weight.
And this covers the hull-bound technique used to prove the worst case runtimes of this (and related) algorithm(s):

https://github.com/sipa/safegcd-bounds#bounds-on-divsteps-it...

The hull-bound technique is different from the technique used in the safegcd paper-- it's more accessible to a less mathematical audience, it is easily adapted to algorithm variations (which let us find a variation with a much better worst case), and also usually results in tighter bounds.
"Unique technical challenges"

Some of the problems you can work on in such an environment are interesting.

Combine that with the fact that you don't see this before joining and that some.manager s might be able to shield some of it you are where you are.

And then throwing hands in the air and leaving is a step, as most other companies have "smaller" problems to solve and "also bad management" ...
Wow, I'm surprised you actually typed that out in public but fair play for being honest

> I couldn't care less about rest of people.

I can clearly see that

> I could live without shower and toilet paper, I could live without washing machine or meat. Doesn't mean that I want to.

Overconsumption isn't having toilet paper or a shower, those are necessities. Drilling in the Arctic for more oil, shark finning, the strive for constant economic growth are examples of overconsumption
Robot chop shops? There might be some value in reselling the batteries alone.
are you using the "bork bork bork" extension to form comments perhaps? http://www.snert.com/Software/bork.html
fascinating. So many stories like that get lost. When people that was part of your history die, a part of yourself die too. There are so many beautiful family stories that just vanish together with their family member. I always thought that in the end we would use social networks like Facebook for something like that: A timeline of our lives, with pictures, photos, thoughts, that our next generations could actually learn about their grandparents in an almost interactive way. I would love to know that my grandkids could just search for my name and get to know me as I was.
> more of a gambling for insurance companies

They’re taking risks with the expectation of upside. They are not doing so hedonistically. If you remove the hedonistic part of the definition of gambling, every human activity involving uncertainty—from getting in a car to changing pet food brands—becomes gambling. That isn’t a useful definition of the word.
Judging by that video alone, there's just one guy telling a story.

He says there were others who saw the same thing, but this interview alone does not prove that.

Some other things that don't gel about his account:

1 - He says during his encounter he didn't turn on his helmet cam because he didn't think of it. Yet much of the rest of the interview is him talking about how highly trained he was (giving the impression that he's one of the best pilots the US has) and yet he made a critical mistake here exactly at the point where a video would be most useful in corroborating his testimony.

I'd also like to know under what circumstances he's been trained to turn that camera on. If he went against his training by keeping that camera off, that would be a red flag. But we just don't know and the interviewer didn't even ask.

There was also no discussion about whether the other person in the plane had a camera of his own, and if he did have one why he didn't turn it on, or if he did turn it on where that video is.

2 - No one on the ship or any of his commanding officers said anything about the anomaly or did anything about it, and neither did he. The pilot says this is because they were all too busy and because the object didn't have another country's flag on it, but that doesn't seem credible.

If you see something that seemingly defies physics and flies faster than any known technology, it seems very unlikely that no one investigated it or even talked about it... for 16 years.

He said he had debriefings and that's where they learn things. What was the debriefing for this mission like? Did they talk about this anomaly? If not, why not?

At the beginning of his story he said he was actually ordered to investigate the anomaly. You'd think there'd be some discussion afterwards at the briefing about what he and the other people he claims saw it actually saw, and the people who ordered him to check it out would want to hear about what he saw first hand. But he said no one talked about it.

Unbelievable.
If it was a dangerous mode of thinking, then any request of support from the author is also a dangerous mode of thinking. After all, from the MIT license: 'THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED'.

The author simply made a request, with the full realization that it was nothing more than a request given the license they had used. They are also far from the only only one to exhibit a similar attitude. I recall GNU being antagonistic about the distribution of Emacs under Windows in the past. Given their association with the GPL, that antagonism can be viewed as more of a statement than a request.
https://archive.is/OMmfs
Okay, but that sounds like socialism. Got any ideas that will work in today's political environment?
Does anyone know why in the US it is common to only be car liability insured up to around $200k while in Europe the standard is tens of millions? (The US maximum that I've seen possible is $2m when adding "umbrella" insurance.) This just doesn't make sense to me, especially in the face of local health care cost: what do you do if you're at fault in an accident that disables a family a four who have to spend millions in health care costs over the next several decades? (I'm even more confused because US car liability insurance is not cheaper than in Europe, despite two orders of magnitude difference in coverage.)
Deep Learning to Autocomplete Code: Part #2 Autogenerating Code
Yeah I see threads of this sort of argument coming from many different angles. I just ran across this paper[1] via a youtube review[2] which was mainly focused on diet/nutrition and metabolism, but again is looking at mitochondria and possible neurological connections. "The continuum of disrupted metabolic tempo, mitochondrial substrate congestion, and metabolic gridlock toward the development of non-communicable diseases":

The bioenergetic dysregulation could also prime for the emerging of [neurodegenerative disorders] (O’Neill and O’Driscoll 2015; Pugazhenthi, Qin, and Reddy 2017). Hyperglycemia, obesity and hyperglycemia could induce the extracellular amyloid b (Ab) plaques, hyperphosphorylated tau protein, neuronal loss, and cognitive dysfunction, while the Ab plaques might reciprocally induce [insulin resistance]. Together with the inflammation and oxidative stress, the hyperglycemic-generated advanced glycation end products (AGE) are also the critical cause of neurodegeneration (de Nazareth 2017; Pugazhenthi, Qin, and Reddy 2017). There is a decrease in the brian-derived neuro-trophic factors (BDNF) in both MetS and NDDs, such as Alzheimer’s disease (AD), Huntington’s disease, Parkinson’s disease, and depression (Motamedi, Karimi, and Jafari 2017). The concurrent mitochondrial dysfunction in obesity, T2D, and [insulin resistance] ultimately causes cognitive dysfunction (Pugazhenthi, Qin, and Reddy 2017). All these interrelated pathophysiologies suggest the common pathophysiologies of NCDs and NDDs. Prolonged bioenergetic dysregulation thus potentially contribute to cognitive dysfunction.

The tldr is you should go through periods of fed and fasted state metabolically (what they refer to as "pushing" and "pulling" energy into/from your body) - most Americans are constantly in the fed/pushing state which leads to metabolic dysregulation. Under this paradigm switching to a ketogenic diet would help restore metabolic function and lead to more time spent in the pulling state (due to lower insulin).

[1] https://www.researchgate.net/publication/352475880_The_conti... (full text)

[2] https://www.youtube.com/watch?v=WthvGKTKOH4
Ask HN: What kind of workplaces should I join if my goal is to run my own biz?
I'm currently a software engineer at a high-growth company. I have learnt a lot at this place. The pace is fast and there is the pressure to always deliver, and sometimes, fast. On some weekends, I may have to start reading up about a new technology that I have no experience with so that I can use it in the coming week. Other times, I work long hours or into the weekends so that I can finish off my part. Nobody explicitly say I should do that. But I can feel the pressure that if I don't, I won't be able to meet expectations and deliver the OKRs. My mind is often lingering with thoughts about how I should design a certain logic or whatever work after office hours or even on my bed before I sleep. It's not like there is a switch that I can flip and switch my mind off from work. It doesn't help too when I know I've to continue in a few hours when I wake up in the morning.

My current job is quite draining and I have little time for myself. I joined a high-growth company because people have advised me that these places are good for career growth. They are better for learning and look more attractive on my resume. The pay is also much better. However, it's either I'm mentally weak or it seems like these companies need much dedication to them.

I have always dreamt of starting my own side hustle and perhaps running a small little business of my own. I don't have a full plan for a biz yet though I'm always thinking about it. At present, I'm teaching some private classes as a side hustle and I love it, but it has been very mentally exhausting with my current day job. If my goal is to eventually run something of my own, does it make sense to continue hopping between high-growth companies for a better pay cheque and "career" growth? Or would it be better that I settle for an old-school and less cool company and have a better work-life balance but risk jeopardising my career and track record? Has anyone been through this and has any advice for me?
Oh, okay. Yeah I have made that mistake myself too I guess.

I agree that words have meaning, but IMO we want to focus the narrative on people who may have been unfortunate through no fault of their own. We want to treat them with compassion and take the time to find the right words for them. Words that they might describe themselves with. ...But they might say "I'm dumb" and think nothing of it.

The goal is to remove friction from the path to policy change, because we desire an outcome of improved efficiency. We may have to be creative with language to do it.
My hypothesis is that flossing is the act that actually creates the gaps that you need to now keep clean by flossing forever. If you never floss, but just brush well and hard, you don’t have that big of gaps between your teeth. This is just my hypothesis of course, but perhaps it attacks everyone in their belief that they are doing well informed things first thing in the morning, no one wants to even entertain the possibility.
> Without the tools that make us productive, we don’t have that value.

This combined with relative lack of government regulations.

I'd hate to see the day when you'll have to complete 3 separate training programs/licenses just to be allowed to deploy code on the Web.
you are better than that.

C19ivermectin.... c19study... all the same psyops.

there were no BANS on any of these medicines because of the pandemic. think about vaccines..
Could you get a nice gravity boost away from the sun by just following it for as long as possible?
OP made no mention of software and mentioned Sun and Motorola, so I don't think they made any point specifically about software.

It may also be relevant to point out that Amazon is first and foremost a retailer, unlike the other companies mentioned.
Julia has excellent CUDA support[1], I have no idea why nvidia doesn't promote it more. It's fast, flexible and very featureful. There was a recent thread about it here: https://news.ycombinator.com/item?id=27496679

The AMD [2] and Intel [3] support is younger, but developing quickly.

There's also [4] for a unified API that works across different GPU vendors to avoid lockin

[1] https://cuda.juliagpu.org/dev/

[2] https://github.com/JuliaGPU/AMDGPU.jl

[3] https://github.com/JuliaGPU/oneAPI.jl

[4] https://github.com/JuliaGPU/KernelAbstractions.jl
Business insider is a lying trash rag.
Aircraft Pressurization Beginner’s Guide
https://archive.is/wByDP
My brother bought a dog (pure bred) for about €1500. Add food & veterinary costs over 10ish years, I’m pretty sure this robot dog is cheaper.
I don’t think they do, but it’s a way to smear and make all Amazon engineers unemployable by proxy. I already have difficulties finding interviews at good companies because the Amazon name implies IBM level talent instead of Google level talent.
Tech companies have the power to end the smartphone problem overnight. Just takes Apple and Google disabling the screen of any phone moving faster than 5mph.

Passengers would be inconvenienced, but basically every phone-related crash would be prevented.
I think the kind of product in question has a big role. A handbag should be relatively easy to inspect; look at the seams and look at the material. If both are robust and you like the way the bag looks, then it's a good bag regardless of authenticity. But on the other hand, what about something like wristwatches? To inspect all the parts you would need to tear it apart, which just isn't feasible before purchase [if at all.]
I'm probably late to the party, but is there a reader app people use for following specific people? Or are you just referring to whom you've favorited / following and have a good memory for names?
I didn’t recommend not to floss based on just my experience, I merely brought it up as a hypothesis that might be worth considering.

If you want more data to take this point as well: most Indians don’t floss. The dentists here don’t recommend it either but importantly I don’t see more dental hygiene issues here than in other places.

Also I didn’t say I didn’t take care of my teeth, I’m just suggesting we consider maybe brushing your teeth very well might be more than sufficient.
I’m genuinely curious how saying good luck gets down voted.
Fuck the HN crowd for this shit.
> So, I think it's reasonable to suggest that "hey I can't maintain this software if you include it in your distribution because of the added workload".

Plausibly, but AFAIK this author (and certainly this package) has never received a bug report from a NixOS user.
I think it means if you assume lunchtime is part of work or not. I'm in the UK, every job I've had is 9-5 or 9:30-5:30, with a 1 hour lunch break.
Games used to spend a lot time optimizing CD/DVD layout. Because reading from that is REALLY slow. Optimize mostly meant keep data contiguous. But sometimes it meant duplicate data to avoid seeks.

The canonical case is minimize time to load a level. Keep that level’s assets contiguous. And maybe duplicate data that is shared across levels. It’s a trade off between disc space and load time.

I’m not familiar with major tricks for improving after a disc is installed to drive. (PS4 games always streamed data from HDD, not disc.)

Even consoles use different HDD manufacturers. So it’d be pretty difficult to safely optimize for that. I’m sure a few games do. But it’s rare enough I’ve never heard of it.
It's usually possible "self-insure," too. Basically, you put up some amount of money (of order $30-50k) to the DMV as a surety bond. Then if you're held liable for an accident the state doesn't have to worry about you paying up because they already have the money.
The housing market is on fire. The Fed keeps adding gasoline
It is really puzzling why "every programmer" should burden their already overloaded brains with this. If they're reading/writing some config/data files this knowledge would not help one bit. If they're using database then it falls to the database vendor's to optimize for this scenario.

So I think that unless this "every programmer" is a database storage engine developer (not too many of them I guess) their only concern would be mostly - how close my SSD to that magical point where it has to be cloned and replaced before shit hits the fan.
uninsured also covers hit n runs usually.
It doesn’t take a lot of distance from the moment to recognize this is the era of grappling with the meaning of the Internet. Eugene Wei had an interesting framing of this: he asked whether China’s great firewall was an indicator that they believed in the power of the Internet more than the West did. (His implication wasn’t that the firewall was good.)

I’m torn about Weinstein’s current situation. I’m opposed to censorship, but I’m unsure we treat mass public broadcast with the responsibility it requires. What particularly bothers me about the lab leak discussion is that we don’t yet have firm evidence one way or another, so any debate is public speculation. Is it harmless to do that?

To be clear: My question isn’t whether YouTube should censor the discussion. My question is whether Brett should be letting himself speculate about it. Is there any harm in doing that? Why or why not?
and frozen aliens
Doing drones out of visual line of sight is quite dangerous. Worst thing if a robot dog “crashes” is, you pick it up next morning to recharge it.