skysight-inc/HackerNews huggingface dataset:
>Why do you think happiness is a truth and depression is a lie?

My enteri point is that depression is not absence of happiness, even perpetual.

>This is why people with depression suffer

What makes your qualified to speak on their behalf?
What is the Hard Part? Four ways things can be complex. One is a dragon
Julia makes a number of (in my opinion) really good tradeoffs here.

1. You can't add fields to a type (struct) after definition. This means that Julia's structs have no overhead and are essentially equivalent to structs in C (although they are parametric)

2. No local eval. Eval in Julia only happens in the global scope and results of eval are only visible the next time you visit the global scope. This may sound kind of unintuitive, but in practice people don't generally use this for good reasons. This allows Julia to never need to de-optimize code. Once a method is compiled that code remains valid.

3. Macros. Julia has really good macros and other code manipulation (since it is basically a Lisp). This makes it possible to generate very complicated but fast code that you would never write yourself. The tradeoff here is that it makes the language more complex, but that's a pretty good tradeoff. (especially compared to the C/Fortran land of using a preprocessor that works on text).

4. Just-In-Time (just ahead of time). Julia at it's core runs as if it were highly templated C++ code. If everything got compiled ahead of time, Julia would be generating terabytes of compiled code and never finish compiling. Instead, Julia makes the tradeoff of only compiling for the argument types that are actually used in the program, which means that it only compiles a reasonable amount of code. The tradeoff here is that compiling small binaries with Julia is very difficult (not possible to do automatically yet).

The TLDR is that most expressive languages started by giving away as much expressiveness as possible, and then looked at how they could be sped up. Julia started by being a modern fast language and looked to see how much expressiveness could be added without slowing the language down.
I'm pretty sure you're replying to a joke.
(sidenote: propaganda does not have to be false. propaganda can be true and can be objectively good and useful information. so always couple that with solid points about why the information should be ignored, or skip the propaganda label entirely as it has lost all meaning.)
it's so depressing working a good job in the imperial core and having it be like this. The generations of exploitation and extraction we've waged against the natural world and the people outside of the imperial core would at least make some sense if we all got to have the good stuff stuff but we don't.
There was a North Africa project to power Europe using this approach called Desertec. Here's a fairly negative review of what happened.
https://www.ecomena.org/desertec/

One issue is that they tried to set up an export system for solar electricity before they ensured that the local economies would have priority access to reliable power, that may have been a central problem.
I'd wager Pat doesn't get out of bed for 10k units and neither does Lisa.
What’s the thinking behind it? What is the real advantage to Toyota pushing petrol? Do they think they’ll be raking in money when they’re the last petrol engine cars you can get?
At least at the football games I've been to, the videoboards aren't primarily used for ads but to show score information, close-up camera shots, instant replays, gimmicks to hype up the crowd, etc. There's some advertising but it's usually in the form of the announcer saying "now let's watch the best plays of the year, brought to you by some random insurance company!" Most of the ads are old-fashioned paper billboards placed next to the videoboards, and not in distracting places like on the sidelines.

Televised football is totally different -- the ads are absolutely obnoxious. But I guess if you actually buy a ticket then they're incentivized to actually give you a good experience. Maybe NFL stadiums are worse than college stadiums, or maybe my school is just unusually pleasant, I don't know.
My wife took a year off (she got 3 months salary) so I worked a second job in the evenings to make up the shortfall.

Thanks to my parents they only went to daycare when they were about 4 years old - the baby section of their daycare took in babies from 6 months old.

To me it looked like those Romanian orphanages you saw after the fall of Soviet era dictator.
Did my final year project in SmallTalk-80 on the SUN systems. Was that really thirty years ago? I recall the funky UI that you could edit from in the UI itself so it was like self-modifying code. Very freaky!
Not being cartoonishly evil should be a low bar to pass?

Edge is probably nice, forcing users to use it is not.

One should think they'd learned after being forced to advertise other browsers for a couple of years?
> There are not going to be political purges of SourceHut users, but we will not tolerate bigotry, and should we discover that any of our users are affiliated with organizations who do not uphold our values, we will
ask them to leave.

Yikes. That... sounds like a political purge.

I'm not interested in US politics, but I'm also not keen to see that.

On the plus side, if Sourcehut do decide to enact that, people are able to host their own version.
What would make the ecosystem better is not to tell everyone to jump like a good little puppy every time Micrsoft squirts out a new release.

I have used .Net since the pre Alpha 1.

The consulting company I worked for needed X number of consultants certified on this new platform thing so they
picked a few of us and said that this .Net thing is now us,
run to get certified so we can have our super triple gold star parter relationship.

My background was C and C++, Delphi, some Java for the past year.

So now I was ordered to be a .Net guy. Yay.

A couple of days ago Microsoft officially released
C# 10 and .Net 6.

I like reading books, I had preordered

Pro C# 9 with .NET 5: Foundational Principles and Practices in Programming 10th ed. Edition
by Andrew Troelsen

It came out May 14, 2021, which is around 6 months ago.

The new version for C# 10 and .Net 6 will be released around
May in 2022 about 6 months from now.

It is not just small changes either.
If you know C# 2, there is a lot of code you will not be able to understand in C# 10,9,8.

Sells books, blogs, ads, conferences, where people who have spent 4 weeks with a beta version, teach you how to be a master C# developer with C# 10.

To be a "good"/"up to date" C# developer, who does not bring in all the "old stuff" from 6 months ago you have to spend time reading blogs, downloading alpha and beta versions, and keep track of what MS promised would be in the next release and what never made it.
The "oh its new, shiny, shiny, shiny".

I like to wait for a proper release before I spend any time on it.

I still have my 2nd edition of C Programming Language K&R from 1988.
It is still relevant and informative in 2021.
(It is also well written).

It is impossible to master a programming language and framework that is a constant moving target.

Many programming languages are able to be both useful and produktive without
being stuffed with new features of keywords and convention every 12 months.

Right now, there is not a single programmer in the world who has mastered C# 9,
certainly, none for C# 10.

Oh there are a lot of bloggers and fanboys who have -used- C9 maybe even C# 10,
and who make $$$ writing, speaking, consulting etc. But using and mastering are
two very different things.

So please, wait 5 years before the next version of the programming language is pushed.
If there are crucial bits you have not been able to get right in 10 version of a programming language, taking a step back would be a great idea.
Fullscreen API on iPhone. Chrome on Android supports the fullscreen API, I use it to create interactive demos, however iOS (iPhone) Safari does not. Inexplicably, it's supported on iPad, but not iPhone. Why???

https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_...
Your instinct that Julia is making tradeoffs is indeed correct, however I don't think it actually limits the expressiveness of the language. I happen to think that Julia is a more expressive language than Python. However, it does require learning new patterns and paradigms and someone who tries to write Python code in Julia is probably bound to eventually get frustrated.

A huge part of the design considerations for Julia essentially boiled down to "what sorts of dynamism and language semantics can we disallow while keeping the the good parts of dynamism"

The two biggest things that had to go in order to make Julia fast was

1) the ability to change the memory layout of a struct in a running session

2) the ability to eval in the local scope (our eval always occurs in the global scope)

These two things are huge performance problems. We might oneday solve 1) with Revise.jl (though it'll mean recompiling all your code if you do change the layout) but 2) is basically just a very bad idea and likely to never happen. Instead of a locally scoped eval, we have macros, multiple dispatch, parametric types, and generated functions. These give an incredibly powerful suite of metaprogramming tools that are beyond anything available in Python.
As an end user, I felt like Safari should have done better. And extension for Safari are gated behind app store only (no sideloading the extension).

Also I came across a few sites that Safari couldn't render it correctly whereas Firefox and Vivaldi show the site just fine. I only use Safari as a last resort and only used it for Zoom/Doxy/Whereby/etc.
I should have expected "it works for me" to be the go-to reply about why desktop linux is still terrible after all these years.

The web browser is pretty much the best thing that ever happened to linux users because now their $favorite_distro is actually a viable desktop platform.
Sorry to hear - you did the best under circumstances - you could not help her medically or otherwise but did the only thing in your control - make sure the insurance coverage was there.
Ask HN: Do you think planned obsolescence still exists?
I have an iPhone X that was blazing fast and had zero problems until (almost exactly) the launch of the iPhone 13 and iOS 15.

So is it the case that iOS 15 demands just enough more from my phone to make it lose its snappiness? And by that I mean, sometimes there will be input lag when I’m using the touchscreen, random apps taking too long to load/crashing, etc. Minor things, but the stark contrast between now and 3 months ago is shocking.

The surprising part is iOS 15 was a minor update - there are no features that I would conclude demand more processing power. So is Apple just not optimizing their iOS releases for a 3 year old phone? Or is this planned obsolescence?
>When they are big enough to hurt others badly by being careless, then they should be taken to task just for being careless

I guess this is where I'm having difficulty -- Who's being hurt badly here? What was the actual damage?

I guess I'm just having a hard time caring that google and apple are duking it out?

Like...out of all the things google does to get up in arms over, I'm having a hard time ranking getting a number wrong on a slide....and with all the things apple does, and all the resources they have at their disposal, I'm having a hard time finding much empathy for it.
Hydro is a cheap and clean energy source that complements wind and solar just fine. There is high variability in solar if your expecting 100% of solar power to be consumed, if you accept most solar power is going to be wasted because it’s still cheap at twice the price then things start to very very different.

2X = 4c/kWh solar + batteries + wind + hydro solves the grid just about everywhere. US might only get 6.6% of annual electricity from hydro, but it’s already a huge grid scale battery storing up extremely intermittent rain into dependable power. 6.6% 100% of the time is already an 80+% solution 5% of the time.
>Could just avoid all of that by going underwater along the coast.

Not at a tractable price. Adding saltwater never makes things cheaper.
Josh/CTO of Mailgun here - I took a look at this case and these messages were being sent from the sandbox feature of our service. The sandbox only allows messages to be sent to "authorized recipients" through an opt-in mechanism, which makes it impractical for spamming and phishing. The purpose of this feature is to allow customers to get comfortable with the interfaces and test the product in a safe way without having to add DKIM/SPF records. I reviewed these messages and confirmed there is no illicit behavior, likely just a misconfiguration from a user of radiotoolbox.
Since this relies on a local index, does that not mean that it needs to download all your email to be able to search it? And if I want to search on a new device it needs to download all my emails for me to search?
Apple digital ID scheme comes with conditions and costs
Some European countries require the parental leave to be shared to some degree.
Here in Sweden each parent gets 90 days of parental leave each, and the remaining 300 days can be split in whatever way the parents choose. You also don't have to take all the parental leave at once, you can spread it out over a few years (and 96 of the days can even be saved until the child is between 4 and 12 years old if you want).
Herman Narula: we must “categorically prevent” Facebook running the metaverse
“The danger is not the convergence of the digital and the virtual world”, he responds. “The danger is in the continued refusal to address the elephant in the room: unelected, non-democratic, globe-spanning digital empires, housing our data, making policy choices about how you and I live our lives, and taking an indefensible tax on every transaction… Our problems with Facebook are not problems with technology. They’re just problems with Facebook. ”
It's possible there are a few standards–not only one, but also not infinite.
fair but id assume the algorithm prioritizes watch time anyway. people might dislike a video but then watch it anyway… guessing youtube is going to opt to keep showing the video.
> That's $2983 per month.

Before taxes. That's in the area of 2400/mo after taxes [1]. My family of 3 pays around 600/mo for health insurance after employer subsidies, so call it 1800/mo. So after rent now you're living (with an infant!) on 800 a month. That's brutal.

My newborn burns nearly that much just on formula, diapers, and life-critical medicine.

[1] https://smartasset.com/taxes/paycheck-calculator#nNffey40fm
I miss using Linux as my daily driver because its compose key support was unsurpassed. Easy to set up and to add sequences if the mood strikes you. Beyond simple accent marks, it could handle arrows, basic smileys, and even the Greek letter pi.

Meanwhile on macOS Big Sur, Karabiner seems to no longer work correctly (and was a royal pain to set up besides), the US International layout doesn't include a proper compose key (it just turns all punctuation keys into dead keys), and the dead keys don't even make all basic combinations (e.g. Polish "ć" or Esperanto "ĉ").

Seriously, Apple had to go out of their way to screw this up! Just tack the Unicode modifier character (e.g. U+0301) onto the end and run Unicode normalization! I get that you don't want this when you have dead keys doubling as normal keys, but dedicated dead keys (e.g. Alt+E) should just always create the character you're asking of them.

Just let me set one of my modifier keys to a proper extensible compose key!!
See my reply, sibling to yours.
Useless Machine Web Edition
Sort of. I suspect an under-appreciated part of the modern Web performing so poorly is how casually we throw in vector graphics (SVG, mostly) and draw/transform shit with CSS, these days. Those used to be things one simply did not do without an excellent reason, because they're computationally costly for the client. In maybe a couple years' span they went from "wait, don't do that, it's bad for your user" to "LOL SVG icons are so convenient, let's use them everywhere, and then maybe skew and manipulate them with CSS at runtime because why not".

[EDIT] To clarify, this is relevant to cutting bytes because encoding graphics with SVG or drawing them with CSS can mean shipping fewer bytes than JPGs or whatever.
Explain Yourself – A Primer on ML Interpretability and Explainability
Isn't Javascript awfully close to Scheme (in subset) but with C-ish (algol-ish, java-ish) syntax?
This ends up being a super unergonomic API in practice because you would need to modify the type-checker to infer positive integers correctly. Nobody wants to go through the effort of

NonZero = NewType(‘NonZero’, int)

if x != 0
x = NonZero(x)

just to call your function, especially since you still have to handle the case where someone does NonZero(x) blindly without checking. Should the constructor throw?
Vacancies were also (relatively) high during that time.

https://fred.stlouisfed.org/series/ESALEUSQ176N

I think this is what matters most. It's good to have some vacancies so that people have options but too many likely indicates there's some speculation/over-building going on that the market doesn't support.
That has to feel bad and I think you set a beautiful example for people who find themselves in this position in the future.
Please explain. Nearly everyone else seems to think that there are no technical roadblocks, only political ones.
For cosmetics: https://www.ewg.org/skindeep/
>Hydro is a clean energy source that complements wind and solar just fine

Hydro has some serious downsides for the ecosystem of whatever watershed it bottles up. Maybe newer implementations solve that?
For the most part, it's not the COBOL itself that makes it hard to port. It's the features of the surrounding OS for things like screen layouts, batch process management (not cron like, but deep job dependencies, etc), database management, file transfer, user management, etc. So to port the app, you have to know quite a lot about what things like RACF, TSO, CICS, JCL, Tivoli, Adabase/IDMS/etc, are contributing to the overall app. Porting the COBOL is sometimes not even half the effort.
I have two smart switches attached to lights (since our apartment has no overhead lighting) and after a nightmare of setting them up (probably the hardware's fault, but homekit couldn't recognize them via normal pairing method) they worked for a few months.

Randomly though they fail to work in Home and I have to manually reset them by holding in the button on the device and redo the entire process. This isn't workable at any scale (it's even annoying with just the two that I have).
"Lena". They very badly mispronounce the name in the show.
Tier 88 cities are hardly villages, they are cities with 1 million or more people. And they aren't shrinking, they are growing as well, most of China's growth will happen in these cities, especially since they are much easier to get hukou in than tier one cities. What good is living in Beijing if you can't send your kids to Beijing schools?
YouTube takes down independent court livestreams
>To those who have been living under an anti-Microsoft-news rock for the last few days

Well, it was nice of the Windows side to wait for the .NET6 launch before stealing all their headline thunder by going back to the 2001 antitrust behavior of forcing the use of Microsoft's own browser. [1]

[1] https://www.theregister.com/2021/11/11/latest_windows_11_bui...
This doesn't load right for me on mobile (even with desktop mode). I am only getting the title.
I don't want sympathy or want to invoke empathy. I've heard enough "I'm sorry for you loss" to last me many, many lifetimes.

I just want to share my 2c on how my/our situation was made worse, now my girl is gone, I feel like it would be a disservice to her if I sugar coated my experience. I would've loved to never have worked a single moment during that time. Also, I'm a British guy who used the NHS extensively before I moved here. So there's that.
I wonder how reliable even the source video is at pixel-scale? If it's encoded with something like MPEG then not every macroblock is updated every frame, and even if it was then there are still compression artifacts created by the discrete cosine tranform.
Minor aside: Alex is currently a PM on Edge https://twitter.com/slightlylate

(I also don't know what you're referring to with the "Gaslighting" comment)
I'm not going to respond to your points because it doesn't work anyways.

Maybe I'll just point others to this discussion about whether lockdowns are a scientific response to the pandemic or not, from March 2020: https://www.researchgate.net/post/Do_you_think_that_a_nation... All of the yay-sayers thought the virus would be "under control" soon, and they all point to China as the example. Hindsight is 20-20, and many european countries are about to re-instate lockdowns for winter (see: Holland, Austria).

Otherwise, I'll just say that I think we both want to end the pandemic, right? Surely we're both interested in having a free and open society as well? What made you stop believing in that? Trumpers? I didn't know they were so powerful and evil. Are they making it illegal to work from home without a vaccine pass? Or is that you?

By the way, didn't the supreme court just pause the vaccine mandates precisely because of what I said about coercion and side-stepping established laws?
It's still unclear whether these are actual leaks (orphaned references), unconstrained growth, or deallocated memory whose blocks haven't been reclaimed by the OS. Automatic memory management would only help with the first case, and both Obj-C and Swift have it by default. Of course, it's entirely possible that the sources of these leaks are written in another language (C++ is fairly common) or Obj-C with ARC turned off (if that's even still allowed within Apple).
Does this post appear empty for everyone?
Kind of ironic, as running power lines seems as environmentally insignificant as they come.
"If there's no such thing as good taste, then there's no such thing as good art. Because if there is such a thing as good art, it's easy to tell which of two people has better taste. Show them a lot of works by artists they've never seen before and ask them to choose the best, and whoever chooses the better art has better taste."

Is anyone else finding this hard to accept? What if, for some mysterious reason, everyone chooses one particular artist? What if everyone knows good art from bad art, but there is no such thing as good taste precisely because everyone has the same taste?
Improving Power Efficiency in Ultra-Low Power Designs
Or to give more than a second's through to someone wearing a backpack, beyond "oh hey they have a backpack".

For one, if you're carrying enough crap isn't a backpack more ergonomic (assuming you wear both straps and aren't one-strapping it like the cool guy you are)
Etterath (Dictionary of Obscure Sorrows)
Russia hits satellite with missile creating large debris field
"U.S. State Department Spokesman Ned Price said the test had created more than 1,500 pieces of trackable debris, and hundreds of thousands of pieces of un-trackable debris."
I am not calling anyone out. Let me be absolutely clear with you, there is NOTHING and I mean absolutely nothing wrong with asking questions or being a beginner programmer.

The problem with your earlier post was that you weren't asking a question. You were stating something as if it were a fact.
The problem with hydro is that there are draughts. Is global warming going to make that better? Nuclear can run fine in rain or shine. Hydro should be put in the same category as wind and solar.
Biogen had 'only' ~$13 billion in revenue in 2020, and won't do much better in 2021. If this one drug is really going to 25x their top line, why has the stock barely budged?
I found the code repository for Briar desktop port: https://code.briarproject.org/briar/briar-desktop