skysight-inc/HackerNews huggingface dataset:
So we re-word this headline to “The Impossible Burger and Beyond Meat are no less unhealthy” and a substantial portion of this content becomes redundant.

It’s scarcely news that marketing and PR exist, nor that the world of pop nutrition is an indescribable mess of self-contradiction and snake oil sales. The author (scratch that — “ personal trainer and certified nutritionist behind a popular weight loss blog”) doesn’t mention the fibre content, lipid profile or nitrate content, all of which are relevant risk factors for significant disease.

The only actual nutrition claims seem to be Fat Bad and Salt Also Bad, which are 1980s nutrition touchstones, but don’t reflect the current state of research.
I've tried changing prefs from that file and it is a mess. Not adequately documented either. Standard INI-format would be ideal.
I think it's weird to recognize the harm caused by unlimited permanent resettlement, without recognizing the harm caused by the existence of problematic current residents.

If we're going to start stack-ranking people based on how much harm they do where they live, quite a lot of locals in any particular area ought to be shown the boot.

This is why anti-immigration rhetoric tends to explicitly avoid trying to quantify the harm caused by immigrants. Much of the time, such a utilitarian calculus doesn't look great for the locals. Most immigrants tend to work harder, be more educated, do less crime, etc, etc...

(PS. If you tell me that it is morally wrong to let newcomers displace existing residents, I will point out that our society thinks it's perfectly reasonable for internal migrants to displace locals, when it comes to things like housing... Odd, that.)
I know. Who is he, Johnny Depp? Signing important documents while stoned and drunk out of his mind? Get outta here.

“Although I did seem to be present, I do not recall it!”

It’s the best dark chuckle I’ve had all year.
I mean this is great, but how about stopping the pumping of oil if you are really serious about carbon?

All of this is a snowflake on top of an iceberg compared to the massive amount of carbon they are exporting every year.
> C++ has a large standard library.

Is it that large? i.e. is it larger than, say, Java's ?

> it's impossible to know them all, so you never really know C++

This is semantic quibbling. You know a language more if you know its commonly-used libraries better - whether they're in the standard or not.

> the various libraries don't play nicely with each other

They may not be in perfect synch, but they play ok-ish-ly with each other - as far as I can tell.

However, not playing nice is much much more of a problem with non-standard libraries - in various languages. I'm sure C programmers have that experience with a vengeance... say, everybody using different implementations of basic data structures like queues and lists and hash tables and so on.

> It's full of dark corners

Yes, yes it is. And they're pretty scary... however, that's not really because of the library size. Also, those dark corners exist, unexplored, for C libraries; it is arguably better that they be mapped once and for all, at least some of them which are somewhat-frequently stumbled upon.

...

More generally - the issue you're describing seems to be more with the combination of "iron-clad backwards compatibility" and a larger standard library:

- C has the former, not the latter
- Python has the latter, not the former

C++ has the former (upto minor points like the `auto` keyword), as well as the latter, but with warts.

The warts are there, that's true, but they're not so bad. And use of the standard library does pay off very nicely - often removing warts in your own code.
I haven't written a blog post, because I don't feel like I have all the answers by any means. I'm sure there are better ways to do almost everything I've done. I haven't always been successful. Maybe in a few years if I have more stuff worked out I'll write a blog post about it.

> The reason I ask is that I imagine a small or solo startup that's not focusing on massive growth but is optimizing for quality of life has a different set of challenges than the more traditional startups that people on HN are used to.

For sure!
> Why hasn't this occurred?

Maybe because they keep firing union organizers?

> I question if there's a genuine need or desire among employees to unionize.If Kickstarter truly were a house of horrors [..]

When two companies not on the verge of bankruptcy merge, do you also "question if there's a genuine need" for the merger? Or is it only when labor organizes that they have to justify it to some arbitrary 'house of horrors' standard, while capital can organize and consolidate as it wishes, and face no criticism?
Does it have big tits?
That's an excellent point. You could also add people that aren't contactable into that group.
While the folding bike concept is cool, and it's actually really handy to be able to take them on trains where a non-folding would be disallowed, and while they are also more convenient than a full size bike, they're still big and cumbersome when folded up.

I can take mine on the bus, but that wouldn't be my first choice. I can take a regular Lyft, but not a Lyft Line with it. (I mean I could, but that's a dick move.) You're "that guy" at the bar after work.

Like I said, I own one (well, a Dahon), and it's definitely useful, more convenient than a full size, non-folding bike, but it doesn't actually solve the issue, merely alleviates it somewhat.
There's a dead reply to my comment that I'd like to address anyway, in a slightly glib manner:

> How hard would it be to remove those bits that ignored non-commercial traffic?

Code-wise? It'd be really easy to add an INSERT that stuffs extra data into another table. But as far as "removing the bits that ignore non-commercial traffic", none of the non-commercial traffic would be in the datasets provided by the various federal agencies (whose acronyms I forget).

Performance-wise? The whole thing is a giant mass of Oracle PL/SQL that can barely keep up with the commercial traffic. If we tried processing all non-commercial traffic through the scoring algorithms etc, the whole house of cards would fall down :D
The majority of people will indeed prefer powered bicycle and scooters if available. There are some countries and cities where there many people using bikes for their daily commute. The scooters are too small and underpowered for riding on the streets, and at the same time using them on the sidewalk can be dangerous for pedestrians, so I am not sure where they fit in the transportation picture.
Unfortunately the machines can easily be turned against the men that think they have control over the machines.
Are you suggesting that the private prisons would murder convicts soon after they're released? That's uhh... that's just a little bit illegal and people who commit murder tend to get caught and imprisoned for a very long time.

But let's assume that the private prisons could somehow keep getting away with murder. If anyone ever looked at the stats and saw that people released from private prisons had much shorter life expectancy, then convicts would choose state prisons. Then the private prison's revenue dries up and they go out of business.
I meant uneducated in reference to his guess of O(100). That makes no sense.
I like the effort, but honestly there's tons of apps that are cross-platform, free, and can do everything imessages can, but better. Telegram is just one example.

I see adoption as a biggest problem. I personally tried to migrate to Telegram and failed to convince even my own wife to give it a try, since imessages work for her and all her friends are there and why bother.
Agreed. However, in terms of perverse economic incentives I think the private for-profit prisons are a much much larger problem than prison work programs. They are not bringing in anything on the scale of what private prison systems bring in from the government. Also, least a few people claim to have benefited personally from the work programs.
Community size always outranks the pros/cons of languages. Still they are never entirely always static and it always takes some bold people to push it towards something new and (hopefully) better. Although more often than not it stays the same.
I agree wholeheartedly. I've tried again and again to do a full time job and I just can't handle how soul sucking it is. I'm 30 and in my life I've had a total of less than a year of full time employment.

It's not a terrible life, but I do worry about the future a lot, especially when I meet my old college friends and realise what the 100k+ salary gets you. I wish I could do the same but I cannot.
But there is a solution to that. Anything that can be easily identified as being the result of someone's own choices they are on the hook for and/or can get insurance for. Yes, these things would have to be enumerated, with some things debated and others refined, but insurance companies didn't seem to have any trouble enumerating what they will or will not cover and this isn't any different. Most if not all of the issues with implementing a system like this will be things that have been done before.
Re: YouTube it really is amazing. I got an engineering degree circa 2004 and am not proud to say have only recently finally grasped many concepts that I “learned” and was tested on back then. (Esp in mathematics) The quality of educational materials on YouTube is exceptional.
Having any STEM degree from anywhere has probably lowered your risks of a gap (or level drop) and potentially permanent drop in salary considerably, with more for it being in CS.

I’ve been working in the industry, in Atlanta for 20+ years. I’ve been on the market 6 times (stayed at one company almost a decade) and it has never taken me more than three weeks to have multiple offers. I can guarantee you that none of those jobs or interviews cared about my CS degree. The quickest was when my contract was over, I called a recruiter, had an interview four days later and an offer the same day. I’m no special snowflake, any halfway connected, developer with buzzword compliant resume could tell a similar story.

My second job out of college my manager cared a lot more about my then encyclopedic knowledge of C from spending way too much time on comp.lang.c, my (self taught) experience with x86 assembly and that I was a big enough geek to be able to talk about some of the 65C02 assembly language hobby projects I did in middle and high school than my courses in Pascal, Basic, FORTRAN, and COBOL or even my one simple data structures class in college.

Do you think consulting companies are recruiting me now based on my 20+ year old degree or my more recent experience as a team lead, AWS architect, and my being able to be talk about “The Well Architected Framework”, Domain Driven Design, and the Cloud Maturity Model? Yes these are all buzzwords to a certain extent but consultants get paid a lot for them.

Whether I had a degree or not, if I couldn’t negotiate a salary commensurate with my experience - I would be doing it wrong.

But that competition will sound exhausting and the level you put in will be exhausting your other options in life while still probably being less energy than the bootstrap-only graduate.

Considering what I learned in college and how useless it was compared to what I taught myself even when I graduated or even more importantly the experience and networking I’ve done in the past twenty years, I really don’t see my career trajectory being that much different.

The only thing college did useful for me was get my first job based on an internship the year before. In today’s world, if a boot camp (which didn’t exist back then) could have gotten my foot in the door, it wouldn’t have made any difference.

As far as pension, it’s nothing special. A pension is just worth the present value of all the payments you hope to make after you retire, considering the difference in pay - and the flexibility - in the private industry even in Atlanta, you can easily save/invest enough over your career to create a greater annuitized income in retirement.
This seems like a pretty big deal, and is part of the amendment: https://www.businessinsider.com/cloudflare-us-law-terrorists...
The refusal of glibc (and I suppose, POSIX) to adopt strlcat/cpy is continually obnoxious.

That said, if you actually need efficient string operations, you probably want a Rope data structure rather than any libc primitive.
The script uses BigInts to implement (sort of) fixed point arithmetic. So with 100k as input, each operation works at a much higher precision.
I have almost forgotten that it’s even an option to click and drag! On my trackpad I use two-finger scroll, and my scroll-shell mouse can handle horizontal scroll just fine.

But honestly even then it’s not common for me to run into those. I’m a keyboard user, so the thing I get persnickety over is whether or not you got your focus order right, if you steal keyboard focus senselessly, or if you made a UI that only responds to mouse clicks.
Oh I know, I actually don't expect it from Typescript. It's portability with JS code is TS's best feature and I don't see how you could marry the two (maybe I'm wrong here). I just wanted to share how much I like pattern matching.
California passes bill that threatens Uber and Lyft’s business model
"healthy" is a loaded word. The article brings up a few statistics about salt, fat, etc content, but that isn't the whole story about how meat consumption affects the human body.

That said. Yeah, I'm not eating a burger for a healthy lifestyle, but I do like alternatives.
Ukraine Cyber Attack Looks More Ominous Years Later
The site you link to mentions nothing about deaths nor about people going to the United States for treatment, including in the linked PDFs. Perhaps you could have tried to address the claims made instead of leaving a sarcastic unconstructive comment.
Barely any connection? Like if there is only a single wire, it's fine because the data exfiltration / os manipulation takes long? Oh please. These two processors are interconnected and most of phones run some unknown untrustworthy software on both of them.

Some attacks:
https://www.fsf.org/blogs/community/replicant-developers-fin...
> bikes are far less likely to be found where left, and far more likely to be damaged, vandalised, and/or have components nicked.

I don't own a car anymore, but when I did I had countless break ins. Most times nothing was taken. Petty theft & vandalism is a problem here regardless of vehicle type.
I agree with everything you said except this:
> borders are also created by geography and culture

It seems to me that borders exist because certain people could wield power, and gain benefits from controlling land.

When we were hunter gatherers, the idea of "territory" makes more sense, because different clans were taking things from the land (including the ability to traverse it without getting into conflicts).

Also, there weren't enough people to fill the entire Earth, and no one had a house filled with every model of Playstation, so being Nomadic wasn't a huge burden compared to staying in one place.

Later, when we had organized militaries, and food came from working the ground for months, Kings could benefit by stealing land and serfs from other Kings that had rightfully stolen them from some other King, and so on.

I don't think too many land-grab wars started with the thinking, "You know what the French need? Culture. And boy, are we gonna give it to 'em".

And also this:
> the border of France and Germany, for example, is very real and those countries have different cultures

I hear that near the border, the Germans are even allowed to make wine, and the French are allowed to make bier! ;)
Apparently enough people care enough. Otherwise this wouldn't be such a contentious debate topic.
Is this responding to something in the post? They mention sampling across different pages and using "in-the-field telemetry", and the sibling post mentions battery testing, so...
Pepsico has launched a new cashback loyalty program called Pepcoin
It’s not more impressive when a significant part of his problems are self made. There’s a reason trade wars are not fought, and protectionism has (had) died out. It empirically has been demonstrated to cost an economy many multiples of any hoped for benefits. This is Econ 101. The US was last this dumb with Smoot-Hawley, and we’d learned our lesson for almost 100 years.

Next, instead of paying down the debt, he ran the deficit up willingly during good times. Also bad Econ, no matter the party.

Steel and aluminum tariffs have raised the price of either in the US far above outside markets. As a result high tech industries that used to take that and turn it into precision instruments are losing foreign markets, many of which will never come back. Who wants unstable trading partners. And for what? Nothing but a handout to a few steelworkers at a large long term cost to consumers and producers alike.

The net result of all this nonsense is not making the US better off; Trump is running record trade deficits, despite saying he isn’t (easy to check). This is all unnecessary and only hurting the economy.

There’s a reason we (and most other countries) don’t do this type of nonsense anymore. It simply ruins economies. He was handed a strong one, still on an upswing. These choices will likely wreck it before it would have, through simple bad decisions.
The Communication We Share with Apes
Setup and use Shopify metafields in your custom storefront
Why do we need competition for prisons?
There are a few ways to get exhaustiveness checking in TypeScript when using tagged unions. The way I usually do it is an assertNever function like this:

function assertNever(value: never): any {
return value;
}

Then if you call assertNever on your variable in the default switch case or the last else block, TypeScript will error if you didn't handle every case, since it expects the variable to have been narrowed to the "never" type since there's no remaining value that it can take on. That's also a good place to do a runtime check since TS types aren't guaranteed to match runtime values.
With Python, generally speaking, if you are more than a few indentations deep you are doing something wrong.

Flat is better than nested
You normally check in bags for your final destination when all legs of the trip are with the same airline
That place is beautiful.
https://gizmodo.com/kickstarters-sleazy-union-busting-campai...

According to Kickstarter:
"On retaliation: In May, 28 staff members put their names on a statement supporting the union efforts. Fifteen of those staff members were on a cycle that made them eligible for mid-year raises or promotions. Fourteen out of those 15 received a merit-based raise, and three were promoted. That’s not the behavior of a company that is looking to punish union supporters."
> I doubt LPR will be the primary utility of this kind of tech.

You're right. LPR isn't going to be the primary utility, but it's very possible that this will be one of the first areas to benefit from this tech at scale.
Ah, jeez. Yeah, it seems fairly obvious that spending that much time in front of a screen isn't the path to happiness. If that's what he did with his time off no wonder he was unhappy with it.

I need to at least do something physical to be happy.
> If anyone ever looked at the stats and saw that people released from private prisons had much shorter life expectancy, then convicts would choose state prisons.

No, they would not, because there is huge information asmyettry here and, and generally convicts have lost access to the sorts of publications with this info.
>Then the private prison's revenue dries up and they go out of business

Eventually.
In the meantime ..say.. for about 10 years they make great money.
It is a nice idea, but I don't think many private companies are looking that far into the future to figure out where to best get their revenue. They can gamble on something that might not be totally under their control years out into the future, or just try to get more bodies in the prisons now. A ruthless "rational" actor would go for the second option.
Manjaro 18.1.0 – Juhraya finally released
Big fan of the iron curtain, then? The way borders between North Korea and China/SK are secured too? Protesters being shot to death at the Gaza Strip borders? That's fine?

There have to be reasonable limits to how you secure your border and whether you violate international and local laws to do it. The US border is currently being "secured" by ignoring lots of laws and treaties we agreed to re: asylum seekers and people seem to be OK with that even though the result is dead or horribly ill asylum seekers who have done literally nothing wrong.
Or improve policies that lead to lower rates of those crimes.
It sounds like you're a teenager taking some college courses while finishing high school? Or an early admit for college?

I did that too. I started taking college courses when I was 11. It really sucked when I blew out the curve in the class and 18/19 year old kids wanted to beat me up for it (I can't entirely blame them, but luckily the prof was cool and threw my grade out of the curve).

I ended up only doing college in summers -- I never took the option to go full time in college. Some other kids in my program did. One of them really wanted to get into CalTech, but they denied him, saying he wasn't well rounded enough. So the next year he joined every club on campus and tried to be President of as many as possible.

He burned out and had to take a year off from all school.

I tell you all of this to tell you that you are not alone, there are other people out there who have been there with you.

> I feel like I over-invest in everything I do and it often hurts

If that's how you feel, you should cut back. Burning out before you hit your 20s isn't good. If you do one or two less clubs or activities, it won't really make much difference in your life.

> first I have a feeling of imposter syndrome when it comes to learning

We all do, especially when you're in college at such a young age. But just imagine how all the older kids feel seeing you there. They probably feel like much bigger imposters than you!

> I'm worried about being a class in which I have a hard time following the professor or the assignments seem unclear

Go to office hours and ask for help. Profs don't look down on you for doing this, they look up to you for being responsible. And if you still can't do it, just drop the class. There is no shame in dropping a class that just isn't for you.

> I'm struggling with questions such as whether I'll be able to get into top colleges,

You're starting college early, you'll almost certainly get into a top college if you keep your grades up. I had a 3.1 GPA in high school, but simultaneously had a 3.5 in my college classes, which counted as a 4.5 for admissions, so I still got into Berkeley.

> or even the worth of getting into such programs assuming that financial aid is hard to come by.

Usually top colleges make sure you can attend. Harvard is free if your parents make less than $60K a year, and I think Stanford is too.

And I don't think the private companies ever turn down anyone for loans. Getting money for college is easy (too easy), the big question is if you are getting sufficient value for that money.

Hang in there buddy, and don't stress so much. Enjoy being a care-free teen without responsibilities while you still can.
> that's like, global definitions, right?

No, not just global definitions. Closures need linking, too.
But the linker is doing much more than linking function entry points. Many automatic (on the stack) variables need linking so the GC can (a) trace the object graph and (b) move them when resizing the stack. Likewise, type definitions require metadata generation for GC tracing. And then there's all the debugging data that needs to be generated, which basically involves everything.