skysight-inc/HackerNews huggingface dataset:
> At that point I figured that the people who told me that "you can't beat the compiler" were probably right and called it a day

On that subject...my understanding [0] is:

These days, the best bet for beating the compiler is to use vendor intrinsics (for SIMD, encryption, bit-twiddling, etc). Shaving an instruction off the inner loop might give you a few percent; using SIMD lets you operate on 256 or 512 bits per instruction instead of 8, 16, 32, or 64. You might be able to show your inner loop is memory-bound (and thus prove further improvements have to come from algorithmic improvements / better cache locality, rather than continuing to fiddle with instructions).

The compiler automatically uses SIMD sometimes, but it can't do so reliably:

* The transformations require things the compiler isn't allowed to do, like increasing alignment of key variables or altering the larger algorithm.

* code that might run on older processor revisions needs multiple implementations selected at runtime. I think gcc has some magic extension ("target_clones"?) to do this relatively easily; otherwise you might need to write your own logic to decide which function pointer to use.

Note that each "vendor intrinsic" matches one assembly instruction, and it's valuable to understand assembly while writing them, but the actual code you check in can end in .cc (C++) or .rs (Rust) or whatever. Doing so means it can be inlined into functions written in the higher-level language, you don't have to encode knowledge about the platform's calling convention into your code, etc.

[0] Not from personal experience. Corrections welcome.
Can you expand on what you mean by "it isn't extremely valuable?"
I feel like the internet in Bali is actually quite good. South-east asia has world class internet.
Spending half on a house is not a great way to establish your independence.

There is a rule of thumb in finance: "Easy come, easy go."

You should pay off your car loans and then sit on the rest of the money for six months while trying to make these plans with your spouse rather than with a bunch of internet strangers. It is psychologically much harder to spend the money if you hold it a few months.

If you don't know how to be your own boss without a million in assets, it won't magically come to you just because you inherited money. With a well established expensive lifestyle like you clearly have and immediately spending half on a house, plus $40k on your car loans, you won't have as much maneuvering room as you think.

You should be asking questions about whatever business ideas you have and how to make those work. You should be researching where you can live comfortably without needing to spend a half mill on a house.
best quote from the article: "why call it tourist season if we can't shoot them"
How to Build a Great SaaS Marketing Strategy?
> Of course they do. They’ve even deported citizens.

Wow didn't know about this.

edit:

https://www.aclu.org/blog/speakeasy/yes-us-wrongfully-deport...

Ok found what you are talking about. This is from 2008 but i assume its still happening.

But why weren't people who are supposedly watching this quite before trump. It really boggles my mind.
Most hospitals have pharmacies in-house. Would it be too much to ask that the hospital provide you with the prescription or pain meds that will take care of the problem that brought you there and include that in the bill? As far as the specialist is concerned, they can easily refer people to places that help the folks that can't afford such things. All they'd need to do is give a piece of paper with information on it.

It would essentially be this: YOu break your leg and go to the hospital. When you leave, you have not only a cast, but pain meds and crutches if required (many hospitals do not offer them). If you can't breathe and you need medicine for infection, you leave with the medicine. If you can't afford a follow up with a doctor, they refer you to folks that can help you.

Insurance doesn't help if you are near-broke and two days away from payday. Lots of folks can't afford their deductible plus the yearly out-of-pocket.
I’ve had largely the opposite experience, almost all of my travel experiences have broadened me, especially India, Myanmar and Japan. I suppose I loved those countries the most because it makes you realise that Europe has a distinct culture (and for me interestingly Christianity has shaped the way people think here quite fundamentally). Maybe it’s easier to relate to a person from France or the US than it is a person from Japan. It helps you to understand more critically the positive and negative aspects of where your from which is a good thing as it’s so difficult to discern the water when you’re swimming in it.
> failed state scenario ... criminal thugs reminiscent of ISIS

In Las Vegas? Really?
Uh... see here: http://www.latimes.com/local/lanow/la-me-citizens-ice-201804...
Any methodology for getting more information from less information is going to involve guess work at some point, surely? This guess work just happens to be helped along by having the results of (I assume) millions or more separate videos where they already had the higher speed footage.

This is also not extrapolation, rather quite the opposite, it's interpolation.
The Daily isn’t representative of all media. It’s like saying, well the WSJ is economically literate, so therefore all media are good with economics.
Oh, absolutely. But letting illegal immigrants into the country as a cheap source of labor, knowing that they can be deported whenever the winds change, is even less ethical. At least H1B workers have some semblance of protection for the term of their employment.
Hi Joe, congrats on the launch.

What is difference in the use case for Pulumi compared to scripting infrastructure using vendor provided libraries e.g. New-AzureRmVm et c
> So when you do a CAS-atomic on x86, in REALITY, the LOCK-prefix will be asserted, locking out all other cores from interacting with your cache line.

Atomic RMWs on intel (and really the vast majority of high performance architectures) have no effect outside of the core issuing them except in some very exhotic circumstances. The Lock signal is a relic of the pre-P6 past when everything communicated via a single bus.

What prevents a cache line from being 'interacted' with, is being held in exclusive mode. This is a property of any write, atomic or not. An RMW won't hold a cacheline significantly longer than a normal write would.
HODLometer – was it better to HODL or trade?
To enrich:

FYROM (UN designated name) and to be Severna Makedonija has been actively teaching they are the descendants of Alexander the Great, raised statues [0](random article googled, you can find more) etc. Extremist groups also post maps [1] (also random googling you can find more). So I would say the claims are disguised only in talks with other country officials.

Don't take this dispute lightly; recall that country policies trying to force the dispute to end created the whole Middle East mess and the Balkan's has been a hotpot with the last war happening in the 90's (also because they forced together two different people (I am skimming on the subject please read into Yugoslavia)).

[0]https://www.pri.org/stories/2011-06-24/macedonia-gets-statue...
[1] https://www.thenationalherald.com/172171/fyrom-map-claims-gr...
> ICE was doing this during Obama times

No it wasn't substantively. The facilities for children were used for unaccompanied minors; the Obama administration largely did not criminally detain parents crossing with minors (if illegal crossing was the only charge), so the family separation issue did not exist. There's a reason it only became an issue with the Trump “zero-tolerance” policy, and that's because the practice substantively did not exist before that.
I was able to play with the Python support in the Beta. The team intends to stick with 2/3 compatible code and support Python 3 next milestone, so you should be able to try it out soon.
I hope Elon is real. I want Elon to be real. I just fear that he isn't. I don't have "scientific proof" for you.
when you endow an agency with the ability and belief that it can completely and totally disregard due process, all sorts of horrible things happen.
Elizabeth, is that you??
This absurd argument falls gracefully under Poe's Law.
Absolutely the same addiction here. Even the identical looking houses (at least on the CPC464) I'm pretty sure by muscle memory I could find the Guild and dungeon entrances, I did them so many times.

I loved that game so much I finally, last week, made it to Orkney to see the actual Skaea Brae. Little bit of artistic licence taken, but Orkney is an amazing place to visit regardless.
Fintech Startups Aim to Kill Swipe Fees on Behalf of Small Business Owners
I think he meant "also that it [the world] isn't [big] is extremely valuable".
Sure, statistically speaking well-informed guessing at an industrial scale, but still guessing.
Interesting thought. Could also be taken as view on the trades of power concentration, and in particular, Monarchy, Oligarchy, or Autocracy. A natural formation when a strong, capable, well-liked leader comes into power, or in the presence of a vacuum of competent leadership.

They can be highly beneficial and efficient, rapidly responsive to change, like a sword through red-tape, or oppressive and controlling. Largely dependent on the character of the captain of the ship. And viewpoint. Caesar was loved by many, killed by a few. Lincoln, J.F.K, Gandhi, similar.

And they can often be destabilizing when they end. Even if not by such drastic means as above. A classic problem of monarchies that if you had no children or incompetent children, your gov't was in trouble.

Not that pure republics and democracies with strong decentralization are a whole lot better. Just different issues. Why they oscillate. And even those often function best with a strong figurehead.
No I went from your insane raving about the raping and enslaving of space rocks, to saying that space commercialization is an eventuality and it's part of the government's job to protect property rights.

We are going to have a space capable military, but that doesn't mean we are 'militarizing space'. We aren't putting nukes in geostationary orbit above China or building rail-guns on the moon.
While I dislike the suggestion of flagging this - just ignoring it is a much better choice, there is enough censorship as it is - I do commend you for this piece of poetry. It neatly fits the metrum and I can almost hear that bald 'Disturbed' singer mumble out these alternative lyrics to the sounds of silence.
>It may seem cold to couch such life-and-death decisions in terms of pure statistics, but the fact is that there is an unavoidable design tradeoff between...

The fact that we as a society can't have an adult discussion about that topic is a large part of why it's so hard to strike the right balance.
I think people are literally like "boo, don't get bought"
I agree, traveling is overrated.
I'm sure it's nice for some people, but...

If you want to relax there is no place like home, or maybe drive to nearest lake/ocean/...

If you want to learn other cultures jump on Netflix, YouTube, the internet.

If you want to do something meaningful: study; get a job; volunteer; help people in your local community; donate to charity; build something; contribute to an open source project; join/do a start-up; get into politics or have kids.
Um. Nationalized health care. Sure, they get payment from the government, but this isn't much different than waiting on insurance to pay in the states.

My yearly out-of-pocket is about 300 a year for regular medical: Another 300 for physical therapy and a few other things. This includes maintenance prescriptions. The rest is out of taxes - the main difference is that I can plan for these things. Once people hit the out of pocket, they get a special card to pay with. Most doctors offices will bill folks without an issue and I think they are required to see people even if they can pay, though I'm not sure how late bills affect folks.

That world exists in some forms, and if folks would agree to it, surely could exist more places.
I dunno about the BSDs but SO_REUSEPORT is a fairly recent addition. Was there a way to achieve this before then?
The Dark Side of the Orgasmic Meditation Company
This is a weird argument.

Mentioning something great that smalltalk is capable of isn't the same as saying everyone should use smalltalk. It's more saying - let's not forget some of the great stuff that existed in the past that the current crop of popular languages don't have.
It's not just for that. They also post screenshots of other social networks referencing its meta-memes.
Do you really think H1B workers waiting in a 20-year queue for a Green Card are really scared off by ICEs actions at the border? If anything it's reaffirming the importance of obtaining citizenship legally.
> Is it though?

Yes, definitely, beyond any doubt.

The .NET approach only makes sense if you have exactly the same number of active threads as CPU "cores" and if your CPU always supports hyperthreading. If either of those is not true then what .NET is doing is a severe CPU bottleneck when the lock is actually contended.

And it is incredibly unlikely that that exact situation happens in the wild. You almost always have more than <cpu core count> threads/processes active in heavy multithreading workloads, and you definitely can't assume everyone has hyperthreading as that's a feature commonly cut from mid & low range CPUs.

For context here a thread context switch via something like futex is in the sub-10us range. So a 5ms spinlock robs you of ~4.9ms of usable CPU throughput that a different thread/process could have been doing instead. The timeout levels here are just shy of an eternity. 5ms is a really, really long amount of time.

By way of comparison pthread_mutex_lock in glibc will do one pause per attempt for at most 100 attempts. So under skylake it has a max pause duration of around 3-5us, depending on clock speed, which is pretty reasonable. It roughly aligns with the cost of a context switch, so once it starts spinning for longer than a context switch it switches to a context switch instead.
I don't know about at the infrastructure level, but seems possible to use false name and email on git. I mention infrastructure because I presume that commits should be reviewed, and that it shouldn't be possible to update software outside of an automated/controlled structure that relies on only pulling code from authorised branches.
I am making $85/hour as Senior iOS Engineer in Los Angeles. My client has "sub-contracted" me for $120/hour to their clients in San Francisco that has $25mil+ funding. Do you think my client is charging low too? Its super competitive and I have not seen anyone charge > $150/hour.
I’d like to know the answer to that as well... Error handling semantics across languages vary greatly. Does the user code need to handle errors or mismatched state or does Pulumi? If Pulumi does how do you get/ report errors?
A much more accurate title would be "19 Amazon shareholders demand it stop selling facial recognition to governments." They even wrote a sternly worded letter!
> I would like to see a city sell the tanks it gets from the feds and use the money for 911, and other needed services.

I'd like for my fellow citizens to agree to fund the police properly, as well as the schools. I know "taxes" are a bad word, but either we agree to pay for these things or they will underperform.

I know there is inefficiency and corruption, but if the budget is $100m and $20m is lost to inefficiency, cutting the budget to $60m won't cure the inefficiency, it will only cut the available funding to from $80m to $48m. (Also, I'm not convinced that government is so inefficient relative to other large organizations, such as every large company; politicians promising 'more efficiency' seems like a promise of hand-wavy magic that will get something (more resources) for nothing.)
He retired before 2008, so Obama doesn't count. He worked for one of Clinton's primary opponents back when Clinton himself was a dark horse candidate, and he actually resigned from Carter's 1976 campaign after ten days, writing to the future President, "I am not sure what you believe in, other than yourself." So it basically boils down to, "he never worked for Jimmy Carter or Bill Clinton".

You could tell a similar story for any Democratic strategist with an overlapping career. Tad Devine worked for the failed campaigns of Mondale 84, Dukakis 88, Kerrey 92, Gore 00, Kerry 04, and Sanders 16. (He also worked in Ukraine on Viktor Yanukovych's winning 2010 Presidential campaign, alongside Paul Manafort. Small world.)

Also, if you work for a successful Presidential election campaign, you end up working in the White House, e.g. George Stephenapolous, Karl Rove, David Plouffe, David Axelrod, and Steve Bannon.
It helps that being in the country illegally is merely a civil infraction, meaning it doesn’t have the same standard of guilt that an actual crime does. No “beyond a reasonable doubt” here!
Really demanding clients, no glory for anything you do, people being thrown under the bus, lots of travel, some greenfield projects with tight deadlines, sometimes made to fix a project half finished.
Prior to the DMCA, ISPs had full liability for copyright infringement committed by their customers online. Small ISPs were being sued out of existence, and it was only a matter of time before nobody would be willing to run an ISP at all. The DMCA (specifically Section 512) was the thing that saved the free and open internet by introducing limited liability for ISPs.
This was my thought exactly. Sounds like they hired an ex-CIA field operative who was expert at what he was doing.
The rest of them is probably, hopefully, using some library abstraction that implement this optimization.
Defining Values – Employees don’t leave companies, they leave managers
Uber is experimenting with letting riders wait longer for a cheaper fare
I think what you're describing has its roots in the Grand Tour[1]. Touring Europe after college became a tradition of well-to-do Americans in the same spirit.

It used to be the best way to fulfill on the promise of education and become worldly. It was never meant to be how you found your purpose. It was supposed to create empathy and understanding of our culture.

I'm skipping over a lot of detail, of course, and Bali is far from a grand tour destination. I'm pretty sure people go to Bali because the beaches are nice and it offers a certain kind of experience. I don't think they're going there looking for the meaning of life.

[1] https://en.wikipedia.org/wiki/Grand_Tour
It would be good if either of you could back up your claims.

People in minority communities around the U.S. have said for generations that the police abused them; I give that some serious credibility. Also, there is much more to abuse than killings; there are many reports on widespread abuses by police departments, such as Baltimore and New Orleans.

I will add that in at least some other countries police do their job and shoot hardly anyone; I think in Scotland it's on the order of one per decade.
Do you really think any brown person in the US who has been paying any attention is not worried about getting improperly deported by ICE? Again, they’ve deported actual citizens before.
Further thought: if they know who they guy is and press criminal charges, they could pressure him to reveal who was behind it.
https://www.reddit.com/r/buildapcsales/comments/8s0a9b/mouse...
Actually, the naming there was not incorrect. Recall the Roman empire split into East and West, with West disappearing shortly after. So it was the only remaining (piece) of the Roman empire at that point and there was later an attempt to liberate Rome etc (see Justinian for the most serious one).

The Holy Roman empire was an attempt of Charles I (to be named Charlemagne, i.e. the great) to recreate such an empire.
My best friend is a promoter who throws underground electronic music parties. Do you know where he promotes his events? Fb. There are websites like resident advisor, but they link back to Fb.

FB is how the event is marketed. Fb is how i find about different underground shows. And my use of Fb is limited for events, but for my friend, life without Fb is very much impossible.
Pretty soon, they'll have to move to outright scowling at at Jeff Bezos!
I think their math is off. Flipping burgers at McDonalds full time in Portland, OR, USA would make you $19,240 a year.
And your attitude makes it near impossible to get an honest review of something so I don't waste my time and money.
Or you could use market dynamics to allocate a scarce resource (i.e., raise the price): https://www.radionz.co.nz/news/political/359649/tourist-tax-...
> This is exactly why everyone should travel. The thing that you find out is that the rest of the world isn't so different...

Maybe some people could learn the lesson without having to personally experience it. A lacture plan that involves flying people around the globe seems environmentally problematic.
I went to elementary school with the founder of RapidSOS and it's pretty cool to see one of us country boys making the front page of HN! If I'm being objective about this, I think it's a fairly good idea in the abstract but it will be very difficult to monetize. Where I grew up, there are still huge gaps in cellular coverage and this won't help people who can't even make a call. I do think there is a there there but it's fraught with peril. That said, best of luck to Michael! At the very least, his heart is in the right place.
So an object is detected, it beeps and flashes the brake lights, then if the driver does nothing, it brakes? What does the driver need to do to have it not brake? What about when there isn't sufficient time between object detection and anticipated impact to warn the driver? What frequency of beeping would be preferable to just driving the car manually?
So much nostalgia today bro. 30 years old here, similar story, check what else is on hackernews today. https://github.com/galaxyhaxz/devilution
While I applaud this effort, this will not stop the use of the technology. It will simply steer them to another provider or a custom implementation (on top of AWS if they so choose to) of this now well-understood technology.
"Now they insist nobody currently lower than them should use the ladder."

How might you know this though? No one has said anything out loud even remotely comparable to this, so how might have you formed this conclusion? What information source are you using?

I'd be quite interested to hear your actual full assessment if you have the time.
Examining Carter's 'Malaise Speech,' 30 Years Later (2009)
Show HN: Commercial Real Estate News Aggregator
I recently spent a year living abroad, and while I'd agree that it transformed the way I think about myself, it did so in a way that made me critical about most forms of tourism.

Hopping from place to place and seeing tourist sites can be fun and relaxing, but it's ultimately also pretty meaningless. This was drawn in sharp contrast for me because I was living in a famous tourist area (Kyoto), and I routinely saw the vast differences between the way tourists experience the area, and the way locals do. There's a very established tourist route, and it has almost no overlap (other than commercial) with the authentic life of the city. Tourists arrive, see the station, visit a few of the "mass-market" temples and shrines, then they leave. Even the folks who have "authentic experiences" are more-or-less following well-trodden pathways.

It's hard, because I now find it difficult to travel to places where I don't have a deeper purpose for being there. Simply seeing something pretty is no longer enough. But I also recognize that this is, almost by definition, impossible for everyone to do. I like travel too, but I'm quite conflicted now.

Most forms of mass-market tourism are essentially no different from Disney World, but with worse environmental impact. They're cancerous, and unless tightly regulated, will destroy the very places they promote. At least Disney World was built in a swamp!