jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Other "every day" monoids:

- (Array, concat, [])
- (Floating point numbers, min, +Infinity)
- (Floating point numbers, max, -Infinity)
- (Boolean, AND, true)
- (Boolean, OR, false)
- (Subsets of set S, union, {})
- (Subsets of set S, intersection, S)
- (Functions of type S → S, composition, the identity function)

You'll often see folks writing functions from Strings to Strings but returning _null_ or the like in the "empty" case instead of an empty String. Having them instead return the "identity" element of the relevant monoid will always result in a simpler, more composable interface.
I prefer open offices because I have no problem taking ownership and accountability with what I do. This especially includes farts.
This means A LOT to the rest of the world.

China in history always claims that they don't intervene with things of other country, but in these days, they shamelessly attacked an US company.
I'm looking to get away from contract programming, to being a consultant.

A contract programmer will write a software package, whether for an hourly or a fixed rate.

An example of consulting I've actually done, is that a client flew me from San Jose to Albuquerque to look into why his programmer's application repeatedly crashed. After an hour or so of discussing it with him, I determined that his custom memory allocator was not respecting the alignment restrictions of the CPU.

That second case is what I'd like to do. It's not about the money, it's that I would like more people to benefit from my many years of experience.
Facebook's new office is much bigger than that. However the space is broken up by meeting rooms, walls, stairwells, etc. From what I've seen the noise and distractions are probably better than many other open plan office I've worked in.
I was positively surprised by the fact that the site presented itself in my native language (polish) and it didn't suck. It's probably the first time ever I saw a site that autodetected a language and it actually felt nice. Not everything is translated though, and I hope you'll fix it one day :).
Or, some minutes she sends more, and some fewer.

Yes, this is the beauty of statistics.
This stuff is old hat. But mentioning that and that you thought about it back in 1843 is a meaningless ego massage that, no, does not deserve sympathy.

I agree -- I did say "aside from the last part".
I frequently shop by looking at the price per amount comparisons and it drives me crazy when you're looking at two different toothpastes and can't make an effective comparison.

It is my understanding that this meets the legal requirement, but also satisfies the business desire to confuse the customers trying to make a decision based on the greatest value for money.
I'm actually having trouble finding a decent ad network for an image hosting site I run, Google denied my application because of lack of textual content and others like Ad Dynamo keep showing place holder ads for the same reason. I just want to display some text ads based on a few keywords.
It sounds like a lot of his problems stem from the use of Django. I've tried it before, and believe me, Django absolutely sucks on Appengine.

First off, you have a full featured framework which was designed for SQL relational databases. Many of Django's features either have to be given up, or are monkey-patched beyond belief to get partial functionality. Not to mention quite a few Django apps use database features which are simply not supported by BigTable.

Secondly, Django is not exactly the smallest framework, so loading time can be quite expensive and will be tacked on to every cold start.

All that being said, I've had good success with the tornado framework. It's fast, well written, and thoughtfully designed. Check out my profile if you want to see some examples of apps written with tornado + GAE.
Nokia has pretty confusing numbering for it's phone ranges - consecutive numbering hasn't usually coincided with a more feature-rich (better) phone. Another example of segmentation?
If you havin' Lisp problems I feel bad for you son... You got 99 problems, but parens ain't one...

J/K - This actually looks like a great start - like when I started Scheming for the first time.
Copying is not theft because there are no such things as property rights in the value of things. Value is the valuation of others, it exists in the minds of other people. You do not have a property right to the value of your house, for instance, in the sense that you can't have a right to how other people think (or how other people evaluate).

Creating copyable things does take work and it is the right of a creator to be able to sell it. It would also be his right to sign a contract with his customer not to copy the work. DRM, watermarks, SaaS are all good tools to reduce unauthorized copying.

With that said, even if you disagree about copyrights, can we not call it a property right?
Is it incompetence, arrogance, ignorance, or ? that'd lead them to making such annoying decisions? Argentina doesn't have a nutty religion forcing them to do this right?
"for purely private use, I wouldn’t opt for AWS even if I had to choose now. I’ll leave it at that"

I will elaborate: I started out with AWS several years ago. I could never work out how they calculated my bill, and had more than one >$100 shocks for hosting my personal services.

I moved to DO and Vultr (stayed with DO for no real reason) and so shut everything down on AWS.

But I still got a $0.50 monthly charge on my credit card. I tried emailing - no response, totally ghosted.

I went through the control panel several times - it is/was a huge mess, obscure by policy obviously - and finally in some far distant corner found something still turned on. I did not understand what it was at the time and can recall no details, but I turned it off with great relief.

A week later I got a email from AWS (!) saying that I had made a error and they had helpfully turned the whatever it was back on...

So I continued to donate $0.50 a month to Amazon until I cancelled the credit card for other reasons. (it would cost $10 for the bank to even think about blocking them)

These days I will crawl over cut glass not to do business with that organised bunch of thieves called Amazon.
> they've silenced the second-most voted for President in American history, because he isn't their brand of politics.

I think that is disingenuous. Twitter said "specifically how they are being received and interpreted on and off Twitter" [0]. It wasn't his brand of politics it was how his supporters were interpreting him and incitement of violence like what was seen when his supporters stormed the Capitol.

[0]: https://blog.twitter.com/en_us/topics/company/2020/suspensio...
>The big problem with gmail is not that Google is reading my email but that this giants can lock you out without a reason and without a right to appeal.

I also worry about that. What I do is sync gmail with outlook.com. Now I worry that I just doubled my risk of falling victim to a security breach :-)
tl;dr Research suggests that in an eight-hour day, the average worker is only productive for two hours and 53 minutes.
People are learning to start on youtube and twitch but if you want to make money you have to transfer your audience over.
Just yesterday I was joking with my coworker that I would like a tool where I could create meme images from a text description and today I open HN and here we are. This looks amazing!
It's almost certainly not due to "gnashing of teeth." They've always marketed the MacBook line as a general computing device for power users. The idea that they would make it impossible for developers to use their primary computing product is ridiculous. They know how many of these things they sell to students, developers, etc.

Just a note - it's often very easy to measure the validity of your ideas by considering the economics of the ideas. Apple effectively neutering development on their premier general purpose computer would obviously reduce the amount they sold. The same isn't true for the iPhone, which effectively no one develops on.
There were two versions of the PS3: The original model and a slimmed down version released after a few years.

the timeline was something like this:

- Sony released the original PS3 with Linux running under a hypervisor that locked certain things (e.g. 3D rendering and their DRM)

- Sony released the PS3 slim without Linux. They claimed they didn't have the resources to make Linux run on it. (We later figured out all that was required were a few incredibly simple kernel patches)

- geohot found a somewhat unstable hardware glitch that, with some luck and a few tries, could escalate to hypervisor mode and enable e.g. 3D rendering from Linux. Their DRM was still untouched at this point and no one really cared.

- Sony released an update for the old PS3 models to disable Linux as well citing "security concerns"

After that more people started looking into the PS3 and marcan, me and others at fail0verflow eventually figured out their security wasn't all that great. It was actually so bad that we could calculate their private keys. Then they sued us for that but that's another story.
Jupyterlab has an extention that does this automatically on save, jupytext, also keeps both files in sync over time.
Why would that matter? It's an arbitrary distinction with no basis in US law.
The Python package `shortuuid` makes working with UUIDs a little easier by encoding them as strings:
https://github.com/skorokithakis/shortuuid#usage
(uses base-57 encoding, with alphabet consisting of A-Za-z0-9 with potentially confusing symbols skipped)

The string representation is what you show to users, but under the hood it's still a UUID and compatible/interoperable with any other system that needs UUID-shaped identifiers.

The coolest part is youcan even truncate the string encodings to get shorter IDs, which correspond to UUIDs with lots of leading zeros.
I'm sorry, but your entire post sure sounded like you are upset with Defold claiming the product to be FOSS when in fact we do nothing of the sort.

If I misinterpreted your meaning then I apologise.
> still shitiest airliner out there

Yet Ryanair is rated as a seven-star airline for safety; it has a fatality-free record since it was started.

https://www.airlineratings.com/news/ryanair-soars-seven-star...
In terms of an asset being software that you're deploying, I don't get this attitute.

If the process for producing the software is unreproducible, then you're running the risk that the behaviour of the software will be unreproducible. As in you run the generation process once, and then again with the same inputs, and you'll get an output that works differently.

Now of course you can store the generated asset, which gives some certainty in the roll back case. But roll backs are hopefully rare, what's more common is to make small changes to inputs (like source code changes), and hope that the generate asset has only been affected by the intended change.

To give an example of how this works where no care has been taken that the process is reproducible, I've seen people try to make code changes to Docker images, and end up with changes that they didn't intend (like a different version of Debian in the image, or a different Ruby/Python version).
One crucial item is not listed - weather. For people who migrate from all over the world, including places with even better weather, CA weather is a happy compromise. It is sunny for much of the year, there is rain in the spring months, the air is dry, and temperatures rarely swing to extremes.

Virginia certainly doesn't have that.

What's VA's stance on enforcing non-compete agreements? This seemingly innocuous thing really accounts for a lot of the Bay Area's success. Innovative, fabulously successful companies have been repeatedly founded and nurtured here because of the cross-pollination of ideas and competition engendered by CA's refusal to honor non-competes.

VA has a couple things going for it, as far as I can tell:

- Plentiful network connectivity and data centers (many east-coast data centers are sited in a couple spots in VA).

- A large government sector, including many agencies that are tasked with technical work for the federal government, and the educated workforce that goes with it. Perhaps it's a double-edged sword: the region is a bit too dependent on Government largesse. What is interesting is that most no-one talks about how the Federal Government has played an outsize role in nurturing nascent technology innovations and companies (via government contracts and outright funding via In-Q-Tel and such) in the Bay Area. It goes very much against the current ethos of employee activism against DoD projects. In this respect, the Bay Area and VA share a similarity.
open Cascade (with python) worked for me
Because the manufacturer of the medicine explicitly said it can't treat the off-label use? And won't sell it to anyone claiming it can.
"The Florida highway patrol told Reuters that there was a portable DVD player in the vehicle."

What does this have to do with the bits in the car?
The parent poster didn't advise ignoring the pro-NSA opinions but gave his opinion that he felt there might be an astroturf campaign. And why follow a comment agreeing that astroturf campaigns are employed with one slanting those pointing it out as 'spooks' and 'paranoid'?

I think it's worth reminding fellow readers that this sort of manipulation happens, and likely on HN.
it's one of the most bug-free pieces of software ever written.

Not doubting you, but do you have a source to demonstrate that claim? If I make the claim to someone else, it'd be easier to provide evidence than for me to handwave.

TeX version is 3.14159265, so some of those are probably bugfixes.

EDIT: Um. Look, I rarely complain about downvotes, but what's up with the downvoting on HN lately? Is it me, or what? This is a simple request for more information about something I don't know about. It's not an easy thing to Google. It's up to the parent to provide evidence.

https://www.google.com/search?q=tex+bug+free shows a lot of evidence that TeX is absent of bugs, but that's not the question. The question is the total bugs that have been fixed since it was first written relative to every other major software project. That's not so easy to answer. https://www.google.com/search?q=low+total+bug+count brings up nothing relevant. In fact, it could turn out to be entirely false that TeX had a low total bugcount over its history relative to its size, especially during its very days. We don't know, because no one has provided evidence one way or another.

All of this is exceedingly obvious, and it's getting tedious to type out huge edits like this whenever something straightforward is downvoted.

I'm seriously tempted to create my own community at this point out of desperation, one that focuses on technical merit and being nice rather than posturing. I wonder if one already exists? I've heard some pretty good things about newsgroups, but haven't really looked into any.
Also see this report from another experts involved in one of the suits:

http://www.safetyresearch.net/blog/articles/toyota-unintende...

And the slides (PDF):

http://www.safetyresearch.net/Library/BarrSlides_FINAL_SCRUB...
> So they are trying to prevent the cosplayers from successfully impersonating actual electors.

The cosplayers are the people who pretended to be the Republican electors in the states of Arizona, Wisconsin, Michigan, Pennsylvania, and Georgia, despite failing to meet the statutory requirements of meeting in the appointed place, having the vote signed by the respective Secretary of State, and having the vote receipt submitted to the National Archives.

In other words, these are people whose actions as purported electors are not legitimate. It is as if I were to put on a shirt with the word "POLICE" on it and print out a badge that had the same word of it--it doesn't actually make me a police officer, merely someone cosplaying a police officer. (Although as electors are not public officials, they are unlikely to run afoul of any laws, unless there is some fraud statute that is broad enough to cover this).

Their actions did not have the force of law. The seditionous mob who wanted to stop the electoral count are the people who want to install cosplayers as electors in flagrant violation of the law.

> Thats hyperbolic and undemocratic.

A lynching is a mob taking it upon themselves to murder someone in response to an alleged crime in an extralegal attempt to achieve justice, completely in violation of all due process. What happened yesterday was a mob taking it upon themselves to overturn the lawful results of the election in response to an alleged crime in an extralegal attempt to achieve justice, completely in violation of all due process. That is the antithesis of rule of law; it is not hyperbolic or undemocratic to draw that comparison.
Really? Nothing you hate more?

Interesting.

Personally, I hate it when people put things in a column, deciding that they know best how I should use up my screen real-estate. I like to have control, and I use it without effort. With this design, I can choose. I like that, and I hate it when someone forces their choices on me.

I admit, though, that there are things I hate more than that.

Out of interest, how would you design a page that caters for both tastes? How would you decide on the number of words that should be in a line? How would you reply to someone who prefers a different answer, but then has no way of changing it?
Are you sure you aren’t thinking about Office? The last version came on 55 floppies

https://docs.microsoft.com/en-us/previous-versions/tn-archiv...
> Fines like this typically punish shareholders

Good.

That should motivate shareholders to assure that they can hold management of firms they invest in accountable.

> and lower level employees

Which is regrettable, but I’m not sure how any form of corporate sanction could avoid that.
Some autoimmune diseases cause damage that can be healed though.
I'm not the OP but ...

> Employees out of a job , suppliers losing contracts, customers never getting what they might have already paid for, creditors losing the debt, share holders lose all their investment.

This is what bankruptcy proceedings are for. A similar procedure can be made up for a "corporate death penalty".

>Especially with a huge corporation like Boeing with 160k employees and billions flowing in and out, the effect would be huge.

If the government was doing its job, corporations of this size should not even be allowed to exist for precisely the reasons you mention. But since anything goes in corporate America, here we are.

> Like I said, I agree there needs to be some way to punish, but just shutting it down would punish a lot of parties that aren't not responsible.

I would argue that people being indirectly hurt would be a good motivator (or reminder) for people being more picky who they do business with. If you don't learn your lesson the first time, then being burned multiple times will (hopefully) get the message across.
Have you been to China, talked to its people often, or do you get most of your sentiments online from other commenters and through news?

I'd argue there is US mass media manipulation. There's simply clear monetary (and nationalistic) incentive in riling Americans against an evil enemy. In my eyes, the US paints China as evil just as much as NK paints US as evil. Do you not think it's propaganda that all the news is one sided, have you not considered a scenario where Americans might have been planted a bias by the media?

Also, I'd be an effin' amazing impostor to act as a plant as a YC alum on HN with my username orange. Maybe China wired me some money.
they dlc'd the secondary/redundant AoA sensor, a critical safety feature and literally a direct cause of the crashes
Reread parent's comment, the joke is that making a headline asking if that's true would be instantly answered no, making the law false by being true. It's a paradox. Sort of like Pinocchio saying "My nose will grow now!"
Given how GR is entrenched now, confirmed so many times, it's pretty clear we're at worst in presence of a Newton-degree of understanding: maybe not all of it, but certainly true within boundaries. Whatever lies 'after' GR can only build upon what GR got right.

However in the case of dark matter, let's not forget that a model may be incredibly "right" and yet false, e.g. Bohr's atom; still taught today until you enter quantum stuff, but totally ok (valence etc) for basic chemistry. Newton is also totally ok for small non-relativistic speeds and masses, even though the model is ultimately wrong. Dark matter may also 'work' ok to represent and estimate 'basic galactic motion', but may be totally flawed as a model.

We would need to test the stuff itself, not its effects, to validate any kind of theory about it.
Biometrics are a userid, not a password.
Often, it's not at all obvious what the type inference system is doing. The borrow checker has better error messages than the type checker.

As for cyclic data structures, one would often like to have a primitive which encapsulates a forward owning pointer and a backpointer tied to it, with the backpointer unable to outlive the forward pointer. That's enough to handle most tree-like structures, and doesn't require reference counts or reference-counted weak pointers. It's a compile-time concept checkable by the borrow checker. Something to think about for Rust 2.

Also, for Rust 2, I'd suggest exceptions. The "new error handling model"[1] is excessively verbose. Repackaging low-level errors for the next level up requires considerable coding. I understand the big problem with exceptions is what to do about unsafe code. I'd suggest "just say no". Unsafe blocks cannot raise exceptions. If an exception in safe code unwinds into an "unsafe" block, it becomes a panic. Unsafe code in Rust is usually to interface with non-Rust code. If you have unsafe sections in pure Rust code, you're probably doing it wrong.

The secret of exception sanity is a standard exception hierarchy, like Python's. Catching an exception class in Python also gets all its subclasses. "EnvironmentError" covers all I/O errors, network errors, and such, but doesn't cover internal program errors. New user-defined exceptions are added below the most appropriate part of the standard exception hierarchy. So Python usually doesn't have Java's exception hell. If exceptions go into Rust, do it that way. Require that all exception objects descend from some predefined exception object in the standard exception hierarchy.

An additional advantage of a standard exception hierarchy is that it leads to straightforward internationalization. If all the standard exceptions have translations, users get semi-reasonable error messages in their own language. If you have too many string-type error messages in a program, it's hard to handle multiple languages.

Go is starting to get exceptions through the back door. People are abusing the "panic"/"recover" mechanism in Go to get exceptions.[2] Don't go there.

[1] http://lucumr.pocoo.org/2014/11/6/error-handling-in-rust/
[2] https://code.google.com/p/go-wiki/wiki/PanicAndRecover#Usage...
Streaming mobile videos ? Great, because the world needed another level of narcissistic obsessive behaviour in the society.
Amusing how the three busy signal codes correspond to Nintendo's customer service lines for Japan, the US Toll Free, and Washington State. 135 792 4680 is obvious, but it makes me curious as to significance of the show credits and direct to Tyson numbers. Especially in that era, hard-coded numbers were rarely completely random. It's a bit interesting and amusing how 30 years later, these games still have stories to tell.
> Dragging with trackpad isn't good.

Agreed for the default behaviour. But I always turn on three finger drag[1] (which used to be more discoverable) and it’s fine.

[1]: https://support.apple.com/en-us/HT204609
Yes, legend says Merlin used his magic to move Stonehenge from Ireland to England https://voicesfromthedawn.com/stonehenge/
IIUC that also happened in the US

https://en.wikipedia.org/wiki/American_Indian_boarding_schoo...