skysight-inc/HackerNews huggingface dataset:
I am surprised to see that Hotel Tonight is cheaper than the ihg.com Kimpton website. Although, I wonder if IHG leaves themselves wiggle room to offer different pricing to different channels by saying their price guarantee doesn't apply within 24 hours of checkin:

5. Find a Lower Rate. If you find a lower rate on an eligible, non-IHG website within 24 hours of making your reservation on the IHG direct channel, and it is more than 24 hours before the standard check-in time for the hotel where you made your reservation, tell us about it by completing and submitting the online claim form (“Claim Form”). We will verify the lower rate by comparing the rate found on the IHG website or mobile app with the rate found on the non-IHG website for the same hotel, room type, stay dates, number of guests, and cancellation policy.

I'm actually shocked that they would do that, because now I will definitely shop around, I had erroneously thought their best price guarantee would save time.
I've used it a fair amount of the last few years. It worked quite well and found some good deals -- as others mentioned -- when it was last minute only. Stayed on place in Carmel at a price that I had never seen for that particular property.

I'm concerned, like others, that contracts and deals will evaporate as they end (as part of AirBnB)
Yes, it's true you can do that. However, it's not what we recommend.

I specifically addressed the reasons why we recommend using middleware in the "Side Effects" section of my "Redux Fundamentals" workshop slides [0] [1].

The Redux FAQ entry on "Why do we need things like middleware for async behavior?" [2] also addresses this. In particular, I recommend reading Dan Abramov's answers on Stack Overflow on this top [3] [4]

As always, it's up to you how you choose to write your code, but there's plenty of good reasons why middleware is our recommended approach.

[0] https://blog.isquaredsoftware.com/2018/06/redux-fundamentals...

[1] https://blog.isquaredsoftware.com/presentations/workshops/re...

[2] https://redux.js.org/faq/actions#how-can-i-represent-side-ef...

[3] http://stackoverflow.com/questions/34570758/why-do-we-need-m...

[4] http://stackoverflow.com/questions/35411423/how-to-dispatch-...
> > What do you think you have to change, if not the whitespace?

> Note that the same error shows up when you have an inconsistent number of spaces to indent a block.

And what would the solution to that be, if not changing the whitespace?

Every single piece of information available is strongly pointing in the same direction here.
> don't charge you for parking ahead of time.

But hotels don't charge you a parking fee if you don't park there. Whereas they won't let you check into the hotel unless you pay the "resort fee".

Again I have no problem with hotels charging part of the price upon check in, but it's super unethical for Hotel Tonight to:

A) advertise hotels based on prices you can't actually get a room for

B) do everything possible to hide the fact that the hotel won't actually let you check in without paying an additional fee (sometimes hundreds of dollars) until you've already made a large non-refundable payment

C) lie to people's credit card companies when they dispute the charges

This isn't a legitimate business, it's a criminal enterprise.
There are excellent engineers in the Midwest too.
I linked to the interviews, so you could watch for yourself. I don't exactly have time to re-watch, transcribe, and fact check for you, but I could probably spend some time this evening, if that interests you.

She never pushes back on any claim made, no matter how ludicrous.
Growth Cave: Bootstrapping a $5k/Month Marketing Agency in College
What companies are trying to build mindshare among weightlifters and their coaches? ESPN for competition TV shows? Companies that make weightlifting gear, clothes, training products? Reach out and white label the product so they can pay you an annual maintenance contract, you stick their brand on it, they promote it and distribute it for free. One transaction per year so no licensing systems required.
I didn't ask for proof, and I think it's reasonable to demand a lot of evidence before you believe it when someone tells you they've changed. What bothers me here is that there's no articulation of that standard, just a rejection of the idea that a public statement is sufficient.

To make it more concrete: let's say that Facebook ended all of the practices the author objects to, but told no one. Clearly the author would not endorse Facebook.

Taking that a step further, the author clearly is not convinced by Facebook's public statements. So if Facebook ended all of those practices and then put out a public statement to that effect, the author would likely not endorse Facebook.

What's next after that? How do they prove trustworthiness? I don't know. I'll bet Facebook doesn't either, and that's a bad outcome because now they have no incentive to actually improve.
Yup. Pro tip, give your kid a name like "Rafael".

I trust our company's lawyers as to whether or not this is legal. Race does not directly affect hiring decisions. It only affects resume review and phone screen. So it does affect the population that get to the on-site. But functionally this doesn't seem much different than say, recruiting at an HBCU.
> in my experience changing your name is one of the most common ways that those from other cultures try to integrate in America and minimize bias.

My grandfather changed our family name (which to be fair was spelled very badly when character sets were converted). It’s funny because nobody knows what ethnicity “Comjean” is. People get confused and they are thinking about it. Adding to the confusion my parents gave me a first name from the old country.

People in moments of candor ( or from New York) have told me 1. I don’t look like my name . And 2 misguessed my country of origin often putting me into their own.
Logging was lost last time I tried it
They're aware of this, and are in some stage of building out a business travel product. I believe part of their product roadmap includes identifying/segregating some of their more reliable inventory that's more suitable for business travelers. No idea exactly what's launched beyond what's at https://www.airbnb.com/work, though.

(Not affiliated with AirBnb, but I had a chat with the tech lead of their business travel team last year).
Counterpoint, being exposed to other people's ideas within your discipline of choice is important. You learn a lot faster when you're plugged into a network of brains that are all generally oriented in the same direction. College isn't the only place to find a good network of brains to plug into for your field, but it is convenient, and the barrier to entry (rapidly less so) is relatively low.
Great link, thank you!

Note also the sanctions starting on page 12. Worth noting that there appear to be zero repercussions outside of prison. Absolute worst case, Shkreli would lose "good behavior" time or get a parole date pushed back. Otherwise, we're talking about things like "loss of privileges".
I think the approach I would use is as follows:

0. Get a dictionary.

1. Form a directed graph, with an edge from each word to every word that uses that word in its definition.

2. Remove all words that have no outgoing edges.

3. If you removed some words, go to step 1. Otherwise, all words left in the dictionary are minimal.

EDIT: If anyone knows of a machine-readable dictionary, I'd love to actually do this.
1) I don't do any browser fingerprinting or things like that, but we definitely pay vendors to do it for us (crosswise, owned by oracle does a lot). Users know as much about tracking as they do about how a website works - none. If you tried to get an average person to learn about http, html, javascript, cms, dns, cdn, caches, cookies, etc it would be impossible.. tracking is equally as complicated.

2) I only support data in aggregate. Anything personally identifiable should be illegal IMO. As long as target finds 10,000 people who are pregnant due to their shopping habits, I think thats fine. If the system is set up correctly with one company collecting and aggregating data, then another company buying access to that data it is safe. Its a misconception that facebook sells data, they just sell access to it. So most data you can't actually de-anonymize.

3) I definitely support legislation around data storage and yeah I think thats a huge problem right now. Its super easy to collect a ton of data, even when you have no idea how to store it or even use it. Its literally 2 minutes of effort for me to grab every single name of someone who purchased something on ~50 ecom sites, but I know nothing about how to securely store that.

As far as the justification for where I work - Ads fuel the internet and create more benefit than they do harm. Millions of people run websites, create content, make free apps. That simply would not occur without ads to monetize them since people are unwillingly to pay for content. Microtransactions for content would be awesome but they haven't worked yet.

We're also on year <30 of widespread internet use. Its the wild west right now but we will fix it.
Oh, was it you that flagged my comment? I wondered why. Your comment is disengenuous (actually a straight up lie). I did not edit the comment at any point. For ref, since it's been removed it said (if I remember) "I absolutley loathe Airbnb and will not make a booking with them. Does this mean I can no longer use HotelTonight too?" or something like that. I'm fairly new to posting on HN. Maybe the comment was a little political but it was merely expressing an opinion and a concern. Are those absolutely forbidden here? (This does not seem strange on HN, even looking through your comment history)
Because no one wants to work with 18 year olds. Post-Secondary education is time for individuals to mature and learn how to fit in.
Two words. "1" and "0"
Maybe. I'm pretty sure I remember the "can't use HotelTonight anymore"-bit. Well, too bad we deleted this information because someone was uncomfortable with someone else's opinion...
We used this technique in the IE6 days (with settimeout nonetheless). We had a very big list that was being filtered as the user typed, and we would perform 10 dom operations (they were all creating and appending elements to the dom), then timeout for 15ms, then 10 more operations, etc. If the user changed the text, we would clear the most recent timeout which would stop the chain, it was very clean actually. I suppose with requestAnimationFrame it's a bit nastier as you 'd need like a __dirtyRequestStop boolean check to break the scheduling, but probably much more elegant performance wise.

The concept behind it, is that you give "air to the UI thread to breath". Basically instead of locking it for 100ms you lock it for less at the time, which is perceivable as just a delay, rather that the window completely freezing. Users would see the list progressively be created sometimes which was cool too, gave it a feeling of "this is doing some heavy work behind the scenes" without really doing much.

documentFragment also was used for constructing the elements before appending the fragment to the main element :) I am wondering if that technique has any merit today, since it really helped back then.

What is old will be new again :)
Wait, Mark Zuckerberg decided to use the term E2E but actually change it's real meaning to complete opposite?

That's some 1984 crap right there.

E2E with "Facebook being one end" essentially means normal SSL!
Sure does.

https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
Reminds me of Randall Munroe's Thing Explainer:

"In Thing Explainer: Complicated Stuff in Simple Words, things are explained in the style of Up Goer Five, using only drawings and a vocabulary of the 1,000 (or "ten hundred") most common words."

https://xkcd.com/thing-explainer/
> On the contrary: the compiler and programmers have performance expectations. Just as modern compilers/programmers expect macro-op fusion between x86 cmp/jmp pairs, modern ARM compilers/programmers expect fusion between AESE and AESMC.

I understand that compilers and programmers have expectations. I just don't see how that determines the CISC-ness of an ISA specification. (Again: see my RISC-V example.) That said, it's a bit of a side argument.

> Does that make AMD Zen's implementation of AMD64 a RISC machine?

No, it does not. The fact that you have different pipelines for different parts of the ISA enables maintaining a RISC-like architecture. That doesn't mean that it is RISC. For me, the complexity of the decoder is the determining factor.

> ARM kind of has this instruction set called "Thumb2" you probably should get familiar with. Which by the way, all ARM8 chips still support if you put them into AArch32 bit mode.

I thought Thumb2 instructions can either be 16-bit or 32-bit wide, like RISC-V compressed instructions.

x86 allows a free mix of 8 bit, 16 bit, 24 bit, 32 bit and 40 bits.

As a hardware designer, the former is minor decoder implementation nuisance. The latter is a nightmare.

I was not aware that THUMB2 allowed byte-aligned instructions of variable length.

> EDIT: Its really, really difficult for me to consider ARM a real RISC machine. I'm sorry. It supports all of the PDP-11 addressing modes for goodness sake. (post-decrement, pre-increment, etc. etc.).

Nothing is ever black and white. If somebody considers mixing 16-bit and 32-bit instructions CISC, then CISC it is. My bar is just at a different level.

> Or is "LDR R0, [R1, r2, LSL #2]" really a RISC-style instruction?

Why would it not be?
Only after you noticed that UAC color is blue instead of yellow i started to see difference.

No user will understand this though.
> Going from an i7-6700k to 7700k to 8700k to 9700k gets maybe 10% faster single threaded performance on each step

Sure, but you can get CPUs with 2-4x the number of cores at consumer price points, which is great for people who do streaming or virtualization.

> hot new NVME SSDs aren't noticeably faster than SATA SSDs

Oh yes they are, and I'd never go back
Im running an old opencompute windmill server I picked up when facebook surplussed all of theirs, cant recommend the thing enough. 2 nodes with dual 8 core xeons with HT each, 10GB networking and I've stuffed them with ~256GB of ram, pcie based nvme ssd, and RX480s. Use one as a vm/container host and the other as a workstation.

Its more like a freight train than a sports car, but i routinely see Chrome taking up 57 GB of ram on the node I use as my workstation and kinda just laugh.
The Nokia N900 used to fill this spot between phone and PC for me. It has a slider keyboard and came with a Debian based Linux distro (Maemo) installed on it. Typing was much more comfortable than with a touchscreen and with a few changes to the Xorg keyboard config it was even suitable for programming. The padding madness wasn't there yet and even though the screen was very small by today's standards, it was used very effectively.

There was a small community of users who were building applications (mostly built with GTK+) that were often of higher quality than what I got used to on Android now. They could be installed via the App store equivalent or just using apt-get from the terminal.

There were some great "Whoa, this works?" moments, like running the full-blown Arduino IDE and flashing something via USB-OTG or writing a Python script that makes the phone act as a sonar. And everything almost with the ease of a Desktop-PC, just a bit slower :)

I went through four used N900s (they unfortunately aren't very durable) before I gave up and got myself an Android because the web became too bloated and slow. I still miss it every time I'm using my phone for anything different than calling someone or taking a photo. I just had to get that off my chest.
Seems they're 'just another booking site' IMO.
ha ha I knew something felt off.
I am not seeing the deflationary part. They just split it and created twice as much Bitcoin and Bitcoin cash. There is a new Bitcoin like currency minted every 5 minutes. It is far cheaper to create digital currencies than paper money and far easier to steal. I think it is a delusion. That is not to say the technology cannot be useful. It has a lot of problems. Wait for Bitcoin 2.0

You think he is planning on having to leave the country? How would he have time. The average CEO is working 80Hrs per week. Much more than their over paid thralls. He is CEO of 2 companies. That is 160Hrs per week. Plus the 10 day silent meditation retreats. You guys do not realize the excruciating demands placed on todays CEO's. They truly are our modern hero's. He should be given his own reality show.
In the case that parent commenter described, you would be invited to the interview based on your qualifications and your color, but would be hired based on your demonstrated abilities during the interviews.
Correct, but this is being slowly phased out in some areas, particularly in the EU due to regulations. e.g. https://www.lexology.com/library/detail.aspx?g=2d2ab9fe-a2a5...
It's sad if you're a founder or a VC, but not sad if you're an engineer. "Total Compensation numbers for software engineering is skyrocketing" is a very good thing for the folks who grind every day.
I always thought it would be an interesting to write an AI for a shooter like Call of Duty or Halo, which is trained on real player data, according to your skill level. Most FPS games already record match data, so the dataset is available. What might happen is that the AI might evolve as the player meta evolves, and would learn what types of maneuvers work in certain situations, it would know average accuracy for a skill level to adjust itself, etc. It would also allow the game to fill in low player population, e.g. during a low traffic time or for a player with a ping that is too high, with bots that act human-like. Maybe wishful thinking, but I always thought it was an interesting thought.
> Factoring liquidation preferences for VCs and you get a small pie for most people involved.

Let's say HotelTonight was acquired for $500 mln. How much of that the founders could get at most based on the last valuation?
> Give us an open (hardware) phone and OS plus apps will follow.

I've been very happy with my OpenMoko FreeRunner for about 10 years now. It's running Debian (QtMoko), can send and receive calls and SMS, has WiFi, a Web browser, games, text editor, etc. I can also do anything from the terminal (locally via a terminal program, or remotely via SSH), including "apt-get" from the standard (although outdated) Debian repos.

My only annoyance is that the old QtMoko on-screen keyboard had really good predictive text, but it got removed in an update (apparently it only worked well in English and German; but that didn't bother me as I only know English)
Overview of Efficiency Concepts in Big Data Engineering
Indeed. "Concentration camps" was just such a euphemism, itself: this was the British term for relocation camps for civilians in the Boer War. They weren't great, but they weren't death camps.
This is what priceline et al have been advertising for two decades.
My solution to this:

i use password that contains only 5-letters words

so each new word starts at 1, 6, 11, 16, 21 etc

it's easy to scan the password for specific letter in memory this way

funny thing: i didn't do that on purpose. I just came up with a password that happend to have such words only.
I used to be really excited about the idea of convergence. I still think it's cool, and I hope it gains more traction, but after working on more webapps designed for desktop and mobile, there are definitely challenges. The "write once run anywhere" pipe dream is quite elusive. I think something like React Native's "learn once write anywhere" philosophy might be more realistic.
Love the book. Super fun to read, even for an adult.
In the case of Daraprim? Nowhere. It's not a drug many people need. Shrkreli himself has talked about this. It simply wouldn't be able to make a dent because of this, and it didn't.

If I'm recalling correctly, and I might not be, Shkreli is agnostic about the larger policy issue at hand, he simply made a choice for his own business that had little to no negative real impact.
I wouldn't build greenfield in India (I've had to deal with the quality coming out of there on numerous occasions) but I also wouldn't build greenfield in SanFran.

It's less the cost to me and more the turnover. I as a worker have every incentive to take a position in SanFran to get to SanFran and get established (outside of the money). I also then have every incentive to leave as soon as possible for one of the Big 5 since it's gold on my resume (even if I don't stay there more than a year or two).
There's no doubt you can create lots of stuff, and I would not say otherwise; the iPhone has a nice camera and the tools for media production on the iPhone are actually pretty ok.

All that being said, I don't do any of that stuff; I write software and write the occasional blog post. For me, I need a compiler, text editor, git, a good terminal etc. In this regard, my old Packard Bell is honestly more powerful, and despite my iPhone having objectively awesome hardware in comparison, I accomplish much less.
I never did give Facebook my phone number, thank god
Users don't care what came first. OpenCensus created a better model by combining tracing and metrics and building libraries.
There is nothing erratic about smoking pot. Millions of Americans do it daily with no negative consequence. If there are other legitimate issues that preclude Musk from holding SCI clearance, take him on those issues.

The guy holds three citizenship, and pot across the majority of the US is a patchwork of laws being either legalized, decriminalized or allowed for medicinal use. It was legal in California where Joe Rogan's podcast was filmed.

It's time for the DOD and Intelligence to evolve beyond their current draconian policies.
AD relies on dual numbers. Dual numbers are more suited for doing calculus.

Structurally, dual numbers are numbers of the form a + b * e (where e is epsilon s.t. e^2 = 0 but e != 0. Think of it as the imaginary constant but instead of i^2 = -1, you have e^2=0).

For example, multiplication of two dual numbers (a + b * e)(c + d * e) = (ac + ad * e + bc * e +bd * e^2). Since e^2 = 0, you end up with (ac + (ad + bc) * e).

Here comes the magic. Dual numbers let you evaluate a function and get the derivative at that point by just evaluating the function. In the above, example, if this was the result of a function, ac is the value of the function and ad + bc is the derivative of that function at that value.

https://blog.demofox.org/2014/12/30/dual-numbers-automatic-d...
Facebook finds UK-based 'fake news' network
Those are rather lower than what I would expect to pay for top India-based talent (however, I don’t buy on the open market), but not too many sigmas out of expectation. More like five or six devs once you factor in both US salary and benefit load factors, or perhaps two to four devs doing particularly high-value work such as AI/ML.

Having said that, you have to include your on-site management (people and project), various other cost drivers (taxi or car costs, for example), domestic PMO and architecture oversight, and accept your delivery-days overage due to timezone and distance factors. In addition, those latter factors, plus a few regional-culture aspects, tend to result in needing more people (devs, supervisors, etc.) per function point than a pure colocated dev team. (Whereas a Mexico or LATAM team, while more expensive per developer, tends to be more agile for US-based projects due to timezone if nothing else.)

Cheaper? Per developer, absolutely. Solid development chops? Sure. An unalloyed win? Not without its caveats, but definitely worth exploring.