skysight-inc/HackerNews huggingface dataset:
My memory says that in NY, the landlord cannot enter or authorize someone else to enter without 24 hours notice to the tenant.

This is not widely known, and virtually every rental contract says otherwise. But those terms are unenforceable.

For the record, I learned this from a lawyer living in New York as an example of why many landlords choose not to rent to lawyers.

It turns out that while discriminating on the basis of race and religion is illegal, it is perfectly legal to discriminate on the basis of profession. As a result it can be challenging for lawyers to find a place to live.
"Give us a 5 star review, email us, then get a free battery pack" - a note in the parcel from one particular top seller from China. How is this allowed?
Java, or projects in Java? Java pretty much has to, in order to preserve the most important feature a runtime can have: backwards compatibility.

Projects in Java are cursed from the beginning: the language has great constructs for boxing complexity (modifiers, inheritance, interfaces, generics, design patterns allowed by performant virtual calls, etc.). This means that when projects in other languages become unmanageable, Java will keep chugging business requirements like no other. Accumulating complexity is the fate of every successful system; and Java makes you go a long way.

Now, a newly arrived person on the job market will face systems with a pile of convoluted business logic a few century.human's high. The first ticket will be: 0.5 month of getting accustomed to the language/framework, 1 month of archeology, producing 50 lines of code, 150 of tests, break a few tests, 0.5 month of corrections; For something that would take one day as a greenfield project. The job might pay well, but will be very lowly gratifying.

Now the sound enterprise strategy is to keep using Java: the platform allows for deeper and finer integration into the business processes. But the sound individual strategy for newcomers is to stay the hell away from it. Oh, you will only work with Rust/Go/Elixir/etc? Here, have a greenfield project.

Clojure/Scala/Kotlin/Ceylon/Frege/Groovy might be the best of both worlds.
I think you've walked around the part where traditional cultures actively pushed women to get married and have kids, forced even, through arranged marriages or selling them to basically go live with the man's family. It's not so much as drawing back benefits as it is literally forcing them either through extreme social pressure and isolation or physical force. Anything less has been a slow decline as we slowly drift away from that sort of strict culture

I recall at least a few articles suggesting that among ancient humans far fewer men than women engage in reproduction, suggesting that only a handful of men (proportionally speaking) were selected to breed by a larger population of women. I hate that it sounds like incel speak but we could probably see more babies if we 1) get rid of monogamous culture altogether and 2) limit birth control options. The alternative is to return to a stricter marriage and baby making enforcement culture.

I'm not advocating for anything here to be clear. I just dont think theres a "solution" that lands perfectly where everyone wants it to
> If you have to move the site to a different box, can you guarantee that those database IDs will remain the same?

If you don't, then your foreign keys will be broken.

> If you have to restore the site’s data from a backup, can you guarantee that those database IDs will remain the same?

Ditto. If they're not, then that backup seems broken.

> If you have to switch to a different database server (say from Microsoft SQL Server to Oracle), can you guarantee that those database IDs will remain the same?

Ditto.

I've only had one situation where I had to change the database ids, including making sure to change all foreign keys accordingly in all tables, and that was when I was migrating multiple company-hosted instances of a webapp they had in their intranets to a unified internet-hosted server. I was merging multiple databases into one so modifying ids was necessary so they wouldn't clash.

At least in my case, I don't think any of those companies' employees would have had the expectation for their intranet URLs to work. I mean, even the host/domain part of the URI changed. Why would they have the expectation for the path part to still work?
Yeah, the employees are the greedy ones.
Even Adobe has bungled its cross-platform UI support/tooling a number of times. I think the reduced scope definitely helps though, but even in that scenario some problems seem to unavoidably surface.

Source: have written plugins for Adobe products for many years.
I didn't see any date in that paper. Is it new? (The URL suggests 2019, but that could just be when it was put on that server, not when the paper was written).
A lot of this depends on how you define "success". By my own definition, my first successful venture happened when I was 25 years old, but it was a rather painful process largely due to my inexperience in business specifically and my inexperience in life generally.

I've had a couple of successful ventures since then, in my 30s and 40s, and each time it has been easier because I've learned a lot, in both business and life, since then.
The investment bank sells a lot of shares to its own preferred clients. If the price then drops (because the initial offering price was too high) those preferred clients lose money.

So the bank has every incentive to price it low, and usually does. So when the market goes even lower, we know that the IPO was done out of desperation and that early investors who had influence over the IPO price were eager to dump some or all of their positions.

One day is too soon to know for certain that this happened. But if the price is still down a week or two later then it probably did.
They already have a payments platform and app store that requires a linking, which is more than adequate for highly targeted advertising.

I really think that civic engagement and petitioning law makers to protect our privacy is the main tool we have to get out of these impending messes.
SwiftWasm: Run Swift in Browsers
Profitable companies may also want to raise money, to invest it in their profitable business opportunities and generate even more profits.
I have added some of the links from this thread to LearnAwesome's sales topic to make it one single place to find all awesome learning resources about sales: https://github.com/learn-awesome/learn-awesome/blob/master/s...

If you do come across other great quality learning resources in any formats, do send a pull request.
"Legacy" includes good things too, not just bad things.

I grew up promising myself that I'd never touch Java, but when I did, it was a relevation. Everything just works. The debugger was just "attach and go" -- no recompilation with different flags, no fishing for the IDE / plugin version in which it wasn't broken, no glaring missing features (conditional breakpoints, stack traces...) The frameworks were refreshingly complete; I always felt that extensibility mechanisms were available so that I didn't have to gamble that my requirements fell into the "just works" subset rather than the "just doesn't" subset. I never had to wonder if integrating with some bog-standard protocol would mean maintaining my own open source project; maven always had something workable available.

Java wasn't born like this, but the legacy it accumulated made it formidable.

Early-adopting a hip language nets you a few sexy wins at the cost of completely eliminating a gigantic Brontosaurus-size long tail of important functionality and ecosystem maturity.
No, rebase -i doesn't, that's why I said `rebase -i HEAD~x` in my original comment and not just `rebase -i`. `rebase -i` should of course continue to exist.

Your right when you say I don't "just" want to introduce an alias because I want to restrict the arguments.

The other issue with that solution is I don't just want a solution for me. I know how this works now, I've already memorized the magic incantation to edit history and later spent the time to understand why the command does what it does (the same goes for basically all the other common git commands). What I want is a solution that works for everyone, out of the box, so we can stop wasting time teaching git internals.
Needing to raise cash to operate or expand, and positive cashflow arent mutually exclusive ideas.

A company can be profitable and still need more working capital to expand.

That being said, I don't know what to make of Uber, Lyft and WeWork (future) IPO's yet, but I am highly skeptical
Yes, but WASI doesn't define calling convention and binary format, because they are defined by WASM. Your proposed WASI-native would need to define them.
Eating meat requires moving plant food energy up an extra trophic level in which lots of energy is lost. For this reason, vegetable protein often requires several times less crop cultivation per gram than does animal protein.
Geeze... the contemporary Internet, man. Ten years ago, we flamed each other over our personal preferences, and others' views were "stupid". Today, we flame on about our personal preferences, and others are implied to be "immoral". Both exercises are admittedly immature, but at the least the former was more cheeky and not so up its own posterior.

Yes, tooling is a huge deal in day-to-day life. When I think about drains on my time and productivity, I've never been too setback by having to deal with a "for" loop instead of something more monadic. However, I HAVE spent days doing painful refactoring work, that could have been done in minutes with a few right-clicks in an IDE. Build tools and CI/CD pipelines, profiling and troubleshooting tools, etc etc etc.

I can't believe that any of this stuff requires defending oneself from having "sold out to The Man".
I think Spotify also fell below its IPO opening price as well at the end of the day.
I mean, honesty is also a virtue. So's loyalty.

That doesn't mean we vote for loyal, honest politicians. (Just people who present themselves as such, which can be significantly easier)
If I may ask, what kind of work do you do for them?

I like working with manufacturing people: machine shops, motor rewinders, etc. One of my current clients retrofits old machine tools (think 20hp planers using 0-10V controls) with new digital controls. I always enjoy discussing that kind of stuff.
This is a foolish viewpoint. Amazon got immense economies of scale as they grew, Uber’s costs scale alongside it.

It drives me crazy that so many people equivocate them.
This is only true in general for tech companies because they tend to be "capital light"-- they don't require a lot of traditional capital assets such as factories and warehouses. Generally, the only tech companies which require a lot of capital are the ones that are burning cash and need to replenish their coffers. But IPOs can greatly help jump-start the growth of more traditional companies which are often constrained by lack of cash as they grow sales organically, even if they are quite profitable on a net income basis. This allows these companies to open new plants and stores and to hire people to develop new products. As much as tech increasingly dominates the economy, it's far from the only industry that matters.
This. Technically there is nothing I don't like about JVM right now, everything that seems impossible 15 years ago is now solved. AOT used to be bag of hurt with GCJ ( I know I could use Excelsior, not sure if it was free in my time though ), but now even that will be an supported option from Graal.

Java the languages still isn't pretty, but it has been much improved.

OpenJDK is GPL and apart form the trademark ( ? ) with Java ( I didn't read much into the JakartaEE problem, ) everything should be fine. I am just a little uneasy with Oracle lurking around, I just don't know what they are going to do next.
Online 1990's Shareware CD Collection
> "market is down today, which isn't helping Uber but its probably not much of a factor"

> It's actually a big factor.

I assume you are trolling but just in case....

the SPY is now up on the day and Uber is still below its IPO price, so I guess we can put to rest the idea that a down market is a big factor in Uber trading below its IPO price.
Hudson Yards' Vessel: Like a park, but vertical
I didn't interpret the article that way at all -- I can understand how somebody saying "hey, look at these neat things I found and learned outside!" could be misinterpreted as "self-important wankery" due to the natural "great for you!" or "who gives a shit?" reactions that kind of thing tends to garner. I at least found it neat _because of_ (not in spite of) the feeling that it was almost as if I was reading from the author's personal diary.

Why such a negative reaction? I legitimately don't get your hostility. Imagine if a kindergartener wrote a book about their day spent playing outside on a Saturday -- would you call that "self-important wankery", too?
What if you have a Next door lock and your Google account is terminated for a terms of service violation?
Waitstaff are employees, and aren't providing the chairs and plates. A waiter gets his ass in the restaurant and does stuff. That's it. Totally different situation.

Drivers are subcontractors, and if they are looking at striking, that's a signal that their pay isn't sufficient. Ride sharing providers encourage their contractors to perform accept tasks in a way that resembles full-time employment, but the message they recruit with is that "you're making extra money with your car, which is "free"". It's a bad deal because they pay $0.85/mi, and operating the car costs around $0.58/mi (which is a lowball estimate for livery use, and $0.23 of that is depreciation). When you factor in additional wear and tear, brakes, etc, full time drivers probably have another $0.10 of expense.

It's inherently exploitive, as Lyft subcontractors are working for cashflow and operating at a loss.

Where the money comes from is Lyft's problem. They can cut operational overhead, raise prices, reduce R&D science projects, take measures to eliminate unprofitable routes, etc. The usual reply is "robot cars are coming and this goes away"! That's not really right either -- there are no sentient robots driving around looking to be exploited, so they will need to own or lease those assets, which will depreciate at something like $0.50-0.75/mi (your robot cab isn't going to be cheap), and they will need to manage, insure and maintain the assets, which isn't cheap either.

Congrats to the folks who cash out. As amazing as ridesharing is, it's a fucked business.
Link prefetch/preload puts the loading under the control of the browser. The user can't see whether it loads or not, so the browser can make intelligent decisions about when to load it or whether to even load it at all.

Portals are user-visible, so the browser can't defer the load.
Existing laws are probably in place to prevent them from "getting even" and since young people have lower turnouts at elections, politicians do the math on who to support so regulation isn't likely to change either.

Another example would be social security next to health insurance, IIRC that has the same scam baked into it.
5000 refers to number of times a method needs to be called before the JIT decides the method is "warm" and needs to be compiled by the expensive to run C2 compiler which produces good quality machine code.

If you're benchmarking java code and the method was not called enough times before you measure, you're measuring code compiled by C1 (or even interpreted).

The performance gap between Java and C is on the order of x2 to x5.
I will chalk it up to my allergies.
I would say, let Google develops the tech and figures out where are the blocking points, and then it could eventually become a standard and be implemented by other actors.

About making the technology reliable and secure, I do trust Google more than my bank.
Lyft has to be in business till then. Local taxi companies are more expensive than Uber and inconvenient. Public transport is barely used. Uber is providing a subsidized public service while employing a lot of people.

The moat is there but the question is one of diversification and sustenance as a public company. In the coming days, there'll be a massive internal push to reduce costs, diversify and become profitable. If the foundation of the company is strong, they'll be able to get through this period. Instead, if most of the early employees jump ship (which I strongly suspect is likely to happen), it's going to meander. For Uber's own sake, having a mature and repentant Travis back might not be a bad thing. They'll need a second wind at some point.
Thanks for the links. That being said, new developments in GCs on the JVM (like Shenandoah and ZGC) are yielding very impressive results. Things like < 1ms pause times for heaps in the TB range. No other free GC for any other language approaches this as far as I'm aware, including golang's which people claim is fast, but completely gets destroyed for even heaps in the GB range (I did some benchmarks).
Yeah, of all the popular C++ tookits listed in the site, my personal "favorite" is wxWidgets (favorite in quotes because i do not really like it, it is just the one i found myself being more comfortable with). We're using Qt at my current job and while i'm ok with it, i still like working with wxWidgets more than Qt (even if Qt is certainly more polished).

I found documentation fine with both toolkits, although i really like that wxWidgets's docs are in CHM format so i can quickly search and scan them locally with a handy tree of contents at the side. With Qt i have to use the online docs and searching goes through Google which slows things down (...there might be some offline docs at the Qt site to download, but i couldn't find it).
Huh, interesting. Well, that's a flaw in the epistemological process, right? What is the problem?
I had it ( not the 100k version) and it worked pretty well. But he’s still right - the use case just isn’t there. At least it wasn’t for me.
I suggest you to move to other city / country as fast as possible. For me the same thing started in my late 20s, and now in my 30s all my life is about finding places where the air pollution is very low, as for my body it became impossible to detoxify even a small amount of air pollution. You're getting a chronic disease, and there's no way back for now.
Automating Postgres Indexing with Dexter and HypoPG
It’s considered an over-valuation by investors and anyone who has ever worked in a sellside investment bank or on IPOs.

The goal of the investment bank is to work with the company to come up with a sensible valuation that will clear and pop on the IPO date. The bank has to take into account the market conditions and investor appetite when structuring the trade and setting the price. It is also why you hear of company’s pulling out of IPOs when market conditions are not favourable.

I don’t follow your point exactly, if the value of the asset is relative to the context it presents itself, and the price you set for the IPO is not consistent with the said context, then you are incorrectly valuing the asset. The asset can be under or overvalued.

For the record I have actually worked on IPOs at an investment bank structuring these kind of trades, so it’s not a pretense of knowledge on my part.
afaik orthodox jews cannot operate anything electrical on sabbath (which leads hilarious stuff like sabbath elevators https://en.wikipedia.org/wiki/Shabbat_elevator).
I've used it on Linux (Raspberry Pi for my case) just fine. Guides here if you need it: https://www.libcinder.org/docs/guides/linux-notes/index.html
These companies are all just spokes on the wheel, keeps on spinning.
I was reading your comment and nodding until this part:

>think of Facebook, which now has investor pressure to increase the price, which results in careless decisions about data handling, privacy etc

Trying to frame FB as a "bunch good kids under pressure" is a monumental mistake. Data has always been their business, selling ads and don't giving two shits about security is part of their DNA
Embed the most suspicious possible tool in an application that can be automatically updated and remotely controlled.

Great.
Do IPOs usually generate new funding for the IPO company?

IPOs seem serve as an `exit` for private investors who bought in while the company was private?
A lot of sweeping assumptions and generalizations going on in this one...
Everything you should know about auto-tagging customer feedback
> What I am claiming is that totalitarian regimes make the same argument, and in their case, it is clear that mandatory public education is part of the totalitarian control.

I think the recent totalitarian regimes and their education clearly defines how this is not possible. Many of Nobel Prize-winners, army of scientists who raged against the regime or fled are from totalitarian countries.

But even if they didn't rebel, still they could have been a remarkable scientist or just a decent human being.
Not saying they should be immune, but rather pointing the focus at decision makers. Some of them could be engineers too.
Am I back in the late 1990's?
>...unless they're going to hike up their prices.

I assume that's what any company like this does eventually once they've captured enough of the market.
> I am just a little uneasy with Oracle lurking around, I just don't know what they are going to do next.

What do you mean by "lurking"? Oracle is the company developing OpenJDK, and it will continue to do so. All our projects are done in the open, with lots of communication.
When learning from a successful young CEO icon, we need a healthy balance of humility and skepticism, so that we benefit from the good stuff (e.g., sincere bits they learned by virtue of their unusual experiences and access), but so that we aren't taking investment advice from a lottery winner. Nor do we want to be buying nutritional supplements ("vision", "smarts") pitched by a fitness influencer who actually used steroids ("family money/connections", "terrific luck", "backstabbing").
Not being able to find the queen does not mean that she is not there. They are quite difficult to locate, sometimes.

Plus, this isn't a quotation from an actual beekeeper. It's a quotation from the driver of the car.
Yeah, but arguably smartphone technology reduced admin costs and raised the size of the economically optimal taxi provider. That has been around for less than a hundred years.

Edit: Dangit, I thought my reply got eaten, but I was looking at a different branch. See the rephrasing here: https://news.ycombinator.com/item?id=19880565
Ah cross-platform UI libraries, when you want the user experience of Electron with the convenience and safety of C++.
Very weak examples.

Monster and Beats ended their partnership in 2012, and Apple didn't acquire Beats till 2014.

Airport had a long run, and even when discontinued, Apple offered to service Airport products for five years.

Yes, Ping got the axe, and my heart goes out to both of Ping's active users.
Define unfair. How can we objectively determine what would be a fair wage for that work?