skysight-inc/HackerNews huggingface dataset:
If you statically link the final binary, my point still stands: No translation unit has undefined behavior until the linker statically links them into a binary. (Actually, not until the offending code is run, but if a program can be proved to always trigger undefined behavior you can be a bit loose and say the compiled program has the undefined behavior)

Dynamic linking vs. static linking is irrelevant.
Luster – Lua VM Implementation in Rust
There is not any evidence of that. The evidence is that he is having some sort of traumatic thing happen to him. It may be entirely caused by himself. Hopefully this person gets the help they need as the situation evolves and it becomes more apparent who is level-headed here.
If it's Jameson Lopp, I would assume the whole story is just plain made up.
Would you consider someone like Microsoft a small entity? Do you think they're just gonna sit back and accept that Apple and Google got to shove them out of the mobile space completely?
Wozniak actually talks about this. Devices that came with circuit diagrams would sell more because people could repair them for cheap.

I know I certainly would pick a repairable phone over an epoxy brick.
> I am yet to work with a payment method that does not support reversal (except for physical cash).

I'm not sure I get your objection: Physical cash is exactly the use case for bitcoin.

There will be financial services and other layers built on top of bitcoin, just as it is done for the dollar, and we are seeing the nascent industry now. (Whoever provides insured services first is going to make a mint.)
Totally, in Estonia even as a foreigner it was pretty easy to navigate bureaucracy for starting companies and immigration and even taxes. In Germany I didn't even bother trying to do it myself because it was so over the top. Luckily the company that hired me paid for a relocation service and had a person on staff that did incorporation and tax related for their ventures.
yes, your phone is the exception. There are numerically more exceptions because of the sheer number of android models out there but phones lasting longer than two or three years is the exception. You can see this on the estimated OS charts if you combine it with the knowledge that most android phones don't receive more than one OS update. I've had several android phones over the years and know several others who owned them as well. Both in developed and developing markets. Android phones are cheap and will suffer on two counts - software and hardware longevity.

The used market may not be totally rational but there's a good case to be made for why apple devices tend to hold their value better - they are often built better. You cannot simply dismiss the higher price of used apple hardware as the market being irrational.
not my protocol, nor am I OP who lacks technical understanding of question asked

I guess when I don't answer question nicely enough for the anti-crypto cunts I get downvoted for it, as if HN opinions even matter any more
Check out interter ACs. Good ones should scale from 20-100% in power or better, so should be able to stay on for most of the time.
> That's the big innovation.

You're right that a lot of folks don't want features like that, though I just had to point out that this isn't an "innovation" by any wild stretch of the imagination, but rather simply a policy in some implementations.

It's mutable, too, for both banks and crypto: either could allow/disallow such a policy if those involved cared to make it work that way.
> If a stranger mentions being into crypto but then does not actually seem to know much about it, consider that they may simply be fishing for a specific type of victim.

Or, more likely, they're just trying to impress you and find common ground! I've seen this many times on dating apps but have never been drugged.

A lot of this advice is great, regardless of whether you're into crypto, but this point is a bit much.
There's no way to replicate the engagement that an actual teacher/tutor can provide. Some people can do just fine with self-directed study but I image most people aren't autodidacts.
Probably a poignant time to point out that CryptoAG was based in Switzerland for half a century and highly trusted around the world yet controlled by the CIA the whole time.

https://en.wikipedia.org/wiki/Crypto_AG
Sure, the _amount_ of content has grown given the lowered technological barrier for entry and the ease of distribution but content quality isn't some finite resource that is spread out within some limit. If anything, more content means more opportunities for truly great stories to come from corners of the world that might not have previously had that opportunity due to any number of reasons.

Plus, these channels have opened up more categories of film to wider audiences. Big budget, full length films and multi-season tv series aren't the only viable options anymore—some of the most talked about media in my circles over the last couple of years have been limited series. Try dragging a brilliant 8 hour limited series across an entire 23 episode season or trimmed down to a two hour film and it's a completely different story.

Brilliant film makers are still brilliant film makers and the number of studios willing to take a chance and fund them has never been greater. The traditional movie-watching experience is still here, it's just no longer the only option. I don't think declaring the movie business as dead is accurate, it has simply evolved and adapted. But from where I sit, this evolution has just given us more stories and more ways to hear them.

Just because you can distribute a story without a year-long PR blitz doesn't mean you can't tell a good story.
"Ed-Edd-n'-Eddy type"

This is now in my lexicon. I loved the show as a kid and this so perfectly captures how I feel about some shops.
You can't automate the human interaction out through tech.

That's like expecting coffee vending machines to have made baristas obsolete.

As an adult I can do self study just fine and since I work in tech that's expected of me, but as a kid I was way too thick to learn the school curriculum on my own.
I don't think so... I've never seen the subscriptions tab skipping a video of the channels I follow.
I don't follow. Do you mean to say that the calculator would produce .333333333 repeating but the student was expected to write 1/3 ?
Cryptocurrencies offer a single property that is both good and bad: there is no authority who can reverse or block a transaction against the will of the participants.

Lawsuits and criminal proceedings can cause government authority to direct banks and financial institutions to do what they say. Government can set rules to block transactions, or to demand more identification to be tied to a transaction. Even cash can be physically seized and taken by the government. I'm not arguing this is good or bad, just that it is. You can come up with a list of circumstances where this authority is a bad thing, or a good thing.

And in cases like this, we see why that overriding authority can be a good thing. If your bitcoins are stolen, there is nothing anyone can do to get them back. They are gone.
If this sends the heat into space, what happens if you’re indoors? Would it still cool you?
The short film The Beatles made for Strawberry Fields in 1966 was an early "music video" with psychedelic overtones

https://www.youtube.com/watch?v=HtUH9z_Oey8
> And don't get me started on the pain of trying to build an Ordered Dictionary with a default initial value!

>>> from collections import defaultdict
>>> from datetime import datetime
>>>
>>> d = defaultdict(datetime.now)
>>> d[1], d[2], d[3], d[4], d[0]
(datetime.datetime(2021, 7, 9, 15, 50, 52, 87605), datetime.datetime(2021, 7, 9, 15, 50, 52, 87613), datetime.datetime(2021, 7, 9, 15, 50, 52, 87614), datetime.datetime(2021, 7, 9, 15, 50, 52, 87615), datetime.datetime(2021, 7, 9, 15, 50, 52, 87616))
>>> for k,v in d.items():
... print(k,v)
...
1 2021-07-09 15:50:52.087605
2 2021-07-09 15:50:52.087613
3 2021-07-09 15:50:52.087614
4 2021-07-09 15:50:52.087615
0 2021-07-09 15:50:52.087616
>>>

Seems pretty good to me?
Not in academia, but have watched the debates over the past decade or so...

It really seems like it's the inertia of existing administrators that haven't shifted away from judging papers based on the prestige of the journals they get published by.

Once the prestige factor goes away, and authors are judged primarily on the quality of their work, the publishers will lose their stranglehold.

Of course, that means a lot of entrenched interests losing revenue streams, so it's going to be a long struggle of grassroots change vs regulatory capture combined with reactionary pushback.
In engineering school, our professors wanted to treat things like the real world (as much as you could during test time).

Their solution was to let us use whatever we wanted except other students. Cellphones, textbooks, laptop, Internet.

You had 2 hours to answer 2 or 3 questions, it was definitely reasonable if you studied... But the questions were insane.

You know how homework would be assigned 1-50 odds? These were like the problems 74 and 76, 1/4 page long and difficult, multiple parts.

That seems as similar as engineering school got to the real would outside our sophomore and senior design projects.
In true Oracle style, they will bleed you dry.
Where I live: It does fall under it, if the code is sufficient complex enough (e.g. there is evident originality) to be protected under copyright in the first place.
Traditional bank accounts have a number of securities in place. Depending on the bank:

- You can't transfer money without filling in 2FA credentials

- Suspicious transactions will be flagged (e.g. account draining amounts to another account you've never transfered money to)

- Banks have insurance and will reimburse you the money, whether they can revert the transactions are not. Which leads me to:

- Bank transactions are reversible

- Bank accounts need ID. If money is transfered to someone, they will know the identity of the person receiving money. For dumb people it'll be themselves, for smarter people it'll be their money mule. (never allow strangers or new friends to transfer money through your account no matter how lucrative or trustworthy it may seem). Crypto exchanges are catching up, but crypto doesn't need to be transferred between exchanges.

- Banks are licensed and pay to a national bank; if a bank goes bankrupt (ha), said national bank has you covered. See cases like Icesave and DSB Bank.

But yeah, reversibility, anti fraud / theft prevention and insurance is banks' advantage that the crypto crowd is either unaware of or simply doesn't want to pay for, even if banks are cheap (because they get to play with your money)
She does say she doesn’t think most snippets meet the originality criteria.
Justifying the act of physical violence is not a joking matter. You may think you are cute and funny, but this is not cute nor funny.
Have you guys heard of Fulhaus? I saw them on Dragon's Den (Canadian Shark Tank for you Americans) and they seem to have a similar model to this. Is your business model fairly similar?
It depends on how you’re defining as the job.

The nominal surgeon usually does the “heart” of the procedure: replacing your ACL, removing a tumor, etc. Their assistants just get you into/out of the state where that happens.

Surely you don’t expect the surgeon to personally do everything related to the case, right? Wash the drapes, prep the instruments?
yes, it's being worked on, but it's only apparent if you know where to look, that means in business oriented blockchains. This could be a good starting point: https://coingeek.com/stefan-matthews-on-hashing-it-out-episo...
If the idea is to be a computer.... then I'll still take my breadboard TTL chip computer or a $1, 8-bit PIC MCU.

It certainly doesn't work as cash. For digital cash, you would at least need:

1. privacy

2. transaction speed

3. reasonable transaction settle rates of less than 1
minute

4. an easy way to do transactions.

They can probably fix 3 and 4, but for privacy (2) bitcoin is a PUBLIC LEDGER by design. Buy a snickers bar -- everyone IN THE WORLD knows. Go to the strip club -- everyone IN THE WORLD knows. You can paper over the problem with "coin tumblers", which is the WORST name for it. Want to look _exactly_ like you're laundering money? Put your bitcoin in a "coin tumbler". For transaction speed, see https://en.wikipedia.org/wiki/Bitcoin_scalability_problem

If it isn't cash, what is it? "A store of value"? Stores of value normally have _intrinsic_ value. What's the value of gold? Many women want it and many men will do anything up to and including murder to get access to women -- _that's_ a real store of value. What's the value of the US dollar? If a resident of the USA doesn't pay their taxes in it, the government takes away all their property and can put them in jail.

--

Personally, I don't disbelieve in cryptocurrency as digital cash, I just disbelieve in bitcoin. Monero and the fork of it by signal known as mobilecoin are heading in the right direction. Privacy by default. Transaction speeds that are within 1-2 orders of magnitude of what is needed. Txn settling rates in the right direction. In the case of mobilecoin, a platform for easy transactions ( the signal app ).
"aw man, Plank is sending us PRs now"
> I think many Americans are against more government intervention

The counter-argument to that is that mega corporations are government like power structures in their owns rights and have been deputized by the government officially and unofficially many times.
StackOverflow is explicitly CC-BY-SA which makes it easy to comply (e.g. link to the answer in a comment, use a compatible license).
Wire transfers can be reversed in some cases but it's not as simple as filing a chargeback; AFAIK it requires cooperation between law enforcement and the recipient bank.
Related:
https://news.ycombinator.com/item?id=27783692
Yep. It's one of about 5 methods I use, depending on how you count them. I don't even offer security advice or mention the 5.
> Code has to be law and law has to be code.

No, that's DRM and it's far from all good.
Why? Germany participates as an auxiliary collaborator of the Five Eyes [1] intelligence alliance.

[1] https://fas.org/sgp/crs/intel/R45720.pdf
I read that as "people on hacker news say they want open hardware/software, but don't buy hardware options that are currently available and are open"
For completeness, there’s also some work-in-progress that aims to provide safe AppKit and UIKit bindings: https://news.ycombinator.com/item?id=23035078
For some channels I only watch some of their content. RSS allows me to add filters based on the video name.
Plus, my RSS client works like email, so I can mark as read or unread easily.
No, you’ve missed the point. It’s still much better to have a trap than “any other imposed behaviour” because the compiler can reason that this condition is impossible on the happy path and remove code accordingly.

Removing code is both among the most sensitive and the most effective optimizations that compilers do, and they use UB as another signal for “unreachable”. The current model of “assume things never happen and don’t plan anything in particular if it does happen” does no one a service.
Why give them a 25% raise? This seems like an opportunity for employers to take back 20% of their workers’ salaries.
It's at the top of my list.

Incidentally I went look for the best limited series shows, but aggregators like Rotten Tomatoes do a poor job separating them from other TV shows. Right now I see "Watchmen: Season 1" and "Unbelievable: Season 1" which as far as I know were only meant to be one season. Yet Chernobyl and Mare of Easttown are labeled as Miniseries and Limited Series, respectively. What's the difference between the two labels? Why hasn't someone went back and updated the database? Why can't I filter by ongoing versus limited?
I really think this idea of “4channers” is stupid, in the same way using “MySpacers” “Facebookers” and “Netflixers” should produce a feeling of being entirely out of touch. How does one come to view these public websites as secret clubs? Could you explain why you think that way?
GCP Cloud Run custom domains is broken
Binding a custom domain to a cloud run instance has been broken for several months. A ton of retries are necessary to achieve this simple result. Anyone else has hit this problem?
You should do it all in one go while processing the data, because you want to use the context you have during the encoding process to build your statistical model. The simplest version is, keep an array of exponential moving averages of the bit value for digits 1...N of each code, and use those as the probabilities for the range coder.
Question is, would you prefer to re-write Spark in C or use GraalVM to get a boost in speed? It's not feasible to re-write everything from scratch.
It sounds like you need to learn how to write testable code. For that, I would suggest two books: Working Effectively With Legacy Code and Clean Architecture.
What information in particular did I give away?

This is important to me, please let me know.
There doesn't have to be any deception on anyone's part for their to be new surgeons. If a new surgeon is doing the operation, he/she should be the one to meet the patient and explain the operation
You might be interested in this "database" of wrench attacks. It's maintained by the same author of this article (Jameson Lopp).

https://github.com/jlopp/physical-bitcoin-attacks/blob/maste...
I can see a possible future where only a few holdouts rely on 'prestige' as a decision criteria, while a majority of academic fields/groups have switched to open access... and the former get only more and more vocal about the decline of science, or some screeching point.
Undefined behavior applies internally to the language's code, not to foreign code. FFIs specify how the compiler is to invoke foreign code, how to prepare any arguments, and how to handle any return values. They are not typically part of the language standard, but rather the OS standard.

Windows has different requirements for invoking foreign code vs. Linux for example.

The foreign code may have requirements on how it should be called, but it is not C's undefined behavior to invoke an OS system call incorrectly because the OS is not regulated by the C standard.

You can formally prove that a program has no undefined behavior, and it can still have lots of errors when actually run.
Or those coats coated in water-repellant stuff .. which washes off and is apparently rather toxic.
There's been other issues. MacBook Pros have had issues with the screen ribbon cable causing problems with the backlight (a.k.a Flexgate). Then there's been issues with batteries swelling in 2015 MBPs which impacts the trackpad too. Plus there has been countless models with GPU failures being commonplace stretching allll the way back to to iBook G3.

I would personally consider the 2018 Mac Mini to have a design flaw as the case design doesn't allow for good Bluetooth reception and using USB 3 so it would lose connection to my Magic keyboard and trackpad at least once a day which I personally found extremely frustrating. I've also had 2 iPad Pro smart keyboards fail within a year with the 2nd one only seeing light usage. It seems like whatever conductive tape Apple uses doesn't handle humidity well and corrodes quickly where I live. I'm concerned about my 2018 MBP's long term longevity keyboard aside just from the awful awful thermals that shoot the machine to T-junction in about a minute of actually pushing it but we will see. Probably the keyboard will wear out before that.

I think too many people confuse quality and metal construction. Yes, Apple builds nice aluminum enclosures but they neglect other details to achieve that.
I think the idea is that the attic tries to maintain ambient outdoor temperature and the house is then insulated from the attic.

So you may not get much heating from your roof in the winter anyway.

Someone correct me if I’m wrong.
> The move towards mobile, music, thinner seems an inevitable progression in this vein of technology - analogous to transistor miniaturization that occurs no matter who the players are.

iPhone was a first of it's kind. We had smart phones, we had touch screens, but Apple pushed the boundary. Everyone followed.

We had mp3 players, we had mp3 players that played video, (I had a Creative Zen), but Apple pushed the boundary with iPod's high capacity and ease of use. Everyone... Apple stole the market on this one.

We had laptops, decent looking ones, thin...ish... ones, etc, but Apple pushed the boundary with the Macbook Air. Everyone followed.

Apple is great at Marketing, Build Quality, and User Experience. (doesn't matter who disagrees with the last one, its a fact when a non-tech savvy person can pick up an iPhone and use it, but struggles with Android)

I don't think Apple is much of an 'inventor' company, but they do take existing things and make them better or push them in ways others can't or didn't think were possible.

----

In terms of the laptop market, I feel Lenovo is the /only/ company thats close to Right to Repair. Pretty much all of their laptops can be opened up and you can swap ram, memory, and ssd's. Their much older laptops back around like T440 you could replace the CPU.

But if any part of the laptop breaks, you can order any part.

I bought a Lenovo Legion 5 Pro for my wife, but in Singapore we can't get the keyboard with Traditional Chinese, can only get it in Taiwan or Hong Kong...

No worries

https://pcsupport.lenovo.com/sg/en/products/laptops-and-netb...

Navigate to Lenovo website, find the part number, contact the local distributor in Singapore, they have ordered the part for me and just waiting for it to arrive.

Bought a 4k screen and think damn I wish I had the 1080p screen instead...

https://pcsupport.lenovo.com/sg/en/products/laptops-and-netb...

Can find the 1080p screen for my thinkpad and replace it myself...

----

I do wish we lived in a more Woz world where more companies had parts you can buy and fix yourself etc.
Ask HN: Is Your Job Ethical?
If you don't think so, why haven't you left yet?

I've seen discussion on HN recently about this and I want a bigger sample size on how HNers approach this question. For context I've worked for several years in web dev and I'm worried about the future and tech's role in it.
This is a clown take that was planted in you by the GitHub comments on this issue. Nobody cares particularly if you feed data into an algorithm of your choice. I can feed data into a hash algorithm all day and that won't come back to bite me.

This particular algorithm isn't learning anything, it's a big pattern matching/information retrieval system. It wasn't fed tokens, AST, constructs, type information, it was fed pure source code hoping the oblique magic in between would make it develop understanding. Nothing of the sort happened and it is instead regurgitating input data verbatim, which is the obvious copyright issue at hand.
Aaswath Raman's company [1] https://www.skycoolsystems.com
I completely agree. The copyright issue doesn't seem to be simple at all, at least from the perspective of USA law. This has been posted on another thread and completely destroyed my hope of understanding the consequences:

https://ilr.law.uiowa.edu/print/volume-101-issue-2/copyright...
You mentioned reliability, but I remember the butterfly keyboard debacle that was denied by Apple for years.
If I write a poem by variable names, don’t you think that would fall under copyright?

The hurdle for getting copyright are pretty low (of course that also means any compensation by a court would be low).

Anything that is not technical ly required (or deviates from some generic standard) but involves some aesthetic considerations is a already potentially copyrightable.

Because the boundaries are so fuzzy no sane company lawyer would allow the use of CoPilot . Why take a risk for some glorified text snippets?