skysight-inc/HackerNews huggingface dataset:
Anura: How to build a Key-Value Store in 3 days
How are you guys?

I wanted to share some excitement around a project I started three days ago: Anura is a KeyValue Store written in Scala based on LSM-Tree Algorithm, which I am writing to sharpen my database design skills.

You can find it at https://github.com/DanielMorales9/Anura.

It's a simple implementation but it's unbelievable fast already.
I was astonished by how fast it can be to build such a complex information system as a Database.

Some of the coolest features already supported:

- AVL-Tree implementation of MemTable

- Gzip Compression of SSTables' blocks

- Bloom-Filter for fast Key lookup

- Naive SSTables Compaction Algorithm

I have great plans already:

- Master-slave replication

- Multi-threaded

- Red-Black-Tree implementation of MemTable

- Write-Append-Log for fault-recovery

- Levelled Compaction

- Size-tiered Compaction

- LRU Cache

- Benchmarks

- Profiling

- And much more...

I look forward to your comments and thoughts.

Thank you for your attention <3 :D
I wonder if you really like it, or have the Tesla/Jeep psychology where you have high customer satisfaction, but on paper, the quality is poor.

Apple is best in class in marketing.
For black CEOs in Silicon Valley, humiliation is a part of doing business
> Alcohol

I've found that I almost can't program anything sensible after even very small amounts of alcohol, even half a beer or 25ml of vodka is enough. It's either alcohol or programming for me. I don't drink too often, but when I do, even after large amounts I don't have hangover and I remember having memory loss only once.
> I do some light VST development with JUCE and have tested out my synth on my iPad Pro, worked a charm.

I mean, of course a single VST works like a charm, single VSTs already worked fine on 500 mhz CPUs with win98-era computers and Cubase VST. The question is how many tracks with synth + 20 filters behind can you layer before having to freeze things.
> The program I teach started in response to the Dalai Lama's desire to inject science into the training of Buddhist monastics. ... we talk cosmology.

> The monks and nuns eagerly absorb the latest research I present—dark energy, the multiverse, the big bang as a quantum event. Their questions are simple but profound.
I think the biggest challenge in terms of a sustained presence on Mars is not the engineering [or scientific] challenge, but the human [and] personal one,"

Politics/location aside, that seems to imply that if you come out of lockdown self-isolation without going crazy, you may well be suited to live in an environment like that.
Cool, but the Tu-95 now carries missiles like the Kh-55 with a range of 1600 miles while the Arrow was expected to have a range of 360 nmi. The Bear could have dropped its missiles and been long gone before the Arrow got anywhere close to it, never mind that the Sparrow II never worked.
RAM as disk cache is only useful for things you have already loaded. It doesn't help your boot times, new program launches, or loading new content in your program.

I'm not saying SBCs are "unusable" for desktop use cases, I'm saying I/O is the likely explanation for desktop responsiveness issues they encounter on SBCs.
Show HN: Short mobile LeetCode-like challenges in game-like app with leaderboard
How is having a choice a worst experience? Can you even use Firefox on iOS? I don't know how Apple gets away with so much... maybe because of all the politicians that they are legally allowed to buy?
> Third, the PC market is in the midst of its long decline. Is it really worth all of the effort and upheaval to move to a new architecture for a product that is fading in importance?

Yeah this is just an Apple journalist bubble belief that doesn't really reflect the real world in any way and is starting to get tiring.

We keep hearing from them how iPad Pro is a computer and how it's so much more powerful than a real laptop yet we still never see it do anything more than tweeting, writing articles, extremely basic video editing and a painting app.

Yet I look around every workplace and its still just a sea of laptops doing incredibly varied work across multiple applications and systems most of which still just isn't possible on iPads.
What are the chances TSMC announced the plans to build a fab in Arizona because Apple wants to say their chips are produced in the USA?

https://www.tsmc.com/tsmcdotcom/PRListingNewsAction.do?actio...
Probably fine if you can manage to slow down and not hoon.
That entire comment would be improved by deleting the pointless "Surely" at the beginning?
> In my personal opinion using assumed names puts you over the line.

Yep, I'm totally with you that using assumed names puts you over the line. In my corner of the world she would probably have been fine legally in that regard with a bunch of shell corporations, but it still seems shady.

> If fraud becomes a big enough risk it will get priced in.
Identity fraud aside, the claims themselves aren't necessarily fraudulent though (my rationale: https://news.ycombinator.com/item?id=23529963). Whether they're fraudulent or not, a single malicious actor likely pales in comparison to the large number of people legitimately purchasing insurance for these kinds of flights. That risk _is_ already priced in, and low-risk flights necessarily have higher fees than they need in order to offset these kinds of losses (no matter whether they stem from poor models, fixed pricing, or something else).
those are benchmarks, but to restate my comment I'd really like to see that hold up in actual real-world use cases
> Covid has been curtailed mainly with extremely expensive lockdowns.

Citation needed. We don't know conclusively what curtailed it in places where it has been curtailed, since there were many different control approaches occurring at the same time.

There are also several countries where lockdown effectively ended weeks or months ago, and spread is not occurring despite a lack of widespread use of these apps, not to mention a variety of approaches to lockdown itself with no obvious correlation between strictness of the approach and mortality/infection stats.
I'm not sure if any of those are really a result of the 30% charge. Or any of those are even real.

The worst experience I've had on Android is a free guitar tuner had ads, I uninstalled and moved on.
It's very unlikely that they pass on savings to people by coming up with a cheap ARM laptop, after all their whole thing is gouging people with unrealistic prices for the hardware and huge margins on everything.

That said, if a laptop rolls around that doubles the 10 hour battery life on existing configurations - they'll scoop up a ton of users regardless whether it can run Windows or not.

I don't know how doable that would be, but the iPad Pro has a 28 watt hour battery, the MBP 13 has a 59 watt hour battery, a theoretical Macbook without a discrete GPU and a smaller motherboard footprint of an A13 chip, leaving space for a bigger battery and providing about the same performance could possibly hit 20 hours of battery in about the same space.
Stackshare doesn't let me browse many pages without logging in, Pinterest style :(
I checked some random tools, the content is a bit...thin.

Overall a good resource, I just wish they had deeper content
In my opinion, your comment contains far more insight than the original article.
I know enough people who've ended up with long-term illnesses that have put them out of work… and sure, their professional software engineering job provided them with healthcare for a number of months after the employment ended, but then… then they had almost nothing and in all but one case ended up bankrupt.
>Maybe, just maybe, someone should start a list with vendors that put out shitty software on their devices, never deliver firmware updates and have stupid exploits...

You might as well just list every vendor, the exceptions are rare and don't always last.
Libimobiledevice 1.3.0 Released
featuring for the first time libirecovery and idevicerestore.

The last 1.2.0 release was in 2015, many users like me were in anticipation of a new release, distributions were packaging from git in the past. Congratulations to the team, as this sustains iOS device support across platforms and also lets older devices be still useful.
What does the design team do?
Authentic Essay Writing Service
Authentic essays offers affordable essays, dissertations, research papers and article content for businesses and professionals at an affordable price
Perhaps we can get to the bottom of this. What are the consequences of being wrong in public on this issue?
Stuff like this is one area where Debian and other GNU/Linux distros are so valuable. The architecture doesn't matter much, and the flexible distros are poised to adapt well to this heterogeneous world.
Every large corporation has the concept of “Organizational Finance” and cost accounting where they charge internal departments and treat them like customers. Also, not all of Amazon retail’s infrastructure is hosted on AWS.

As an aside, I was listening to an interview by someone at GCP and they said that almost none of Google’s infrastructure is part of GCP besides some internal software.
I’m personally becoming frustrated by the “we draw the line at React hooks” idea - which I feel like I’m seeing repeated. Like that’s the point at which learning new concepts crosses over from useful exercise to useless extravagance.

So let me say something which is true, but totally against the spirit of this article: there should be 10x as many (!) tutorials about how to implement everything in React using hooks.

My reasoning is pretty simple. For a new learner, unless you have a compelling counter example needing classes, you should use hooks. That’s what you should start off learning and that should be your go-to.

But if you click away from this comment, right now, go to Google, and search for tutorials, despite this “best practice” advice, you’ll see an unholy mess of tutorials citing classes, with a few using hooks as though it’s some kind of new fangled, “out there” tech. I’m talking in the top 10 search results on Google’s front page. In 2020, long after the React team has introduced and explained them.

Look, it’s simple. Aside from their other advantages, hooks make it easier to learn React, with less boilerplate. As a result, it would be better if beginner tutorials were updated to use them. Most have not been.

But I see this complaint regularly, where hooks are trotted out as some kind of example of silly React maximalism. If you learned React then hooks are only going to take up like 2% of the total time budget you’ve already dedicated to learning the framework. It’s not hard, and it’s nothing like learning, say, Haskell. Using hooks to make cheap shots against overcomplicated JS frameworks is unfair, when they’re not overcomplicated and have a perfectly valid reason to exist.
The problem is that standardized tests worsen the gap between the privileged and not. Test performance correlates strongly with how much prep you receive. Wealthy, white & asian students have the advantage there.

Not to mention that I am not convinced these tests strongly correlate with one’s ability to successfully complete an undergrad degree.
Open-access journal deal inked by University of California and Springer Nature
It is not available in every country, though.
> The question is: Where is the energy stored in the meantime? Where does the extra energy, if the ship falls into a heavier planet, come from?

You can say it came from the fact that there existed a point in space with a lower gravitational potential than the one at the spaceship's point of departure.

Each point p in space is assigned a "gravitational potential" value V(p) measured in energy / mass. The function V(p) is determined by the distribution of mass in the space. A body of mass m moving from point a to point b will gain "gravitational potential energy" equal to (V(b) - V(a)) * m.

In your case, the spaceship moved from a higher to a lower gravitational potential, thus losing gravitational potential energy (and gaining kinetic energy).

Note that you are only interested in the differences of values of V at different points, so you can add or subtract any constant to the function V.
Who cares about those? Definitely not the new American left.
If you put as much effort into law as you have into software you would be a good lawyer and a terrible developer. It is a choice. Today your effort learning software pays better (with exceptions both ways) then law, but historically law has been good. I decline to speculate on if law will earn better than software in the future.

You can say the same for medicine, any other engineering field, farming, ditch digging, or any other job. Regardless of which you choose some love it and some it is just a job.
The Role of UX in Open Source Software (2019)
For better or for worse, the American model of working in the same paper mill/steel factory/automobile plant/coal mine that your father and grandfather worked at is over. Automation, commodification, and globalization means that the profit margins in these fields are in free-fall and the ability to have the sorts of wages that these professions used to have where workers could be paid sufficient to support their families on a single salary are long gone and they are not coming back.

The US should be focusing on decoupling the need to be able to survive (food, housing, healthcare) from holding a job instead of pushing for bringing back these jobs that are not likely to ever come back.
Why Is 1 World Trade Center Missing from Spider-Man?
I think you misunderstand me.

By telling Tails that the vulnerability will be patched in a future release without disclosing the details of the vulnerability, Tails has no way of knowing if this is actually true.

It’s easy to be a little skeptical when a company spends 6 figures to develop an exploit and then state publicly “we can verify that the issue will be patched in a future Tails release, but we’re not going to tell them or anyone else what the exploit was in the first place.”

If you wanted to keep using that exploit, or sell it, the easiest way to do so would be to tell Tails that it’s going to be fixed without actually giving them any details about it.
Yes, their JavaScript is checking whether you clicked an ad, clicked a DDG internal URL, etc.
That’s handy. CIA’s had problems with communists and Chinese and a bunch of other infiltrators since Wild Bill and his merry band of oppressed homosexuals.

Always suspect subversion. Innocent mistakes aren’t made at this level.
I know of Dexamethasone as an anti-emetic for chemotherapy. It doesn't treat cancer but treats one side-effect of chemotherapy. It seems to be so helpful such that it enables some forms of chemotherapy not possible before.

It seems weird to use a corticosteroid as an anti-emetic but I have seen with my own eyes that it is helpful.
> The point is to provide an exclusive and desirable brand name

Brand names are fundamentally based on merit, not by implementing some initiative that any school can do in a year. Harvard is Harvard and not some no-name college because of adherence of its incredibly selective hiring process over the years
Is being reclusive bad?
It's not a stretch to posit that Caltech is the most competitive university on the planet. Test scores were already a poor indicator for them, since their applicant pool is well outside the effective measurement range of standardized testing.
>This answers the "how", but not the "where

Potential energy is a property of a system rather than an actual physical thing. It's not energy an object has, it's energy an object potentially has relatively speaking. And it's relative to whatever you use as your reference point in your system.

>Since energy itself has mass

Energy doesn't have mass. It is equivalent to mass.
Analogy: Like looking at stock prices. As javascript developers, we see all the tiny changes every day and it can feel overwhelming. However, looking at with a long-term view, there are only a few major spikes and it seems to be nicely growing.
It was a nice computer, but it was essentially a netbook really. Browsing basic internet sites is about the limit of what it could manage, critically underpowered.

Even things like the Intercom web dashboard - a use-case you'd think a laptop like this would be ideal for with a customer support staff member - it simply couldn't manage comfortably. Though to be fair a high-spec £400 Chromebook couldn't comfortably run Intercom either...
There were alternatives to stored procedures for centralization. I remember RPC and CORBA being hot topics around that time. The tiered architecture was a thing before the Web.
If they're refugees from South Vietnam, they probably wish the US kept bombing so they didn't have to flee the communists.

Hell, if they were well off in South Vietnam before the communists came, it just goes to show that if your family had the mental foundations necessary for success, even if you hit rock bottom you still have the attitude to climb back up.
On the react bandwagon for almost 5 years now and haven’t regretted it a single day. Started using it because it allowed me to build d3-type data visualisations but with way more flexibility in terms of hierarchy and grouping of DOM elements in what for me felt like a very intuitive format of components and JSX. So I would say thrust your own judgement when considering which tools! Not all trends are pure hype, there might be something real behind it :)
I thought that name was familiar. It’s the miracle drug called “dex” and hyped in the Chris O’Donnell movie, Vertical Limit.

My bet is Vertical Limit is the next movie to trend (after Contagion): https://en.m.wikipedia.org/wiki/Vertical_Limit
Great questions/ideas!

To maybe nit-pick a bit to help out:

Space time is not 'consumed', it's just curved in 4-D. The Einstein Field Equations are a very good model of what we think is occurring.

Photons are massless, hence why they can travel at light-speed. Their energy is the thing to worry about when doing GR.
Precision genome editing enters the modern era
Possible fraud vectors around the German coronavirus app
still, I always preferred kate[0] (I still use it everyday, even on windows 10) and kdevelop[1] (it had type guessing for python since 2011![2])

[0] https://kate-editor.org/

[1] https://www.kdevelop.org/

[2] http://blog.svenbrauch.de/2011/09/09/kdev-python-argument-ty...
Dunno what to say, green-on-black terminals, clean code and fast typing do always manage to turn me on ;)
“I’m skeptical of a CPU change because of a bunch of things unrelated to CPU architectures”

Don’t forget Apple has done this twice already, and it’s the only company that has done this at this scale and succeeded. If there is a company in that can pull off a cpu architecture switch, it is Apple.
Looks like the runtime is inspired or copied from Node-RED. Hope you have attributed it somewhere..
There's also a clear line between specific knowledge ("I know for a fact Company X will cancel flights starting next week") and reasonable deduction ("many times it rained heavily they cancelled flights").

I get why the first one is unacceptable but the wording in their agreement fits the second one.
HN doesn't permit users to downvote replies to their comments, so you can be sure that wasn't me. Maybe it's obvious to you, but I'm not sure how one qualifies as an expert in the necessity (or not) of removing the word "master" from github branches. Would you please elaborate?
Maybe the confusion is deliberate.
I tried two queries: “audiobook” and “rust programming language”.

“audiobook” produced passable results.

“rust programming language” produced 100% garbage: in its 167 Tier1 matches (I didn’t look further) not one was in any way related to Rust or even to programming; and only a few were related to languages. From the titles, most matches were probably derived from the word “rust”, though not many past the first dozen or so were about rust in any way—it was more commonly “yeah, I can imagine that rust might be mentioned once in that article”. The rest I have no idea where they came from, I can’t see how any of the keywords would have matched.
The article does a good job explaining why a certain project might have a long compile time: dependencies.

But it fails to address how this compares to go or clang of gcc. It mentions those (they take 1/5th the time to compile a similar project), then goes off to explain how it was possible to shave over 75% off the compile time of Rust project, but not if that same trick would shave 75% off a similar go- or c project.

In other words: very good to show us, how, by choosing the correct dependencies compile time decreases. But that does not prove that the Rust compiler isn't slow.
It would probably be a little difficult. Outside of big cities / tourist attractions, I found few people that spoke decent English (thankfully I speak a passable amount of Chinese). The most widespread dialect is Mandarin, but you'll hear a lot of Hokkien and Hakka (for example, transit system announcements).

I found safety to be a non-issue the last time I was there. Taipei feels like any other big Asian city and even on smaller side streets I didn't feel unsafe. In smaller towns and such, I also wasn't nervous.
That's still about 5 million users. Looks huge to me. Well, maybe that's tiny from some perspective.
The Epic Games that gives free distribution when you use their other product, UE4? The Epic Games that buys exclusives away from other markets by pushing a boatload of money into some games, money they got from a third product: Fortnite.

Sounds they will do great as a phone app distributor.
Is that the fault of the frameworks for existing? That's like saying we'd be better off if we didn't have so many programming languages.
>"final" solution.

WTF is up with this Nazi reference?
Interesting. I'm in my 50s, and I've found the Ballmer Peak to be a real thing for me ever since college. It's consistently been 2-3 beers. More than that brings a very steep dropoff in productivity, but I wonder if those 2-3 beers are de-egoing my programming. I suspect in my case they are.
There is no need to put profits in scare quotes. There are GAAP standards for publishing profits and anyone with an accounting background understands what profits mean.
All client-side development churns. Because it's hard, it runs on user devices in the field. And client development is not a solved problem. It's more a moving target of constant research because client devices aren't static either. It wasn't long ago that touch screens didn't even exist.

The whole Apple client-dev ecosystem is still in the process of changing to Swift, and Apple is trying to develop SwiftUI into a compelling layer alongside/atop {App,UI}Kit. It's not just a web/JS challenge.

Client dev is always changing.
Stand-UPS: Is it time to ditch the daily from 1993?
Why do you think this is a bad idea? Shouldn't it be a data based decision?
https://advances.sciencemag.org/content/5/1/eaat7550
Nikola Tesla and Isaac Newton were virgins as well. It might be argued that a certain level of unresolved frustration can be a driving force in technical pursuits...
> The point is, look at those numbers sans semiconductors and you see a pretty scary decline in manufacturing output.

Not at all: https://www.nam.org/state-manufacturing-data/2019-united-sta...

Semiconductor manufacturing is a component of the second-largest US manufacturing bucket in 2017, and was only #8 of the top 10 manufacturing buckets for job growth in 2018. It is certainly an important sector for economic and strategic reasons, but you are significantly overstating its importance.
Identity politics is a cancer. Glad Asians are starting to realize that they were simply the logical next target.
That can be very difficult. Increasingly, physicians employ a staff of PAs and/or nurse practitioners who handle cases. Those staff seem to move around more frequently than physicians, so even if I keep going to the same office, the staff may have almost entirely changed.