skysight-inc/HackerNews huggingface dataset:
When I was working on a game engine, I came across a few papers trying to do the same thing. I think it's more than worthy of academic study. It's no different than any other compiler research.

The problem isn't just compiling C++ to glsl. The problem is taking c++ and allowing you to write your shader as part of your program. Right now, you essentially have 2 options: you can write one shader that does everything and use the actual data passed to it to conditionally run what you want, or you build a shader composition system that takes small chunks of code and pieces them together based on what data you want to pass to it. Thats overly simplified, but a kind of high level view. There are a few talks from bungie detailing the work they put into their shader system so that technical artists could have a smooth workflow.

Ultimately, your engine can't handle custom shaders without the engine user also writing code for the cpu side, unless you have a AAA sized engine team that develops a compiler to achieve that.
Remember when Facebook used to be pretty cool? I mean sure, it fell out of favor with younger people including myself, but overall it had generally favorable and positive views in the press and media - especially compared to today. Yeah, people knew it wasn't the greatest, but it wasn't the devil, either.

But then, I guess it was about 5 years ago now, 2016-ish or thereabouts, it all seemed to change overnight, and suddenly it became demonized by the media, to such an incredible degree.

Really weird.
strcmp,memcmp,etc. return 0 for equality, maybe you'd count that? But it's not really indicating "true", more "no difference".

main() returns 0 for success, but I expect that is owed more to Unix.

A lot of (e.g. Linux) system calls return 0 for success and an error value on error, but again that's more down to Unix than C.
Ok but how does that relate to perlocutionary and oppressive speech?
You should really mention / give attribution / emphasize more that this is a fork of https://spotty.cloud and you took a lot from https://github.com/nimbo-sh/nimbo as well.
>On my laptop, I can apparently use a USB-C to DisplayPort cable to get 4k/60 output (while the HDMI is limited to 4k/30). But now I've got no way to charge it.

On my old-ish XPS I've mitigated this limitation with this 18 Euro cable that unifies display-port and USB-C power delivery:

https://www.aliexpress.com/item/1005001632109069.html

Works like a charm.

>I'm also going to go out there and say that USB-C laptop charging is stupid when most devices are limited on their USB-C ports.

USB-C charging isn't stupid, it's actually super convenient; what's stupid is laptop manufacturers who cheap out on ports and display outputs to save $10. The 4K@30Hz HDMI 1.4 ports are a killer when I still see them in 2021. But hey, manufacturers do this crap since the technology clueless bean-counters in megacorps fall for the cheap laptops with crippled ports scam if they see a saving of $10 per machine on the 10K unit fleet. For the same reason they still sold you 720p TN displays on some laptops until recently. And I think some still do in developing countries if you ask for them. Crazy, I know.
I was hoping this was an article about packing different executables into images like I saw on Twitter.
Alan Dean Forrester's book series about the Humanx Commonwealth is an interesting take on the notion of very alien aliens being friendly. To the point where, in that setting, humans have formed a federation with sapient insects, with the two species having colonies on each others' worlds, a shared religion, law enforcement for federal matters, and military.
It's not insane, just dissimilar to what you're used to.
Facebook needs to be shut down. Dissolve the corporation, confiscate its assets under civil forfeiture laws, and put Zuckerberg and his enablers in jail.
I wonder why California isn't covered with water when the sea level rose 1000 m
Google Calendar provides a calendar URL which might be more convenient.

Used it in this thing: https://github.com/lawik/calendar_gadget
The simplest solution is the one FB will never accept, and yet the harm to the public would be virtually zero:

Eliminate all news, politics, and other public policy groups and apps. Return to being just a way to connect with friends and family.

No one needs to get their news from Facebook. There are plenty of other sites on the Web for that. Same for all these other "engagement" services.

Of course, this would cut their market cap to, oh, $100B or so. Boo-hoo.
> museums, including the J. Paul Getty, have instituted a very particular cleaning routine that relies more heavily on anoxic treatments than they do on harsh chemicals, which could potentially damage the art.

I assumed they'd use CO2, but it's apparently mostly nitrogen:

Nitrogen Anoxia Research (1987-1999) - https://www.getty.edu/conservation/our_projects/science/anox...

The Use of Oxygen Free Environments in the Control of Museum Insect Pests - https://www.getty.edu/conservation/publications_resources/pd...
No More Searching
Now, You no need to purchase multiple packages for your online Grocery delivery system. We live with the complete online grocery delivery system for everyone from developers to the real grocery store owner.

Check More details:

https://market.getwidget.dev/downloads/grocery-delivery-app/

#startups #businessowners
Like Swift, how once you check if a pointer (not integers, strings, and non-nullables) is null, the compiler knows from that point on the variable cannot be null.
I thought the power to affect corporate decision making was an important part of investing. Apparently not.
Programmers are not computer scientists any more than civil engineers are material researchers.

Software "engineering" isn't. It's all about processes and very little about standardization of process and verification of outcomes.
Also cognitive skills like reading comprehension become really hard to fake when you are at home interfacing with text only. It is much easier to fake competence when you just float from meeting to meeting all day.
On the other hand, the S&P500 will be excluding future companies that do this, so some powerful people in the finance community must think it's bad.

https://www.cnbc.com/2017/08/01/sp-500-to-exclude-snap-after...
You say that and then act shocked when inevitably someone stabs or shoots a bunch of people.

They live among everyone else and many need help, never forget that.
I think you mean you don't have such problems on Linux, there are plenty of people who trip over the fact that the default python on RHEL<= 7 was comically old and unintuitive to update...

https://www.ibm.com/support/pages/work-around-frustrating-py...

https://unix.stackexchange.com/questions/468620/how-to-chang...
The problem with void pointers is that if you make a mistake, you get undefined behavior. If you make a bad cast in Java, Go, or C#, instead, it fails. You get nil, you get an exception, or you get a panic, depending on how you do the cast, and which language you're using. None of these result in undefined behavior.

If you look at Java and C#, neither had generics either. You used casts, just like Go. It's safe, because the casts are safe (unlike void pointers). People started using Java and C# anyway, even though they didn't have generics.

Java then added generics in J2SE 5.0, which came out in 2004, when Java was nearly 10 years old. A year later, in 2005, C# added generics as well, with the release of C# 2.0.

Given that Go is about 11 years old now, it doesn't seem so out of place.
Be my guest, go to a small town fire hall and see how “well off” the volunteers are compared to the median HN poster.
This post was suprisingly more nuanced and well-balanced than the comments seemed to make it out to be.

The author notes the effectiveness of deplatforming when it comes to reducing the ability of extremist groups to radicalise others, but also discusses the problems with adopting it as the main tool for enacting social change. In particular, that we, as a society, are outsourcing the global gatekeeping of free expression to unelected malevolant american mega-coorporations.

Overall, I thought this was a good article that identifies and reasonably evaluates a lot of the simple traps that permeates such discussions about free speech and social media.

Definitely worth a read.
This information is required to be in the articles of incorporation which are filed with the secretary of state. For public companies you can usually just google e.g. "Apple articles of incorporation" and the sec's copy will show up.
Apple can't, either. More importantly, Apple won't. Not if keeping kids safe cuts into profits.
Can anyone explain how the hash function maps to multiple values in the bit vector? I thought functions cant be one to many.
I don't support the GPs view that the elderly should live with their families.

I do however take issue with you suggesting this would be bad for financial reasons. Realistically assigning some of the wealth older people have built up to their families caring for them rather than for profit corporations would be a financial benefit.

The issue is expecting younger family members in the prime of their lives to put their life on hold to care for the elderly when this care can be required for decades (unlike infants).
I just wish Vinge's ancap politics weren't so blatantly pushed in the Peace War cycle. It gets especially in your face in the short story in between them.
Python Horror Show
But there are working definitions of extremists. I'm a fan of those that classify people with unbounded beliefs, or whose beliefs are not sustainable in the long term. Someone who believes that all sex is evil would be an extremists as that doesn't really work in the long term. Denying current climate change is not extremists, but believing that climate change is impossible would be. Someone who opposes a particular tax: not extremist. Someone who believes that all taxes everywhere should be opposed: extremist. Someone who thinks a president is a jerk and should apologies for something: not extremist. Someone who believes the president is a lizard and will never accept any apology: extremist.
When I've tried Urbit it just plain wasn't working most of the time
Ok you convinced me.
This snarky reply isn't a rebuttal of any substance. A frivolous call-out fee is a clear and simple solution. If you fix the price then the problem goes away because the incentive for the frivolous call-out no longer exists. It's cheaper for them to hire another staff member than rely on the fire department.
sort of like run time vs compile time
Let’s apply the Eddy Izzard test: “Do they have a flag?”

(They certainly do!)

But quite frankly, all the reasons given that attempt to justify the non-existence of “antifa” just don’t add up. At best they are attempts at legal loophole style thinking. (They haven’t been recognized by a world government yet. Or, they aren’t incorporated and have no President. Someone who claimed to be “antifa” did something, and that’s not an official position so it doesn't apply. And more…)

At worst, it’s a very underhanded attempt to deny the existence of something that makes the left look bad by association. And, the solution isn’t to disavow them or their tactics, it’s to literally deny their existence.
Most of it is. The higher parts of the coast ranges and the bulk of the Sierra Nevada are not covered.
I wouldn’t mind type safe enums that take advantage of the good parts of Go, but the rest of the ideas are truly awful.

enum Language {
Arabic `json:"ar"`
English `json:"en"`
French `json:"fr"`
Spanish `json:"es"`
// ...
} `json:"language"`

That would be useful and Go-like.
> Short of a revenue (as opposed to income) corporate tax or VAT, it’s a very tricky problem to address

There's another post in this thread about changing IP law itself to disincentivize these arrangements. Seems like a good idea.
We’ve fixed the link in the footer there, thanks for letting me know.
I have been. Not one of them are forced to be firefighters. They volunteer
Agreed and that is before you get to all the "function annotation" that ads some degree of magic.
This guy is blind to the possible styles and mindsets of other programmers.

"Pair programming is the joy of working with an extra brain and another pair of eyes, where the key is to build a context where you two share the same goal in order to find the best possible solution."

Like hell it is.

The compiler is my teacher. The linter is my second pair of eyes. The performance benchmark is the guide that nudges me in the right direction.

If you need another person to help you program you're useless. If you need the internet to program you're similarly useless. If you can't code in a tent miles away from the nearest internet connection or other human you should go off and practice yourself.
For an insurance company, who'll burden the cost, they're the same problem. Different cause, but same problem.
Every day you can wake up, get out of bed and stand up is a beautiful day.
Totally agree, though with a tad of nuance. I believe a Facebook could be at least marginally compatible with human nature if the feed was just your friends, new posts in chronological order.

But the economic incentives to make Facebook addictive, to traffic in outrage, and that demand that Facebook track your every move on and off the platform are just immensely strong. I mean, I think Facebook would easily be a far better platform for users if they could only see my actions on Facebook itself, instead of the god awful behavior of getting flooded with "retargeting" ads because I happened across some website somewhere, but look how bitterly Facebook fought against the iOS changes.
> the extensive and expensive care of their elders.

Granted cognitive decline and other conditions are extremely difficult to manage, however it’s remarkable how easy and cheap a disturbingly large chunk of elder care is. Just someone there to make sure elders take their meds on time, monitor their blood pressure, making sure they’re eating or go to the doctor if anything bothers them etc; all these tasks could be done in-home with family, or minimally trained healthcare workers. We could even pay families and healthcare workers handsomely and we’d still save massive amounts on the outrageous expense in elder quality-of-life and healthcare expenditure we pay because those simple interventions aren’t made.
This is an INCREDIBLE improvement. I'm so excited for it for myself, and I think it will also do wonders for getting new programmers comfortable with the language. Seeing exactly where in the line your error is, is amazing! IMO this 100% cements Python as the single most newbie-friendly language, if there was any question before now (or at least, before the release of 3.11).
This apparently popular argument of the form "hey, it's natural, so it doesn't matter! Hah, hypocritical environmentalists!" is utterly absurd, not only false equivalence, but a brain dead employment of an appeal to nature fallacy. That some amount of seepage is naturally occurring does not remotely excuse the obnoxious, mind-boggling amount of death to nature caused by oil spills due to the economic activity of humans. Every single year in the history of the oil industry there have been major spills. That's 162 years worth of major oil spills. Sure seepage is natural; oil spills are not.
Ja I think you are absolutely right (go fmt) ! The tooling is fantastic and concise.
You're an ist aren't you?
> it will become an arms race

It already is.

> starting with technically ( operationally difficult) solutions like hosting ads first party

Already happening. Those ads are still getting blocked.

> There is simply too much money today in it for the industry to go away quietly.

Agreed. We need to drive them out.

> issue of ad's itself can sadly not be controlled with ad-blocking only

Why?
What do mean by "libertarians pretend there is no clock" ?
I wouldn't count strcmp, etc. It returns < 0 if str1 is shorter and > 0 if str1 is longer. Returning 0 means there is 0 difference. That's not a True/False.

"0" is not a "truthy" exit code for a system call, it rather denotes the absence of an error.

In my view, a value X being "truthy" means that `bool(X)` evaluates to TRUE, or `if(X)` gets executed.
Why assume that Apple keeps lookup tables like this for customer identifiable information?
Go already does that... if you have an "if x == nil { return }" at the top of your function, then the compiler knows that x != nil below that point, and elides nil checks.

Like, I'm not trying to be cute here, but the point of having a "non-nullable type" is that you can get an error message when you use a nullable type in its place. However, if you're not talking about non-nullable types and just about whether the compiler knows a value is nil, well, the compiler knows that.
> Gmail accounts require password entry on the device, even if the account is installed via Apple Configurator.

Is that still true, if the password provided in the profile is an App Password for the account? IIRC those can be used for direct IMAP access to Gmail's servers without those servers complaining; so I would expect them to also work fine for creating a Gmail web-API binding.
lmao you mad?
You are posing restrictions on speech as a form of "freedom".

> By the same token, “Slavery Is Freedom,” because the man subjected to the collective will is free from danger and want.

The feigned ignorance is extremely tiresome.
>If Urbit were reimagined in 2021, it would be running on Sia or Ethereum: your data is stored on the blockchain, your applications are running as perpetual smart contracts, and you can access it from anywhere in the world with just your private key.

This is a fundamental misunderstanding of what smart contracts do. Every miner runs every smart contract every time something is executed. It would be disastrously expensive to run a server on top of Ethereum.

Urbit's network infrastructure was "reimagined" to use Ethereum for identification.

>Hosting on my own hardware is annoying, hosting in the centralized cloud defeats the whole point.

Is there actually a third option? I'm wondering of the author simply misunderstands Ethereum.
> It would seem like it would be better for business to just not let people join the organization if they're relatively likely to one day go on a moral crusade

Oh man, do I hope my entrenched competitors do this. Give me your crazy ones.
> It is unnecessary that such mitigations be employed by "most people", they only need to pass a cost-benefit analysis for those who use them.

This can be said for pretty much any technology/software/hardware/mitigation that some people dismiss out of hand…

> It could be argued that if more people used "surveillance escape valves", there could be pressure to close them.

I would even go one step further and argue that our devices should actively send spoofed data (not necessarily random) and poison the data wells these companies like to drink from to amass their power they wield asymmetrically at scale against individuals.
A bit, yes.
Storing data on Ethereum is absurdly expensive, but further, it simply provides a different value proposition than running your own personal server. These ideas aren’t mutually exclusive, nor can they reasonably serve the same needs.
But they never asked the non-apple users whose information is being transmitted, unless there's something I missed.
Currently, I think the answer is "badly." :)

When this article states "If Urbit were reimagined in 2021, it would be running on Sia or Ethereum" I immediately thought, "Wait, you can use Ethereum for decentralized storage?" I'm not following the blockchain space closely, I confess, but I hadn't heard that.

And, Ethereum's web site has a page called "Decentralized Storage" that talks about how it can be used as one! Except that said page goes on to say, "When it comes to large amounts of data, that isn't what Ethereum was designed for." Well. Basically, any blockchain system that requires every copy of the blockchain to be complete is not going to be really great for shoving hundreds of gigabytes -- let alone terabytes -- of data into.

Sia -- which I hadn't of before -- seems like it's explicitly positioning itself as a blockchain-based decentralized storage provider, and is closer to what the article suggests Urbit would be like if it were reimagined now. I don't think Sia's web site does a particularly good job of explaining (or selling) it, but, well, neither does Urbit's.
de-platforming simply encourages new platforms to be built or adopted by the de-platformed, which in a way makes them stronger. it is short-sighted and long-term self-defeating. but hey censors gonna censor.
Ocaml's compiler is very fast(not including extreme edge cases), It has nothing to do with "highly sophisticated type system". It's mostly llvm.

As a web engineer you should look at rescript/reason before making claims about compile times.
No — I know lots of young people who hate all public forms of social media, and worry constantly about having any sort of visible opinions — and these are people with socially-liberal political views. It really is just a personal preference, and outside of social media manager positions, employers don’t care.
C++ is a mess from the backwards compatibility and portability point of view. Just try shipping a binary C++ library on Linux.
In this case it'd be "blame the parents", according to his tweets -- he said the parents "only give kids access to tech they're ready for".

But how are the parents going to know how Instagram affects their kids.

I know from experience that it's not that easy also for highly educated and well meaning parents to know that much about how their kids feel and precisely what causes those feelings (Instagram or something else?)
> Buy a normal phone? That will just get you even more proprietary blobs.

Google's apparently trying to get all these manufacturers to contribute their drivers to the kernel. Not sure how successful they've been.

I was hoping the situation would be better here. Proprietary Linux drivers suck. Even nvidia drivers have caused instability in my system before, switching to nouveau fixed it. I hate those things so much.
Laughs in horrible Gradle Kotlin DSL build times.
It's an unfortunate but inevitable outcome of the attention economys race to the bottom. This area needs better regulation. The best approach is to stay out of technical implementation and focus on what principles companies should adhere to. As James Williams argue: it should be a civil right to have "freedom of chance". We already knew all too well what it does to our democracy that a large part of the public only gets their news from Facebook. Prefiltered by the monetizing interests that drives it. In such an environment there is no fair chance of deciding for one self - at one end it's one individual on a smartphone, but the other is the entire R&D of Facebook with just the one goal of keeping your focus, making you engage.
Having worked many years in a place that did 100% pair programming, switching to a PR company definitely leaves things to be desired. TFA does mention feedback coming back too late in the process, and it definitely feels like the feedback timing is too late for a lot of code. I've thrown away a lot of PRs over the years for reasons that varied from not getting good info up front, to not having someone to accept the PR in busy environments, to silly mistakes. Pairing just seems like a great way to avoid a lot of nonsense. It has so many upsides like cross-pollination of ideas and skills, training, avoiding getting stuck on little snags that end up sucking up time, and so much more.
If it explicitly said the USB version I'd agree, but what they're doing here is more of the same pointless nonsense. This[0][1] is the junk that consumers currently need to wade through, now we have several more additions to it.

[0] https://www.usb.org/sites/default/files/usb-if_logo_usage_gu...

[1] https://www.usb.org/sites/default/files/usb4_logo_usage_guid...