skysight-inc/HackerNews huggingface dataset:
> There will be a tighter coupling of programming frameworks and DBMSs such that all database interactions will be transparent (and optimal). Likewise, SQL (or some dialect of it) will remain the de facto language for interacting with a DBMS, but humans will never actually write SQL.

I've seen two disasters where someone mistakenly thought they could use an ORM to make a database look like a giant, in-memory data structure.

To make a long story short, in both cases, working with a trivial amount of data in an embedded database was painfully slow.

In general, I think we'll see application programming languages expose more semantics that streamline data access. The problem is we keep thinking the way to solve the impedance mismatch is to make the database look like traditional data structures; when the real solution requires languages that have the high degree of flexibility that a SQL database normally has.

For example: A table T might have columns Id, A, B, and C. We can "select Id, B from T". But, if I make a class to map to table T, I probably have fields Id, A, B, and C. Then, if I want to make a little utility function that just looks at Id and B, it's probably taking a full T object, with all of the fields loaded.

In such a case, the programming language needs to evolve. My function doesn't need a full T object, just an object of a class that we, semantically, know is a "T", but also has the fields that I care about. Then, we need enough automation within the compiler to know that, if I add a call to my new utility method, it has to change some code to "select Id, A from T" to "select Id, A, B from T", and leave other code unchanged.
I guess the difference here is that a decentralised order book on the block chain would be run by every node, which is why compute in the blockchain (gas) is quite expensive.
Wrestling is notorious for eating disorders, performance enhancing drug use, dehydration (via cutting water weight - sweatsuits specifically), etc.

But also has its own historical accusations of drug use, abuse, murder with its own documentary https://en.wikipedia.org/wiki/Foxcatcher

If we choose time periods closely enough, most sports are probably scandal free 5-15 years at a time.
Charles Woods was denied a pass to Kubecon on the basis of his podcasted support for attacks on women and black people in tech by Mr. Somnez. It had absolutely zero to do with MAGA hats.
Google does a really poor job of assessing page speed, especially for sites with a lot of client-side processing.

Why would they think shaming sites is a good idea?
I don't think simple here necessarily means simpler in backend implementation. I'll even argue that the implementation of a decentralized exchange on Ethereum is far more nontrivial than implementing a conventional order book exchange.

Uniswap is simple in the sense that for liquidity takers, the UI makes it feel like you're not trading, but rather that you're buying/selling coins at an offered price, with an assurance that the transaction will be canceled if it's not possible to fill the order without exceeding a certain amount of slippage. Almost like buying from a decentralized Coinbase. Yes, this is essentially just a market order, but you can have unrestrained slippage concerns in limit order books (especially in crypto where spoofing is commonplace), and beginners need to be taught about limit orders to avoid those pitfalls.

For intermediate traders and beyond, it's simply another exchange that can be used, but this paper does give validation that their pricing mechanism is competitive.
https://github.com/nopara73/ZeroLink/#ii-chaumian-coinjoin
Robinhood's “Infinite Leverage” Glitch Explained
I take it you have never been assaulted by an angry drunk before.
It’s hard to make the case that forcing something on a user makes for a good experience. But it might make it better for the company. An app can pester you to be used or be opened more by virtue of being on the device. It may also be able to get more of your data (no adblock).

Think of those websites that nag you to subscribe to their newsletter on your first visit. It’s unlikely you have ever seen anyone say they like that practice, yet it continues presumably because it works. Or think of how movie studios keep pumping out terrible sequels while making more money[1].

Forcing users to download an app is not a good user experience, but it’s not trying to be: it’s trying to be a good business decision.

[1]: https://youtu.be/OYirwDFKEX0
The same question still applies: "How'd you come to trust Amazon?"

Initially, you didn't trust Amazon. They earned your trust somehow, no?

The same with any other company.

I highly doubt Newegg is going to throw away their entire business and reputation just to screw you out of $100.

In fact, I'd wager they take your customer relationship more seriously because they are smaller than Amazon.

Meanwhile, as evidenced in this thread and others anytime Amazon comes up... Amazon seems perfectly willing to throw away their relationship with you over $100 of counterfeit goods.
I've generally found that when headphones aren't enough to dissuade people from talking to me, I start intently looking at my phone like I'm reading an important email. It works wonders even if the screen is off.
What cars is it compatible with? Does it have to go inside an already self-driving car? Or could it integrate say, with a 99 Toyota Camry? I would assume that the car its put on needs to have at a minimum electronic steering?
Apple has no such restriction even for iOS (HTML renderers).

However, you cannot technically implement a JavaScript JIT since they will not give you a security entitlement to create and execute arbitrary code. You would need to either leverage JavaScriptCore, or use a (drastically slower) interpreted mode for JavaScript.
The govmt hopefully has learned from the OPM breach [1]. Also, the USDS has a good track record and has already worked on multiple healthcare related projects [2]. They recently also revamped the VA claims system [3].

[1] https://en.wikipedia.org/wiki/Office_of_Personnel_Management...
[2] https://www.usds.gov/projects
[3] https://twitter.com/USDS/status/1192520880733208576
I agree the paper is very interesting

Is there a mistake in equation 3? shouldn't it read:

ER = integral (-inf, 0, p(h | ABS( Delta ), sigma ) dh ?

for positive Delta I agree, but with negative delta either the integral should run from 0 to +inf, or the absolute value of Delta should be taken?
The actual article http://openaccess.city.ac.uk/id/eprint/22401/3/Main%20Docume... seems to be an example of using jargon to obfuscate

> We show that energy gauges on portable technology (e.g. battery icons in phones) are
a key to energy hysteresis. Through “hermeneutic reflection” on the battery charge in
portable technology and information about accessibility of infrastructure outlets in the city,
consumers adapt practices (Bourdieu 1990a: 99) in order to ‘re-embed’ or ‘pin down’
infrastructure, technology and social relations (Giddens 2013:79). The aim of these practices
is to attain ‘psychological comfort’ in vulnerable circumstances (Giddens 2013: 155).
However, rather than a return to equilibrium as in Phipps and Ozanne’s (2017), single domain
context we see energy consumption through portable technology as leading to a system of
contingency planning that anticipates disequilibrium (see figure 1).
The irony is strong because brilliant engineers are the ones able to simplify problems and write simple, robust and easy to understand code. Whereas not so good engineers don't know how to manage complexity and write fragile code (and yes I'm guilty of that but trying to improve).
I'm worried that their definition of "high-quality experiences" will be the same one as typically used in UX on the web - i.e. how much money did the users ultimately made the site, and not whether they actually had a good time.
Show HN: Discover and Try Software Products in OneClick
All hyperbole aside, I am looking forward to seeing Blue Origin's offerings actually operational.

Having said that, my understanding is that BO has nothing even planned for full re-use. They are going for 1st stage re-use only, similar to what Falcon 9 is doing right now.

SpaceX Starship, which is well under development, and has had two very short test hops, is fully re-usable. Musk said that each Starship flight to orbit and back costs a TOTAL of $2m, including fuel and operational overhead. The currently expendable 2nd stage on Falcon 9 costs several times more than that, and Blue Origin's 2nd stage should be in the same cost category.
Overnight charging does not require a supercharger. That's for quick stops on long journeys. All people need on a daily basis in their apartment buildings are ~4kW outlets which in the 220V world is basically any outlet.

And mind you those cars charge at night, when people are not using as much electricity.

Tesla Model 3 has a range of 250 miles at 54kWh. Say you need a range of 50 miles every day. 50mi/250mi range * 54kWh = 10.8kWh per day. This can easily be charged overnight at ~3.5kW (220V * 16A) - will take a little over 3 hours.
> Something I think ICs often overlook is a focus on leverage and scale to drive big improvements.

Mind expanding on "leverage and scale" in this context?
Microsoft Ignite 2019, Windows security internals: Containers for the win
From my experience of living in a college town where there seems to be a new "luxury apartment" building being built every week, "luxury apartment" is code for overpriced crap aimed at young people who are spending mom and dad's money
Unambiguous? Maybe. Specific enough to execute as programs? not nearly so much. I mean, humans regularly misinterpret verbal commands, and we're effectively the best thing at understanding and language that exists in nature. Half of the disagreements on HN result from misinterpretation of very specific, rather unambiguous statements.
> Algorithms are a branch of math

Well, when viewed mathematically, sure.

> It is about figuring out how to achieve right big O.

That's hardly the whole story. I'd say the engineering work 'counts' as algorithm work, as much as the computer science.

If you're looking to publish in a top journal and prove how clever you are, an impressive time complexity is fantastic, even if the algorithm is completely impractical for real applications. Case in point at [0].

If you're looking at real-world performance, you don't especially care about time complexity, you care about, well, the real-world performance of your implementation. Maybe you'll improve time complexity too [1] (I suppose that counts as crossing from engineering to science), or maybe you'll just put in the engineering work without making breakthroughs in theoretical terms [2].

[0] https://en.wikipedia.org/wiki/Coppersmith%E2%80%93Winograd_a...

[1] https://en.wikipedia.org/wiki/Timsort

[2] https://news.ycombinator.com/item?id=21459839
> write a program that numbers the lines in a text file

Ah, simple :)

cat file | wc -l
Didn’t Native Americans use horses? So they were using European horses?
That quadratic behavior is only true for high Reynolds numbers, because the drag coefficient in https://en.wikipedia.org/wiki/Drag_equation is itself dependent on the Reynolds number (and hence on the velocity). The quadratic behavior actually sets in at _lower_ Reynolds numbers for less-streamlined objects.

Now as it happens the Reynolds number for a large cargo ship is almost certainly quite large, because it involves the product of the ship's velocity and some linear measure of its size, and container ships are huge. https://en.wikipedia.org/wiki/Reynolds_number#Similarity_of_... lists ~5e9 for a large passenger ship, and the quadratic behavior sets in somewhere in the 1e3-1e7 range depending on how streamlined you are. So we're well into the quadratic regime in this specific case. But assuming that you're there in all cases is not a great idea. For example, it's not clear to me that a walking human is in the quadratic regime (though I am pretty sure a running human typically is).

Small fish are typically _not_ in the quadratic regime, I expect.
Will these findings result in a softer, more comforting way of saying your phone's battery is low?

Perhaps an anthropomorphic icon that looks like its getting sleepier and sleepier, or something Tomagotchi-like.

Maybe battery-low messages that are less blunt and more friendly, like "We know you're busy, but your device is working hard and needs a recharge as soon as possible. Thanks for connecting me to a power source as soon as you can manage."
Data point of one, but I cannot relate to this in the slightest. My Android phone is two years old and I never even check the battery. I don't even charge it at work -- but if that became a problem, I would. Seems like an easy problem to solve.

And who in the world measures their commute in batteries? Ten miles will stay ten miles; half a battery could mean very different things from one day to the next.

(The phone is a Huawei Y7 that I bought in Bogotá in Dec 2017. It wasn't available in the US at that time, and I never really found the specs online -- only for models that seemed likely to be similar.)
Anonymisation after it's all gone to Google is rather moot, don't you think? Besides in this particular case they rode roughshod over both DPA and our entire structure of medical ethics and sent across entirely non-anonymised data.

"proper anonymisation" is a set of goalposts that keep moving - it's like password length or bcrypt work factor. What's enough today won't be enough with CPU, or in a year or three, or perhaps a suitably fancy AI from the world's largest data hog. Proper anonymisation likely requires all associated data - any dates, blood group, medications, chronic conditions etc removing, hence mention of making it so bland as to be almost useless for study.
Actually, during the early 2010's I had heard from a reputable source that half to two-thirds of the internet traffic was "unwanted by the end user" i.e. spam, involuntary software updates, and advertising. Another source from the same time period mentioned that about a quarter of all internet traffic originated from Youtube.
And they were bus sized!
Are you trying to teach me manners?
It's slightly mystifying. The only company I've worked at that did "big data" _really_ well just plugged a few TB of RAM into some sharded databases and got on with life.

Usually when I tell that story, I get a lot of objections about how that solution won't scale and they must not have really had big data from people who are, truth be told, used to working with data on a fraction of the scale that this company did.

That said, it's not a turnkey solution. This company also was more meticulous about data engineering than others, and that certainly had its own cost.
Oh hey, I am relevant for once. I moved to another city for university a while ago, but kept the job I had before as a half-time remote position. At first I felt extremely pressured through slack. People didnt know my exact schedule and would also write me on days off, and I felt like I should answer asap, because otherwise people would develop the idea that I slack off because I get to work remote.

Well, after a panic attack I changed my approach and asked my colleagues to write me mails instead or ask me on teams where I would only be online on certain days. Everybody just said sure, and work is finally fun again. I think I wasn't the only one either, more and more people started avoiding slack and only look into it maybe once a week.
Another easy solution I didn't see mentioned is to create swap space on Linux. This obviously isn't the fastest solution, but setting up 128GB of swap space let's me mindlessly load most datasets into memory without a single code change.
Just wanted to chime in to say that the Tensorflow 2.0 Dataset Library is nice for this sort of problem. It supports batching, caching, remote fetching, multiple cpu core splitting...etc.
You've been lucky and didn't encounter sites loading 1080p videos as "hero images". Or perhaps you haven't browsed a news site with ad blocker off?
Thank you. Incredibly clarifying.
I see a landscape of SaaS offers and connectors/data integrators between them that, inside an auditable analytics environment, is basically working in a plug-and-play manner. Databases are whatever happens in the back of these data governance environments. We load everything into a large mangaged data lake, and connectors are set up automatically.

I also see the scenario of radical data ownership not addressed, which may be a black swan event. Open-source competitors / legislation may enforce the use of e.g. data pods, as a digital identity storage with managed access right distribution. It's worth a though, what Tim Berner Lee's solid / inrupt would mean for the future of data storage systems. In this scenario, the transmission of personal data from pods needs to be optimised in a secure way.
I hadn't heard of ACOs before. Those seem to be some pretty awesome organizations; it does a lot to temper my frustration at the handover of this data.

Do we have any assurances that Google's efforts will be limited to improving care? Or are they being compensated by being able to use that data in other opportunities?
At which point you have built XL :))
Umm, I read that article three days ago and again due to your posting it. The branded products didn't have the problem.

Sandoz and GSK are pulling their products anyway which you could take either way.

I am somewhat surprised to find myself defending big pharma and this event is only recently reported so we'll see how it turns out. But for now I think my example holds.
You can talk to people in loud clubs, you just have to shout in their ear. Guys who are trying to pick up girls do it all the time though I've always thought it was too much effort. The smoking area is my favourite place in bars and clubs because people there are more social and no one feels pressured cos they can leave when they finish their cig or stay for another. Shame I quit smoking, there needs to be a healthy alternative that's not vaping. Vaping doesn't work because it has no natural end point.
France, WW1: ~1,700,000 civilian and military (1.4M is military alone.); ~4.3% of its population. (https://en.wikipedia.org/wiki/World_War_I_casualties)

Iraq's population in 2002 was about 25,000,000 (France in 1911 was 39,000,000); ~650,000 excess deaths (2003-2006, the most I could find in https://en.wikipedia.org/wiki/Casualties_of_the_Iraq_War) is about 2.6% of the population.
A lot of Americans consider hanging clothes to be unsightly (it's even become an idiom: "Don't air your dirty laundry in public"). Some apartment managers will even get mad at you and ask you to stop or hang them indoors if you do.

There's also an issue with general social cohesion, inequality, and safety in American urban environments: many people are afraid people will steal their clothes if they just hang them up for a while. This is less of an issue in small rural towns, and indeed, hanging your clothes out to dry in your yard is considered more socially acceptable in small towns.
I never carry a charger for my phone or laptop unless I plan to spend more than a day out (I had to with my old laptop, though). I actually feel a little frustrated when my phone's battery lasts less than 48 hours, because it means I'm using my smartphone much more than necessary. I don't try to limit my phone use, but I do take some measures that probably help to save battery: screen rotation and bluetooth are always off and I use an app that automatically adjusts screen brightness much more efficiently than the stock android setting does.
Ask HN: Bug Fixing as a Service
I do 10-20h of freelance dev for a startup currently where I fix non-urgent bugs and things. They're short staffed and their devs don't have the bandwidth for it.

It got me thinking - could I offer this as a productized service charged at a fixed monthly price? I'd obviously only offer it for the tech stack that I excel at.

Though I'm not sure how you'd structure pricing for something like this.

I'd love to get feedback on this -- is it something that your startup/dev team might consider? The pitch is that it'll cost at a minimum $2-3x of your FTE dev time and more importantly, distract them from building core product that moves the needle.

Here's my math:
$/hr value of dev on your team = $100/h (in the bay area)?
Say they spend 6-8h fixing 1-2 bugs every 2w sprint.
That's ~$1500/mo of your dev's time.

What if instead you paid $0.5x of that and got a similar SLA?
If you have taken enough VC that the only way to get any value at all is through a huge exit, this statement is true. If you run a normal business, it is not true :)
Or just charge based on volume. I'm sure USAF is willing to pay a lot for true global Internet access on their planes
What about the real Windows 95 that runs in your browser using WebAssembly?
blocking/masking noise at safe volume levels is very much possible with in-ear monitors and Comply Isolation tips
Fun fact for non CS people, which this article seems to address.

Nothing fits: disk to RAM, RAM to L3, L3 to L2, L2 to L1, L1 to registers. We are just lucky that many programs have spatial and temporal locality.
Yes they were European horses, first brought by the Spanish. Once they arrived Native Americans started using horses quite quickly.
Usql – A Universal CLI for Databases
Netflix should do a docu about it. I'd watch it
Certainly the algorithm isn't 'discriminating' on sex. And if women make more than men in their twenties, is the algorithm discriminating against young men?
Dumb question but could you do DLL injections à la video game hacks for the cosmetic filters?
Pip 2020 Request for Proposals
Agree. There have been a handful of proposals to add unreliable or datagram streams to QUIC, including:

https://tools.ietf.org/html/draft-pauly-quic-datagram-05

https://github.com/tfpauly/draft-pauly-quic-datagram/blob/ma...
I understand that my estimates are a bit off, but you're welcome to provide a back-of-the-napkin power-capacity result yourself if you think you have a better methodology.

5000-homes x 7kW charger == 35MW of capacity that needs to be added to my neighborhood. Still a lot of electricity, no matter how you cut it (upgrading from 20MW current capacity -> 55MW).

------

As I said, I don't have hard numbers. But we need a starting point that we agree upon for planning purposes. If you have better numbers, please share.

------------

> Tesla Model 3 has a range of 250 miles at 54kWh. Say you need a range of 50 miles every day. 50mi/250mi range * 54kWh = 10.8kWh per day. This can easily be charged overnight at ~3.5kW (220V * 16A) - will take a little over 3 hours.

EDIT: https://www.fueleconomy.gov/feg/noframes/41189.shtml

26 kWh/100 miles. EPA measures 13kW-hrs of charging every 50-miles. So my numbers are slightly different, but still within the magnitude of your result.

But that mileage will be different in the winter. This link suggests a drop of 33% efficiency... so 50-miles needs 20 kw-hrs of charging. https://teslamotorsclub.com/tmc/threads/33-range-loss-in-col...
I was surprised that it didn't mention graph databases either, which is pertinent to the conversation around the evolution of SQL in the article, because querying graph databases requires re-thinking (or evolving) the query language. I'm excited by the work Neo4J and AgensGraph is doing. I haven't played around with AgensGraph, but I hope it takes off since it builds on Postgres
That might be worth pursuing within the EU.

That said, if it required something like a "qualified electronic seal" I think the cost would be substantially more (600 EUR a year?), and Apple might turn around and start charging a notarization fee to recoup their infrastructural costs.