skysight-inc/HackerNews huggingface dataset:
> I am likewise unsure how a language could get enums wrong, even after reading your post.

By allowing any value of the underlying type, even if they were not values of the enum. The language most famous for this is obviously C:

enum foo { A, B, C };

int main() {
enum foo x = A;
printf("%d\n", x);
enum foo y = 42;
printf("%d\n", y);
}

This will print `0` and `42` (https://godbolt.org/z/Yq8qq5bzW), because C considers enums to be integral types and will thus implicitly convert to or from them. And as you can see from the link, there is no warning under `-Wall`. Clang will warn with `-Wassign-enum` (which is included in `-Weverything`), I don't think there's any way to make gcc complain about this.

Now you might argue that this is C so obviously it fucks this up, however that C does this leads to further issues:

- For compatibility with C, C# enums have the same property. I don't know about you, but that surprised me a great deal since Java has type-safe enums (even if they're not sum types).

- Even more so, C++ added `enum class` in C++11, and obviously has inherited C's enums, but enum class still is not type safe, afaik the differences are that `enum class` is scoped (so in the snippet above you'd need `foo::A`) and it's not implicitly convertible with the underlying type. But it's still explicitly convertible (via a cast or list initialisation), meaning you can't assume a caller will remain within the enum.
Last I looked the rails like JS framework was https://adonisjs.com/
Mathematicians find what’s possible, then leave the algorithms to the computer scientists.
Oh, I thought this was a story about a Python installation that had gone rogue.
I know some people who do but they are all losers.
I have not, but I would have loved this when I took Digital Logic courses. Very cool stuff
Remix feels a bit like Ember routing, but with SSR and React.
The routes of his 3 journeys never cease to amaze me:

https://www.maas.museum/observations/2012/04/17/cooks-three-...

Longitude was from astronomical observations and quite inaccurate, they had little knowledge about the prevailing currents and winds and they we’re doing huge passages away from land. Often having no or little proof that they’d find land they were aiming for.
Keep in mind that privacy doesn't apply to cash transactions when either party reports the income or uses the expenditure as a tax deduction.
What are some evolutionary explanations for consciousness? What does the organism gain by expending energy to make its experiences conscious?
In the US, healthcare costs will eat you alive, eventually.

The social safety net here is failing, it is starved for money. That funding is being diverted to the military industrial complex, and tax cuts for the rich.
In the 80s when I grew up. The library had two books on AppleSoft Basic. I learned the intricacies of the //e from InCider and buying books and software based on sending in a card in the back of the magazine where you could circle the products you were interested in.

The store owners were far from “experts”. They were either minimum wage workers at Sears who were in school or sales people selling to businesses.
The private model does work elsewhere in the world but I'm not sure whether we completely understand the differences and what makes these other countries work so well.

On the other hand, we tend to have rose-tinted memories of how cheap everything was in the old days, which I don't think is true. For the level of subsidy that our railways have, they are probably not actually that bad. Many people have said before that even places like France might do well on the high speed lines but their secondary routes can be as rough as ours and they get much more investment.
Yes definitely. Though I see mutual ass hole manager buddies leaving good reviews for each other to help bump themselves up. As long as several bad reviews are in there you'll have an idea.
Background: went to US with my wife through L1 visa, now have an employer-sponsored green card through my wife's employer. So my experience is limited to employment-based immigration into US.

> In the US, I would get a Green Card in two years.

This may be a too optimistic of a timeline.

> My parents live in India and one day I want them living with me.

If you were born in India, the wait times for your green card are in decades, assuming you fall into one of the more common immigration categories. I am not sure when you would be able to file for green cards for your parents, but it's most likely not before you have a green card yourself.
Seems like a good fallacy to keep running a old diesel and est meat at every meal because “the corporations do it” to me
> Check the upvotes.

Check the upvotes on my comment.
Getting a little too off topic and political for HN, but...

I think the trouble here is that the only way Labour could win is by aggressively moving towards the centre, which as you describe they are doing. Loosing Scotland to the SNP has completely cut them off at the knees.

What we really need is complete electoral reform and moving to a proportional representational system. Exactly as you describe we no longer have a simple left and right to our politics, Brexit proved that. It will be painful while the main parties shrink and smaller parties grow but I believe the outcome would be a more effective and representative government. Trouble is neither main party could push it though as it would result in them having less power, that's a hard sell.
I'm continually (positively) amazed at the commitment to backwards compatibility from the Linux kernel team and continually abhorred by the number of footguns in C/POSIX/Linux.
Great idea (despite the dubious legality).

Perhaps a section on what can be done with the data? Your potential clients are probably the type of users who don't know why they'd need such a tool. And an explanation of the sentiment analysis?
It's funny how the same reasons third party devs hate the iPhone are roughly the same reasons I bought into the iPhone ecosystem.
We'll see if it's more of a GTA 6 or more of an excuse for GTA Online 2.
Great questions. 3 years from now you will have completely different answers.
I think the point is that the average person is an idiot.
Commenter mentioned "...throw in Fox news, or one of the alt-right shills". Not "...throw in Fox news, one of the alt-right shills"

Comprehension 101
Oooor the language can have proper type-safe enumerated types of some sort, and if you're in a domain where that's an issue you don't use them.
I've always been fascinated by VBA + Word.

Such a strange concept that was way ahead of its time and mostly ended up being used for viruses.
Ads yes, usually from random B2C companies, but I adblock so I don't see any. People who aren't your friends, no, you only see those who you follow.

I also get messages or pictures from people I'm friends with, but for people who are more acquaintances, I follow them on IG and see what they're doing, and if it's interesting I'll comment on the post or message them, and catch up with them that way.

It's also somewhat of a hassle to send messages and photos to people when you want to share it broadly, such as a trip you went on or something. People might also not necessarily want to see what you're sending all the time, so an IG post is an easy way for people to follow you and what you're up to.

You can almost think of it as RSS for your friends and family.
Oh, regarding rure go, the bugs note about using int is inaccurate. Go spec says max length of any object can be stored in int. You can't build a too big haystack.
This is why I think Go could benefit with an LLVM target.
Someone once asked oil tycoon J. Paul Getty how much money is enough. He replied, "A little bit more."

(https://www.resilience.org/stories/2014-12-21/greed-explaine...)
How did jOOQ get started? – Twitter Thread
I can build SPA-s on my own. Based on your assessment, should I ask for infinite salary since my work is Google scale?
78% of homes have a computer in them. [0] I don't know anyone who does not use a PC for personal use, and my non-work social circles are not at all techie dominated.

Also I'm not talking about 2021: I'm talking about years ago when Facebook moved away from prioritizing the PC platform. Maybe it wouldn't have mattered, I don't know, but when FB became a primary entry point to the internet for many people, and FB then mostly ignored desktop experience, it certainly accelerated any decline already in place. But had they enriched that experience, maybe there'd still be a much stronger following there.

[0]https://www.census.gov/newsroom/press-releases/2021/computer...
Vulnerabilities Identified in Nooie Baby Monitor
> > user code could simulate non-deterministic

> I'm curious how?

if rand.Intn(2) == 0 {
select {
case: <-chan2_whichItreatTheSameAsChan3 // a higher priority
case: 0xFF ->chan3_whichItreatTheSameAsChan2
}
} else {
select {
case: 0xFF ->chan3_whichItreatTheSameAsChan2 // a higher priority
case: <-chan2_whichItreatTheSameAsChan3
}
}

Yes, it increases verbosity to the other way, but no performance loss.
Why would disabling personalized ads necessarily disable tracking? [EDIT] Consider: toggling the display of something does not necessarily change the underlying data, or data collection, behavior.

Why would all data used to personalize ads have to be tracking? It could also be things like purchase data from the very service that's advertising to you. Halting collection—not use for ad personalization, but collection—of that would go beyond what even I would consider tracking (and I think most of what goes on in the ad world today should simply be illegal). It would be possible to personalize ads only based on this kind of thing—in fact, that's what the article seems to imply is going on, at least in part.

So there are at least two ways that setting might mean something different from one that disables tracking.
>> Why did Obama write it off as a non starter?
>Joe Lieberman.

This... doesnt even begin to make any sense.
Not your fault, but in part your responsibility to fix it which would likely be incurred by higher rates in the future to pay for maintenance. Those maintenance costs can be an externality for end-users as well. Fines and costs will trickle down to consumers (that's not to say they are unwarranted).
In the context of my statement

>>> Go will generally be vastly faster than interpreted languages regardless of versions.

Python is clearly in the latter group.

As for,

> byte code is typically closer to machine code than it is source

I would very much like to see some evidence; last I'd seen, it was basically tokenized source code and that's it, still nowhere near anything resembling binary executable code.
Yeah it feels like this NextJS opinion is very out of date.
if you are a high achieving person, the amount of opportunities in the USA are endless. For a person like yourself, i would say USA is the way to go.
You just fully described cryptocurrency transactions. Crypto having the additional benefit of applying to online transactions as well vs in-person only transactions with cash
Related is the importance of the exchange of business cards. In Australia if you gave me a business card, it's entirely pragmatic, it's for me to call you later. I pocket it and never think about it again.

In Japan you often see an intentionality in the inspection of the business card, as if to suggest that you appreciate this very important step in our upcoming business relationship, and I am very impressed by your card and it's credentials.
News Corp suspects China behind cyberattack on its system
You can use Safari along with privacy relay enabled to minimize websites’ tracking.
> Our bill went up by nearly 50% this winter

What is happening in Europe is of a different magnitude. Gas prices on variable price contracts have tripled here in Belgium. See graph here:

https://callmepower.be/nl/energie/gids/tarief/prijs-gas#gasp...
My verdict's still out on whether GTA 6 or Metroid Prime 4 will release first.

For those not aware: Metroid Prime 4 was announced in 2017. Development was apparently so bad that the all the work was scrapped and restarted with a new studio in 2019. (With an uncharacteristically candid announcement/apology from Nintendo). And very little, if anything has been heard since.
https://en.wikipedia.org/wiki/Metroid_Prime_4
Units of US Federal government can also be "sociopathic" about payments, especially timescales for small, cash flow focused companies. One of those I worked for which did a fair amount of business with them in the 1990s found a discount for payment in 30 days worked wonders.
This "privacy push" is only a change with respect to IDFA -- something specifically built by Apple to compete with Google's advertising ID. Opting out system-wide was already possible, but unsurprisingly its existence is not something that's well-known since Apple has established themselves as Goddess of Privacy: https://en.wikipedia.org/wiki/Identifier_for_Advertisers.

To me, this is closer to "Apple spying technology becomes opt-in and no one uses it anymore".
I'd be going through an L1 > EB1 process. So no wait like H1B.

Could sponsor my parents once I'm citizen after about 7-8 years.
Detecting Heart Attacks with ML and Single Lead ECG
How do I know you showed your partner's boyfriend this post, seeking his approval

"Heh I sure showed that chud! Hope he thinks next time about posting uncomfortable facts online!"
This aligns with my experience. It’s also a classic case of picking the right tool for the job.

I think RoR is an easy choice for anyone looking to ship some variation of a basic CRUD app. Trying to do anything interesting (read: competitive in today’s SaaS market), however, becomes a chore in reading source code to understand undocumented “magic” and fighting the framework. Use Rails if you ship many different CRUD apps or a CRUD app that is just a frontend to your services business (your “real” product).

On the other hand, learning how to bootstrap a proper JS (ideally TS) app is a job for someone with time and experience. Even then, not all answers are satisfactory. The benefit is the full power of modern web is unlocked. Use JS if you’re trying to build a company that will live or die on a single SaaS product.

Every company I’ve worked at falls squarely into the “single, innovative SaaS product” category. The ones that have started on Rails always tack React on top and then it’s just a world of hurt as the complexity gets out of control.
No, a lot of SPAs don't use WebSockets at all, they just use xhr requests.
The argument doesn't go away though that nationalised industries are largely unaccountable like the governments they report to.

I worked for the railways immediately before and after privatisation. I can't speak for the whole network but there were a few of us who enjoyed the work and a whole load of people who were happy to sleep through most of their night shift (including the Managers). The awful truth is that money is a powerful motivator for Directors and shareholders although clearly with the danger of moving too far the other way.

I'm not sure there are any decent models that could get the best of both worlds. They tend to be nasty bureaucratic PPP type deals which bring more mess than they clean up.
Yes! I don't earn money to watch it sit in the bank. If there's something fun out there that I might like to buy, show it to me!
That quote is obviously correct, though. Let's say, for example, that it's "discrimination" to forcibly remove wealth from a specific person to give to another. It would be discrimination to take $100 from me and give it to you. But it would be pretty rich of me to complain about being discriminated against if it turned out I had stolen your $100 in the first place!

A different example. We're playing monopoly. I have a house rule that every time you make money, it goes to me. Every time you acquire property, I get it. Then the house rule changes and you can acquire money and property… but I still own everything of yours I've taken until now. Is it wrong to discriminate against me by redistributing my resources to you?

Here's some more context to that quote, by the way:

> Someone reproducing inequity through permanently assisting an overrepresented racial group into wealth and power is entirely different than someone challenging that inequity by temporarily assisting an underrepresented racial group into relative wealth and power until equity is reached.

> The only remedy to racist discrimination is antiracist discrimination. The only remedy to past discrimination is present discrimination. The only remedy to present discrimination is future discrimination. As President Lyndon B. Johnson said in 1965, “You do not take a person who, for years, has been hobbled by chains and liberate him, bring him up to the starting line of a race and then say, ‘You are free to compete with all the others,’ and still justly believe that you have been completely fair.”

https://www.penguin.co.uk/articles/2020/june/ibram-x-kendi-d...
Now the USA private central bank is bailing out the banking system worldwide. August 2019 bank overnight lending 'repo' seized up for European banks. Federal Reserve stepped in. Europe is set up to default on government debt, and people in other countries should not be tied to that failed experiment.

As a hedge, it may be prudent to get some eth and btc and hold your own keys to it.
> Everything else is a given.

Would you please send a link that summarizes this "everything else"? Every time I take a look at JS ecosystem I get lost.
I have several

Thanks for asking
That's true, I have group chats in in as well, but FB and IG serve somewhat of a different purpose for me. See my other comment:

>I also get messages or pictures from people I'm friends with, but for people who are more acquaintances, I follow them on IG and see what they're doing, and if it's interesting I'll comment on the post or message them, and catch up with them that way.

>It's also somewhat of a hassle to send messages and photos to people when you want to share it broadly, such as a trip you went on or something. People might also not necessarily want to see what you're sending all the time, so an IG post is an easy way for people to follow you and what you're up to.

>You can almost think of it as RSS for your friends and family.
Unless it's just speech, most people can. Even then the low level noise can make a podcast tiring to listen to.
My favorite story about the guy: https://medium.com/@CelikBugra/psychoanalytics-behind-the-ca...

TLDR: Cake mix was impopular and the Betty Crocker company did not understand why. They went to Bernays who theorized that it was because cake mix was "too easy" leading to housewives feeling guilty that they weren't really contributing anything to the cake. They changed the recipe to include a fresh egg instead of just water and the sales increased substantially.
> To be fair, they kind of did that to themselves with the GPL

Well at this point, even if they wanted to change the license of Linux, they probably couldn't. Every contributor would have to agree to it, which is unlikely to happen, even if you ignore the logistics of asking everyone.
Is HIV commonly spread through contact at restaurants? What sorts of restaurants are you going to ?!?!
Looks like I need a new word to describe a system where everyone rules, rather than certain people or organization, since both democracy and direct democracy are apparently taken to describe systems where all people don’t actually rule. Maybe “actual true direct pure democracy” should do.
Steve Troughton-Smith:

> Absolutely vile. This says everything about @tim_cook’s Apple and what it thinks of developers. I hope the company gets exactly what it deserves. Everybody on their executive team should be ashamed, and some of them should not be here when it’s all over. We all see you

> We’ve been told that if Apple ever asked its employees to betray their principles, they’d leave. In a similar vein, everybody, top to bottom, involved in planning, editing, implementation of everything in this document should leave Apple. You betrayed us

https://twitter.com/stroughtonsmith/status/14895589519056691...
I tend to think of it the same way I think of moving to an eventually consistent database. You do it when you have to, and as little as possible.

You correctly identified the overhead of these approaches is massive and has implications bigger than the software. The impact on developers cannot be understated.

The approaches you listed are useful, and the dissent I have isn’t so much on the approach, as the timing of when it gets used. Tons of software will never need its benefits and shouldn’t pay the tax ever. Paying the tax before you have to is very rarely worth it in my experience.
Would this really be true? It sounds broadly plausible, but I've also read about substantial growth in the technology sectors of Ottawa and Kitchener-Waterloo projected to increase, so I was under the impression that there is real innovation in the country.
I mostly agree, but it's very nice for the x% of your application that is real-time interactive. In some cases, x is high, such as Figma.
This is mostly for regulatory reasons.
But it wouldn't produce the exact same thing. Going by the original figures, which were yearly, methane leaks have a harm magnitude of 28 kg/person/year, while the vegan switch would be 1 kg/day, which is 365 kg/person/year, still much more impactful than the savings from sealing leaks.

With that said, the OP's [tgsovlerkhgsel's] general point is still sound, that there is much lower hanging fruit for reducing emissions that would be revealed by a neutral penalty system applied universally, and also show lifestyle changes to be a disproportionately burdensome measure.
> Are we hoping then, by hiking the cost, it ushers in a new discovery of lower cost energy, with fewer externalities

Not just discovery. We already have plenty of measure to either use energy more efficiently (such as improved insulation in a home) or things like renewable energy. And as you say, the cascade of energy use into many more aspects of the economy than people expect should trigger a realignment of consumption to means that are less likely to have energy-based externalities somewhere in their supply-chain or operation.

> Or is it simply we must accept a lower standard of living permanently

Depends upon the implementation. If we are replacing existing taxes (like corporate or income tax), or refunding the amount (via a citizen dividend or similar) the net impact shouldn't be a lower standard of living, though the distribution will affect people differently.
>>if we could put it in a light enough structure

And there's the problem.

Containing a gas with pressure equivalent to the outside air requires just a membrane. Storing a vacuum requires a container that can resist external pressure of ~ 14 psi. It scales very badly.

This also creates an insane amount of stored energy in the stress on the shell. Here's a couple of videos of vacuum crushing steel tanker railroad cars [0] [1]. Of course that size doesn't even begin to scale up to the level of vacuum that would be required to buoyancy in the earth's atmosphere.

[0] https://www.youtube.com/watch?v=VS6IckF1CM0
[1] https://www.youtube.com/watch?v=yBq5uapC-e0

I'd think the only way to do it might be to have many small hollow spheres contained in a net or something, but the trick would be for each one to be light enough to be positively buoyant...
Animated favicons remind me of <marquee> (and the later even more annoying <marquee behavior="alternate">).
But this is dualism. I don't accept a difference between mind and body as a materialist.

edit: I can use a computer to remind me to use a computer to remind me about something. I can lose the use of my hands and eyes by severing biological wires. I can't pinpoint a distinction between me and the computer. I can't pinpoint a distinction between me and you, other than distance and mechanical connection (which we currently have, with some latency and signal distortion.)