skysight-inc/HackerNews huggingface dataset:
I completely agree and I'd add Phoenix to the list! I've found it more productive than Django out of the box and almost at the level of Rails or Laravel. But after a month or two, it's a net win for me since immutability and lack of "magic" makes debugging so much easier.
Might want to be careful with something like this, since facebook/google/etc decorate links with outward redirects for tracking purposes.
I think the assumption is that algorithmic skills are a good predictor of success in other areas of software engineering.
can author of that medium post show real world example of an app, build with those principles and rules from start to end?

it would be also very educational to see decision and design process of an app build with those rules.
> no doubt somebody was doing fatigue calculations on the jackscrew at Boeing as well.

Yes, they were (the stress group). The airframe was designed for 62,000 hours of operation, then scrapped due to fatigue considerations. Fatigue was a bit of a black art at the time, with rules based on extensive testing and experience. It's much better understood today.

Take a paper clip and bend it back and forth. Eventually, it will break. That's fatigue.
One of the neat things with multiplayer games is that you get to see quickly how players creatively leverage/abuse the game play primitives (the basic physics rules) to their advantage.
Wrong, Germany is burning less and less fossil fuel because of the massive increase of renewables. Germany aims at 100% renewable energy. The government has passed a law to fade out fossil energy and joined an international alliance of countries who want to do the same.
I use Temporary Containers everywhere, and I think it's a great step forward in terms of privacy and security. I wish one day we could have a different IP and browser fingerprint per temporary container.
Hmm - True. This is also linked to amount of investment into content which has led to a large batches of TV shows, movies being released but homogenised because of the platform it serves.

Netflix is trying out different strategy with shows like GoodPlace to release content in a more timed manner maybe to increase longevity.
I did about 5 years of assembler in the late 80’s for a major bank (IMS and CICS systems). A set of structured macros supposedly from NASA, made it quite readable. These added if/else, case, loop constructs, etc.

Around 2012(?), working for another major bank, I was asked to make an enhancement to a funds transfer system written in assembler, as no one else left in the pool of programmers had any experience. I had to dig out my old text book which I luckily found, and my old yellow card, and relearned enough to make the change.
There's a lot of programs of late, designed to run in pure RAM. I imagine it would be similar? Except perhaps with different retention-over-restart characteristics.
Manhattan has been turning into a mall for at least the last 20 years or so, starting with Times Square and radiating outward from there. That this has metastasized into more actual malls is not really surprising.
> The rest of Canada bends over backwards to offer services in French which are seldom utilized.

Citation needed. Federal government offers services in French almost everywhere, as it offers services in English even in areas where almost no one speaks it.

But provincial services? There's just nothing. Ontario struggles to keep higher education and health services in French, and this is the province with the highest number of French speakers outside Quebec. There is a party in New Brunswick explicitly against providing services in French and they got 13% of the vote in the last election (reminder, New Brunswick is the only province to be officially bilingual).

So I am highly skeptical of your stance about the rest of Canada "bending over backward" to offer services in French...
The fact that you’re getting downvoted speaks volumes to the HN zeitgeist...
> Kodak never released his work, never manufactured that camera. They kept the patent of the work and sat on it, and when others tried to innovate and create a digital camera, Kodak sued them with that patent and kept suing people right up until the patent ran out in 2007. By 2012, the company was bankrupt.

I bought a Kodak digital camera in the 90s, and other brands too, so I doubt that version of events.
And of course the not-stated-but-there "You can never use an Android phone again, switch to iPhone or a feature phone."

Sure you could create a new Google account and use that with your phone, but Google's going to know it's the same person (same phone number, places where you have to enter your name, same credit card info if you're purchasing any apps on the Play store, same physical location and movement patterns, etc.) and can simply ban you again. You'd like to have Chrome syncing things between a desktop and laptop? Nope nope nope.
Countries should cooperate to phase out fossil and nuclear fuels and instead invest that money into expanding the power grid and into power storage.
What is 'dorky' WRT functional programming?
> Marshal Pétain, 84 years old and the great hero of World War I, believed it was his duty to save France from total destruction and accept an armistice with Germany. Britain was doomed, he said, and union would be “fusion with a corpse.” Another minister concluded: “Better be a Nazi province. At least we know what that means.” Reynaud later wrote in his memoirs, “Those who rose in indignation at the idea of union with our ally were the same individuals who were getting ready to bow and scrape to Hitler.”

Wow. I knew that England and France have historically disliked each other, but preferring to be a Nazi province?
Actually... I think you just convinced me to switch. I think I'm going to permanently enable do not disturb for anyone not on my call list.
Yeah! People are hyped up about VR but I think MMOs with physics could a big milestone in gaming too.

Both of them combined would literally be a step towards living in a Matrix. :)
Yugoslavia probably would have won a World Cup by now. It’s a shame.
> Minecraft with physics would be amazing

Chris Delay of Introversion (Prison Architect, Darwinia, DEFCON) mocked up something quite like that back in 2011. I always wished it had been developed further: https://www.youtube.com/watch?v=eQMBGLMtdFE
Line breaks are the most difficult issue. I was writing notes about investing and about my career using Atom and realized how shitty it is to use for that. I'm anti-cloud for certain types of documents and I wanted it to be as portable as possible.

I use the Notes app on MacOs for work notes pretty much all day every day. I have dozens of saved commands for Kafka and Kubernetes that I can just grab and run.
Some chemicals are known carcinogens. Many others are unknown carcinogens. It isn’t even known what chemicals are in e-cigarettes. To believe smoking e-cigarettes or vaping can not cause cancer is just dumb. Inhaling just about anything can cause cancer.
> Most programmers are surprised by the behavior of this snippet.

Ok. I'll bite.

I get
UnboundLocalError: local variable 'a' referenced before assignment

shouldn't it print 0 twice, since a is considered a global variable at the time print(a) gets called?

EDIT: If I delete print(a), then it prints 0 twice. What the hell?
AI, automation will disrupt our world – but only Andrew Yang is warning about it
x16 NVMe SSDs aren't very common. The most recent one I've seen is the Micron X100, but that's a x16 PCIe 3.0 device and it's not commercially available yet. Most consumer and enterprise SSDs are x4, though perhaps that may change as better media and controllers are able to saturate PCIe capabilities. Then it's a tradeoff on power requirements though to be considered...
comments shouldn't explain code period; they are to clarify intent.
What’s next? Upgradeable and repairable hardware? That’s just crazy talk.
> "I would hope that someone who decides to create a language would spend some time studying a lot of languages, especially those that came out in the past ten years."

Yes, I would hope the same thing.

Before designing Ecstasy, we spent a period of time evaluating existing languages (and language runtimes) for the specific use case that we had in mind (related to serverless cloud infrastructure and applications, but with some very specific goals).

That included Javascript and the V8 engine (a horrid language, but an _amazing_ runtime that came as close as any to fitting our goals), Google's Go (Gene is now a big fan, but it was a poor fit for our goals), Rust (briefly -- it wasn't a good match), and a small dive into Swift. Previously, I had read a fair bit about Smalltalk, but never got to use it for any work; Erlang is similar in that I've read about it, but never had an opportunity to use it in the wild. I'm impressed by ideas in both of these, but I find the languages themselves to be quite unappealing (to put it nicely).

So why didn't we look at Kotlin? Well, probably because I had the wrong idea of what it was, and once you get a wrong idea in your head, the wrong idea is hard to displace. Patrick Linskey was the developer who, after looking at the Ecstasy design at the time, suggested that we look at Kotlin. (He and his team use Kotlin a fair bit in their work.)

I had read some stuff years back that Gavin wrote about Kotlin, but had not thought to look at the language itself. I was under the impression that it was dormant. (I've since gotten in touch with Gavin ... I think it's pretty cool that we had similar concepts as he did.)

In retrospect, the language that I wish that I would have spent time looking at is Elixir (not necessarily to use it, but because some of the same things that it is attempting to address are relevant).

The challenge is that there are many creative people building many creative things, and we only have so many hours in the day to read and learn and use these things! I read a few hundred pages of technical topics every day, and I still can't keep up with even 1% of what is happening in our industry.

Also, over the years that I was designing the concepts that eventually formed Ecstasy, I spent a great deal of time talking with friends in the PL and language-runtime arena like Guy Steele, Rich Hickey, Doug Lea, James Strachan, various members of the Sun/Oracle Java team, Gil Tene (Azul pauseless GC), and so on. Many of the topics that I was investigating were ones suggested by these folks.

But in general, like many people who enjoy this kind of thing, I know what I like when I see it, and I collect ideas and thoughts over time. If you're a fan of poetry, I'd suggest Rilke's "For the Sake of a Single Poem", to understand how the first word of Ecstasy came to exist.
I involved in building 2 systems for healthcare:

Patient privacy monitoring (ensure no one peeks into patient records inappropriately) and medication analytics platform (monitors suspicious and anomalous activity related to drugs and opioids diversion).

This of course deals with multitude of different systems, EMR's, data formats, legacy-everything etc, but the GREAT about this whole thing - is opportunity.

No one really tackled a challenge of visibility across different systems and data formats in Healthcare and it's lots of fun to be part of that.

("Fun" is non-corporate word - but it still fun!)
One to read, and a single reader thread. That's no contention.

One to write, that's used for writing only, not both read/write as in the published design.

Edit: it's a variation on the following, but for ReverseProxies, not worker goroutines
http://marcio.io/2015/07/handling-1-million-requests-per-min...
> Surely the forging can't be made to that precision?

It's forged slightly oversized, then machined down to spec.

Forgings are about 3x stronger than a casting, and are of a more consistent quality, which is why when I increased the HP for my Dodge, I spent the extra bucks to get forged spinning parts (usually they are cast).
Make use of the tools you are most familiar with. You want delays to arise from your understanding of the problem domain rather that the platform upon which you are building it.
Also if you are targeting the simplest and most flexible execution, then you should accept that the platform you choose for v1 might not be the same for v2 as more specific use cases might emerge that will enable you to better compare frameworks and platforms.
> ... composition of functions operating on immutable data structures is just the right way to go

Yeah. No. Maybe. The cost of immutability can be high. Immutability can be very elegant when it's right, but mutability can be clearer other times. As another respondent said, there's no silver bullet. There's no 'right way to go'; as ever it depends.
> the origins of European integration—and the reasons why Britain ultimately pulled away

Anyone who was around for the UK's going into the then-called CEE (sporting all of 6 members) in the 70s will find little surprise at the current drama ...

(There were some Frenchmen worried it was an US submarine ...)
"Whomever [sic] named this language is a moron."

That would be this moron.

I would have chosen a different name, but they were all taken.
Joshua Edmonds plans to ‘Connect 313’ and get almost all Detroiters online
...and this is why I stopped play "adult" hockey.
It asks for your e-mail later, when you click to download Sandboxie.
I'm not saying it has to be 100x better than a human.

What I'm saying is, the averages today are across all vehicles on the road, some of which are old and have fairly low survival probability in an accident. And the deployment of technology to handle/avoid distracted driving is still in its infancy. If we just wait 10-15 years, I believe the safety rates for humans will increase by 10x over current US statistics.

Then self-driving has to manage another 10x improvement over that, in order to be worth it.
Everyone is arguing with you but I 100% agree. Official mod support is all I want. And it isn't happening.
France did and does heavily subsidize nuclear, it pretty much paid for the whole fleet out of government pockets when it was originally built in the 70s [0]

And because that was expensive, there isn't enough money for decommissioning left, which needs equally massive subsidies [1].

[0] https://www.france24.com/en/20170710-france-hulot-could-clos...

[1] https://uk.reuters.com/article/uk-europe-nuclear/eu-short-of...
I would have loved to take a field trip to Saginaw Gear and see all the various steps in its manufacture.
No, the best way is to read a proper explanation and understand the concept and the apply what you learnt writing some code in a different context. If you are trying to understand a programming language just by reverse engineering it and memorising the keywords in Anki then probably is not going to work.

What make this difference from generating and creating your own examples, as I suggested?

As I said, this is a common problem in learning, not just programming.

Conceptual explanation is not enough, and neither is a single example. Otherwise, you will get surface level misunderstanding instead of deeper understanding.
I’d suggest you watch Rich’s talk “Simple made easy”. [1]

It’s one of his main points that something like a language being “hard to approach” can be overcome by spending a little effort to learn it (as opposed to sticking with something like Kotlin just because its easy to pick up because it’s familiar). The benefits of learning the unfamiliar (in his case, he’s speaking specifically about Clojure) being that it allows you to write code that is much simpler to reason about.

I have no particular beef with Kotlin (or most any languages... right tool for the job and all), but I have lately become infatuated with Clojure and many of Rich’s viewpoints.

[1] https://www.infoq.com/presentations/Simple-Made-Easy/
Those two files do have a low ratio of comments. However a large number of files in those code bases have quite a lot more comments... I personally don't think these two code bases have sparse comments, overall, although perhaps it's subjective or my bias is affecting my judgement :)

Eg, to me this is well-commented and I wouldn't call it sparse.

https://github.com/antirez/redis/blob/unstable/src/latency.c
"This looks like a good case for a binary tree but it doesn't scale well under load."

"We would add support for this motherboard that looks a lot like the one we do support, but it doesn't offer feature X."

"We want to add more detailed logs here but we haven't figured out how to cope with the performance hit."

Closely related, comments are also useful for explaining why code that looks wrong/poorly optimized/obsolete isn't actually, which is something that the code itself can't explain.
> Even as Minecraft experiences a nostalgic renaissance, the online open world Roblox has become its spiritual successor.

Too bad Roblox doesn't work on Linux even in Wine, and developers have no interest in doing anything about it. So it's far from being a proper successor.
What if the coding task is paid at the job's hourly rate? I'm fine with take home coding tasks if they are paid.
Rents are by their nature exclusionary; it is hardly surprising they became hereditary rights. They are called guilds after all.
This is some double speak.

> not releasing it for them is standard practice to entice people to a new model, and has nothing to do with "planned obsolescence".

That's literally exactly what it is.

"You could have that, but because we've thought it better for you that you don't have it, but if you get newer hardware you could have it". It's obsolete, because it's artificially not compatible with current feature sets.
I certainly have met engineering managers worth their salt.

The best place to observe the need for management is in teams like, 20 relatively inexperienced engineers, all reporting to a single manager. I have never seen a team like this that is operating at 100% of the engineers’ capabilities. People end up wasting time on disagreements, building things that end up not needed, jumping from emergency to emergency, not using best practices, all sorts of things.

If you find a good manager and split those people into two teams of 10 engineers, that change will make that team much more productive.
Comments are there to clarify whatever is not easily understood in the code. If that's intent, sure, it's intent that should be commented.

It's not always the intent that needs clarification.
The 737 was originally designed for short, unpaved runways, which would bring jet service to many otherwise inaccessible airports.
> When you call a Rust function that can fail, do you carefully think through all the various failure paths and reason about everything from scratch?

From scratch? No, of course not. The type of the function tells me just what errors I need to expect.

It's really not complicated. Either you don't care about the error (or it "shouldn't ever happen"), in which case you .expect("some message") and call it a day, or else you're writing professional code and you absolutely need to think about the error cases first.

> Exceptions free program logic on the common path from the mental overhead of the error path, and that's a good thing.

This is backwards from the correct way to write professional software. It is, unfortunately, quite common. The proper way to engineer bug-free software is to address the error cases first.

Making a habit of ignoring what errors might happen is a sure way to get exploitable vulnerabilities and generally unreliable software.
Apostrophe is within ASCII, but breaks sites that a) are prone to SQL injection and/or b) are prone to XSS, generally anything where it can be a control character.

"é" is not in ASCII, you're thinking of some "extended ASCII" variant, such as Latin-n (where n goes from 1 to 12). Those are insidious, as your "of course é is in ASCII" becomes "of course ř is in ASCII", or something similar. Finding the original encoding then requires out-of-band signalling, or guessing (heuristics ;)).

The technical limitations checked here are in bespoke code, not in the OS.
> "95% ... This is an awfully high number. Anyone care to give their best guess as to what the actual number is for companies in general?"

The numbers that managing directors have shared with me are much higher than that, and the only "official" number I've seen (years back) was also slightly higher than that (96%? 98%?), but when I tried to find the article (so that I could cite it), I failed to find it, so I made an unsubstantiated claim with an arbitrarily more conservative number.

Please keep in mind that, at the time, I worked at Oracle, which is at least 23% responsible for taking that 95%+ of the IT budget. I carefully documented that here: https://www.quora.com/What-would-Oracle-database-cost-for-a-...

(Please don't ask me to defend the 23% number; I just made it up to be humorous.)
He also says later:

> _But I never seen it_, and there's no reason why OS X couldn't just say upgrade the airport card. So instead they blocked the entire line rather than this supposed older Airport card _that none of us were even familiar with_.

i.e. I believe he was basically implying that it was a bullshit reason that would pass plausible deniability tests.
JSDoc. It's a fucking tragedy on code bases.

I've seen it happen many times now. A nice, clean, easy-to-read code base turns into a forest of unreadable shit thanks to the introduction of parsed comment tags. Perl, Ruby, Python, JS. Doesn't matter what tool or language.

Please, people. I beg you. Stop putting this shit in code. Not everyone is using the same bloated IDE as you, nor do we care to maintain your silly block text and parameter text that is outdated the day you wrote it. If your function needs a block text to explain how to use it, you need to find a new job. I'm serious. You're not good at your job. If it's not self-evident what the file you're looking at does and the function within the file does, then refactor it. Cut it down. Make it make sense.
Chinese consumers spend US$10B in half an hour in Alibaba’s Singles’ Day
Google Begins Testing Extension Manifest V3 in Chrome Canary, breaking uBlock
What Is Sub-GHz Wireless Networking?
I had almost a full course on Domain Modeling to get my degree in CS in the University of Buenos Aires.

I hate it, of course, cause I had to work a lot. The idea was that for every model you designed, the teacher introduced a new feature that required to rethink everything again.
over-commenting is explaining in pseudo-english what you've written in code. Prentend you are at the United Nations but you speak all the langauges, so you don't need a word-for-word translation. You don't understand to motivations of every speaker though, nor their cultural influences and a million other factors, so context is super important. In the briefings you get some of the information is not new; but if the vast majority of what you're told is obvious or discernable from what people say, you're looking at over commenting. It's not a yes-no thing but a balance of evidence, subjective opinion.
I used agree with (and sort of still do) the sentiment of private discrimination. The logic goes like this...

1. People should be able to control their own business
2. If they reject a group of people for a given reason, they can
3. Businesses that done reject this group will gain more business. (Both from the newly released group, and from patrons who are not rejected but are against the discrimination)
4. The rejected people could start their own business as a competitor
5. Discriminatory people/businesses are immediately identified.

It seems like it could just work itself out, but in Patrice I'm not sure.
Don't trust random gossip on the internet.
I think both are factors. In the 90s I'd estimate my Magic circle was about 100 people or so. Sure that's a lot of room for experimentation, but nothing like the millions of players today.