skysight-inc/HackerNews huggingface dataset:
Quite a few. I've been a full time self employed consultant for 3 years now. Yes, I'm being cute -- but the distinction between customers and recruiters who trick me into answering the phone by spoofing my area code is irrelevant to where I draw my lines. I like the internal consistency in my handling of either situation.
Ask HN: Who invented Base58 Encoding - Flickr or Bitcoin?
A commonly held view is that Satoshi Nakamoto invented Base58 encoding for Bitcoin: https://en.wikipedia.org/wiki/Base58

However, a Flickr discussion about Base58 encoded URLs exists from April 2009: https://www.flickr.com/groups/api/discuss/72157616713786392/

Did Flickr deploy their Base58 encoded URLs before the Bitcoin white paper was published on Oct 31, 2008?
> For in-fix expressions shunting yard algorithm is significantly more clear

If it was significantly more clear, people would use it in practice! This makes me think it is not in fact significantly more clear.

I did research work in parsers, and I work professionally in compilers now, and guess what when I need a parser for in-fix expressions I just write a recursive descent one manually, it's never an issue.
I can tell you quite reliably when it is 2:30PM without looking at my watch. That's nap time.
Move to a new time zone and that 'natural' 5am-12 would shift to match that time zone. So, it's really not about biology it's about how you set up your environment.

That said, as long as it's working for you great! Just don't assume it's impossible to change if it's causing you problems.
Beware of your next glibc upgrade
yeah! if you have a library that does it, you could inspect when a message is created and call the library when the message is rendered.

PRs are welcome :)
The facts are spread throughout the article, so this might help:

* Prior replication studies replicated 39% of papers in psychology journals [Ed note: That doesn't mean the other 61% were complete failures; most just didn't produce results as statistically strong as the originals IIRC] and 61% in economics journals.

* This replication study greatly increased the number of participants in some experiments, and for two papers, that changed the replication results from failure to success. Overall 62% of the studies were replicated successfully.

* One researcher "points out that the project repeated only one experiment from each paper, and in his case, it wasn’t the strongest or the most important."
I haven't read the whole thing, but, I gotta say, seeing the "Ugliness" section (http://stevelosh.com/blog/2018/08/a-road-to-common-lisp/#ugl...) in the preamble gives me high hope for this writeup. It's so lovely to see writing on Lisp that isn't just hagiography.
> The idea that it would just spark an inflationary spiral, OTOH, something that needs some support.

Fair point. My assumption is that any political movement that institutes UBI in the first place would add automatic indexing to CPI either in the initial bill or soon after the first inflationary surge. Even if (miraculously) resisted at the federal level, the pressure to automatically index in urban areas would be overwhelming and even a few major cities with local indexing laws would still spark the inflationary spiral.
This is a fantastic description. As smart, analytic thinkers it is so easy to generalise. My experience is that we should generalise when we are creating conceptual designs, but be very lean and specific in the implementation.
Nice! I think doing this is a great learning experience. I think I understand how to write a basic compiler but I am completely stumped by writing an optimizer. How do you model that?
You're way overstating how often PhD's switch over to industry. You make it sound like it's 100% when it's definitely not. Also, it's perfectly reasonable for a tech company that wants state-of-the-art, cutting-edge AI to hire PhD's and not people with master's or less.
If they integrated Clang, then they could use Clang to compile code to WebAssembly, which can be executed by iOS's Javascript engine and pre-processed by wasm-metering[0] to set execution op limits so infinite loops can be recovered from.

[0] https://github.com/ewasm/wasm-metering
Does anybody know why they won't just copy kqueue? kqueue seems to be a very good interface to me. It can batch multiple events and operations in a single syscall. It supports many types of events, not just file descriptor readiness changes. Lots of people are already familiar with it and there is already code out there to take advantage of it.
Not really. The point is that in research we want to generate and further knowledge. This is distinct from generating and documenting facts. If you don't link into the web of knowledge there is (implicitly: leave that task up to the reader) you are just documenting facts.

This is not academic. What did reading this Master thesis teach me? That two approaches perform reasonably (by what standard?) with a size trade-off. That's an excellent start but also leaves open many questions: Why these two approaches? Are there reasons to expect they are better suited than other approaches in the literature? Were these results expected? Can I expect them to generalize? Do they paint a coherent picture on the performance of different designs in various contexts or are they surprising?

A lot of this is about generality of the knowledge gained. As a mere fact ("Two implementations of two algorithms that solve one problem perform slightly differently") it's not very interesting unless I have that exact specific problem myself. If I do, I would still need to find the paper. But if it is linked into a wider web of knowledge ("In paper [X] it was found that this algorithm performs well on tasks that have something in common with our problem, paper [Y] and [Z] suggest that we should expect a trade off for small sizes. Generally nothing is known about what should be algorithms well suited to the problem at hand.") it allows me to reason about situations.
Not sure about the cancellation token bit. Last time I’ve used Rx my experience was that you could never know whether disposing a subscription would cancel the underlying process or not. Many times I wanted the opposite behaviour to what the original author had implemented. Not to mention cases where I wanted to keep a process alive as long as there’s at least one subscriber, but cancel it when there’s none left...

Maybe things have changed since then (2016-2017) with regards to cancellation; but I’m off the Rx train for a while.
It's not people who get up early and brag about it that are the problem. It's people who brag about useless stuff that are the problem.

It's the same with people who go to bed really late as if it's some kind of achievement. Or people who sleep less. Or people who sleep more.

All of these things are simply facts about your life. They don't make you any more virtuous, interesting, blah blah blah, than the next person.
Long-term inability to work is also not healthy. Obviously the parent commenter does not want to have to use these drugs as they are, but they are making a difficult choice based on the circumstances of their brain and our society. I wish they could find work that allowed them to be as healthy and productive as possible.
If a company can go bust just because a lead developer gave a bad estimate(not uncommon) there is something else deeply wrong at that company.
a "modest lifestyle" is one of the most likely ways to continue to be financially secure.
Huh. They do[0]. I stand corrected.

I wonder why they don't also support it for the client[1]? It can't possibly be for security if they have a workaround. I guess for whatever the same reason is that they invented their own slightly messed up version of Markdown instead of using the same format as 99% of the entire web. :/

I dunno. Glad that there's a workaround though, and that it's officially supported.

[0]: https://api.slack.com/docs/message-formatting#linking_to_url...

[1]: https://get.slack.help/hc/en-us/articles/204399343-Sharing-l...
19 Cold Emailing Myths That You Should Never Follow
We had one SSD die in production, but it was on a system whose write load was enormous... like 50-60mb/sec sustained for over one year.
Not.

My research trove exceeds 10k items. I don't have a $100/item, or even source, budget.
I believe a big part of the problem is that the old larks, and with them their belief about lark superiority, simply don't retire as they used to, thus keeping young people and fresh ideas from moving up the "chain of command".

Being a hard night owl myself, I'm happy to work at a place with flexible hours, but then again most of my company is <40-50 years of age. People in BigCos often aren't as lucky and to make it worse "office politics" with the competitiveness associated there (and mentioned in the article) effectively kill off any motivation to chsnge.
Show HN: Build Your Apps with Open Source Low-Code Platform
Except for the evident marijuana exception.
Except no, because rhetorically they are using the 62% figure as a good sign, rather than a bound on how bad things are.
Judge allows temporary ban on 3D-printed gun files to continue
Surely this will eventually lead to a Soda Bubble
Did you consider Oberon?
>What am I missing?

You are missing money...

SRAM and wider data paths are expensive.

You are totally right about that taking more logic into synchronous domain domain is an almost universal solution to getting more performance. The faster the chips become, the more IO gap becomes.

Experienced MCU programmers know quite a number of algorithms that may run faster on "dumb" 100mhz MCUs than on a 20-cored Xeon, and are proud to show them off.

Even when some of MCU cores may take like 6 cycles to do an arithmetic op, their strong side is that it will be taking them these 6 cycles to do that all and every time consistently, and that their memory runs synchronously.

Say, in a 1000000 cycle loop, where every operation results in cache miss, Xeon will spend more time on a loop than a wimpy 100Mhz MCU that simply don't take any penalty on unpredictable, heavy on synchronous ops cope.

Apple A11 is so fast for an ARM just because they choose the simplest, the surest, most direct, but also the most expensive way to scale performance: tons of SRAM and prefetch logic everywhere to reduce IO gap as much as possible.
Yes, the article notes that, "The United States used a barge-based reactor to generate electricity for the Panama Canal Zone from 1968 until 1976, and Westinghouse, the American reactor builder, planned — but never built — two floating plants off the New Jersey coast at around that time"

1968! The interesting story is why the NYT's is running this and running with it now [not trying to be tin-hat, maybe it was just a slow news day, but you can find links posted on HN going back almost 5 years about this project]
It actually gets interesting. You can use any slack webhook on discord by creating a standard webhook on Discord and adding `/slack` at the end. It also works for GitHub with `/github`.

TMYK
Google started this in 2012. Search has slowly gone down in quality. The older the content the more likely it will be ignored
Some SSDs go into read-only mode when they have used up their endurance but others will let you keep writing.
As much as I dislike having to play the game, late-in-late-out people can benefit by saving some email replies until the tail end of their workday...it always feels gross to me to do it intentionally, but I've found it'll often placate the types of busybodies who conflate arrival time with productivity.
That would be added to management
"Early to bed and early to rise makes a man healthy, wealthy, and wise."

The virtue of getting up early dates from the days when everybody was a farmer. Farmers who got a head start on the work that needed to be done even befode the sun came up outfarmed late risers.

These days it is considered a mark of professionalism and respect for the job to show up for work on time or early, at 8 AM or before.
I agree about table-driven LR and the like (LALR, LLR, SLR, etc) which were the "traditional YACC" generated parsers, but precedence climbing is just a simple refactoring of recursive descent that eliminates needing multiple almost-the-same functions for each precedence level. This is most applicable to languages like C which have many levels, which could be why it isn't so common for others.
This comment breaks the site guidelines, which ask:
"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

If you would please review https://news.ycombinator.com/newsguidelines.html and follow the rules when posting here, we'd appreciate it.
It is significantly more clear if you only parse infix expressions which is why it is used for many introductory "lets write a calculator" examples.

In context of more complex language with small set of infix operators and their precedence classes it is probably not worthwhile unless you really want user-defined operators.
But is not perfectly reasonable use of language, if you consider that the language as written there is for humans to read and understand, not for machines to expand acronyms and be confused about semantical errors?

But sure, what you describe has a name, RAS syndrome.

https://en.wikipedia.org/wiki/RAS_syndrome
It's missing the forest for the trees.
Ask HN: What websites do you check each morning?
I usually come to work 15-20 mins early and start by bringing up 7 or so tabs in my browser. I'll browse for 10mins or so save any longer article I'm interested in for later.

What websites do you check every day?
And they issue a DELETE command to their cluster as soon as you delete your account or message, so it's gone as soon as you want it to? (GDPR strikes again!)
For PowerShell, there is PSReadLine, and that has an option to make completion more bash-like in that it completes common prefixes, then lists all options afterwards.

(Say you have a directory with two subdirectories "fooabc" and "foo123". You are in the directory and you type "cd f" and then hit tab. This will complete to "cd foo", and if you hit tab again, then it will show the two options, and then you have to enter "a" or "1" to disambiguate.)
You said,

> …you can either sell it for $50 and only be down $50 on your electricity, or you can not sell it at all and be down $100 on your electricity.

This is what I disagree with.
Nah: http://usingapple.com/2011/06/funny-organizational-chart-for...
Think of Thikonov regularization. Or the LASSO. The basic idea is to start with a prior that the world is uninteresting and let the evidence try to prove otherwise.
I haven't checked the App/Play stores for Tetris-like games, so I'm sure that my suggestion to override the volume button as the rotate button in Tetris is probably old-hat. If it's not, then perhaps this is the key (excuse the pun) to providing it to the mobile world. Note, that the touch screen would be required to move the blocks left-right and accelerate down.
Memory Industry for Dummies
Something like this (it has helped me): https://www.amazon.com/gp/product/B00HD0ELFA
Support and cultivation are orthogonal to the goal of maintaining a competitive edge. Ultimately, it means you're running a different kind of enterprise.

Which would be great and all, but there's less money in those sorts of things so the market can't support as many of them.
I've done it before, those are a lot of fun too.
I'm not a scientist, nor am I familiar with statistics. I could imagine this being troubling for a scientist or someone familiar with the field. But for a non-scientist it's fairly devastating if you consider the implications.

What it means is that if I trust a study - any study (from my perspective) - I'm essentially flipping a coin. If non-scientist citizens can't rely on what is coming out of the field, then it seems like a massive problem that needs solving before any other.
How about "My brand new image recognition architecture performs extremely well on benchmarks"

But it's worse than the last 100 SOTA models...
We're talking about a blur animation though. It's not a fixed unit of work. The way to get the best battery is to render a cheaper blur that still looks fine.
Right? I was going to say, all this shifting schedule stuff is great, but kids don't care about your schedule.
Finding Babel fish: A translator in your ear
iPhone X  – My Wish List
Douglas Self is the author of some really excellent books on audio electronics. Especially "Small Signal Audio Design" (https://www.amazon.com/Small-Signal-Audio-Design-Douglas/dp/...).
The Mysterious Fall of the Nacirema [pdf]
I may have spotted a bug. I am choosing Warsaw Chopin Airport (WAW) as a departure, but it shows results from WMI too :/
I can't tell if you are serious, joking, or new to the Internet.
You'll note they wrote the FTC, not the FCC, because they know the point of view of majority of FCC board.
But changing the behavior suddenly can make existing applications outright not function. That results in angry customers. A prompt is a decent compromise. Example prompt: "This website has altered the web address of the Back button. This can be risky. Do you want to use the application's version of the web address, or the original address? [Altered address, Original address, Cancel 'Back', More-info]"
On the desktop (Windows, macOS, and Linux) they use Electron. For Android it's written in Java (Native), and for iOS it's written in React Native.
Yes, I'm very confused -- I don't have to do anything to "turn on" autocomplete, it's already turned on! The things they talk about change the behavior.
I shifted to being an early riser around 30. All it really took was for me to move into a place with unobstructed east-facing windows. Within a matter of months I was waking up at sunrise and bedtime had shifted from 2am to 10pm without any effort on my part.

Honestly, the only difference in my day to day has been when I do stuff. I'm still sleeping the exact same amount. I'm not more/less rested or alert during the day. I just do the same stuff in the morning that I'd have done in the evening previously.

The only benefit is that I no longer use an alarm. Work has flex hours and I don't have to be in until 10am, so I just wake up whenever I wake up and don't worry about it because there's plenty of time.
Thanks for this guide, I'll keep referring to it often.

My current road to Common Lisp is working through Peter Norvig's book Paradigms of Artificial Intelligence Programming [0]. It's not a direct route to the kind of programming most people do nowadays, but I hope to at least get a taste of what it was to be a researcher in classical AI.

[0] https://github.com/norvig/paip-lisp
That's interesting, to me it seemed the other way round - it was good for Oracle to be responsible for their runtime. The integration was always a really terrible fit and without it, Oracle could ship current versions of Java. The Apple/Java thing was just a bad idea with a long lifetime and somewhat sluggish death.
Extreme Athleticism Is the New Midlife Crisis
GPU Price Overview Newegg / Amazon
India’s angry young men and its lynch mob crisis
That last bit is obviously not true, and please don't post polarizing comments on divisive comments, a.k.a. flamebait.

https://news.ycombinator.com/newsguidelines.html
OK Bash: remove objects, recursively, starting at the root directory. Oh, and don't preserve root. Yes, just do it. Thank you!
I’m almost Dean’s age. My undergrad project was evolving NN with genetic algorithms. AI was popular, but funding died abruptly soon after.
One of the reasons we go smaller is to decrease worst case signalling delays between components.

When do we start using optical interconnects?
My apologies, I apparently glossed over that item in your requirements list.
Why thank you! I've received enough social validation for my writing recently that I'm making a token effort to start publishing things on my website in my profile. If you have a moment maybe check out my first entry! If access logs were where NearlyFreeSpeech said they'd be, your visit would be the fuel to keep me publishing.

Since they aren't, fantasizing about all the traffic I must be getting is enough.
I do something similar. Every day at breakfast I skim over:

0 Google News

1 TheVerge

2 TechCrunch

3 Twitter

4 r/bapcsales

5 MarketWatch

6 dilbert
The bash that comes with macOS is very old due to Apple sticking to GPLv2 I believe. So I did "brew install bash" and switched my login shell from /bin/bash to /usr/local/bin/bash and now I can use new bash things.

Just a thought.
> Cafe goers tasted the cookies and provided feedback via a survey. Survey results were aggregated and the results were sent back to Vizier.

This, from the paper, is a great start on measuring deliciousness. But if you go to that effort, why not provide a benchmark? Such as the existing chocolate chip cookie recipe or the average scores from 10 random chocolate chip cookie recipes?

As a reader, I might suspect that performance was not that great compared to baselines but that the authors were able to mask it by making this qualitative claim ("the cookies were delicious") -- which I'm sure was still true!
No sane govt will allow a foreign power to literally be able to shutdown one of their cities on a whim.

Western Europe is already critically dependent on Russian gas pipelines, so this would be no biggie. Russia needs the foreign currency desperately so it won’t act lightly.
Flash memory is different from a regular drive, and it's to do with how it writes. You can't alter a single bit, you must rewrite the whole block and those can be anywhere from 256KB to 4MB or more. http://codecapsule.com/2014/02/12/coding-for-ssds-part-2-arc...

Adding new bits is cheap, though, so if you can come up with an append-only strategy for your system and periodically combine those into a new, pristine version you'll get far more life out of your SSD than if you go around randomly flipping bits. Is Redis using memory-mapped files the problem here? Treating a file like memory is all fine and good until your random bit-flipping has to be directly persisted.

I wonder if future SSD firmware implementations will avoid wear by having a small buffer reserved for little post-write patches that can absorb a few small changes before having to commit to rebuilding the whole block.

There's talk of "annealing" as a way of restoring cells to full life: https://www.extremetech.com/computing/142096-self-healing-se...

Has anyone tried reflowing a worn out drive?
What myth?

I wrote "a lot of its capabilities are much more relevant for large servers"

Which is true. Very large scale, integrated volume management, tiered storage, etc. There are a lot of features on ZFS that either aren't relevant at all or are relevant to a vanishingly small percentage of MacOS users.

You're right that ZFS has some nice data integrity features. Apple apparently didn't think those were a sufficiently big deal as a practical matter to offset the other issues.