jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
>WHY. WHY DO PEOPLE DO THIS.

Because too much contrast on a monitor means white on black, which on average (that is, 99% of people's setups) brightness levels settings strains the eyes and people actively dislike it.

Its not some book reflecting ambient light, but a monitor with a led shining white (blue-ish) light on your eyes...

>Contrast is good.

Water is good too. Too much water though, and you die: https://en.wikipedia.org/wiki/Water_intoxication
Have had the first shot, worse now than before.
In my head, bit's i is more like the one in poutine, bite's i is more like the one in vite.
In my experience, these take home projects are woefully underspecified. Do they know this and expect me to email them with "good questions"? Or want me to not email them and "fill in the blanks" on my own? Do they want something that "just works"? Or something that is "reusable"? And so on. There's a reason we don't write production code by just throwing a document over the wall.
Yep. As an example, see this pair of posts from 2017 on a distributed VR app with Redux actions over the network:

http://jimpurbrick.com/2017/01/04/vr-redux/

http://jimpurbrick.com/2017/07/04/react-vr-redux-revisited/
Well said. There's an essay from Jason Fried along those lines that I also like. https://m.signalvnoise.com/dont-let-anyone-overpay-you/
Why isn't more of the control logic inside the sdram chip/package? Even if you want to save pins it seems the interface could be much simpler.
Yet plaintext - again and again - stands the test of time.

I think the tooling analogy is like SLR cameras. I thought the camera was the important part of the equation, but it turns out the camera body is tossed out and replaced every couple of years. The lenses are the part that survive.
So basically all of the salary with almost nothing left, given that average companies in Portugal pay between 1000 and 1500 for the best jobs.
Roads like the ones in Sweden will never be common place in the US. We value speed, convenience, and cheap over a "couple" of dead people.
if you read up on foldit they take a hybrid strategy, for proteins that are simpler, they are using automated techniques. For proteins that are more complicated and harder to solve where folding requires satisfying a variety of conflicting constraints, Foldit is an experiment in using computer assisted human solving.
The heat does not have to be converted to electricity, 60% of a home's energy usage is in the form of heat. 42% for space heating and 18% for water heating.

I am deriving 33% of the energy used for heating our startup headquarters with a solar thermal system we rigged up out of cardboard and black aluminum foil. We are bootstrapping and the electric heat the building has is much more expensive per BTU than oil/gas.

Black aluminum foil will reach 156F in direct sunlight in December in Southeast Connecticut. I have read that black aluminum foil will convert 88% of light to heat. We have 50 square feet of these panels that spend every clear or partly cloudy day between 130-156F, warming the building through convection. On a clear day with an outside temperature of 27F our rig heats two floors to 61F. We are going to add another 50 sq. ft. of panels to attempt to reach 70F+

And the heat mass of the building keeps it warm for four hours after the sun sets. We have some large floor to ceiling windows and we installed the panels so they stand behind the bottom three feet of some of the south-southeast facing windows.

The total cost of our system was $94 and a couple hours of time.

If we owned the building I would install solar hot air panels (basically an insulated rectangular box with a plexiglass top and black aluminum foil tacked into the inside with an intake and exhaust) and run a couple air ducts into the building.

This building already had a solar hot water heating system, with two 4' x 8' water heating panels on the roof. This gives us much of our hot water.

We are awash in solar energy, and heating air with the sun is the cheapest and most efficient way of capturing it. Solar hot air is THE low hanging fruit of solar power.

The only downside with our system is that there is no energy storage. But that could be engineered easily. A concentrated solar trough connected to a buried large cement block or other heat sink could easily store a day or two worth of heat for night time and cloudy days.

55% of the days here are clear or partly cloudy and great for solar heating.

Update:

If you were wondering what we are doing in Southeast CT, we are participating in the first of what we are calling The Winter Startup Challenge, our own laid back, low burn rate version of Y Combinator.

My team rented a waterfront three bedroom house in a beach community for the offseason, October-May. Being the off season we got a great deal.

We have to leave May 31st. We have 8 months to develop the product and reach ramen profitability or get funding. The product challenges have been overcome, the prototype is being built, we have committed buyers waiting for the first production run. Five months left.
Why ? It's slow but it cost them nothing ...
This post? What specifically do you think is wrong with it?

http://dtrace.org/blogs/wesolows/2014/12/29/golang-is-trash/

Its basic point is that you should be using the "gccgo" implementation of Go, not the "gc" one which is badly NIH'ed.

He refrains from pointing out any of the obvious issues with the Go language itself since that is not his area of expertise, so if you're coming from a language background then you won't find the post interesting.
Numerous people cannot remember the names of acquaintances they've lived and worked with for years. If you name a concept a programmer works with every day, it's entirely reasonable that that programmer does not remember the name because she knows the concept by its syntax, not its name.

A lot of interview questions are also asked using synthetic examples that are not complete solutions. A good programmer will reach out and explore the full technical ramifications of the requirements instead of merely solving the problem. Knowing that complexity adds a whole new level of stress versus simply solving the easy problem the interviewer intended.

A lot of people have trouble sleeping the night before an interview. It's more stressful than anything they will likely encounter at your company because it determines a major, unpredictable branch point in their future. Unless informed their continued employment is at risk over the outcome of a meeting, client meetings will not have the same degree of stress.
haha, I suppose that is the other side of the story without our legends added.

I'd like to think USAFA athletes were more fit than randos but...
I'm fairly sure if you steal something with the intent to return it 5 years later you will still be charged with theft.
Second your opinion, if you look at the state of the art vs what was considered impossible only a decade ago there is a very large amount of knowledge waiting to be discovered here. I believe you could even generalize that to all of materials science.
> (rip cache)

You'd have a separate theme.css that defined the new variables. Because of CSS variables you can keep the main style.css and all the markup the same.
Are there any scanners out there that will detect user input ending up as the format string of a printf?

Perhaps a scanner than I can run against all of github, and then rank results by the number of times that code is exposed on a high value server connected to the internet...?
And here's a quote from a recording that Biden did:

“We have put together, I think, the most extensive and inclusive voter fraud organization in the history of American politics,” Biden said in a clip posted to Instagram Oct. 24.

His words, not mine!

BTW, you can "fact check" that all you want but whichever way you dice it, he's senile and will likely be quickly replaced by Harris.
Why does signal need to compete?
I left out the numbers for foreign-language versions

You know Netflix isn't available with the same content in English language speaking countries?. Or that there are English language native speakers in places where Netflix isn't available?
Alternatively, 'git commit -v' also provides a way to review the changes before you commit them. If you are not going to 'cherry-pick' the changes for the commit, this has the added benefit of showing all the whole diff at once.
France, Britain and Germany have a combined budget of $167 billion, and even if China's military budget turns out to exceed that figure, that's only 3 of the EU's member states.

China's military is also severely lacking in combat experience. The US is one of the most battle-tested military forces in the world, has relatively little corruption compared to China, and yet it still suffers from projects like the F-35. It's hard to estimate how effectively that Chinese budget is being employed.

The EU isn't sending a military force into Ukraine, but then neither is the US. The EU does have problematic energy ties to Russia, but that works both ways; just as Europe has an unhealthy dependency on Russian gas, Russia has an even greater dependency on Europe.

Putin's playing a dangerous game with the EU. On the one hand, the EU relies on Russia for about a third of its gas and petroleum. On the other hand, Russia depends on the EU for the majority its energy exports, and virtually all its gas exports. The EU doesn't need to go to war with Russia to cripple it; Russia's economy currently depends on the EU accepting its imports.

Ukraine is a difficult problem to solve. Sure, the EU could march in and reclaim Ukrainian territory without much resistance. The Russian army may have a lot of equipment, but most of it is outdated, and the first Iraq war proved how overwhelming an advantage a technology gap can be. But the EU has also seen what's happened to Iraq and Afghanistan, and knows that the east of Ukraine has strong Russian ties. It doesn't want to find itself in embroiled in a decades-long guerrilla war, which is what would happen if it used force.

Putin knows this, but he also knows that his country's economy is dependent on the EU. He's trying to edge Russia into a better strategic position without provoking the EU into action.
It's far from clear that the rent would be negative. It's not as if Danielle costs 10x what Deepika costs simply due to the fact that Danielle pays a few hundred rs/month to fund the NSF/NIH/DOD science orgs. Could you justify this claim?

The fact that the US benefits most other countries a lot (primarily due to trade) doesn't mean that anyone collects a rent.
I like some of these. 'wip' and 'wipe' are two operations that I regularly used. However, as I entered them into my .gitconfig I couldn't help noticing that their similarity is something that would undoubtedly bite me on the arse at some time.
> This is like the fragmented 20TB hard disk (considers the magnetic upper limit) - even if you had a disk that size the seek times would mean months to take the data off.

The seek times don't matter if you want to read large chunks of data, it's the sustained read/write speeds that do, and it certainly won't take months. Also, I don't think we'll be using magnetic disks for much longer. 1 TB SSD's can be had for <$400 already.

> It's nice to have but the uplift needs to occur throughout the whole network for there to be benefit.

That uplift is happening.
South Korea, Japan, and several US cities can already do symmetric gigabit connections to homes at very affordable prices. The world will follow with time.
> There's three common ways to store timestamps in MySQL and they all stink

I used to think that, but now I realize those problems would disappear if you set server time to UTC and only work with UTC values. It's not an excuse for MySQL's absolutely flawed approach to datetime values, but it's a pretty sane workaround.

- it doesn't matter that DATETIME lacks timezone information, since you implicitly treat all timezones as UTC.

- TIMESTAMP would add still the timezone offset, but it wouldn't do anything since the timezone is UTC +00.

With server timezone set to UTC, TIMESTAMP functions identically to DATETIME but with massively reduced capacity, so I don't see any reason to use TIMESTAMP anymore. Compared to BIGINT unix epoch, DATETIME has the advantage of being compatible with MySQL's datetime-manipulating functions (such as ON UPDATE CURRENT_TIMESTAMP).
The parameter order is simple. String functions: haystack, needle. Array functions: needle, haystack. The naming however...
Yes, I did read it...
"

In practice, it is not di±cult to construct an algorithm that, except dur-
ing rare periods of network instability, selects a suitable unique leader among
a majority of nonfaulty acceptors. Transient failure of the leader-selection
algorithm is harmless, violating neither safety nor eventual progress. One
algorithm for leader selection is presented by Aguilera et al. [1]
"

"
The algorithm satisfies Stability because once an RM receives a decision
from a leader, it never changes its view of what value has been chosen
"

Fundamentally, the idea is that the leader is the transactional arbitrator using the RM as the recorder of that transaction.
It's pay as you go, not monthly recurring.
Language gets in the here. But all 'distributed transaction' systems rely on the idea that once every party has agree to commit, it CAN commit. That might not be the case (I have seen it no be so often).
I would honestly never rely solely on one system, unless that system was my own. You never know what might happen in a years time. Everyone might realise that Facebook is actually worth £10 and it just drops out the sky altogehter.

One of the developers here was building a newsletter system recently and they wanted to use just one 3rd party mail system to manage the user lists and groups etc. I stressed that we must make the system independent and to store the lists of users and groups ourselves and only replicate to the email marketing system. That way, if we ever fell out with the email marketing software we could just open a relationship with another company and replicate the same information there.

As a company, we never implement something without sitting down and talking about the pro's and con's first. Don't get me wrong, we don't have meetings for the sake of meetings but important matters we take the time to discuss.

When we planned our CMS, we took 2 weeks to plan the system and how it would work. We are 18 months into the development cycle and the only thing we can think of that we would do differently is to use url routing over our own url engine. It's not even a massive change to implemement so we are lucky. The 2 weeks planning has saved months of re-factoring for future.

We now have news, galleries, ecommerce, content driven pages, personalised url campaigns, newsletters, e-newsletters. The list goes on. All with no regrets!

It's unfortunate that a company has to suffer bad planning and bad decisions, the main thing is learning from them
If you are fronted web developer then you should defenitely read jQuery sources. There is a lot of patterns that you could borrow and reuse in your own JS libraries.

A good place to start is this interactive code viewer: http://www.keyframesandcode.com/resources/javascript/deconst...
There is also a great presentation by Paul Irish ("10 Things I Learned from the jQuery Source"): http://www.youtube.com/watch?v=i_qE1iAmjFg
Just as an aside i think dental care in Australia is ripoff expensive. As anecdotal evidence; with the ban on international travel local dentists are apparently very busy as people can no longer fly abroad for more cost effective care.
How about the guy who is handsomely compensated in assets, who's supposed to be ultimately responsible for the company and its operations?
I actually really enjoyed this. Great job!
70+ million voted for Trump. This is a widely supported populist movement, which is only going to get stronger in the next few years as people rebel against further lockdown and having their livelihoods destroyed.

The left should be careful about who they label as terrorist and insurrections. People generally don't admit to being wrong. And backing his supporters into a corner, by projection will not go well.
> most bank do that

No, actually that is pretty rare. Getting unlimited domestic and international ATM fees reimbursed is not the norm.

> specially after you are over an amount in account

But that's just the point you're missing. Schwab does it at $0, not $1,000,000.

> Usually also have the worse investing options

Eh? Are we talking about the same company here? Schwab has an enormous array of investing options, given that their main business is that of a brokerage.

> HSBC

Also eh? When did HSBC become remotely competitive in the brokerage space? (And isn't HSBC winding down their US operations?)
There's no city state in the US were the police don't have as part of their operational procedure on a breaking and entering to arrest an individual that exercises their right to silence. That doesn't exist. No Police Department in the US will just let you walk away after they just kicked you out of a building that was violently stormed if you just refuse to identify yourself.

In this case it's even more bizarre and out of the ordinary. The police executed a kettling maneuver but didn't even try to identify the individuals. They don't train police officers with the ACLU "how to act if you are being detained manual" dude, it's the other way around, they train them to try to dissuade you from committing property crimes by actively trying to make you not exercise your rights and identify yourself.

Being in the Capitol while it's on lockdown is enough evidence to get arrested if you can't produce a bagde or something. Letting this people walk out is completely unjustified from the usual DC Metro procedures.
you can also broadcast to a specific room with google home. "hey google , broadcast to (PERSON ROOM)." you just have to add that GH to a room by that name in the Home app.
Absolutely. I agree, and did not intend to imply ist should be otherwise. We must all be journalists in a sense, as each of us is to the societal macro-organism as a single sigmoidal node is to a neural network. It's why I think the whole "thou shalt not bear false witness" is actually a severely underrated aspect of reasonable behavior as a human being.
It is better to hire fewer employees that last. That is, more effort should be spent on retention and less on acquiring as many disposable employees as possible.

Most of the big companies treat their employees like trash and lose them rapidly. They think "Well we pay a lot so we have tons of people banging on our door to work for us, so we don't need to worry about getting new employees." This is a bad mentality.

New software engineers need to always be interviewed by those who are senior to the level at which the employee is being hired for. You will never be able to reasonably determine candidate level if you don't have more experience than they do.

The notion of "always hire employees smarter than yourself" is cute, but you don't have any way to determine rapidly that someone is.

Some recommend take home projects. I don't think those tend to work well for various reasons...

Things I do think work to find good employees:

* Give adequate time for whatever task is assigned during the interview. I nearly always see that the interview is rushed because there is inadequate time given for what is being done. If time is not available, just do a portion of the tasks and quick fail if the candidate does not pass that portion. If they succeed schedule additional interviews.

* Require open source contributions of meaning for higher level candidates. Have an interview ( an entire interview ) centered around reviewing their contributions with the candidate and discussing them.

* An interview ( 1 hr ) of the following type: Tell the candidate "Convince me why I should hire you. You have 30 minutes to present your case. I will say nothing that whole time. Afterward Q&A about what you said for 30 minutes.

* Ask questions of the candidate and don't bother with all the trickery. Bring me any software engineer and let me just ask them about random stuff freeform and I'll tell you if they suck or not within an hour. Don't demand some specific stupid process for interviewing them. You have to trust those you use to do the interview process and give them the authority to determine what the next best questions are always. The moment you turn the process into some "by the book" shit, you will get a shit process.

* If a coding test must be done, it needs to be just like on the real job in that full access is given to use websites to rapidly acquire the information needed to give the best result. Also, let candidate use their own IDE setup, and have them ready to go ahead of time. If anything, give a loose idea of what the coding task will be without details, to give the candidate time to prepare in whatever way makes sense for them to be able to tackle a task of that time.

* Give more time to accomplish tasks. So so so many of the stupid tasks I've been assigned in interviews cannot be reasonably and cleanly done within the 20-30 minutes usually given max to do them. Creating quality software takes time. Rushed software = crap software. Be real.
I imagine Square would want the devices in as many hands as possible that actually accept credit card payments. If Apple retail stores were to simply give away the devices, there'd be a lot of people picking them up, with little advantage to Square. People like free stuff, even if they don't know what to do with it. By selling the product for $10, customers will think it is at least worth $10.

On Square's website, it's fine to give the devices away, because many of those visitors are already interested in accepting credit card payments. Not all Apple retail store customers are. On every Square sale that Apple does, Square is probably out $5 or more, but it's worth it, because it weeds out the least serious customers.
Bay Area HN readers may want to attend live a lecture by Barbara Liskov reprising her Turing Award lecture, The Power of Abstraction, on W4:15-5:30PM in Gates B01 on the Stanford Campus. This lecture is open to the public. The lecture will be live streamed and also archived for on-demand viewing. Female HN readers may want to attend a Stanford WICS reception before the talk. See http://ee380.stanford.edu for details.
The article is from 2008. Link to the project page: http://nixos.org/ with links to a video and slides from 2011
Agree with both, but in the case of Le Guin I clearly prefer the Hainish Cycle, with classics as The Left Hand of Darkness, The Disposesed or The Word for World is Forest
I feel like promises are slowly becoming more accepted and widely used through the javascript community.

I know I didn't immediately see the point of them, and had to sit down and learn to use them properly before I was convinced.
Old Macbooks make good linux laptops. This hasn't really been the case for a while now.
What kind of bothers me is that while many accented letters are available just by pressing AltGr/ShiftAltGr/etc, common Slavic ones (č, š, ž...) aren't. You have to use dead keys to type them, which defeats the purpose. You can already type them in a similar way on macOS by just holding down the original letter on a Mac Canadian/Australian/EngIntl layout, but that's a pain for pretty much anyone who types a lot. These letters are used often enough to have their own keys on many localized keyboard layouts.
> if Intel simply fabbed their current designs on TSMC's 5nm process

I think that ‘simply’ is the wrong word.
Sounds like the point in history where we should be practicing doublethink explicitly. Is this the evolutionary niche psychopaths are meant to fill?
Most of what you describe there is Kubernetes.

> the near-oneness of kubernetes and CNI

This is not something that can be blamed on CNI. We keep strictly even-handed.