skysight-inc/HackerNews huggingface dataset:
Meta: The comments here are largely criticisms of the poster.

What norms should be established for Ask HN? On Reddit it is expected that the premises of questions may be attacked, "me too" replies left, or jokes made. On Stack Overflow questions that can be answered with specific information usually are, but questions are frequently edited for clarity and to remove editorializing.

What is the unique value of Ask HN and is this the type of question and responses we want more of?
I draw figures for my mathematical lecture notes using Inkscape
Thank you for the info, it's very interesting! The space has been filled with dinosaurs and great to hear about innovations really starting to ramp. I wish you the best and I'll definitely be keeping a close eye on your progress.
I don't think depression is measured by your circumstances.
How profitable is "just driving Uber for a couple of hours"?
Whether there is misunderstanding by the grandparent post or not, in practice there are a lot of people who do just play with ?/! until they manage to get code to compile and then hope for the best.

You can see it all over the place in code people write, posts on Stack Overflow, etc. The Apple Swift book does a poor job explaining the rationale and benefit of using option types.
Why does general interoperability matter in the context of two devices that you control both interoperating? I mean, if I had written the software on the other end I would've used a different interchange format altogether. But when you constrain the problem down from your software connecting to any and all systems on the internet to your software connecting to a specific system for the purpose of exchanging well-defined messages, you don't need a general-purpose parser with validation. And you end up spending a lot of time validating and analyzing the same message over and over again even though you can guarantee that it's the same message.
Although the package was moved from "http" (in the linked example) to "net/http" in commit de03d502 in Nov 2011, four months before 1.0 and its compatibility promise.
But optional is very simple concept.

However, break from the old habits is hard. I was there moving to f# and the first month or so I try to bend the rules.

Same now with rust. I try to mold it as a OO language, and get SUPER annoyed with how rust is so different. But you embrace algebraic types and pattern matching and suddenly a lot of other hidden problem simple disappear forever.
Only $0.13 for 2000+ ATTINY25-20SU according to http://www.hqchip.com/search/ATTINY.html
For real. This is not even an actual article. It’s a bullshit product placement ploy. And at the end of the long winded yet breathless “how can this be???” hypochondriac psychosomatic pseudoscience tale of woe, a much, much better alternative is presented, and linked to.

Wowee! Thank god I read this article, the very professional linking of all the relevant words was so helpful too! I will click them all!
Disney heir on CEO's $66M pay: 'No one on the freaking planet is worth that'
Oh please no, not for me. A well-read audiobook becomes an integral part of the art form. An example is the recent Beastie Boys book, which is read by the two of them, plus a whole host of guest readers. Some of whom completely transform the experience.
So basically go back to WM_PAINT
FWIW, Unity are moving away from ImGUI (to a classic retained mode UI system) https://blogs.unity3d.com/2019/04/23/whats-new-with-uielemen...
You could even say that it was less than semi-accurate
What software do you use to do time tracking on Linux?
OK, 20,000 e-mail providers with 50,000 users each. Does that change the point?
> Is there seriously still a commercial reason to use the ATmega328 (an 8-bit microcontroller with 2000 bytes of RAM) for new projects?

For anything commercial? Almost certainly not.

For one-off makers/non-engineers? Maybe. The Arduino ecosystem is really hard to beat for non-programmers.
There probably is an opening for a language that has built in cryptography.
Yes, you're right about delete. I still do it, and will still do it, though. I have my reasons.

No, I wouldn't redefine free(), I'd use my own terminology, but I'd search the code for it and replace it verbatim, and seeing that it apparently is standard practice for both C++ and C to null-check their pointers before deletion, I have all the more reason to do so, because my code assumed that it didn't.

Delete shouldn't null check, it should delete memory at location, no matter what address. It should be up to the implementation to check that pointer is valid.

EDIT: I should maybe add that the next line of code is in my case almost always "pointer = NULL" following "free(pointer)". The null-check is not just a technicality of checking of pointer-validity ("Pointer not null?"), but also code-syntactics ("Has this item not been deleted yet?").
I actually notice my mood and energy levels drop significantly when I reduce my weekly exercise.
I think you mentioned in the podcast that managing integrations is one of the toughest parts of your whole operation. (Apologies if I am misrepresentating what you said.) I can 100% believe that embracing failure is the only realistic way to handle this at scale.

But as someone responsible for producing API docs, it really pains me to say this! I know my team goes to great lengths to ensure that our API docs are up to date; we even maintain a changelog of every single doc modification, in large part because we have people integrating directly with our Swagger/OpenAPI based docs.

After a bit of Googling, it looks like CluedIn has an integration with us (Zuora). In case it can help you in any way, our changelog is available at [0].

Full disclosure: I work at Zuora, but am speaking for myself only.

[0]: https://community.zuora.com/t5/Developers/API-Changelog/gpm-...
RTAI &/or Xenomai are RTOSes based on Linux, both support ARM. Xenomai has support for the Pi Zero, Pi 2 model B, and Pi 3 Model B[1]. I've never used it, but it's probably easier than porting another OS from scratch.

[1] https://gitlab.denx.de/Xenomai/xenomai/wikis/Supported_Hardw...
I like this concept, but man that's expecting a lot from an entire organization.
Um, look that up on findchips/octopart/etc.

It's a buck and change on those--same as ARM Cortex M series.
> some writes take up to 1-2s

How big are the inserts? I put my event-sourcing log in a regular table that fully duplicate the rows of the inputs as json. Is not that slow ever to me.
Honestly I tend to use c++ as C with easy strings for user feedback.
Reducing process size is a tough, yet straightforward way to improve the efficiency of a chip. But there are other methods too, modern data centers will be looking for power efficiency, innovation in packaging can improve efficiency and make the most of out bad yields. Novel architectures are going to see the light of day now that process reduction is become so difficult.
I'm not hearing the evidence here. This guy got some headaches and found a bunch of anecdotes to corroborate his account. Are we to believe that noise cancelling headphones can cause ear infections just from this story? There are a lot of potential causes for the discomfort discussed in this article besides the noise cancelling feature, as other commenters have mentioned: headphones too tight, ears too big, etc. And although there very well might be some people that experience negative effects from NC headphones, there is nothing to suggest that everyone else will experience any negative effects. And of course there is no data to be found. The title is unnecessarily aggressive for the content here.
All governments are essentially mandating connected cars effective 2020 model year.

As hybrid and electrics take root, mileage and location based metering/taxation will become a major revenue source.
Last I checked C99 initializers require constants, so they don't generalize, whereas the pattern shown does. I'd prefer if the initializers pattern did allow variables on the right-hand side for this reason.
Not so much as you think. Biologists are trained for many years to know where to look for. There are lots of species of Amphipods, but obviously you can discard most species and quickly delimit it to family level if you have a microscope.

In this case you need to be able to recognise only one species that is named and described and the genus can be assured looking at the third segment of the peduncle in the first antenna, eyes medium, gnathopod 1 fully subchelate, etc, etc.

Scholars should focuse in your studies, and let this kind of work for professionals, obviously. Amphipod specimens need to be dissected for identification, and is too easy to misplace, mistake or miss important facts, distroying unique valuable specimens for nothing.
I'll totally sign up for the first 25 years.

If the critter hitched a ride from Chile it's probably native to one of the harbors or bays.
The clickbait title should be changed.
Think of it more like your brain is lying to you about your energy levels and that exercise is calling your brain's bluff. Writing off exercise without trying it is like the Israelites writing off looking at the brass serpent.
Not much movement for Swift either direction in the job postings shared in the monthly whoishiring thread, but still consistently beating Objective-C

https://www.hntrends.com/2019/mar-postgresql-vs-mysql-no-lon...
There are several good lessons learned presented that are generally applicable:

"We should have spent more time figuring out what the problems were with existing solutions and who specifically had those problems."

"The customers we targeted needed to be willing to pay for our solution."

"We hadn’t been committed to learning as much as possible about the market and the customer. We were making educated guesses instead of coming to well researched conclusions. This led us down the wrong path twice."

In his fourth point he correctly decides to benchmark against the status quo but does not talk to people who are paying for an analytics solution but are using Google Analytics, which was free at the time they were conducting interviews.

"We needed to stop building what we thought the market wanted and get back to basics. Instead of writing code, we went out and talked to customers. We spoke with people who used our largest competitor, Google Analytics. We asked them questions to better understand their needs and the current problems they were having with analytics software. They had a lot to say, so we listened."

But they do find a pain point people are willing to pay to solve: funnel design and management. So far so good.

But the next mistake is instead of focusing team execution purely on requests from customers and prospects who match their target, Hiten Shah tries to move faster by coming up with a stream of ideas (called "Hiten bombs" in the text). He was slow to switch focus from exploration / discovery to execution / delivery. Which is understandable because it was exploration that uncovered the "billion dollar opportunity."

His summary is good and also points out a painful reality about "product-market fit." It's not a one time winner take all event. Your early traction invites competition that copies your success, building on it to raise the bar against you.

"You can’t just capture the market once and expect to keep it. You have to do it over and over again and faster than everyone else if you want to keep distance from competitors coming up behind you and disrupting you. That’s how you get ahead of the market.

We forgot the process that helped us deliver that initial amazing product [listening to prospects and customers]."
While I have no direct experience in their system, Zerocracy[0] appears to exactly match your requirements, modulo your salary or hourly rate. Yegor Bugayenko, aka yegor256[1] online, is very prolific in writing and talking about Zerocracy, among many other topics, e.g.[2] Zerocracy imposes penalties for talking to other developers, instead of communicating solely via tickets and other shared documents, which must limit the politics you detest.

[0]https://www.zerocracy.com/toc.html

[1]https://www.yegor256.com/about-me.html

[2]https://www.yegor256.com/2014/04/20/how-hourly-rate-is-calcu...

While people may dismiss such a system for now, Yegor's prediction is that essentially all software will be delivered this way in ten or twenty years.
Calling it a "brittle hack" implies that I don't have any control over the other endpoint. In reality my employer controls the endpoint I'm hitting. So it's not a brittle hack in our organization even though it would be a brittle hack if we were, say, hitting a Twitter API.

In my opinion it's the same kind of optimization as massaging your data inputs to span cache lines in your MCU to improve performance. By requiring the data to be well-specified in its format you can ignore all of the clues that XML provides about the format of the data, because you can assume the format in advance. So all the stuff like schemas and validation become completely unnecessary because you already know what valid data looks like.
They're math operations on small vectors of 32-bit floating point numbers, they produce same result given same input data.

The only difference is that CPU computes stuff on 4-wide vectors of these numbers (modern CPUs up to 16), that GPU on 32-wide vectors (other modern GPUs up to 64).
Yeah that index is amazing if you are doing a lot of sliding LIKE queries (i.e. % placeholders at start and end). Speeds them up massively without having to switch to a full text index or change your queries at all.
OK but I would describe that as the students having already been poorly partitioned into classes. If you're taking a class where you need to go read independently to understand what's going, it seems much better to either just read fully independently or to take a class in the actual thing you want to learn. Sending a bunch of kids with widely varying levels of skill and interest through the same course is hugely wasteful, however common that may be.
functional programming eradicates the concept of commented-out text used as documentation

the idea is that if you have to explain the code then that makes it smelly
I have these headphones and definitely feel a weird pressure that I don't like whenever I have noise canceling on, so I keep it turned off or the setting very low.
I thought this way too until I worked with competent C++ devs on a modern code base. (By my definition of “competent,” no one ever encountered by the Rust brigade bloggers is competent, fwiw).

At some point, I realized that C++ is a language for implementing new languages in a way that is backward compatible with existing programs.

Templates are Turing complete (lazily evaluated, purely functional, and side-effect free), so whatever your language of choice can do can be backported to C++ (granted, painfully, but probably less painfully than throwing out all your legacy code and starting from scratch).

On top of this, C++ supports zero-cost abstraction, so it will get very close to low level C performance (including constant propagation, loop unrolling, type-unsafe transformations, hoisting, inlining, etc, etc) even if you throw piles of lambdas and encapsulated methods at it.

The costs, of course, are that the compiler is slooooowww, and you inherit all the memory safety warts of C by default. (Emphasis on “by default”, because memory safe subsets of C++ are perfectly workable.)
excuse me!I glitched ty
The quote is not about a Lisp programmer finding the shortest way to solve a problem.

It is a quote from a psychopath who tells other people "take that hill" and then lights up a cigar in the officer's club and brags how brave and smart he was.
An an Oaklander, I strongly recommend Oakland over SF for the qualities you list.

The weather is also better and the murder rate is way down :)
I agree, a well-read book can really make it. A bad reader not only makes a good book boring, it also works conversely. For example, Ready Player One was a mediocre movie, an alright book, and the audio book was really great (i.e. I also enjoyed the story itself much more because of the telling).

If you just want to read books without the effort of reading, and have "audio books" be cheap, text to speech is totally there. You'll miss some intonation, but modern speech engines are beyond understandable. If it would be just about understandability, try espeak (apt install espeak). An absolutely awful voice, but copy any decently sized text (maybe a pg essay) and listen to it. I find that after 30 seconds to a minute, I've adjusted enough to perfectly understand it, and after 4+ minutes I forget that I'm listening to the most horrendous voice known to mankind. And if you want to nerd out some more about our brain's capacity to understand speech and adapt to things that don't even resemble speech anymore, try whistling languages. I'm always amazed how understandable they can be.
https://en.wikipedia.org/wiki/GNU/Linux_naming_controversy
Isomorphic Fetching Library for React.js (TS, SSR, Suspense)
Have you checked your library? It's not perfect but ours has a digital app with a large selection of audiobooks, all for free. It has greatly reduced my need to buy audible books.
One 16-bit feature doesn't make a CPU where every other feature is 8-bit a 16-bit CPU.
>Don’t know if you realize this

Yes, it's what I was referring to. Trade will occur regardless of what happens. If factories run out of a fiat money, they'll offer to trade the factory outputs for worker labor. It's just that the people with the most performant money will survive the best.
> we cannot lookup a phone number on the internet with accuracy and ease

I wondered the same thing and just to speculate, here's my list of reasons on why phone number search is so awful:

- As far as I know, not a single cell phone carrier publishes a telephone directory (whether opt-in or opt-out). So there's no (public) data to index.

- Some landline carriers still publish telephone directories, but of course landlines are dying out. And I remember reading that 30-50% of landline subscribers choose to be unpublished or unlisted anyway. So that source of phone number data is drying up.

- Because international phone calls have become so cheap and caller ID is now easily spoofable, spam and scam calls have become huge. So no one wants their phone number to publicly accessible these days.

- In the early web years, there were legitimate phone directory websites who appeared to have collected their data from landline telephone directories and "city directories" (if anyone still remembers those things). But I guess they didn't find a good way to monetize the service, so the honest phone lookup sites died off.
Swift is a good but not great language considering when it came out.

One good thing about it is that it lets iOS apps run as well as Java/Kotlin apps in ~60% the memory. I'm sure the layers of legacy Android APIs also contribute to this.

The other good thing is that it's close enough to Kotlin to switch between iOS/Android without as much friction.
I can't say I've ever had trouble with wearing noise cancelling headphones. I wear a pair every weekday for about an hour or so while I walk outside (my walking path is right next to a highway and the constant sound of cars zooming by makes it very difficult for me to relax), although admittedly they're a much cheaper pair than Bose.

Ear fatigue itself is something I'm intimately acquainted with, however. I have a couple of daily cans I use around the house, all over-ear, and pretty much none of them can stay on for more than an hour or two without causing my ears some level of discomfort. I don't know how anyone can stand on-ear headphones--those are agony after just 15 minutes or so. Maybe I have large ears.
UCLA, CSU Quarantine 200 After Possible Measles Exposure
The inception bar: a new phishing method
In my FAANG experience, the people with deep technical expertise can simply say "no" to most of the corporate b.s. The environment you are in now may be too distracting a place to build that expertise however. A startup or smaller engineering org may be a better fit.
I think the author is over exaggerating the problem of object creation and destruction in traditional gui frameworks. List/collection views are designed to reuse objects as you scroll. Secondly I think the author is also downplaying the fact that retained GUIs can also cache object rendering. Just as the gpu doesn't have to draw the whole screen when only the cursor is blinking, it also doesn't have to redraw widgets unless their size changes.

Immediate vs retained is a simple case of budgeting against cpu usage or memory usage, and it should be considered in that light. (immediate uses more processing, retained uses more memory)
The rationale is probably that smelling the air around a car is not trespass.
If you've not been previously exposed to stuff like Lagrangians and Hamiltonians, I'd suggest Taylor's Classical Mechanics text, which is quite friendly.
Not to defend the TIOBE index (claims to be a measure of popularity of programming languages) but if you go by the dictionary definition of popularity ("the state of being liked, enjoyed, accepted, or done by a large number of people") I don't doubt that Scratch is more popular than Lua, Scala, Kotlin or Rust. If I think about my friends and acquaintances, most of them certainly have never heard of any of those languages, but I'm sure almost all of their kids were exposed to Scratch at some point.
https://stackoverflow.com/questions/10828294/c-and-c-partial...

> The C and C++ standards guarantee that even if an integer array is located on automatic storage and if there are fewer initializers in a brace-enclosed list then the uninitialized elements must be initialized to 0.

It does work for zero-initialization.
We can think of a ML model that takes 1 second of sound as input and produces a vector of fixed length that describes this sound

You mean like an autoencoder?

Ok, assuming we have those sequences (F1, F2, F10, etc), how would you combine them to train the model?
He is pretty clear that once they located the market he continued to inject too many of his own ideas not directly based on customer or prospect needs into the development queue, slowing progress on the core features needed and giving competitors a chance to out-execute and ultimately out-innovate his team.

These may be obvious mistakes in some ways but it's important to note that having a lot of ideas during the exploration phase helps you discover the market. It can be difficult to realize that the practices that got you onto a successful trajectory need to change if you want to be able build on your success.
Doesn't every major GNU tool have a clean-room implementation in BSD? Or I guess it would be more correct to say that BSD and GNU are both clean-room implementations of the original UNIX tools. Just thinking of the oft-posted, "Why GNU grep is fast" article.[0]

[0]https://lists.freebsd.org/pipermail/freebsd-current/2010-Aug...
The Heavily Armed Millennials of Instagram
So what's the approximate cost of recording an audio book then? Is it a lot more than preparing the text for print? How much does distribution cost compared to the paper version? My uneducated guess is that the profit margin on audio books are much higher than paperbacks, maybe hardbacks as well.
> That's not middling, that's ridiculously overpowered for almost anything embedded.

well you obviously have a different idea of embedded. Sure, there are different requirements for different systems, but in IoT, my previous company shipped tens of thousands of devices (fleet monitoring, smart sensor networks etc) and everyhing was based on STM32 L & F series, Cortex M0, M3 & M4.
Now, in automotive we have MPC57xx.

> Re-implementing this stuff isn't just a minor drag, it's commercial insanity

absolutely agree. if there will be an adoption it will be incredibly slow. Logical but extremely frustrating.
Out of curiosity, when you log into slack/discord in the morning, do you scroll back through the log to see if there are any unanswered questions that you can answer?
Genuine question - does this not highlight a problem with the language on some level?