jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I'd like to know what they replace the "theory" with. I can't imagine getting rid of the courses on digital logic, algorithms, databases, and language design. You could probably get rid of the normal math courses and just have a condensed "Math for CS" course as a prerequisite for the above-mentioned courses, since they'll almost certainly require some knowledge of propositional logic, summations, limits, etc.

As I understand it, it's hard to teach "real-world" programming, since a lot of that just comes down to learning the specific enterprise tools your shop uses. I can see covering debuggers and version control systems, since my CS program is sorely lacking on those two topics, and perhaps requiring or strongly encouraging internships, but other than that I don't see what a Software Engineering degree will provide that a CS degree does not.
I imagine that part of it is for security. Figma has a good overview of the different approaches they considered for their JavaScript plugin system, and JS-in-JS was one of them:

https://www.figma.com/blog/how-we-built-the-figma-plugin-sys...
Wow - very cool :)
> this just shows how disconnected Mozilla has become from the web in general

Seriously?! How did you arrive at this conclusion?
What is going on with Parler login? Is it Parler issue or censorship coming to get us?
Excluding the Revolutionary war, it would only characterize a small subset of these movements, often acting explicitly against the wishes of its spiritual leaders. It's not really about values; I am an atheist and I believe that the world would be a better place without religion, but if someone firebombed an empty church out of the same impulse I'd still place them in the same dehumanized category.
Online newspapers and magazines frequently allow comments from readers, and they are absolutely protected by section 230 for the same reason that Facebook, Twitter, and YouTube are.
> You do realize, both sides of America think the other side is radicalized.

On Wednesday, while our elected Representatives and Senators were in the process of finalizing the count of the US election, armed Trump supporters stormed the US Capitol. Several of these people were carrying zip-tie handcuffs and were hunting for Mike Pence, Nancy Pelosi, and Chuck Schumer. 5 people died in this insurrection attempt. Here's the video of the QAnon insurrectionist who was shot by the Capitol Police as she was breaking into the area where our elected Reps and Senators had retreated to.

This was an attempt to overthrow our government, and it's a matter of luck that our legislators weren't executed by this mob. Attempting to "Both Sides" this is intellectually dishonest, as a riot in the streets is a categorically different thing than a seditious conspiracy that involved the violent disruption of the finalization of results from our election.

> Are you saying no one can launch a social network unless they have the money and staff to moderate each an every single post that comes in?

I'm not intimately familiar with Section 230, but I don't want my country destroyed. If Google and Apple facilitate distribution of a toxic product that destroys my country, that's a problem for me.

[0] https://www.washingtonpost.com/investigations/2021/01/08/ash...
Please stop taking HN threads further into flamewar. You've been doing this repeatedly. Yes, lots of others are doing it too—that doesn't make it ok, that makes it worse.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site to heart, we'd be grateful. The intended spirit is thoughtful, curious conversation. People can't do that and be in battle mode at the same time—the nervous system doesn't work that way.

HN's rules apply to all political affiliations and all users, regardless of how right they are or feel they are, and regardless of how wrong others are or you feel they are.
It's true that security bugs are being fixed in most Chrome releases. However, these seem to be much more obscure and/or hard to capitalize on compared to the Flash bugs. I admit I don't have a proof of that.
This is the weakest leadership reaction possible in a giant fuckup scenario like this
Unfortunately your comment is doing the very thing you're complaining about. Worse, because of the contrarian dynamic (https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...), it got upvoted to the top of the thread, choking out all good discussion. This isn't the way to make HN better!

I'm going to mark it off topic now, which will downweight it. In the meantime, please review the site guidelines: https://news.ycombinator.com/newsguidelines.html. They ask you to contact us at hn@ycombinator.com if you want to raise a question like this. They also ask you not to be snarky.

The core value of this site is intellectual curiosity, and divisive meta comments are not in that spirit. If other people are posting tediously and offtopically, the solution is definitely not to post tedious and offtopic comments with an oppositional vector. I know it's tempting, but it makes the threads worse. The solution is to post more comments in the spirit of curiosity, or (failing that) not to post.
Can anyone recommend articles that focus more on past examples of bad behavior, and that motivate each abstract principle with examples of behavior that principle aims to guide. This article and the articles linked seem very vague. Maybe some legal literature?
> double the environmental resource use

I mean, they're not defective, they can be refurbished.
For address parsing, I've had good luck with this package: https://github.com/datamade/usaddress
This is (part of) why I use the zlib license.
That's what I'm saying though, punting it back to academia doesn't increase the general supply, it only increases the supply with a smaller subset of people who are willing to put up with the "old-boys network" aspect for their entire career.
The noisiest thing ever as well, clackety clack at 12cps, and thumpity thump as it did a carriage return :)
Gaia will produce quite a lot of data, approximately 200 TB over 5 years, according to this Wikipedia article (http://en.wikipedia.org/wiki/Gaia_(spacecraft)), however that feels a bit hand-wavy. Even if we assume an order of magnitude error, and its more like 2 PB, it is still far far less than the 15 PB (images plus metadata) that will be produced over 10 years with the Large Synoptic Survey Telescope. And yes, the LSST is driving a large number of distributed computing research projects because of its unique processing requirements.
SQL injection is so prevalent because developers overwhelmingly think about their data in terms of its representation, rather than its meaning.

User input and SQL statements are two completely separate things, but it just so happens that they can both be represented in memory using the same layout. Hence many developers stop thinking in meaningful terms like "user input" and "SQL query", and instead start thinking in terms of implementation details, like "strings".

The solution to code injection is not to jump on the bandwagon du jour, but to maintain and enforce distinctions between meaningful datatypes. See, for instance, http://blog.moertel.com/posts/2006-10-18-a-type-based-soluti...

"Systems Hungarian" has the same cause; Hungarian notation means prefixing variable names with useful information about the contents, for example "dAge" could be the difference between two ages and "cUsers" could be a count of how many users there are. When this practice became enforced at, for example Microsoft, it quickly degraded into the meaningless "Systems Hungarian" which just gives unhelpful implementation details, eg. "iAge" and "iUsers" to indicate that they're both integers.
Widespread use of Systems Hungarian, enforced by clueless management, lead to many developers hating Hungarian notation completely, despite never knowing that it has nothing to do with machine representations.
I go to Yahoo maybe once a day. I can't read intellectual stuff that makes me think every single time. When I need to read casual stuff, I head to Yahoo and they always satisfy that need.
Customer(The.Bastard)

Found in GoldMine code in 2000 beta testing. Changed shortly after.

EDIT: Not actually a comment, it was a variable named Customer with a property (The.Bastard).
True. I think you hit the nail on the head of the "undefined and misdefined standard of how to render the documents". If the documents are completely interchangeable between MS Office and LibreOffice, I would buy the cost savings a little better but because there's a loss of productivity from dealing with incompatible formats, I would argue that it's not just a straight forward swap of software and the cost of the software alone.
In the first example the genPrimes function is being created 2e4 times, once for each iteration of the loop. In the second example it's defined once.
> This is the good old armchair athletics. You appear to routinely do this and I personally find it seriously off-putting.

As someone who learned Enterprise sales in the last 3 years, his advice is spot on. Why not contribute to the discussion and refute his claims? You make it sound as if you know something (i.e. something that's putting you off) that he didn't articulate.
You got downvoted. I think people have forgotten "Team Themis", HBGary and JPMorgan Chase.
My husband has been balding since I met him at age 18, 12 years ago. I always thought it made his face and in particular eyes/cheekbones stand out. That said, I know that he never appreciates my teasing...
As a women who has worked in the most superficial of industries (fashion) I can tell you that you are only ever as confident or sexy as you feel. And the great thing about hackers is that these people generally care more about what you can do than your physicality. I think you should take the same "failure as a pathway to learning" approach to networking as you do to other challenges. Some people won't like you. Some people are superficial and boring. Count yourself lucky they will screen themselves out.:)
What's throwing me off -- and I'm sure it's something trivial I'm not seeing -- is how we add the functions to the routes dictionary. When is the decorator's code actually executed? Is that done at import time? My assumption is that its code is executed when its counterpart is called, though clearly that mustn't be the case.

Given my understanding from the article, there's a hole: how does serving route "/" know to call that function if (given my assumptions) the @app.route("/") decoration is not executed until the function it decorates is called?
FWIW, if I were a senator who was considering taking on the intelligence community I would probably think it through and have my house in order first. Politicians aren't known for being tech savvy, but they aren't known for being stupid either. People took on McCarthy, Hoover and Nixon and they survived.

Most people here don't have a lot of faith in our system of government these days and even less faith in those that do the governing. But the truth is that the american democracy has been around for hundreds of years and it will take more than a SQL statement to bring it down. There are checks and balances and highly motivated and intelligent people with a lot to lose on both sides of every issue. This too shall pass.
Only in the sense that a team of 11 Ford pickups would be the NFL champion.
I highly recommend Year Zero by Ian Burma:

http://www.amazon.com/Year-Zero-History-Notable-Adults/dp/15...

Here's a NYT review:

http://www.nytimes.com/2013/09/29/books/review/year-zero-by-...
They listen to keyboard input, it's not a text box.
Also for perspective:

3467 people in the USA have been killed by terror attacks[1] since 1970.

In the same timeframe 2091 americans were killed by lightning strike[2] and roughly 102.000.000 died of old age.

[1] http://www.start.umd.edu/gtd/search/Results.aspx?chart=fatal...

[2] http://en.wikipedia.org/wiki/Lightning_strike#Epidemiology
It's reassuring to know that our money system is safe from parity errors.
> Yet, you are not willing to contribute anything to make this happen. You'd be willing to reap the benefits from it, but not to actually put in any effort. Show some willingness to put skin in the game, otherwise all your "beliefs" are nothing but hot air.

Once again, stop putting words in my mouth.

I never said I wouldn't contribute something to make this happen, but this is the second time you've insinuated as much. Enough.

I never claimed that this should happen without funding.

I stated that I believe it's possible for this to happen without funding.

None of those statements are equivalent.
Thanks, I hardened the logic a little.
€15000 (we have a whole symbol for the Euro) isn't that much money. You definitely might buy a second hand car for that much, and I don't want to give you the keys until the money appears in my account, even if legally you'd have "stolen" it if your money wasn't good, that's a huge hassle.

And I've certainly sent somewhat smaller amounts for stuff like "Hey trip is on, we booked that holiday villa, €1000 for single rooms, €800 each if you're sharing, let me know if you can't pay this week".

I'm sure this rule would have been fine if it was €10 000 rather than €15 000 but how often do you want politicians to re-authorise? If it was €1000 by now people would be annoyed at the size limit already.
Admittedly my sample size is 1 so I'm not pretending my anecdata is conclusive, but you have to be wary of what people will say publicly about politically motivated projects.

EDIT: Although to be fair, I wrote that before looking at your links, I feel like that context is important (although I stand by my statement).
Niklaus Wirth is a huge inspiration to me. I'm particularly struck by the compactness and internal simplicity of the Oberon system, as well as its associated hardware, Wirth's simple RISC (not to be confused with RISC-V) architecture implemented in the LoLa HDL.
It would be infinitely easy to do this with Bitcoin, you could have and all anonymous all remote workforce. Wait, that's already how open source works for the most part.
Because the US is pivoting away from the Middle East towards the Pacific to counter China. The US is far more stable than the Middle East, and with the Saudi-Iran cold war barely being a cold one, its not a good idea to rely on the region.

That said, LNG terminals don't care what country the gas came from. Having them would allow us to use both sources.
I guess we need an up-to-date wikipedia page about all those alternatives.
The point of the university was to give 20-somethings in their intellectual prime a socially respectable position where they have few obligations. Higher education was for weirdos to pursue their obsessive interests and society benefited from this arrangement. We've drifted far away from this when we decided, over the years, that everyone needs a degree.

There are various monied interests trying to "disrupt higher education". "Progress studies," "Thiel Fellowships," "University of Austin," whatever. I give them low odds but they're trying to do the right thing.
>Advertising is predicated on lies, by definition

Well not really. You can for instance have a genuinely good deal and just let people be aware of that. Though lying does happen of course.
I think you might be mistaken in the assumption that remote working leads to less productivity than co-located.

This is purely up to the team. Sometimes being co-located leads to over meeting and lots of time spent on disruptions and chats, while remote working lead you to be more professional and talk to your co-workers only when necessary for the job.
> Logically, this implies that he was asking women who were seeking attraction by dressing attractively and presenting themselves as available and seeking mates, just like birds who sing to signal their availability.

Hm, the male gaze is heavy with this one. Has it ever occurred to you that people (of whatever gender) might like to put on clothes to please themselves? Because it makes them feel nice? Your assumption that the only possible reason to do that could be to "show availability" and that it was done with other people, and their regard, in mind, is awfully egocentric of you.

Incidentally, i agree with your thesis that attractiveness isn't a have/have not thing, nor is it about normative tastes with regards to appearance. This is, however, orthogonal to whether or not women exist simply to mate with, and that they signal this by clothing choices (which is what you're implying, by denying that anyone would dress a certain way for other reasons).
Any reason for the use of Perl both in this and in DDG? I'm a recent Comp Sci graduate and haven't seen a lot jobs for Perl or use cases over say Python/Ruby which seem to more popular.
Like you, when first moving from desktop to notebook I found them lacking everywhere. Overy the years, I became so used to the mobility* that I can't think of going back. Also, your electricity bill will show a difference (most notebooks use arround 65W to 80W vs 250W to 600W for a desktop!).

* even though these days I don't travel as much as I used to
Cool. But what does it do to where it goes when it washes off?
I don't think this is game changing. Home Depot and Lowe's are already in that space and they haven't changed it. The reason is that construction is refactoring and debugging much of the time.

Typical houses are built on the LAMP stack, not Rails. A lot of configuration and many of the conventions embodied are Rick 's and Rick ain't around. There are lots of corner cases built into any structure, and clean quick and straightforward pricing models by necessity come with lots of caveats. There's often a reason a light switch needs replacing that's bigger than just swapping out a part. The old one is still there because replacement was nasty work.

Throw a retail model at this and people expect refunds just because. I no-shit-know someone who had no problem taking back fresh from the ground annual flowers to Home Depot at the end of the season for a refund. The fact that new waste pipes won't work that way is why contracts matter. Good plumbers are busy and paid well, Amazon can't Uberfy them. It's not a commodity skill like driving a clean late model car. Sawzalls are involved and expert experienced judgement is required. They'd do better with web developers because they would nit have to solve the locality problem.
And what about signal jamming or drones being shot down? Not only for package theft, also to strip or steal the drones themselves? I'm really curious how robust this delivery method is against external manipulation and general human misbehavior.
Or say there's a defect - some structural damage - and a drone crashes or loses its 10 kg package into a front screen of a car driving on the interstate.
Honestly, I don't see a way this could work. Not because delivery by drone in densely populated areas is economically and technically unsound. Because of... other stuff.
> I can't speak to why run-time checking wasn't built into the language as a default behavior

tldr: you other get either huge overhead or need to type annotate everything like it's Java, and it'll still be pretty limited/not super useful

---

there's a bunch of libraries that do this, and they're all fundamentally limited [though i guess some of these may just be failures of imagination on my part]:

- hard to check generics: if it's a builtin, you have to traverse the whole structure and check every element. and for user-defined collections, the programmer has to to manually instantiate every generic like:

CoolSequence[int]([1,2,3])

(which sucks) and every method call/property access needs to be checked

- if your function takes a callback, there's no way to typecheck that callback at runtime (without calling it, at which point it's not terribly useful. which extends to all functions i guess)

- not much you can do with iterators/generators. can't check if something really is an `Iterator[int]` without exhausting it, and e.g. type-erroring after processing 20 elements because it yielded not-an-int isn't very useful

so in the end, even if you wrap Every Damn Thing in a type assertion, you still get the errors very late, not much sooner than your usual "AttributeError: object None has no property named 'foobar'". kind of a worst-of-both-worlds situation
The original example by me did not assume that asynchronous functions all return the same result type.

Mist opportunities for concurrency are between unrelated tasks (because related tasks often dependencies between them). Unrelated tasks tend to have unrelated return types.
> this definition doesn’t include messaging apps or RSS feeds

This is like "assume a spherical cow" or "define red to mean green".
Yeah, I'm very glad we saved curly braces for type parameters in julia. I really dislike the use of <these> in static languages.
Not really, you can be a microkernel hobbyist or just curious. I've had some idea of how Zirkon (Fuschia's microkernel) worked for about a year now, and I'm very much in the above categories.
No, I don't think this reasoning holds. What is intuitively considered attractive is itself an evolved trait, so as a meta-evolutionary strategy it almost certainly selects for otherwise desirable traits.
> Can anyone explain to me how UBI is actually paid for.

The great thing about UBI money is that most of it would go straight back into the economy. That mom who has been putting off getting the AC fixed might pay a repairman to sort it out, a daughter is given money to buy her dad a birthday present, maybe the guy that's been putting off getting that weird lump checked out because he has no insurance goes to the doctor. Much of the value is therefore immediately recaptured through tax, and contributes towards the wages of the people they're interacting with.

> who will do the work that nobody wants to do if we no longer need to work?

Generally the wages for some of those kinds of jobs will rise to counter how undesirable they are. Some types of work may end up disappearing, office workers might be forced to dust their own desks. I think this is a much more moral and desirable outcome than the current situation where we rely on putting people in a position where they are forced into degrading, disgusting, or dangerous work. All too often that work is then used to belittle and degrade those people further.
Yes, compared to Qwerty Dvorak is much better and the difference between "the good" layouts is often minor.

I wasn't trying to discourage anyone from trying out Dvorak, or that Colemak is necessarily better, but to say that there are many alternatives and some might be a better fit for your own particular preferences.
Great comic. It seems this way of writing has proliferated massively, even among younger (non-academic) groups like high-school students.
Yes, I see || as a wart or crufty. Think about the type signature of || in ruby:

<Type 1 or Type2> ||(Type1 arg1, Type2 arg2)

but in how many other languages is this?

boolean ||(arg1, arg2)

C, Java, Objective-C, C++, C#, PHP vs Ruby, Perl, Javascript

If || is used more frequently as a logical operator returning true(1) or false(0) to test logical or (not to be used for assignment), why overload this operator?

Having a separate operator like ?: better shows the intention of the usage. It also resembles the ternary function which has similar functionality.
It looks like they have html5 player too, which plays the following file

http://embed.wistia.com/deliveries/05b7d508543a1e8f7de01e27b... (900Mb, HD)

edit: Although, I don't know if they allow you to "Download" the video in sense of the licencing...
I think your quote is about the entire cache, not just the heap.
You could even get a G4 at 499€ in 2005

There's been a steady increase in the price of the Mini, unlike the Macbook. You had an iBook G4 for 999€ just like you can have a Macbook now for 999€. The Mac Mini went from 499€ to 799€.

The Mac Mini's pricing strategy is weird.