skysight-inc/HackerNews huggingface dataset:
Banning Airbnb can be detrimental to the local economy, as well as the freedom for residents to do what they want with their property.
>If you want a cryptographer (i.e. lvh) to solve a real production issue for you, that would in most cases be a business transaction.

If we're being uncharitable, yes.

But the parent didn't ask the other to sit down and write code, or consult, or design a system for them. In the course of an already existing discussion on the merits (and the faults) of various session auth schemes, the parent asked the other person to elaborate on why he said something.

Which people do all the time without getting paid, and the grandparent was already doing (offering his opinion) anyway.

So that it's a "real production issue" for them is irrelevant. I participate in conversations all the time concerning something that is a real business issue for me or the others, and nobody feels like we should be getting paid because we have a talk. In fact half of the discussions on HN concern frameworks, tools, deployment schemes, etc, we use in production, and we have "real production issues" with and are interested in getting other's opinions in the discussion.

I think one can easily see how this is different from a proper consulting gig.

>"If you want a cryptographer (i.e. lvh) to solve a real production issue for you, that would in most cases be a business transaction."

That sounds like what some kind of caricature of a high street lawyer who charges from the first minute, even people they casually talk with. As if answering a comment on HN would equal to doing a consulting gig.

It's doubly uncharitable since the parent asked nicely and also added "or link me to a source". Should he be charged for a link too?
In particular we weren't storing a ton per session, but were having to spin up more and more instances or suffer port exhaustion.

We go from about 25,000 request a second during the day to 200 at night, and there was no good way we could find to autoscale it.

We scripted the build up process based on time and sometimes it wasn't meeting demand.

It was taking a lot of devops time. I'd had an experimental fork of our application using JWT floating around for a while and my manager made it a priority. It's never needed any maintaince and had been a real improvement for us.
> The first paragraph is incorrect. The wing has to be built to withstand lift, which far exceeds the weight of the engines. The weight force of the engine typically counteracts the lifting force, which means -- if you're clever with your design -- you can build a lighter wing structure with a bigger engine.

But couldn't you achieve the same effect by locating batteries in the wing? The point of the previous comment is that comparing fuel weight with battery weight is deceptive because electric engines are lighter. That doesn't mean an electric engine system is lighter weight than a conventional jet engine system. (So the structural design you're describing sounds feasible.)
Right. You could also compile it yourself with the same chainset / toolset the Krypton folks use and compare the binaries. There's probably a way to compare everything but the digital signature with two binaries too... Not sure
What are some of those historical examples?
these are just things people say to get people to take accept lower salaries. a narrative that serves to suppress wages.

quite frankly i’d like our industry to evolve past mission narratives.
You're assuming I didn't grow up poor. You'd be correct in that assumption, but that doesn't mean I can't empathize. I didn't grow up poor, but when it came time to get my first job, I didn't have any money nor any help from my parents, or any fall back options. I had to get a job to afford food and shelter.

I still cared about the work that I'd be doing.
The problem is a tragedy of the commons. If you build a giant box in the Las Ramblas, you reap the benefits but worsen the neighborhood for others. If everyone does that, you have destroyed Las Ramblas.
as I suspect most people in the US have never driven their car at its top speed.

I've probably run every vehicle I've ever owned until it topped out (or as close as practical). And I've owned some fast ones. I still think it's a mostly useless metric. Even in Nevada with 20 miles of visibility and empty road in front of you, there's a limit to what you can do on a public road without the odds rapidly stacking against you with each added mph. And the vast majority of tracks don't have a straight long enough to get to 260mph. So lot of damned good that 2.9MM car does you on I-405 at 5:00...or on a track day.

0-60, OTOH...
Sure it can! Google could be the only option in Firefox. But that's not the case. In any case, the vast majority of users simply do not care and will happily use whatever is given to them. The people that do care have the ability to change the defaults.

I'm not really sure why you're viewing this as the end of the world, especially since all the money that Google pays to Mozilla enables the development of Firefox in the first place.

What else are you gonna use? lynx?
A full day interview is standard. You grant that it's standard, right in the first sentence of your post. But you'll tell anyone who offers you a standard interview to take a hike?

A full day interview (and reasonable) is standard if a company seriously exploring a candidate. A full day interview before a company is seriously exploring a candidate is also standard but it's a standard for the seriously broken and abusive interview process of many organizations today.

The strong reaction people to several of the processes you name comes when those are the first filter a candidate encounters, a qualified person invests a lot of time in them, and then discovers the organization simply wasn't serious to begin with. and they've essentially cheat the person out of significant time. All this gets worse if you encounter many companies doing this in a single job search.
Einstein Riddle/Zebra Puzzle in Prolog
At the end of the article csvkit is given an honourable mention. I’m a big fan and I’ve used it a lot in the past, but these days I’d say that xsv > csvkit for working with CSV files on the command-line.

https://github.com/BurntSushi/xsv
> Compared to what I'm used to in Europe, California is wasting crazy amounts of energy. Poorly insulated homes, old and inefficient AC/heating units,

Are you living in a particularly new region?

Every time I've seen this come up, the data actually says the opposite: the median US home is better insulated, more recently built and more efficiently climate-controlled. Which is unsurprising, because they're newer, basically. Home technology over the last half century has made huge improvements in energy consumption.

It's true that the median US home is much larger than what you probably see where you are. And obviously that goes to total consumption. But it's not an issue with housing technology at all.
the way we redistribute wealth right now is through busy work. this is incredibly irrational. once we recognize that, we can start thinking about alternatives in earnest.
The majority of Linux installations is probably Android smartphones, and well Google was informed alright, but still 95% of those phones were caught with their pants down because well their pants had fallen down a long long time ago given they last received security updates years ago.
get a van instead if you need to move things. Those pickups are ridiculous in their energy consumption and waste of resources.
What things ought to be is a moral question so far you haven't given me a single reason to support that idea.

I repeat. I am for human rights I don't discriminate and I don't favor people. I treat everyone the same. That's a perfectly ethical position and I am no more villain than someone a saint regardless of whether i choose to prioritize one group of minorities over another.

It pays dividends to those who are favored by the rights yes. It's still discriminatory towards a bunch of other minorities.
That 70% stat is not helpful because that's just the energy source companies. They're not consuming the energy, they're selling it. When you put Exxon gas in your car you are the one emitting the CO2, not Exxon.
Or another way of putting it, the Navajo Nation may lose in the short term, but without these transitions, they and everybody else could end up losing much more over a far longer timescale.

I do, however, believe that green power policy should include assistance to the people and communities affected negatively by decarbonization, as the pain to those folks is much higher than it is to wealthy Californians who merely pay slightly higher taxes to get the new energy production and efficiency measures installed.
That's not the current behavior, so I'd say it's been implemented.
I'm a web developer. I'm forced to write code in dozens of languages.
Not at all (at least not in my case). I already know how much I can afford to pay for someone doing that work I'm hoping to hire you to do. I want to make sure you're interested in that work before I tell you that number, only because I don't want that number to be what pushes you over.

Sure, maybe you'll lie and say yes to get the number from me. That's a risk I have to take. But if you say no, at least we didn't bother having you come on board just to be unhappy.
Only if I need/want widgets. Which isn't included in the hypothetical. Because the point is to highlight what happens when I sell you something and makes the distribution unequal again.

If I come out the same whether or not I sell polish, why should I sell polish? Rationally, I shouldn't.

That's also a good reason we should be very careful about using words like rational and fair. There's a lot of perspective hiding in both. And at the very least, fair does not have an easy definition for all situations.
“AtariLeaks” – Secret Atari DRAM Resale Operation Revealed by FBI (2013)
If you start there you would probably get way more success than asking mr. and mrs. Johnson to sort their waste and not eat cow.

Not sure why this is controversial.
We use Shenandoah everywhere. It’s amazingly great.
Buy an iPhone SE. It's got a 4-inch screen, barely larger than the original.

There are phones made with small screens still. Stop complaining that large-screen phones don't have small screens and just buy a phone that has the small screen you want.
There's a reasonable limit on how high you can build, as well as noise concerns and NIMBY. Building over existing neighborhood is a nogo.

Train transfers are a pain in the ass. I live a block away from a rail station and only use it when going to the absolute heart of downtown. Even then I drive as close as I reasonably can and take the train for the last 3 miles. It saves me at least an hour round trip vs taking the train the whole way.
What are the politician's reasons?
The French Revolution of 1789 is one example, for which there's some evidence that it was the less successful members of the Bourgeoisie (middle class) that led the initial outburst of violence. My understanding is that they weren't particularly starving or oppressed, at least in historical terms, but more so dissatisfied at how society was structured relative to their expectations of how it could or should be structured.
I like the idea of bunk beds. Instead of 3 people sitting next to each other let them lie above each other. Being able to sleep during long flights would make my life much better.
Sorry, but why are you asking?
> The whole point of the boring company is to get the tunnel boring infrastructure out of the government-laden, subsidy-heavy mode of operation.

... I'm not sure I agree. Given that The Boring Company has spent most of its effort on selling its PRT (er, sorry, "Loop", since PRT is apparently so 20th century) technology, and has basically made no attempts to bid for any actual tunneling contracts, it's all about trying to make a new (well, new attempt at a never-successful old) transit mode and not about tunneling at all.
"alg": "none" comes to mind. Azure had it unpatched for close to a year. God knows how many corporate mailboxes and contact directories flew through that hole that went largely underreported. All what attacker had to know was the id number of the app that got previously preapproved, a trivial thing, given that it was given out in oauth requests for user permissions.

The industry will continue pay a dear price for mixing the rogue and unruly realm of web development, with what previously was a domain very conservative "enterprisey java development shops" where everybody dresses in a suit, and at least have some formal CS background above bootcamp course.
I'd like to see sum types (often called product types, union types or enums) introduced. I think they would fit Go well, and get us away from the current awkward "interface hell".

For example, imagine you're implementing an AST. You might have something like:

type Identifier struct {
Name string
}
type StringLiteral struct {
Value string
}

and so on. Currently the only way to unify them is with a dummy interface:

type Expression interface {
isExpression()
}

and then you have:

type (Identifier) isExpression()
type (StringLiteral) isExpression()
// etc.

Then in your compiler you'll have lot of switch statements:

switch e := expr.(type) {
case Identifier:
// ...
case StringLiteral:
// ...
default:
panic("unexpected expression")
}

There are multiple problems here.

One, unifying pure data structs with an interface is not what Go interfaces were intended for, and is pure type system abuse. Fine, so maybe in this case Expression also gets things like GetPos() and what not, which sort of justifies an interface. But there are plenty of use cases where there are no methods.

The other problem is that there's no way to prove at compile-time that a switch is exhaustive. Add another expression struct, and all your switches still compile. Someone made a post-processing tool (go-sumtype), but it's an awkward and buggy hack that has to be run as a "go generate" task next to your development workflow.

Thirdly, performance-wise, this forces every struct to be boxed in an interface.

I'd rather like to be able to declare something like:

type Expression (Identifier || StringLiteral)

It can, I suspect, be simpler than Rust's full-blown sum type support, because you're essentially declaring a new type that holds the possible union of types.

Of course, this could be elegantly extended to errors:

func Open(fn string) (*File || error)

The downside to this, as opposed to something like Rust's Result, is that you can't add methods, so you can't chain these calls without something more.

On the other hand, it would work together with the proposed check/handle mechanism.
I've built usable furniture out of Lego, including chairs and I could sit on it just fine. It's incredibly strong if you use it wisely.
Relevant:

https://www.ribbonfarm.com/2017/11/09/ceos-dont-steer/
Carburetors have nothing to do with lead emissions. Lead emissions come from lead being added to gas to raise its octane, and hasn't been added for years.
> "That's a long time, and we only heard rumors because another very large operating system vendor told Intel to get off their tails and tell us about it."

I wonder which operating system vendor pressured Intel to tell the Linux dev community, especially because it sounds like it was a non Linux OS vendor. Whomever it was, good job!

But it seems like Intel has angered the Linux community as well as the various BSD operating systems. You would think Intel would be doing whatever it can to please all operating system vendors especially now that AMD is getting competitive again.
So, you have to pick your poison now, eh? Sorry to hear that.

Don't give up though, there might be a combination of drugs that will reduce the side effect. It might be a lot of work to find the right combo, but the stakes are high too.
If that is your argument, I would say men have done a commendable job. They supported women for centuries while building a society that would eventually let women not be dependent on men.
Looks like we buy a lot of power from Intermountain Power, who are in Utah:
https://www.ipautah.com
GNU Parallel is the first thing I usually install on top of a standard Unix userland. It's almost a superset of xargs, with many interesting features. It depends on perl, though.

htop is also pretty much a great replacement for top. And ripgrep a great replacement for the find | xargs grep pattern.

Aside from that, I'm pretty content with the Unix userland. It's remarkable how well tools have aged, thanks to being composable: doing one thing and communicating via plain text.

I'm less happy with the modern CLI-ncurses userland. Tools like e.g. mutt are little silos and don't compose that well. I've migrated to emacs, where the userland is much more composable.
How is CLion for embedded work these days? If I have, say, an ARM GDB server running, can I use that with CLion's debugger?
Not sure I agree with this. After the 2016 election I was really wired into news. I watched a lot of CNN and was tuned in the 24 hour news cycle, after a couple of months I decided I didn't really like the way this news was delivered but still wanted to be informed.

I turned to podcasts more and now listen to podcasts on policy, politics, technology and economics and I feel much more informed than the average citizen and intellectually stimulated. I think we should work on increasing the quantity of quality news as opposed to telling people to stay away from it.

Full disclosure, here's my current media "diet"

- Hacker news of course.

- NYT subscription

- NYT The Daily podcast (news of the day)

- NPR Politics Podcast

- Marketplace Podcast (economics)

- Vox's Ezra Klein Show (wide range of policy experts interviewed)

- Vox's The Weeds (conversations on political / economic policy)

- Vox's Worldly (foreign affairs)

- Marginal Revolution (economics)

Admittedly it's a left leaning viewpoint and I'd like to find more conservative outlets but haven't been able to find interesting ones. I listened to Sam Harris for a while but over the past year he's shown a deep flaw w.r.t his views on race and unwillingness to be challenged.
> You're assuming I didn't grow up poor.

True, but given the evidence, I considered it highly unlikely that you did.

> I didn't grow up poor, but when it came time to get my first job, I didn't have any money nor any help from my parents, or any fall back options. I had to get a job to afford food and shelter.

It's not about that. It's about how you look at the world and how you view finances because of the way a person grows up. You don't have the same scars that we have.

> I still cared about the work that I'd be doing.

For us, that would be pretty low on the list of things that mattered.
True - there are millions of passengers every day using didi.
True - people got murdered in cabs too.

But, I'd say Didi is at least 50% responsible for this tragedy.

1. The killer was reported sexual harassment by another female customer one day before the girl got killed. Didi still lets him drive.

2. The girl's friend called the police when she realized the girl was missing. The police called Didi's customer service. The guy who answered the phone refused to provide the driver's info, (license, phone number, location, etc.) and said that he needed to report to Didi's safety department. Then he even called the driver himself, asking: do you have the passenger on your car? did you kill her? The driver said no and hang up the phone.

3. The police finally got the driver's information from Didi almost two hours after they requested. But it was too late.

Didi's poor background check on drivers and unprofessional customer service killed the girl. I don't think it would happen if it's uber.
>We’ve effectively encouraged the absolute worst elements of society to come out and have a field day without the social pushback that had kept them in line for millennia.

We've also effectively given everyone else access to information, communication and opportunities to expand their worldview that have been more profoundly transformational than even the printing press.

No, creating the internet was not a mistake, any more than any means of mass communication is a mistake because it can be misused as well as used wisely. Without the internet, global culture would be entirely controlled, centralized and limited by media conglomerates, digital rights management and distribution by physical media, and our means of mass communication limited to telephones. The same internet that grants freedom of expression to the "absolute worst elements of society" grants it to you and I as well.

The internet is just a network, but I believe the good it's done for humanity has far outweighed the ill.
Negligible.
Large non corporal entities are structured such the vast majority of any benefit they provide is concentrated in a vanishingly small population and costs distributed over the largest population possible. That is the whole point.
6S Plus here. Love the size and can easily do much bigger (big hands).

If Apple doesn’t come up with high MP camera like p20 pro - I won’t upgrade even if my cam started to act weird after official bettery replacement (shaky, half blurred).
Where is this desire rooted in?
Lower birthrates could as easily be attributed to lower infant mortality catching up to a new generation

https://www.cdc.gov/mmwr/preview/mmwrhtml/figures/m4838a2f1....
No, it’s simply that the honeymoon is over and he’s starting to be treated like any other businessman. That means what was once glossed over as endearing or harmless foibles are now being recognized as the problems they were all along.

Musk is having difficulty adjusting to this new situation where he’s not only receiving fawning adulation as some kind of technology messiah anymore.
> Moving from the Midwest, I can't believe how poorly insulated things are in CA. Our first apartment in Santa Monica had windows that didn't even seal properly when closed.

... yeah. Because it's in Santa Monica. Without even bothering to ask details about your personal temperature preference or the size or construction date of the homes, I can 100% guarantee you you're using less energy on climate control in SoCal than in "the midwest".

Trying to fix energy consumption by improving construction and code regulation in the major city least in need of climate control, like, worldwide is just a silly waste of resources.

LA is wasteful in many ways. But a city that sits at a 60-70F average basically year-round is just not in need of attention here.
If you're able-bodied, the walk from Chinatown station to Dodger Stadium is pretty easy and very pleasant until you get to the stadium grounds -- where you are shoved aside for cars to climb the hill into the parking lots. I really wish the stadium would improve pedestrian access; at least place a real curbed sidewalk at the downtown gate.
Google Titan hardware security key made by Chinese company Feitian