jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I ordered an infrared temperature sensor. My idea is to build a prototype of a low cost device that a merchant can use to show to customers that their staff is healthy, or at least does not have a fever. The idea is that when a staff member handles something, they quickly get their temperature taken, which prints out a sticker with their id, the time, and the temperature, and then they affix that to whatever they were handling. So, when the customer is handed their package, there is some evidence that the staff is not sick.

An added feature could be a back end that alerts if a staff member begins to show signs of a fever.

Currently, there seems to be a shortage of low cost infrared temperature sensors. I'd also love to find a very small and low cost printer that supports this. So far, I have found some label makers that could work.
Thanks for sharing your experience. Hope you and your flatmates are doing better.
Yeah, like we did for the financial crisis, the climate crisis, etc.

In a nutshell ? Either you approach this with a class warfare mindset or the usual suspects are going to come out on top again.
I know it’s hard to believe but the regime (who any lift in sanctions would have to flow through) hates America enough to kill their own people.

https://twitter.com/ap/status/1241658649224925184?s=21

Aid is the only way to help Iran.
What create the air pressure in an airplane? Is it external air speed? Or compression from the engines?

If the latter, how does it work on airplanes with needless engines?
"We saw a need for a site that people could find Covid-19 test locations"

I'm curious what data/feedback you used to conclude this need existed. I haven't seen any news articles that say the bottleneck is knowledge of locations. As many others have pointed out, the issue is with healthcare staff safety, test supplies, etc.

If you end up looking for a pivot, perhaps you could convert this into a map of locations where people could safely donate their excess supplies of masks, etc that they're holding onto unnecessarily. That could contribute to the problem of lack of supplies for healthcare workers.

thanks.
Uhh quick limiting thing here (although I agree that the addition symbol is fine): the existence of a unifying math concept alone does not justify using the "+" symbol. By that argument, notating permutation conjugation with a "+" is fine, but that would be a notational sin as the "+" operator is reserved for commutative operations.

However, with that disclaimer, noting that both operations form monoids and both are commutative justifies the "+".
And to think how much time I spent last month recommending these guys, especially the Facebook-friendly Fremont data center. Awkkkk-ward.
I get most of my tea from Adagio, but I recommend Golden Moon Tea's starter set: http://www.goldenmoontea.com/gifts/tea-taster-s-sampler-with...

It has 31 single-serving sample teas, and a teacup with a strainer. The quality is reasonable, and the variety is spectacular. After finishing it, you'll know which teas you enjoy. I took notes to remind myself which teas I liked and didn't like, but it was worth it. Plus, I still use the teacup and strainer!
Programming is only an impressive-sounding "skillset" and not a simple skill, like riding a bicycle (at least in its rudimentary form), because of how awful the interfaces are between simple code you write and things happening that make a difference in your life. Maybe this problem will eventually be solved not by a better Linux UI philosophy, but by things like Heroku.

"A better UI philosophy" wouldn't even have to be anything new. It's just the classic modular Unix way--the thing that makes shell scripts so easy and satisfying. It should have been extended to GUI. I would guess that someone tried, but it didn't catch on. The idea is too obvious.
How does it work with custom content? If I wanted to say play Mnerva for HL2 (assuming HL2 were offered on it in the future), is there a way?
As the first commenter on this post noted, it's not a diverse (in the U.S. Census sense) list.

But I'm more inclined to write posts that treat tech as a meritocracy. I don't do affirmative action.

Two questions:

a) Am I wrong?
b) Are there any first-rate women web design bloggers? How about people of color?
This is why a government of law is far, far better than a government of men.
This would make a great job interview question.
I hear you on Sphinx-- definitely looks like a great tool, though I haven't used it before. Do you know if Rails has something similar?

Also, would you use sphinx to generate end-user docs (like the kind you find publicly available on Heroku, Twilio, SimpleGeo, PayPal, Hoptoad, etc.) or just internal docs? What level of control do you have over visibility of docs (i.e. can certain docs be private and others public?)?
> Most lower-income americans make more than the world median income.

A meaningless stat; cost of living here is far more than the world median as well.
No, that's not the case at all. Tor does not claim (and never has claimed) to protect against attackers trying to do what's described in the article. Tor provides anonymity only, not full end-to-end encryption.

If you don't want your messages to be sent as plaintext, you have to encrypt them. This is true whether or not you're sending your data through Tor. Tor does do some encryption, but all traffic between the exit router and the final destination is unencrypted, because Tor can't magically encrypt traffic to a server that doesn't know how to deal with encrypted traffic. (Which, on the internet, is still most of them).

Tor is not the be-all end-all of anonymity online. As their website very clearly states, you need to do other things (like encrypt your sensitive traffic) if you don't want people reading it. Messages on their download page and in their FAQ very clearly address this.

The same explanation from the Tor people themselves: https://blog.torproject.org/blog/plaintext-over-tor-still-pl...
> Some people treat programming as a Social Science ...

Yeah really!

For example, from http://www.talesfromthe.net/jon/?p=236

'OK, maybe this is obvious to everybody outside the field of computer science; but within the field, we are in the process of a major paradigm shift -- when I get excited, I describe it as a Kuhnian "scientific revolution in progress", which might be stretching things, but just a little. Computer scientists have historically identified either as mathematicians (ah, the purity) or physicists (pretty good purity and much better government funding); but if you look at the kinds of problems we are trying to solve now (bunches of different aspects of the security problem, privacy, usability of pervasive computers, changing business models, e-voting) it seems pretty clear that the key issues relate to people and the way they communicate and organize themselves, rather than discovering the underlying physical laws of the universe -- in short, the domain of social sciences.'
Here is the deal:
- 2.4GHz Core 2 Duo CPU
- 2GB of RAM
- 320GB HD (no ssd afaik)
- HDMI out (finally)
- SD-slot (which is also very "un-mac")

In terms of computing power, its overprized. But as a product that sits in your livingroom, problably not making any noise and runs under 10W, then I will actually call this a fair deal. May I add that its ridiculously small.
Has a company ever sued any TDWTF submitters, or is the code just too embarrassing to be associated with? I've seen a fair amount of crazy code like this in the wild, but haven't had the balls to submit, even after some obfuscation.
Hah nice. But I'd bet the battery dies after much use :(
If you dynamically append the script tag you still have to get the script from somewhere. Hence my library loads the script via AJAX. Rather than using the roundabout technique of writing another tag, it uses eval() to evaluate the downloaded JavaScript directly.
I believe its called EssBase.
Here's a solution to your solution: incorporate each oil well as a separate corporation wholly owned by an oil company, carrying no insurance, and remitting its entire profits each year to its shareholder as a dividend. The corporation can buy the property it wants to drill on, so that there's no property owner to demand insurance.

Then, if there's an accident like this one, all the other property owners can sue the oil well, which will go bankrupt and pay them pennies on the kilodollar.

In short, your "ultimate solution" is ultimately thwarted by the institution of the limited-liability corporation.

(An analogous bug exists even without limited-liability corporations, but it's less severe: "Tortfeasor regrets that he has only one life to give to atone for his torts.")
I'm afraid the thrill of submitting and the limit of 80 characters made the title more sensationalist than it was in my mind. :]
Yes, but its the same body. Let's think about it, you dont check guys hand size when its naked all the time, why would you care about size of his penis (its also strange how even in comments most peopele feel uncomfortable calling body parts by they proper name). You should not.
Eh, more and more it’s seeming the opposite. This seems to be what HN wants and perhaps I don’t belong on it.
Fun to see, and awarded full-on nostalgia. This was an actual assignment during my CS curriculum in the late 90s.
I wonder how many upvoters read the whole thing and think that the NYT (or something like them):

>They are the ones that choose the president.
Just picked up Naked Lunch which appears to have been one of the last books banned in Boston. Read the first chapter and wow is it a strange ride so far.
I have similar issue and wrote code-scope to tackle the same issue:

Check the demo screencast:
https://www.code-scope.com/cs-demos.html

Document the bpfcc tools cross reference Linux Kernel source here:

https://www.code-scope.com/s/s/u#c=sd&uh=0f2c2fa280a2&h=a2f7c69d&di=35&i=60

A web document that analyze and document the USB driver source code in kernel source tree:
https://www.code-scope.com/s/s/u#c=sd&uh=cf979192e856&h=ede5...

It has fast source code search engine and can search any symbols, function in GBs of source base in milliseconds.
It spends most of the time waiting for IO.
If you don't think the journal has rag hit pieces I don't know what to say other than you obviously haven't read many articles or practically any opinion pieces from them.
I'm somewhat echoing another comment about this that I saw, but the thing I find so atrocious about the NYT article is that it's actually difficult to call it a "hit piece", because it contains so little substantive information of any kind. Instead, it goes to painstaking lengths to paint pretty much everything with the "alt-right extremists like it too, brush!" that the author's preconceived notions and biases are laid so transparently bare.
-- The most successful bacteria are those that can live off a host without killing them

E.g. Tuberculosis
This probably doesn't "gratify one's intellectual curiosity" (as required per HN guidline) but it may cause a chuckle or two ;)
>but strong intuition leads me to believe that neuroeconomics and game theory can prove that this will not work

Strong intuition and game theory can probably prove that theoretically nobody will want to buy an Apple watch edition ... humans are not rational, not at all. Humans are way more complex than our models currently can describe. Preferences can be modelled but how correct are they?

Even though it might not be feasible, I think it's a goal we should strive for. I feel that if every basic need of a human is taken care of. That we can progress as a human race, as one unit. Am I more important because of the decisions my parents made to raise me well and to focus me on my studies? Am I 'worth more' than some kid in Africa who does not have the privilege to go to school, to have a 'normal' life? Would homeless people pick themselves up if they we're given the chance? How much of the homeless would pick themselves up given the chance. How many 'regular people' would 'drop down', 'just quit' if they had the chance?

I feel like basic income (or some sort) should be a moral goal of humanity as a whole.
The switchable layout is a nice touch. Programmable layouts would be nice. And a version without any key labels.
Yeah, tail -F is the way to go imo.

Also, if you are using a proper ssh client, opening a second ssh connection to manage the reacting to the log files is habit for me at this point. The only time I'm using tail -F is after a new configuration deployment. Otherwise, I'm looking at archival data in ELK.
Note that, for the adage, I realise I was thinking about the "Renaud Sechan" version, which roughly translates as "Money doesn't buy happiness, but it helps buying the groceries." ;)
That's a well-written app. It clearly explains what they're doing, why it's important, and why they're the right team to execute on it.
It's not just millennials: As suburban boomers age, more of them won't be able drive due to health reasons. My hope is that self driving cars and better planning can help us rethink things.
If the agents are convicted, you'd think Ulbricht's lawyer could appeal to have his conviction overturned...
>And under the current model, it is hard to get it from corporations, squeeze too much, and they're gone

How can that possibly be? All corporations cannot just move elsewhere. There is not infinite space or talent or customers in this magical 'elsewhere' that everyone fears the corporations will move to. There are simply not enough trained people while, on the other hand, there are people right here right now currently working the very job in question at these corporations. Sure, out of 1000 companies, maybe 10 would find enough skilled workers to fully staff an office in Germany or Singapore or Australia, but the other ones will have just shot themselves in the foot and they know it. That's why they currently pay the premium to have an American office and not one in Bangladesh today, because if cost was end all be all these companies would have left for Bangladesh in the 1980s. Twitter would be a Bangladeshi company. We would be posting on news.ycombinator.bd right now. It's not cost, it's talent. It's also access to the American market of 400 million people at a higher standard of living than the median person on Earth. If we are worried Ford is going to take their manufacturing jobs to Bangladesh and make us buy Bangladeshi Fords, we could just sanction these industries such that the only legal Ford is an American one, like how we make Honda assemble Civics domestically. We already do this with domestic auto markets to an extent, having certain regulations means certain companies do not bother selling cars here, and vis versa, despite the car being an in demand product world wide.
Number of lines is actually a pretty good (though imperfect) measure of how difficult a code base is to work with, which is why many developers are delighted by the opportunity to delete code.
I don't understand how this would work. You would tax corporations based on actual income? So money-losing businesses would have to pay taxes on their income even though they operated at a net loss? And low-volume/high-revenue businesses would pay less in taxes than high-volume/low-revenue would?
Red Bull does not invest in sponsorships, they invest in creating 'history'. This is an example of Red Bull creating history.

They do this also by buying sports teams. You can blow 200M on side line advertising throughout several soccer seasons, or you can buy an entire soccer team. When that team wins, you build history.

Its brilliant marketing.
There isn't one to keep, its just keyboard shortcut in chrome(??)
My guess would be that it starts with the assumption that "China is cheaper", and that makes for an easy story to tell to investors "we're making XYZ in China!". The second you say "we're making it in Texas", it opens you up to questions of "isn't that expensive?"

On the face of it, I'm sure the up-front quote from a Chinese manufacturer is cheaper than something in the USA. Where costs skyrocket is when something goes wrong: the parts are wrong, the products aren't ready on time, something was done incorrectly, etc. If you don't have a manufacturer you can trust, one of those will happen, and is almost impossible to diagnose from the US.

Even if all of that works out, there are other things to consider: costs (and time) of shipping. Want it in a week? Well, get ready to pay. Even if you ship it air freight consolidated, it's still not cheap. If you want it on a boat, there's a good chunk of time to think about.

On top of THAT, there are all sorts of fun import tariffs and such to deal with (at least on the US side). Get ready to front money for an import bond, for starters! And there may already be some hidden costs of importing into the US: if you use some TI parts that have to be imported into China, you're going to be paying taxes twice.

A lot of those things are likely not looked at in the low quote from a Chinese manufacturer. They're costs that can/will show up later along the line.
I sponsored this move and I am making a port. I really love the language and hope more people will!
There's also https://github.com/prechelt/typecheck-decorator

...which I prefer stylistically (decorators instead of magic monkey-patching).
It's pretty clear that smartphones aren't primarily for placing calls. They're pocket computers with cellular internet access.
2012 is a little early but I think touch-displays and mobile OSs will be a technology leap in countries where a majority of people have not been accustom to traditional computing environments, mouse/keyboard interfaces, etc. Smartphones and tablets are destined to be the $100 laptop in underserved countries. I hope Google and Apple make charitable donations in a few years when hardware costs drop. They'll be great for education.
obligatory: £350 Strawberry https://www.youtube.com/watch?v=895DfGuoqvU
no, this is real and it was awesome. but maybe an AI could generate this. in which case maybe it would pass the turing case for this event.

another person told me that the mix might have occurred to reduce the effects or maybe cut it to have more opium to smoke, idk
interesting but i am not impressed. why can't i just write c++ and compile it? why would i need haxe for? a "standard" language doesn't need to be compiled into other non-standard languages.

i thought this is supposed to be multi platform? i don't see C# (windows) or other languages there? kind of misleading to me, sorry.
I have used HaXe for a while - however no where near the level that it could be used for.

It's developed by Nicolas Canesse of MTASC fame as well as the developer of the Neko VM and HaXe which runs on top of it. Excellent and active community and the features are constantly expanding (considering the additions of output targets such as iPhone, PHP, JS, etc).

Well worth a look for any developer (even if you aren't interested in the Flash portion which seems to be the biggest usage area).
Not surprising, though removing a problematic app from the app store hardly qualifies as joining the "war" on Wikileaks. It sounds like the app was basically charging people $1.99 to deliver content that was meant to be free.
I was an attendee for this session of ClePy (Cleveland Python); the docs linked in the article are extremely clear and useful.

Here are direct links (FTA):

Lab1: http://nickbarendt.files.wordpress.com/2010/12/lab1.pdf

Lab2: http://nickbarendt.files.wordpress.com/2010/12/lab2.pdf

The related code is all available here:

https://github.com/nbarendt/ErlangIntro/

Having an entire room full of developers to bounce didactic ideas off of was extremely valuable; I encourage anyone comfortable with the subject to share a similar class with their local developer groups. Sometimes all you need is that little extra push to lower the barrier of entry and gain some momentum in learning a new language.

(Great Lakes beer helps, too.)
"The product" is defined as the activity whereby the engineering organization delivers new products and features to customers. All of the above activities are important, but they're not "the product".
I found this disturbingly fascinating in a similar manner to reading autopsy or accident reports. It was clear and explained a process that I wasn't familiar with even though I shoot a .22 target pistol and .22 target rifle. Between the linked article and some of the comments it gave me a new found respect for my peashooters.
Immutable data structures.

Scala and Clojure both provide higher level facilities for concurrency then Java, Python or Ruby.

Scala and Clojure both have solutions for the expression problem, a very real issue when growing code bases (every OO language should have this)

Clojure provides metadata - a lovely concept of attaching information to an object w/o affecting it's value or needing to 'wrap' it in a class.

All these things add up to a significantly more productive experience. Especially as a project evolves over time.
Hoping Textaurant takes off.

I was at a restaurant last night where they gave me one of those awful pagers. Not only did it vibrate though, it also repeatedly shouted at me, "Your table is ready." It was disruptive and surely annoyed the other patrons while we settled up at the restaurant's bar and made our way down to the host stand.

It made me really wish I could just get a discreet SMS telling me to take my table.
With a shorter battery life, more than twice as heavy, and cumbersome to use in the "tablet" mode. The deep discount on the $1200 ultrabook also seems unusual, like they're having a fire sale just to get it out of stock.
It doesn't matter which VCS. If you check in text, you can review the changes. If you checkin databases, all you get is a blob. Git is not magic and will not solve this problem.
Is this a household name, or is it ok to ask for a cliffsnotes edition of who he is?
One place I worked at used the seven dwarves as machine names (not that
many machines at that time). I can understand the need to use functional
names where dozens (or hundreds) of servers are accessed by dozens (or
hundreds or thousands) of people.

On my personal network I use ship names from Iain Banks Culture books.
Thanks a lot for the submission.
Really wisdom worth a christmas gift.
Merry christmas HN
You can find examples of some public employees getting outrageous pensions but these examples are at not typical. Given that California has a huge budget shortfall are you suggesting that this shortfall is due mostly to outrageous pensions?

We presently live in a system where states often times compete with each other to offer incentives to attract factories or other operations that employ a lot of people. These tax incentives are paid for by the people of the state, that is, by the workers. It's a perverse system. Maybe companies should be willing to pay their share of national defense, roads, etc.
Because there haven't been generations of poor Hindu immigrants who are now working in gas stations.
Hindu immigrants are all fairly recent and with current immigration policies only professors and bankers are likely to get in.

For example the Japanese community in the UK is tiny, almost all are senior execs of Japanese merchant banks or electronics companies - so average income is probably $250k. But in San Fransisco there are lots of poor 3-4 generation Japanese kids. It doesn't mean that there is anything better about the UK for Japanese immigrants
I would love if the Orthodox were divided by background, i.e. Arabs, Greeks, Russians, Romanians, etc.

But maybe I'm asking too much.
by blowing $2.8 million on nothing

sure, so now Oregon will loan additional $2.8M here and $3M there until it itself becomes the California and comes back to FB asking for money. Of course by then there will be plenty of bankrupt states (countries even?) willing to offer tax breaks to help wonderful companies like FB to relocate.
I believe the evaluation for large data center locations looks something like this:

1) Where can we get cheap power?
2) Of those locations, where can we save on taxes, building costs, labor, etc?

AFAIK there isn't anywhere in CA that qualifies for 1).