skysight-inc/HackerNews huggingface dataset:
While C is a direct descendant of B, Python is a very different beast. It's a bit odd to frame Python as "C but without types". Maybe I misunderstand what you're saying.

Also I don't know much about B but given its age I seriously doubt that it's dynamically typed like Python. I suspect that it's more like assembly: you don't have types because most of everything is effectively an integer if you squint hard enough, and the way you decide to use the data lets the compiler/CPU know how to treat it.

For instance in this snippet from TFA:

v[10] 'hi!', 1, 2, 3, 0777;

You may think that `v` is clearly dynamically typed, since it contains both ints and a character string, but I actually think it's a lot simpler than that: a pointer to a string is effectively an int, so you can store a pointer in an int array no problem. You can still do it (mostly non-portably) in modern C, you'll just need a cast or two at most.

Of course it means that the type info is not actually carried by the variable like in Python. If you write `'hi!' + 'oy'` in Python you get 'hi!oy'. If you write 'hi!' + 'oy' in B I suspect that you get a garbage pointer, if not straight up undefined behaviour.
Given everything is encrypted at rest and requires the M1 and with Secure Enclave to decrypt… probably pretty hard. If you can't boot, you also probably can't decrypt the drive.
Except that didn't happen.
It's one of those things people will look back in 10 years at and wonder how we thought that was ok. Driving one of the most important innovations of our time with data driven praying of people's weakest spots. Says something about how many decades behind our financial system is compared to everything else. Haven't clicked on an ad in 20 years but apparently others do, just install an add blocker.
Not that this at all answers your question, and I'm guessing you know this already, but for a language with a preprocessor, that should be something more like:

#ifndef NDEBUG
#define DEBUG(msg) if (debug) { log (msg); }
#else
#define DEBUG(msg)
#endif

this eliminates any question of branch cost from an NDEBUG ("production" or "optimized") build, and you don't have to wonder.

Obviously there are more sophisticated methods too.
That’s the theory, and it works like that on my MBP. But for some reason on my old iMac, snapshots used to just accumulate and every so often things start crashing because there was no space left, causing all sorts of issues. Sometimes the OS couldn’t boot because of that, it really was a pain.

And yes, you can nuke snapshots preemptively, but often the first visible sign was Mail having corruption issues because it’s database was borked, at which point it was too late.
The style was obnoxious I agree. If you're interested in buying an M1 MacBook — I wouldn't buy without being aware of the need to watch SSD writes. It seems like M1 devices with low memory have scenarios that they will use their SSDs crazy hard.
My takeaway was the opposite. You have a fairly generous budget of if's and code size if you use a low level language. But if you use a higher level language you could run into the limits.
> Hypothetically you could imagine a "stronger" setting that doesn't just do away with personalization, it does away with ads altogether by allowing the user to "outbid" any advertiser.

Google built this, it was called Contributor, and it wasn't very popular.
I don't know those specific fields but when I was in grad school, I saw a lot of ML applied to biomedical signal processing. Firstly, I think there is a ton of good in ML, specifically the ability to pull out (and rely upon but not reveal) patterns that a human couldn't. But what I saw as a challenge was when causal mechanisms, or the underlying physics is ignored, and ML is used to find a correlation. For meaningful application of ML to a discipline like you name, i think there should be a clear physical mechanism that underlies whatever ML is being used for, not just "we trained a model and it predicted this". Otherwise, ML (and gradient descent trained DNNs in particular) are very effective tools.
Ironically, I'd dismiss this if it wasn't PG saying it, but this has survivor bias written all over it. No one remembers the ideas that were dismissed by domain experts that did not make it. This is the exact same argument that says college dropouts make the best CEOs.
I'm a senior engineer (~30 yrs experience in software dev right now) and I don't really want to work for consulting/contract market. Well, I mean if somebody offered me money beyond my wildest dreams ("never have to work again" kind of money) - maybe, but otherwise it's too much annoying stuff that I'd have to deal with. Some side gigs are ok, but having a steady job makes my life much easier.

What I'd be looking in an employer is:

1. Interesting job. Should be doing something new or interesting that would excite me. Also some position where I can make my own decisions, not just mindlessly marching to the beat.

2. Sane management. Which can communicate, set strategy, facilitate communication between teams, deliver proper strategic prioritization and planning and make my technical jobs shuffling the bits around as easy and efficient as possible. Also some measure of trust that I know what I am doing, and if I don't I'll tell you.

3. A good team is very important. Excellent if I can learn from these people, good if I can rely on them to do their part, otherwise it becomes unworkable.

4. No death marches. I mean, I work odd hours and may jump in on weekends too, if I feel like, but that shouldn't be expected of me. Not a single 22 yo without a family or life anymore.

5. No political bullshit. I don't mean politics like Trump vs. Biden or whatever, though seeing that at the workplace would probably make me run fast and far, I mean things that don't have much to do with business but a lot to do with manager's egos and their perception of how their career should go. If I am caught in anything like that, it makes me very sad and looking for the exits.

6. Decent pay, of course, and customary benefits (including vacation time), but if it's not on the level Google pays I'd understand, provided all the rest is good.
TLDR: There is no actual talk or details of how the future without passwords would look or work.

It’s just a blog post about Google patting themselves on the back for how ‘awesome’ they are at keeping your passwords safe, and promoting some of their recent and upcoming tech to help manage passwords.
It's not about trusting the storage, it's that failures in components not storage end up junking the storage in the repair. In all likelihood this board suffered some other sort of component failure (because if it was the flash, something would still boot and display). That 1TB flash device was perfectly good, and with only an ever so slightly compromised design could have been dropped right into a new board and the user would have left happy with "their laptop" still intact.

But now the poor guy needs to recover a huge partition from partial backups, and that sucks. And it was totally avoidable..

(FWIW: I don't understand your point about not trusting storage on laptops. Modern SSDs are extremely reliable. Sure they can fail, and you should always have a plan for what happens if they do. But in practice you should absolutely trust your laptop storage.)
Robot Inventor's hubs, motors, and sensors are all-around better in a bunch of ways (and the hub is half the size, which makes a lot of builds easier), but you can't put Linux on it. Robot Inventor does have a Python interpreter mode (currently in beta) and not just the visual programming blocks of the older EV3, though, which does reduce the need to have Linux in the first place to do fancy stuff.

There's also the Powered UP sets, which are much cheaper all round, but have lower-quality parts and more limited programmability (and you have to go through a mobile app rather than being able to work off a computer). The motors and sensors are interconnectable with Robot Inventor, though, and it looks like they'll be releasing 'dumb' battery boxes with Powered UP so that trains, motor/lighting parts in buildings, etc, can all run off the same component ecosystem.
Sorry, then make it one hundred.
Your post has a few things wrong. People don't have to die for violence to happen. I believe you are correct that the coroner eventually declared Officer Sickwick's death was unrelated but that doesn't change the fact that he and other officers were attacked. You also seem to think that because some officers aided some protestors that proves all of the protestors weren't violent.

There are plenty of weapons out there that aren't firearms. You can be armed and not carrying a gun. While I'd agree that many of the injuries are consistent with a large crowd there are also documented cases of people in the crowd using weapons like tasers, pepper spray, and a flag pole. There are lots of pictures of zip tie cuffs being carried in the capital buildings. How often do you hear about people going to a peaceful protest expecting to capture prisoners? You need a license to carry a firearm in DC. It shouldn't be surprising that in a protest made up of people from outside DC you wouldn't have many people who have the right license. Flying with a gun is also a PITA so that's another reason some people who travelled to the protest may not have brought their guns with them.

Finally, there was at least one group that set up a cache of guns offsite so that they could ferry them in if needed [0].

[0] https://www.buzzfeednews.com/article/zoetillman/capitol-riot...
This is a very long article with only one real lesson learned. BACK UP! Just get a backblaze account or something.
Reminds me of this spoof commercial I heard on some comedy radio show one time for the drug Nothingenol - for people who suffer anxiety over not having been diagnosed with a disorder.
Two lessons: back up your shit, and prefer hardware with replaceable storage like M.2 slots.
When I come across a situation like that, i consider the chunk of code reusable and split it into a separate function. It may not be perfect and you might need to make that function more generic than it was but I think it makes sense.
Having EVs dominate new vehicle sales in 2030 would require an annual growth rate of ~50%. This is plausible.
Use a one-click script to secure your computer is worse than do nothing.
Various C/C++ programming safety standards (such as MISRA C), specify a single return only.

[0] is probably the best defense of the position I could find quickly, but the example used is convoluted, and very much "look what happens when you allow multiple returns".

I personally like to use early returns as guard statements when I'm doing precondition checking or on errors.

[0] https://spin.atomicobject.com/2011/07/26/in-defence-of-misra...
IPA was never meant to be a substitute for audio - it was meant to be tools for describing the content of the audio. And if you want to talk about human sounds, it's still as relevant as before. Just like nobody would say "That red dot you can see over there" when you could instead say "Mars", even if Mars is perfectly visible right now.
I like Placekey’s implementation. Hexagons provide an equidistant center.
As a programmer, and indeed a logical thinker in general, I find the fact that there is any human interpretation to be horrifying. At worst this means undesirables get worse punishments, and at best it means when going into the legal system, you have no idea what to expect. Indeed, you have no way to manage the risk that the law presents to you. Your only hope is to avoid it at all costs.
Luck also seems to plays a big role in the programming lang market.

Yet the behavior of lang maintainers seems to have an outpaced influence over that luck: individual programmers actively chose Guido over Larry or Matz. In turn, Armin's framework looks about in line popularity-wise with DHH's at present, but the trend seems clear. We trust Node because Ryan rage quit. Oracle has cast a shadow over Java, and their TIOBE descent is finally manifesting. K&R may never be unseated, e.g. A Deepness in the Sky. Anyone who's seen Anders in person has witnessed his presence.

I wouldn't discount the effects of actual human characteristics and behavior, even if choices end up mostly based on fashion and a fascination with infamy. One can influence their own luck.
I don't know of role-model investors / traders who amassed a fortune in a short amount of time, starting from a small amount of capital, without borrowing money. There are of course cases like /u/DeepFuckingValue turning a few hundred grand into tens of millions with his massively bullish GME position, but in general, taking this much risk on almost guarantees that you are blow up in a few years.

I agree with Shkreli: if you want to "amass a fortune in a short amount of time" AND do so without taking on an unreasonable level of risk, then doing so with cheap cost-of-capital (e.g. investing friends&family wealth, using insurance float, gift cards) is the way to go.

But "making 10s of millions quickly" is a different statement than "active trading is not worth the effort".
Sure but this has been the monetary policy for the past two decades - eg all of that surveillance valley "disruption". National brands get limitless ZIRP investment money, while local owner-equity businesses get run out of business. The new change is that some of the money printing is being used to help individuals, rather than traditionally undermining them.
Telcos crammed 8.5m fake comments against net neutrality into FCC's inbox
A bit off topic but how does this app work on Netlify? I thought you can only host static sites unless you have an offline script that acts as your backend?
No you don't. All your examples are anecdotal and mired in survivorship bias.

The fact that your parents invested in education that much means that someone already invested in them and their education way before you were born.
You don't need a conspiracy if your success relies only on people on the internet being scumbags. Unfortunate reality is that you'll always win taking that side of the bet.
No backup scheme can keep storing data once the disks are full… TimeMachine is fine to restore a computer to its state a day or a week ago (say, before an OS update or to transfer data to a new device), and to get some documents up to a couple of months back if the backup drive has the recommended size. It’s not a professional tool designed to restore a whole computer to the state in which it was 2 years ago.

But yes, you need to check that it can restore every now and then.
> But in practice you should absolutely trust your laptop storage

As a consumer this is perhaps practical advice.

> Trusting the storage on any single machine for critical work data for any longer than necessary is unprofessional.

But if you were a customer, would you be okay with a business losing your vital data because they wanted everything on a single machine? It doesn't matter if it's a laptop, it may be a server on the cloud.
Out for blood in the search to stall aging
I know this isn't your point, but how is fairness cream virtue signaling?

(If you said it was signaling race or wealth or something I would understand, but virtue?)
You make a good point about how your attitude affects your behavior. I see it with immigrants who didn't grow up in the south like I did. I've repeatedly heard "oh, I wouldn't want to go visit southern Virginia because of all the racists." I kid you not, I was just in southern Virginia with my white wife, our mixed kids, and a Chinese friend and her Jewish husband. It was great! Everyone was great. It's a lovely part of the country with lovely people. I wouldn't want my kid to deny herself those experiences out of some fear of "white supremacists" lurking in the shadows.

> Perhaps I'm applying my own personal experiences a bit too much here, but what worries me especially is the effect is has on self-confidence of these kids. It's fine to have these kind of discussions in politics or academia, but teaching them to kids? I find it worrying.

Agreed. I think "systemic racism" is a bad name for quantifiable disparities that, in an academic context, can be show to exist using facts and statistics. That doesn't mean you should teach it to kids, especially using labels that were specifically chosen to make them think their neighbors are out to get them.

"White supremacy," by contrast, doesn't exist, and it's absurd to pretend it does in a country where whites are poorer than several immigrant demographics, and are effectively underrepresented in elite colleges, Silicon Valley, etc.

As you observe, these discussions are politically fraught. I would prefer to stay out of them. But this sort of teaching and rhetoric has been extended to Asians now, and as someone with Asian kids I can't ignore it anymore.
Cryptocurrencies fundamentally are about transactions. So I don't think it's appropriate to claim cryptocurrencies are any more driven by greed and speculation than any other common transactional activities, such as saving money in a bank account, mortgaging a home or buying a cup of coffee.
It’s a sum of their choices and their parents’ choices*, heavily weighted toward theirs, but I think my success is at least 20% the consequences of my parents’ hard work and good choices.

* - and a sliver of teachers and other influential adults, but the overwhelmingly majority are from people who could say good night and good morning to each other.
Yes very much this. A soldered SSD is absolutely putting a real limit to the lifespan of your pc. Not to mention making it unreasonably expensive to try to recover data in event of system board failure.
There used to be an "alarm" app for MacBooks that'd sound an audible alarm when the computer was moved.
I love how what ended up happening was "Or you can pay Dropbox to not have to do any of this".
I'll probably get downvoted for this. Why does OP need to justify his/her job in adtech? He/she loves the job and probably pays well. That's it. Period. Why go about convincing strangers!
That's a sword that cuts two ways.

It's also much easier for the Feds to track you on Twitter.
This is the first time I’m hearing of Mighty App and, at least at first glance, I wouldn’t categorize it as a “crazy idea,” in fact it seems pretty non-crazy to me - chrome but more efficient. It’s literally a faster horse. I guess the implementation is the crazy part...?
I wrote that with a lot of help from the excellent maintainers. They were very welcoming of a PR that needed a lot of work.

If you're interested in this sort of thing John Gjenset's YouTube channel is also a great resource.
None of what you link shows anything about SAG demanding actors to do unpaid work. The second option specifically states that you must provide vouchers and then ulimately proof of paid work on three separate occasions as a background actor. The first option is a no-brainer in that you're getting paid as a lead. The 3rd option of being a member in good standing with another union also has nothing to do with doing unpaid work.
So its immoral for a math tutor to post a flyer about his services in a local coffee shop?

Advertising is a very wide spectrum and I think its way too heavy handed to say it is all intrinsically immoral. Some is, maybe even most of it, but surely not all is immoral.

I'd argue that advertising in general is a good thing, but that there are a few parts that are bad. One bad part is the vast surveillance and privacy intrusion of modern digital advertising is what is bad. Another are the advertising tactics used to manipulate people into buying things they shouldn't.
My main problem with White privilege is that is drawing a big line between white people and people of color. IMO one of the big civil rights achievements was to get rid of that divide. To start seeing people as individuals of equal value, based on their character not group identity.

I'm white, my wife is not. I fear where my kids will land in all of this. If we are drawing hard lines between people how will half white children find their place in all this mess? To me it shouldn't matter they have multiple cultures they come from, in the same way I'm Scottish and Irish.

That said it's not a bad thing to look for areas in society for race based discriminations and eliminate them.
Sensor Tower | San Francisco, CA | Full-Time, On-site OR Remote | https://sensortower.com

Sensor Tower provides key metrics for everyone involved in the mobile ecosystem. Whether you’re a mobile app developer, a financial institution performing mobile market research, or a large brand thinking about your mobile initiatives, we provide your one-stop shop for due diligence.

To learn more about who we are, our engineering culture, and whether this is the right place for you, read our Key Values profile: https://www.keyvalues.com/sensor-tower

Our open positions:

* Full Stack Data Scientist: https://jobs.lever.co/sensortower/6c8ed97b-a61e-4ed5-a70f-44...

* Ruby on Rails Developer: https://jobs.lever.co/sensortower/a421feb6-2c0e-4f1b-adb1-84...

* Back End Engineer: https://jobs.lever.co/sensortower/e5423e9a-270e-41d8-a627-4a...

* Front End Engineer: https://jobs.lever.co/sensortower/919b9ab5-4b67-4949-b89b-4f...

We use Ruby on Rails, JavaScript, Go, MongoDB, and AWS.

If you're interested or have questions, email: jobs [at] sensortower [dot] com
If the greatest minds of society are going for the easiest payday perhaps they are not really our greatest minds. Perhaps they are the smart ones by cashing in but the great minds with the great ideas they are not.
I recall reading about something similar in Tokyo

Metropolitan Area Outer Underground Discharge Channel - https://en.wikipedia.org/wiki/Metropolitan_Area_Outer_Underg...
"And it is for this reason that although banks don’t need your money, they do want your money. As noted above, banks lend first and look for reserves later, but they do look for the reserves."

https://www.investopedia.com/articles/investing/022416/why-b...
That's not what they were saying though. It's one way to read it, sure, but another way is "most content on the web is so low value that if it ceased existing users would not care".

Which is true. If its not on the web, then I don't read it, and don't miss it - by and large.

A huge number of people seem to believe that 95% of the internet is of any value - yet the existence of HN itself shows that's not true. This whole site exists to turn "the internet" into a selection of high quality links, and even then the front page is maybe 20% interesting to me on a day by day basis.

So how much of the internet matters to me? 6 links out of 30, selected by a community which completely avoids all the "major" sites.
Do you know about the Typed Clojure project? More or less Racket's contract system, for Clojure:

https://github.com/clojure/core.typed

To me, it's one of the great testaments to the power of Lisp that you can bolt on a static type system after the fact.
Sigh, this seems to be another "we had no women on our team" situation. This was a question asked on Twitter before even trying the feature. People impacted by this issue know it's a possible problem. Twitter really should've done better here.
Animals drink a lot of water but grass does take even more. Cows produce net CO2e emissions because they produce methane.
I feel that way about the disclaimer on the homepage, but the transmuting to &mut disclaimer is literally true.

Apologies if you're already familiar with this: It doesn't mean it's not sometimes necessary to have two `*mut T` to the same location, it's that the compiler makes specific assumptions about `&mut T` such that two &mut to the same location existing, even if never used, is UB. To work around this you need to stay in raw pointer land and use APIs like ptr::write.
> Deal with animal agriculture first, then we can talk about the fruits and nuts

I'm trying! I can only eat them so fast!
I feel like we're discussing one of the most successful message boards on the English-speaking Internet as if they're proposing something new, and could somehow benefit from our sage advice, rather than documenting a policy they've had for many years.