skysight-inc/HackerNews huggingface dataset:
> struct MyAlgorithm

This is a particularly bad name for your situation. An algorithm is not an object. Why not "my_state"?
Single-function classes make sense if you want the computation to happen lazily on-demand (it may be resource-intensive in CPU, GPU, storage, I/O, etc). The class acts as the place to hold the parameters needed for it and the result if/when it is computed. There's nothing wrong with that.

Down the line you may often need the capability to discard the computation to save storage (and maybe re-do it at a later time), at which point it is not even a single-function class anymore.
"Unlike every other Penis which only go up to 10, our Penis goes up to 11."
There’s less political violence now than at any time in our nations history. That doesn’t seem to be changing.
If nothing else this is going to provoke a crucial test for social media "platforms" and has the potential to alter them permanently going forward, whether they win or lose.

As someone who's quite anti social-media, and the effect it appears to have had on our societies, I'm interested in how this plays out either way. It feels like a test that has been a long time coming.

Regardless, it seems the next rational step is for Trump to quit Twitter and encourage his base to do the same, or for Twitter to ban Trump and provoke his base to leave. Trump staying active on Twitter after this, or Twitter allowing him to, would be something beyond bizarre.
but "I check my spam folder every day" :)
Of course it’s a risk, but as an indie hacker making my first business, being able to build on another platform that’s blowing up has serious benefits in terms of getting traction.

I doubt they care at $2500 MRR lol
There were attempts, but never any followthrough. Even MS doesn't distribute all of its software as MSI.
I would assume the flow to be the same for debugging post bundled Production output from most tooling, use source maps and hope that the bundler produced accurate ones :)
> Classic topic switching technique that nonetheless does not work on those paying attention.

> Same with "Steele dossier"

I have trouble taking seriously this amount of irony.
What a mess. We should just return to catholic monarchy or at very least restrict voting to a trusted nobility. Democracy is really just a euphemism for rule by the media, and the media just serves private corporate interests. it’s unrealistic to trust the average layperson to make decisions on matters of state. I wouldn’t trust my cook to cut my hair.
> I am struggling to remember actual Silverlight applications

I remember it being used for Roland Garros streaming and that's pretty much it, I don't think I ever encountered another website using it.
Static Code Analysis – Complete Developer Podcast
Something to think about: the electoral college is halfway more representative of people who can't vote (minors, non-citizens) because, in a sense, the elector represents them, and their neighbors who did vote probably have similar political views.
I, for one, haven't heard conservatives use the relativist argument to oppose censorship but rather the bias with which the rules are defined and applied by Twitter et al, or similar arguments.
If you sabotage a competitor so that their market share is irrelevant then you don’t have to pay them as large an amount of cash to make sure their users keep coming your way.
I don't understand your target audience:

> In our age when cloud services can shut down, get bought, or change privacy policy any day, the last thing you want is proprietary formats and data lock-in.

Concerned about proprietary lock-in when it comes to file format, but not when it comes to software.

Seems like you could make some technical gains without losing audience by getting consistent. You could ditch the "open standards based file storage that you manage yourself" idea and gain flexibility to do your own thing there. I bet people would expect you to handle sync in that case, but that's not so bad.

Alternatively you could go open source for functional parts of the app and build a development community to support you and your users.
1. Keep hard schedules. Work stops at 6pm no matter what (outside of emergencies). This sounds easy but it's tough to stick to.

2. Get some sunlight everyday. Even if its for 5 minutes.

3. Physically separate the work area from everything else. This might not be possible for everyone, but I have my office at the far end of the house. I use it only for work, nothing else. I even have a separate room with another computer for all personal work/games. Walking from the living area to the office creates a sort of "commute" which mentally switches you on/off for work.
The Last Will and Testament of Cecil George Harris (2009)
In a language that supports Monads (e.g. Haskell or Scala), the above could be implemented as a library.
Is the dev build streaming from cloud watch? That is a cool feature.
My base level here is "Speakers Corner". This is a part of London's Hyde Park where free speech is (culturally if it legally) extra protected - the idea is anyone can stand and speak there, say anything, and culturally that is acceptable - one should not be moved on or prevented.

I think that right of speaking freely in a public space is deeply important (no surprises there).

But if someone spews vile speech while standing on my front lawn, frankly I want them to stop.

So what is public space on the internet? What is the minimum level - the sidewalk vs the front lawn?

It's not twitter. Hardly anyone has access to it? It's specialised and not open in its protocols.

I suspect it's not even facebook - is it just plain HTML on a plain server, perhaps plainly hosted in your own home?

This is going to be an interesting debate.
Peter Thiel, is that you?
Clothes' colors look quite different from the original under (what I think is) an LED light at night. That's clothes on a clothesline in a corridor outside my house.
IIRC Silverlight won a few deals for streaming media because it had the only semi-functional DRM solution available at the time.
She didn't say that you don't need to register to vote though. Also, finding a politician who says one thing today and another thing 12 years before is hardly an art. There is a whole subreddit about Trump: https://www.reddit.com/r/TrumpCriticizesTrump/
Or they could stop editorializing their content.
I'm looking into this but maybe can't be efficient.

https://www.mitsubishielectric.com/en/about/rd/research/high...
Dual licensing helps. AGPL or Paid licence.
Counter-point: while in many situations this isn't the right approach, it's worth recognizing when this is the right approach, because they can look awfully similar. An example of this is graph searching, e.g. BFS or Dijkstra's algorithm. The typical implementation is a function. But if you make Dijkstra a class, with (say) a function to iterate through nodes, it lets you do several things that would be difficult with a function: (a) you can now re-use the same object for computing distances to multiple vertices, which allows incremental search, (b) you can now fork/copy the object and continue searching on different extensions of the original graph, (c) you can now save & restore the searcher state to pause the search & continue it later, (d) you can do multiple searches across one or more graphs in lockstep. IMHO these are very much not obvious, and to someone who doesn't recognize what's going on, a class for something like BFS will look exactly like an "OO antipattern", when in reality it's actually providing significant additional functionality for more complicated situations.
Yup. As in everything, the INTENT is very important when judging someone's code.

Unfortunately, this makes it very easy to set up strawmen, then add a click-baity title for the perfect gift for "your side".
> The United States President has neither the authority nor power to start censoring Twitter on his own. Right now, Jack Dorsey has far more power over allowed public speech in America than Donald Trump.

Exactly! This is American Civics 101. When you become President, you lose things because you have power. You and I have more legal authority to restrict speech than the President.
That is misleading, because if I have n project files and I change n files then it runs n rebuilds not one rebuild.
I'd rather have good battery than random HN flame bait. 99% of users will too.
Look, I grew up as a prototypical SF Bay Area liberal. But I'm not a kid anymore and I can recognize the value of many elements of true conservatism.

I've had little love for every Republican administration, but this is the first time I'm actually afraid of them. What is happening now is not conservatism, it's fascism with a dash of Christian Dominionism.

> Bigger picture, conservativism is about narrowing and liberalism about broadening and equalizing access to the levers of power; conservatives for narrowing the franchise both because of immediate tactical advantage and because of fundamental ideological reasons.

Are you in marketing? Because you sound like it, and I'm not buying what your selling.

Let's try Wikipedia for grins:

"Traditionalist conservatism, also referred to as classical conservatism, traditional conservatism or traditionalism, is a political and social philosophy emphasizing the need for the principles of a transcendent moral order, manifested through certain natural laws to which society ought to conform in a prudent manner."

Now that's a bit better. Using that definition tell me how that applies to Trump's GOP.

Disclaimer: I have no love for the DNC either, but at least with them it's a more genteel corruption and their ostensible goals are not entirely unpalatable.

p.s. @dang, I'm in dangerous territory here being political on HN, but it was meant to be germane to the OP.
"Viewpoints" is a very broad word.

I do not want tech companies to remove political opinions I disagree with (e.g. "We should go to war against Iraq," "Brexit is our only hope," "If you reduce taxes, society will be better off," etc.).

I want tech companies to remove lies that do harm (e.g., "Someone should really investigate whether so-and-so killed so-and-so," "You should drink fish tank cleaner," "If you vote by mail, your vote won't be valid and you risk committing a felony"). Our society/culture has ample precedent that lies that do harm are not worth protecting and are worth penalizing.

I do not want tech companies to give special protection to lies that do harm simply because the liar has a particular political affiliation or a particular political office. I want everyone to be treated equally regardless of their political affiliation and office.

(If there happens to be a nonzero correlation between political affiliation and the telling of lies that do harm, well, that seems like a problem worth sorting out for the good of society, but tech companies should not put their fingers on the scale. They should remove lies that do harm without regard to political affiliation of the liars.)
Scheme irregex addresses a lot of these problems. It has become my go-to tool for regular expressions in scheme.

https://srfi.schemers.org/srfi-115/srfi-115.html
Really seems far less harmful than EARNIT, not that it replaces it - in fact it could be a gambit to get the big web companies to play along with passing EARNIT
I honestly really like how HomeBrew doesn't require "sudo" for anything. Random stuff I download from internet should not require system permissions to do anything they want. That part of HB design is what sells it for me.
I’ll get downvoting for attempting to answer but,... why would someone think this helps the left and hurts the right?

Ballot harvesting is generally agreed (by both political parties) to have been a major factor in the last congressional elections in CA for example.

Personally I think it is a very strange dynamic to have 200-300 political operatives canvassing specific addresses in a district to deliver provisional ballots, assist a very targeted set of people in helping to fill out those ballets, and then driving those filled out ballots to the polling station on Election Day.

> Ada Briceño, chair of the Democratic Party of Orange County, said her staff and volunteers have collected mail-in ballots for GOP candidates and turned them in along with Democratic and independent ballots.

> Briceño said her favorite story about ballot collection came in 2018, after she knocked on the door of a Latino man in his 70s. Her told her he’d never voted because he’d been intimidated by the ballot and process. Briceño said she spent time walking him through how it worked and discussing the candidates with him. By the end of their talk, she said the man was crying because he’d just finished voting for the first time in his life. [1]

We don’t allow campaigning within a certain distance of a polling place. But the chair of the Democratic Party can knock on a man’s door with a provisional ballot, discuss the candidates, and help him vote?

Republican campaigns take the position that their voters would never hand over a completed ballot or accept “help” in filling one out.

> Fred Whitaker, chair of the Republican Party of Orange County, said they spent money on a ballot harvesting program in 2018 but saw almost no results. He said, “Republicans will basically tell you, ‘You’re not prying my ballot from my hand.’”

The SF Chronicle wrote a piece on the last CA election where Democrats gained more seats then they’ve ever won before in CA;

> California Democrats took advantage of seemingly minor changes in a 2016 law to score their stunningly successful midterm election results, providing a target for GOP unhappiness that is tinged with a bit of admiration. [2]

> ...They felt the hit on Nov. 6 — and in the days after, as late-arriving Democratic votes were tabulated and one Republican candidate after another saw leads shrink and then evaporate. This week, a seventh GOP-held congressional seat flipped to the Democrats, leaving Republicans controlling a mere seven of California’s 53 House districts.

In Orange County alone, where every House seat went Democratic, “the number of Election Day vote-by-mail dropoffs was unprecedented — over 250,000,” Fred Whitaker, chairman of the county Republican Party, said in a note to supporters. “This is a direct result of ballot harvesting allowed under California law for the first time. That directly caused the switch from being ahead on election night to losing two weeks later.”

[1] https://www.ocregister.com/what-is-ballot-harvesting-and-how...

[2] https://www.sfchronicle.com/politics/article/California-s-la...
There is an implication of they are going to crack down on sites banning americans to help the astro-turfers, but nobody does that, so sounds like bs. And i dont know, maybe the section on not allowing gov to advertise on such platforms is aimed at that (if you give very strong benefit of doubt).

But yeah, i think you are right.
Fuck em
> Why not "my_state"?

because it's a HN post and not real code ? And it contains the code of the algorithm, in the operator()... function. So my_state would only tell half the story.

When I use it, what do you think makes more sense :

GameExecutionAlgorithm<TensorflowGameStrategy> game_algo;
next_positions = game_algo(...);

or

GameExecutionState<TensorflowGameStrategy> game_state;
next_positions = game_state(...);

> An algorithm is not an object.

That is however completely conflating two different things. By that line of reasoning you couldn't write algorithms in e.g. Java or Smalltalk because there everything is an object and "an algorithm is not an object" => "there are no algorithms in Java / Smalltalk".

Objects are just a syntax construct without attached meaning (or, if you did attach one at some point by reading some 1980 OOP book, please detach from it as that only causes confusion).
The problem arises when people talk about a single "death rate" without the proper caveats. It is well understood that the infection fatality rate varies with age, from 0.001% for those under 20 to ~10% for those over 80.[1] When you apply this to the entire US population, you get ~0.7%.

[1] https://science.sciencemag.org/content/sci/suppl/2020/05/12/...
What about Gmail.
Headline is a bit taking things out of context. He is basically saying they can either allow all free speech or cease to exist, I would tend to agree.
I would love to see some kind of a proxy to parse modern websites so they can be viewed via 56K modem on a 386/486 era computers. Any ideas? Some Squid Cache wizardry maybe?
That’s precisely the kind of response I’m referring to, and it’s why I try to remain as neutral as possible.

Though if I may be blunt, faulting individuals for living under a political system that does not engender cohesive leadership isn’t really fair (which is another reason I prefer not to wade into the American political debate).
Superintelligence: The idea that eats smart people (2016)
And Android is open source. I'm sure you can Google the URL. The same can't be said about Apple. Do you see the iOS source anywhere ?
> telling the FTC, FCC, etc to interpret 230 as intended, where a social media site

1) CDA section 230 was written before the phrase "social media" was invented, when the Internet barely existed, and many people were still on AOL, Compuserve, and Prodigy.

2) Section 230 was, in fact, intended for exactly the opposite purpose. It was written because previous court rulings indicated that moderating could make you more liable, and legislators realized that was precisely the opposite of what they wanted to encourage ("nobody would have any incentive to keep the internet civil"), so they wrote section 230 to make sure that sites weren't liable if they moderate but don't catch everything.

Read https://en.wikipedia.org/wiki/Section_230_of_the_Communicati... for details.
What’s weird is trying to peddle your gut as evidence of a real problem.

It’s clear you’ve done little to learn about the process. It’s not as if a piece of paper written on with crayon and sent back in the ballot envelope gets counted.

It’s weird you’ll probably be all “oh yes this math about computer stuff is just right” but seem to ignore how the math of investigating fraud has usually revealed it in broad daylight. Not in any of the dozens of elections 100% of vote by mail states have used it for for years now. But by plainly corrupt politicians and their sycophants, not the voters of the general public.

Yet your knee jerk reaction is to deflect on your neighbors as if they’re the problem we just don’t see it!

That’s what’s weird.
I support figuring out how to make Hacker News work without active moderation. It's simplistic to assume it can't be done.
How to Win Supporters and Donors Online and Survive the Crisis
Are we a democracy or is this some kind of team sport calvinball?

The purpose of government is to serve the citizenry. If increased voting among the citizenry hurts your party there is something wrong with your party’s message or governing performance.
Or the place they were having the drink in, like the Beer Hall Putsch

https://en.m.wikipedia.org/wiki/Beer_Hall_Putsch
It's exactly the opposite. People are going to cringe at their hamfisted and obviously partisan interventions and their transparently hypocritical justifications for them. I don't agree with the opposing side politically but this is a losing move. The fact that their "head of site integrity" is an extreme partisan is icing on the cake. I'm surprised to say this, as someone who despises Facebook, but Zuckerberg seems to be playing this smarter, trying desperately to appease both sides. It reminds me of a guy standing with a foot on each of two diverging trains, but at least he isn't shooting himself in the foot.
Twingate integrates with the existing Identity Provider used by that company to authenticate users. So you'll be redirected to that IdP upon your first start of the client.

[p.s. I'm one of the engineers working on Twingate.]
I think because what is the right and the left constantly rebalance around 50% popularity. So, because currently it’s harder for certain people to vote, typically liberal people, if they were able to more easily vote, they would tile things to the democrats. But then the republicans would readjust to the new realities (or never get elected again!), and soon things would be right back to around 50/50... but a 50/50 that more accurately reflects the now higher % of people who vote.
Maps don't always tell the truth: Pin-codes are bad
>> “I haven't updated the original article since I'm not sure what the etiquette for updating a highly shared article is.”

Adding “UPDATE:(date)text” either in the footer - with a brief dip in the header saying there’s an updated in the footer is an easy way to accomplish this.
This sarcasm seems misplaced. How much effort does it take to share the details of a bug with friends? Not to mention that some bounties are much greater than $50.
How nice of my neighbors to vote for others.
Increased voter turnout removes the “probably” though by directly sampling. And then you don’t need anachronisms like the electoral college.
You asked how and he answered. Whether it's an issue or not is a separate matter that none of us are going to agree on.
the Bad PR involved here largely offset what a good bonus to kayone whould have been. If it move the needle, say between Azure and Gcloud, on 10% of the thousand of read of this post, MS could end up losing millions of dollars a year.
If WinGet contains AppGet code and they didn't credit him then yes, absolutely, moral rights in copyright (attribution, right of association, integrity) cannot be transferred during the lifetime of the owner and yes MSFT can be sued for breaching them. It is extremely likely the penalties meted out by a judge wouldn't cover the costs of a lawyer. Not that anything like this would ever see a courtroom, MS will offer a settlement which in this case will be on the magnitude they gave to Mike Rowe for MikeRoweSoft.com (which was an xbox and some travel vouchers and such).

If they stole his unpatented ideas then there's nothing.
I don't think you have understood my point.

When a company has a total monopoly over a sector, you are obliged to use the service they provide or you will simply go without that service entirely.

Twitter is not a clear example of this, because it doesn't really have a solid monopoly. But Google and Facebook certainly are - there really isn't a competitor to YouTube or Google Search, and there isn't a competing social network to Facebook.
> If one accepts these premises as sound

I'd argue that accepting that as sound still means what he said:

"then there's something fundamentally flawed with what your party is offering"

A party in a democracy must have as a core value that it wants the majority to govern, that that majority is as representive as possible of the population, and that this majority should govern even if the political outcome is the opposite of what your party wants.