skysight-inc/HackerNews huggingface dataset:
YAML 1.2 fixed the boolean thing.

Language tags can get weird but they're ultimately just additional types implemented by your yaml parser you should basically always turn off/not turn on unless you know you want it. You can serialize classes in your language without it.

Tags are really good for readability if you use them thoughtfully

value: !!binary
base64string

# ordered map
value: !!omap
a: 123
b: 455

The reason that example is so ugly is it's using the "complex mapping key" syntax which is unbelievably ugly but if you're using objects as keys in your map you abandoned sanity long ago.
heh, I recently got a GW4. it's telling me that i get approx 22 mins a night of "Deep sleep" (average of 7 hours total asleep)

this sounds like i'm screwed...
The Swift compiler and standard library are pretty tightly linked. The Swift type system is getting pretty complicated already, handling a whole range of lifetimes, async, the combination of protocols, generics, existentials, etc. with some magic handling for arrays and maps in the library. So the cost of cross-platform effort would be significant.

The greatest barrier to entry is XCode. It's archaic, impossible to extend, and has a very wide surface that would overwhelm any development team.

(Java works fine on macOS, but developers want to deploy to iOS.)
Of course, but they forget.

So when you see type declarations in Python, you cannot trust them the way you can trust them in Rust or TypeScript. Outright wrong types that make zero sense cause no errors, no test failures, etc. Type validation is reduced to the level of linter, and no one really cares about the linter the same way as they care about working code.

This gets people new to static typing into bad habits and loses the main benefit of type system.
> From what I've seen the ref counting can cause a big performance hit.

Apple has been writing OS components in Swift for a while now. It certainly doesn't seem to be producing the performance issues we saw when Google attempted to write components for Fuchsia in Go or Microsoft's effort to create new features for Longhorn in .NET.
The thing is type hints in Python are less a code quality feature and more a quality of life feature for developers. As long as I've got descriptive argument names and docstrings I can just tell you how to use a method. Your IDE can at least tell you argument names.

Type hints help reduce cognitive load when someone else (or you in the future) is trying to use some code. If you have strict type requirements you're testing that inside a method or with a decorator or something (and verifying with tests).

Even a big project can hum along happily without type hints. They're also something you can add with relative ease at any point.
I was hoping this would be about neat signs plastered on the side of buildings in Bengaluru...
You are describing a different class of attacks. If the company owns the device, they should be free to (try to) lock it down all they want. OP is about Apple locking down devices that someone else ostensibly owns.
I am self-taught with computers in the sense that I read every computer book I could find before my first computer at the age of 10, a Commodore VIC-20; everything else came from that. Elementary-school classes on Logo, AP Computer Science in high school, and one one-credit Java class in college are the extent of my formal education in computer science. I've never worked as and have never wanted to be a professional programmer.

I worked through Columbia doing user support for the university's Unix systems group. I got a job on Wall Street like many classmates, but for which the hiring person (an equity analyst covering software companies) was specifically looking for a CS major; I was able to demonstrate that I had the equivalent background thereof.

I have been successful with computers because I enjoy working with them. I enjoy computers because it's a hobby, albeit one that has affected my entire working life. I suspect that I would not enjoy computers as much were it actually my job. Since it isn't, I have the freedom of being able to (for example) write Elisp[1] to improve VM, the Emacs-based email client I've used for almost three decades. While I may contribute my code back to the VM project someday, meanwhile I report to no one and have no deadlines other than my own. That's freedom.

[1] I well remember the epiphany the day in Logo class I realized what recursion is. I still feel like giggling when I find an Elisp task for which recursion is an effective solution.
Show HN: Pmemo – no-transition CUI memo editor
Hi, HN community!

Introducing Pmemo, the no-transition CUI memo editor!
Say goodbye to cumbersome processes when you want to quickly jot down a memo on your terminal.

As a self-proclaimed memo junkie, I know the struggle of wanting to capture thoughts instantly without dealing with files or titles.

Let me know what you think! Happy memo-ing!
Here's my professional opinion. Why aside from Excel/Google Sheets? What's special about blood test results? If you don't quite know how to make spreadsheets do what you want, it's probably best to just learn that. If you go for something else, the app you chose might go away in a couple years, for many reasons. Many developers don't like working on the same thing their entire life. Or some API gets deprecated; guess how often developers like to implement the same thing over and over?
This, I have seen a tendency in increased scam schemas since the pandemic started.
One subtle thing I only realised while writing that comment is that I don’t ever have the TV as the only source of light in the room before going to sleep. The bedside lamp is always the thing that gets turned off. I wonder if psychologically that makes me associate the lamp as the thing that anchors my sleep and not the TV.
I put some historical show on YouTube on the phone on my headboard and I'm usually out in 5 minutes. I actually like history too, it's not boring to me.
I think of it more like a pachinko machine. You put your question in the top, it bounces around through a bunch of biased obstacles, but intevitably it will come out somewhere at the bottom.

By telling it not to lie to you, you're biasing it toward a particular output in the event that its confidence is low. Otherwise, low confidence results just fall out somewhere mostly random.
Plagiarism detectors are inherently hard to create because they're trying to detect an amorphous concept right from the start: Originality.

Instead, more emphasis should be placed on proper citations & individual short Q&A (< 5 questions) about the writing in question: What they've researched, unexpected hurdles, research methodologies & tools, main references used, etc. Perfect recall of what's been written is not the aim, but rather that the author is able to understand what has been supposedly written by their own efforts, along with the citations used in their works.

In fact, as of writing this comment, it could be fun to see what an LLM would produce as questions to such a paper in question, and have the author answer those questions on the spot. This can be used as a teaching lesson on the limits of what an LLM can accomplish, as well as proof that the author can at the very least withstand surface-level examinations from an automated system. Those with (stage fright / social anxiety / vocal disabilities) could be given extra time to come up with answers to said questions, in an attempt to balance out any advantages that could be given to confident authors via this method.
How do you explain the performance of companies like Lyft, DoorDash, Tesla, etc? People have, rightly, been calling them out as examples of companies that are fundamentally overvalued for years now. But it has only been in the past year or so that the market has actually started to value them appropriately. The market has been extremely irrational since Covid started, but was showing clear signs of that before Covid too.
This guy seems interesting .. I go to subscribe via RSS - no feed? :(
The only good news is that interest rates are likely to stay high for the next few years, which I expect will put a major damper on this bubble. AI companies will have to show profitability quick in order to keep the funding train going.
Are there any video games you consider to have good writing?
Thanks. That's a good answer.
Individuals who feel safe where they live lose more weight, study finds
I chose not to partake in any of those things knowing I really need my 9-10 hours. Genetic lottery blessed and cursed me in different ways, and my sleep requirements are one that will dictate my choices in life can't be the same as short sleepers.

I was sleeping 6-7 hours through highschool and I can vividly remember it being the worst period of my life, standing in the shower each morning overwhelmed by the thought "I want to sleep so bad I wish I was dead, because that's like, an infinite satisfaction of the desire to sleep." Don't misread this it wasn't a dark thought at all, I was just THAT tired.

Am I the only one making the hard choice- choosing good sleep forever?
This is the path. Have your attorney review your options agreement to understand what the transfer restrictions are and how to get around them (if necessary). A forward contract might be a possibility depending on OP’s options agreement and the risk appetite of the counterparty who is interested in your shares.

As for counsel, I recommend George Grellas. Have worked with him before and had a good experience.

https://news.ycombinator.com/user?id=grellas
During COVID we had a school administrator proclaim "We must OBEY the COVID!!". Since then it has become my catch phrase for humans unquestioningly following orders.
... one of a number of studies that suggest that exposure to crime might be one of the strongest social determinants of ill health
>I wonder how much of this can be attributed to medical bankruptcy.

Only 4% of US bankruptcies are because of medical bills <https://www.washingtonpost.com/blogs/post-partisan/wp/2018/0...>. A tipoff that [insert large percentage here] of bankruptcies aren't actually because of medical costs is that only 6% of bankruptcies by those without health insurance are because of that cause. The biggest cause of bankruptcies is lack of income, which health insurance doesn't affect.

91% of Americans have medical insurance, whether through their employers, or government programs like Medicare/Medicaid. That's compared to 95-97% in other developed countries because there are always some people who fall through cracks, like (say) a Canadian who doesn't get a new provincial health care card after moving, or a German who neglects to buy into a new sickness fund after changing careers. The only such systems with actual 100% (or as close to it as possible) coverage is something like the UK NHS, which does not have a requirement to show a membership card (because, well, there isn't one) to receive treatment.

There are things I'd certainly improve about the US system—decoupling primary healthcare coverage from employment, for one—but the way people online ~~lie~~ exaggerate it's not surprising that so many non-Americans believe that every American is one hangnail away from bankruptcy.

PS - Obamacare did not greatly expand coverage. 85% of Americans had medical insurance pre-Obamacare.
Tetris on the NES still has massive tournaments. It’s pretty interesting to watch these super-young games (relative to chess, tennis, etc.) mature and develop as genuine fields of competition.
What happens to the typical person’s healthcare costs when some people who consume extremely expensive treatments” just don’t pay”? What is the equilibrium here?
I don't know if scientists are studying this - given recent trends they ought to be. But if experience counts, then yeah, there is. I've done a lot of work remotely, in person and on teams where some people were remote and others colocated.

If you have a hard problem and you need to apply several brains to it, then you can't beat working together in person. Two or three people in a room with their laptops, a table, a whiteboard, a couch and a door that closes. It's miraculous.

In person meetings are really good for getting everybody on the same page. You develop a shared vision, build relationships, and create group cohesion that can really improve everybody's productivity. It's very good for kicking off a new company, project, cultural shift or what have you.

Once you've established that group identity, you don't need to be in-person all the time. Remote work is fine for day-to-day product development and operations. It usually allows people to concentrate better than open-plan offices. But that's not improved collaboration, it's improved individual productivity. And note that I didn't say in-person meetings are better than remote meetings in general. Typically that's not collaboration either, it's coordination.

All of which is to say that if you're precise and narrow in your definitions, yeah, there's pretty hard evidence that in-person collaboration is better. But remote is fine for most tech work, and probably an even higher portion of general white-collar work. I'm glad that people are refusing to move, because that will help us develop a better model for remote work - a true distributed organization rather than "just like the office, but on zoom". At a societal level, we really really need this to work, and I think we should be willing to accept a small, medium-term hit to productivity while we figure it out.
Private prisons cost 2-3x as much per prisoner, and the research demonstrates that.

Of course they don't cost 2-3x more than an entire state prison system. Even the Southern states that love private prisons couldn't afford that.
Field Sobriety Tests (FSTs) were originally designed to measure impairment from alcohol. They measure things that are correlated to driving impairment where that impairment is the result of alcohol use.

The correlations would be different for a driver who is under the influence of marijuana.
I've got about 307 on KeePassXC, with the oldest generated password from 2016.

307 includes stuff like security questions as well though, so the answer to "What is your mother's maiden name?" tends to be something along the lines of "f+2Tng+DO?X).`W/7*5IQ_"
The end of ZIRP is what is deflating the tech bubble. With interest rates now high(er) than before you can earn a decent return just by buying bonds. There's no reason for investors to recklessly speculate on companies like Lyft or Uber or Doordash when those companies are structurally unprofitable. Throw in the failure of SVB and a couple other banks, and yeah things are going to get very tight in software for the next few years.
Battery technology limits the fun, as well you can only dissipate so much heat with the footprint of a phone without getting hot enough to burn a user. I'm not a phone designer but I imagine buyers wouldn't dig a phone that comes with hot surface warnings.
https://archive.is/1kqOz
I don't think so. I got my CS degree twenty five years ago. "Grueling" is pretty much the last word I'd use to describe my journey. I never went to class, spent the whole time smoking weed and gaming. I'm essentially a self-taught programmer, and if I can do it, almost anyone else could do it better and faster.
I think the use is to have a better implementation that works in cases where you need compatibility with PGP, because lots of stuff still uses PGP.
Oh man, is there any way you can send it to me? I would love to see how you adapted that story
If you've locked in a mortgage at 3%, moving can create a large increase in your housing cost that spans decades. Since layoffs, mergers, bankruptcies, etc are common, it's unlikely the job you moved for will come anywhere near outlasting your mortgage, so you still end up paying a higher housing price long after the job that instigated that cost increase is gone.
> I think many also find its syntax more approachable compared to that of Rust.

Chris Lattner (of LLVM fame) did design the language with the goal of hiding complexity until it is needed.

> The concept of progressive disclosure in Swift, where you can start with something very simple and then learn complexity as you go, was totally driven by making it teachable. I personally spent a lot of time trying to make sure that the introduction to Swift could just be print("Hello World"). No semicolons, no \ns, none of that public static void main stuff. Making it simple and approachable was a strong goal, and not in a weird way where in a teaching environment there is this “Swift Prime” language that’s similar but different.

https://oleb.net/blog/2017/06/chris-lattner-wwdc-swift-panel...
I started coding because I loved games. Thing was there was no unreal or other frameworks to help out. I was no Carmack writing my own 3d engine. I'm just not good enough in math for all that.

But once I retire I will go back at writing games.
What I don't understand is why there isn't some kind of paid escalation option. I fully understand why they don't provide free human support for a billion unpaid users, but couldn't there be a $50 "OK, we will actually take a look at your issue" option? Surely that wouldn't be a money loser. Hell, you could outsource it.

It seems instead that they just don't even want to touch it.
It pisses me off that NYC still allows through-wall PTAC units to be installed in new buildings.

PTACs are the combined heat/AC units you will find in cheaper hotels/motels. They are installed through giant 4ft x 2ft holes that are left in the exterior wall during construction.

Not only are they terrible for energy efficiency because they are impossible to seal correctly + result in a direct thermal coupling with the outdoors due to their sheet metal construction, they are also the #1 vector of outside noise getting into the apartment. You can hear whenever a truck drives by, even when your window is closed.

Also worth mentioning they universally use the cheapest compressors available with awful damping so they’re 70db or more when they’re running.

All in the name of saving a buck. People pay $5000 a month to be subjected to these things.
Haha, I don't think you should try to generalize your emotions - "withdrawal" symptoms on vacation could easily just be your stressed out body finally resting, or one of many other emotions. None of what you have said tracks for me. I can shut off work in a minute and I feel glorious when I do it; it's purely a practical thing. I will stop the minute I can, which I seem to be about 30% of the way to
regarding the Marie Kondo approach being tough -- now with three kids, she feels so too and has adjusted

https://www.cnn.com/2023/01/30/entertainment/marie-kondo-sto...
First Class Types
How do we know this whole story isn't AI generated?
And it looks like the SystemLimitError issue they encountered is one flag away: https://elixirforum.com/t/too-many-processes-error/22224/2
HN and a few forums, bank, email/cloud, website (which is really just storage for ancient stuff I have mostly forgotten but occasionally have a use for) and that is about it. I use guest checkout when ever possible and if I buy from a site which does not offer it I just close my account as soon as I finish checking out. I never made the switch to password managers and the like. I have all of my passwords memorized.
As for myself, I already know I won’t be programming in retirement. Not because I don’t love programming. I do! But because life is a journey and I know the next phase is teaching and mentoring. I don’t know what it will look like exactly, but I know I won’t be in the driver’s seat.
I don't see how they made the connection to poverty and mortality. I'm sure there is one, but the fact the article didn't point out the specific cause and effect is disappointing.

The onset of the coronavirus pandemic in 2020 brought about a sharp increase in U.S. poverty as millions of people got sick, were thrown out of work, and lost health insurance.

Are they trying to say that people died during Covid because an increase in poverty and that poverty was the reason for the increase in deaths? What about Covid?

But federal aid initiatives enacted in response to the public health and economic crisis—from stimulus checks to boosted unemployment benefits to enhanced nutrition assistance—ultimately led to a significant drop in poverty, further bolstering the case that "poverty is a policy choice."

Poverty is certainly policy choice to a degree.
CoreML is a bit of an exceptional challenge beyond just Swift. Admittedly it could really use a lot more documentation from Apple, but it would be unfair to judge swift based on an uncommon and under documentated library (I suspect that it would get a lot more use if it were not so hard to set up).
^^^ "The Classics"
I live in the southern US and these things with modified exhausts are everywhere. There's no car inspection and no regulations are enforced. You can hear them at all hours of the day even if you live several blocks from a major road.

It honestly makes living here really annoying.
Funny enough I only got this joke on my second read. One of my uncles had a company with a name similar to your joke :D ADD probably.

So, to me it was beej. But in reality, to the public [you can’t nickname yourself].

So it’s always been b33j0r. My friend who had the first dedicated server I encountered named me that because my name is Brian Jor—-

Finding me has been trivial since I first AWP’d in a CAL-O match. This was before scoutznknives were more than merit badges.
> I don't want early retirement. I want to work in a small team with a good product vision and a strong shipping culture.

s/work in a small team/lead a company

That's the ideal for me.
I wondered if anyone would try that :)
The even crazier thing is card or board games that are still alive and modernized. Some games are timeless.
If they had waited a little bit Rust would have been a great option. That's a shame.
Yep... As we hit limits the limits of air cooling, there's a cambrian explosion of liquid cooling companies now... single phase immersion, 2 phase immersion, "precision cooling", direct to chip cooling, spray cooling, etc.
A fantastic read, that gives me hope for the next 20 years.

Also congrats for releasing a game in C/SDL in the days of _insert engine here_. A game that appears to have sold some copies.

Once you become good at talking to the computer (coding), it's a very hard habit to lose I feel. I too have never stopped tinkering outside the office clock. I have plenty of little projects that tickle my fancy, but above all keep me interested.

Computers are fascinating and always at the ready for a play: Player 1, $~: _
For sure. The noncon convention is maybe my least favorite. I won't elaborate on HN.
I mean, if you use open source apps that build on top of healthcare interoperability data formats like HL7 FHIR, you can get automated data pulls from EHRs while being able to just switch apps later.
Well, the alternatives you mention are all prone to keyloggers or similar.

If you take say OAuth/OIDC, the only thing the browser needs is the token. It doesn't have to be involved in the authentication at all really, it just needs a token it can send as part of the requests.

Of course this requires that the site uses OAuth/OIDC, but hopefully that's where things are headed.
> Startups are risky, options aren’t a guaranteed payday, exercising is gamble, and liquidity events are regulated for a reason. Sometimes you lose money. Have we forgotten this?

I spent around $100k to purchase this stock and paid tax on the gain. They are now worth millions of dollars on the open market, but the company will not allow me to sell them... I understand it's risky, but at this point they just aren't letting me get a payday...