skysight-inc/HackerNews huggingface dataset:
The power of multiple dispatch is an eye opener for me personally when I first learned about Julia.

It's hard to get back to OOP once you're used to multiple dispatch. It's so natural and gets rid of the the question of "which class should I write this method in"?
Or you can go the other way and force the caller of the load function to ensure that the iterator is closed

Pass the responsibility as far up as required. Make the `load` function return a context manager. So any use of load would be like:

with load(x) as it:
pass

`load` could be written with `contextlib.contextmanager` as:

@contextlib.contextmanager
def load(filepath):
with open(filepath) as f:
yield csv.reader(f)
I've never heard of Lua, but now that I am looking at it, it seems very friendly. Love how they call things what they are, for example `local` is just a local variable, or `repeat X until Y` for a loop. It's a joy to see, to be honest.
If you look deeper it’s the exact opposite. “Non-flat” design is utilitarian. Win2k, NextStep, Amiga, OS9, all used skeuomorphism and visual affordable in a very straight-forward fashion.
>which means you need to buffer the whole ciphertext in memory, defeating the streaming functionality of the service

Can't you generate an IV, write it out to the stream, then encrypt/write the ciphertext?
Exactly. Because once everything isn't protected, someone gets to choose. So what we need are systems where content can't be removed, and users can't be banned, by design.

And yeah, we also need usable and effective filtering, so everyone can choose what to see.
I don't know, maybe I have lost touch with reality, but these things seem trivial at best. It's like a form of false martyrdom. It is easy to pick apart the small things, and be offended (or extremely empathetic).
Markets have failed you because (1) they are not active in a key part of the process. Specifically, the Central Valley water supply, which is a key input, is not operated by a market. It's operated as a government giveaway.

and (2) because property rights (to aquifer water) do not exist and are not enforced. This is one of the Big Three Things that Kill Market Efficiency (the other two being barriers to entry and high transaction costs).

If you want to intervene, intervene to restore market order. Convert water allocation rights into to property, allow them to be bought and sold, and give somebody title to the local groundwater, somehow. Make things cost the right amount of money. If that means almonds are too expensive to grow anymore, then that will happen. If that means almonds are worth it long term and they should get the water instead of the alfalfa in the short term, that will happen too.
It used to be that people were taught: there is the law, and there is the moral principle underlying the law. So while freedom of speech is a thing protected by the Constitution, it exists outside the Constitution as a principle that instructs us that it is not legitimate to attempt to silence people for expressing an opinion you dislike, with whatever means you have at your disposal (shunning, character assassination, etc.), simply because you dislike it. You are still free to shun people with opinions you dislike, it just may not be the right thing to do.

Today, people are taught that laws are arbitrary and are made and used by the oppressor class to oppress the oppressed classes, and it is the moral mission of the oppressed classes to rise up and seize power so that the laws won't oppress then anymore. Which means that the moral principles are lost, and any weapon that finds its way in the hands of the immiserated proletariat can be legitimately used in the struggle to determine which class writes the laws.
A more right-wing politician would be:

* Fiscally conservative

* Against tariffs

* Actually protective of gun rights

* More interventionist in foreign affairs

* Strong law and order approach to drug policy

* Unsupportive of gay marriage

* Actually religious

It's a pretty commonly held view that Trump is more populist and "not a real conservative" even among his opponents.
I am trying to understand this comment in this context. The commentor above you talks about the statistical fact that cases under in younger people are not only rarer, but very low chance of getting hospitalized, and an even lower chance of death.

You then respond with an anecdote of experience talking about the potential outcomes of this virus. Why exactly is this? Of course there are terrible potential outcomes in everyday actions we take. We might face a car crash, we might get hit by lightning. Why should we treat this matter any different than that?

Only difference I see being is that this is infectious, and with the professors usually being of older age, there should definitely be some protections in place. But lets at least shift towards talking about being infectious, and not talking about plainly getting COVID, because the implications of that are on complete different scales of magnitude depending on your personal charasterstics.

Also, you seem to talk in your latter parts of the comment about things that are not set in stone. E.g. Class attendance could be made nonmandatory and not affect grades. Also, parties could on campus could be restricted.
https://www.news9.com/story/5efe6166c993e811aef887a0/norman-...

The police intentionally leaked the councilwomen's address online in retribution. Maybe they didn't expect a rape, but I bet the assaulter thought they wouldn't mind.
If someone (who wasn't a writer or someone noteworthy enough to write about) believed a crazy thing before the internet, how would we know?
I'd be interested to hear more about the inner work you had to do, if you'd care to share.
Basically any republican since Reagan.

I mean, it's not like there's a reliable permanent definition of “right wing”, but Donald Trump was the first President to support gay marriage during his campaign, and his platform in large part reads like Bill Clinton's (especially on illegal immigration), minus the AWB and belief that China would liberalize.
Sadly true. How often do I see this bay area etc. "whining" that some house means a couple years of saving up cash.

Here most people I know first save up for 10 years and then pay back 1300-2000k€ a month for 30 years for their house. And that's with lots of construction work done by themselves.

Most devs I know make less than 3.5k€ a month before taxes, end up with about 2.5k€.

I work for a US startup and while they all got big houses in Boston, we struggle to find anything below 600k€ here in some small Mountain town ;) , and that's usually not more than 1000 square feet.

I do earn more than twice what I did before. Working only part time and fully remote. Devs usually earn less than the business people. We got lots of free education in that regards so you can easily get a cheap 19 year old coder with 5 years from a technical school.

But if you're not out for money you can have your relaxed 38.5h/week job with 5 weeks paid vacation, obviously unlimited sick pay, up to 3 years paid maternity/paternity leave and lots and lots of protection (for example my wife is protected from being dismissed from her job until our kid is 8 years old).
Not about algebra, but one good example of ridiculous problems leading to great discoveris in math is how, according to the legend, Cauchy invented complex analysis (at least the theorems on holomorphic and meromorphic functions) just to solve some random integral somebody had given him
Every radio commercial, TV announcement, advertising video, movie, and animated program uses voice actors. Text to speech isn't good at emotion or character and those things will always be needed in the creative arts and the businesses based on them.
Also https://0x0.st

which has source available here: https://github.com/mia-0/0x0
Going to gym, eating salad, skipping lunch
> There were little spurts of protectionism in argentina and brasil but those happened only around the 2000s and only as a reaction after many years of gutting the countries under free market policies.

On the contrary. Brazil and Argentina are super protectionists and never had a free market economy in the last decades. Free market means entering product from other markets with a near zero tariff. For example, the price of a notebook in theses markets is 2x the price in US, and always worked like that. For an Argentinian a top of the line 13" MacBook Pro in US at USD 2k is cheap because in Argentina that will cost more than USD 4k. There were arbitrary cases (e.g. clothes) where in the 90s the imports from China broke local factories but never a free market economy but an arbitrary market economy.
How you feel about this is key to the article's argument. It makes the point that you shouldn't have to know if the iterator is lazy or not, that's an implementation detail.

That does seem...generally desirable? But given Python already gives you easy and different syntax to create lazy vs greedy iterators, and you often can't use them interchangeably, it's clearly not a top design goal of the language.
You would rather be hundreds of thousands of dollars in debt than go to a top engineering school for free?

You’re aware those same hicks with their backward values that voted for values you don’t agree with are the same hicks, with the same values, that made GT free for you to attend?

Those conservative evangelicals who agreed to legalize the state lottery only if all proceeds go to tuition and early childhood education - they’re the reason your education was free.
I'm saying that, in a world where campus needs to be closed for safety reasons, but professors can teach online, it's possible to both reduce/discount tuition and still pay professors near what they were making before since they're still doing as much or more work as before. Most of the cost of tuition is physical-world/social events that couldn't take place if campus was closed.

I'm not sure what will end up happening, or if it will be fair to either party here. And obviously, if students drop out over this, then that will cause financial issues all over, but that doesn't seem like what's happening. Students are still enrolled and interested in taking classes where possible. On the other end, telling non-tenured professors that they now have to teach entirely online for less money is an easy way for them to go find a different job, which isn't good for GT either.
It's because at-will employment isn't the problem unless your boss is unreasonable, and if your boss is unreasonable then you should celebrate the opportunity to collect unemployment while you find a new job instead of having to quit or continue working there in the meantime.

But canceling everybody is problematically increasing the number of unreasonable bosses.
Yes, things seem to be coalescing around raddle.me.
Very cool. Thanks for doing something like this. I'm curious about making indie games and love the idea of being able to understand a finished project that I can analyze to understand things better.
How do you plan to insure that your digital identity system can be used for illegal/criminal purposes, such as aiding Jews and other undesirables in evading lawfully authorized detention and relocation (or by said undesirables for said evasion)?

(I don't mean to single you out specifically; this is something that any digital identity system needs to deal with. And most of them enthusiastically don't.)
No. It doesn't. We're having this conversation because angry mobs are unjustly destroying peoples lives. If you think that's okay then we're at an impasse.

Abstract freedom of expression is a prerequisite for preventing oppression by majority rule. It's fundamental to our core as citizens in the United States.
I'm not sure it is fair to attribute this to Python's GC model, in that what is commonly thought of as garbage collection is not involved with the issue being discussed.

However, in principle, this issue is very simmilar to that which garbage collectors set out to solve.

In effect, python's context managers combined with the "with" syntax recreate the sementics of C's local variables in that:

1) They can be passed outside the lexical scope in which they were defined but

2) They're usage is illegal after execution has exited the "block" in which they are defined.

3) There is nothing which prevents a programmer from keeping and attempt to use a reference to them after execution has left the code block.

The approach I take in python is the same I take in C. Most of the time, I only need to file for a short period, so I can "stack" allocate it with a context manager and let the runtime handle closing it for me. In cases where stack-like sementic do not fit, you need to use heap-like semantics and manually open/close it.
>> Even ignoring the party culture, students will come to class sick out of fear. I've felt bad doing this in the past but the unwritten expectation for classes with attendance is "show up unless you literally can't walk". If you actually reach out to the prof, they'll tell you to stay home but most students will just assume the worst and try to show up.

You touch on two good points. I've been both the student and the prof. When a kid comes to class sweating, barely awake and obviously unwell, too many profs assume that they are simply hung over from the night before. I think that is root of show-up-if-you-can-walk. But my reality as a student was totally different (UBC late 90s->early 00s). Most kids didn't party. Most didn't drink more than once a month. There was a core of frat kids who lived like animal house, but the vast majority of us were too busy. We had jobs. We had to study. We had to commute in to school each day. We spent the weekends skiing or rock climbing, not passing out on the floor.

I had a fulltime job. The one time I fell asleep in class my prof asked me what was wrong. I said I was "up late last night". He assumed I meant that was out partying. The reality was that something broke at work. I had to work into the small hours. My prof had not even considered that I had a real job (not a part-time waiter) totally outside of school. We need to get past such dated assumptions about "students".
You are correct that the problem lies at point 6. However a problem only exists if programmer B decides that it is acceptable to keep adding conditional logic to the method. Wrong. This is just a case of programmer B not knowing how to refactor properly. There really is nothing else to it. Yes remove duplication. Then if later on, that duplication then requires conditional logic then refactor to replace the conditional logic with polymorphism. Both these steps are clearly defined on Martin Fowler’s Refactoring book and just need to be applied when the time comes.

I think the article has the premise that once you remove duplication you have committed to using that abstraction and need to shoehorn all future changes into that function. That’s a ridiculous notion. You can simply refactor it again if the abstraction no longer makes sense.
Thanks for the info. This was very helpful, not totally unexpected though.
This is an inherently bad-faith practice that should be punishable for open-source and commercial vendors alike.
Why Facebook is handicapped by the way it makes money?
You could use automatic homework as a reward. Basically replacing broken curriculum with your own until they catch up. (Or even beyond that: homework takes time even when you know everything.)
> I don't understand why you keep returning to people disagreeing with me as though it's a counterpoint. I know people disagree!

Because you're trying to enforce your standard of conduct. That's cool that only technically illegal actions are the standard for you, but it's totally valid for that not to be other's standards.

> Society is double not going to work under a standard where we don't consider bad people members of society anymore.

That's an argument against freedom of association. Why do people get to be free from consequences of not to the point of being illegal actions?

Like that's the nonviolent method of enacting change. If you don't allow it you end up with far worse.
Sadly the tuition at emory is 4x the price of Georgia Tech in state tuition.
A few steps away from a randomly sparse pixel display you can just string up and display things bounded by density.
I’m suggesting your tool could generate Terraform code and run the Terraform command “under the hood” so you don’t have to reimplement everything Terraform already does.

Users wouldn’t need to know about Terraform (unless they wanted to. It might be nice to have a way to export the Terraform code)
Then U stay home!
I totally agree that missing foundation is a huge, compounding issue, and that it can be solved with “surgical education”. I used to do this as a tutor. You dig deeper down the stack of fundamentals until you find something that’s missing, and then you build the stack back up.

That being said, surgery is hard and can be traumatizing if taken on haphazardly. One of the harder problems, in my experience, is if an adolescent has been behind for years, it takes a long time to get to “normal”, and that can be really depressing for both the tutor and the pupil.

Another huge compounding problem is literacy skills. There are people in high school who can barely read, and it dramatically impacts their ability to catch up in every other subject. You can write a perfect explanation, but it might be totally disorienting to these students.

Education is really hard. I wish you the best of luck, it’s inspirational to read your ideas here!
I now write PRs descriptions and commit messages for my future self. I know that nobody in my Team reads them, it has happened to me that a question is asked and the answer was already in the description backed by a commit
I don’t think it’s necessarily robust against the increased visibility and coordination that social media brings.
Sure but even if they wanted this to happen to her, it would still look good for them if they brought in the culprit.
No I always invest a little bit more and buy something as soon as it gets on the market and try to use it as long as possible. So I for example I am currently still using an Oneplus-5 that i now have for 3+ years and its specs are still higher then most Iphones or other phones around the same price now. I hope to use it for an other 3 years.

When I need something for a hobby project I most of the time get it for free from family or take the part from a broken item. The only exception is for games. In the past I bought nearly all gameboy games and ds games second hand from a local shop.
Is encryption a popular requirement? I made (and thus prefer) https://www.pastery.net/, but nobody has asked me to add encryption, I assume that privacy (not having a list of pastes anywhere and deleting them from disk when they expire) is enough, at least for me.
Writing a computer program is often the best way to convince yourself that you really understand a problem. And an already-written computer program is often a good way to document the behavior of a complex system because you can play with it to see what happens in all the edge cases.

So I'm writing curricula that use computer programs as the primary teaching tool. One is for computer science, where the idea is that anyone who can read some python can pick up all the important ideas from a formal CS education without sitting through a year or more of preliminaries. Over time I'm planning to add smaller sections on more advanced topics.

The other curriculum is theoretical physics. There's already a good book that does classical mechanics [1] in scheme. I've hired some postdocs to learn scheme and code lessons in general relativity, statistical mechanics and so on. I do the lessons, solve the problems, and then we talk about what worked and what didn't. I work on this about ten hours a week. After a couple of years I should have knowledge roughly equivalent to an ABD physics grad student, plus teaching material that can take anyone else to the same level from modest beginnings.

I'm looking for collaborators on this project so don't be a stranger. Twitter/email is in my profile

[1] https://groups.csail.mit.edu/mac/users/gjs/6946/sicm-html/bo...
Tangentially-related sorry. I have a problem with a midi keyboard connected via USB to a Raspberry pi running the latest Ubuntu Mate. When trying to use the keyboard with the timidity synthesizer, there is a lot of latency, like maybe half a second from key press to sound played out the speakers. Makes learning piano impossible.

I tried editing lots of files, installing jack, uninstalling jack, googling, and bashing my head against the table for hours. Nothing helped. Is this impossible or is there a buffer setting I could tweak somewhere?
Check out gruntwork.io
Libraries that accept filepaths (except perhaps as a convenience) are bad. The CSV library is well-designed. It isn’t responsible for closing files because it doesn’t take files, it takes TextIO. None of this is to say context managers are bad; I think they’re great but they only work as intended.
The lottery he’s referring to is the state lottery, as in gambling.

All proceeds from the state lottery must, by law, go fund pre-K education and college tuition.

This was a necessary condition to legalize the lottery because conservative rural GA Christians believe lotteries are sinful.

In GA pre-K and state colleges are free to state residents.

What a backwards bunch of hicks! /sarcasm
Media have also been doing similar for a long time in search of sensationalist stories that drum up outrage.

For example, the story a few days ago about the white couple in Lake Orion who pointed guns at a black family. The couple were vilified in the press and implications of racism were made.

The couple has been charged and in my opinion (and presumably of the law) they were too quick to pull their (legally carried) guns out, and they will have to answer for this and the man was fired from his job. However watching the full video tells a very different story then
the headlines implied.

https://www.youtube.com/watch?v=iZhdMcrBuDU&amp;feature=emb_...
You should take that as a compliment. Being told that you are incompetent by "management" who doesn't understand the domain shows that they are afraid of you abilities.
As a counterexample: we did actually run out of file descriptors on Lambda by not closing file descriptors.
I would love to understand where you are from and what education systems you have seen. Where does your assumption of students relying on being taught by parents ceme from?
This accounts only for death. The virus is leaving some unfortunate people with long-term pulmonary, cardiac, kidney, and/or liver damage. Some are even developing diabetes symptoms after the infection subsides.

We seriously need to consider long-term damage to health as part of the equation.

I would like to see the statistics on these reports, not just mortality rate.
There are plenty of real world situations where startup and warm up times don't matter.
> You would think someone who is capable of rape would want less police

Well, that's certainly not the case for the people who have use the badge as a tool to rape, especially particularly vulnerable populations, with impunity.
If you've not read Into the Woods by John Yorke, I'd suggest it highly for this type of enterprise.

https://www.amazon.com/Into-Woods-Five-Act-Journey-Story/dp/...

It's more for screenwriters, but his theses on plot, pacing, characters, and world are good and easy to read. It's a very good book.

The ideas for the pivot are great. Read the book, it's seriously good.
I'm not sure where I'm failing to communicate here. I'm not trying to enforce anything! As I mentioned earlier, I agree people have every right to shun others for any reason. I just hope to convince people that they shouldn't.