skysight-inc/HackerNews huggingface dataset:
> You mean clients i can hardly update, and most often clunky as well? I dont see the improvement.

Is better performance and more features not an improvement to you?
I moved out of CA and switched to remote work. It's been 100% positive. I would recommend it to anyone who can swing it.
What bubble are you living in to think California has no space. If there's one thing California has more than enough of, it's open space. I suggest driving on one of the myriad freeways for a few hundred miles and then tell me there's no open space. It's actually space that is the problem, because everyone wants the low-density SFH that the space affords. No one wants to invest in higher density housing.
> It's funny how one a week is acceptable in the USA.

It's not acceptable in the USA.
100% this. Whenever folks recommend simpler options like JDBI, I have to shake my head. Rolling your own query builder with string templates feels like an SQL injection attack waiting to happen. If you know 100% going into a project that you won't have to modify the structure of your queries based on user input, then it's an acceptable option. But it's quite common, at the very least, to have user input that results in variable number of terms in where clauses.

Hibernate is quite powerful and the tooling in IntelliJ (or Eclipse) catches many common mistakes at edit time. Where most folks get themselves into trouble is with all the caching setup. Not surprising, but if you want to just use Hibernate as a cache-less mapper there's always the StatelessSession interface.

I also don't get the oft-repeated notion that ORMs result in bad table design. You can map any tables you can dream up. And if you insist on doing inheritance, Hibernate has 4 different strategies for mapping to classes. Certainly one of those has the performance characteristics you're looking for.
Duolingo: The Smartest Business Model in Education Technology
>> "I think the connection between scientology and Elizabeth Holmes is the “prison of belief”.

I see that a lot. People just want to believe, they want to follow, to find someone to show them the way. Shine a bright light in the darkness and people will flock to you and sit at your feet and follow in your footsteps even if you don't know where you're going. And you don't; you never do. Your little light can only cut the darkness so far ahead of you.

Sometimes you genuinely want to find a way, sometimes you're just shining a light to attract suckers, like an angler fish. But people will always come to you if you promise them all the answers- and often stick around long after they know you have nothing, because there's nothing left for them to do. They can check out, but they can never leave.
I think tragedy of the commons isn’t really a problem for the development side, though I think I get what you mean, but it comes in the form of excessive fragmentation of the ecosystem. Do we really need dozens of Linux distros when most of them are really just tweaks and could easily be packages on other distros? Do we really need all the little incompatible changes, new UI shells, multiple marketplace stores and multiple messaging clients and crapware on Android OEM phones? I think that’s a very different problem though.

Plenty of big companies absolutely get open source and leverage it to great effect. Not just in an abusive way (although how is simply exercising a right in Libre terms abusive?), but also to mutual advantage. Plenty of big companies contribute significantly to open source, but where it genuinely serves a need.

The fact is sometimes you need to invest more into creating software than you could ever capture via an OS business model, even indirectly. Plenty of software products cost millions of $ to develop, are needed in short time scales, require massive input from highly skilled non-programmers and there are people who will pay well to get it. Open source models are not well adapted to that sort of requirement.
Don't use Electon. Your users WILL notice and complain about performance.

Is this actually true? Slack and Discord are valued at ~$7B and $2B respectively, and neither have found it necessary to move off their Electron apps. I assume both companies have already evaluated whether Electron's performance impacts their their bottom line, and concluded it does not.

Electron is undoubtedly slower and more resource-intensive than other options, but outside of specific audiences (HN readers) I bet most people won't care.
I wonder if the translator fully understood the questions.
I think parent is commenting at the fact that everybody is just doing a startup just because they can. I somewhat agree, because I don’t see as many startups launching that provide a societal and economical utility like those in 2007-2012.

Like the u/giarc commented. What makes bento so different than all the food delivery services that came before it? There’s nothing unique about it.
No TV consumption, no social media like Reddit, Twitter or Facebook. I don't buy newspapers and seldom magazines. My smartphone is only for traveling and snapshots, I leave it at home most of the time (it has no SIM card). For phone calls I use an internet-less dumbphone instead, which is annoying to use, to use it as little as possible. In addition, I try to outsource as much communication as possible to email, to slow it down. I have the luxury to get away with reading work mail only at work. My private emails are filtered and freed from annoying subscriptions and newsletters. I have only a handful of websites I visit on a regular basis, which is still time consuming enough. If I need specific information, I web-search for it. Apart from this, I actively try to scrutinize information to avoid bias, but that's almost hopeless.
I've switched over to Firefox on all devices. It's especially useful on Android because I can use uBlock and other useful extensions, where Chrome doesn't have any.

The only feature I hope for is "hit tab to search" after typing a domain name in the search bar. For example in Chrome I can type "youtube.com" and then hit tab, and then type in a search query.
You have now completed this write of passage.
Shameless plug - for anyone that's interested, I also wrote a NES emulator in Rust a few years back: https://github.com/koute/pinky

I even compiled it to WebAssembly: https://koute.github.io/pinky-web/

> The CPU address space has several PPU registers mapped. So the CPU maintains a permanent mutable reference to the PPU. But the top-level Nes object also owns the PPU. I worked around this using Box to assign fixed memory addresses to values, and then “unsafe” pointer dereferences when needed.

There's actually a neat little trick which I used in my emulator which allows you to fulfill Rust's single ownership rule while simultaneously keeping the subcomponents of the emulator independent, making it possible to interconnect them without any unsafe and letting the compiler to optimize the whole thing as everything is statically dispatched.

Basically simplifying a little bit for each component (CPU, PPU, APU, etc.):

1. You put the whole state of the component into a separate `State` structure.

2. You create a `Context` trait which has a `get_state`/`get_state_mut` method as well as various callbacks needed by the component itself (e.g. PPU's `Context` has a `peek_video_memory` so that it can read video memory which is stored externally).

3. You create an `Interface` trait (with `Context` as supertrait) which contains the public interface of a given component (e.g. PPU has `execute`, `peek_ppustatus`, etc.).

4. You put the whole implementation of the component inside of a `Private` trait (with `Context` as supertrait).

5. You do a blanket impl of `Interface` and `Private` for any `T` which implements `Context`.

So then you create a single `Nes` structure which has `cpu::State`, `ppu::State`, etc. inside of it as fields, and implements the `cpu::Context`, `ppu::Context`, etc. traits. Inside of those impls you just wire the various subcomponents together, and voila, every component is encapsulated from each other and yet they can talk with each other, and there is no indirection anywhere (no `Box`es, no `RefCell`s, etc.).
If your budget is $1.5k+ you could put an external GPU on a Mac Mini and call it a day.
If I’m ever willing to make the time, I think I’ll complain to Netflix about this while framing it as an accessibility problem.

They must know by now how many people hate this, but they refuse to let users disable it. If you CC their general counsel and point out that it raises access barriers for users with attention or anxiety disorders, they might actually do something.
Here in France it is even worst, we're still 20 years behind in mentality regarding remote work

Most managers here think remote work = staying at home playing video games, even if you're lucky enough to find a company ok with you doing 1 or 2 days per week at home, you have to report everything you do because they're extra paranoid about it
Fwiw a16z did a video on the realtor setup and ideas around interacting with companies more in the future for real
estate: https://m.youtube.com/watch?v=IRPH3K1GXj0

I haven’t looked into the details of the article, but it seems interesting that the RE startups may have some shared interest in changing the 6% rule, although one could speculate their goals
may be to replace an “organic monopoly” of many agents with a (scaled techno-geographic?) monopoly.

Edit: the Hahn blogpost (https://www.inman.com/2019/03/08/what-the-bombshell-buyer-si...) linked by the article posits the suit could be expanded to also involve larger RE brokerages and not just franchise orgs:

“The lawyers picked the top four largest real estate brokerages in their Complaint; I assume that they will quickly realize that RE/MAX and Keller Williams are not brokerages, but franchise companies, and will either amend the Complaint to include some other large brokerages (Howard Hanna? Compass? HomeSmart? eXp Realty?) and/or other large franchisors (Realogy brands, Exit, NextHome, etc.).

The basic claim is that the MLS rule of unilateral offer of compensation is a violation of the Sherman Antitrust Act.“
Pakistan? One of the translations is in Urdu, and Pakistan is the only country that speaks it. If so, I'm curious where in Pakistan. I live in Lahore, so I'm personally much better off in terms of healthcare.
Even 10 USD / month would work. (This is roughly how much Reddit Premium costs.)
> "although some functions like in-game purchases and 'social' things may not work."

Some may even consider that a feature.
My wife would frequently find better houses than our agent, just using free online resources.
Because you don't have the redownload libreoffice everytime you want to write something?

Theres Ted if you cant stretch to libreoffice though.
https://www.nllgg.nl/Ted/
On iOS I randomly get this weird lag when I swipe down and start typing an app name. Sometimes it shows LOCAL apps and sometimes it... doesn't. For a while. WHY, Apple, WHY? You used to "JUST WORK"
This should help for a few months, and then web developers will come up with some other terrible anti-pattern, and we will need yet another line of defense.
Netflix is horrible for this. It's even worse on a smart TV, where navigation is already cumbersome enough without auto-play videos starting every time I'm on a menu item for more than a second.
Newegg has been particularly bad with this in the past. Looks like they have fixed it now, but used to be that it would take a 0.5-2 seconds for their advertisement to load above the "search within", "only show newegg products, I'm not looking for an amazon experience", and "sort by" fields. Go to click on those (I always prefer "only newegg" instead of the default "all sellers"), and half the time I'd end up clicking on the advertisement when it loaded.

Makes me wish there was some sort of an understanding that: The thing I just clicked was somewhere else within the last 400ms, so click on what used to be there."
> For example, url sharing / deep linking goes out the window.

Yes, thats the one good thing about the web. But there is no reason proper applications cannot support this.

> Or look at macOS' News.app.

Im not familiar with that app but I guess its some sort of reader for hypertext documents (published by news organizations)? The one thing a browser is good at?
So, uh, the controller has a microphone, and connects directly to the Internet over Wi-Fi. I guess it's nice this time they told us upfront?

Really curious what the network performance requirements would be for 4K or 8K game streaming. Haven't heard them admit to that.
I don't know, my non-dev version has an "install addon from file" menu item.
What my sibling said, but also, that unsafe doesn’t mean you’re free from rules; where safe and unsafe interact, your unsafe code is expected to uphold the safety guarantees that the safe code expects.

This matters because of stuff like the article; if you see the other thread, I’m pretty sure (though haven’t verified yet) that this code has UB, even though they’re using unsafe.
Google jumps into gaming with Google Stadia streaming service
DigitalOcean Load Balancers Now Support Proxy Protocol
I'm sure they allow it, but is it "easy" to find a remote job there? I think he meant "a lot of companies still don't accept remote worker"
Objectives, Key Results, and Software Teams
SF has a population density of 18,679 per square mile. NYC has 27,000. There is plenty of room, you'd just have to scale everything along with it.

Also, for what it's worth, > population density = < net pollution. mass transit etc. are great optimizations of resources. these humans already exist - it's just a matter of where they exist.
Yes. You have to have mozilla sign your add-ons after every little edit you make or use the beta/dev with bugs.
You are supposed to use the Web Notifications API and let the browser/OS choose whether it should play a sound.
also has one more added graphics option now
Is selling a patreon account now valuable? Ie if a company holds a patreon account, sell the company with just that asset to someone making similar content with a small transition period to fool any possible rules >:)
I recently replaced the drive on mine. The most annoying part of the process is the fact that you have to purchase adhesive strips to be able to re-seat the display.
> What is a "pseudo-application" and what is a "document viewer"?

Presumably, a webpage in a browser.

> In particular, how does having an app runtime outside a "document viewer" accomplish the goals you would like to see?

> I've seen tons of non-garbage web apps.

Good web software can't compete with good native software in things like performance and platform features, so this is my guess as to what is considered to be non-"garbage".
Highly depends on the team. I've seen teams where most members are remote but most teams I've been on shun working-from-home regularly.

That and most companies pay based off "cost of living" and you cannot expect Bay Area pay outside of the Bay Area. Asking for work-anywhere-in-the-world remote work basically feels like shooting yourself in the foot if you value compensation.
What about using the notifications API? Seems a cleaner way than autoplaying sound in any case.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...
> I'm almost more excited for the scroll anchoring feature.

This has been my #1 gripe with web sites since pretty much the dawn of time. Finally!
1) They did, until he removed core functionality and re-uploaded

2) They are, hence the removal of functionality and re-upload

>Which seems to be false

How...
Clickbait title. 99% of the article is about the Bay Area, where we already know there’s a housing crisis.
Do you mean like this? [0]

[0] https://imgur.com/gallery/OaQDY
I'd second that book recommendation. I just went through it again on a long plane flight, and much (if not all) of the configuration advice applies to more recent releases as well.
Three Ways to Run Docker on AWS
> I really don't like those dishes that bend over sideways to eradicate even the last bit of meat.

It's not like meat is a natural part of every dish that must be eradicated at some kind of effort to produce a meatless dish, though I'd agree that dishes they start with a meat dish and take that approach are often among the worst of meatless dishes.
Isn't this just the sort of stuff students do in a first year discrete math class? This question is hardly scandalous.
Automation Domination – Work Smarter Not Harder
Inb4 Google closes the Stadia cloud gaming service.
The reality is realtors are well protected in the sale of the home for many reasons that are defined in the legal documentation required and not in the closing process.

Given the point I'm curious now of how many individual realtors take the blame in a sale after the fact? It is generally the seller who's on the hook and is directly sued from what I've seen. Maybe this is incorrect but it's rarely the middle man stepping in to take the bullet.

In fact I have a personal example where an agency did not do due diligence on behalf of me and shifted the blame to me leaving me holding the bag of potentially being out 5 figures in a botched purchase. Not until I threatened to take legal action against both agencies (never sign arbitration BTW) did both of then come to the plate to decide on how to avoid that as both agencies had points of blame.

Regardless, even though the realtors were to blame neither of them seemed concerned and ultimately the claim was handled by the agencies at a higher level than the individuals to blame.

There is an argument of diminishing return on the value of realtors however I wouldn't paint it with such a broad stroke. That being said I do believe it's s scam that realtors in a legacy mindset are offended when negotiating their rate comes up - regardless of their work put into the sale of the home. Many flat out will not even hear the argument and seem entitled to it while being unable to defend the rationalization of.
Ask HN: How to type euro symbol from keyword?
Dollar is easily accessible but how to type "⍷" symbol? Same for any other currency. Is there any shortcodes?
Since you mentioned MySQL, there's this nice story about co-founder Michael “Monty” Widenius[1]. Also MySQL history/timeline[2] is nice example how you can go from 80% revenue drop(after going open source) to $1B acquisition.

[1] https://blog.openocean.vc/founder-stories-a-hackers-hacker-6...

[2] https://dri.es/the-history-of-mysql-ab
>and half the time I'd end up clicking on the advertisement when it loaded.

Just as planned
>None of my undergrad physics profs knew either general relativity or quantum mechanics at all well.

This is very odd. How can a physics professor not know undergraduate physics material?
..and I'd bet competitive gaming is out (need for low latency).
This is not a first service that tries to do that. And as before it all ends up with how close the gamer is to the server node, how stable user connection and whether connection is metered or not.

I just pinged my google.com server node - and it's over 16ms. Which means no 60fps.
Google announces its new gaming platform called Stadia
The problem in SF is that nobody wants to live in the fog. I wonder what’s the density east of divisadero!?
Login with Facebook, Google or AT&T? Thanks, but No Thanks
> You havent heard of LibreOffice?

Don't be disingenuous. The thread's about Firefox and JavaScript. It's quite clear @tehlike wasn't talking about native desktop apps, but web apps.
I think it comes down to performance measurement being a really weak area for many companies. No one really knows whats real when it comes to output over a 40 hour week, and so bosses are afraid of getting shafted by an employee whom they can't see toiling away at their desk.

It's all but fact that a 40 hour work week doesn't result in 40 hours of productivity. Those non productive hours are seen as acceptable in an office for some reason, but when you're at home and can fire up a video game, it's sacrilege.
Because I think it is a good way to fund development of open source software.
Ask HN: What are must know DBA concepts for developers?
Could you tag your responses as beginner/intermediate/advanced concepts?
I have never had someone who has not done programming before, watch me typing into a terminal and say it looks easy.
I don't think its hard or requires a huge amount of intelligence, but I think it is crazy to compare the barrier of entry for real estate to that of software engineer.

The average person would take minimum a year to go from no-skills to an actually useful independent engineer. I could literally take a crack at selling a house after a week of training and probably do alright.
I can't believe they used git even in the 70s and they managed to do it all in just 4 commits. Incredible engineers and astounding geniuses.
He is right about the alarming ratio of public school funding to public school failure.

California's problem isn't space. It's NIMBY. CA's gone so NIMBY that regulations stifle the younger generation's ability to build and buy their homes. My wife and I went to open houses this weekend. Young Berkeley professors can't afford to live where they work. Young teachers can't afford to live where they work. This sort of thing is a societal recipe for disaster.

(Long, but consider this a documentary on how NIMBY has affected housing in California, from the POV of a cool landlord.

https://www.youtube.com/watch?v=R8x4CWBMsPg )
"When I bought my house, my Realtor found some good listings, arranged viewings, did the paperwork, and set everything up for me. All useful services, and worth paying for. But was it worth $12k for less than 40 hours of total work? I don't think so."

A lot depends on the realtor.

One realtor I know not only does everything you mention, but also gives their clients lots of advice (based on many decades of experience in the industry) -- for instance, telling them if the prices they're setting on their home or bidding for are likely too high or too low, or what to do with a house in order to make it more likely to be sold. How much is such advice worth -- advice that could get them the house they're dreaming of or sell the house they desperately need to sell?

They also explain everything related to real-estate in great detail, tell them about the neighborhoods they're considering, drive them around all over the place (paying for their own gas, car, maintenance and insurance), sit in with them during the closing to go over the entire contract with them and explain everything and make sure they're not getting screwed. For sellers, the agent provides free advertising, spends a ton of time sitting at open houses waiting for people to show up and then showing them around, and trying to sell them the home, etc, etc. They negotiate deals and are the buyer's or seller's representative to the other party.

All this work is done for free unless the house is sold.

Again and again, I've heard how clients take months and months of this work done for free and then switch to go to another agent, paying the agent not a single dime for all the time they spent working for them. Or they'll just change their mind and no longer want to buy or sell.

I've heard so many horror stories from them: clients are often incredibly inconsiderate, calling at all hours of the night and on weekends (this is not a 9-5 job), expecting them to work when sick, or just being super abrasive assholes or liars. Personally, I would never put up with any of that, but agents have to make ends meet, so are often forced to work with those kinds of people or starve.

Watch the movie Glengarry Glen Ross sometime. The life of a typical real estate agent really is that bad, or worse.

Real estate agents also risk their own lives doing their jobs: they routinely go alone in to empty houses with complete strangers. It's not common, but real estate agents have been assaulted, raped, or killed while showing homes. How many people think of that: that being a real estate agent is actually a dangerous profession? I didn't until I got to know an agent well and they started telling me the horror stories of what they have to go through and put up with.