skysight-inc/HackerNews huggingface dataset:
As usual, and as exemplified by virtually every decision in the Covid handling debacle, no mention of cost/benefit tradeoffs.

What number of deaths will be due to slower progress due to needing to comply with whatever the NTSB believes will save lives?
And just like that we're back to

> There's a significant difference between what these languages can achieve in theory, and how they're used in practice.

Theoretically in C you can use restrict for this. Practically nobody does (rust users keep finding bugs and miscompilation in LLVM's noalias support), and it's a huge footgun because you're completely on your own and all bets are off if you misuse it.

Meanwhile in rust land, it's the default and the compiler checks your homework, and while you can always lie to the compiler it's much rarer that you'd even get in a position to do so.
Station wagons are popular, as are hatchback cars where you can fold down the rear seat. That will fit a fridge or bicycle. If you really need the space you just rent a van for the day. Gas is expensive on the old continent, so people really do not like to drive huge cars.
Plenty of central banks seem interested in launching digital currencies. For me the main selling points of cryptocurrencies are programmability, easy international transactions, and potentially easy micro-transactions. Personally I don't care much about the fact that they are decentralized, and while I'm happy for my bank to see my transaction history I'm not that keen on having it public.

If I could move my savings into a digital currency provided by a central bank I'd do it today. Bonus points if it can be stored in something like special drawing rights rather than euros.
Yeah, I miss the minidisc. But I always thought the sliding door mechanism was a possible point of failure on the units.

And then, they were also rather expensive. Costing about $15 per unit.

And then, there’s data density. It didn’t seem like it could hold enough data. Or transfer it fast enough.

But, can modern day flash drives ever become as cheap as minidiscs?

I always have a concern that flash drives can easily become damaged or corrupted, since you’re actively plugging it directly into an electrical source. I once got my flash drive fried, and the USB port was also fried. I never trusted them again.

So I tend to buy SD Cards, and treat them sorta like minidiscs, for my stale cold storage needs.
Chapter 11-7 of https://www.newted.org/download/manuals/NewtonProgrammerGuid... using the Self influenced language NewtonScript https://www.newted.org/download/manuals/NewtonScriptProgramL...
He did not make that up.

https://www.cnbc.com/2019/02/15/alphabets-sidewalk-labs-want...
It’s hard to see how you could be arguing in good faith given that your point of “fearless concurrency” being an overstated “sales pitch” has now been answered with multiple substantive answers.

Please stop moving the goal posts from “program concurrency” to “distributed or multi-process transactions.” It subtracts from the conversation.

Rust is honest about what it does and doesn’t do.
The latest FSD beta is now confirmed to be using the internal camera to monitor for alertness and Elon has just announced via twitter that they kicked people out of the Beta for misuse.
On the one hand: caveat emptor, you should study the manual and docs before you engage the limited automatic driving system on your car.

On the other hand: calling something “Full Self-Driving”, when it is in fact definitely not fully self-driving, kind of flies in the face of the obvious plain text reading of the phrase “Full Self-Driving”.
So yes, ofcourse I ended up at youtube, if only for my own curiosity :)

https://www.youtube.com/watch?v=a1KXL1vjTX4
Google doesn't have an office in Toronto but Amazon employees don't make enough to buy houses. It doesn't matter though because most people in Toronto now make more money on real estate appreciation than they make from their jobs. Real estate gains are tax free so a modest 10% home price increase (it was 30% last year) is like earning at least an extra 150k pre tax
> When you say North Indian to which part specifically you're referring to?

In this context (veg thalis), I used "North Indian" as a loose generic term to refer to the kind of veg thalis that you get in literally the Northern, or roughly, the upper half of India, stretching from Madhya Pradesh upwards through Uttar Pradesh, Punjab and Haryana, etc. (All those are central or northern Indian states.)

There are probably some common things and some differences in the thalis you get in those areas, but speaking broadly, they can be considered as one region (Northern). As in, you'll typically get either chapati/roti and then rice, or just chapati/roti, with a dal (tuar, mung, or chana dal) or a whole pulse/legume (mung, chana, lobia or rajma) gravy item, and one to three dry or wet vegetables dishes. (The exact vegetable items you get, and the style of preparing them and the dals or whole pulses, may vary between subregions.) May get a salad or a raita or a chutney too. Pickle/achar and papad, ditto. And a dessert, and buttermilk, or lassi. Depends on how elaborate the food place and meal is. I usually prefer fewer items, myself. Otherwise the food gets too heavy. One tends to overeat if not careful, which I don't like, even though, as you said, the food is light overall, so it digests somewhat fast, and you feel lighter again soon.

I will make any other replies later due to some work I have, in a day or two. But good discussion, thanks. Enjoyed it :)
Oh, that's very nice, and just the kind of functionality I've been wanting for some time.

That was something I was recalling from a very old project though. I'm not sure right now when that was exactly. Maybe it wasn't in the language yet at the time, or was a new feature still and I didn't find about it, or it wasn't in Mono yet.

I've not done C# in a long time, so no doubt I missed a lot of developments.
I fell in love with 1Password (and immediately switched from LastPass) once I discovered it can parse and save the Authenticator qr code and auto-paste it at every 2FA step.
Raise rent?

The “system” will suddenly become so massively dishonest that it will spell death for America?
I still have my old minidisc player. Exquisite piece of hardware mechanical engineering from Sony.

I always enjoyed hearing that satisfying sound of inserting in the minidisc, and closing the door as the internal mechanisms aligns the media and prepares it for playback. Now that’s nostalgia.
If they’re spending a lot of money and still getting raked over the coals in various legislatures including Congress, why should we be worried?

Lobbying only gets your interests on the table; it doesn’t get you a seat at the table.
> Rust won’t prevent all manner of bugs

Nit: rust will prevent all manner of bugs. Rust won't prevent every manner of bugs.
Ugh. Another reminder that high level OO languages and things make my head hurt.
Hats off to Valve for Proton. No dual boot nonsense with Windows needed any more.
Why hasn't Craigslist UI changed yet
The interesting thing here is that rust has good threading and fantastic crates

I played with making a regex library in rust. Which, as per RE2 design involves constructing graphs and glueing them together as the regex is traversed

This requires a cycle catching gc, or, just a preallocated arena... It was my first foray into rust and felt I would need to be hitting into unsafe, which I wasn't ready for. Array indexing might decompose into an arena, but syntactically just a bit messier (imho)

Would be interesting to see how the RE2 does it in rust (didn't know that)

I like how the article shows both sides of the fence, it makes me realize:

I get a lot of optimizations from ptr stuffing in c. But sometimes we should lay down the good, for the better
No, because he is without remorse and his ideology doesn't support reparations for his crimes.

If Mr Ulbricht were so motivated to make amends for his actions, he would offer solutions for reducing suffering. Instead, with simplistic ideals, he proposes to redo social media in a manner that has no clear pathway to reduce suffering. It is, at best, haphazard.

The dangerous wire analogy doesn't hold. Very different situations.

Personal demons are similar. Make reparations for pain and suffering.
This is the `Pin<&mut>` example which I'm not that familiar with but was aware of. I think it's highly unlikely that this one, relatively niche use case is going to prevent Rust from ever being able to safely turn on aliasing optimizations. There have been several solutions proposed, e.g. adding a stricter UnsafeCell to the language; they may technically not be backwards-compatible, but given how `Pin` is used and the fact that this is a soundness issue, I think it should be fine.

The HN thread is mostly unrelated. I agree that it would have been better to integrate `Pin` directly into the language, though, but mostly for ergonomic reasons; it could still probably happen in an edition upgrade.
Americans have this weird fascination of bigger is better mentality to the point that practicality goes out the window. The hummer is a prime example: burns a ton of gasoline with little benefit to the owner or others.
What?!? I have to try that. I hope I can get my codes out of Authy somehow.
According to some accounts Germans were unintelligible barbarians who couldn't have known cooking other than boiling bones to create broth.
Llevando las gemas del mercado de valores a la audiencia hispanoparlante
But restrict is very hard to reason about correctly, and the consequences for making a mistake are potentially catastrophic.

There's a very real difference between what's possible in theory and what humans do in practice. I wish Hacker News people engaged more with the practice.
It's a million times easier to just move away than it is to change anything about a global problem in a city with millions of people. Making a difference doesn't solve personal problems.
Also, C++ has solved many of the issues mentioned in the article (especially post C++11).

It has not solved the “minimum set of primitives that make OO tenable” problem.
The "strong" and "b" tags don't mean the same thing, nor do the "em" and "i" tags. HTML, used properly, will tell you why the typography appears as it does, which means that the meaning isn't locked up in the typographic conventions of the day (which change, often making old documents confusing to read, and are not accessible). Markdown is lazy.
I agree; it's just uninspired, poor artwork. Preferring the EGA style doesn't make the VGA art not bad. I might go so far as to say it's objectively bad.. You could almost certainly get a consensus on that from a group of talented artists..

I don't think they spent much money on the remaster. There are tons of these though all the way to now. Remasters that fail to capture the original art direction and substitute middling art.

Within the past decade there are more and more good remaster examples. Studios seem to be putting more money into them, and better talent is involved.
It's like one of those "shooting your foot off in programming language" joke setups. Infinitely extensible for any roundabout way to solve FizzBuzz as possible. The ones imitating the originals' style might not be as good, but they're certainly welcome for capturing more types of unwieldy solutions.

http://www.toodarkpark.org/computers/humor/shoot-self-in-foo...

Alternatively, for a more tech interview specific, "how to measure the height of a building with a barometer?", fifth page from the end of this document:

http://electroons.com/8051/ebooks/expert%20C%20programming.p...
YouTube deleted channel without informed violation
Youtube Account “SmartoVersity” got stolen and deleted later on due to some hacking attempts. The link to Youtube channel was https://www.youtube.com/channel/UCmLqonufc7iW4ATGQe-Crxg
This was completely a educational channel, no spam or guideline violation content was there.
There happened lot of suspicious activities with this account, I have collected all the related screenshots, first of all the email was changed and later on the ownership was also changed. After that YouTube deleted the account for community guideline violation.

It started with a Ransomeware in my PC, probably the cookies of my chrome browser were compromised then, and from there hacker logged into youtube account and also formatted my phone using findmymobile app
How well do you know Rust, and how it works, and what it guarantees?

Like, do you have a specific objection to the way Rust accomplishes this?
There are a few exceptions to this general rule. For example, when there was a Linux port of Operation Flashpoint (if I remember correctly), you had to purchase it separately from the Windows version. It's extremely rare, however.
> Accessing […] database content from multiple threads without proper locking, or transactions, in place will compile just fine.

All the rust db interfaces I've seen so far forbid unlocked sharing of connections, statically (the connections are !Sync, in Rust speak).
Your question does not provide much detail to go by... but three important, general principles to go by are:

1) make sure the manufacturer you are talking to is already manufacturing comparable products - efforts to make them manufacture a type of product they are not already familiar with are likely to fail;

2) make sure the manufacturer you are talking to is already manufacturing at a level of quality that is in line with the quality you want - efforts to make them manufacture at a higher level of quality than the manufacturer is accustomed to are likely to fail;

3) familiarize yourself with regulations for the manufacturing, import/export, and sale of the product you want to develop before you talk to the manufacturer - regulations will always eventually catch-up with you and you risk wasting effort, money and time not covering them in advance.
1. What is fullstack mean in devops world?

2. Didn’t her resume give enough information about her background?
I think he’s talking inherent technical limitations, not regulations. I wonder if it still applies if there was a pre-burning occurring in the middle of intake manifolds
Does representing tetrominos that way make hit detection or anything like that easier? My gut says the only thing they add is slightly smaller memory usage, but maybe i'm missing some sort of elegant bit trick.
I agree. If the outcome is a win for both Microsoft (or any other entity for that matter) and the rest of the ecosystem that's perfect.

But they have shown that as a corporation they are comfortable playing nasty when it suits them.
ShareX is more feature-rich, but the settings are pretty convoluted. Flameshot is more easy to use and is available for Linux.
I personally use ShareX on Windows and Flameshot on Linux.
Me? Definitely not. Not sure I’ve ever flagged a comment.
Looks neat. Hopefully it'll be available on non Apple devices someday.

> All data is encrypted even if is stored in iCloud, so you never have to worry about nasty hackers.

That looks like there's a word missing or something.
People who need it for work have vans, which are an amazing invention with rooves and doors and which can carry pallets. Some have a trailer instead.

People who need it barely once or twice a year for home take an estate car, rent one for a taxi, borrow a trailer off a friend, or get the store to deliver - because owning your own van or pickup just for that reason would be considered completely insane.
Really? I completely missed that feature.... thanks for the tip!
We need an infrastructure architect here in the us. The bus I commute on went under, and I can’t be trusted to drive 120 miles a day and keep my speed in check. I started looking at the most automated rides I could find (Tesla is leagues ahead if I’m not mistaken), and I’m still... driving.

I for one, would be more than happy to prolong my commute, on a dedicated, reduced speed lane, if it meant I could sit in the back seat and work. The belief that we’ll incrementally get to level 5 besides human drivers on the extant infrastructure (lanes) is very misplaced.

Fingers crossed that the feds can develop a roadmap (sorry!) to support the transition from level 2 to level 5. It will not happen on open roadways—lidar or not!
Store of value? Lol. It’s a speculative investment. Stores of value don’t often change 100% within the span of a few weeks.
Sure. But what about 1.7L? That's what my typical kettles does, at maximum.

It's great for boiling water for cooking; at 230V it's faster than heating on the hob. But if it took 7–8 minutes, that'd be frustrating.
I take those dinner table situations as a challenge; in invitation to making that moment more interesting than their phones.
why would it cost $1 to submit?
Researchers think a planet lost its original atmosphere, built a new one
In terms of single-player games, the figure is more like 85%. You can probably get an additional 5% to work with various levels of tweaking, but compatibility is remarkably good these days. Many games perform better on Linux than they do on Windows (Borderlands, Overwatch), while others give you a chance to have a flawless experience with games that are pretty busted on modern Windows (Diablo 2, Fallout: New Vegas). As another commenter mentioned, the big issue is with anti-cheat: any game implementing EAC will outright not work, full stop. That makes it about a 50/50 chance that multiplayer titles will work on Linux, with some unfortunate casualties like Rainbow Six Siege and Halo MCC's online multiplayer.

With that being said, I truly and honestly believe Linux is the way to go if you're not into multiplayer. Valve's commitment to Linux is nothing short of herculean, and it's heartwarming to see them give back to the open source community in such a remarkable way. If it weren't for Proton (and DXVK), I'd still be using Windows on my main computer, which made development hell. Now, I feel comfortable moving to a system where I can enjoy Overwatch, Titanfall and Team Fortress on a regular basis without dual-booting.
That's kind of sad though. It seems people own houses to sell them, instead of owning houses to own them.

I feel like the whole point of owning a house is to customize it into a fairytale home of your dreams and never want to sell it. Otherwise I'd just rent.
She got the job, and she's been leading the team in scaling for the last 3 years in anticipation of getting their first customer.
That’s an interesting take. So you think we shouldn’t have regulations on this new unproven technology where the government poured billions upon billions to help develop. And that’s fine. Just don’t take gov’t money then.
Far from an universal truth from my experience as a veterinarian
Have you ever used

procedure Foo(constref Something: SomeType);

instead of

procedure Foo(var Something: SomeType);

in Free Pascal? Both will pass the same stuff in memory (stack), but one has different semantics.

Similarly

const NiceFeature = $01; NeatFeature = $02; GoodFeature = $04;
var Features: Byte;

and

{$packset 1}
type Feature = (Nice, Neat, Good);
var Features: set of Feature;

would be stored the same way in memory but again, different semantics with the compiler helping you in the second case to avoid logic bugs (e.g. setting Features to an invalid value).

These are cases where Free Pascal helps you from shooting yourself in the foot.
Bitcoin and the Environment
Where do you see game companies sourcing their fonts? It's not my field, but I had the (possibly incorrect) impression from some past discussions that a lot of fonts used in games are created for individual titles much like other artwork. I doubt many game studios are trying to license fonts like Gotham for unlimited use.
You can buy from Steam for pretty cheap, and then customize by loading in a recent version of ScummVM. This also works in 64-bit only versions of MacOS as where the base title is otherwise incompatible.

Beyond the graphical changes, I also seem to recall that the script is somewhat different in the EGA version. I wouldn’t be surprised if there was a fix from the community for this, though.
> the roman state collapsed

Collapse is a strong word, my friend. While we're on the subject of "adventurism" perhaps we ought to consider what you've proposed. I think the word you are looking when you say "collapse" is "decline" -- the Byzantine empire lasted for a millennium and a half, hardly a collapse, no? And I think the concepts you are looking for when you say "strong freedom of association principles" are "colonization" and "manifest destiny."

We can talk about freedom of association until we are blue in the face, and there is nothing wrong with the principle itself -- in fact, as you point out, it remains the brightest part of what enables American prosperity and something that is a lot closer to true egalitarian existence than many other versions of civilization in history. While I can agree with you about that, the fact remains that the frontier spirit was enabled not just by simple expansion of an enterprising band of pioneers into a virgin unspoiled terrain, but rather the forceful pushing out and often wholesale eradication (and trails of tears) of a people who were already present.

For all of our sake, I wish that history was more wholly in accord with your very "enlightened" idea of iconoclastic individualism. Sadly, whether you like it or not, the history of at least the past ten millennia of human civilization has been largely built on the back of war, property and empire -- including the Roman empire you cite as an example. I don't know if it does your argument any favors to torture the truth through deliberate omission to serve the way you wish the world worked. You might run the risk of getting "everything backwards" to borrow your feisty phrase.
> Sure let's jump into extremas

You think that 7-11 selling eggplant parm or a specialty food shop deciding to sell some other specialty food are extremes? I feel like you're strategically choosing to ignore half of what I say because it doesn't fit into your narrative.

> One causes actual harm - both physically and mentally

And is totally legal in those countries which clearly have different ideas about what is ok than you do and therefore may legitimately expect Amazon to operate with their ideals just like you expect Amazon to operate with yours.

> the second at best triggers some people.

Everyone who studies media, culture, psychology, and the relationship between trauma and lifelong suffering disagrees with your framing of this, so you're probably missing something.

> I'd rather avoid allowing corpos to decide what's the truth

They aren't. They're deciding what they sell.

Sidebar curiosity: Do you know what "trigger" actually means, and does your minimization of it mean that you don't believe that PTSD is real or serious?
Well I drive a 250 mile round trip every week or every other. Range does matter.
We need not just confidential computing but censorship proof computing. I don’t think the “cloud” is the model to grant either because it is centralized.
Thanks for submitting. I got quite a few submissions from the HN traffic. Going through them now to make sure they meet the criteria.
20mph to a wall is going to leave a mark without crumple zones