skysight-inc/HackerNews huggingface dataset:
If you look at my comments throughout this thread, you'll see that I am aware of the potential for incentives to have undesirable higher-order effects. Many people in this thread have suggested certain concrete undesirable consequences, and I've replied to them.

In contrast, you are putting forth a fully general counterargument to any incentive structure. But clearly financial incentives work in many cases. It's what sports teams use for their athletes and coaches. It's what businesses use for their leadership teams. When we need the best people possible to perform at their best, we tend to pay them money and pay them more money if they meet certain goals.

> IMO the only way to run things like prisons is to hire people that strongly care about the public good to run them. Hire people who want to run a good organization that accomplishes the organization's goals. Which for prisons should be rehabilitation and safety.

Yes, ideally we'd have every job staffed people who are wise, kind, competent, and hard working. But we don't have nearly enough of such people and we judge traits inaccurately. So instead we have to make do with less effective but more practical methods. Financial incentives are one of those options.
As an example, usually there is a default C++ implementation because C++ makes things easier for the programmer so it makes sense if you're at the end of the food chain that requires perfomance (ie you're not using a memory managed language in the first place because that's easier still). So then you benchmark it thorougly. Get stuck into all the perf numbers and analysing those. You note why you think you can shave X off because the latency is due to i, j and k measures that look as though they could be improved so that's probably worth a go. Now you can (at least sometimes) in your lab, replace one part with (say in this example, C code) and see if your perf stat ratios improve the way you think they should. Yes it is difficult. Yes there are plenty of times where you see nothing because the slow from the code you changed is actually manifesting in cache misses elsewhere.

Micro benchmarks sadly have a way of showing nothing much at that end of things. Showing it's no worse/better doesn't even mean it's no worse if the additional/reduced pressure on caches doesn't result in much in the way of additional/reduced cache spills. So you end up doing mirco optimisations that each, taken alone don't do much. But when you get them all together you cross a threshold that has a considerable improvement. I believe SQLite did something like this although probably in a more restrained fashion as they have other goals than being the lowest latency solution against similarly motivated competitors.

Then of course at some point you get a reputation for success so you show the problem and the numbers identifying it and just say "I want to invest X of my time trying Y which I believe has a reasonable chance of helping" And you are told to focus on that and please let them know if you have any more good news. ;-) Sometimes your ideas are genuinely a wash and not worth merging but it is noted that it was worth trying and you're thanked for your efforts.

As somebody else noted in this thread the game has moved beyond much of this kind of thing in some, possibly many instances.
Corrected link: https://en.wikipedia.org/wiki/Rotonda_West,_Florida
Strongly typed functional languages (including Reason) can often figure out a function's parameter types based on how the variables are used in the function. For example, given `(a, b) => a.push(b * 2)`, it could figure out that `b` must be of type `number` and `a` must be of type `Array<number>`, so the function author wouldn't need to write the type annotations.

I think it's likely that TypeScript will never implement this (at least not at the level of sophistication of typical functional languages), given that it adds a lot of complexity to the language, and making types explicit at boundaries is usually good practice anyway.
Greetings and salutations! Welcome to the emergency line of the San Angeles Police Department. If you'd prefer an automated response, press 1 now.
Making delivery trucks smaller can substantially improve city life
mmmm the Nimble America backer is now working on solving defense problem. What could possibly go wrong here.
I think that in the coming years, science will show that play is an essential part of human well-being.
I'm not too bad, but I am worried about my father. He's almost 70 and still runs a stressful business with high liability that has been declining for several years. He went from having several million dollars in the bank to being in six-figure debt. Most of that went up in smoke keeping the business alive, the other part went toward trying to find a way to keep my step-mother from dying. Basically visiting anyone who could give them hope after the doctors gave up. I didn't have the heart at the time to tell them that these places they were going were politely robbing them of money.

He wants to sell his business for next to nothing because it's too stressful and instead wants to try picking up programming for his next business idea. I've been supportive because I think he'd actually be good at running a web-based business, but he is really awful with computers and won't accept the fact. I'm going to help him as best I can, but if that doesn't work out things are going to start getting pretty grim.
It could be, yeah, I did not have the time to check out the assembler code. I will do it tomorrow, but someone else may do it before me and elaborate on the reasons. :)
Thanks for sharing this. Same problem, I just assumed it was just my shit tier laptop!
Might I suggest perusing the Farm Bill? The government is literally paying farmers to grow crops people wouldn’t pay for. That doesn’t sound like a very free market system... frankly I wish they’d stop.
You're right - out of the many anti-union activities mentioned in your link, that one data point isn't anti-union.
Here is a much less exalted answer than those in the quora discussion.

I am 62. I programmed my first real computer in high school, a PDP-8 with 12k 12-bit words. I didn't explore assembler language, but spent a lot of time programming BASIC and (when I could get the entire machine to myself), FORTRAN. And before that, I spent a lot of time on programmable calculators.

So when I got to college, and took my first data structure & algorithm class (textbook: Knuth vol. 1, language: Algol-W), heap-based memory and pointers were mind-bending. I had encountered nothing like these ideas in my programming to date. As I remember, it took me a couple of days of intense thinking, reading code, playing with code, until the idea finally crystallized in my mind.

A smaller epiphany had to do with ideas on how to write good code. In the mid 70s, "structured programming" was a hot topic. I prided myself on writing huge functions, with complex control flow, full of gotos, because I didn't know any better. And assignments were graded on correctness only, not on quality of code. In fact, I think the idea of quality as being something other than (apparent) correctness was kind of alien. Then "Goto considered harmful" appeared, and I prided myself on being able to write goto-less code.

And then a professor made the completely outlandish statement that functions should not be more than maybe 20 lines of code. I thought he had completely lost his mind. I don't remember how I came around, but I did, and then it was just so obvious.
Bone, not adrenaline, drives fight or flight response
Let's see, you could use it as a supercool way to open your gate and/or garage doors when your own car approaches the entrance. You have a guest visiting? No problem, open the gate for their license plates too.
Move over Taycan, 800 Volt Charging System Coming to Hyundai and Kia EVs in 2021
They totally could but for some reason no state does... Instead, I only see senators, representatives, and potential presidential candidates trying to force it upon the entire country. We are the united states, let individual states start the process and let it bubble up to the federal level once enough states enable it just like we are doing with marijuana laws.

IMO, the federal government has been getting too large just like how they dangle interstate highway funds from states for enforcing the stupid 21 year old drinking age.
Yeah, surveillance is definitely the more accurate description, buy borders are always a defense issue. In this case the US has a vested interest in knowing who is coming into the country and making sure they are processed through official channels and catch incidents where that isn't happening. The idea that migrants and caravans are somehow massively harboring terrorists may be a bit of hysteria, but that doesn't mean there aren't still national security issues at stake on the border.
Doesn't that mean you have to go after your neighbour, your family, and you friends?

HN has no protection to stop me from putting my friend's email here (see@example.com) and you don't go after HN for that. You'd go after me for sharing your details.
Most such mail tends to be not just HTML but rather multipart/alternative with an HTML but also a text/plain part.

Luckily, HTML only (or its bastard cousin: including a text/plain part that is horribly broken or just says "please enable HTML viewing") isn't seen that often around here.
Cellular Networks: A Systems Approach
I'm impressed with negative gears :) . No other numbers though?
or ruby
Even though Heidegger was a nazi, he had a close relationship with Hannah Arendt, who was a Jewish political philosopher. Weird to conceive of holding nazi ideology in your head whilst dating Arendt.
“Clearly”? The current state of affairs indicates it’s anything but.
There was some discussion here on hn a few days ago [0] that linked to a blog post about those intrinsics [1]. Those should indeed be optimized away. The relevant section:

> The IsSupported checks are treated as runtime constants by the JIT (when optimizations are enabled) and so you do not need to cross-compile to support multiple different ISAs, platforms, or architectures. Instead, you just write your code using if-statements and the unused code paths (any code path which is not executed, due to the condition for the branch being false or an earlier branch being taken instead) are dropped from the generated code (the native assembly code generated by the JIT at runtime).

[0] https://news.ycombinator.com/item?id=20915430
[1] https://devblogs.microsoft.com/dotnet/hardware-intrinsics-in...
I did Trolltunga last year and I was amazed to see the amount of miserable people who thought it would be ok to walk up the thing in tennis shoes and shorts. This was in May when there was still knee deep snow in a lot of places. People were taking their dogs too which is an absolutely brutish thing to do to the dog. For those who don’t know, it’s a 10 hour hike, half of which is basically straight up a mountain. Saw at least two people get airlifted off the mountain during my hike.

Norway does a decent job of informing people at least on the hike. When you start walking there are signs that say something like “if you are at this point and it’s after 2 pm, turn back around”

It’s definitely one of those “Instagram destinations” that attract this sort of behavior. At the actual rock there were a few people flying drones around to get pictures, blatantly disregarding “No drones” signs.
I love to see that at the end the document the plugins package is mentioned. Currently it doesn't have support for Windows (among other issues), so it's really good to hear that the work in the linker might eventually improve the situation with plugins too, and that at least it's being kept in mind. On golang, interfaces being implemented implicitly is not everyone's cup of tea, and I can understand why, but when you combine that property with plugins, you can make really powerful plugin systems that use very simple code to work.
For tourist location it work. Government gets the money back in sales and other taxes. But in other cities it will be money pit with no possible way to recoup the cost. It can never work in rural areas because there isn't a dense enough population.
Curios: how many investors still consider software patents as a pro/asset for a startup?
It's easy to conceptualize a configuration or use case that's common to the people reporting a bug that's not being used by the developers or in their QA process. It's not uncommon.
What if NYC made all public transport free for NYC residents?

Would the only cars left on the road be Ubers/Lyfts and tourist taxis?

As it is price to own a car in NYC is very expensive: $150ish insurance, $500ish parking, and lets say for a $300/lease thats almost ~$1K/month. Free good public transport system would drive many to car-free life.
> More than 50k people leave Canada every year to get treatment

Yes, like I said, anybody who can afford it can travel to get healthcare elsewhere.

Travelling from US to UK and paying 150% of the English tariff price for health care turns out to often be cheaper than getting care in the US, even if you include the travel costs.
Meanwhile integrating Lua is as simple as just dropping in a few c files...
Are you suggesting that concepts like Dasein's thrown-ness into the world, the readiness-to-hand of tools, and other Heideggerian ideas, which have nothing to do with Nazism, should now be subject to suspicion on account of their originator's political affiliations?
> They often lobby for minimum occupancy levels in law (effectively requiring by law a certain percentage of citizens to be marked as criminals)

I'm not sure that any actually do that. The ones I've seen turned out to be misunderstandings of the contract. The contracts were of the form that the private prison would be paid a base amount of $B to house up to C prisoners, plus an additional amount of $V per prisoner for each prisoner over C. C is typically something like 90 or 95% of the maximum capacity of the prison.

The contract actually makes more profit for the private prison if it has fewer prisoners, with the total profit going down for each additional prisoner up to C. Whether profit goes up or down for additional prisoners beyond that depends on whether $V is less than or greater than $B/C. If it is greater, than profit will go up as the last 5 or 10% of the capacity is used, but it will still be lower than the profit when the prison was at around 80 to 85%.

From the state's point of view the total cost is $B to house anywhere from 0 to C prisoners, and $B + (n-C) $V if the number of prisoners, n, is > C. From the state's point of view, $B is essentially a sunk cost.

This does provide some incentive to politicians to keep the private prisons occupied up to at least C prisoners, because if they have n < C prisoners, the per prisoner cost to the state is $B/n. If that is too high, the opponents are going to say the politician is spending too much on prisons. Increasing n lowers $B/n, so the politician might be tempted (and it also makes them look tough on crime). That's probably easier for the politician that trying to explain to voters that the total is $B regardless of many or few prisoners are there, and so per prisoner cost is not really what you should be looking at.

Also, note that this kind of incentive goes the same way with public prisons. A public prison also has a bunch of fixes costs, and so if you look at cost per prisoner you are going to see a lower cost per prisoner with higher occupancy because of those fixed costs.
I have been dealing with a bad relationship (totally my fault) due to attachment issues (anxious-avoidant) and rOCD as a result of it. Really annoying stuff, pretty much have ended my relationship cause of it.
> If the law can't be used to protect us what measures remain available?

"Google" is not an entity -- it's composed of people, who make decisions and enable the things that Google does.

Don't hire them.
Don't associate with them.

They're working for a company that, at this point, is obviously doing harm to the world. That's a choice they have the freedom to make. We have the freedom not to associate with people who make that choice.

Note that this advice is specific to non-visa-limited people in high-demand occupations, like other software engineers. They have a choice.
Any recommendations on resources to better understand the build process for compiled languages in general, and Go in particular?
Satellite Pose Estimation with Deep Landmark Regression and Nonlinear Refinement
Is it more sensible to cat 2 strings, but cut off the second one, then pass off the result as valid?

I would say let an INVALID string be length 0. Then accept that catting a valid and invalid string would result in a shorter length.

Which one do you think is safer?
I'll add to the list here.

No. I see a therapist but it doesn't help. Ultimately I'm burnt out. The startup I'm working at doesn't have good numbers anymore (not like any startup I've been at ever has). I can't get a job at FAANG (I've done their onsites about a dozen times). I live in the most expensive region in the USA. I only receive a salary from a startup and stock is obviously worthless. My SO is committed to a lifestyle of either A) not working or B) having jobs that will never pay more than what she consumes. I'm supporting her through college by paying all of our rent, most of our food (which she requires to all be wildly overpriced), all of every vacation, and so forth. She is getting a degree that has no correlation with a job. She has no plans to get a real job. She is committed to a hedonistic lifestyle where her lover will provide everything for her. It's utterly annoying and immature. But she's smart and I hope she will learn. (And try to care about my suffering a bit to change her ways)

The fact that this dynamic will never change is what kills me most. I have no hope. I'm under so much financial pressure to make two to three times what I am making now and there is no light at the end of the tunnel. Moving just isn't an option because I'm perpetually unhappy with my jobs (due to a lack of pay). I need a lot of options available so I can keep bouncing before I get fired.

Again - I'm burnt out and it fucking sucks. I'm around the 1% of my age (29) and definitely the 1% of where I grew up - but it's not enough to stay sane in this dynamic.

Sometimes I wonder what I'm going to do. How will I ever escape my fate? Ultimately - I have no idea and it's why I'm so frustrated and burnt out. I have no path out and never will.

Mind you - my social life, hobbies, and everything else is practically non-existent. I am miserable every day.
Mindfulness is driving without texting
I read it as President Reif trying to make this process completely transparent, even when it doesn't reflect well on him. This is something we need more of in our leaders, though I agree that it reads weirdly (partly because it's so unusual).

I've actually met him personally a number of times and this letter concurs with my assessment of him as being earnest and sincere to a fault. You can generally take what he says at face value without needing to deconvolve layers of Machiavellian intrigue. He's a caring and decent person and though he clearly made a huge mistake here, I don't think he would have accepted the money if he'd known more about Epstein. This is my opinion.
There are small towns like Corvallis, Oregon that do this because there's a need for transport around the university. The rest of the ridership might be mainly disabled/elderly who wouldn't pay much anyway. So the cost of administering a ticketing system isn't worth the revenue. Basically systems that don't have working commuters.
https://www.corvallisoregon.gov/cts
People will find a way to separate themselves into classes no matter what. And those of higher class will separate themselves from the proles using any means available.

Even in Soviet Union the running joke was that all people are equal, but some people are more equal than others.
Show HN: I built an app to keep track of my followers in all my accounts
I didn't say there was hostility towards one tech stack or another, I was just stating my observations/experience. In my experience, once a firm has one or two tech stacks, they don't really want to deviate too far from what's entrenched because, well, they need to have the talent on hand to support everything. This becomes exponentially harder if every developer chooses their language/framework of choice. Generally, though, if there's a compelling reason to break from the core competencies of the firm, exceptions may be granted (this was how Python first got its foothold in my first firm - I could easily, e.g. generate, Python wrappers over my C++ APIs that allowed me to do everything my business users wanted while still maintaining compliance control and audits over data changes).

Typically, you can usually tell the age of the trading firm by the tech stack. Older companies are usually on C++ and have millions upon millions of existing legacy code that works, so there's little impetus to rewrite in the latest shiny. Younger firms are more likely to have embraced Java and younger yet, C#. This doesn't always hold true, though, it's just a generalization of my experience.

In my 15 years in finance, I spent 9 years at my first firm, and when I joined it was purely C++, with some perl to move data around between vendors and systems. There had been some Java, but we had a bad interaction with Sun Microsystems (at the time) and our CEO came down hard and kicked Java to the curb (and we migrated off of Sun/Solaris onto Intel x86 & Linx & C++). Towards the last several years I was at that shop, C#/WPF had been embraced for all new UI work, and even some rewrites of existing MFC apps were in progress. Python had also largely replaced Perl for all new scripting/data munging and had also been embraced by the quants. All of the servers still ran on Linux and were in C++ when I left ~6 years ago. There was even talk of migrating from Sybase on Linux to MS SQL Server. That didn't happen in my time, but from former colleagues I've kept in touch with, they've pushed forward on that. I don't know if they're using SQL Server on Windows or on Linux, now that that's an option.

My current shop is the oldest shop I've ever worked for (founded in the 70s) and is entirely a Windows/C# shop. They brought me on this year to help with their build out of Python at the firm (mostly for our quants). I'm actually really enjoying this position, because they're new to Python, but I've got +15 years experience with it, there's a lot of greenfield development and next to no existing legacy code, so I largely get to drive style and architecture.
An argument that's rarely made: Almost everyone whose work would be protected by software patents, is fervently opposed to them. Except patent lawyers and multinationals. That should tell you everything on whether they're a good idea.
There are some lasers near many range (Ar2* Excimer), but not many (as you mention) that are tunable to that exact wavelength.
Cover is hiring a senior Ruby developer for our Toronto office
In a capitalist system someone else is making the choice for me too: VISA. I’d rather the government take a wholistic view of resource allocation than a luck based bank account balance strategy.