skysight-inc/HackerNews huggingface dataset:
Ocaml the language isn't the problem for me, it looks great. The real problem is everything else: the libraries, the build tools, the package manager, etc. I tried to set it all up and after a couple evenings gave up. Also, when I realised that it doesn't support unicode strings I tried to find and install a library and I just couldn't work out how.
> I think it’s absurd that you can neither buy a kindle book from the iOS kindle app nor the Amazon app. How user unfriendly!

You can still buy Kindle books on iOS using Mobile Safari so there is that.
I understand this is a non linear control problem with a well known model. How would machine learning help there?
Show HN: Check if a number array confirms to the Benford's Law
Microsoft Flight Simulator review – buckle in and see the world
Some games even require you to close the screen! I suppose that's one of those emulation quirks you will just have to live with.
I've been using this tool for a while. It's great for when you're familiar with a command but would prefer a list of common examples instead of a detailed man page for whatever reason.

Resizing an image with imagemagick's convert utility is extremely common, but invoking the binary with -? or bringing up the man page will get you way more information than you're actually looking for, whereas the cheatsheet[1] has exactly what you need right there.

[1]: https://github.com/cheat/cheatsheets/blob/master/convert
The Elegance (and Limitations) of Precisely Engineered Accelerators
Looks very cool so far, congratulations!

I have two questions:

- How do you handle incremental loads from files (or even google sheets)? Am I able to only load the diff, load full snapshots and get bi-temporality, etc?

- Are you supporting PostgREST as sponsors in any way? It's one of the most solid tools I've ever used, and I love to see that companies build great products on top of it!
It's worth pointing out that minimum-wage workers in the UK receive various government benefits too, such as help with rent, low rates of taxation etc.

Minimum wage in the UK doesn't provide a lavish lifestyle, but it's more than possible to live on it.
I do not think it's true that Apple's decision to ban Microsoft's xCloud is to protect their customers from games that are actually trying to defraud players. If this is deflecting then I guess call me the Great Deflector.
Cool! Do you know which machines that port would boot?
Fun fact! The Nintendo DS audio chip has a distinctive buzz that's visible in all audio tips uploaded to YouTube, and you can even hear it on this page! It comes from.... a bug in the popular DeSMuMe emulator. Yes, it turns out that the people that designed the "2sf" format used for unofficial music rips simply used stripped down ROMs and code extracted from a version of DeSMuMe. Community tooling later allowed you to batch convert them to MP3, and the rest is history. Line rips recorded from the audio jack of the device don't have this distinctive buzz. Extra fun when some official soundtrack releases contain the buzz :)

There's some other fun facts about the DS (its 3D hardware is scan line based, not frame buffer based! Which means you can't do post processing on it without some hacky tricks... can you tell it was from the team that made the PPU, rather than a modern GPU or even an SGI-derived one?), but that one is my favorite.

Edit: minor correction, the N64 supported AA, which is another reason jagged polygons are less common.
LL(1) parsing: First and Follow sets
What happened after Tim Cook wrote "Thoughts"?
Inspiration for the Star Wars landspeeders? I find it pretty amazing how much of the visual language of science fiction is a digested and recombined medley of the popular science and industrial research of its day.
Turns out trying to pay people 1-2 usd per hour for creative work leads to said people not caring about the quality of the work.
Woah. I need this, but then with Vim bindings ... that would be my ultimate data browser
Neat that the top two “all time high” links are from years ago. Does HN not grow as fast as I thought it did or are more recent things more controversial?
Slate, create beautiful, responsive API documentation
> Is this listicle spam or helpful for people who get started with testing in React? :)

It is useful, but only because react-testing-library's documentation is horrendous in this front (its documentation is fine as a reference, but not as an introduction/getting started).

However, your post will end up rotting over time as react-testing-library evolves, and will end up being old cruft spam contributing to today's issues (you search for something and find an outdated reference that doesn't work anymore).

If you really want to have positive impact with your documentation efforts, the best avenue would be to work with the software authors themselves on getting your tutorial there. And then helping to maintain it.

Of course you are not in any kind of obligation to do so. I just wanted you to think about it ;)
Inb4 tiktok will start to price their app based on the number of cores in the Phone.
I have this 4y old Android smartphone which is slow for no good reason. I tried everything, removing/disabling apps, reset etc.

The problem is that apps are just too big. Tinder is unusable.

I thought I could root it and install a custom Android, but I realize now that it's not as easy as installing Debian on a desktop.

If you combine capitalism with wirth's law, you end up with expensive hardware that you cannot use. It's the same problem with JavaScript and web page size.

Everything is bloated.
You asked "Put another way, are there many people devoting their entire working lives to OSS with no other compensation or resources, essentially going bankrupt to write OSS?" He answered, "I wound up nearly going into debt". There are different meanings of "bankrupt", but "out of money" is a reasonable definition to use in this situation.

Besides that, it's in extremely poor taste to marginalize someone's sacrifice of two years just because you think they're privileged. It's usually better to make much of someone's contributions than to minimize them.
OpenCL was pretty good in this a few years ago. I had some kernels which ran across AMD and Nvidia GPUs as well as many core Xeon systems without changing anything. To squeeze the highest performance out, you still had to tune for the device, but it was a great start.

Now, all vendors seem to have dropped support for OpenCL, though it will live on nicely in PortableCL, which implements it atop LLVM, allowing it to target anything LLVM does, which finally goes further to achieve the open-ness the original standard aspired to, than the vendors themselves at the time.
On a somewhat unrelated note, the design of this landing page is fantastic. It is exactly how I like to have new tools presented to me. All the fundamental competencies of the tool displayed on one page, with sufficient, but not verbose, technical detail. Kudos.
I would guess it's about 20 years out, honestly. The sequential and interconnected weight & cost of software failure will have to be well beyond the capacity of conventional errors & omissions insurance to tolerate; settlements will have to be business-crashing - Knight Capital level crashing - to drive this.

Today, it's well under that.

It is, of course, long overdue; Therac25 should have really gotten the effort going, but, ce la vie with a irresponsible economy. It's plausible the EU legal systems will develop this effort first. I would not be surprised to see France or Germany fully develop the idea, probably in connection with Airbus or Siemens. Anyway. Idealism around quality....
I really don't understand that comment. We had the Concorde, didn't we? We found out that the marginal costs are not worth the 2h saved, fair enough, but there was a race towards faster. And I believe there are companies developing supersonic planes today again, maybe at lower marginal costs. OP did not say the efforts will be successful, OP said there will be a race to see if it is possible to drive costs down spurred by increased demand.
Interesting. Could you point me to some history article about that?
Canon's cloud platform has lost users' files and can't restore them
Wow, this almost makes me want to get an iPhone.

Awkward but genuine question: is there anything out there like this for Android? :)
This is one of my favorite quotes, which I think summerizes what you wrote in one sentence:

"artificial intelligence is the second best way to solve any problem"

(KJ Astrom, UC Santa Barbara)
Very nice. But with the linked project, although the braces are optional, when you do use them I'm presuming they're checked for correctness (i.e. they match the indentation level and are properly matched).
Threat to kill wild boar that stole nude bather's laptop prompts outcry
Not to forget the 50% that telecom providers would demand for premium SMS / MMS (with one "chat" message costing 5€, half of it would get to the network provider). Which also explains why they had little incentive to prevent predatory services like SMS spam telling people to call / message high priced service numbers with subscription keywords.
There is a lot of mysticism around electromagnetism, but I wouldn't want to live under a high voltage line either.

But that would probably be irrelevant for substations and you could isolate lines from populated areas with not problem. I think the issue is probably because there is little will for investments.
Actually I pay 100%. I don’t care how that 100% gets divided up; all I care is the actual price that 100% adds up to.

Are developers going to lower prices of in-app purchases if Apple’s cut goes down? Doubtful. But if they do I might buy more.
No worries man.
Around the end of the 19th century we start laying out long, I assume copper, metal wires stretching from shore to shore crossing the Atlantic.
They don't know much at this point, things are not working out, and some people even manage to total loss a wire by too much voltage.
At each end of shore, there sits the operator. Click clacking dots and lines. Mapping them to letters, words and sentences by Morse's mapping. One of the operators is Oliver Heaviside.
Heaviside develops the mathematical understanding of the action and scenario when a single pulse is generated at one shore. I would like to have a reference to the first occurrence of his telegraph equations.

Now, we have them in many forms.
The differential kind from the wiki article.
The operational calculus kind from Jan Mikusi?ski's .
The modeling of capacitor and/or coil as transmission lines by Ivor Catt.
The fourquadrant representation from Eric Dollard.

I will appreciate any elaboration on any of the subjects.

The modelling and experimentation in the area seems to be based on an opportunity to contract space.
Meaning that instead of having a 5,000 mile long wire, we are forced to be limited by our laboratory span.
How can we simulate in our lab a 5,000 mile long wire? Eric Dollard proposes the analog computer.
Four elements compromise a symbol. We lay the symbols in a serial line.
https://www.youtube.com/watch?v=nJ8drfI4j9o

Now, we got a 5,000 mile long wire in our lab. Space contraction.

This dude does great job
http://www.am-innovations.com/transference-of-electric-power...

And please don't forget that Heavside basically single-handedly created the electrician's vocabulary of terms.
Why not start with a device that already has WiFi, and then you don't need to do any hardware mods?
> golang is quite notorious for its dependencies pulling in tens or even hundreds of other dependencies

Plain wrong. Just stop trolling against Go.

1. The point is that you don't need as much third lib deps with Go or Python due to the huge and useful standard libs.

2. For exaclty this reason the third party dependencies don't need as much other third party dependencies.
I'm amazed by the spread of various Asian mosquito breeds throughout the world in my lifetime. When I grew up in Los Angeles (90s/00s) the only time I remember ever getting a mosquito bite was while camping in the Summer. Fast forward to ~5 years ago and there has been a persistent outbreak across LA of the Tiger mosquito and several other species. It's so bad that you simply can't be outside around sunrise/sunset without taking the necessary precautions. We now have a division within the pest control authority that deals specifically with tracking and eradicating them.

Two years ago I moved to Southern France only to find it's the exact same story.

We're dealing with an airborne virus pandemic now, but I can easily imagine the day when the Global North is dealing with the same mosquito-borne diseases that decimate parts of Africa and Asia.
That’s not entirely fair. While it is true that it doesn’t cover the latest and greatest package management tools or libraries, it does have a nice coverage of the core language that is still perfectly valid. It is written for a different target audience than RWO I think - when it was written, most of the people who used Ocaml were PL developers and researchers, so it focuses on the language from that perspective.

I wouldn’t disregard it simply due to its age - that is a bad habit I see all too often (“Old = bad!”). Just to make sure before posting this, I went to some random parts of the book and pasted example code into a utop REPL for the latest Ocaml version and it worked fine. So it’s not like the code has bit rotted. It’s still worth a read if someone is interested in languages. It is not worth reading if you are looking for a tutorial on spinning up some form of web app or server app that uses all the shiny things people are currently excited about.
Easy Technology (some thoughts inspired by Steve Yegge)
You still need some library to create a window and process user's input. In this case it uses GLFW instead of SDL. Not sure if you can count it as advantage.
I wonder if royal houses are a net economic positive due to increased tourism. That would be the only reason to keep them. It's like a really long-lasting, expensive reality show.
Adobe owns Marketo, among others, so yeah it would make sense. :)
And if they don't and courts side with Apple, Tencent might be willing to pay the damage. The upside across their companies is large enough to justify the damage.

If courts side with Apple, Google might be next depending on their behavior (Google has banned them but doesn't appear as aggressive yet).
True, I didn't think of that but things like "hold a 30 degree turn for a certain amount of time" could indeed result in a circular flying path. You are right.
Apple has a 100% monopoly on the market for iOS app distribution, which can be argued is bad for the customer because the 30% revenue share they take is inflating app prices.
I'd say because of the standard lib Python and Go suffer less than other languages. The third party libs benefit from the standard libs as well.

Actually at my current job one of the tech leads decisions for choosing Go was exactly this.
> They are already rich so they don't need a 30% cut of app purchases

Yes, I don't get why they don't just hand out phones and everything for free, duh. I mean surely they could do that for a while with all that revenue instead of theoretically buying 50 new data centers per year every year? Why I am not getting free stuff from rich people? What economic wizardry am I missing?
Which arguably makes the NRA look reasonable in comparison.
To me GPT-3 excitement is equivalent to when people get hyped about "defeating aging" after seeing some resveratrol trial or something.

Language is only part of it. And you can't get complete understanding without integrating spatial information. Take a look at Josh Tenenbaum's work for explanation of why.
I don’t often work with Postgres itself but I do work with a derivative (Redshift) at $dayjob.

Indexes don’t exist. Constraints are present in the syntax and the planner relies on them but they are never enforced. Our ETL layer deals with checking constraints at load time. Load performance is good. I’ve never run a rows/minute metric because it’s never been a problem.
I'm not sure size is a good metric here. For example, a really tiny npm library like left pad (https://packagephobia.com/result?p=leftpad) is something you don't want to depend on (because you can implement it in a couple of lines), whereas date-fns (https://packagephobia.com/result?p=date-fns), which is way bigger than left pad, is a library I definitely don't mind depending on.
What's the big yellow swirly thing?
Method Chaining with Fluent Interface Pattern(Write Customizable Method Chains)
Back in 2004, this kind of thing could have just been a favour.

Now, apple collaborating to add spy devices could seriously hurt their privacy reputation. I wonder if things like this still happen, and what persuasion executives require to enable it?
That should be kind of obvious but the good developers in India don't work for the cheap outsourcing companies, they have way better options.
And maybe I'll do an Analytics made in India blogpost.

I hope the basis of the post is how you didn't communicate how the code was supposed to be integrated well enough, and how you've learned to give clear instructions without assuming knowledge on the part of other people now.
This is the kind of thing that makes me think that yourself and others who are able to demonstrate a loss of earnings due to this decision could litigate. Generally I'm against that sort of thing, but sometimes there is only one course of action that will make someone like Apple listen.
When did the `0x` convention for hexadecimal literals originate?
I was talking about the North American model where staff are paid basically nothing and they live off of tips.

Europe is another story. Tipping there is not expected. And staff are probably decently paid.
I have always wondered if it's possible to run Gameboy Advance games in DS Mode (and thus access the DS mode hardware) and patch the GBA Link Cable serial comms to instead use the Nintendo DS's Wi-Fi connection.

Conventional wisdom says it's impossible to run in AGB Compatibility Mode and retain DS functionality, but I still wonder if it could be done.

Also given the ancient cryptography, I wonder if it's possible to crack DS Download Play and introduce a new "Wireless Multiboot" exploit that uses real DS hardware similar to the early exploratory attempts using "NDS WifiMe" before flashcards become commonplace. The hardware only has ~256 kilobytes of RAM (and doesn't even use a standard Wi-Fi stack if I recall correctly), but it would be SUPER COOL from the perspective of getting hardware to do something never thought possible.

One use-case for this hack I imagine is playing Zelda Four Swords Adventure played on a Wii / Wii U (via "Nintendont"), with the game patched to use Wi-Fi for the communication to the Gameboy Advance controllers rather than a Link Cable. The players won't need to have a flash card each, but could boot up the payload using DS Download Play on any DS variant (including DSi and 3DS).
Forgive me if this is a stupid question but if you’re unable to remove apps from the store how will you handle blatant issues of spam or, worse, viruses?
Test the Spammyness of Your Emails
Here is a talk by Jessica Kerr, that I find really interesting: https://www.youtube.com/watch?v=W9I4loWogqw

It mentions Nora Bateson, "Symmathesy" and mental models quite a lot. It covers many different ideas, all of them worth thinking about.
This holds true for all kind of content (YouTube, Courses, StackOverflow, Reddit, HackerNews) where a person has no ownership or no monetary interest (or doesn't worship pure altruism) ... At least content creators are urged to keep their content up-to-date, otherwise they would receive bad feedback (and bad SEO scores over time if people don't stay on your website). I could name you lots of articles I have kept up-to-date over the last 3 years (more than I wrote for sure), and I know this doesn't apply to all content creators, but I can tell you that it really matters for your readers and your credibility.

For sure, the easiest thing as a content creator is publishing (almost) ever green content (see web applications article). However, most often you are looking for topics that solve actual problems of your readers (see react testing library article) which often leads to bleeding edge technology which isn't document well yet.

For what it's worth, there will always be companies with money who pay people to write content to support their products (e.g. SaaS). This makes it harder every day for individuals like me to sustain their livelihoods. However, I strongly believe in the long run quality trumps quantity.

In a perfect world, there would be (1) one perfect learning material (e.g. official documentation) and (2) one unified learning style (e.g. text, video, both) for all students. But we are not living in a perfect world and therefore people look for resources outside of the box.
Small developers don't care about minuscule savings on their low sales numbers. They primarily care about getting as many sales as possible. The only ones who benefit are those who are selling lots of copies.
Or Epic hoped for that reaction as it shows Apple's reaction to be out of proportion. Just banning the game would've been a logical move but destroying other businesses not related to the 30% cut in Fortnite could give them a much stronger case and convince a judge that Apple's actions are retaliation, not just a reaction to the violation.

I'd be very surprised if Epic hadn't considered this reaction by Apple.
Image stitching maybe?

There's probably a good name on one of the SIFT papers if you're also looking for some algorithms
Every time this comes up, people (some of whom are in this thread) end up talking about how this can't/shouldn't happen for software. After all, what, is every high-schooler or green college grad that ever wants to code their own app for a startup going to have to be professional certification?

I guess I'd argue that those people shouldn't be legally allowed near this kind of thing without that kind of a certification. Looking into all of the other engineering disciplines, that's exactly the kind of thing you see. I have a BSME, but I haven't taken the Fundamentals of Engineering exam to get my FE cert, in part because getting a PE certification requires working underneath a licensed PE for a certain number of years, which isn't the case for my current job.

I also know that by not doing so, there are certain projects that I simply can't work on. I have to imagine that there's a way to create a legally enforceable framework that falls into the same category for software engineers. Want to build a company that creates a digitally-synced notepad? Have at. Want to touch personally-identifiable medical data? Better have a licensed engineer working on that project to sign off, else your company is wide-open to liability claims with teeth. If something unreasonable gets by the signed-off engineer, they're on the hook too.

Obviously, it's a complicated problem, and reducing things to a first-order solution rarely is a catch-all, but there has to be some more professional/personal responsibility taken by the individuals building these systems, and a requirement of licensure is a way of empowering engineers in those positions to the point where it actually matters.
Building a Button Part 1: Press Events
Credit card data is relatively small cardinality and easy to predict the form of.

Medical data is... not that
Pre-crime at the tax office: How Poland automated the fight against VAT fraud
Does the author plan to open source it? I would love to.
I can't assume there will be much social distancing at school. My ex-wife has had the illness once but suffered no ill affects, slight cold for 2 days so it's possible the kids and I have had it although they isolated for 2 weeks with me around then. She works in a busy hospital. I have very little contact with anyone as a work from home dev.

Any contact with the grandparents is likely to be carefully controlled and they won't stay in our house. Things do seem to be improving now in Europe, but going downhill in American, good luck guys.