jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Yes, I do find their use of operators impractical. In particular the pointer syntax drives me up the wall. I never seem to get it right. As does the printf syntax, come to think of it. Why is integers refered to with "%d"? Can't come up with a reason. And dynamically allocating function pointers on the heap (calloc) requires completely batshit insane keyboard manoeuvres. It would have been a lot better if it was typechecked, which is why I would prefer Haskell.

I can vaguely sense somewhere in my memory that <<= and it's ilk are bit shift operators. How am I supposed to know that? Fuck it. It's bad library design.

I like Python. How do you append to aList? Answer: aList.append(anElement). Scala, on the other hand, seems to believe that ":+" is an acceptable append syntax. The compiler won't let me do stupid stuff with it, which is good, but I would prefer it if errors was caught by English-proficiency instead of rote knowledge/the compiler. I think that's a very powerful distinction.
Do you know the rational behind having override-overrides from the cockpit? For me, this only makes sense under the assumption that Prob(malicious agent who knows emergency codes in cockpit and good agents knowing codes outside ) is much smaller Prob(good agent knowing codes in cockpit and malicious agents knowing codes outside). How is this assumption justified? Under current regulations, the latter is becoming more and more unlikely. Or this could be fixed by letting the protocol to lock the door from inside the cockpit depend on an exchange with a trusted third party like air controllers.
[edit: language]
Experts are in fact skeptical against fully self-driving planes due to safety reasons.
I am not a pilot, but my father was and I have a brother who is. When my dad flew, up until the early '00s and past the WTC attacks, there were only yearly medical exams. No psych exams. Like many other pilots, my brother is an alcoholic, and this has given him trouble with some airlines, so he has taken jobs in the Arab world and east Asia (we're Mexican, from Mexico). As far as I know, the airlines have never offered him direct help for his alcoholism.

Btw, my brother knew some details about the accident before they were public news, I assume there must be some pilot grapevine where more details about the accident must be shared. Like I imagine most other pilots must be, he's very shaken by the incident. It's a matter of professional pride amongst the pilot community, I assume.

My father would sometimes be called as an expert witness for blackbox analysis. As a child, I remember him falling into deep depression whenever he had to do that, and he was always given a couple weeks' vacation time whenever that happened.
Does the A320 have some terrain-avoidance system?
We seem to be on a Racket buzz lately, and I like it. I feel more inspired to dig further into Racket.

I'm already pretty good with Clojure, so can anyone who knows both languages well comment on the ups and downs of learning Racket after learning Clojure?
>What happens when a pilot has had a heart attack and there is only a co-pilot

The co-pilot flies. That's why there is a co-pilot.

(On really long flights there can be two co-pilots so that pilots can work in shifts, but medium-range flights like this can physically be flown by one pilot, two are there for safety).
Operating system should cater to 3 different target audience:

1) Consumers need an invisible OS that understands natural interfaces like voice, mind.

2) Developers need a productivity OS that connects to their apps running in production and helps them in debugging/monitoring.

3) Servers need virtual OS that natively support containers to run apps in distributed environment.
I can't imagine a more false statement, as the business model before 9/11 was do nothing and cooperate and everyone will be safe, and the business model after 9/11 is every person on the plane must rush the hijackers or thousands will be killed. So the reinforced door is a response to a problem that no longer exists.

Ideally you'd have a door that is strong enough to be "people proof" for long enough for the entire passenger compartment to rush a dude, but not strong enough to survive the entire passenger compartment trying to get in and save the plane in this situation. Something that can survive a couple kicks but isn't a bank vault door. Pretty much a typical apartment door would be about right.
> This is #fakenews.

Please don't do this here; it breaks the HN guideline against name-calling in arguments. Your comment would be fine without the first, and perhaps also the last, sentence.

https://news.ycombinator.com/newsguidelines.html
How does TextBelt send messages to carrier's emails? Don't carriers usually charge for that? If not, what's the point of using a service like Twillio?
Twilio is more complete and supports a lot more carriers and doesn't look like it came from an email address.

TextBelt is pretty sweet though if you want basic messaging.
Ah nicely done, you should add that to the success dialog!

For me submitting the form also clears it, so I can't test or change it anymore. The experience is a bit choppy. Perhaps you can just keep the settings the same so a button creator can create more iteratively.
That is a tradeoff every software repo is faced with (stability vs. new features). Why would a C++-specific PM be able to do it better? Especially considering that it would have to provide compiled binaries for N versions of M OSes/distros (not to mention multiple CPU architectures).
It is not possible to over-post Adam Curtis. The range of ideas in his videos is fantastic.
Loon, Waymo, and Stadia seem pretty sexy, for entirely new product spaces. And within the current products AR maps, digital assistant, and AI auto complete in Gmail are pretty cool but I guess that's highly dependent on what you as an individual would care about.
Wow. Never knew it was so many; And many of them died a slow death. If you're going to fail, fail fast.
We're using Rust for general purpose APIs. What would normally be written in Python or Go, for us. We just prefer it. We're also using it for a couple memory/generic intensive applications that were previously written in Go, but the lack of Generics made some API design awkward.

I use it for all my personal projects as well. Which are basically the same types of things I wrote in Go. Though, I also am experimenting with WASM DOM UIs, something I've not yet used in Go.
I asked around a little bit, but generally just built it. My hedge, though, was to time-box dev to a few weeks and then show it to more people for feedback before spending additional dev time.
Deepfakes are readily understandable as a problem for politicians. Politicians are experts in public messaging; this technology has the ability to alter previously-immutable messages.
$30,000 cheaper you mean. The mid-tier dual-motor is $20,000 cheaper.
:wave: I'm a maintainer of the GitLab helm chart. You can certainly use `helm template` to get the output of our chart, and then make use of `kubectl` without issue. We have several large customers using this pattern, and is expected as an option due Helm 2.x's Tiller component being problematic in compliance regulated industries.

We can certainly work on surfacing this better in our documentation :thumbsup:
Nope. Our failovers are on self hosted servers, where the core of each app lives anyway.
Why wouldn't a hacker just sign up and take the best idea they could find?

It would be cool to have good ideas sent to my inbox at all times. I don't know why someone would just give their ideas away though.
Instead of crowd-funding, try crowd-sourcing for goods and services, dodges the SEC and you still get most things you need. Also, profits can be hidden in private companies, so give share in revenue and/or stock.
Do you already have a proven API and hardware provider who will provide you with said machines? Got them racked up and powered? If not, there's something missing.
Interesting story for those of you on HN who have seen my startup (NewsCred) go through a bunch of pivots. We are now licensing and powering a lot of the premium content on the app!
I have to laugh at any attempts to present BTC as in any way appropriate for trade or commerce. The only thing remarkable about bitcoin is that the cryptography aspect is so appealing to a segment of the population that may not have been exposed to penny stock scams or ponzi investment schemes in the past.

Check out this trading chart for the BTC/LRUSD pair (liberty reserve): http://www.bitcoincharts.com/charts/bcLRUSD#permalinkbox

April 7th: 0.60 BTC/LRUSD

April 19th: ~1.17 BTC/LRUSD

Yes, that's right. It doubled in trading value in 12 days. Sounds like a real candidate for meaningful transactions to me O_o
It is not the same damn graph--the two "logical reasoning" graphs show two separate studies that measured same quantities. The points on these graphs are not the same, even though the axes and captions are (except that the captions mention that they are two separate studies).

Edit: based on other comments, it sounds like maybe the 3rd and 4th graphs were identical, but the author has now corrected the error.
The next question is why _developed_ countries are taking the debt.
BBC article: Goats fighting America's plant invasion
https://news.ycombinator.com/item?id=8883964
The guide is alright, but it could be improved. I'd add/mention/change the following:

Installing Ruby on Windows: http://rubyinstaller.org/

Running `bundle install` is not a good idea, because it will install gems as root (and globally); unless you use bundler version >= 2, which isn't the stable release yet (it defaults to the behaviour in the next sentence). A better alternative is to use `bundle install --path .bundle`.

Another thing that's maybe worth mentioning that Sinatra has a "DSL" with lots of interesting settings, which can be changed using `set`, `enable`, `disable`, and mention how to access those settings using the `settings` object.

For example, an interesting settings that could be mentioned are `:port`, `:public_folder`, `:static`, and `:sessions`.

Also, perhaps you could link to the official website, if people want to look into more details of the guide.

A side note, and a design idea for the website (although it would require more effort overall) is to add "tabs" for Linux/Windows/OSX/etc operating systems. For this particular guide, there's not many differences (if any).
>But they're doing reckless crazy stupid shit here. Everyone regardless of politics should be able to see that, if you look at the summaries of what they released.

Looking at things objectively isn't "partisan stuff". I'm hearing the same hysteria that accompanied the Afghan War Diary release, yet noone was ever able to point out one life lost because of that leak. Wikileaks is doing even more this time to mitigate any fallout and their work is going to save many lives in the long term. For example: the next time the US decides it wants to invade another country they might find it harder to justify.

Anti-Wikileaks hysteria reminds me of the way child porn has been used to justify the creation of state censorship mechanisms: an attempt to use edge cases to justify protecting the interests of the status quo.
Some of those "criminal enterprises" were criminal only because they distributed data the US government said should not be distributed. WikiLeaks distributes data the Australian government has decided shouldn't be distributed. It sounds a little bit comparable to me, even if you agree that one kind of data should be allowed and the other shouldn't.
Oh please, you're paranoid. The Russians would probably just have a chat over some tea... :-)
If your citizenship allows it, you can even just place your investments and the income from it in a tax haven and only pay taxes on the money you bring into the country to consume (which won't work with US citizenships since they claim taxes on your worldwide income). Even your house can (probably) be owned by an overseas holding company.

If you keep travelling, it's even easier. As I understand it, if you're a non-dom in Britain (ie. not a British citizen, but residenced there), they don't care about income earned outside the country (your investment holding company in the Bahamas) and any money you spend outside of Britain.
"We are the electoral proving grounds for US/UK/CA laws."

... and I would say you're falling down on the job ...
I'd argue this is incredibly common if you write a codebase without a specific, concrete effect stack. In Haskell, the mtl library offers constraints on types mandating that they support at least some effect. These compose together and then are executed by a custom effect "stack" that inhabits all of the constraints.

So, you might have a piece of code which can fail at using some User properties to compute a score of some sort

computeScore :: MonadError Error m => User -> m Score

and also a piece of code that pulls a given user from a database

getUser :: MonadDatabase m => UserID -> m User

and we can compose them

getAndComputeScore :: (MonadError Error m, MonadDatabase m) => UserID -> m Score
getAndComputeScore id = do
user <- getUser
computeScore user

In some sense, each of these three functions operates in a different (abstract) effect stack and the calls to getUser and computeScore were transparently "upgraded" to a more comprehensive effect stack when they were called in getAndComputeScore.

This is the basis for "effect tracking" where each piece of code is written to the minimal, necessary effect specification. Their ability to compose and operate within other compatible (abstract) effect stacks is used regularly to compose small programs into bigger ones. Then, finally, you just make a big type

data ConcreteEffects a = ConcreteEffects ...

instance MonadError Error ConcreteEffects where ...
instance MonadDatabase ConcreteEffects where ...

which instantiates all of your abstract effects concretely. You might even make two, one for testing

data ConcreteTestEffects a = ConcreteTestEffects ...

instance MonadError Error ConcreteTestEffects where ...
instance MonadDatabase ConcreteTestEffects where ...

These will look like compositions of the basic effects from this article. For instance, if you imagine a type of DatabaseHandles, you might have

data ConcreteEffects a = ConcreteEffects (DatabaseHandle -> Either Error a)

which you can stare at and recognize to be Either and Reader combined together.
Weird, this is completely opposite to what a lot of people I've worked with have said. What do you think about having business logic in the DB layer too? I saw someone on another post recommending that which, again to the people I have worked with, is an antipattern.
So why don’t we have the same issue with Photoshopped images? It’s because everybody knows Photoshop exists and is skeptical about photographs. The more and more deep fakes get published—first as tech demos and then increasingly as jokes—the more people are going to adjust to how this works. Some people are going to be credulous but that’s just the human condition.
With database I meant an instance of whatever database engine you are using, not the actual data.

My current project uses mssql. Each test run probably spins up and destroys 100 databases (inside one mssql docker container that is spun up for each test run). Each test function populates a DB from scratch (using the same sql migration scripts that we have used in prod), runs the test, drops the database.

Can do that quite some times in the minute it takes to run the full suite.

Point is to actually execute the SQL (or whatever NoSQL you use) as part of the test.
It doesn't sound all that great in English either...
There are lots of ways to interact with folks who don't understand something that get your point across without making them feel bad. I'm guessing you didn't employ any of those strategies.
I’ve been using self-hosted Matomo for https://www.cannonvoice.com since I launched a couple of weeks ago. Man this is some neato software! On top of that it was super easy to deploy to the K8s cluster that runs the app. +1 would recommend.

To folks saying to “Just use server logs”, it’s simply too hard to connect the dots unless you really know what you’re doing. Digging through my nginx logs to find that the majority of my users are dropping off at the second step of sending an invoice would be nearly impossible. Oh I could connect those logs to my api’s database, now I need a place to aggregate that data together. Maybe I could send all of that data together to elasticsearch and query with kibana. Now I need to learn how To set those things up.

Or I could use Matomo for some analytics real quick
> But the positive news is that v1 & v2 only matter at all if you do in-process sandboxing of untrusted code.

I don't think this is accurate. It seems to be a widespread misunderstanding that started because the original proof of concept was within a single process. Spectre, before mitigations, allowed userspace to read kernel memory if appropriate gadgets in the kernel could be identified and exploited.

My understanding is the impact is only intra-process after mitigations.
3 seconds is page saving time for editors. Since wikipedia is a read-heavy site, I would expect that to take longer than loading a page, as writes will always be more expensive and less optimised.

By comparison, uncached page load time appears to be ~800ms
Did you read what I wrote? I said I would pay if I were convinced it would lead to faster loads, but I'm not.
I had created a list of endpoints on Hacker News to help with my extension Refined Hacker News (https://github.com/plibither8/refined-hacker-news/blob/maste...). Thanks for telling me about this! Will add these paths too :)
More or less yes, but it's more than one register. The video output as the scanlines go across is built up from a number of registers. Three registers encode a 20-bit "playfield graphics" layout (blocky background graphics) for half of the current scanline; four registers are higher-res sprite-like things (2 "sprites", 1 "ball", and 1 "missile"), which also do other things like collision detection; etc. You typically do useful work rather than a NOP-loop, though, and just carefully arrange it with cycle-counting, since there aren't many cycles to spare.

An even more minimalist design where you just have one register, the next pixel to output, wouldn't work because the CPU isn't fast enough to update it: the electron beam outputs 3 pixels per CPU cycle, and of course many instructions take more than one cycle, too. Instead an auxiliary microprocessor, the TIA, is clocked 3x as fast as the main CPU and does the real-time compositing of these various registers into the one value to output.

All the details you could want are in the Stella Programmer's Guide, a 1979 guide/manual that resurfaced on the net: http://alienbill.com/2600/101/docs/stella.html

There is also an interesting book looking at a few case studies (one per chapter) of how the Atari's weird hardware influenced the design of some of its games: http://mitpress.mit.edu/books/racing-beam
This was why I started using Signal in the first place. I could replace my SMS app with Signal and immediately gain the advantages it offers for my friends that were also on it or willing to switch. Over time, more have switched to it and the network grows but I don't miss out with those who won't switch for whatever reason.
That's a common falsehood though.

It does not matter how "simple" each line of code is.

What matters is how "simple" the whole application/solution is.

You can argue that you can write very simple code in Assembler - all instructions are very clearly defined and very simple (well, maybe not anymore in CISC...). Someone can learn them all in a day. The problem is just that now you end up with a lot of code and overall that will be hard to maintain.

Compare it to Javascript: certainly not the language where code is most maintainable or simple, but the end-result is easier to maintain then assembler.

In the end, the choice of programming language is like a the choice of a compression-tool like gzip. The more complex, the more difficult to learn and use (setting library size and various compression settings) but the output will be smaller compared to a simple tool or no compression (Assembler) while containing the same amount of information.
I'm aware Europe wouldn't actually accept this argument, it's just another reason I view GDPR as a blight on the web.
Two tests-
1) Is your idea so great that not only you'll be making money with it, but someone else would want to knock it off so they could make money with it? If not, don't patent.

2) Are you prepared to seek funding for, develop, test, prototype, produce, and market it with full gusto? If not, don't patent it until you are. You lose control of the clock as soon as you start the process, so you better be ready to ride the wave.
You're right, categorising women based on what they do for a living doesn't sound very enjoyable.
They're imaginary Internet points. Losing some because you were downvoted makes no difference to anything in your life.
Eh…

“…and thus did Melkor breed the hideous race of the Orcs in envy and mockery of the Elves, of whom they were afterwards the bitterest foes.”

Tolkien saying that they were bred to be this way indicates it is a part of their biology, as does the fact that Tolkien calls their race hideous.
> I mean, how does the logic even work that leads from "some people think that this text is good for learning about X but I find it is 'inadequate and sometimes confusing' to me" to "X isn't generally worthwhile" even work?

I'm pretty sure I did not make that particular claim. I have trouble learning from the supposed best text; others have trouble learning from the supposed best text; asking questions gets me treated with hostility and non-helpfulness. I want to know what I am going to get out of learning the language if I put additional time into it. If I am not going to get any more from Haskell beyond (a) what I already know in C/C++ and (b) the ability to put Haskell on a resume, the question of cost/benefit analysis arises quite quickly.
Interesting since several of my local dealerships offer internet prices online that are consistently 1-2k lower than the Edmunds "best price".
I can't imagine getting rid of files and going all cloud in my creative visual art projects - just one second of a 14-bit RAW YUV 4:4:4 5k movie takes gigabytes, even the latest M.2 PCIe SSDs have trouble playing it back realtime, not mentioning "slow" 1Gbit Internet connection at best, though definitely not for upload.

I have a feeling we are getting backwards from the efficiency point of view and am thinking this won't be a sustainable way forward - even in distributed/parallel algorithms you try to keep locality to improve performance and save resources, not to transfer everything back and forth via some middle man just because some business guy came up with some "genial" idea how to milk money.

Internet companies have a few chances to earn money, subscription being one of them, but massive push into useless cloud for their particular business cases like in the case of Adobe CC or Microsoft Office just leaves bad aftertaste. Also, Dropbox/GDrive don't allow incremental update API calls for 3rd party apps, which wastes precious upload bandwidth, and in addition end to end encryption fully controlled by user is not provided which would justify full uploads. All of this just screams of artificial constraints which do not benefit anyone, in the long term not even to those companies.
When I see a Yakuza with only one finger cut, I know it's a good one : he made a mistake only once. I would not mess with this guy.

Btw I believe that like death and taxes organized crime is something no human society can go without. I'd rather have the Yakuzas than say MS13.