skysight-inc/HackerNews huggingface dataset:
It's not just an argument about stoicism vs empathy, but freedom vs control. How much paternalism do you want from your politicians? How much control over your daily routine do you want to give some barely accountable millionaire legislator/governor/president who's loyalties are only to you based on how many votes their donors can buy (the rate differs greatly depending on the politician). The more effectively money buys their votes, the less they give a crap about you.
Yeah, mine were standalone.
Love seeing team Replit respond to feedback and move fast. I am using them for https://suddenschools.org courses and couldn't be happier. Being able to start with the same environment for every student is a huge plus. Keep on crushing it!
Heat is awfully hard to transfer in the first place, especially when it's not even that hot. It's handy if you can put your data center underneath a swimming pool, for example. But I'm not aware of any large-scale heat recovery projects from data centers. Data centers generally spend extra energy to remove the heat...

But honestly who cares if your power comes from renewables in the first place -- solar and wind? It doesn't seem right to even frame it as "wasting" heat in the first place, anymore than the sun's heat was being "wasted" warming up the ocean in the first place.
Technically I think it goes
1. DirectFlip (Windows 8)
2. Independent Flip
3. Multi-plane overlays (Windows 10)

DirectFlip can be supported on a lot of hardware, but is limited to borderless fullscreen unless you have overlays. https://youtu.be/E3wTajGZOsA?t=1531 has an explanation.
I think I understand what you are saying. My reasoning was that right now we are using good farmland for frou frou crops like lettuce that have a quick turn around(45-60 days)..they use a lot of fossil fuels, have to transported long distances and involves labour exploitation for very low calorie/nutrition. And then strawberries that require the soil to be fumigated with really nasty stuff like methyl bromate fungicide. These are kind of crops are better grown in urban spaces indoors and vertically where there is soil already contaminated and is essentially warehoused.

Using solar, better led lights and maybe hacks like placing them near water treatment plants etc can be a good optimization of energy and resources that are other wise underutilized. Further aquaponics that is also fish farming is even more environmentally friendly as it’s a closed loop system with minimal inputs.

By marginal lands, I mean abandoned factories and soil contaminated with heavy metals that is difficult to remediate without a lot of expenses. Growing highly perishable produce like lettuce and strawberries indoors in these spaces is a win-win. My 2c.

I dream of little nuclear ‘suitcases’ that can power cities for weeks or months. Factories that can be run with solar as well as nuclear energy. Hopefully we will find a way to dispose and dismantle nuclear installations safely in the future.

Your other point: if we are to emulate nature and get back closer to natural growth and evolution of civilization as we know it..we could model it around the Nile valley or the Indus Valley. I think having clusters of small self sustaining villages with intra trade and further away trading for other wgat we can’t produce is better. If we can create village clusters networked to other clusters connected together to bigger and bigger fractal systems of both tech and environment and wilderness, we can have it all.

In the future, a lot of trade would be services. For small scale sustainability, we would need automation. This frees up labour force to do other things. Even a simple adjustment like a 4 day work week or 20 hour workweek or working remote would have a massive impact on how we consume and our collective footprints.
> you may know how to drive a car, but can you synthesize DNA?

I think the framing is wrong here. A cell synthesizes DNA mechanically and without will or intent. The cell is made up of molecules that grab other molecules and operate on the other molecules to do something (repair, replicate, infect, etc.). When the right molecules come into contact with their targets, the synthesis just happens by the chemistry and physics that dictate the shape and movement of the molecules (modulo the stochastic and probabilistic process of other molecules moving around and becoming available). What we call life is an ever more complex set of molecules and their organization that allows their mechanical self-replication--and the other complex processes that extract and build all the constituent molecules from the environment (by building other molecular structures such as cell walls that also act mechanically on the molecules of the environment).
Intel GPUs support hardware overlays. Chrome grants one to a top most eligible canvas element.

https://developers.google.com/web/updates/2019/05/desynchron... has half the story for getting extremely low latency inking on Chromebooks with Intel GPUs. The other half is ensuring the canvas is eligible for hardware overlay promotion, which the ChromeOS compositor will do.

One of these days I'll write that up.
Of course Chrome knows the length of your web history: it's a trivial SQLite call. They just can't display it naturally, because there are no browser-provided APIs for lazy tables.

I do not agree that the JS implementations have "solved" lazy tables: they're all invariably broken. For example if you hit cmd-A to Select All, Chrome history just selects what is faulted in. If you scroll down eventually you find unselected items. Safari doesn't have this problem and the main reason is its use of native tables instead of web tables.

I agree this is a big hole in SwiftUI as well. A lazy table requires cooperation between the framework and the app, which is an awkward fit for declarative UI frameworks like SwiftUI and the web.
This seems like a big deal. More and more companies are transitioning to Remote First....
Brex laid off a significant portion of their staff earlier this year. It sounds like they are trying to save more money by getting rid of their expensive office space in Manhattan and SF

https://techcrunch.com/2020/05/29/brex-the-credit-card-for-s...
That's what "they" say!
Many years ago, a car racing sim friend and I built a very DIY no frills rocking chair that I hooked up to a sim. The racing sim was open enough that you could output the lateral acceleration via serial port (I may have written that serial glue code too)

The sim spoke to an Arduino that controlled a car window motor that rocked the chair's seat (with a pot to encode the position and some limit switches at either "end" of the motor's run). According to my racing sim friend, the lateral Gs are one of the most crucial things to feel to get a physical hold on what's going on with a car (if you're taking a curve too fast, etc.)

Video: https://www.youtube.com/watch?v=sE-NYWIl37M
Photos: https://imgur.com/a/1k1mNac

Whenever I see typically expensive racing sim hardware setups, I wonder if there could have been some potential in developing this idea further (I'm comfortable enough with the electronics software side, but torque/motor PID/etc. are well outside of anything I've worked on)

Anyone interested in collaborating? :-)
I used Gmail's 'Schedule Send' to send an email 49 years into the future
Finding an Alternative to iOS
Thank god we have Buzzfeed to tell us about this, a rag that has never tried any political manipulation whatsoever.
Apple is a much bigger company than Samsung, they can't realistically turn down a contract that big when LG is lying in wait to take all that money.
Particularly the Ritchie and Kernighan books where they dog-fooded roff etc.
I think their phase 2 is going to be the five year project. This one was supposed to be a POC.

Based off https://natick.research.microsoft.com/
In case anyone is interested in yet another alternative, I have this old, unpolished project: https://github.com/bauerca/jv

It is a JSON parser in C without heap allocations. The query language is piddly, but the tool can be useful for grabbing a single value from a very large JSON file. I don't have time for it, but someone could fork and make it a real deal.
Conversely, we could treat retail investors like the adults they are.

Generally speaking, knee-jerk reaction to create rules and regulations for every problem in society will only lead to further dysfunction, less growth, and permanently locking the little guy out.
Yes, grandfather comment is overly dramatic.

What you’re describing is the status quo termination agreement that companies require you sign in exchange for a severance payout. When people don’t have first-hand knowledge of unethical and dramatically harmful behavior by the company, and often even when they do, they sign it because they want the severance. What’s unusual in this case is not only did Sophie courageously speak up internally and now publicly, she selflessly forfeited her severance payout.
Does anyone know what the environmental ramifications are of sinking presumably noisy and hot tubes into the ocean? I've been in server rooms and they aren't exactly quiet. The picture of the racks look to me like standard 1U servers.
You can even run Doom on Repl.it https://repl.it/talk/share/DOOM-1993-on-replit-yes-really/13...
It is also the case that in some/many areas software has improved performance by several multiples of the improvement in hardware performance over the last 20 years. So it makes sense that this would invigorate software performance investment.
This isn't really related at all, but I've always considered "Brex" to be a strange name considering https://en.wikipedia.org/wiki/Bre-X
I pay $30 USD per month for software that makes my email faster
A bit weird may be ~= failing HR filters.

I don't really have a strong opinion though. When I last switched jobs a number of years back a friend of mine strongly advocated for obfuscating age as much as possible. I don't even remember how much I did but it didn't really matter because I knew the person running things and a number of the other people involved in the process. So this wasn't really an HR filtering thing.
I don't go around chasing the scientists that have put this together because they likely have better things to do with their time.

I have no assumptions either way, and if they do happen to frequent HN the chances are actually better to get such questions answered here than anywhere else.

Karma grab? FWIW I offered to hand back in all my karma points because they are utterly meaningless but Dang wouldn't have it so please spare me the nonsense accusations.

HN was still free to write to, contribute and ask questions of last I checked, I don't need you - nor anybody else - to tell me what I can or can not do here, nor do I need you to try to put me in a negative light for trying to understand something better.

FWIW humanity has an extremely well developed skill called problem solving. We can do just about anything in the laboratory. But when scaling up those laboratory experiments we often find out that what we thought was a neg positive ends up being a net negative. Before we sink a few 10's of thousands of data centers onto the continental shelf I'd like to know the ecological impact, even if that has already been studied (which I'm actually not aware of).

See also: plastic, freon, lead (in gasoline) and a whole raft of other things that seemed like a great idea at the time but for which we did not have the long term predictions when they mattered most: at the beginning, mostly because people did not ask the right questions.

Scientists in the beginning of the previous century: "Plastics, they last for ever! yay!" and a hundred years later "Plastics, they last for ever! Oops!".

Anyway, the steady stream of quality answers in this thread proves you more wrong than I ever will but this comment reflects poorly on HN, me, and ultimately, on you.
^^THIS! Trust is THE most important factor. Treat this like finding someone to marry, because (sadly) there's a decent chance your startup could outlast your marriage. (Pay attention to that, BTW! Your family is really important, and unless you've already made a huge mistake, no company is worth losing them over.) Any good/honest partner will be willing to tie equity to milestones - never just toss a big chunk of equity to your CEO/cofounder just because others are stupid enough to do that. (Keep in mind the dictum that in most all startup cos., your equity is simultaneously worthless and the only thing of value the company has, other than your team which is usually there because of the potential for equity. As soon as you're funded, pay people fairly - not top of scale, but enough to keep them happy and loving the job.)
And yes, FWIW, I've been on (and been burned on) both sides of these deals, both as a CTO looking for a good CEO to raise money and get us to market (lost my a$$) and as a contract CEO hired to get a company off the ground. The ONLY thing that matters is the people themselves, and more importantly, their character, trustworthiness, and insistence on being fully upright in all things.

It's much harder to find these people than you might think, and it can be really hard to get rid of a bad one if you screw up. (As the Russians say, "Doveryai, no proveryai - Trust, but verify!")
I'd like to know this as well. I think you'll just have to build things (potentially horribly) and fail.

I took three semesters of database (granted, baby database classes) and I still have no idea how you can do something pretty straightforward like creating a room reservation system.

If there is a reservation beginning at 10:15 AM and ending at 12:30 PM and someone tries to book a reservation from 10:00 AM to 10:30 AM, the transaction should fail.

and before someone screams db2! yes, db2 can. but then you'd have to use db2 https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/co...

Why is this so difficult...
Most systems get built over time to be better.

Every crack pot on top harms the structure, until eventually One Guy does break the system.

Now if people want this outcome, its great. If you don;t want this outcome, its not.
The Transition Integrity Project [pdf]
> When pressing a key in, say, a text editor, the app would prepare and render a minimal damage region

Is this similar to the "dirty rectangles" technique? [1]

It seems difficult to implement some sort of scene system (for either an app, game or general GUI) that given a single key press can determine a minimum bounding box of changes on the screen no matter what the scene is, and is able to render just that bounding box.

If the single key occurs on a text area, potentially the whole text area could be "damaged" right? Edit: I was looking at this with the "Rendering" tab of chrome dev tools, enabling "Paint flashing" and "Layout Shift Regions", it seems like the text area is its own layer and the space is partitioned pretty cleverly on things like paragraphs and lines, but from time to time the whole text area just flashes, which tells me the algorithm sometimes is not sure what is dirty and just repaints the whole thing, but not always.

1: https://wiki.c2.com/?DirtyRectangles
Man I was already a bit depressed at the state of the world and now seeing that an asshole like this can be a billionaire is killing me.

I wish nothing more than that cops would knee these people on the neck until they die instead of poor people.
atop parsing its logfiles.

# Cuts off partway through:
zcat atop.log.gz | atop -r /dev/stdin | less
# Works fine:
zcat atop.log.gz > atop && atop -r atop | less

That said, I agree with your experience that /dev/stdin usually works for programs that read a file straight in.
I'm confused. What is it that Nvidia can do by owning ARM that it can't do by just licensing the architecture? Can't they just license and build all the chips people think they'll build without buying the whole thing?
we the people
Share Code Between React Native and React JavaScript
Is it? It just sounds like a negative opinion, rather than anything that qualifies as ‘criticism’.
What’s different about the hardware that they’re seeing failure rates that low?
There's such a big hurdle to starting though, because clicking on hackernews generates quicker gratification.
MS will entirely "featurize" Linux as just another part of Windows, and thereby finally solve the problem of Linux on the desktop.
physically modelled synthesis is no more advanced than anything going on in a modern game engine for video, and in some senses, significantly less.

so to restate something i said just below, the fact the "most audio processing is well within CPU capabilities" is only really saying "audio processing hasn't been pushed in the way that video has because there's been no motivating factor for it". if enough people were actually interested in large scale physically modelled synthesis, nobody would see "audio processing [as] well within CPU capabilities". why aren't there many people who want/do this? Well ... classic chicken and egg. The final market is no doubt smaller than the game market, so I'd probably blame lack of the hardware for preventing the growth of the user community.

ironically, sound propagation in 3D environments is more or less within current CPU capabilities.
Is the diagram a joke? That's total ERD spaghetti.
Junior Front End Developer
junior self-taught front-end developer with knowlegde of html , css , javascript, bootstrap and basic react . Looking for an entry level job , i linked my portforlio
RetroArch: Steam Beta Testing – Steam Cloud
I think you're right. Users are being trained to enter their passwords and 2FA tokens everywhere with the false promise that 2FA makes it secure. Even U2F using a signed challenge seems iffy to me.

This [1] says "In fact, the spec requires that browsers only expose the API in secure contexts", so if that's correct it's better, but still not good enough.

This [2] looks like it does U2F by grabbing the challenges via browser plugin and relaying them to a phone app for signing.

Trusting the browser to "expose the API in secure contexts" seems like a failure because it's assuming nothing else can collect the credentials or send a challenge to a security key. Is that true? Could I write an app that would phish a user into signing a challenge with their security key?

1. https://security.stackexchange.com/a/206549/134291

2. https://krypt.co
Chance of Winning an NBA Series If You Win Game X
Sure, good reminder, thank you!
Yes, an increase in reflectivity would cool the planet down. But solar panels actually absorb a lot more than they reflect (they would have to). The ideal solar panel would be utterly black.
Everything in Grouparoo is somehow tied to a user, so if you have a list of "locations" or something, that's not a good fit at this point. We basically need a "foreign key" to a property of the user.

If you do have that, we have support for google sheets[1]. You share a sheet with a service account and that allows it to be a source in Grouparoo. From there, you can make groups and send to destinations.

We'd be curious about your use cases. Feel free to make an issue[2] with what you are hoping for and we can discuss there.

[1] https://www.grouparoo.com/blog/google-sheets-source

[2] https://github.com/grouparoo/grouparoo/issues/new?assignees=...
It's true that at micro scale, consumers can buy panels and install them. But what matters at the macro scale is PV manufacturing rate. Installation rate can't exceed manufacturing rate.

PV manufacturing is complex and expensive. Most of the cost of PV is in the manufacturing machinery, since the raw materials are cheap. Adding new manufacturing capacity takes time.

It may be that PV can be ramped up faster than nuclear, but some of the new nuclear designs (NuScale and Oklo) could be cranked out pretty fast also.
I doubt this will have the impact we wish it could have. Best case scenario some people with moderate the number of notifications they receive. Other than that I can't see anyone deleting their accounts because social media are so much interwoven into their everyday life.
I'm not sure. When you give authorization for "all future payments to Starbucks until I tell you otherwise" (which is what you're doing with recurring payments being set up between FB and PP), you're authorizing that payment to Starbucks. You're not authorizing Starbucks to take whatever they want, but that's between you and them, not you and Visa. Visa just happens to be very accommodating and will often pressure the vendor.

Losing your card would have been similar to the OP's PayPal account being hacked.
Ask HN: Is There a LeetCode for Refactoring?
I’m looking for some samples of realistic messy code (preferably with some sample well-refactored solutions) so I can practice refactoring legacy code, applying functional programming principles, etc. Anyone know of a resource for something like this?
RISC as a concept doesn't really help you with making timing guarantees.
FWIW, though I love and grew up in Austin, it an extremely dysfunctional startup/VC community, so unless you just have to have the cool factor, find almost anyplace else to start your company - real estate will be lots cheaper, too, and you might even have a functioning city government. As I said, I love it here, but will be leaving before too much longer, as it's going all the wrong ways, esp. w.r.t. startup culture.
Thank you for the clarification. Appreciated.

I'm not particularly upset by Customs in general, but I get upset when they stretch or abuse their already far reaching authority and privileges. Mainly because I strongly believe that all extreme powers come with extreme responsibility and require extreme accountability in order to not end up being used for all the wrong reasons.

This action, including its publication, smells like brutally political, shortsighted, and very likely unlawful (though Customs lives mostly by definition outside the usual legal territory, so there goes accountability).

Part of me stopped caring about it a long time ago, when it became clear that the USA is hellbent on accelerating its inevitable demise (as a defacto empire), as long as it can make powerful companies and politicians a few quick bucks along the ride.

On the other hand, it still hurts to see stupid things like these happen, while most people appear clueless about the consequences. I know it will be ordinary American citizens that ultimately will pay a price for this, with time.

That still pisses me off .. and hopefully it will always remain doing so.
weird, thanks for helping.
Make sense.. offices are not being used while staff is as productive (probably not as happy though? but that's case by case) at home. A lot of offices may go bankrupt in the coming years, even when this whole thing is over.
Deno stripped types from internal code due some headaches and development issues it was causing:

https://docs.google.com/document/d/1_WvwHl7BXUPmoiSeD8G83JmS...

It will still support TS as a first-class language for users and projects.
RISC-V is based on Switzerland, not US.
Wow I had no idea, now a lot of things make more sense to me about why Apple is going the route they are. I honestly wish them nothing but success. Part of me hopes they license their own chips down the line. The Intel monopoly over desktop systems needs to end.
That’s a cool video with interesting information, but I don’t think the conclusion from it that fouling is a solved issue.
Hi, my apologies if it's a bit off topic, but I wonder if you have any advise or can point me in some direction on the way to becoming a DBA, or something similar enough? I've been working as and old school sysadmin for the last 17 years and counting. Even if I can do nowadays devops stuff, I always liked the DBA work, based on my experience as sysadmin for DB servers (mysql, oracle, and friends...), and I'm considering moving my career in that direction. So is there any "DBA certification" for which I could take a course and all that? Thanks!!