skysight-inc/HackerNews huggingface dataset:
Small explanation for people not introduced to signals theory:
Fourier transform is the decomposition of an arbitrary signal into many sinusoids, such that their sum gives a signal identical to the starting one. Each of these sinusoids can be represented using Euler's formula as e^(i * omega * t). You can see that the exponent is purely imaginary.

There is a generalization of this transform (i.e. this transform is a particular case of a more general one): what if instead of a purely imaginary exponent we use a generic complex value a+ib?
Then e^((a+ib) * t) = e^(a * t)e^(ib * t): the new term that appears is a real-valued exponential, so exponential curves can also be used describe the starting signal!

However, making a discrete-time, sample-based algorithm of this transform is tricky, and the corresponding inverse transform (the "sum" of the components to get the starting signal back) didn't exist before
I had to scroll through all the comments to find this to understand why the comments don't match the article. I think you should have left it, now it's very confusing.
I understand where you're coming from, and I've made many a shallow criticism from a place of frustration, but please understand that thats what this is.

The lack of an implements is not just a matter of "less syntax fever!" but one that facilitates other language design choices: in particular static compile time duck-typing. Among the "everybody knows or knows-about" class of languages this is pretty fresh. You can go back and forth on the point of this (or the value of the trade-offs) but it's pretty key to Go's flavor. As a Java geek, I'm pretty familiar with the way you'd prefer and I like it quite a bit too, but once I'd tried it, I've really missed Go's flavor more than a handful of times.

Static duck-typing has some great downstream ecosystem effects. For one, it really facilitates smaller, tight interfaces. If my code uses a type A from another package B, and A has 20 functions that in my code only uses 3 of, I can create an interface on my end with just the 3. Then any testing or any alternative implementations apply only to the minimal interface. If that alternative implementation is by another author, it can interop with my code without importing type A package B. Obviously you don't need this all the time but it's killer when you do.
For a small fee, you can become a digital Estonian
Looking at the guidelines, many of the posts I replied to are breaking these rules, yet haven't been flagged.
You totally could!

The individual tasks are not inherently difficult or challenging. It's something I'm frequently trying to explain to people, and a big part of why I started showing my programming sessions on YouTube: to demystify "OS development" as a concept.

The actual challenge is staying consistent and persistent, day in and day out, for a long period of time :)
Seriously...? I last worked with Perl in college (more than a decade ago) and thats perfectly understandable to me. There is nothing un-readable about that code as long as you understand Perl conventions. The more important part regarding code quality was whether that piece of code was encapsulated into an independent function or a snippet of a wall of text.

You should see C++ Templates! Even the idiomatic examples in cppreference.com will blow up your head and require multiple re-reads.
I’ve heard this a few times - that racket (or any lisp, closure(script) aside) plays well with the web - but have never seen much to back it up.

Could you point me in the direction of any good resources, libraries, or communities to dig in further?
But this is an event for Chinese migrants, not even American Chinese.
See the Directed Graph Shell (dgsh), which does allow multiple streams across commands. https://www.spinellis.gr/sw/dgsh/
Ruby is also quite slow. The last benchmarks I saw makes it pretty clear Raku has closed the gap with Ruby (at least the mainline C implementation of Ruby) on a lot of fronts, and is likely to be faster for many things in another year or two and the VM gets better at optimization. My google fu isn't up to finding those benchmark results now, but it's no secret that Ruby is pretty sluggish compared to Perl 5.
I don't think people using monadic concurrency in haskell or ocaml will agree with this.
The rules are big tech companies are not allowed to compete with nation states. New currencies would supplant those of nation states and reduce their power, hence the pushback.

Facebook is the last company I’d want to see dominate the coming global corporate currencies. They are unscrupulous, dishonest to the core, and willing to cheat partners and customers alike to get what they want.

IMO banks rather than currencies will be the first area tech companies can push into, then payment networks, then eventually currencies as nation states wither away.

There are some tech companies competing with banks and payment networks already, with some success, particularly in the UK. It will take a while for them to supplant traditional banks but I see it as inevitable and, for the reasons you point out, not too difficult, as the incumbents are sclerotic and unable to grasp the importance of software.
I feel similarly to Gene Kim about Racket. Here's a comparison ...

Gene Kim's Clojure example:

; input is JSON string: "{foo: 2}"

(defn xform [s]
(-> (js/JSON.parse s)
js->clj
(update "foo" + 2)
clj->js
js/JSON.stringify))

Racket equivalent:

#lang racket

(require threading json)

; input is (xform "{\"foo\" : 2 }")

(define (xform s)
(~> s
string->jsexpr
(hash-update 'foo (λ (x) (+ 2 x)))
jsexpr->string))
Why is that relevant? According to the article:

> September 26 was an unforgettable day for many Chinese migrant tech workers in Silicon Valley, as hundreds of them gathered on a blazing hot day at Facebook’s "Thumbs up" sign at the entrance to the social network company’s Menlo Park, CA, headquarters, to hold a vigil for a Facebook employee who took his own life after allegedly bullied in the company and suffering extremely excessive work pressure.

Chinese migrant workers do not typically observe the traditions of the western world, for the very good reason that they don't come from the western world.

Even the coverage is obviously being done by foreigners:

> After weeks of interviewing sources within the company, including employees who had worked in the same and overlapping internal groups with Mr. Chen and possess of first hand information on his tragedy

> This investigation found out that as Facebook grew to its scale of today, its management still wish to maintain the company’s image as a fast-paced startup with high growth.

> Facebook's Ads department, the most profitable unit of the tech giant, where Mr. Chen worked, is under a circumstance more complicated than other businesses, products and departments within the company.

> Eric, a senior staff of the company whose wanted his full name to be omitted for privacy reasons
Hi, just curious if there had been any requests for a E-Ink display? I understand the limitations with refresh rates, burning etc. and that the use cases are limited to document reading; but considering this is a DIY/Modular laptop I wonder whether offering an optional E-Ink display crossed your mind.

P.S I browse HN on my Kindle Oasis and found your site to be rendered very well on it. Most minimalist sites does work very well on an E-Ink display.
If a camel strikes you it is indeed not sophisticated.
It's amazing that the Dunedin Study is still producing results like this. I wonder why longitudinal studies are not more common now, given that these 900 people have been such a deep source of knowledge.
We can't in principal encode it as a numeric copy; it's not measurable. Position or momentum.

The mind isnt a closed system unless it's drawn as lightcurves.
Because it's easy to devops-manage it. Your docker image is built by ci during automated tests and that image is versioned and immutable from that point. It'll appear the same on staging enviornments and production environments. It's easy to deploy it on multiple hosts/clusters, manage upgrades/downgrades etc. Involving docker during development in most cases just adds friction without any benefits. There are cases where you need to work in development with docker, but those are very rare.
This is a good summary. I just wanted to add that it can be easier even than that. I look after this sort of thing sometimes. I would normally have USD, GBP, EUR accounts at my local bank. Any money from abroad can be wired directly in to those accounts. If I want to trade between currencies I can then do it through my bank, which can cost me '20 pips', which means on a GBPUSD deal I pay 0.0020 over spot atm (trading around $4m a year. YMMV). This is at the click of a button, or a phone call. But I can do other convenient things through the same platform to hedge risk. I can hedge, for instance I can agree to buy sterling sell dollars at $100k a month for the next year at agreed rates to protect a contract from fx risk. I can swap currency with the bank for a few days for even more trivial fees, swaps are useful when you have too much of the one currency this week, but need it back to pay a supplier next week, or indeed if your forward contracts are arriving and you are not ready for them yet.

In summary I agree, it is not hard in NA or EMEA to send intentional funds
That is a long term phenomena - long enough that evolution by natural selection can operate. Nothing to do with less than a thousand years/a few dozen generations.
I believe the issue was that Perl 6 had too many changes that made it hard to convert apps from earlier version.

That created some kind of limbo where people weren't sure if they should use perl 5 or perl 6 (”why develop in perl 5, when it is probably a dead end and perl 6 is the future” and at the same time "why should I convert to perl 6, what if it will be a failure and I wasted my time?")

By renaming it, it revives Perl 5 so developent can continue, and at the same time Perl 6 is presented as a new language, now whichever wins will be based on its merit.
You're not alone.

It's one of my favourite movies, however it deviates quite a bit from the books. Still good :)

I can see why other might not like it though.
What do you think is the best way to handle checked exceptions?

This comes up all the time on HN and I've personally landed on preferring Java's checked/unchecked system from anything else I've seen. I get that sometimes you should handle your errors in the small, like Go's errors or Rust's Maybe (or Try?) styles might prefer, but I hate not having any exceptions options to "let things crash".
Tea Time Numerical Analysis (2016)
Beautiful design for a Moon habitat
No, but there are solutions that involve giving people a fixed amount of money every month for these small expenses (or a fixed amount per day for longer business trips).
That’s basically any front-end framework though.
The birth ratio tends towards near 1:1 though it is not 1:1, the population gender ratio can be heavily skewed by different death rates, as can reproductive patterns.

i.e. did you know that genetic analyses have revealed that ancestrally, only 40% of men managed to reproduce, while 80% of women did? Maybe more relevant to what we're actually discussing.
They did add mouse support in iOS 13. Unless you mean something more than they added?

https://www.imore.com/how-use-mouse-or-trackpad-your-iphone-...
> is godels incompleteness theorem disprovable

Do you actually understand its proof? On what basis would it be disproven? It's really difficult for me to even conceive of what disproving it would even "mean" - you seem to think that it's somehow tied to whether the universe is deterministic, but it's not. A "disproof" would essentially break the very logical tools used to construct itself (since it is the nature of these that Godel's theorem concerns); it's like trying to drive further north than the north pole - there simply isn't a conceptual direction to go unless you completely redefine the meaning of "north".

Edit: Also, Laplace's demon has likely been formally proven to be impossible: https://phys.org/news/2018-05-proof-reveals-fundamental-limi... Perhaps your apparent belief in Laplace's Demon combined with the comparison of this proof to Godel's Theorem is your motivation to suggest that it can be disproven?
Comparing Ingress Controllers for Kubernetes
TLDR: not an apology
Perl gets a lot of flak, I am no fan of it, but frankly the least readable language IMO is bash.
Is the Intercom an Ear of a Spy?
A use Mail.app but to be fair. Search in mail.google.com is much faster than in Mail.app (when you have thousands of mails)
I have a tattoo that says Fear is the mind killer because of Dune. But I'm a huge scifi fan and consider stuff like Revelation Space much better than any star wars or treks.
How can I get Karma on my account
To register other app. I need one more Karma.
Oh yeah, the story about the "detailled notes" in a box ... I wouldn't believe any of this.

The prequels are basically Star Wars books set in the Dune universe.
Oh no my 401k retirement fund isn’t going to last that long
Show HN: All New Password Doctor Extension
This. Demand for drugs was, and I imagine will always be huge.
The publication itself also seems freely accessible:

https://www.nature.com/articles/s41598-019-50234-9.pdf
does your browser support forms?

i,m working on ultra compatible web forum system and curious if it would work...

even without form support, it is possible...

would you be interested in trying?

your objectives for the user study would be to read, vote, and comment.

link is in my profile. tia
"Fear is the mindkiller" may be super memorable, but the end of the litany (paraphrased): "I will let it pass through me and over me and when it is gone I will look where has been and there only I will remain" - well, applies to just about anything with great success.
Ask HN: What do you think about Joker movie?
I loved the aesthetics and half of the cast (Paul, Leto, Duncan, Lady Jessica), hated the rest.
Great service, I advice you to take a look on your page from an iPad, about the whole left half of the landing page's top area is out of the viewport by default.
How are you getting tower access for your relay sites? Is it donated by ham clubs?
Apple told some Apple TV+ show developers not to anger China
Rust's Result<T, E> and similar options in other languages are by far my favorite, especially with the `?` operator and pattern matching to go along with them.

Rust and golang do both also contain a `panic` that allows you to just "let things crash". But by being separate from the standard methods of error handling, they tend to be used in actual exceptional circumstances.

I'm not a fan of exceptions in general, but a system that had exclusively checked exceptions, but didn't require such verbosity would be nice. Perhaps an annotation that says a method can throw, and any method without that annotation cannot throw?
"Folks outside of the sci-fi bubble" rarely appdeciate much about non-monetary impacts of space. But discovering life - even alien life - would really shake up many big religions, which tend to assume we're special, unique creations. I'm sure religions would eventually evolve to accomodate the discovery in their belief systems, but it would get noticed by regular Joes and Janes.
IO in Haskell (and presumably Lwt in OCaml, though I'm less familiar with it) doesn't have much to do with fibers.

An IO value is just something that the Haskell runtime is able to invoke somehow. Haskell functions can not directly run IO values (ignoring unsafePerformIO). A fairly elegant implementation would probably simply make IO values be asynchronous operations (procedures that take an "on complete" callback that receives the result)—again, since there's no way for a Haskell function to actually run the operation, all it can do is return such an operation to the runtime to be called.
Conversely you can't say x != a until you've proven x = b or c, d, e. Which is GP's point if I understood correctly.
Yes, I'm saying that definition may very likely be challenged once we actually start discovering extraterrestrial entities.
Just as a datapoint - Wework‘s largest competitor IWG has 4x as many locations, makes 3 billion $ revenue and $150 million profit. Not really where a tech company would want to be.
Its market cap is at around 4 billion.
What is different for Wework that would warrant a higher valuation other than the clout of its founder and, arguably, much nicer offices?
Hello there. The Serenity Browser does not support forms yet. It also does not support HTTPS. It barely supports anything other than parsing well-formed HTML and CSS, and doing some basic CSS2.1-ish layout. It's far too soon to be testing compatibility with anything :)
Does anyone know how best to deal with views with sqlalchemy in Python? Looks like a good approach!
Slow clap. Well said.
They've long addressed all of that. There are helpful x-pack tags on the documentation for features that aren't in the OSS release. Check here for example on the documentation page for index life cycle management: https://www.elastic.co/guide/en/elasticsearch/reference/curr...

The pricing model for their platinum features is indeed opaque (as in most small companies can't afford this, and you'd have to talk to a sales rep to find out). Those features are also clearly marked. X-pack features are free to use. Also, if you try to use these features without the proper license key, it won't work for obvious reasons. There's zero risk of using this accidentally without first agreeing to some license.

As for the repo, if you bother to open: https://github.com/elastic/elasticsearch/blob/master/LICENSE..., it spells it out in 10 lines of text. They've iterated on this a bit but this was always the place where they clearly outlined what is what.

Also, each single source file includes details on how it is licensed. There's zero chance of a developer not seeing that if they are preparing some code patch. This is intentional; it's not optional to document stuff like this if you are serious about enforcing your copyright; which of course they are.

Sysadmins pulling elasticsearch from a linux distro repo of course happens. Presumably they'd be getting an OSS build and not bundle proprietary components because they tend to care about not shipping proprietary code. If you go to the Elastic download pages, there are convenient links to both.
who would you collect from if you wagered against, and how would you take it with you?
I assume by "spreading" you mean that the Pikachus can reproduce?

Can they mutate? If so, then they satisfy all four boxes and they count as life.

If the Pikachus are made of cells, they'll certainly mutate/vary, since their heritable material is DNA, which is quite fragile.

Really, it's hard to imagine having "reproduction" without "mutation" in the imperfect physical world where errors are possible— I can't imagine any copying process, even a technological one, which succeeds with perfect fidelity and 100% probability. So if you have #1, #3 is basically going to be a given, because the universe is imperfect.

I don't think "what material they're made of" matters much, except that by definition flesh has to be alive, since it's made of things (cells) that tick all four boxes.

If the Pikachus don't reproduce themselves, and/or are created with perfect fidelity every time, then yes, I would call them technology and not life. We certainly wouldn't say that iPads (Pikachus) coming from a factory ("mother creature") are alive.
I wonder what the true benefits and drawbacks are... and not just the marketing speak.
This is a strange comparison. ClojureScript looks bad here because it's using the native platform interop rather than a wrapped library, but the ability to easily drop down and interact with the host is one of the best parts of Clojure.
«a lost password or a hacked computer could permanently eat away your money»

If it happens less than 0.5% of the time, then you are losing more money in fees with your forex broker.

Also don't forget the massive cashflow advantage of dealing in crypto only. Minutes to send crypto vs 24-48h + weekends/holiday delays incurred by your broker wires. That's especially true of businesses who transact with their partners/suppliers/contractors in crypto so they even avoid the fiat<>crypto conversion step.

«any legal recourse»

There is always legal recourse. Plenty of crypto thieves have been, are being, and will be prosecuted.
Show HN: Bel
Generally speaking, in this context "non-trivial" means more than $10,000 - $15,000 at once. 10 is where various paper-trail requirements start to kick in (at least in the United States) and things start to get a little more complicated.
But if the CLR comes back positive, doesn’t that still mean there’s room for “it could be some unknown nonbiological process”. Wouldn’t saying with certainty that there is life on mars need somerthing like a microscopic image of cells dividing?
"What do such machines really do? They increase the number of things we can do without thinking. Things we do without thinking — there's the real danger."
- Leto II (in God-Emperor of Dune)
You mean like the eur, usd, aud, nzd, gbp, jpy? That sort of stable and reliable currency with a strong banking infrastructure?
Monadic code can be polymorphically async-or-not in a safe way rather than just making all your yield points invisible.
Wow. You, uh, missed, well... a lot. Just on one note, the entire aspect that the prophecies Paul steps into were literally fabricated as sort of sleeper memes for later use? Like, of course that's cringe worthy, of course it reeks of foreign savior complexes, _it was built to be that_.

The next three books get increasingly philosophical and many people don't like them, but I very much do.
Ok Bill, for 4 hours a day you're going to work on this non-commercial academic open github repo and push your things in there and then the next 4 hours you're going to pull it into our for-profit solution where you will take things further. remember if you think of anything that will really be of benefit to the company don't do it until the second 4 hour slot!
Boeing removes CEO as chairman amid 737 Max crisis
We are interviewing Dr. Joan Baker, a curator of Paleoprogramming Institute, about the recently discovered trove of ancient project management documents.

Dr. Baker, in your opinion, why would a primitive community, mainly concerned with building computer applications almost entirely by hand and under the constant threat of global warming, allow somebody to spend so much time detailing what exactly work will be done, when it will be done, and then also detailing how many hours it actually took?

We can only speculate, but we believe it is a relationship to things unseen, the vital forces of nature, that you need to perhaps propitiate, perhaps connect to, in order to ensure your successful life.
This is quite amusing in the context of the article. 'Rationality' a word which is entirely without meaning, riding on the wave of supposed European 'enlightenment', is little more than first order logic with all it's fundamental assumptions being b based, either on European secularism or Christianity.

The suppression of thought comes about not because of the lack of 'rationality' but from the lack of agreement on fundamental dogmas. For instance how are going to argue with a Christian or Islamic fundamentalist for whom the very existence of others is a prickly aspect; this being served entirely from the scripture ?
Since when is it claimed Rust is beautiful? It's one of the most ugly newer languages
Yep, I believe that indie/boutique hardware that gives you some independence from the big corporate gardens will be an important thing.
Performance matters in web applications, but that is almost never determined by the speed of execution of the web framework programming language. The performance bottlenecks are almost always in the database and/or the architecture.

It's also very easy to scale horizontally the execution of the web code. That's why, for most web software, programmer productivity is more important than raw language performance