jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> I can have a highly functional site in 10 minutes with Drupal, but node.js (express), Django, Rails, etc. all seem to take forever just to get something of minimal functional equivalence.

There's nothing about Express that enforces MVC and depending on your definition of 'highly functional' you can go from nothing to production in like 100 LOC with Express and npm.

Are you familiar at all with npm? There's a package or ten for everything.
I wonder if you could build in another method as well, that isn't dependent on a second person agreeing on the purchase. Maybe something that would put in a time delay on any purchase screen. A 24-hour delay on clicking submit for a purchase might cut down impulsive buying.
I think Rust attempted to do a much more conservative version of this (same language, different sigils on pointers depending on whether pointers were refcounted or ownership-transferred) and determined that it didn't work in practice. Libraries have to use one scheme or the other, nobody made APIs that exposed both schemes, and calling between them was too much of a hurdle. So in practice people ended up settling on a single pointer type, which was -- somewhat surprisingly for the language designers -- the non-refcounted one. And the language got rid of syntax for the refcounted one, and everything became more usable.

I could believe that with more money and resources everything would have been rosy, but my understanding of the facts doesn't particularly support this.
Emotions are there for a purpose. Specifically, they're big levers in the brain for getting certain kinds of actions in certain kinds of situations. Anger, sadness, excitement, and everything. If you take a look at what causes them, and what people do when they have those feelings, you can get an interesting glimpse at our ancestral environment.
Ambiguous doesn’t mean meaningless.

Harris says verbatim that the protests are not going to let up, and should not. Even though they are violent, and people have died. You chose to interpret that as her saying that they would not stop (a warning) but not an endorsement. I see it clearly as a warning and an endorsement. Would not and should not.

But I recognize that Trump talks and suddenly maybe I’m in your shoes and you’re in mine.

Maybe I think the transcript irrefutably supports my position, but it’s Ok if you disagree. I don’t think either of us are fascists because of it.

The result isn’t words have no meaning, it’s whether you will respect people enough to let them answer you and clarify and believe them when they do.

So Trump says “there were fine people” and people say, wait did he just complement literal nazis, and you check the transcript and you realize, oh, “and I’m not talking about the nazis, they should be condemned totally”.

But the media doesn’t allow Trump to say “and I’m not talking about the nazis”. They cover their ears at that point and say, “la la la, Trump just said nazis are fine people!”

And that’s what’s wrong with this picture. They did it in Charlottesville, they did it to cover for horrible rioting by BLM/Antifa, and they are doing it today.
> While I agree with your emotions, the use of the word "insane" might be counterproductive.

I suggest “highly suggestible.”
And so we usher in the field of viral therapy once again. It seems that from my non medical/biological point of view we’ve spent our recent history trying to eradicate bacteria and viruses from our life only to find out they can be used for good. Modulating the harmful effects of bacteria and viruses to amplify things like this seems to be a away forward in medicine...
4chan isn't social media, it's a vortex of shitposting. It's entirely anonymous messages, with no recognizable faces, even pseudonymous ones. The replacement of social media like Twitter has to be done with something that provides most of the same features, like Parler. A 4chan-looking skin over the whole thing would be possible, but wouldn't accomplish much.
Which law? I looked around but couldn't find the one that said "the press must print anything pushed at them by their readers". I tried to look for the one that said "broadcast media shall carry any and all spoken word essays from their viewers". So which law's spirit has been urinated over here?
> hardening the capitol is not the way

But they did exacrtly that during the BLM protests, where people had no weapons. They've even physically ejected disabled people from protesting at the Capitol.

So it seems they have no qualms about doing it to certain groups of people.
I assume he is talking about the 3/5 compromise.

I wonder if you could tell us, GP, which states wanted that number to be one and which wanted it to be zero?
> They don’t. Anyone can post anything on their own website.

Anyone but Trump or the banned-wagon. If Trump hosts a website on GoDaddy or any other hosting service, it will be removed immediately.

> In Trump’s case he can call a press conference.

Depends where it can be streamed. Given he's just been de-platformed from most streaming services for the general folk. CSPAN perhaps?

Sure the media will do it but they can't help but edit it after it has been streamed.
Heh, really curios, any examples of "bad" use of that builtin?
> Imagine if the power company said "Pay $10 extra a month, and we'll make sure that in an adverse event, your bill for your normally consumed 1000 kWh would be $1000".

Alternatively, imagine if critical services like this were managed directly by the state, so that the cost of these adverse things was absorbed into the tax base rather than privatized by insurance companies (which eventually go bust and end up bailed out by the state anyway).
Good point. I didn't consider households.
> Cassandra has basically one usecase: high volume writes, with a few batch reads.

Yes. It's also a good choice for horizontal scaling, but only if the other DBs won't do.
I don't care about the gender (or colour, height, weight etc.) of the fund manager. This seems like common sense and it's a shame this has to be news.
> Not sure where this notion that government will deliver services in a more efficient ways come from.

All the countries where governments deliver healthcare and it is significantly more efficient than the US system?
Retailers charging wholesale rates did say "please switch now", as early as the weekend before the cold snap hit on Sunday evening. The issue was that few retailers were willing to take on those customers, because most didn't have the spare pre-purchased electricity supply to supply these new customers without buying more electricity futures - and futures were already spiking by this point.
But Redis....

Seriously, I've seen a monolith broken up into a microservice using Redis as shared memory. Didn't know it was an anti-pattern.
I think that given that a lot of people have put out the word to find him over the years and he hasn't cropped up yet, he definitely wants his privacy. Because of that, I specifically didn't put a call out to him... but by the sounds of things, he's happy living life. Good on him!
The emphasis on equality and health here is admirable.
A few years ago I heard Henry Winkler (who played "the Fonz," for those who don't know) give an interview on some radio show (probably NPR). They asked him about the phrase, and he said what was interesting to him about it was that after the "jump the shark" episode the show began attaining its highest ratings ever.
congrats guys - the new site looks awesome.
Great idea. Punish the poor people who are forced into using IE6. A significant portion of the users would assume that there is something wrong with their vision rather than the browser.

I suggest an alert saying "Your browser is old. Please upgrade or contact your IT department."
For me, the Gruber-bot jumped the shark a long time ago.

I really don't get the appeal of his writing — other than an occasional Apple apologetic, it appears to be nothing more than a tumblelog of Apple bits, but yet he's paid a premium for it, due to high profile linkage…
Pretty boring by African standards - born in Johannesburg, South Africa. Lived in various parts of the country, visited Zimbabwe, Tanzania (climbing Kilimanjaro), Mozambique (scuba diving), Lesotho (cycling trip). Taste of the kili trip:
http://picasaweb.google.com/richard.watson/Kilimanjaro

South Africa has really transformed, but still a long way to go. I think the really interesting places are those that are emerging now. I've heard Ghana is fantastic - great people, very friendly.
I have no idea what you're talking about. Are you a bot?
The original data is mostly government statistics and the original sources are all cited. Are you asserting that heritage lied about the contents of the reports they cite?

Or are you simply saying "people I don't like wrote the report, therefore it must be invalid"?
Definitely agree on the SEO friendly URLs, but I'm sure they'll implement that soon! :)
What if a woodworker is an employee of a big org? (IKEA?) None of your points regard interacting with people downwards and upwards.
I’d like to add to this my disappointment in using a G2 dock. Have had two different HP G2 docks (using DP and USB C) for dual external displays and they both broken over two years of sitting on my desk. I don’t know what’s happening to them but eventually both external displays start flashing and getting artifacts and USB and Ethernet devices start randomly disconnecting.

Just my experience. Hope other haven’t had those issues.
Adding Status.im for completeness

https://status.im/
Apple M1 chip adopts Warehouse/Workshop Model

- Warehouse: unified memory

- Workshop: CPU, GPU and other cores

- Product( material): information,data

there’s also a new unified memory architecture that lets the CPU, GPU, and other cores exchange information between one another, and with unified memory, the CPU and GPU can access memory simultaneously rather than copying data between one area and another. Accessing the same pool of memory without the need for copying speeds up information exchange for faster overall performance.

reference:

1. Developer Delves Into Reasons Why Apple’s M1 Chip is So Fast. https://www.macrumors.com/2020/11/30/m1-chip-speed-explanati...

2. The Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with Warehouse/Workshop Model https://github.com/linpengcheng/PurefunctionPipelineDataflow
Perhaps there should be an option for (willingly or not) still using WhatsApp?
+1, it’s crazy to imagine letting someone control the platform and influence the nature of conversations one can have.

Likewise, never used WhatsApp, and communicate with close friends and family via Signal. Once Matrix matures and robustly supports voice/video and group calls, I’ll look towards using that more actively and nudging folks towards that. For the moment, Jitsi is a good solution when needed.

(I happen to be on Discord too, but that’s mainly due to topical communities rather than social messaging. I would love for those to eventually move to Matrix too.)
You guys do have emails though, why isn’t that used instead?
Hmm...why should the onus be on the engineer?

An organisation that does this is broken.

Most are.

While it is important to realise that this brokenness is in fact widespread, I don't think it should be normalised.
Protesters are protesting _against_ something. They want Trump to be president for ever, they are not protesting against democracy, or against elections. At best they are protesting against something that did not happen.
This is just a mob, wound up by Trump. "incitement to riot" in the UK and usually results in a severe prison sentence.
A lot of programmers have an unrealistic idea of how much better their life would be if they used some sexy programming language. I'm not sure you want to hire them.

Whenever I've been motivated to "change the world" by coding, particularly Open Source, I've picked some language like PHP, Java, Javascript or Python which was mainstream, mature and commercially in demand. If you're trying to work in a language like Haskell you are probably going to waste a good chunk of your time "reinventing the wheel" writing libraries that you can just get out of a repository for a mainstream language. If you're doing something that's really hard it's not a good time to be learning a new language and learning the hard way "why more people don't use language X?"

On the other hand I try pretty hard to never say "Cold Fusion" or "Microsoft Sharepoint" in a public forum because that attracts truly desperate recruiters.
My understanding of physics is very poor, I was under the impression that only mass produced gravity.
Solidarity first: find a whole load of people to go with, otherwise your "take the risk to be attacked by security forces" is just "suicide by cop".

You cannot do this as a large number of independant individuals. You need an organisation, or several; and yes, that means politics and compromise and all the other things about working with people.
Good ideas, I'll see if I can generate some time to post more about what we did.
>I gave up on SSH on "glass" devices so this is fine for me. Too easy to FUBAR something from miskeying.

As I've said in a previous HN thread on WP8 (edit: [1]), now that Android devices with QWERTY keyboards are being phased out it could be a real opportunity for Windows Phone if Microsoft encouraged vendors to ship devices with physical keyboards. How viable a market this is, I wonder? I imagine past Nokia Eseries users (like myself) would appreciate it, as should at least some of the enterprise Blackberry users Microsoft seems after.

[1] https://news.ycombinator.com/item?id=6200051
I don't like the comparison, because IE6 wasn't really ahead of its competition, yet WebKit simply gives you possibility to play with new APIs and not-yet-finished "standards", without waiting for them to become official standards (and already existing implementation helps to improve/fix them before getting final version).

I haven't checked that this is the case (i.e. whether making it work in Fx would be huge burden or even impossible), possibly not. Anyway, just saying.
For a moment there my heart stopped in the hope this new project will bring the one thing I've been missing the most: decent binary package management.

Alas, no.
An odd oversight. Thanks for pointing it out. I'll see what's up with that.
> So lets say each person can be productive for X hours per week.

I don't think productivity is the right way to frame things. This makes it sound like a human is nothing more than a tool. The reason people should work fewer hours is so that they can enjoy life outside of work, remain healthy, spend time with family and friends, etc. Not to maximize productivity for the stockholders.

Even if some person is capable of being productive working 80 hours a week, it's not clear that this is good for the person, either in the short run or the long run. Workaholism can be a bad habit.
The official inflation numbers do not appear to reflect people's significant worries that rent prices or health care cost (etc.) keep going up.
Just to clear one thing up: the fake warning message doesn't say the security is "compromised", but rather "limited" or "constrained": http://pda.leo.org/ende/index_de.html#/search=eingeschr%C3%A...

What they pull is still shady, but the text seemed a bit sensationalist at that point.
FORTRAN, right?
Yes, I have a sneaking suspicion that an MPhil (= failed PhD in a lot of fields, so useless) is sometimes being sold as a PhD experience to people that are simply not good enough.
The preferred method for reducing freelance workload is to raise your rate. Keep raising it until just the good clients are left. When workload starts increasing again, raise your rates again.

Keep the job until you're billing at 3-4 times your salary, and routinely outpacing your paycheck with what you bring in on nights and weekends.

And stop calling yourself a freelancer. That'll double your bill rate in one step.
Ooooh the PHP ones are even better than they used to be, I hadn't checked in a while. I have always loved the user comments in docs idea. I've noticed so many bugs, gotchas and idiomatic patterns simply by looking at those comments. I bet it gives the devs a good idea on what to work on next, too. It didn't used to have votes which was bad because it perpetuated bad advice sometimes, but now it seems they have that too!
Depends on which theory or report we accept as truth at the moment, but it also sounds like there could be negligence involved - and that can be prosecuted.

I'm sure there are some AG's and Prosecutors frothing at the mouth right now to get there hands on Mr. Karpeles.

Edit: Even if the judicial system doesn't get MK... his life is probably ruined at this point if he cannot recover the funds - either because of reputation or personal safety. Bitcoin is the Wild West and there seem to quite a few shady and nefarious actors within the community.
It's the html5 standard that is complex and pedantic, it breaks silently when you violate one of hundreds of rules (e.g lists of void elements that can't be closed).

XML is simple. Sure it's pedantic in the sense that it breaks, but html5 breaks too only subtly.

It's like the difference between java and JavaScript. Java isn't more "pedantic" than JS in ANY way, it just breaks in a more understandable way (break loudly, early and understandably is in my view "better").
If Scotland leaves the UK then there isn't a UK anymore - so why would England, Wales and NI still be in the EU? :-)

i.e. If a country splits into two parts surely you have two new countries.
> we are fucked since 70+ million people voted for the ...

Are you only now realizing we're fucked? We have the most Corona virus death rates of any country in the world, our stature in the world has never been lower, China is making deals with EU [1] and Asia, leaving out the US, Russia is hacking us with impunity and offering bounties on our soldiers in Afghanistan, ... I could go on and and on. We were fucked 4 years ago when we elected a president whose solve qualification is that he is a white supremacist. It will take us many years to unfuck ourselves.

[1] https://www.nytimes.com/2020/12/30/business/china-eu-investm...
Both FB and YouTube's top shared posts and video are super right-leaning, though (YouTube has other massively popular videos, but they are about gaming or influencer stuff). What would the equivalent "liberal" viral posts be, and why aren't they nearly as popular as the right's?
as a counterpoint - why should you need to restart your runtime when your program encounters a bug and you could have fixed it dynamically?
Correction. It might be perfectly fine. It all depends on what they are protesting.
This isn't about free of fees vs not. It is about changing privacy policy drastically in an era when people do actually care about privacy.
Build passive revenue streams
I'm wondering if someone can develop a product that addresses the networking effect problem. I.e. a service that allows groups to move their member lists seamlessly between networks and to be able to also see at a glance, which networks (e.g. WhatsApp, Signal, FB Messenger, Slack) the members are on. Perhaps a network of network memberships?
TIL you can make an anonymous gist?
Android (at least used to) has native support for SIP through their phone application. I used it quite a bit 5 years ago or so, but moved over to...well, I can't remember. A 3rd party app that gave better visibility over what was happening with the service. I don't use VOIP too much any more, Signal is fine.
You left out a very important part. If the president contests the exercise of the 25th, it gets thrown over to congress, needing a 2/3 majority to become effective. Unlikely. The die-hards will drag it out, until Trump automatically loses the presidency on January 20 and the whole thing becomes moot. Seems like a bit of a waste of time TBH. Even impeachment seems more likely to yield results within the necessary timeframe.

https://www.law.cornell.edu/constitution/amendmentxxv
That sounds like a really good idea.
I loved SICP. That review definitely made me want to read TAoCP.
I've read through this post a few times and am having some difficulty understanding both the original problem and the solution that Greg is suggesting.

From what I can gather, it seems that Netflix's product development team is frustrated to find that there is no integrated support for DRM'd media streams provided by the OS. From here, he jumps to the conclusion that the best approach is working with individual handset manufacturers to patch in support for this at the OS or kernel level. This is difficult to understand.

It's an operating system. You build things on top of it. One does not go to every PC manufacturer to add a "feature" to one.

Spectres of "fragmentation" aside, let's remember that these phones are real computers running a real Linux-based OS that run real software, written in real programming languages like C, Java, and Scala. They also have support for encrypted transports like SSL and high-quality video codecs like H.264. Heck, Adobe's even done it - secure content streaming on Android is possible, and works fine (speaking strictly of the transport and decoding layer - leave it to the bloggeurs to hash over what happens when you paint content on a screen).

These facts suggest that implementing secure DRM'd video streams and a player for them is not only possible, but much easier than working directly with two of the most backward-facing industries in technology now (film studios and mobile phone providers) to add this functionality.
There are certain specs that anyone implementing a video streaming/content delivery service must comply with. The studios mandate that certain specs be followed, and an engineer has to sign off that they've implemented the DRM spec correctly. For an example, look at DTCP-IP (http://www.dtcp.com/)

The specs mandate usage of certain types of encryption algorithms, key lengths, key expirations, etc. All the data that is sent over the wire is encrypted, so that no one using a packet sniffer can trivially obtain the unencrypted video. Thus, from the point of view of the attacker, the problem becomes extracting the encryption keys from the software and using that to decrypt the sniffed traffic.

Every device/software module ends up having a some root key that must be seriously obfuscated, because that key provides the security for the entire system. It must be embedded in the software or hardware. If its in hardware the problem is easier, because it cannot be disassembled and discovered as readily. In software, the problem is more challenging. Some form of White-Box Cryptography has to be used.

So, a secure flash player or a native app is only the first step in the solution. The whole key management system has to be built or provided by a 3rd party library. Google doesn't have such a library built in to Android. After you have the library, all kinds of nasty tricks have to be used on the library itself. Generally, the goal is to prevent debugging and code modification. The tactics used are very similar to what malware authors use to protect their malware from reverse engineering.
This question strikes me as similar to giving away equity for office supplies. I suppose, theoretically speaking, one could come up with a way to structure a deal with Staples such that you bought your copy paper with equity... but why. Image hosting is a cheap, commodity service like office paper. Go raid your coffee tin, that should suffice for several months.
Just looked at Shopkick for the first time and was pretty impressed. I bet they'll do really well.

http://shopkick.com/
They don't have fact references.
It's been a part of the Finder since System 7...

I'm an old man trapped in a young man's body.
What can you learn from this experience? Every problem looks simple once you figure it out.
The problem is that in an office such as mine, we don't get a constant work space and don't have the option of working from home. Not well thought out from a management point of view.