skysight-inc/HackerNews huggingface dataset:
I'm honestly confused what's the use of flagging in Hackernews. You're being flagged, even though you're making some interesting observations that aren't derailing the thread. Is it because the flaggers disagree with your opinions?

I also don't like forced socialization but like the possibility of socialization being there, as a way to build team cohesion, disengage from work, etc.
Google has just literally put 1.5M lines of Rust code inside their Android runtime and reaping the benefits [0]. Is that pro Rust enough?. Sure not every project can migrate easily and they need to have a matching semantic language, that said, Carbon is still way (3-5 years) too early to be practical.

[0]:https://security.googleblog.com/2022/12/memory-safe-language...
Lowell High School: More students given failing grades after admissions change
VPN as a technology, yes. But I think "VPN" in this discussion is referring specifically to the myriad of consumer-oriented paid solutions (SurfShark, NordVPN, whatever) that are pitched as being about protecting your online security, pirating with impunity, and bypassing region-locks.
Thunderbolt has around two orders of magnitude less bandwidth and two orders of magnitude higher latency than the DRAM in that machine. Viewed through the narrow <40 Gbit/s TB3/4 funnel, you'll have trouble telling DRAM and a PCIe 4 SSD apart.
Rising rents were a crisis for tenants. For Starwood, they were a gift
Not just to save $10 but also to have a smaller chance of someone (e.g. an Amazon affiliate) tampering with your device.
to the outsider, a population reduction of 20% of a small population of 460 animals sounds clearly unreasonable, especially when given the size of the country and the known requirement for genetic diversity. Is this some sort of cultural memory of ancient competition that is driving this policy? Love to hear from Swedish commentators here, keen to understand the mindset and be corrected, if wrong
iirc this is notation that they adopted from rust.
I picked up two of these bad boys. It literally took minutes to turn it into a universal remote for everything in my flat, from TV to air filter and everything in between. I love the form factor as well as the interface. I haven't yet had time to delve into the more advanced use-cases, but indeed, it is impressive for what it can do out of the box.
I suspected my novice-ness could be the reason. Still, I could probably solve them without mutable state but I wasnt satisfied with the readability of my code. For example day 12 day 13 were a mess for me when trying for purely functional.

Would love to see your solution for one of these problems!
Well, it's a bit of a simplification. Anyway it's a damn sight easier to make a four-stroke with a broad range of useful power than it is a two-stroke (and a Wankel is just a special case of two-stroke), without getting into stuff like YPVS and stuff.

They're fiddly to make in that they require really weirdass machining techniques and interesting materials for the seals, which are not yet something we've worked out how to do.
One trick to use is that Copilot can read up to (apparently) 20 other tabs that you have open. So, I will open the source code containing the API methods I need in my other tabs and close everything else.

:shocked pikachu: This can’t possibly be true? How would it even do that, and unless it was off by default, that seems like a huge privacy problem. Edit: never mind, I was reading tabs as “browser tabs” not “editor tabs.”
They're all over the place. Have you ever read essays by British, Japanese, Indian, Singaporean people describing their and their friends' mental state throughout schooling over the past several centuries?

School is also becoming more and more stressful as smaller and smaller metrics were tracked. When my grandfather went to school his parents were sent a report card twice per year. When my father went to school his parents were sent four report cards per year. When I went to school my parents were sent twelve report cards per year, and they started experimenting with an online system to track every grade on every assignment. Now that my young cousins are in school even their daily classroom participation can be tracked.

Any survey of modern schoolkids that asks about anxiety or depression has enormous rates of response in the positive.
HTML-Notepad
"Apple is Dooomed!"
Google: 8,310,000 results in 0.38 seconds

NOBODY has transitioned to an other architecture like Apple has, nor has the industry been kicked in the shorts as many times as by apple. (wholesale inclusion of GPU in the OS, migration from Motorola, to Power PC, to Intel, to Arm to X Efficienty + Y Performance Cores...and nobody wrings as much out of the ARM architecture as Apple.

It's 'the same OS' from the watch, TV, Airpods to the Mac Pro.

There is no cost cutting the top end because it's ALL the same Platform. The Top end is the same as everything else with an additional parlor trick.
Just want to say, I wish every site had a text.foo.com version like this that was accessible/readable and ad-free. What a pleasure.
True. Well crafted video. I'm an investor, but many things shown in this video are unknown to me. I am skeptical now. :'(
> these are believed to have been removed during cost-cutting

Fun fact: cost-cutting in architecture is called "value engineering," a sinister euphemism if I've ever heard one.
Post-Open Source (2020)
> Exactly - hence why humans shouldn't be going to Mars until we have studied the hell out of any possible local life and become convinced we have learned all we can on the subject.

That's not how people work. People will go to Mars for curiosity, greed, fame, or some higher level desire (possibly religious) not necessarily in that order.

Odds of Mars being explored à la Star Trek are infinitesimal, I'd give that hope up.

We can explore how life appeared on planets in other solar systems.
In 2006, computing was less generous. A music producer probably needed a Mac Pro for their workflow to be efficient. Since then, Intel has massively reduced the delta between laptop and desktop chips. Coupled with the increase in computing ability of our processors while most tasks do not increase their needs (that music producer does not need more computing than in 2006) and desktops slowly faded to nothing but the most demanding tasks (ML, 8k video production, science, etc.) and Apple has gone upmarket with the Mac Pro to chase this market.

With that change, laptops have become the computer market. Look at Apple's iMac offering; they no longer have multiple models and the insides are now laptop parts. The Mac Studio is simply the desktop computer that gets the Macbook Pro chips. Since they don't want to engineer a cooling solution behind a monitor every time, we get a simple box with a ginormous fan.

The Mac Pro was supposed to be the computer with the truly desktop-only ARM chip. Even that seems cancelled now. I don't know what Apple is planning.
Apple literally had the Avengers of the chip industry working for them until the M1, which was a groundbreaking chip and still is for its unmatched performance per watt.

Just like sports, a team can’t stay at the top forever. Now that Apple has lost many of their Avenger members in their chip division, they need to be humble and go back to the drawing board. AMD and Qualcomm are getting closer to their performance per watt.

The M2 showed that the M1 architecture is done. They need to build something new up from the ground up but that’s going to challenge. Let’s see if they can pull it off.
> If you have 3 variables, each of which can be in 10 states, that's 10^3 states your program can be in.

> If instead you have 11 states because all your variables are actually unions with an error, that's 11^3 states (assuming all error states are equivalent to a single state).

> Now in practice it's even worse since what you care about isn't the possible states of your values, but rather how many different paths you have in your control flow to handle them.

You're really demonstrating that you have no clue about the subject and refuse to think about it.

If the current function does not deal to specifically deal with erroneous results (aka it would be a passthrough for exceptions) then it unifies the error states into one, by either pruning their branches through early-returning, or unifying the triplet of results into a result of triplet.

Hence you don't have 11^3 states but 10^3 + 1.

> What exceptions do is enforcing that your working set does not have to encode any erroneous states, preventing the combinatorial explosion of states, which of course is a net win, there isn't really any valid argument that can be made against it.

The problem is that none of that is actually true, you're literally inventing combinatorial explosions which effectively don't exist.

Unless they would have to in all cases at which point exception would lead to a significantly worse combinatorial explosion, because exceptions would not allow representing the product of 11 states as just that, and instead would need 20^3 states as every possible value would have to be paired with two error states, success and failure.

> That's already somewhat dubious

It really is not.

> there is nothing about that which has anything to do with interfacing with C.

The C (or system) ABI is the linga franca of inter-language communication, unless you decide to pay for a network cost.

> I do a lot of system programming and I write it all in C++, which has a lot of advantages over C beyond exceptions.

And plenty of drawbacks as well.

But if all you know is C and C++ and you see the entire world through that lens, I can see why you're missing most of the field, you're essentially blind.
Only by coincidence in this case.

On planets, a space elevator goes to (geo)stationary[0] so that the cable doesn't wind up around the planet, but you can't do that on the Moon, because luna-stationary is occupied by the Earth, which inconveniently is too massive and spinning too fast to anchor the other side of the cable. However, the L1 point is also stationery relative to the lunar surface, and is the place where the gravity of the Earth and the Moon balance out.

[0] IIRC, geostationary specifically means Earth, but there's going to be some more general term for the same idea over generic parent objects and not just Earth
> I once worked on a codebase that had ancient code from mid-90s with explicit COM AddRef/Release side by side with C++11 lambdas and TMP.

Sounds like pure joy.
I’m working on an open-source social bookmarking site in Elixir that is API compatible with delicious/pinboard.

It’s named linkhut and it’s currently able to import your bookmarks from pinboard and browser exports.
The flagship instance is: https://ln.ht

The source code is hosted here: https://sr.ht/~mlb/linkhut/

The documentation: https://docs.linkhut.org/introduction.html

The two things that are important to me in a bookmarking app (and why I‘ve been working on making one of my own on and off for a while): open source and offering an API for other tools to build upon.

The current API on linkhut aims to be bug for bug compatible with pinboard while being more OAuth-y.

I’m still working on an archiving feature similar to pinboard’s. But it’s probably going to take a while, I’ve been experimenting with different approaches and there’s still a few things I want to explore before settling on a solution. Once that’s ready I think I’ll call 1.0 complete.

In the meantime I’m still working through a laundry list of quality of life and small features (e.g.: recently I pushed support for “unread” links).
By unwrapping and returning, you're creating another path down the control flow of your program, which also propagates to your callee, since you have to return an error.

Exceptions don't do that, they stop the flow entirely, then match it to a point arbitrarily higher on the stack, and resume after that whole sub-tree has been destructed.

They're also much more efficient than branching and maybe returning on the result of every single function call.
Seems to be rated very low
> When you consider where you get your engineering degree still significantly impact your career in your fifties (I’m not kidding), it’s all kind of a joke actually.

No true in CS, and not true in biology. I'm now 28k above the average (not median) pay for CS engineers in France at 31, nobody asked me for a diploma i don't have anyway (i did not validate my bachelor in math and did not really finish my CS school as i was hired during my last internship and couldn't find the time to validate it) and no questions were ever asked about my school years.

Only stuff they asked is previous experience, experience with technologies and amazon architect certification (that i didn't have).

For biology (and geology, and probably physics too but i lost touch with my friends in those areas), the thing that really matter is which professor and/or which lab did you work for. Even if you get an biology engineering degree, you can follow through with a doctorate if you went to the right labs. As for geology, you can come from a rural area and be good at one of the worst highschool in the departement, then go to a university ranked 10th and still be the only French astrogeologist doctor in years and work directly with Curiosity teams.
Here's the recording of the talk

KEYNOTE Simply Scala Martin Odersky

https://www.youtube.com/watch?v=QRcD9Zc7eq4
The speed at which the trash collectors I have seen work means that they would likely not care a bit about putting the cans back in the plates, much less be entertained watching a train take them away.
Maybe it's a stupid question but for the verification bytes you're adding the different constants, commands and options. For the sleep that comes out to 0x173 (as you also wrote down). Why is the higher verification byte then 0x73 and not 0x173? Or is it a typo?
Well, there are fines for helping bypass the laws.

"The Act has a $10,000 fine for any non-Canadian or anyone who knowingly assists a non-Canadian and is convicted of violating the Act. If a court finds that a non-Canadian has done this, they may order the sale of the house."

I would assume opening a numbered corp to own the house would fall under this category?

Most of the "super-rich" owned houses in Canada are already owned by corporations to leverage the protections corps have.
It was always worth it to me to be a late adopter of Windows, they just take a really long time ironing things out, especially so since they made their users their QAs[0]. I think I'll be fine with my Win 10 LTSC 2021 until the support runs out in 2027, and then I'll see where Win 11 stands.

[0] https://www.linkedin.com/pulse/20140806183208-12100070-why-d...
> ‘Customers are not going to come in if there is a fire in the front of the door.’

Big if true.
Can you give a source for this?
This would make a lot of sense... if you were talking about addressing global warming of Earth, rather than talking about going to Mars.
> (2) Get rid of nuclear weapons.

This is tricky. Both because for better or for worse, they do provide a certain military equilibrium, and also because you know, it's probably a good idea to have them around, at least to a certain degree, if the Xel'naga decide that creating us was a bad idea. Not that nuke might not be sort of like throwing rocks at an advanced civilization, but it's not like we'd have anything better...
awesome game !
A mnemonic to help get the convo going or if you hit a rut: FORD: Family, Occupation, Recreation, Dreams.

Also "mirroring", which is a tool in negotiation, can be a useful way to get someone to elaborate. Basically: "It sounds like [summarize their points]".
> and in regard to the parent comment mentioning teenagers: They are exactly the group that needs the Flipper least because they have might not have money but they often have plenty of time.

That was my point.
> Exceptions don't do that

Exceptions actually do that, except hidden and unsignaled.

> They're also much more efficient than branching and maybe returning on the result of every single function call.

Not when actually taken.
Just a Thinkpad T470s and a Ferris Sweep keyboard.
Oh! im with you. You mean that the views should be taiulored for each platform, not the same UX everywhere. Yeah, totally agree with that!
Then you haven't been paying attention. It's always been like this.
Xerox’s influence on Steve Jobs and Bill Gates (2018) [video]
The only reason I'm adding negative feedback is because every time I read optimistic feedback on forums I get hopeful and try it - only to get hit by a cold shower. I'll try again - I see that Fedora dropped a new release, but I suspect I'll get similar results.

So I'm not against Linux desktop - I'm just saying the people singing it's praises probably have different expectations from me so I'm trying to add another viewpoint (because it's always subjective experiences in these threads - I can't remember reading statistics about hardware coverage and similar news)
First game: video comes up of a romanian artist "Adrian copilu' minune".
Options are: hindi, tamil, spanish and belarussian.

Being a Romanian myself: very disappointed in both the choice of music as well as the mislabeling of the language.
It’s illegal to settle Antarctica. If that were not the case someone would try.

There are really no frontiers left on Earth that are not locked up by existing states.

That point is missed by the whole “space makes no sense because nobody lives in Antarctica” argument.

That and settling another planet is much more interesting than trying to settle a less friendly area of Earth where people already can live.
And Tesla also sells carbon offsets to other companies.
The electricity has to come from somewhere, and most of the time, that involves fossil fuels anyhow.
Very little discussion of swift and how the current work on C++ Interop is in many ways a peak into what carbon and others may be in several years.
Immutable data structures prevent you from having to copy the entire state. In fact the first "copy" is essentially a no-op. Compare it to a "copy on write" filesystem, where the changes you make are the only thing that needs to be copied/written.

https://en.wikipedia.org/wiki/Persistent_data_structure
Indeed, just as French language and Latin-based orthographies for languages in this reason are the result of a colonial legacy, so too the use of Arabic as a prestige language (mentioned in this article) and an Arabic-based orthography.
And in this case his corpse was left to a still-extant body of friars:

“Local religious leaders consulted with Augustinians in Prague, their bishop, and finally Augustinians in Rome. Eventually, permission was granted.”
Honestly 1 month is not a lot of time to get traction on a product. I would not trust any product able to be built in a single month, let alone time to do marketing for it.

If you’re in debt it might make sense to start looking for a full time job to cover the bills while spending nights and weekends on the side projects.
The problem of C++ is that its features are not just additive. In most languages, if you take two features and use them both, they add up. In C++, they may actively interfere with one another.
if your security model can't stand up to teenagers with plenty of time, it might be time to reconsider it.
This is where Canada's new law gets really weird.

We also have an "investment" class visa and almost everyone who has used this bought a house to meet the "minimum requirements"

https://www.cic.gc.ca/english/helpcentre/answer.asp?qnum=653...

So.. earlier they encouraged foreigners to buy houses in order to get PR cards, now they ban it??
Awful idea and quite reactionary. There’s no reason to design buildings that look like old buildings unless you’re doing a renovation. We have different materials that allow us to build to heights we couldn’t before. We lack the craftsmen to build authentic facades from that era so we’d end up with ignorant pastiches of old buildings.

Tastefully intermingling the old with the new is difficult to do at times but the results are magnificent. See The Louvre for example.
Best to get started then.
Totally agree that these paradigms are badly defined. See my other comment where I explain it more https://news.ycombinator.com/item?id=34217547

My point here was that all "OOP" languages (that I know) allow you, with all their "OOP feautres", to work with objects which actually don't contain any mutable state.

I'll let you be the judge whether it is still "OOP", but I know from experience that it's very practical for Software Engineering.
This is true, and in practice the solution frequently ends up being a combination of soft deletion and audit logs.

Just pointing out that in some common cases, the goals of consumer data control are impossible to implement, due to conflicting requirements for record retention.
Now I have the Spinners song Games People Play stuck in my head.

https://www.youtube.com/watch?v=vbkg1WXf594

At least it's not Holly Jolly Christmas.
My experience with check fraud
why nobody listens to bram's clawback suggestion?
clarification: You can also use offloading on Colab, but inference with offloading is at least 10x slower (see other comment threads). So it can't really be used for interactive inference, but may be used for fine-tuning with large batches/sequence lengths.
the comparator might be Durkheim's concept of 'anonmie', a condition of loneliness brought about by the dislocation of self from rural village to industrialised city
Ask HN: Wearables for Sleep
I'm interested in everyone's opinions and experiences on wearables that track sleep. I've had a Xiaomi Miband 2 and an Oura Ring 2 (2nd hand so no membership). The Oura Ring 3 seemed good until I found out about the subscription. What are your thoughts?
The discussion of trust is too binary — people trust institutions or not.

My trust in institutions is limited, but I got vaxxed without hesitation, because it's a specific decision, the kind of decision that has been made many times, where the relevant institutions have a track record and every incentive to get it right.

I sometimes get the impression that people want to sell trust in institutions as an all-or-nothing package. Institution will not discuss when to trust institutions and when not to.
One should downvote to disagree. One should flag comments that are against community guidelines (trolling, unnecessary rudeness...)

This, however, doesn't mean that everyone uses these features correctly.
I disagree quite strongly with the idea that robots are a substitute for human migration. The rationale is totally different.

That being said I think the Moon makes far more sense as a first off planet settlement. The transit time is short enough for a tourism industry among other things. It’s also short enough to permit relief flights and for people to quickly return if necessary. It would be a great place to basically prototype the technology and the social aspects.

Also the fact that it is more hostile in some ways is good from a prototyping point of view. If we can live with no atmosphere and 1/6 gravity we can surely make it with some atmosphere and 1/3 gravity.

Edit: and mining may be viable. Gravity is low enough to permit possible gun or mass driver launch from the moon back to Earth for raw materials. Probably wouldn’t make enough to make the whole venture profitable but could maybe offset it a bit along with tourism. Materials like gold, platinum, rare earths, etc might be found near the surface in concentrated deposits due to no weathering.
There is no cost to exceptions that are not thrown.

On the contrary, the approach you describe introduce a lot of overhead, since it affects all code paths, the function call ABI, jumps after every function call etc.

Also in C++ you have operators that are integrated in the type system and are resolved at compile-time to know whether an given expression can throw an exception or not. Do not confuse C++ with Java.
It’s possible but I’ve talked to friends who work at gyms and various other sport related areas and they all agree.

Sample size is very small still.