skysight-inc/HackerNews huggingface dataset:
>Yes, Python is safer than C++. C++ makes no pretence of being a safe language. Static typing is not the same thing as safety.

I'm just addressing the posters comment on statically typed langauges. Not saying anything about "pretenses".

>Out-of-bounds array access is undefined behaviour in C++, but that isn't a result of C++ being statically typed. If you want a statically typed language with bounds-checked arrays, look at Java, Ada, or Rust.

Yeah I know.

>Again this doesn't generalise to all statically typed languages.

I never said this. I am just commenting on the opposite generalization the poster I'm replying to made. In general statically typed is safer the dynamically typed but this doesn't apply to all actual languages with these properties. There are actual statically typed languages like C++ that are less safe then a dynamically typed language like python.

>Also, Python isn't untyped, it's dynamically typed.

This is just a semantic mistake. Clearly I meant dynamically typed. Not untyped. But I hope people get the meaning.

>How is JavaScript different from Python here?

Javascript doesn't crash as much as python. For example Calling someHashTable[nonexistentKey] in javascript returns a value that can actually be propagated far along into the datapath before throwing an error. IN python that's an instant crash. This makes python much easier to debug then js. I use the words less error prone, because python in the long run ends up having less errors due to creators implementing failures that happen quickly and early.

>I'm not sure I follow, what doesn't depend?

Statically typed languages prevent run time errors related to types. I am saying that while this is great this property isn't that important then errors that are easily traceable.

What's by far more important is that even if the programming language has many holes where run time errors can occur it is better just to have those runtime errors easily traceable to the source of the error. The existence of errors that are hard to trace in C++ actually makes it much much less safe then python despite the extensive type system. It indicates that type safety is much less important.
>Not interested in hydrogen as energy storage for cars. Also, I know how to do a web search. Are you a bot?<

-

Merely demonstrating Real-World hydrogen storage, Given mobile-storage is more difficult than static-storage.

The 'Search' gives the 'Reader' the discretion to decide for themselves the Facts.

Bleep Bleep, Blop Blop, I am not a Bot!
With all due respect, that is not an inventory management tool (yet).

Right now the four fields:

Item Name Supplier Name Unit Price ($) Quantity

allow only to call it something like "summing up of procurements" or something like that.

At least here an inventory tool is something used to know how much of each item you have "in house" at any given moment, you must be able to enter (say), the max and minimal amount required (i.e. when you have to re-order it), how much time (pre-order/production/delivery) is needed to replenish the stock, size of minimum order, shipping cost per item or per lot, how many items are taken out of it (and when and by whom), and this long before some of the many additional possible fields (that may vary on the specific inventory) like - still say - equivalent items (from another supplier), actual use of the item (attribution to a center of cost) and what not.
Things I don’t want to do to grow my side project
I'll double check the large average calculation logic.

Good question. I recently came out with a Pro version for CubeDesk which is mainly there for people who want to support development. You also get some minor stuff like additional themes and 1v1 options.

I'm hoping that enough people buy Pro so that I can cover the server costs. As long as the server costs are covered (or at least not too high), there's no reason for me to ever take down the app. If nothing else, it's a good learning opportunity for me.
see also: https://github.com/theanalyst/awesome-distributed-systems
> It was 2014, and Apple’s future, more than ever, seemed to hinge on Mr. Ive.

What?

I was there then and long before, and that's just nonsense, fabricated nonsense by whoever Tripp Mickle is. What a sensationalist assertion.

The engineering, hard-core engineering, was a not entirely hidden powerhouse, and still is.
It's the difference between "transaction failed" and "transaction failed successfully"
> Worse, there're no good open source implementations of GPU-based ones. Microsoft ships an implementation as a part of OS (Direct2D) but it's not open source. Linux simply doesn't have an equivalent.

What about OpenGL? I believe that the Firefox/Servo WebRender (written in Rust) also uses OpenGL. But I do believe that the GPU acceleration implementation is more complete on Windows and Mac OS.

> you'll definitely find good free libraries to deal with HTML and CSS, you'll probably find libraries to interpret or JIT-compile JavaScript, but still, the remaining pieces are huge.

I really want to not use libraries as much as possible and do everything on my own. It won't be good as the libraries but I see a lot of value in doing everything myself and learn it.
I'm torn on this one.

I agreed with epic when they made this argument with Apple but that's because the App Store was the only way around.

Epic could just distribute an APK they build themselves. They just can't use the play store. Simple link on a website. Or the app. Doesn't the desktop launcher auto update?

Android is a lot more open so it's just weird to cry foul here but I also understand it does have an effect on their visibility.
Many women also find symmetrical faces attractive, is that also akin to racism? What about a preference for a square jawline? Preference for thick hair?

Is it immoral (akin to racism) for women to have any preferences at all, or just regarding height?
As I understand you need to call Brad Pitt first.
That's why keyloggers also log the title of an active window.
Meanwhile all the authors and artists were shaming the individual pirates.

Deceived they were, by Sauron/Disney.
There are a number of good packages in Python specializing in variations of powerful chained processing in Pandas. My own is this one: https://github.com/WinVector/data_algebra .
Since when do newspapers equal knowledge?
> except of course there is no built-in formatting tool for the JS ecosystem

What about prettier? Sure, it's not "built-in", but it's still easy enough to use and enforce within a given project.
Suffer mostly.

Joke aside, data engineers do a wide variety of engineering work related to data. Often that's around data warehousing and business intelligence, sometimes it's work on big data streaming or storage systems, or building yet another integration for marketing.

The breadth is a challenge, which makes it fun and also hard.
The patent law is even worse.

Anything that requires courts will favor the large corps that have the money to spend endlessly on lawyers.

Patents keep the new guys out of the game.

Say a big company steals a product from a startup, guess who cannot afford the legal battle? If threatened, the big guys claim that ten of their not-quite-related patents were infringed by startup, and counter-sue.

From first hand experience, the patent keeps ideas out of use (all patent lawyers recommend submarine patenting any new ideas instead of developing them), hurt small companies and inventors, and are huge bludgeon against anyone that the big cos want to hit.
The current financial industry's momentum is just fine, because people make use of it every single day.

Crypto momentum OTOH seems crazy, not least because people appear to be cheerleading extortionate gas fees as the solution to avaricious banks charging $7/mo for a checking account.
Why’d ya post the selfie though?
What is the “might be screwed if you purchase after May”? I understand what I bonds are and am considering, but am missing why the May cutoff?
I'd have read it if it weren't white text on a pink background. I'm not going through the trouble of pulling it up in a browser and undoing what they presumably did on purpose. Then to complain that people don't read the whole thing?
Think of a situation where you think you could have done something better than someone else.

It is likely that you could have using your mind, body and life experience.

Do you think that you could have done the situation better if you were using their mind, body and you had their life experience? I believe that we would all have the same outcome. If that is the case, then free will is an illusion.
Ask HN: Non-Samsung Phone with Stylus
I am a heavy stylus user with my Samsung Note phones - dating back to the Note 3 about a decade ago. Are there any non-Samsung phones are available with a built-in stylus that the HN community can recommend?

I mostly use the stylus for the Quick Note feature that lets one write and save a note without unlocking the device. Just pull out the stylus and start writing. An independent stylus would not activate such a feature, and in any case an independent stylus is a hassle to always try to keep near the phone, like having all one's keys separate instead of on a keychain.

There are many good reasons to move away from Samsung documnted on HN:
https://news.ycombinator.com/item?id=30423815
There are a thousand reasons not to go in the front door, and ageism is just one of them. Getting jobs by creating relationships where both you and the hiring manager gets their problem solved is the workaround for incompetent HR departments.
I actually know a lot (relatively speaking) about the Comanches, including what kinds of experiences they had that drove them to be so vicious. Not to put too fine a point on it, they were responding to atrocities committed on them and their kin by the Europeans. Doesn't make any of it right though.

And the Aztecs were pretty far gone, in my opinion, they sound almost as bad as the old Assyrians.
I don't do this much these days, but when I was doing full time freelance, I honestly only did most of my "accounting" a couple times a year. In the first years, I used Quickbooks and paid banks extra for their OFX service. Then I stopped paying for that and switched to Quicken. I could go to the bank and credit card sites, spend a bit of time downloading a CSV for each month, then I would copy/paste into Quicken. So very similiar process to yours, I just had the CSV files from the bank as opposed to the website statement. It was very quick, even doing 6-8 months worth at a time.

Later, switched to beancount, it had a CSV importer and I tweaked some example script to do an "interactive" import. Each transaction would be presented and I could accept it as is, or modify it. If I saw a common issue, I could make a copy of the CSV and do a bulk replace, massage the data up front and quickly import.

I'm not saying you need to switch to CSV since your system is working for you. I'm mainly just agreeing that manual entry from a monthly statement can be pretty quick. But for those that are lazy like me that don't responsible balance the books each month, manually grabbing the CSVs and importing many months of statements in an afternoon can still be pretty quick. I would keep the bank statement PDFS + the "official csv" around as a sort of backup. Someone wanting to try GnuCash or any accounting software can start by downloading their statements/csvs for the last year and start punching their transactions in to get a real feel for how working with it will be.
Nothing exactly like it but TIPS are Treasury Inflation Protected Securities.

Probably best to buy them in a fund due to their complexities. Vanguard and Fidelity both have funds for them.
I agree with the "self esteem" part :)

The only reason I can imagine a EV being more noisy is for very slow sppeds which are usually in areas with pedestrians. It may be a good idea to gently warn them that a car is nearby (though I do not have a strong opinion on that one - a bike is silent after all)
> What kinda gets me from this genre of post, is that it sounds like writing good software in any language besides Rust is impossible, or even impractical. Like 10 years ago it was impractical for anyone to enjoy writing good software. (Or maybe Haskell or Ocaml would be acceptable?)

I think what we are seeing here is that the expectations are growing and people demand more from their tools.

This is a good thing, even if some languages cannot keep up with the higher standards and fall behind.
Read the whole thing, I was really not convinced. Ive had some brilliant hits, but I think became more of a liability in the end. Look at what happened to the MacBook Pro, losing most of its ports and the thinness causing them to put a much worse keyboard in it that caused massive problems. Sacrificing a bit of thinness and going back on those changes with the newest iteration has been much better.

Honestly to me the M1 era of Apple is the more exciting than things have been in years. The article linked is really negative (saying Apple only have “legacy products”) but with the M1 series they seems to be smashing it out of the park…
Are you saying you wouldn't be concerned if you found one of these on your computer? https://www.keelog.com/
>And only a very small percentage of those are gold diggers or mail order brides. The vast majority are just normal people with normal dreams of having a modest family.

I wasn't saying that all women are gold diggers or mail order brides. I was responding to a person saying that a short man struggling to find a long term relationship should look into those two options.

>It’s not beating the odds though.

I was mostly joking by this, although I have beaten the odds in other ways by being married to the same person for almost 20 years (at least by US standards).

>If someone is 5’6 and having trouble meeting someone, they should consider if their own criteria are irrational.

I agree.
That seems like a very engineering-centric view of the world. The engineering (both software and hardware) of Apple's products has certainly been important. But, especially as they were transitioning to increasingly be a consumer electronics brand, design was certainly a key piece that set them apart.
Wouldn’t it be þink and ðis? I pronounce the th in “this” as voiced.
I'm not sure if guessing the result would be any better. Knowing anything about a fair dice, you might as well just stick to the same result for all tosses.

However, I approached the exercise in the same way as you did, as an adversarial game. I tried to generate numbers that would trick a human who is tasked with filtering out the series as random. No results repeating stuck me as a tell that the series was done by a human, so I included a fair number of repetitions of the same result that's still statistically plausible. Not sure how to work around that in the instructions.

Edit: I think the study might say more about what the player thinks about other's expectation of randomness than about the player's own understanding of randomness.
> - ACLU supports vaccine mandates because it increases civil liberties by protecting our most vulnerable

> - ACLU supported mask mandates in some settings to protect vulnerable children

Couldn't you support 24 hour solitary confinement or execution for minor crimes in order to protect our most vulnerable? Should the ACLU have switched to protecting the vulnerable in general, rather than protecting those whose freedom to exercise their civil rights is endangered?

I mean, we do breast cancer research in order to protect the vulnerable, but if the ACLU is doing breast cancer research, it's not doing the thing that it specialized in or that people donate to it for.

I say this as someone who supports vaccine mandates and mask mandates.

> “fighting to compel speech for teachers” is a bit of a stretch — they were pushing for teachers to use students’ correct pronouns, which is a common courtesy in most settings.

"Common courtesy" is compelled speech. It's also not a thing that people agree on, so it's not common. It's related to "common sense" in that people only mention common sense when they want to call other people stupid without any evidence, and common courtesy when they want to accuse of being discourteous without any agreed context. To some people, not calling out the person who hired you for sexually harassing you could be common courtesy, or being obligated to have sex with someone who paid for dinner is common courtesy.

If anything, compelling common courtesy seems like the opposite of what the ACLU traditionally did. If nazis marching through a suburb full of holocaust survivors isn't a breech of common courtesy, I don't know what is.
> You're arguing that C++ makes safety improvements over C. I broadly agree, but that's not the topic at hand. C++ is still quite plainly not a safe language.

The topic at hand is not what your purporting it to be either. You seem to be thinking that the topic at hand is C++ is a language that touts itself to be safer then python. And you are responding to me as if I made that claim. I never did.

Obviously the person you're responding to is making the claim that C++ does tout itself as "safer" then C but not necessarily "safer" then python. But he is responding to an Actual claim you made saying that C++ doesn't tout itself as safe.
It would be better to have an electoral system that provides proportional results, like most established democracies.

Sortition does that probabilistically, so it would be better in that sense. OTOH, most of the other proposed benefits of sortition are dubious.

E.g., it's often portrayed as insulation against corruption because people aren't dependent on corporate cash to get reelected. OTOH, with most politicians not careerists with a relatively reliable fallback of various cushy sinecures in periods where they are out of office, the amount of money you need to dangle in front of randomly chosen and soon to revert to normal life citizens to radically change their post-term life drops considerably, and neither public enforcement nor media outlets are going to be able to devote the bandwidth necessary to police corruption in the firehouse of people pumped through government.
Honestly, not to get too high-roady here, I feel like we shouldn't be in the business of not "allowing choice" unless there's a very compelling reason, and "I'm against OOB encoding info" isn't compelling, at least not to me. Should we do this for all file types? Any kind of document or image? Everything's XML, sure it's not optimal, but hey at least we can define any image format we want in it.

I don't know why we treat text encodings any differently than any other binary format. We have OOB format info for all of those. People are just downright religious about UTF-8, and it's my goal in these threads to push (hopefully gently) against that. UTF-8 isn't always the best, you always have to validate, you shouldn't be indexing into strings, we should have OOB encoding info (whether in a filesystem config or whatever). This is the only possible path to robust handling of encodings: "always assume UTF-8 and hope non-UTF-8 systems get updated or fall into disuse" is a recipe for dealing with broken systems for decades (what we're doing now).
Yes. There are TIPS, which are like I-bonds in that their yield is indexed to inflation, but unlike I-bonds in that you can't buy them at an artificially low price.
An interactive guide to homogeneous coordinates
Wow. So many languages. I've got only English as second language. Sometimes I miss Russian and French to research old 'roads not taken' in programming languages, computer architecture, and general algorithms.

Latin and Greek would be good too, of course. For the classics, or classical education I didn't have. Went totally technical early on.

"Fachidiot", so to speak ;-)
The most deadly project on the Internet
I've used it for things like exactly like you say where you need specific/explicit alignment that you can define in numbers, but like some kind of sweet spot between freehand and cad.

Recently I used it to lay out a cut path for a sheet of material that goes under the keyboard of a vintage computer.

It was just the right amount of quick vs capable for a job like that. The drawing is 90% repetitions of a few objects (like one key shape), and regular alignment of multiple copies of those objects (keys in a row) in array groups (the F keys, the #,Q,A,Z rows, the arrow keys, etc), and regular alignment of groups with other groups (vertical spacing of the rows), with a little bit of arbitrary positioning (horizontal offset of the A row from the Q row, etc).

I don't remember what difficulty I exactly ran into, but I tried inkscape and qcad and somehow neither made it obvious how to attain the result I wanted, but I popped it right out in xfig with only a little fumbling around.

And now that definition is an accessible document. xfig is a small program and of course free & open source, so it's likely always going to be available, but the file is also usable directly if needed, even if it's so far in the future that xfig would require a lot of work to set up some vm just to run it. That must be why I didn't use a 2d sketch in freecad.
The mishnah brings the case as being exactly what happened. It does not say “a person comes and says that he fell” it says “one who fell”. So again, you are misinterpreting the text to find supposed flaws and discard it. Again: one is not supposed to read a translation and think that they can interpret it. It does not work that way and this is exactly why some commenter here said that he tenses up.
Yes, and it's widely considered one of the best emojis. There are many videos about this turtle, e.g. https://youtu.be/13SxY1z7JFk?t=25
I bonds are government subsidized, so no. The closest thing would be TIPS, but they have guaranteed negative real returns.
Lgtm.com – Automated Code Review and Security Analysis
I was going to come here and post that I dislike method chaining because it is harder to read...

And then I read TFA and realize that I actually dislike people writing poorly formatted method chaining pandas code. The examples in the post are really nicely formatted and easy to read!
> Lichess also uses zero-time premoves and chess.com uses .1 second premoves. I think these also contribute to lichess feeling snappier.

Having played competitively, zero-time premoves make no sense and they should cost.
Every once in a while, links from these blogs will be shared on HN. Many blogs themselves keep a "blogroll" visible on their site. The blogroll is a list of links to other blogs the author likes. That's a common way for readers to discover new blogs.
I have implemented an ELO system, but it's just running in the background right now with no UI component. I'm collecting data for now to see how I'll need to tweak the various params that go into ELO calculation. I'm going to try to make it as close to chess as possible.

As for cheaters/trolls, I have a manual reporting system right now, but I'll do my best to start flagging accounts automatically. Pretty hard thing to solve given the nature of the issue.
I've seen a few of that guy's videos. He's very sweet and entertaining, but there definitely seems to be a bit of nose-thumbing and gentle protest in his stealth camping. I won't call it overtly political, but he does seem to like the idea of transgressing what he believes are silly laws, and given his homelessness in the past, there's also a "'til things are brighter, I'm the man in black" quality to it. All that to say, I think it is relevant to the article!