skysight-inc/HackerNews huggingface dataset:
I don't think there's a one-size-fits-all solution to this, since different domains require different guarantees from your storage medium. For example, if you need to combine multiple actions with a certain level of transaction safety, defining an interface for that can get tricky.

Overall, I tend to agree with Uncle Bob's "Clean Architecture" [1][2] approach when it comes to DBs, though: The DB usually (rembember that there is an exception to every rule!) has no business of being the "center" of an application. It should provide you with functionality, not dictate how your business logic works.

If you can pull out your DB and give it a sensible interface, you still might end up having a lot of inline SQL queries, but they are not littered all over your codebase; they live inside a narrow scope (a plugin, say). Also, the SQL schema and queries in this case often are quite boring -- the tricky bit is coming up with a good interface that provides all the guarantees you need to uphold (complicated transactions maybe?). And remember that you need these guarantees because of how your business domain works, not because of your DB. Perhaps you can get rid of some of them if you organize your storage (i.e. DB) in a specific way?

[1]: http://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-ar...
[2]: https://youtu.be/o_TH-Y78tt4?t=2565

Edit: Also note that there's no reason not to use a ORM in this way, too (if it suits you). The important part is the same: The ORM has no business dictating how your business logic should be implemented, and if you try to remove it from your core application, you will end up doing the same things. Now, if your ORM makes the implementation easier for you, go ahead and use it. But don't expect things to change if you put ORM-generated code instead of inline SQL at the center of your application.
Drop it off at a local Goodwill or similar.
Oh, yeah, the great British carbon revolt of 1993.
You could do what I did, and look up "Abundance of elements in Earth's crust" in wikipedia.

I sometimes don't provide the link if wikipedia is the source, since that will be the first place you look.

Crustal abundance is interesting, especially when it diverges from chondritic abundances (which represent solar system averages of most elements except hydrogen and noble gases.)
Scientific research invalidates the PUBG ban
I don't know about its potential but what was there was not a serious challenger to the existing platforms.

I was working for a very large app (tens of millions of daily users) at the time when firefox was trying to convince companies to port their apps to it.

We were big enough that Firefox sent their advocates to our offices and tried to convince us to port our app. Since what we were offering was a service, we were naturally open to have it on as many platforms as possible. I think that there might have been a monetary incentive as well but I might be misremembering there (I was not part of that negotiation).

After a week with their sdk and help from their devs, we threw the towel.

Publishing our product on Fos would have been impossible while keeping the app quality on par with iOS and Android and there were lots of missing/buggy APIs.

That was our last discussion with Firefox. For as long as there have been phones, there have been web apps targeting them, but there is a reason why we are still building native apps.
the most sustainable product is the one never built.
Scientists know the mysterious substance makes up the majority of all matter in the universe, vastly outnumbering normal matter like stars, planets, and people.

s/know/assume
I can't write JavaScript inside of a PNG. I can't reference external resources inside of a PNG. I can't reference CSS classes inside of a PNG. I can't animate a PNG. A PNG is a simple, dumb, uncomplicated file with a minimal surface area for vulnerabilities.
Routers?
No. Lithium isn't cadmium.
No, but that sounds like a great startup idea. Sign me up!
Why is it sad? Would it be happy if desktops were slower?
I bought a MacBook Pro and a Chromebook 5 years ago. Guess which one I've had to replace the hard drive twice and has slowly become unusable over the course of several OS upgrades and which is just as good as the day I bought it?

Chromebook is still ticking, MacBook I gave away. Pretty shameful for being 10x the price of the chromebook
Google Could Learn a Lot About You from Its New Gaming Platform
>I also tried an iPhone for a while, but couldn't get the hang of iOS.

Huh? It's a much more designed and coherent experience than Android.
> He raised prices on those who could pay: insurance companies.

I cannot imagine a more tone-deaf defense of this scoundrel. Where exactly do you think insurance companies get their money?
Yep, for anything non-polarizing or nationalistic, HN offers the most amazing and intellectual discourse.
There are some pre-requisites to Pair programming. That you need to have a well defined task, that you need not be bogged down by insane deadlines and can afford to have 2 people work on the same thing and both need to be well versed at the task at hand to live up to the promise of productivity. My experience pair programming for a year was sh*tty enough to never consider it again unless I have these pre-reqs met. I'd much rather split tasks, work independently and then touch base often.
iBUILD | Mobile full-stack engineer | Full-Time | Austin, TX | ONSITE

iBUILD (https://ibuild.global) stimulates housing construction capacity to meet the pent-up global demand for affordable housing. An accessible, formal housing supply is simply non-existent for the majority of the world, leaving over 330 million households without adequate shelter. The iBUILD platform offers an elegant FinTech solution that empowers an untapped workforce to transact in a secure, transparent environment, with customers, lenders, architects and suppliers linked together in a powerful hybrid value chain. iBUILD formalizes and demystifies the construction process so that large scale developers and financial institutions, as well as the informal masses, are all able to track and manage their resources through an end-to-end solution for housing construction, transforming an unorganized marketplace into a vibrant transparent ecosystem.

We are a funded, rapidly-growing FinTech startup. Our engineering team is in Silicon Valley, CA; Austin, TX; and Nairobi, Kenya.

We are looking for a key early hire: a full-stack mobile engineer to work on our mobile and web clients. While the focus of this role is front-end (mobile and web) we are looking for someone who enjoys taking a systems perspective. You enjoy thinking not just about the component you are primarily responsible for but about the entire system. You would expect to have the entire system running on your laptop, and to be sufficiently proficient in backend technologies and databases to understand how the whole system fits together. You understand that optimizing individual components in isolation is not a good use of your time. We are not beholden to specific technologies: we are interested in people with experience in web technologies, HTML5-based mobile apps, Cordova/Ionic apps, iOS, and Android apps.

Email: simon.handley@ibuild.global
Check out the recent game release, "Hypnospace Outlaw."
Heat is a by product of design flaws.
It is once you start including all of the personal details and daily lives of everyone involved. That's what separates reality TV from documentaries.
Wow this sounds like an incredible experience, have you blogged about it or can you share some links on what the climb entails? Thanks!
Not sure you know what “exact opposite” means, but I read that link expecting to see an argument that nuclear power plants blow up much more frequently in real life.
Is it efficient to harvest?
Any buyers are in for a surprise, Braun changes their blade designs every few years and after 3 or 4 years, a replacement foil will cost more than a new razor.

I have an alert for whenever Amazon's algo goes wacky and the price drops, but it's only happened twice in three years.
Shkreli is a prime example of our broken criminal justice system. His investors didn't lose money even though he did provide fraudulent information to raise capital.

Companies during the home loan crisis provided fake info(eg: fake income) to qualify for the home loans. And they got away with non-prosecution agreements and just fines. People's life savings were wiped out during the crisis.
The thoroughness just increases through the clearance levels. So in a secret clearance investigation they do a cursory check of references, dates, addresses, relatives, etc. but as you go up the ladder to TS and getting cleared for particular programs the investigations become more extensive.
CDC's habit of coverups will feed into anti vax fears.
RAM/ROM is always measured in binary because of the nature of their addressing. Powers of 2 are widely used in computing.

Flash memory is a bit of an oddity --- early drives with SLC flash had true binary sizes (although the flash itself actually had extra capacity on each sector/page for error correction), then later MLC/TLC/QLC flash required so much extra error correction data that the drive sizes went down and coincidentally became close-to-decimal, despite the fact that a lot of solid-state media is still sold in binary sizes (or small multiples) --- 4GB, 8GB, 16GB, 80GB (5x16), etc. I have a 16MB USB drive that truly contains 16,777,216 bytes (unformatted).

Apparently SD cards have dropped below even the decimal sizes(!) that a "32GB" one may contain less than the 32,000,000,000 bytes which an HDD should have:

https://www.eevblog.com/forum/chat/reduced-capacity-on-sandi...

The proof of early drive sizes being in binary is here: https://news.ycombinator.com/item?
id=19589230
That's not a straw man and I specifically said ORMs had their design reasons? My complaint is that they got popularised because of their perceived ease of use because of a perceived difficulty with SQL.

Anyway..

> ORMs solve a real problem: SQL isn't composable. That's it.

It's a DSL. It's literally the most composeble thing you could build as a solution. Hell it's so composable people decided they could build ORMs on top of it.

SQL was created to solve the problem of interfacing, composing and reasoning about tabular data.

ORMs were built because?

I feel like your thought that SQL isn't composable is due to a reluctance to create a function that executes a new query?

Or are you really looking for a way to compose queries over objects? Because SQL has that too..
I have plenty of experience in the startup world. Here is my take around salaries:

- You will be pressured into taking less. That's normal founder hustle.

- A founder is the one taking the risk, not you. Thats why stocks are worthless to you. Dont drink the "we are in this together" bs. You are not. If you were, then youd be a co-founder.

- You wont find startup salary data. However, it is typically less than an established company. Why? because they cant afford it. Startups have runway, which is how much money they have to try and make it (survive). In contrast, an established company has a budget, which is how much money they have for a period of time (they dont need to survive).

- Always ask market rate based on an average of published data. My take is you should be closer to $120k in SF (if not more).

- The fact that you are being underpaid just shows how skewed your sense of fairness currently is. They didn't care about fairness when your offer came through. They only cared about how much they can afford to pay you to avoid losing you. You are the one who decided what was fair. You alone. Thats why you have the power to decide it is not fair anymore and move on.

- Start shopping around this very moment. Dont think options are scarce. This is a developers market.

- You manage two people and have a masters. Dude! You are a technical lead. Open your eyes! Technical leads make more than a regular developer (senior or not). It also makes youna senior dev ...
That sounds reasonable. Thanks! I am looking forward to viewing the source to learn Rust.
The Himalayas are a pretty convenient deterrent already.
Now that’s an interesting thought. Are manufacturers turning to phablets because they can’t work out the heat dissipation engineering for smaller devices as much as because of demand?
One of the things that struck me the most as I read about the college bribery scandal is that many if not all the parents involved acted as if bribing people, falsifying records, doctoring photographs, etc. were things that "everyone else was doing to get ahead in the admissions game" and therefore they could justify and rationalize it as necessary. At a minimum, they can at least claim they did it for their children.

I don't know how anyone could ever justify and rationalize stealing money from the elderly and taxpayers. It seems so wrong; indefensible, really. Jeez...
>I have one that still works, but I stopped using it after several years. No one wants a used razor, so what happens to it?

If it was really built to last (and not just some plasticky thing that happens to still work), then someone would very much want it. What's the problem with a "used razor"? People buy all kinds of used things...

More so, if it was built to last, any part that could be problematic (e.g. the blade being damaged by the use of the original owner), would be easily replaced, and the rest would be as good as new.
What does Malaysia have to so with this?
Then why don’t they just collect it ‘everywhere’ and not directly from people’s mouths?
Shkreli himself played a deliberate role in the public's perception of him. I've always wondered why but I suspect it was pig-headedness.
I just thought it might be nice if you did a breakdown of the physics of traffic and maybe how you coded that part.
As for teaching, I think it could be used to teach about like signal timing etc in a fun way.
Today's product improvements happen faster today and many of the improvements are driven by software not just hardware. I get a new iPhone every two years because it is significantly better than the last generation: faster, longer battery life, bigger more vivid screen. Also newer cars are increasingly safer than older cars. And if I want the latest car why should I pay more for quality today when it's only going to be beneficial for the next owners?
Another contemporary example was the CIA staging a "vaccination campaign" in Pakistan. They were pushing vaccinations, and then harvesting the DNA to try to track individuals related to Bin Laden.

[1] - https://en.wikipedia.org/wiki/Polio_in_Pakistan#Connection_t...
I didn't really understand here. So am I not supposed to use npm install anymore? Or does pika read node_modules and make them web compatible. Cool stuff nonetheless.

Would also be great if there was a way/tutorial that says here's how you move from web pack to Pika - and how long that might take.
I think this has mostly to do with the tasks at hand.

I know a bunch of people who hate their jobs and would feel pretty bad if someone would supervise them 40h a week, even if they may perform better under such supervision.
That's already covered by the "reduce" part.
You ignored the rest of the sentence.
> Okay, so shame exists because it is good for a society that is built on shame?

I think so, yes.

Evolutionarily, as humans, social inclusion was incredibly important. Being removed from a tribe was likely a death sentence. As such, we have some very strong social drivers like shame and embarrassment that people feel quite keenly.

But these social drivers caused people to do things that were good for society. You felt shame if you didn't contribute to hunting or gathering, cooking, planting and harvesting, building structures, raising children, or other crucial societal factors.

I think you're on pretty solid ground to say that shame and embarrassment go a long way toward the foundation of the society we have now.

I do think shame and embarrassment are useful tools that we shouldn't want to get rid of entirely. That being said, I think it's totally fair to question whether our current-society over-relies on these kinds of things, and asking if it would be healthier to scale them back rather than expand them.
Out of curiosity, are there any brands which don’t do this? I’m a little dismayed that even Lexus does this.
It is easy to demonize Shkreli when you look at the 5000% number. But what he did was sell 1 pill for half the price of a bottle with 100 pills. This sounds bad until you consider most hospitals were throwing out the bottles completely unused before the expiry date. Most hospitals were happy because now they were only wasting half as much money.
> And yet, near completely useless as shown by cases known to wide public.

Just because a system isn't foolproof, doesn't mean it's useless. There are certainly many improvements that can be made to how we protect secrets and conduct investigations into individuals but what we have in place now is far from useless.
That's basically what happened with PV. Germany invested in it, costs came down and now it's profitable in the private market. Turns out our governments (and the free market) don't invest enough into promising technologies and if they do they will see great progress.
The NN is used for the probability model for the compression - it's not the compression itself. In simplest terms, think of it as being used to predict the next bit.
It might be connected to some kind of Medicare scam: https://www.ksnblocal4.com/content/news/Potential-scam-deali...
True and depending on how much your performance improves it may be freeing time for other stuff.

If you get ten times more stuff done than usual, it would be enough to do this one or two times a week.
Did you look at the linked video of the pilot in Toronto? That doesn't seem like vaporware to me? It may or may not meet its goals, but it's a pretty simple concept to execute on I think.
You have an assumption that automatics is always cheaper than human labor. This is not obvious to me. You can have humans working 8 hour/day for as cheap as $100/month in some poor regions. And automatics still require R&D, service, electricity.
Amazing, I hadn't seen that.
Projection is something the good and bad do. There really is a battle of dark and light you see in mythology and centers on people's psychological need to project their actions as the norm.
This has got to be a subsidy to China's construction industry. I can't imagine any circumstances where a modern war would require this kind of infrastructure.
My father demonstrated the combustion of a mixture of potassium nitrate and sugar to me when I was 7 or 8 years old, and I was instantly hooked. The effect is spectacular: thick white smoke, hissing pink flames, a huge charred mass of fluffy carbon, and the smell of burnt sugar in the air. My interest in chemistry up to that point had centered around growing crystals. After that first smoky demonstration I wanted to make fireworks.

It's still possible to have that bonding experience today if you have some open space where there is nothing flammable. I see that Amazon has multiple sellers of saltpeter (potassium nitrate), the key ingredient. As recently as last year I have also seen it sold as stump remover in the gardening section of Fred Meyer (Kroger).

Potassium nitrate plus various fuels like charcoal and/or dusting sulfur, sugar, and iron filings is great fun and relatively benign. Do any grinding by hand in a porcelain mortar and pestle and there's really no risk of mechanical ignition. The mixtures don't burn fast enough to risk explosive effects unless ground very finely or strongly confined [1]. I had to photocopy the black powder and pyrotechnics sections of The Chemistry of Powder and Explosives from the library, but today you can find a full scan of that book (and much more) online.

[1] You can also make more vigorous mixtures with potassium nitrate by using powdered metal fuels, but you're not going to find those fuels just sitting on the shelves of ordinary retailers.
Clearly, you're working for an evil overlord.
What a fantastic misrepresentation of my comment and it shows very little understanding of Nietzche. Maybe try reading his work rather than relying on Wikipedia and throwing up a straw man argument. Ironically your response is exactly what Nietzche would have predicted.
That shameful episode with Peter Thiel is the prime example. https://i.stuff.co.nz/national/88843382/peter-thiel-citizens...
I don't understand why the Google Assistant has to be thrown in. Beside me not liking the idea of Google Assistant processing my request, I don't really believe that it's a feature that many need or even request.

Of cause I'm in a non-English speaking country, so that may change the usage, but I don't know anyone who uses Google Assistant, Siri or Cortana and only two people who use Alexa, which technically isn't even available here.
By that argument "we" can't criticize and resist nuclear proliferation. I completely reject that assertion.
> His investors didn't lose money even though he did provide fraudulent information to raise capital.

There are things broken with the way the criminal justice system judges the severity of crimes, but the idea that fraud shouldn’t be punished so long as investors get their money back leads to an even worse system.
Inheritance is only considered an anti-pattern by some.

Since the 90's, any good CS book about OOP paradigms had discussions about is-a and has-a and how to make the best use of each, depending on the desired application architecture.

The thing is, such books usually aren't taught on bootcamps.
Thanks :) And thanks for the typo.

If you're interested: for now I've only monetized two projects beside Backery (Nucleus and Harmony). Nucleus is doing right now around $200 / month (growing) and Harmony around $150 monthly, slowing decreasing with time. I like building too much but should focus more on selling, even tho it feels a bit counterintuitive to me. An open dashboard is a good idea, I love these. Can definitely put one in place once I have some more steady revenues :)
Nodemailer Added Support for AMP4Email
Battery lasted for almost 4 days when I left just RPi Zero W, idling, connected to Wifi, without X11 running.

Battery I am using is this: https://tech.scargill.net/ravpower-the-ultimate-pi-ups/

It indeed helpfully maintains stable power output when being plugged and unplugged from mains itself. But only on one of the output ports. Also this is not always true when there's active power consumer on the second port. Other than that, I'm happy I found this powerbank model.
Not currently competitive, but the thermodynamic minimum energy goes as the log of dilution.
If a car with 1500-mile range will become a reality with any chemistry, it will not appear first. These (fantastic) batteries with 4-5x the energy density of modern li-ion, will go into a much more profitable use: electric airplanes.

Not sure if these ever appear though. This seems to push not just the limits of technology, but even the laws of physics.
poke hard enough, and “assume” is the default for more or less anything more complicated than “I Know how to add two integers”.
He stole money from one group of investors, gambled with that money in a new company (while lying about it on all of the relevant financial statements) and eventually made the original investors whole --- if you ignore the profits that he made by using their money illegally. Why on Earth do people defend that scumbag? Because he had some Livestreams?

If you rob a bank, spend all that money on lottery tickets, then leave a sack of money for the exact amount you stole in the lobby after getting lucky, do you think everything should be copacetic?

1. You still robbed the bank!

2. Gambling with someone else's money isn't virtuous.
Yeah, terribly sorry, I just pasted it without looking, was on the phone.
Oh, I didn't notice it was (A)GPL licensed, that's disappointing.