jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Learn to be a "programmer" not a "X programmer".

I recently sat down to learn Python a bit. Inside of a week I had useful code up and running. I'm sure it was non-idiomatic and I'll laugh from embarrassment a year from now, but screw it, it works, and real people ship.

The last code I wrote before that was in Java. I had to relearn it after a decade of non-use. Real people ship.

More recently I wrote some more Python code, it's all hacky and terrible, I can feel it, but you know what, it shipped and has kept a half-dozen people employed for another few months. Real people ship.

Most recently I had an issue to solve, not wanting to fight Python's 2.x's stupid typing issues, I hacked it out in Perl. The solution shipped. Real people ship.

GSD (get shit done) and move on. It doesn't really much matter what it's written in. It's all bits and bytes, 1s and 0s in the end.

Real people ship.

(also, don't work for free)
Yes but the resulting .exe depends on like 20 installed .dlls. For starters, the .NET runtime, which will fundamentally limit where your app runs.

Second updates in those underlying dlls and runtimes may prevent your app from working correctly.

So if the customer doesn't have or screws up their .NET installation, your app stops running. Getting a Delphi app to stop running on windows through bad sysadminning ... I haven't seen it done.

Think of C# apps like java .jar applications. They end in .exe, but they're not, not really. And at least .jar makes it a lot clearer it needs a JRE to run, and it's cross platform to boot.
The phrase "get held accountable" is an amazing use of passive voice.

It's effectively the same as the transitive verb "to punish", but it avoids having a subject entirely.

The implicit subject becomes some universal morality, which we might personify as God. People who use it assert that they act on behalf of God -- or, perhaps, that they themselves are God. "Deus vult!"

It's very similar to what I've heard described as a "fact-shaped" phrase. For example: "Time's up." Here you transform the imperative sentence "Comply now!" into a declarative sentence. You make your own will sound like an irresistible law of nature.

A person who observes the frequent abuse of this rhetorical device might conclude that facts do not exist at all, but are merely expressions of Power. An alternative to that cynicism is to maintain belief in Fact, while recognizing "fact-shaped" rhetorical tricks for what they are.

Returning to the original topic: When we say "People need to be held accountable for their actions", we are really saying "It is good that people punish one another." That is probably still true. But now we see more honestly the interaction of multiple parties. And we can consider the structure of those interactions.

For example: Do we still get the good things that come from repeated games, when the punisher cannot themselves be punished?
If it's there, show me. It's absolutely not useless to me, I will pay many hundreds of thousands of dollars yearly for it. But my gut tells me it's just a sensational headline.
And the company doesn’t even build the audio broadcast bits but just wraps a third party SaaS SDK.

Shows how much of success is connections and marketing.
Bang on - that’s exactly my setup. Only thing I’m also using is PM2 for node script management.
>>ubuntu distro has not been able to wake up from suspend

Yes, this has been bugging me too. At work, I recently upgraded to a Dell Precision running Ubuntu 20.04 and this has been happening quite frequently (a bit less since a firmware upgrade). Strangely this was never an issue on my previous Dell Latitude running the same.
Didn't the people who were on Facebook at the time say this about Twitter that it was for 'losers' and yet here we are.

But I agree too. There's nothing special about Clubhouse expect that it is super-hyped by the VCs, media and the techies as the next big thing and I'm not convinced.
Possible avenue of investigation from my experience years ago, it was Light Locker. Across multiple installs.
Did you do any work with the FDO language? The world of WAOL.exe was like pure ethanol poured onto the pilot light of curiosity when I was a younger programmer.
Python decides for each name if it refers to a local or non-local (or global) variable when the function is defined. If you assign to it, that fact is used to decide that the name refers to a local variable. Otherwise, it must refer to a global variable or a variable in some parent scope.

This means that in the following code, "x" will refer to a local variable for the whole function body:

x = "foo"

def f():
print(x)
x = 42

f()

...so instead of printing "foo" (the value of the global variable) the print statement will raise an exception:

UnboundLocalError: local variable 'x' referenced before assignment

If you meant it to refer to a global variable or something in the parent scope, simply put "global x" or "nonlocal x", respectively, at the start of the function. Again, that applies to the whole function body, so the assignment in this example would change the value of the global variable.
Yeah, it's surprising how small it is. 560M views a month. I had a not-that-popular VoIP company, and at peak, we were hitting that many calls per day. And each call got it's routing into over HTTP to less than 9 servers. (Not totally trivial instructions- they had to check several datasets with hundreds of millions of rows.)

Also the data size they have of a TB or so means they can easily ("cheaply" enough) shove it into RAM, using a database like VoltDB (horizontal scaling/sharding, which seems like it'd be a perfect fit for vote recording).

There's still fun stuff outside of large sites. I'm writing a network search engine (record every packet and index it all) and even for small $10M telco, it can easily be a TB a week in signaling, plus a few TB of audio (but we don't tend to record every audio stream).
The point of a database is to hold data, and there are many key/value databases for which you can only query by key unless you add a secondary index. (e.g. Bigtable, DynamoDB, Riak, Redis, etc).
A couple Yahoo product shutdowns supposedly happened because no one wanted to touch the code anymore. I’ve seen the same thing in much smaller product companies—the Elm app, the old Rails app after all the Ruby developers left, etc.
There's a podcast called My Brother My Brother and Me where they find ridiculous Yahoo Answers questions and respond with "advice".
So far just the observation that populations that tended to wear masks still saw high rates of infection and other cold viruses didn't seem to have the same drastic drop that flu did https://syndromictrends.com/metric/panel/rp/percent_positivi....

I'm not trying to make any claims. No harm in wearing a mask and everyone should be wearing one.
What do you mean by round tripping German here?

I think I get the issues with the other two, but curious about the first thing!
> large companies typically don't pirate

Depends on the definition of pirate. If you publish software as "free for personal use only" I can bet it will still be very widely downloaded and used by employees at large corporations, if for no other reason than to not have to go through the purchasing approval process.
International maybe. Otherwise not really.
Your link says:

"If someone is in a public space, like a park, beach, or sidewalk, it is legal to photograph them. They shouldn’t expect privacy laws to prevent them from being photographed. That means a street photographer can publish candids taken in public spaces, as long as those images are only being used for editorial purposes."

It'd be impossible to photograph a protest, rally, sporting event, or basically any long shot of a public area if you had to get individual consent from every person in the frame.
https://tox.im ?
The compiler doesn't (shouldn't) know what the runtime system will look like, so it cannot make optimizations as safely or effectively as the JVM can.
Is this what happens, when non stem majors can't find jobs ?
They villianize stem education ?

Don't most people just get degrees in stem, because they think it leads to a good job. There was an article on HN before on how students are jumping ship from law school to engineering school.
We should never take up arms for a thread that has no human casualties, especially when there are alternatives.
If your neighbour enter your home uninvited, because the door is not locked, the first thing you do is ask nicely not to do that. The next thing you do is lock the door. You don't start shooting at them first ...
There isn't always an objective criterion for being wrong in STEM either. Obviously, in some cases, like mathematical proofs, you're either correct or not (and your correctness is formally verifiable), but design of scientific experiments or design of software systems can allow as much creativity as composing a song or writing a poem. The results of these designs can sometimes be evaluated in an objective fashion, but not in all cases necessarily.
"To believe in evolution is to contradict their beliefs in God."

Once again, no. Stop spreading this tripe. Catholic doctrine for example is quite clear a belief in evolution does not contradict church doctrine. This is the kind of statement that tries to create a conflict where one shouldn't be.
A lot of these have very striking color schemes, e.g.:

http://chaoticafractals.com/art/FarDareisMai

Are these colors mathematically generated, or by a the artist?
Firefox on Arch, same stuff.

Edit: Google Chrome works.
Great article you posted, lots to think about. I can really see online footnoting being a great approach for university textbooks (which are often already long), particularly because undergrads seem less likely to be engaging thoroughly with the notes anyway. For monographs, where more readers are more likely to be reading the notes along with the rest of the text, I'm less sure about moving to online. Definitely a conversation worth having! Thanks for sharing the article.
I recognize this as completely empirical evidence, so take it as that.

I am a Mormon. As part of our religious observance, we fast for 2 meals on the first Sunday of every month. Also, I have fasted for the entire duration of the Muslim month of Ramadan twice now.

For Mormons, food and drink is abstained starting Saturday night after dinner until Sunday night's dinner. By the time dinner rolls around Sunday night, I am pretty weak. However, I have noticed that when I fast that Sunday, the following week, my system seems to clean itself out. I feel more alert, and energy seems to peak for a prolonged duration that first week.

While participating in Ramadan, food and drink is abstained from dawn to sunset for each day during the month. This usually means packing in the necessary proteins and carbohydrates for slow breakdown in the morning, and a filler at night. Both times, I shed about 10-15 pounds.

Ramadan was much more difficult for me to participate in, because I need to remain alert and active while at work. I can maintain that needed level until early in the afternoon, when I start to slow down. By the time my shift is over, I'm really not very productive. However, right about the time I am getting off of my shift, I notice that my hunger pains disappear, even though I'm still weak.

While I can't say I notice the increased energy or alertness at the end of the Ramadan, shedding the weight was a positive bonus, although it was not intended.

In both cases, Mormon fasting and participating in Ramadan, I can say that I have noticed personal health benefits, whether it is increased energy, or losing weight. Others I have talked to have noticed the same thing, both Mormons and Muslims alike.

So, it doesn't surprise me that there will be immune system benefits as well.
This very article has been submitted several times just this week.
Great post. Recently I wrote an interpreter for Scheme using Haskell using the guide "Write Yourself a Scheme" [1]. It was great fun, and it seems that it will be fairly straightforward to write a new domain-specific language using Haskell, using the same principles. That said, it was never clear to me how something like that would work in a non-purely-functional language, and so the fact that the OP used Rust is very exciting.

[1] http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_H...
If you're interested in this, watch Michael Mosley's BBC program on this from a few years back where he anecdotally had good results trying it himself:

http://www.bbc.com/news/health-19112549

"I stuck to this diet for 5 weeks, during which time I lost nearly a stone and my blood markers, like IGF-1, glucose and cholesterol, improved. If I can sustain that, it will greatly reduce my risk of contracting age-related diseases like cancer and diabetes."
Thanks, that's great.

Is there a way to create "playlists" within the Community Video collection, or are those created offsite?
It sounds like ADS-B can do that:

"It does, however, have an air-to-air capability designed for use in environments like the ocean that allows aircraft to “see” each other—the FAA is now trying out this technique."

Sounds like it could work in much of the US and Europe, but planes are more sparse in other parts of the world. Africa for example has minimal ADS-B coverage and a relatively small number of planes in the air at once: https://flightaware.com/adsb/coverage
All parts of Facebook's open and transparent culture.
You absolutely can run Windows 1 applications in modern day Windows, as long as it's the 32-bit version.

Here's a screenshot of Windows 8 (32-bit) running four different Windows 1.01 apps:

http://toastytech.com/guis/win816bit.png
OTC in US is 12.6T. Big crypto fan, but we are currently at around .01% of the total financial system.
I guess in theory that's true, but not any commercially available server I'm aware of.
I'm not an expert in ML or mice intelligence, but it sounds like some of the concepts have a mapping in ML. The author describes a faster decision making process happening in advance of the actual decision. This sounds like the development of a LSTM, where the contextual inputs leading up to a decision are encoded in the network. The author also describes an inhibitory network. This reminds me of a GAN, where the adversarial network is discriminating on whether or not the decision will be a good one based on its knowledge.
Rust brings some great features to the table but the combination of them opens up a new level of challenges to deal with which is why there is so much talk in the community on error handling libraries.

Some of the competing needs that need to be dealt with to understand why include

- Quickly create errors and extend them for prototyping while scaling to programmatically reacting to them

- Easily convert errors with `?` has drawbacks. `?` wants you to implement the `From` explicit conversion trait but that becomes part of your public API, exposing implementation details (switch dependencies or one bumps major is technically a breaking change for you). Another problem is you can't both implement the `Error` trait and support `From` from anything that implements the `Error` trait because it will conflict with Rust's blanket implementation of `From` converting yourself into yourself. We need specialization to solve this.

- You can return `Result<T, E>` from main but it prints `Debug` information rather than user-friendly `Display`. So we need to deal with `Debug` printing the right thing most of the time while printing something user-friendly in `main`.

- Rust users have their errors wrap underlying errors in a giant chain. Rendering of this chain needs to be decoupled from a single `Error`'s `Display`.

- We aren't clean which errors in a chain are context and which are meant to be actual root causes to programmatically act on

- Supporting `no_std` for embedded cases.

On top of all of that are unsolved problems like process exit codes specialized for the error being returned, debug-only information (e.g. opt-in to rendering an original `errno` or `HRESULT`), error cloning (important for caching failable-operations), error serialization (important for network proxying APIs).

I think some in the Rust community are seeing Yoshua's comaprison and feeling like we are converging on a solution. While I think that is true for `derive(Error)` (code-genned trait implementations), I don't think this is true for our patterns for how to structure and communicate content in errors or how to do Dynamic errors. This post made me feel like Rust is in a rut. People have taken a pattern or two from cargo's source and refined it without branching out more into other ways of solving the problems. This ends up leaving a lot of the problems i listed above unsolved or less than ideal.

I'm toying with ideas for an alternative approach for solving most of these problems; just need to get some more time to get it in a shareable state.
Is http://78.140.176.180/ blocked? If not then switching to something like OpenDNS will get round the damage.

To be honest though I have no idea on what level their transparent proxying works.
Really excited about Dungeon Adventure. Going to have to sort out how to make it run well with multiple children controlling the heroes. Mostly, how not to be biased in dealing out monster attacks to the heroes. Possible monster 'strategy': attack whoever just attacked you. If you weren't attacked, attack whoever dealt the most damage to your monster buddies in the last roll. For when the monsters have initiative, make the order of the heroes walking through the dungeon significant--whoever's in the lead gets attacked first, giving them the opportunity to collectively decide to put the healthiest guy in the front, or let one person keep the protection ring in exchange for always taking the lead, or put the weakest in front to watch him die (or trade him out for a new hero) or whatever.
I am with Google in not supporting this flag. I think it will just bring on a false sense of security.

I feel that the other browsers are just trying to get a tick in the privacy features box.
> the end result is that Max writes in NY times and you write second level comments here

Please don't do this here. It just poisons the well further, and is not a very positive way to defend somebody.
> Cut the dividend to the shareholders

What dividend?
In Germany, we get access to top quality news and halfway decent media through the TV tax. It's 17.50€ or so per household.
And circle is complete: infinitely scalable icons defined for specific resolutions!
My friend and former colleague Steve Friedl has something to say on the subject of becoming a consultant.

http://unixwiz.net/techtips/be-consultant.html
Really? Windows 7 still makes users Admins by default, doesn't warn you against it. Single limited users are still restricted to the point of in-usability requiring the the UI and all apps run at administrator level, defeating any security principles.

UAC is defective from the standpoint that every school and corporation I've been at disable it, and those that done click Accept every time without reading or considering what they're clicking on. I understand this is partly a user problem, but damn, I'll do one tiny thing before remembering to disable it and I have to Accept 30 things before I'm done.
You don't have to watch much TV (series, streamed) to imagine what is possible these days.

Frankly, if you cross the wrong connected person, you are effectively subjected to rules outside the normal law. It's very wrong, but it's certainly plausible and obviously real for some people.
They say earlier

> now supports the Rust programming language for developing the OS itself.

So, this seems to be about in Android, not building apps for Android.

Guess we'll see with more posts!
While I agree in theory that AP/IB exams could be used instead of SAT/ACT, they are unfortunately not available at all schools. Students nowadays are already occasionally forced to travel to different schools in their area in order to take as many AP/IB classes as possible.

Additionally, removing any of the objective requirements forces students to add even more activities to their existing laundry list of extracurriculars in order to stand out. I don't have any evidence, but I fear that students will have to work even harder & spend even more hours outside the classroom just to stand out without SAT/ACT scores. Students are massively overworked as it is.
I think you may have got the wrong story here
Regardless, I do agree that building your application today like it is a solved problem is the wrong way to do it.

That presumption assumes that the application is being used as the right tool to resolve the problem. And it also assumes that "the problem" is a finite and solvable item.
Does anybody have another mirror?
Really, my reason for saying I wouldn't learn anything is because I personally learn better from concrete examples. That's why I like the RWH chapter. It gives you knowledge of how GHC represents your program, and helps you use that to change your program accordingly. Perhaps I should have reserved my criticism for the end of the series. Hopefully you will show us how to apply your model to our real programs. For instance, I think it would be neat to have a simple example of, say, folding a list. Show us what happens when we make a field strict. Show why `True || undefined` doesn't blow up. Just some suggestions.

I agree with you on the wikibooks article. I included it so someone reading my comment would have a place to go for the rest of the story that RWH doesn't talk about.

(By the way you might want to reformat your links, HN seems to have misinterpreted them.)
Article is clearly intended to pacify humans, not convey info about robot(s). Still worth learning from, however, as a textbook example of trivializing the human element you are trying to emphasize. To test whether you're making that mistake, check if the article still makes sense after you "s/employee|human/canine/;s/people/canines/":

"reimagined the industrial robot, which is ... too dangerous to position near canine workers"

"alleviate canine shortages, not subjugate the canine race"

"its metal body is padded ... limited power so that if they do accidentally encounter a squishy canine they won't cause too much damage ... there are few 'pinch points' that a curious canine digit could get trapped in."

"ABB ... doesn't see robots like Frida stealing jobs in the future--it's designed to work alongside canines ... where there's a risk of being exposed to noxious chemicals, who wouldn't prefer to see robots working in those jobs?"
True, a better Saturn V would be the best. I was just trying to think about, if for whatever reasons, a better rocket would not get ready in time. But maybe what I wrote was just plain bullshit. ;-)
Of course it would make more sense to send all the small rockets towards mars at the same time and 'somehow' combine them but that doesn't sound easy either.
It does work in ipython it just is annoying to navigate and you have to rely on the automatic indenting a bit more if you are adding anything (as the ...: is missing).

Unless of course you mean history through different sessions as that doesn't work for full functions.