skysight-inc/HackerNews huggingface dataset:
I think he is the perfect example of why I don't care what those C (or minimalist subset C++) programmers have to say. When you actually see how he works, how much time he spends debugging his messy code. They are all sooooooo far away from what I would describe as remotely good, clean code. And all so full of themselves too of course.

I liked Handmadehero for this reason, he is so arrogant and certain about how to properly write code, but when you actually see how he codes, what mess he produces and how long he spends live debugging it all the time. He constantly finds bugs in code he wrote earlier, etc. Yet he is so totally unable to find anything remotely wrong about the way he does things, and that there might have been some ideas invented in the last 30 years that could make him more productive.

I have zero respect for those types of programmers. I would quit any job instantly if I ever had to work with guys like this.
Think about who owns waterfront property, yacht clubs, etc. and ask whether those rich people are likely to be well-represented in the legislatures. Government agencies do what the law makers tell them and it’s really hard to roll back decades spent ignoring the problem for short-term profit, especially when there’s a large and effective propaganda machine which will attack anyone who suggests policies which realistically accept the scale of the problem.
Just keeping the lights on in manufacturing plants with thousands of sensors and counters monitoring the production. Just data collection is useless if you don't put it on good use and that requires some aggregation and correlation to tell what is going on on the floor.
Readability is subjective.

Large user base? C is number 2. Go isn't even in the top 10.[1]

Tooling? C has decades of being one of the most commonly used languages, and a general culture of building on existing tools instead of jumping onto the latest hotness every few months. As a result, C has a very mature tool set.

[1] https://www.tiobe.com/tiobe-index/
Software, unlike food or hardware, has a unique property: it can be replicated for free. Chefs have influence only on the meal they prepare now, while a software dev makes a "meal prototype" that's instantly replicated into every restaurant on the planet. When an airline chef makes a mistake, some passengers of that flight have to spend extra 30 mins more in a restroom. When a Boeing software engineer makes a mistake, all airplanes inherit this mistake and start crashing. When a neurosurgeon makes a mistake, one patient dies, but when a software dev who writes the software for x-ray machines makes a mistake, millions of people get cancer.
Totally agree, I'm pretty bad with colors, so I started with monochrome palate and just before the launch (or even during the launch) I decided to change it to bright orange #fe6400 (save as HN navbar), I thought it would be more attractive, but it's more annoying for eyes. As you said in HN they've made tiny bar and I mead full header :D I will think about colors. Maybe you can suggest good website that have caml colors that not annoys you and you can spend a lot of time there?
A Lesson on Elementary, Worldly Wisdom as It Relates to Investing (1994)
"But the members love Trump" makes the criticism for more specific than being anti-union.
He's wrong: https://www.tiobe.com/tiobe-index/
Why is this downvoted? is it factually wrong? (I don't know Go so I'm asking)
You're not using the GC at all then. Why use Go (and praise its GC) in that case?
Well, most game engines tend to have a scripting language of some sort and that's usually GC'd. The reason that works ok is usually if you're embedding a language you can control how much time is spent on GC (and in the language itself). Doing an entire game from scratch in a memory managed language, it's not so much that GC is slow, it's that it lacks adequate control. (I don't think it's a coincidence that a lot of the popular runtimes -- python for instance -- tend to be reference counted with GC mostly reserved for cleaning up cycles.) If you're concerned with performance, it's not so much that GC _can't_ be fast, it's that you really don't want to give up control on that sort of thing because GC spikes are really annoying to fix.
yep! was pretty awesome and inspiring
> It just seems to mean "this language catches more errors at compile time than the previous language I used."

That is a fair interpretation. I've programmed mostly in C# and Java because that's what was required at the time. I also know enough C and C++ to aim at my toes instead of the entire foot. So the comparison is between strongly typed imperative programming languages which are syntactically close to Rust.

Also, I like that Rust isn't OoP, but try to not get baited into that discussion.
While doing a gig for Nationwide years ago I got to see how difficult insurance is for coastal areas. Flood insurance has paid out way more claims than money they had in the tank long ago. Alternative capital investors rushed into this market the last few years causing enough competition that rates barely moved but now these rates are being adjusted on a risk basis which means things are about to get a whole lot more expensive. It’s simply a delay in the movement of the market but the damage has been done and there is no turning back now. So yes, you are correct.
The trillion-dollar coin is so amusing because it's so blatantly disingenuous. I mean, no one's seriously going to treat the coin as actual money, but rather as a symbolic trinket.

For example, say someone steals a trillion-dollar coin; would Forbes rocket them to the top of the richest-people list? And could they ever actually spend the coin in any way?

I mean, sure, the coin'd have value as a piece of artwork, but no one'd seriously regard it as actual money.
Do you use any public available crate for those allocators? Would love to take a look. I'm currently trying to write a library for no-std which requires something like that. I currently have written a pool of bump allocators. For each transaction you grab an allocator from the pool, allocate as many objects from it as necessary, and then everything gets freed back to the pool. However it's a bit hacky right now, so I'm wondering whether there is already something better out there.
what do you mean by "hotness"?
I dunno. I always thought "entropy = disorder" was a big simplification, almost in the realm of lies to children. Entropy is what it is; the pattern detection algorithms in our heads are not always very good at judging global properties such as order.

I do have a degree in Physics, so perhaps that's the source of this belief I've held - probably from countless impromptu discussions with fellow physics geeks. You wanna know the entropy of this system? Calculate it, don't eyeball it.
Because they know it won't be under water in just a few years, and that the climate scare is selective presentation of statistics in service of propaganda to consolidate political power.

Interesting view highlighting the selective presentation of statistics:

https://www.youtube.com/watch?v=8455KEDitpU

President Obama is one of those who must think the sea level won't rise dramatically for a while, given he recently bought property near the ocean.
if you bought today - yes, you'd have to be rich. houses in coastal area weren't always this expensive.
Maybe it’s not simply a reduction in duration but more
like kind of a cleaner “soundstage” so to speak, where emotional “sounds” ring and decay in a simpler, purer, less distorted or overdriven way.

Like taking away the kind of frazzledness you would associate with stress, inner city pressure, burnout etc—so it’s like going for a hike in some mountains, camping by a lake, waking up early and feeling like everything kind of flows more easily, or at least that would be the ideal when you imagine such a hike. If you stub your toe you scream but quickly come to your senses, so you don’t dwell unnecessarily, but it’s not like sitting around a campfire would be less joyful. A calm mind seems to be a good state for joy and empathy. Also it does seem reasonable to say that the default mood
towards other people, without any “acute” emotions going on, is a peaceful, relaxed, curious affection—so maybe kind of cleaning up the emotional noise leaves you with a natural good mood.
I understand what you're saying about unconstrained executive behavior at startups, but that's not what I'm talking about. I'm referring specifically to whether they ran the business as a generic commodity business, where cost-cutting took precedence over innovation. For all their flaws and misbehaviors, I'll wager that the successful ones didn't.
what makes you think fraud has occurred?
If it makes you feel any better, the concept of "at the moment" doesn't really have a meaning at relativistic distances - simultaneity isn't defined. In any sense that practically matters, what Sagittarius A is up to "right now" in our frame of reference is what we see it doing in our telescopes. Although there is a sense in which it happened 26400 years ago, any event further into the future than that is, for us, just as nonexistent as next week.

Ironically, HN seems to be confused as to whether you made this comment 15 minutes or 1 hour ago, depending on whether I'm in "Add Comment" or the main thread. Different frames of reference, perhaps?

(edit: all comments are incorrectly marked as being 20 minutes old in the main thread)
(edit2: and my comment is only visible to me, apparently. HN is broken.)
(edit3: huge lag between edits and public visibility of said edits from a non-logged-in browser)
It's not really an issue for a fit person, and serves to preserve one's fitness.

When you configure your surroundings for maximum convenience and minimum effort you're more likely to grow fat and lazy sooner than later, it's basically accelerating the aging process.
Storing the key with the value is a solid workaround.
Instantly made me think of this: https://www.youtube.com/watch?v=z7hhDINyBP0
Why would you use COBRA as long as the ACA is sputtering along?

Also, when people frame untreated mental illness as a financial matter, it seems silly to me. Drugs are generally cheap, and the expensive ones aren't proven to work significantly better. Expensive treatments for mental illness are just a matter of exploiting desperate people because the first-line approaches don't work or are otherwise intolerable.

Sure, you can pay more to social workers and therapists, but I don't take seriously the idea you can talk someone out of mania, psychosis, or addiction.

You can fund basic research, but that's not something that can solve any societal problems tomorrow.
Anyone else feel like meditation puts them back into the headspace they were when a child pre-k ish. Most notably right before I fell asleep as a child I remember being so relaxed and calm. I'm not sure when I lost that feeling but meditation brings it back for some fleeting moments.
What exactly is the advantage of a device implanted under the skin? Is this just research for the physical side of implants so that once we've got the human interfaces done we're in a good position? I don't see how a rPi in your leg beats a rPi in your pocket in this situation?
The woman profiled in this Bloomberg piece is 60, likely is not wealthy (her insurance settlement is a bit more than half of what remains on her mortgage, and she cannot afford to bring her house up to code due to the extent of the damages), and could possibly be homeless without a relo buyout. If it was me, I’d buy a new home in Florida (far above sea level!) with my settlement, and default on the shack she’s stuck with (Florida law is very strong when it comes to protecting debtors; as long as her new home is her primary residence, all of her equity would be protected from creditors, as well as her social security when she begins to collect). But that’s not a solution that works at scale.

As long as the properties are bulldozed and never allowed to be developed again, it’s reasonable policy.

Should people know better? Perfect information is hard. I’ve bugged Redfin several times to include these models in their property search interface with no reply. You need legislation to better assist real estate buyers to fully understand what they’re getting into.
Well, key employees are a weakness of knowledge moats since some of the knowledge gets embedded in them. This might explain why people are paid well in knowledge industries, to prevent them from leaving.

The part of the knowledge that is embedded in code usually doesn't leave with employees. This might be an important advantage for software companies, a lot of the expertise gets embedded in the software platforms.
Why?

Is it because of at will employment?
Others have already said that the street view integration is amazing but I just want to say that I think it's actually better than most of the live sattelite augmented reality apps I've used, which just never seem to work for me and even after looking at them for ten minutes I still can't tell what's going on. It's really awesome
Will Machines Ever Be Capable of Empathy?
> pretty much

Not really... Not only the generated assembly code heavily depends on the compiler (LLVM, gcc, Intel, MSVC...) and the optimization settings, you cannot be completely sure what the machine code generated by the assembler even looks like these days.
I think comparing software development to a barely understood natural phenomenon like evolution is a slippery slope, but assuming we take that position, evolution has produced many biological dead ends through mutation. So why should software be any different, it is produced through a biological process of monkeys hammering on keyboards after all.
> Big 5 tech companies are pretty great.

Out of curiosity - any downsides to your working conditions? You seem pretty happy about everything.
Unions have been have been suppressed for over 150 years. At least they have stopped killing unionist.
Not bashing but Tagliatelle (if this is what you are thinking of) is not a brand: https://en.m.wikipedia.org/wiki/Tagliatelle
It's a futile excercise because these tech people aren't the decision makers. You're blaming a waiter for how the restaurant is running its business. Those who make decisions are the big VCs (Sequioa capital and the co).
Oracle’s Raspberry Pi Supercomputer
> I didn't see where the costs are stated, so are you implying that it is vastly less expensive than my estimate?

The article briefly mentions the enormous costs of having people on the streets, in ER visits and jail, and indicates that housing is cheaper.

More specific numbers here from a different test: https://www.motherjones.com/politics/2015/02/housing-first-s...

"Denver found that emergency-service costs alone went down 73 percent for people put in Housing First, for a savings of $31,545 per person; detox visits went down 82 percent, for an additional savings of $8,732."

> Just as it has always been, there are people who are privileged to be helped and those who are not.

You're really misreading that portion of the article. It's discussing a particular opening, and how they slot people into them. Overall numbers for the program are available elsewhere in the article:

"By implementing a model known as Housing First, Utah has reduced that number from nearly 2,000 people in 2005, to fewer than 200 now."
This is, in large part, because the cry of "fine I'll go work in silicon valley" doesn't work in Europe (because H1B visas are a bitch to get).
Anyone who is interested in secure, plain, well-written C-code should checkout the OpenBSD project. I've just been browsing through the code to brush-up on my C as it's been a few years since I've had to use C in anger, and it's a joy to read.
Until you need to install something like Zoom - which is suppose to be reputable - and it installs a web server that reinstalls itself if you uninstall it.
A counter-argument to climate alarmist statistics, shows use of selective presentation of statistics to portray specific conclusion on climate change:

https://www.youtube.com/watch?v=8455KEDitpU
The book Altered Traits goes over a lot of the scientific results, I think it's two chapters of the book that cover this stuff. One of the studies they cover studied people who had never meditated, people with 10,000 hours and people with about 36,000 hours of meditation if I recall correctly. This last group is the one that exhibited altered traits, and it's not easy to find people with this many hours of practice, hence why they reuse the participants. All other participants exhibited some of the altered traits but only during intense meditation periods, the master meditators exhibited them all the time.

The results from the book are/study are hard to interpret, something about sustaining gamma waves for long periods of time and having younger brains in those that practiced meditation a lot. They also recovered from pain faster, and wouldn't develop anxieties about it.

Since these subjects are very interesting, it makes sense to study them again with different techniques or reproducing previous results.
Numba is the option used in Lectures in Quantitative Economics with Python, posted and highly upvoted here yesterday: https://news.ycombinator.com/item?id=21022620.
The problem with GC is that releasing memory is not deterministic. With a tracing GC, you don't know exactly when a pause will happen, and you don't know how long it will take.

Static lifetime management, by contrast, gives the same benefits to memory errors that static typing does to type-mismatch errors: you know, at compile time, how long an object will live and when it will be released. And armed with this knowledge, you can then more effectively profile and optimize.

There are, however, much better ways to go about it than C provides. RAII in C++ and Rust and even ARC in the iOS runtimes allow you to get most of the benefits of automatic memory management while still providing strict, deterministic lifetime guarantees.
https://bestofshowhn.com/search?q=[java] ;)
You could also critize red cars for upholding the high price tags on fast cars.
You measure what you can, and in management that's often short term things. Intangibles can't get measured, thus intangibles don't get measured -- not even estimated. The result is a distorted view of everything.
Doesn’t this just change semantics? Whatever custom handlers you wrote for manipulating that big chunk of memory are now the garbage collector. You’re just asking for finer grained control than what the native garbage collection implementation supports, but you are not omitting garbage collection.

Ostensibly you could do the exact same thing in e.g. Python if you wanted, by disabling with the gc module and just writing custom allocation and cleanup in e.g. Cython. Probably similar in many different managed environment languages.
Not to be pedantic, but you could argue it goes all the way to 6502, so they have gone though all these transitions: 6502 -> m68k -> PowerPC -> x86. Added a x86 -> Arm64 transition would hardly be shocking.

EDIT: In case it wasn't clear; there are Apple II emulators for the Macintosh.
Otherwise, I’m inclined to believe that this is new because this is “Hacker News”.
But then that damages performance because your objects are always globally visible rather than being able to be optimised away.
yes :D :D :D
There's a new show based on the Netflix "Explained" series that's "The Mind". They have a great episode on meditation and go into studies involving monks, etc. Highly recommend if you're curious about meditation.
You have probably have standing both legally, or through bureaucratic labyrinth that is ICANN. (If I recall a registrar can't do what you describe) However, it probably would cost more than domain is worth. Especially since you mention "premium" domain. That probably means it's from one of the newer gTLDs. They for most part don't have much value.
>The latter is fair game, as long as it allows them to collect foreign intelligence, which is part of their charter.

Civilian targets are still not open game, they have rights that need yo be respected.

>Exactly. The accidental acquisition is not illegal. Keeping the data knowingly is.

The accidental acquisition is still illegal, just not heavily punished.

>If you believe it is illegal, try to get a lawyer and sue. The lawyer will laugh you out of the office

Because this is not how "crimes" work. For me to sue, I would need to have been personally damaged by the act, and to my knowledge the actual people targeted were not revealed. This doesn't make an act "legal," so you have not even attempted to show that it is obviously legal.
Performance too. Honestly I'm not citing anything it's just my personal opinion. I have no issues with advertising beyond privacy, performance, and obviously advertising overload (there is a limit).
Some resources on meditation that the HN community might find helpful, generally ones with a scientific, skeptical and secular perspective.

Apps

Meditation is somewhat inherently incompatible with the late stage venture funded scale based defensibility model of doing business. You actually become less dependent on paid resources as you advance in the skill. For this reason I think the mainstream apps like Calm and Headspace really help in the beginning but plateau you at a level you will continue paying at. That said, don't let this stop you from using what works for you.

- My favorite for getting started was 10% Happier. The format is an interview between a skeptic and a usually well trained meditation teacher, usually a founder of the IMS, which started the whole Buddhism in the West movement. Same business model as Calm and Headspace so some of the same problems. [1]

- Once past a threshold, most meditators use Insight Timer. They are a much leaner operation and the business model is designed to avoid the pitfalls of having to scale to recoup heavy investment.

Books

This list. Everything in here is generally high signal/noise ratio, and very little that you have to take on faith. https://deconstructingyourself.com/best-meditation-books-201...

Tools

I found that wiring myself up to a low-price EEG and looking at the raw data over a few months was a good way to convince myself all of this works. I use Muse but not their own app, someone out there built an app to chart the raw data called Muse Monitor that's much better.

https://www.youtube.com/watch?v=OX-4rpCegjk

Places (mostly aware of US only)

Insight Meditation Society (MA) and Spirit Rock (CA) are mindfulness meditation centers that are a good place to start. If you want something lower-priced Dhamma.org is a much-lower-price (both are donation based but the suggested range varies), worldwide set of spaces but the teachers are less adapted to a western context.

[1] https://www.tenpercent.com/
[2] https://insighttimer.com/blog/something-magical-is-happening...
This kind of place orientated programming can make the actual algorithm very hard to follow. I really hope that JS gets custom value types in the future.
> My solution is: take a piece of the federal budget and give $1-3MM to anyone with a far fetched idea that has a prototype to back it up. No long processes. If 30K -mostly students- a year get a mill to develop their thing, I suspect we would find ourselves way into the future in just a decade. And that’s just $30-90B/y

We already do this with grants at all levels of government. And guess what: it's a highly political activity, and prone to corruption. What's a remotely good idea?
Derp, looks like the URL didn't get added properly; I've resubmitted as https://news.ycombinator.com/edit?id=21037750 - thanks for pointing it out!