skysight-inc/HackerNews huggingface dataset:
I find this line of thinking to be a holdover from an earlier age. One could replace the word "concurrency" in the above comment with "memory safety" to express the popular sentiment as of the 1980s--but in the decades hence the vast, vast majority of programmers have come to be able to completely ignore concerns related to the careful management of allocating and deallocating memory, and though we can argue that the result is a proliferation of memory-hungry Electron-like apps, on balance it's been a dramatic victory for letting people focus on solving the problem at hand rather than distract them with tiresome pointer-juggling.

It's true that in the 90s it was important to cultivate a healthy fear of concurrency in the same way that parents in Cambodia must sadly teach their children to fear landmines. However, there's nothing inherent in the problem space that dictates that the concerns of one's ancestors must be the concerns of their descendants. One day we hope the landmines in Cambodia will be cleared, just as we hope the landmines in concurrent programming will be, and I'll be thankful when that day comes.
You could have freedos run on a virtual machine? And emulate the raspi in the cloud, but that would be being silly.
I'm curious why they're described as "mopeds" when no pedals are visible. Maybe they pop out or something but with that seating position, they can't be useful for any serious transportation. I'd call it an electric scooter or step-through e-bike. The equivalent would just be an e-bike.
A well‐used door needs no oil on its hinges.

A swift‐flowing stream does not grow stagnant.

Neither sound nor thoughts can travel through a vacuum.

Software rots if not used.

These are great mysteries.

— The Tao of Programming, Geoffrey James, 1987
Is that percentage by weight, percentage by dry weight, percentage by calories, or something else?

And no matter which I interpret it as, all those diets are "protein and fat based" by Standard American Diet standards. Seeds and nuts are very high in fat.
The idea of STM has nothing todo with strong types. You can have STM with types or without.

Clojure has a full STM since version before version 1.0. Simple example:

(def stm (refs {}))

(alter! stm assoc :testkey "testvalue")

(println @stm)

See: https://clojure.org/reference/refs
Clair Patterson: scientist and campaigner against lead poisoning (2017)
Don't forget Atwood's law:

"Any application that can be written in JavaScript, will eventually be written in JavaScript."
Thank you for putting that so clearly and succinctly.

Somehow, I always felt uncomfortable reading Joel's article because I had never seen spaghetti code on large code bases.

I now realize that it is because I've been using open-source code bases for quite some time and that is probably the reason why.

Recently however I saw some enterprise in-house code and that's when everything fell into place!!
XPS 13 2019 review: One small move made Dell’s best laptop even better
Radio 4 covered BASIC in their 3/5 episode of 'Codes that Changed the World'
https://www.bbc.co.uk/programmes/b05pnvmh

The episode does a good job of explaining that the language hit a sweet spot of easy to learn, and easy to implement on the limited hardware of early home computers.
My Raccoon: Two brothers and the wild company they keep
sed does simple operations on text. But it certainly had to change when the definition of “text” changed from US-ASCII to “Whatever the LOCALE settings are, but most often ISO-8859-1”, and then later to “Most often UTF-8”.
I haven't read the book, but from your summary it sounds like the argument is that for illnesses that we don't yet understand well enough to cure or even have a potential cure, we should use a different word. That sounds pedantic.

There's many non-mental diseases that we don't yet understand fully enough to know how to cure completely. There are many diseases where there are varied causes of the disease, where we are still learning these causes, and still learning what could be a cure. Should all these not be called an illness too?

The disease like this that I'm most familiar with is Cystic Fibrosis. 35 years ago, doctors had no idea what caused it. Now we know it is genetic. However, the disease is caused by many different possible combinations of gene mutations and we're still discovering more that can cause it. There's currently over a thousand gene mutations that cause Cystic Fibrosis. While a lot of progress in slowing disease progression has been made, there is no cure. We're not even certain about what would be needed for a full cure as science is still learning about the full extent of the disease. Cystic Fibrosis does not meet your criteria for an illness either. Should we not call it as such? I think that would be absurd. It is clearly an illness.

Just because we don't fully understand a disease yet doesn't mean it can't be called an illness. If you want to come up with a new word that can clarify the fact that we don't fully understand it yet, I guess that's fine, but I don't like confusing people by trying to deny the common understanding of a word.
Was it gelcaps or dry tablets? Vitamin D is fat-soluble so much better absorbed in gelcap format (and taken with a meal).
The country has money. Pay people for this civic duty. You want to help decrease crime and low jobs? Pay people to do public works.

We have a crumbling infrastructure. This isn't going to be solved by having a boy scouts system of free labor.

Pay people out of high school to do work for the government and for the cities they live in.
There is an error in the ninety-ninety rule, which should be stated as:

The first 90% of the code takes the first 90% of the time. The remaining 10% takes the other 90% of the time.
As with everything regarding "ranking" programming languages, subjectivity abounds. Target tasks and audiences are the real value assessor.

For example, my 5 year old, who is just learning how to read, can understand the beginnings of BASIC. She's super excited to see the TI-99 4/A print back what she painstakingly types, or to see the computer count from 1 to 5 with a basic for loop. She wouldn't know what the F is going on with Scratch, let alone Python.

BASIC is exactly what it's name implies. I'm going to move her to Scratch and Python eventually, but I have yet to see either meet the needs of the absolute entry level, very young programmer.
But mental illness _is_ different from physical illness. That's the whole point.

The dangerous thing is to presume that's not true. Or even worse: to lie about it. The phrase "chemical imbalance" comes to mind. Complete and utter fabrication of a physical cause.

It may be that a physical cause is discovered for some conditions which today are considered "mental illnesses"... say, schizophrenia. Well, when that happens it will stop being known as a mental illness and just a physical illness.
I know this is harsh, but if you're a web developer, and your blog requires a loading screen to read, at least on mobile, then maybe you should take a step back, and learn to program, before you start writing about programming.
Linux has already usability issues because it's a niche. I'm not going to use a niche of a niche.
Right because slavery that existed in the United States is the only true definition for slavery?

You're forcing people to do work. What happens if someone says they don't want to do this civic service?
1- Why?

2- Isn’t having to pay troll deterrent?

3- How would you fix it?
> Apple tracking your pulse in your phone(that gives them knowledge about your deep emotions an activities on real time).

Health data is encrypted to a point where Apple can't read it:

https://www.apple.com/business/site/docs/iOS_Security_Guide....

> Health data can be stored in iCloud. When configured for iCloud storage,
Health data is synced between devices and secured by encryption that
protects the data both in transit and at rest. H
Good news: social contributions are 20.5% for 2019, not 21% :-)
As the article points out, CPython is dumb on purpose, which benefits transparency, maintainability, and development. I've always appreciated this -- it's obvious when you're doing something expensive in Python because you know the interpreter is going to do pretty much what you'd expect it to.
Yes. I spend a lot of spoons lately on divorce and related things.
They seem to have pulled it together recently... the Niu EP9 holds the Nurburgring lap record for an EV at 6:45.9 which is a ridiculous pace for any vehicle.
Yeah your superior can really ruin your life if you're not "obedient"
I've been using NordVPN mostly because I know the few guys who work on it (some of the best engineers in Lithuania IMHO), but even more so because they have some great arch community packages etc. I've been mostly using this easy cli: https://github.com/nstinus/nordvpn

Managing openvpn can get really awkward especially if you're not keen on learning everything about it.

Though my input might not be very valuable because I only care about geoblocked content and torrents.
Just a note on your video - I scrolled right past it without realizing the embedded video was there. I scrolled all the way down to the bottom of the page and thought "what...no video showing what this is?".

I suggest a little more contrast on the default video image, plus the "play" icon in the center could be more pronounced.
Also Swift has 'Playgrounds' as an iPad app or online http://online.swiftplayground.run/
Or Greenspun's Tenth Rule of Programming:

Any sufficiently complicated C or Fortran program contains an ad-hoc,
informally-specified, bug-ridden, slow implementation of half of CommonLisp.
>all my alternative choices for an ISP

seething with jealousy, I am
If you knew how it works, and it was fast to write it in rust, why didn't write it in rust in the first place ?

Because it was easy in Python.

It was easy to write the same script in Rust, then, because you already got the Python version working.
With linux, I do find that if you have a problem, finding solutions from the internet is quite easy. Some of the distributions like Arch, has very detailed documentation and active forums, and IRC channels that finding help is not difficult, unless you have some exotic setup.

OTOH, getting help for windows issues is often more difficult, if you visit windows forums, often the suggestions, solutions talked about are pretty generic, since one can't peek under the hood the amount of diagnostics possible is limited. Even if a problem solved in windows by reinstalling/restoring from backup etc, most often one does not what exactly caused the problem.
It happened to me, too. This and several other cases demonstrate the value of independent thinking, investigating the matter yourself rather than following the crowd. This is happening also these days: two years ago it was Big data, last year it was microservices and "serverless" and so on.
aka JavaScript.
Scrap Metal 4
I think for most people, async io / coroutines gets them most of the benefit that they'd ever get out of multi-threading.

With async io, you can have a lot going on at once, interleaving nicely while different tasks wait for io responses.

Beyond that, normally you're just as well off to kick off a second process.

You have to get pretty fancy with algorithms to make multi-threaded computation a net-benefit. Most of the time you don't need that. If you do, you're probably not reaching for python.
I did just over an hour each way for three months and questioned what the point was. I was wasting my life just so I could live in one place and work in another, but for what? My "living" basically consisted if eating and sleeping and my body started to become fat and unhealthy due to not having the time to exercise. What's the point of transporting a fat, useless body 100 miles every day?
> So far, no live coding experience has been able to satisfy this.

You are right. But some are interesting for the purpose of inspiration, or even entertainment. I've watched @Swizec recently and also the guy who created minecraft, mojang, had some epic livecoding years back.

They're similar to cooking shows on TV or youtube. You might not be able to do the stuff yourself, but just watching someone knock down their immediate obstacles can be inspirational and promotes confidence to emulate their approach for one's own projects. It is also heartening to see that elite pro's struggle with the same little snags that everyone else does.

The context and intent is, of course, important if you want to reproduce the exact same project, but that would be less interesting, I think.
Seems to me your making this much more of a drama then it actually is.
I like it. Assuming you're tagging them manually as they come in. The tagging is super useful for discovering other devs w/similar interests. https://devlids.com/all/tag:ruby I think it should be highlighted (or at least have some indication that there is tagging somewhere on the landing page). Maybe just list the top tags across the top or something, with a tag-specific page listing all of 'em. Nice work
Crowdtesting digital products – all you need to know
100% agree. This website looks terrible. You can't be a self-declared "web developer", contemplate poetically about meta-programming, and publish this amateurish thing. Fix the #anchors to start with?
I suppose you mean that half manifests itself as Javascript.
>What's the point?

to keep it intact?
In my current case I have highly unstructured data stored as a jsonb in postgres with some basic fields for indexing. So the database doesn't have a schema and making many tables for each variation of the data would take an enormous amount of time.
I live in Southern California and it's common for people to have these effects when moving here from darker locales and spending time outside. My severe insomnia almost vanished after coming here.
> There's the company where I worked on a four person effort with a multi-hundred million dollar budget and a billion dollar a year impact, where requests for things that cost hundreds of dollars routinely took months or were denied.

I’m so used to seeing this, but I still don’t get it. Seriously, we spend $X/week on some nice-but-unnecessary luxury, but won’t spend $X/16 once for some really useful thing.

I suspect that it has to do with how corporate budgets are designed, but … maybe they could be designed better?
Zawinski's law of software envelopment:

Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.
Doom Fire Playground: JavaScript, Rust, PixiJS, P5.js, Lua, Kotlin, C++, etc.
A personal rule of thumb I derived from the ninety-ninety rule is this: "Before starting a project, ask yourself if you would still do it if you knew it would cost twice as much and take twice as long as you expect. Because it probably will."
Yeah, it really makes it annoying to read the code snippets. I thought Pony just looked bad in general, then I looked at the snippet of a familiar language (Erlang) and it seemed horrible, too.
So the vitamin D might be there due to a healthy system instead of the system being healthy due to vitamin D.

An analogy would be the analysis of car exhaust, finding certain levels of CO2, and trying to fix cars with "bad exhaust" by throwing more CO2 into the intake (except maybe this would even have a negative effect by hindering combustion).
Or maybe your totally misinterpreting their motives of a company that has spend years investing into linux and supporting linux.
Hello everyone!!! Thanks for showing so much support thus far for Portal Spaces. It means a lot to us. We just launched on product hunt! We encourage you to check it out
https://www.producthunt.com/posts/portal-spaces

Thanks!!
It's not accurate tho.

Chrome is based on WebKit.
EnTT C++ ECS and double buffering: some notes on a possible implementation
This is a list of rather, generic catch phrases. I think the article isn't worth the time, surprised to find it at the top of HN.
Yeah the dynamicism part is probably not a good argument there (JITs were built for Self, after all).

It's really a combination of dynamicism and desire for approachability of the codebase: the cpython codebase is not beautiful, but it's definitely approachable, there is very little use of tricks or complex macros and the average Python developer can jump around and find things.
I always wondered why there was specifically so much chatter about Python's GIL. If you consider PHP, Perl and Ruby to be Python's main "competitors", they have pretty much the same limitations (not much real world single process concurrency being used) but much less noise around it.
British English seems to be more forgiving about comma splices than American English. One certainly sees them much more frequently in British English.
The modern angle on this rule is that "Every program eventually adds text chat, and they're all incompatible with each other."
> but I don't like confusing people by trying to deny the common understanding of a word.

I think that's actually the crux of the argument. The phrase "mental illness" IS the perversion of a common understanding of a word. When people hear "illness" they think "thing that is broken". Is a runny nose an illness? No, the flu is an illness.

I don't think it's about whether we fully understand the cause or not; I think it's about whether or not we think there probably is a single, physical cause.

So we absolutely should call Cystic Fibrosis an illness even if we don't know the cause, because we think there probably IS one. And heck, there may be two causes! And then... well, then it would be TWO illnesses with similar symptoms, not one.

At this point I'm straying from the book because I don't remember it too well, so this is editorializing: I don't think that holds for many mental illnesses.

"Depression"--do we think there's one, or few, underlying physical causes of it? Highly doubtful. And we know it's highly doubtful because the treatments that make the symptoms go away are so varied in their mechanisms of action and effectiveness. Exercise. Sunlight. Changing jobs. Medication. Time. Talk therapy. All these things "work", to some degree or another, but the odds that they are targeting the same underlying, malfunctioning, physical mechanism are very slim. So one would say "depression is not an illness, the same way a runny nose is not an illness. It's a pattern."
If its truly unstructured why would you not use a Text or bytea field? Storing as json sounds pretty structured unless it’s all in one k-v pair, and then what’s the point of that?
Incremental and Full Save in PDFs
Gin, Aperol, and Lillet Blanc combined like in a Negroni make a beautiful drink.
Lambdas: From C++11 to C++20, Part 1
And of course this write-it-twice dilemma is one major impetus behind the invention of Julia, which seeks high performance in a language more user-friendly than C/C++.
Physicists Just Solved a 35-Year-Old Mystery Hidden Inside Atomic Cores
My thoughts on a possible implementation made on top of the registry, waiting to find the right way to offer them as a built-in feature. Feedback or suggestions for alternative solutions are welcome.
I am not sure but I think Go channels were inspired by CSP (communicating sequential processes) which is not inherently unsafe though.
Hyrum's law is highly relevant to anyone who makes software libraries.

"With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody."

I.e. any internal implementation details that leak as behavior of the API become part of the API. Cf. Microsoft's famous "bug for bug" API compatibility through versions of Windows.

Http://www.hyrumslaw.com
Did you see the Us section of their transparency report?
Hush noob
Isn't mail just another form of text chat?
Exercising Software Freedom in Firefox
Building a Real-Time YouTube Monitoring System with Go and WebSockets
The neural network of nematode worms has been modelled in software, and a robotic avatar has been built for this "mind". It behaves very much like a real nematode worm.

Real nematode worms appear to be conscious to an extent, in so far as they forage for food and mates, and retreat from danger or threats. I don't think we would argue that nematodes have the same level of consciousness as we do. If the mechanical model also does this, it it conscious too?

We also know that different animals display different levels of consciousness, in many ways reflected by the amount of brain mass they posess; animals with far simpler brains appear, by and large, to be less conscious than animals with larger, more complex brains. We also know that damage to brains alters the properties of consciousness, as do interference with brain chemistry or electrical activity. It seems more likely that consciousness is an emergent property of the interactions between the physical structure of the brain/nervous system and electrical/chemical messaging.

I think that assuming matter has a special, magical property of "consciousness" is just re-hashing the unfalsifiable concept of a "soul".
> I've been using NordVPN mostly because I know the few guys who work on it (some of the best engineers in Lithuania ...

Saving this comment as NordVPN claims they are not in Lithuania very much so and on multiple occasions.
Python Community Interview with Ali Spittel
We have more than two classes.

Ask anyone "convicted" of a felony. "Accused" of a mental disorder.

I put the scare quotes because most convictions are plea bargains that the accused are bullied into by prosecutors and police stacking and inflating charges and the overall lack of competent and affordable legal representation.

Laws are being passed now that permit the suspension of constitutional rights without due process if you are accused of or ever seek help for many mental disorders.

Sensationalistic fear of the 'boogeyman' has destroyed many of our political processes.
I'm no dietician, but here's a couple of facts/myths/urban legends I've heard about nutrition. No idea how true they are, but they sound plausible to me:

* carbs digest into glucose

* too much glucose in your blood triggers insulin production which turns glucose into fat

* a glucose spike can trigger an insulin spike which leads to a glucose dip an hour or two after lunch

* eating fat triggers the feeling of being full, reducing your desire for more food

I have no idea how true these all are, but my impression is that there's at least some evidence supporting these. And if you add them all up, it sounds to me like you get fatter from eating carbs, because that can lead to a glucose spike -> insulin spike -> glucose dip which makes you want more sugar to get your glucose back up. Whereas food with more fat may make you feel full and stop craving more food.
Samsung Galaxy Fold: new video is best look at Samsung’s foldable phone
Good comment. I will note, though, that there were forms of safer concurrency going way back. PL designers and developers mostly just didn't use them. The main exceptions in industry were Ada Ravenscar and Eiffel SCOOP. Concurrent Pascal deserves mention as forerunner.
Which lamp do you use?
Robots are NOT going to steal your job – RAM Air Intake
Python is pretty much taking over as the go-to beginner programming language (see what I did there?).

However my daughters are learning VB.NET at school for her GCSE Computer Science (UK). It's a very capable language, if a little bit verbose and clunky, on a modern runtime and with excellent tooling. Until recently they were using Visual Studio for Mac, but we got my eldest a Windows 10 laptop for Christmas so now she's on 'real' Visual Studio. They're both very good though. It's quite something to watch her debugging code by setting break points, inspecting variables and such.