skysight-inc/HackerNews huggingface dataset:
I think it's unfortunate the first/often only exposure people get to FP is a build-up-from-the-foundations approach that emphasizes recursion so much, I think it leaves most students with a poor understanding of why functional paradigms and practices are practical and useful.

I've written primarily in a functional language (OCaml) for a long time now, and it's very rare I write a recursive function. Definitely less than once a month.

In most domains, almost every high-level programming task involves operating on a collection. In the same way that you generally don't do that with a while loop in an imperative language, you generally don't do it with recursion in a functional one, because it's an overly-powerful and overly-clunky tool for the problem.

For me the real key to starting to be comfortable and productive working in a functional language was realizing that they do actually all have for-each loops all over the place: the "fold" function.

(Although actually it turns out you don't end up writing "fold"s all that often either, because most functional languages have lots of helper functions for common cases--map, filter, partition, etc. If you're solving a simpler problem, the simpler tool is more concise and easier to think about.)
Title is incorrect, this is not a 'patent' case, it is a 'copyright' case.
Ebooks Are Not Social
Well, the idiotic, counter-productive ‘open office’ trend doesn’t give most of us much choice - listen to music (productivity impairing or not) or listen to coworkers (productivity killing) inane pointless chatter.
Genetics also show that India’s caste system, previously thought to have developed under colonial rule, was in place thousands of years earlier.

“Colonial rule” means British rule presumably. I always assumed the caste system long pre-dated it, considering how entrenched it seems to be.
The Scientific Paper Is Obsolete. Here's What's Next
No I'm talking about private NPM right. The perms on the file system are not equal to (or as costly as) the auth I need to have to access my private NPM repo.
Wish they could up their CPU & Thread count for Vega consumer solutions, and provide something like Intel with KVMGT. Would be awesome to run Linux with an open source VM for Windows/Mac with full GPU support.
Ladder of abstraction and Functional Programming

[1] http://worrydream.com/LadderOfAbstraction/
[2] https://en.wikibooks.org/wiki/Computer_Programming/Functiona...
Different governments do different parts of that well. If there was any government that did it all perfectly we would be saying "we should do things like X" not describing policy in the abstract.
I have three metrics of success:
1. How much positive impact you've made. This is up to you, whether it's feeding your family or changing the world.
2. How happy you are.
3. What enriching experiences you've had.

Money and "work life balance" is a just a mix of these three options. E.g. you don't want to be running a business making millions a day if you're stuck in a room, divorced with no vacations. Some things like automated stock trading will make you decent money, but it scores poorly on social impact, so I'd avoid those.

Happiness is important too. As far as I'm concerned, if you are going to be unhappy for 20 years to retire a little earlier, that's pretty bad. There are jobs out there which are difficult and hard work, like farming and consulting, but if they truly bring you happiness, you should factor them in plans.

One example for the third is that I once had 2 months straight of work - it was traveling the whole country teaching programming, driving hundreds of kilometers per week. Not too well paid, but I got to visit all kinds of people and it was a fun road trip. It would fail all kinds of metrices like "work life balance" and "money", but I'd pay to do it again.

My own career goals do not include retirement, but yours may. I prefer not to be in upper management either. Again, these are all sliders which you have to define yourself.

The other thing to look for is a compound effect.

Everything massive in life is compounded. The simplest one most people understand is compound interest. It's better to have money earlier than later. Slow and compound is better than fast and one shot.

With work it's not so clear. You'll want things that can lead to better things.

Let's consider two options:
1. Running a franchise or gas station - $100,000 a month
2. Consulting gig - $80,000 a year

Let's say Option 1 still forces you to work 30 hours a week, doing management stuff, and the only way to stop is to sell the company, which may not be possible. It pays very well and you could probably buy anything you want. But you won't meet a lot of people who are interesting. You'd be too tied up to work on fun projects.

Option 2 isn't so good at a glance, but it exposes you to more options. You might end up an early stage employee in a good startup. You might be able to work with both Google and Huawei, or even some secret police stuff. Your experiences in those new roles could open up further roles.

Option 2 compounds, in that if you take this opportunity, you are likely to unlock more than 1 opportunity.

Option 1 doesn't compound. It is effectively a career dead end, and the option of selling the company is a step down from it. You might be able to open more gas stations, but why bother doubling your work hours, when you already have more income than you need?
If you feel like you're having allergic episodes when drinking, you may have some sinus issues lurking!
It seems to be a nice introduction to numpy, pandas, and matplotlib
I've heard (but I don't have a link right now) that legalization of marijuana has already drastically reduced the amount of marijuana being brought into the country, so I expect further legalization to increase this effect. Marijuana is one of, if not the most lucrative drugs for traffickers.

I don't think rehab will have nearly as big of an effect as legalization/regulation. We should be looking for safer alternatives to more dangerous, often abused drugs. For examine, "magic mushrooms" are generally safer than other psychedelics, and LSD can be relatively safely used under supervision (and has potential for medical uses as well), so we should be considering those for legalization as well once marijuana is legalized.

It's far easier to control a problem if you control distribution than if you don't. Attacking it from a rehab angle doesn't solve the biggest problem with drugs: trafficking. Legalization solves that aspect, and taxes on drugs could fund rehab, so it's a win win situation.

Therefore, I want drug legalization as the primary focus for curbing drug-related violence specifically, and violent crime generally, since I believe it will have the largest positive effect for zero cost (in fact, it should be a net win).
> now I'm working as a machine learning engineer at a household-name tech company.

Was it something you were doing before too or did you pickup machine learning on your break?

How hard was it to explain gap in ur resume and did you lose any opportunities because of that gap.

thank you. I am going through a job loss currently, so just curious.
.com is taken :(

https://www.godaddy.com/domainsearch/find?checkAvail=1&tmske...
It does have some resemblance to katakana. The first character at least looks very similar to メ.
And the former funds the latter. If we legalize popular drugs and make legal immigration easier, we end much of the flow of guns, as well as the reasons to use them.
Ask HN: Side Hustle to Full Time?
Has anyone here transitioned a side hustle to a full time job after the side hustle was already making close to their full time job? If so do you have any tips on what helped you manage your time? And did you have to worry about competitors seeing success of the product and overtake you if they decided to devote full time to it from the beginning?

I am working on software / internet side hustles outside my day job as a software engineer in the hopes that one will eventually hit. I have some family and financial responsibilities that make me very averse to quitting a stable paycheck with no significant traction on the side project.

Were you able to do this without taking investor/vc money? I imagine a VC would want me to work full time from the beginning which would be understandable if they're putting in money. From what I've read, it seems like a lot of people that do take VC money are able to take a minimal paycheck since they are usually younger and have minimal outside responsibilities.

Thanks for any help.
I wonder how much easier/cheaper this would be with modern technology/parts (archive.org shows that the link to this project on the overview page already existed in 2008, which is their first capture, and the PCB style looks quite old).
Unit tests also tend to have fewer dependencies and are therefore more portable and robust.

If your integration tests can be reasonably be set up with a couple containers, great, but not every system is that flexible. And not every data store is that simple to provision.
I'm willing to bet that a major upcoming security disaster is a compromised password manager that leaks out tens of millions of accounts and passwords in nicely structured XML that's perfect for automated attacks and frauds.

Yes, I use a password manager too, but an ancient one that has no Internet connection, no syncing, and no cloud storage.

The only "modern" password manager I've been able to find that works completely offline and is open source is KeePass -- so long as you don't install any of its plugins that open it up to Internet access.
not sure why you were downvoted, this is exactly why they mentioned purity.
Athletes and entertainers being paid insane amounts isn’t as new as you might think, although fashions do wax and wane.

https://en.m.wikipedia.org/wiki/Gaius_Appuleius_Diocles

Gaius Appuleius Diocles was born in approximately 104 A.D in Lamecum... Diocles is believed to have started racing at the age of 18 in Ilerda... Records show that he won 1,462 out of the 4,257 four-horse races he competed in and was placed in an additional 1,438 races (mostly finishing in second place). The ‘champion of charioteers’ is one of the best-documented ancient athletes, most likely because he was such a star at the famous Roman Circus Maximus. [1] Being the best in the field also seems to have allowed Diocles to perfect his showmanship. Many of his victories took the form of a ‘come from behind’ crossing of the finish line at the last possible moment. The crowds loved it. Any race with Diocles quickly became the ‘featured event’ of the day. This naturally helped Diocles make even more money. His winnings reportedly totaled 35,863,120 sesterces, equivalent to 358,631.20 gold aureus or 2,600 kg of gold, allegedly, over $15 billion in today’s dollars, an amount which could provide a year's supply of grain to the entire city of Rome, or pay the Roman army at its height for a fifth of a year. Classics professor Peter Struck describes him as "the best paid athlete of all time".
> Orbs have a domain-specific language (DSL) defined in YAML syntax that expresses the semantics of our build configuration.

Am I the only one who finds YAML to be difficult to reason about? I find that if the config is that complex, JSON or XML to be much easier to deal with. I think of TOML as the best balance between ease of use and expressiveness.

These ORBs sound similar to docker images, I’m surprised they didn’t offer a comparison, like “why not docker?”, or did I miss it?
Can you expound on why?
Care to enlighten those of us who are not?
learn to ski in colorado.
Do you work at a molten salt energy storage company? What's the industry landscape there like? Like still primarily R&D, or is it mostly about production now.
Wow. I remember this key too. It's amazing how far we've come from those days..just think, each open chrome tab takes up as much memory as your entire machine had back then.
Quite confusing indeed:

Rec<Recv<String, Var<Z>>>
Maybe you could call them out on Twitter? Or maybe in the future you could submit most of the bug but hold back something critical until they acknowledge it?
Why do you think javadoc is better than docstrings? There are docstring-based languages that encourage good practice and can produce what I regard as excellent integrated docs. E.g., Julia's Documenter:

https://juliadocs.github.io/Documenter.jl/stable/
Elon Musk and Nasa Discuss SpaceX Dragon 2 Launch Success
Location: Bellingham, MA (halfway between Providence, RI and Boston, MA)

Remote: Willing

Willing to relocate: No

Technologies: Python, Java, PHP/SQL

Resume: www.linkedin.com/in/hannah-sieber-011ba1154

Email: hannahaway@gmail.com

Looking for a role as Junior Software Developer. While I may not seem like your typical applicant (when you see my resume), email me and give me the chance to explain why I'm the right fit for your team.

- Hannah
of course we are all mutts, we all evolved from bacteria. the question is the relative purity. "is the race pure from this period to this period" is what people mean when they mention purity. When a jew chooses a mate, they are only concerned if their mate has pure jewish ancestry from the last 2000 years.
Oh, you’re totally right - that’s what I get for responding too quickly. Thanks for the correction.
https://en.m.wikipedia.org/wiki/Bopomofo

Wikipedia says it was created under the Beiyang Government so no. Also bopomofo is an alphabet (seperate characters for consonants and vowels) where as katakana/hiragana are syllabaries

However all three systems are derived from regular Chinese script. Hiragana is derived from cursive Chinese script, Katakana from radicals used as shorthand for certain characters, and Bopomofo from archaic forms of modern characters.
It’s an interesting question and it’s a function of the dynamics of the time. Steve Jobs probably deserves a fair bit of credit.
Force. Literally I was forced to use it for some practical reason and then discovered it wasn't as bad as I'd thought.
My experience has been very much the opposite - integration tests are often very brittle, and finding the root cause is often almost a fools errand since stack traces are often no good for figuring out what went wrong, at least for web UI.

While yes, unit tests do have a maintenance burden, they are often reproducible, less flaky, give you targeted debug information, and run extremely fast.

There are heavy costs to integration and e2e testing that often gets dismissed by developers who often have not experienced the fast feedback loop a good fat unit suite gives you.
Tone deaf indeed. It seems common for people not to ascribe a full measure of humanity to humans from the (distant enough) past. Thought exercise: are there any large-scale population replacements happening today, and how do people feel about that? Surely not a kumbaya feeling I'd bet.
I think there's a big difference between opinion-driven censorship and legal-driven.
Part of me wants Wednesdays off. I get pretty unproductive by Thursday because I want a break, and if I only worked two days at a time, I feel I'd get more done. In fact, I've been working as a contractor recently, and I've been more productive with a 6 hour workday than I was with an 8 hour work day, and I often take a break midweek.

But yes, everything is negotiable, provided you do it on front. I tried to negotiate working from home after working at a company for years and got denied, but we have a few remote workers who negotiated it up-front. Likewise, my coworker negotiated more vacation days (he paid for it with lower salary), but that wouldn't have happened if he didn't make the deal up front.

IMO, the only advice needed for this is to decide what you want before taking a job and make it a condition of employment before you start; it's better to know up front whether the company will grant it, and it's better for them to know you want it as well. In fact, if you want a change in your benefits/work hours, you're more likely to get it (IMO) by looking for a new job than by negotiating with your current employer because for some reason new hires are valued more highly than retention.
Was lurking profiles of the Taiwanese crowd on HN. How is it to work as a Software engineer in Kaoshuing?
I think that's mostly applicable within one city. And perhaps against not very lawyered up counterparts.

For mega-infrastructure projects like there powergrids or the California highspeed railroad, eminent domain might be like bringing a knife to a tank fight.
It's a rebuke of the false trope of the purity of racial ancestry which has persisted in many human societies for centuries, occasionally manifesting in the form of events like the Holocaust.

Because that trope has sadly persisted to this day in some quarters, it's falsehood needs to be continually exposed, especially by sciences such as biological anthropology, which were once used to promulgate it.
Making mistakes is a crucial part of learning.
All that (may) be true in theory. In practice, absolutely nothing keeps you from sharing MP3s with friends so long as it’s not with your 10,000 closest friends and I’m not sure how seriously the publishers even care about that any longer given the rise of streaming.
That is pretty much the case everywhere. We better focus our attention on those parts of our countries and see what is wrong with them, rather than generalizing over the whole country.
California HSR was a bad idea from the outset, and it failed for the reason people said it would fail. That failure only reinforces why “we can’t have nice things” in the US (our governments are incompetent).
Yes, many cubesats need attitude control to point solar panels at the sun. This is usually done entirely in software. By the time you know there is a problem, your spacecraft is probably dead. You probably only have 60-90 minutes of battery life.
I used TiddlyWiki for awhile, and it will always have a place in my heart. But it just wasn't portable enough for me.
Am I the only one who kind of hates the "notebook" format?

Don't get me wrong, the general concept is great. Shareable, interactive code snippets are awesome. But for a demo article like this I want a single python file that I can run and immediately see the results. I don't want to have to spin up a jupyter or pylab instance (I've never used pylab so not sure if it works the same EDIT: pylab is analogous to matplotlib, not jupyter. lesson learned). I just want to run the damn code.

On a bit of a tangent here but I also hate the way Jupyter makes git diffs absolutely unusable.

Now, the above being said, the fact that sites like Github have native Jupyter functionality is awesome. It'd be a lot less painful if they'd (the author) have linked to a repo that we (I) could run.

--

For example, first I copied the initial code snippet that defines the xkcdify function. Then I ran it with python3, and realized it needed python 2 due to the urllib2 dependency (this is not a big deal since the article is from 2012). Then I ran it again with python2, and realized I don't have numpy/scipy etc installed for python2, so I pip installed those. Then I copied in the following code snippet that generates the plot. I then ran it again, and it still didn't work. Finally after a brief google search, I realized I needed to put pylab.show() at the end since I didn't have the %pylab inline or whatever that command is since I'm running it with "pure python".

Honestly, it really wasn't _that_ much effort, but I vastly would prefer to have a demo like this given as a single python file, with the dependencies clearly specified in the blog post.
Is it normal for grids to be segregated? I assumed the whole of North America was one grid, Even Europe & Asia I assumed it was all connected. Now after reading this I'm not sure.
I remember to have memorized a couple of Windows serials, the reason that the Windows serial was used as a password by thousands of users might be related that some people didn't understood that they needed a new password and just typed the serial thinking that was the required one, or to non-English speakers, they could have misunderstood what was required.
My guess is that this uses public key cryptography. Generating a signature is rather expensive. We found this out the hard way a few years ago, when we tried to verify OAuth tokens using RSA rather than HMAC.

The server was hammered at maybe 500 signatures a second, greatly slowing down token generation.

I'm guessing they dropped to Rust so they could use native C libraries for signature generation.
幹你娘. Motherfucker, (lit. "fuck your mom")
The Air Force Wants to Give You Its Credit Card
It comes from China, was developed in the republican era. It's based on a shorthand modification of seal script - though Japan was very influential on the elite of China at that time so it's possible Katakana played some role.

https://en.wikipedia.org/wiki/Seal_script
Consider that "compile-time memory safety" is still a reasonable concept, despite the fact that ptrace() means that anybody could technically read and write arbitrary bits in your process. Or that rowhammer could cause memory-safety-violating bit flips.

It's the same idea here. Obviously nothing can stop, say, faulty network hardware from causing protocol violations. But that doesn't stop us from meaningfully saying that, under the correct set of assumptions, protocol violations are statically prevented at compile time.
I just want to point out to those who are excited about confirming their preconceived bias that MBAs don’t matter: according to this result, MBA CEOs outperformed non MBA CEOs by 0.04% per month. That’s quite a bit of alpha.

EDIT: yes, the individual means are not statistically significant but given the large effect

a) where is the p-value
b) there is no statistical significance reported of the difference between MBA and non-MBA performance, only of individual means
Also from the prologue,

"Although the WAM is a distillation of a long line of experience in Prolog implementation, it is by no means the only possible point to consider in the design space. For example, whereas the WAM adopts “structure copying” to represent Prolog terms, the “structure sharing” representation used in the Marseille and DEC-10 implementations still has much to recommend it."
https://kentcdodds.com/blog/write-tests

Write tests. Not too many. Mostly integration.
I've never formally studied it. My pet subject is CS tbh. It's just a lens I found one day, picked it up and started inspecting things through it, found it useful, pocketed it and moved on. Comes in handy a lot along with several others I've collected over the years.
In a statically typed language with decent tooling, you'd just tell it to rename all references of Dog to Animal everywhere, and it will do that reliably. That's one other advantage of static typing - fearless name refactoring, which makes in that much easier to clearly express intent of the code even as it changes.
Review Coinbase on Secrate.io Regarding DeleteCoinbase
I have a very high opinion of Julia's dynamic type system. Some static type systems are not very expressive, e.g., Elm, which encourages hacky workarounds. Julia's type system encourages specificity, which exposes problems early.
You're one in 7.5 million!
Interestingly, we have 3 in North America: East, West and Texas.

https://en.m.wikipedia.org/wiki/Texas_Interconnection
On the flip side, a team of developers who aren't even interested in adding anything of their own volition is also a bad sign.

There has to be a balance.
General hardware. I used to do all my work on dedicated hardware with support for Lisp (CADRs, 36xxs, D-machines, and before that PDP-10s) because those general purpose machines couldn't implement important features like generational garbage collection without specific hardware assist.

Then one day in 84/85 I saw a generational GC using the MMU on a 68K and the light dawned.

Thus while I'm pretty interested in ML chipsets, I figure the necessary portion of functionality will ultimately end up subsumed in the generic chips and most if not all those ML hardware startups will go bust.
XNU: Copy-on-write behavior bypass via mount of user-owned filesystem image