skysight-inc/HackerNews huggingface dataset:
Negative indices are bug-prone. If you mess up iteration bounds, you should get an error, not silent incorrect indexing.
I only partly agree with your view. It might be so, but there is a genuine reason behind not discussing the rules: they're always off-topic. For people like me who come to HN to read an interesting discussion about tech issues, anything mentioning downvoting is almost automatically useless in the sense that it doesn't bring any new information, it's not interesting, it doesn't affect me in any way.

Yes, if I were in charge of HN I would solve certain issues differently, and so would you, but it's a private forum run by someone else, so we have to obey in order to participate, whether we like it or not. The very fact that we're even having this discussion now means we prefer this place to any other in this moment. So you can't say these rules don't work.
actually the best way is not to catch them. Let the application abort and leave a core file you can inspect with full stack trace from the throw point [1] and context.

[1] I routinely remove "catch and rethrow" from our code base exactly for this reason. There are ways to log and add metadata to in flight exceptions that don't require rethrowing.
Realistically, how easy is it for Intel to switch like this? Is there really some industry standard interchange format they can use to ship their i3 design off to a different fab? I would have expected them to use proprietary formats from top to bottom.
> Or are we expecting programmers to program after work even during their later years?

Look, OP suggested a strategy for not getting burnt out that works for them, and I'm just saying what works for me. You are the one who is turning this into some sort of "expectation".

If you don't want to code outside of work, and don't see value in it, don't do it. Nobody gives a rats ass.
> Can you find examples of bad pardons from other Presidents? No doubt. But not on this scale.

Which of these is worse than pardoning your own drug trafficking, drunk driving brother?

https://en.wikipedia.org/wiki/Roger_Clinton_Jr.#Conviction_a...
Putin's Palace: The story of the world's largest bribe
Well from that point of view "Everything is Marketing"...perhaps that isn't wrong.
It's not an X11 design flaw. The very concept of locking the screen is flawed. A flaw that also haunts Wayland, BTW.

The concept of screen lockers is having a special layer, that can't be bypassed, which a locker creates. The whole security then hinges on the locker not crashing. X11 does have such a layer. Wayland compositors also implement it through such a layer. And for either the situation is, that if the locker crashes, that layer is destroyed by implication and the session exposed.

That's a flawed concept.

What you really want is detachable graphics session. On the text console one can effortlessly use screen or tmux and to "lock" the session simply detach and exit to the regular login getty.

You want exactly the same, but for X11. And there's no obstacle in printiple to implement this. It's just that the Xorg server can't detach. Almost all of the required code is there, fundamentally it'd be the same code that's executed during a VT switch.

In the meantime one can use Xpra with Xvfb to create detachable X11 sessions, which then however lack GPU acceleration.
> A newborn is not one year old.

Similar to the indexing question, this is only true for some cultures:

"East Asian age reckoning originated in China and continues in limited use there along with Japan and Vietnam, and is still common in Korea. People are born at the age of one..."

https://en.wikipedia.org/wiki/East_Asian_age_reckoning
Exactly - it's notable that the power of pardon is the tail end of the clause that give the president power over the military - that's not random phrasing.

> The President shall be Commander in Chief of the Army and Navy of the United States, and of the Militia of the several States, when called into the actual Service of the United States; he may require the Opinion, in writing, of the principal Officer in each of the executive Departments, upon any Subject relating to the Duties of their respective Offices, and he shall have Power to grant Reprieves and Pardons for Offences against the United States, except in Cases of Impeachment.

https://constitution.congress.gov/browse/article-2/section-2...
I was using photoshop and premiere quite heavily since DOS days, back when it fit on 3 3.5" floppies. I really hated the adobe cloud concept... I just don't like the idea of renting software instead of owning it. Then it kept getting worse as far as resources it was consuming and number of softwares that were required to install. What really ticked me off was having to pay to upgrade photoshop whenever I got a new camera because you could only get the newest "camera raw" with the most current version. So basically you end up buying an entire new version of photoshop just for an updated nikon raw codec (in my case) just to be able to import your images.

I spent a good deal of time and money in 2020 getting myself untangled from Adobe. The only thing of theirs allowed on my system now is a pdf reader and left such a bitter taste in my mouth I will actively never purchase another one of their professional products again. $300 for Black Magic's Resolve Studio is wayyyy worth it, and a better product now that I'm more proficient at it. I know many professionals in the film/video industry who have left them and won't look back. I was a hold out for too long.

The only thing that makes me particularly sad about it now is that I have no way to open my old projects, because you rent adobe - you don't own it. Well I can open things that were created prior to version 6 as I do still own 5.5 Creative Suite and can use it... If I can find a damn dvd reader.
Tablecloth uses Belt for JS targets
Eh, the Starship rocket doesn't really make smog itself. High levels of liquid nitrogen may if it interacts with organics from sea spray.

With all that said, oceans tend to be pretty windy around 90% of the time so things that cause air to be still on land are much more rare in most parts of the ocean.
> What makes porting GPU drivers significantly more challenging than everything else?

Multiple reasons:

1) GPU manufacturers are notorious for not publishing documentation out of IP/patent concerns. Worst offender is NVIDIA here.

2) For embedded GPUs there isn't much interest in open source drivers... the big customers (think Samsung and the likes) have direct support from the chip design vendor and get drop-in drivers as part of the board support package (BSP, basically a conglomerate of bootloader, kernel+modules+initrd, firmware blobs for components such as wifi) so they don't need OSS drivers

3) The mobile GPU space is... splintered. With desktops you got the three major players AMD/ATI, NVIDIA and Intel's built-in Iris, in the GPU space there are more.
Write Stable Code Using Coupling Metrics
shecc: Self-hosting and educational C compiler
Its interesting to me that gun crimes don’t meet your threshold of offenses that should potentially carry a prison term
CMEs are one thing, but many good doctors keep up to date on medical advances in their field regardless.
Then price in carbon neutral fuel production to the ticket. There will be passengers rich enough to pay it.

If you've got a problem with that I imagine your real issues are about status envy not environmentalism.
He's been the stingiest in terms of giving them out for people who deserve them on account of being ill-served by the criminal justice system, but he's been the most liberal in terms of bailing out his co-conspirators and politically connected elite.
Computer codes that transformed science
That makes sense. I think that I may have consciously been trying to ignore the point you're making that there are only a handful of companies out there that have the sort of problems where they can justify having this level of people on staff, and more than one to boot.

I guess it's a choice between that and consulting, because i suspect there are a whole bunch of smaller companies out there that can use help with problems like that, but they don't have enough of them to justify having someone like me on staff full time.
I'm excited for Linux support on the M1. I don't even have a Mac Book, but more incentive for Linux apps to support ARM is a good thing.
Okay, I did not know there was such large precedent for government control over communications. For someone who has lived mostly in the age of the internet where encryption and anonymity is so abundant that it almost cannot be stopped it seems strange for anyone in power trying to subvert this dynamic. a similar scenario where the FCC mandates facebook posts to be seen by all US citicens seems so out of place and wrong that I deemed there was no excuse for making such a message on AR.
> https://discussions.apple.com/thread/7598463

Wow every new person who joins that thread misses the point more than the previous one. This was painful to read.
This is just him giving the bird to tech while doing some key influential people a favor.

Frankly I think he should pardon Snowden and Assange (if he's gonna give people the bird why not extend it to the establishment) and Joe Exotic (because the lulz of doing that would be on brand for him) while he's at it. Unlike Levandowsky, Snowden and (to a lesser extent) Assange are deserving of pardons in much of the public's eyes.
Why Your Business Needs a Mobile App to Succeed in the New Reality
Didn't Apple recently book all of TSMC's production for their AS processors? How does this not conflict?

Edit-ref: https://news.ycombinator.com/item?id=24530328
Toon-Me, Artificial Intelligence Can Toon Portraits.(Line Art + Toon)
I never thought I’d see the Simpsons Dr Nick joke in real life.
Now THAT makes sense! (And, i can now see the benefits of this approach.) Thanks for the explanation!
I guess they meant Smalltalk and Common Lisp commercial endeavours of the 90's.

And indeed, there are a couple of things that Java and .NET still don't do.
Tech Lead with some business involvement. I've run my own small consulting companies in the past, just haven't had the nerve to do that here in the US, mainly due to cost of health insurance.
We aren't talking about random idiots on social media. He said "corporations and mainstream media".
Concurrent image ripper/downloader from xkcd.com in go
Scala is complex and interesting but perhaps more research than industry. If your goal is to learn fancy programming languages, I would go with Scala. If your goal is to do side projects not in Java but still using the JVM without thinking too much about the programming language, I would pick Kotlin.

I recently enjoyed learning Rust, but it's more low level which you may enjoy or not.
It's not just someone, she's responsible for the Panfrost drivers so there's hope :)
I have no book suggestions, but for what it's worth the one way I've found to maintain friendships is to have recurring calendar invite hang sessions. Like every other Thursday, the calendar reminds us we're having lunch together or a zoom call after kids go to bed, etc. It sounds formal and awkward but it works and keeps friends from losing touch.
Invented the jet engine, ARM, low-cost computer (ZX-80/81)

And some of the Formula 1 teams have other arms (McLaren being one).
He doesn't think he's getting DDoSed from here. He doesn't respect anyone who comes from here.

Nor should he, not least because the redirect reliably results in ~90% of comments in any thread where jwz is mentioned being about the testicle in the eggcup rather than anything substantial.
Very curious to see what will happen on the 24th. I assume some people will go out but will that be enough to do anything?
I'm not sure why either, but notably all presidents execute their pardon power on their last day - so it's not specific to Trump.
Your argument that Elastic could have released ES closed source and did us a favor is not a valid one.

They released ES open source so that they could leverage the community + an open source tool (lucene) to build their tool and later on their company.

If not for the open source they would be just a random actor in search and SOLR would likely be a better tool than it is now.

Also by your logic elastic did to lucene what aws did to elastic...
It's bunk because the military didn't play ball, not because it wasn't tried.

What's mostly bunk here is that you think that this is behind you and I am not willing to accept that until we have seen one, and preferably two transfers of power without mishap, preferably in both directions.
Ha! Ha! --love it! Yet another "Look at me, everyone! Look at me!" social media whore brought down by her own insensitive bragging.
> Starship is methane-powered. There are ways to generate methane sustainably (from C02 and water);

It's not about the generation. Burning methane results in a 1:1 emission of CO2 [0]; literally the equivalent of just dumping pure carbon dioxide into the atmosphere.

https://www.quora.com/What-are-the-products-of-methane-burne...
Really interesting.

How do you deal with ephemeral file storage? I guess you actually need the provider (say AWS) to build this into the platform?
I have made my peace with doing that- it's already been 10 months. And I acknowledge I am extremely lucky to be in a situation where I can do that, and do it in a way that I feel is sustainable (for me personally).

My point isn't that "oh this is so easy". Instead, my point is in a heartbeat I would trade 2 months of extreme lockdown to avoid what we see in the United States. I know that isn't/wasn't possible for reasons you describe but it hurts to see someone who lives in a region where they crushed COVID complain about what was done
Time is a continuous variable, and kids know this pretty early on: they will happily tell you they are 5 and a half years old. Their second year starts when they are aged 1.0.

English in general makes this distinction: "He is fewer than 6 years old" is simply a mistake, while "less than 6 years old" is fine. (I think some dialects use "fewer" less often, in general, but would be pretty surprised if any prefer it here.)
And most TV's aren't very good as pc monitors.
Most pardon's are recommended to the President by the Justice department after reviewing cases. Currently, they have a mandate to go over all large sentences of non-violent drug offenders.
Well. GPU, networking, power management, disk... There's more than 1 huge challenge
Good question—and if you’re looking for a line in the sand you may have found one.

I wouldn’t say they should insert themselves in the process and read the messages mid-com, but there’s nothing hiding this messaging on the back end. In fact, isn’t this all a result of it being highly publicized? It’s that public broadcast people are reacting to, and nixing.

They haven’t been booted off any private messaging systems (where they’ve only practiced private coms), have they?

Edit: by back-end I mean the end product of their efforts not serverside
His conviction is based on being a fall guy for Uber’s corporate espionage.

His pardon could be interpreted as a strike against “piracy is theft” mindset and the idea of “intellectual property” in general that HN often rallies against.

I’m quite disappointed by Trump’s pardons but this one is actually a good one.
You are, of course, correct. It's not exactly a bulletproof heuristic. At best, you'd probably only be able to identify likely filler episodes, as opposed to filler scenes.

A truly sophisticated approach capable of identifying filler scenes would probably involve machine learning using data that's not (to my knowledge) actually available to the public, like engagement/watchtime statistics.
Ask HN: Selling shares to my co-founder
A couple of years ago for various reasons, my co-founder and I decided to put the company in my name. We are friends for over 2 decades, our kids grew up together, she's like my sister. This isn't our first business, we ran another company together with 3 other partners for a few years and when we cashed out we started a new company. We've been through truly thick, thin, divorces, moving out of state, death of parents, kids weddings.. everything.

We put the company completely in my name for personal reasons, that are no longer the case, however the business has grown in value and we've been advised that to put the shares in her name she now has to pay a hefty amount to the company to purchase share that are, essentially to me, her property already. Or, face a possible IRS concern. I understand there might be some back taxes to pay but what we can't figure out if why I can't just give her the shares that she worked for? We could prove with documents that we shared the burden of work all this time and we paid ourselves equally as employees. No dividends were ever issued.

Curious if anyone else has been through this, some hope would be great as it is the last thing I want, that she has to fork out for her shares.
Anthony Levandowski Pardoned by President Trump
Why is simply being effective the bar for lockdowns? Lots of things are effective that aren't used because we understand that there are tradeoffs and other policies can bring similar effectiveness with less side effects. as the saying goes: "Any idiot can build a bridge. It takes an engineer to build a bridge that is just strong enough to stand given the weight it's meant to bear."
spent 5 min on there, couldn't figure out (and still can't) what it's about...
Nice press coverage!

Something weird about the game is the heart counter. In most games, you start with ¿5? hearts and you loose hearts, and if you have no heats the game ends, even if you have time.

It would be nice to have some objects that you should not shot, like white cells. But some moron will misinterpret that vaccines can kill white cells an avoid the vaccine and other moron will get angry at you because he misinterpret that you claim that vaccine kills white cells. Perhaps I'm too afraid of morons, but I guess it's better in this game to avoid things you should not kill.

Perhaps you can add some power-ups, like an additional heart (if you reverse the counting), or 5 more seconds, or more vaccines (if you make them finite). To avoid moron criticism, make them transparent to bullets. In most games you must move the syringe to pick them.

EDIT: Trash cans? What about some flying trash cans that you should not shot? How con morons misinterpret it?
There's a lot wrong with mobile, but one of the things they absolutely do right is giving you the tools to treat your apps like cattle. We need that on the desktop.
Show HN: I built an online interactive course that helps you learn Vim faster
They probably call them serverless because you are mainly billed by the number of requests instead of the number of hours it runs for (although for Dynamo, there is a cost per table and r/w)
Yeah I was watching a video[1] about QEMU vs virtual box comparison yesterday on youtube and the guy doing it found that the QEMU version was faster than his host machine in some cases. It was confusing!

[1] https://www.youtube.com/watch?v=hOKQfeUNTCE
This is how all non-violent criminals are treated. Many many prisoners were even released in the early days of the pandemic.
It's arguably a bit of a historical oddity that the US has them at all. In most countries, particularly former British colonies, a pardon power of some sort exists, but in developed ones it's typically not, de facto, wielded by an individual (in the UK, for instance, it's theoretically wielded by the Home Secretary, but in practice a Home Secretary who used it unilaterally would find themselves immediately looking for a new job, and the norm is that it's barely used at all).

The UK used it a lot more at the time that the US became independent, which may be where the US got it from.

I don't think _any_ developed democratic country has a pardon power as unrestrained as the US one (even in countries with executive presidencies it's usually constrained in some way).
> It's designed to force people to handle the damn error as near to the call as possible.

This is always the wrong way to handle errors.

If a function returns an 'error' that needs be handled at the call site, then it isn't an error, it's a variant return type.

Errors are things that can't be recovered from but must be handled to release resources.

You want this to happen in some central place, not scattered ad-hoc in every place where you use resources; releasing them by hand is worse than manual memory management.
Ask HN: What books changed the way you think about almost everything?
I had an Athlon 64 machine. The good old days of socket 754/939
You mean the one where they already served the full federal sentence?
No problem, couldn't care less about the downvotes. Yes, it is an impressive thing to imagine. But the scale you are talking about is not something that I expect to see in a very long time, if ever. The degree of international cooperation that would require just isn't on the books in the present climate, and Musk has a habit of throwing grand visions with unspecified or wildly optimistic time-tables out there.

He's our generation's Howard Hughes, genius but flawed. That doesn't mean he isn't moving the needle forward in a very meaningful way but at the same time I don't believe every word he says.
Yup. On my 10.15.7 this happens frequently. Often if I open up the laptop I can see the current contents of the screen for a good 5-8 seconds before the lock screen shows.

I don't think I could interact with the screen in any way, but I could certainly take a picture of it, if I had any private information on the screen.
Looks very very cool. Does it compile to a VST.

Would love to see an example with a gui ! My dream is to make a sample chopper I can use directly from maschine
The natural representation of intervals for doing arithmetic on is 0-based half-open.

Half-open because of the slicing properties, as noted in your posting and the grandparent posting.

0-based because of the simplification for converting between relative coordinate systems. Suppose you have one interval A represented as offsets within a larger interval B, and you'd like to know what A's coordinates are in the global coordinate system that B uses.
This is much easier to compute when everything uses 0-based coordinates.

Here is a slightly longer discussion of that in a genomics context: https://github.com/ga4gh/ga4gh-schemas/issues/121#issuecomme... and a draft of a document I wrote up (again, in a genomics context) so as never to have to have this discussion ever again: https://github.com/jmarshall/ga4gh-schemablocks.github.io/bl...