jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I would actually argue that using PHP as the templating language in a PHP MVC application has become the majority use case.

Why layer an additional templating language (Smarty, etc) on top of PHP - incurring extra processing and parsing - when PHP is a perfectly capable templating language itself?

There are cases where you may need to do this (if you can't "trust" the templates for example and you need to enforce some kind of validations or restrictions on them) but otherwise you just need to follow/enforce business rules about what can go in your views, and just use plain ol' PHP..
This is great -- I'm very pleased to see a challenger to C/++ step up in this space. And I'm starting to get really interested in Rust. It would be great to have a safer language to use in the place of C/++, particularly since the world seems to have decided to disregard Ada.

That said, it's important to note that this is not Rust on an AVR Arduino -- it's the Due, which sports an Arm Cortex M3. Targeting AVR which probably be much more difficult (at least that's what I've read). So you won't be able to get this running on your Uno.
Except no, Rails doesn't have this. Not even remotely close.

Rails still makes you write your migrations by hand. It also forces you to distribute your critical constraints, validations and dependencies over a usually incomplete model class, and incremental migration files.

In Rails/AR there is no place in the filesystem to find out about the currently declared schema.

It's a fundamentally broken design.
There is Moonshine http://moonshinejs.org/ to run Lua in the browser. There are a few more too.
This article shows the extent to which the President and his team are playing chess to these Youtubers' tic-tac-toe. By granting interview time to a group so clearly hungry to establish their legitimacy as "real" journalists, Obama ensured that they'd be in doe-eyed admiration of the President and the fact that they are interviewing him, and forget the principal reason that political journalism exists: to hold decisionmakers accountable to the public.

A journalist who treats the President like any other interview subject and asks tough questions, even if the President gives evasive answers, is serving the public more than a group who thinks to themselves "Holy shit, I just interviewed the President."
I got secondary-screened upon arrival because:

- I told the border guy I got paid via 'PayPal' and he had no idea what that was, they had to spend 20min Googling it

- My friends friend paid for our plane tickets, so they grilled us why we didnt buy our own

- I made a mistake on the customs claims sheet where I crossed something out and replaced it. Apparently they think this means you are trying to hide something and need to look through every piece of luggage, including possible hiding places in the luggage (that didnt turn out to exist).

There are countless reasons to get harassed. Hardly has to do with obvious security issues.
That the 'new' page is only so long and if people flood the new page with links hoping to gain traction with one of them then it will cause a lot of good stuff to be lost.
The same way the police describe uncaught criminals as smart and dangerous.
> At least if I went to a place like Mogadishu, I may be at risk, but I know they don't have the resources to waste on finding out unknown knowns.

Many of the places without those resources default to "you're fucked", not "we can't prove anything, let him go!"
Social inequality without serving a conscious purpose
I don't want to bother with an account there, can someone post these for me?

http://www.htdp.org/
http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/
http://www.cl.cam.ac.uk/~rja14/book.html -> First edition free
> They each have a number of pigeonholes they want to put people in

I'm not sure it's entirely fair to consider it that way. Bureaucracy work on Binary options because that generally makes things a lot easier. It's a hack. It might not be perfect for every individual to answer questions - but it makes organisation a lot smoother.

The officer was happy with the answer to his question about spying; so he decided it was not relevant to include it.

To me that sounds like bureaucracy working a little bit :)

It is when it goes wrong that it goes really wrong...

(It's like the gender question; if I ever have to ask for gender, which is infrequent, now I will consistently ask "what reproductive organs do you have?"))
Nginx is single threaded, handeling incoming requests asynchronous. This architecture can scale to several thousand simultaneous requests. Apache on the other hand uses multiple os threads to handle simultaneous requests.
We should get Elon Musk to chime in on this. :)
Thats cool, but I wasn't able to figure out how to turn on the feature within bing maps.

Also, its frustratingly buggy, and asks for silverlight to get many of the cool features natively available in google maps.
They rode a trend. They were in the right place when the press wanted to trump an anti-Flash story line. That PR is what tripled their engagement.

To me the document viewing experience went backwards and judging from the comments on TechCrunch I am not alone.
Propose a "memo culture". That was how we managed larger meetings at Netflix (and I'm pretty sure we stole it from Amazon) .

Before the meeting, everyone who has a stake in what's being discussed contributes to a memo outlining their thoughts on it. Then everyone reads it ahead of the meeting.

The meeting is then just to hash out what's in the doc and agree on which already proposed solution will be adopted.
To rephrase this article: The impact of direct air carbon capture will require enormous input of energy or enormous tonnage of materials such as limestone.

Another approach to reducing the human contribution to atmospheric carbon dioxide is to have each person adopt a low CO2 emission life style.

Just like a massive carbon capture technology, enabling individuals to adopt a low CO2 emission lifestyle is not a free proposition. How much to pay an individual to implement a specific low CO2 life style? Gasoline (the high emission variety 19.6 lb per gallon) at $3.50 a gallon produces a metric ton of CO2 for $393.

More detail at:https://www.lowco2america.com/2018/10/gasoline-co2-in-air-wh...
Clothing and furniture are the most egregious in this regard.

So many stores with "everything 30% off!" signs out front that have been in the sun so long they're cracked and fading.
> Do you have any "need" for a fullstack/infra kind of person?

Yes, we do. Both web (JS for VLC and for our website), backend (Go) and infra are needed.

And currently, people who are able to write Ruby to improve gitlab upstream.
AGI = Artificial General Intelligence?
We also support FFmpeg, in the way we can (infra and sponsoring of new features).
Exactly. So no one did it and your local store didn’t have to compete with those international prices.
What are some of the languages/frameworks/tools you use at your current role?
No one made up any words, they just misspelled "unsubstantive" (understandably!).
We are currently in the AI winter. What we have now is not AI it’s curve fitting. Don’t be fooled, the computer does not “understand” it’s doing blind curve fitting.
This is disturbing, and I can't really imagine how they want the ISPs to pull this off.

What counts as a porn site? Who will evaluate it? If I have a photo sharing site and some douche uploads a picture of a naked lady, does that count?

I'm ok with the child protection and all that crap, that should be parent's responsibility to begin with, but I think this is not the answer. They should at least ask everyone about this.

I really feel this is heading towards internet censorship in the UK.
Erlang's fault tolerance could come in handy for unstable network connections.

I can't think of a specific app at the moment, but there has to be some cool opportunities for writing a distributed application that runs on tons of mobile devices all working together.
Agree with your sentiment which is why I only allowed an afternoon to put it together and out. My reason for posting was, honestly to see if people actually felt it reflected so poorly that I should replace it with the standard hand-drawn peni chewing on ear.

Re: focusing on the actual product. This was the first "hello world" deployed with the dev-environment setup. SCM, scripts, and all that BS that's annoying to setup after you haven't done it in years was where the majority of the time was spent. I'm pretty sad how long it took me to setup everything.

Re: random emails, great point. The majority of the people who sign up are people I speak to directly or are in my network.

You may be interested to know that today I've only had about 36 non-garbage looking sign-ups and seems like around ~630 page views. So about 5% of views today resulted in a sign up.

Appreciate the time/effort/honesty.
Try loading up a dozen home screen widgets and running some memory/CPU intensive things in the background. It really depends on exactly what you're running. On my HTC Eris, which is of course a much slower phone, the phone is basically unusable if Google Navigation is running. Every screen tap takes at least twice as long to register so I have to mentally shift into a lower gear to accommodate it.
Very good book/essay. Every math professor/teacher should read this in my opinion. I found this book was incredibly enlightening and refreshing after years of school math.
Every time I see the wood interface, I think of Radio Shack and Tandy circa 1970's.
What a bunch of fuckin scrooges!!! If you don't like it than wait til after Christmas, then use vlc. In the meantime just use quicktime or wmp and shut the fuck up. Merry Christmas, a Santa Hat isn't forcing you to change your views, it's kinda like driving down the street and seeing decorations. If you can't stand wreaths or lights, well damn maybe you need to knock on everyones door and tell them not to express themselves. Or go into every mall with Santa in it and tell them it hurts your feelings, otherwise shut the fuck up.
Surfside, a full-service ad tech company focused on the cannabis industry, is hiring for engineers like crazy. Remote/hybrid/onsite/whatever works, based in NYC with employees across the states, we're looking for experienced engineers of any concentration.

We're a small and tight knit engineering team with plenty of opportunity for growth and specialization across our whole stack and our data pipeline, and are especially looking for React developers to take our front end to the next level. No matter where you go, you'll be able to make a measurable impact.
While we are fully bootstrapped, we just raised a healthy seed funding round at the end of last year. The excitement is palpable over here and it's great to be a part of.
Love of cannabis is, of course, a plus, and there are plenty of perks related to weed. We've also got unlimited PTO and excellent work-life balance, a friendly atmosphere and competitive salaries. I really enjoy working here and maybe you will, too.
If interested feel free to send a resume/linkedin and a brief word on your experience/why you'd be a good fit to alec (at) surfside (dot) io and we’ll be in touch. Thanks!
https://surfside.io/
Huge markup on the ECU. They are sold into a market where $1000 for an ECU restores thousands of dollars of other stuff to working condition.

There's also a whole lot of other chips in cars these days.
There is a way to give this feedback that is positive, collaborative, and highlights what a great team player you are -- the sort of thing that gets people promotions. But YMMV!
Well, yes, that's what the word "about" means.... I'm not sure what you're getting at?
Again, there is room for nuance.

There is a fundamental difference between storming the house with the intent of stopping a democratic process (the confirming of the next president) and marching to it to deliver a message.
I didn’t know that existed. Is there some way to use that to create a backup solution?
If you have an RTX card, get nVidia Broadcast.

If you have a non-RTX card (like a GTX 1070), get RTX voice. Despite the name, it does not require an RTX card.

Seriously, nVidia's noise removal is absolute magic, as far as I'm concerned. https://youtu.be/uWUHkCgslNE
People have been predicting the fall of Tesla for awhile. It's valuation is absurd by any possible metric or analysis.
Zoom at least has such a feature, I use it all the time.

There's some strange psychological thing getting some people to mute their side. I guess it's because some people are used to a ton of noise around them they assume others are ok with it too, but I'm probably reading way too much into things.
Yes my argument isn't one based upon history so much as a recognition that the stable state of our society seems to be destined to terminate in one where most human communication is mediated by the Internet not physical space. So whatever power structures, incentives, and ethics we lay down now are likely to echo far into the future, if not forever.
Or we can use a number of different programs for different purposes like I do:

- exchanging passwords? encrypted mail, Signal or something else E2E-encrypted

- work: whatever work says. Mostly slack.

- discussions with friends and family: Telegram

- online shouting competitions: twitter

- showing off: Instagram

- telling Facebook who my friends are and how often I talk to them: WhatsApp ;-)
CLOS and Perl 6 have multiple dispatch, which improves genericity when used well. All four of the languages I mentioned have better metaprogramming capabilities, whether from runtime introspection in Smalltalk to a well-defined MOP in the other three. Smalltalk and both Perls offer better mechanisms for genericity, abstraction, and safety through traits and roles.
There are still a fixed number of seats on the train (or plane). If someone "steals" a seat then that's a seat that someone else cannot have. This is dramatically different from the case of digital media where there is no similar impact.

For music piracy the only cost is the potential lost sale of the music to the "pirate".

Edit: to follow up, I'm a music pirate and proud of it. In my experience there are three types of people who pirate music. There are casual pirates who occasionally download the most popular songs of the day. There are hardcore pirates and digital packrats who refuse to pay for anything they don't absolutely have to and download music they might not even like, just to have it. And there are music lovers who have an insatiable hunger for lots and lots of music and enjoy discovering new music. From a financial perspective for the artists piracy is not generally a serious problem. Casual pop-music pirates generally download only songs that are already mega-hits, and the artists have been compensated thoroughly from. Hardcore anti-business pirates aren't necessarily a significant impact on artists because they wouldn't have paid for the albums they've pirated regardless.

The really interesting aspect comes from the 3rd category of pirates. Music lovers may "pirate" music but they also buy music too, and being exposed to more music means only that they end up buying more music (and going to more concerts), which is nothing but good news for those artists. Some of my favorite music I've discovered only by first pirating it, and in many cases this has lead to supporting artists financially (through album sales, merch, and concerts) that I never would have known about and never would have given a dime to previously. I can't see that as anything other than a good thing.

The current hypothetical non-piracy model for music is broken, and it always has been. There is too little variety on the radio and 30 second or 1 minute clips of songs don't cut it. Sometimes you just need to borrow an album and listen to it a few times before falling in love with it. This is the way it has always been. There's always been borrowing and copying in music, but the internet has made it infinitely more effective and so cast the issues into much sharper relief.

There is an even more important point at play here. And that is that a train line can prevent you from sneaking onto a train without a ticket fairly easily, but it is nigh impossible to put the music piracy genie back into the bottle. Music piracy is going to happen. The technology makes it too easy now, and there is a cultural desire for it. There is no choice to stop it, the only choice is to figure out how to live with it.

P.S. Some people might enjoy listening to this: http://www.youtube.com/watch?v=mdRAQWp73S4

P.P.S. http://www.gemm.com/item/GEINOH--YAMASHIROGUMI/ECOPHONY--RIN...

(perhaps this is an experiment?)
I find these examples of scarcity and cost really interesting and wonder if economists do too... IP4 is like a miniature version of the energy crisis — at some point the cost of not switching _to someone_ become greater than those of switching. I'd be interested to know how it works in this situation? Who will be, in actuality, faced with the headache of not enough addresses, and will they be sufficiently powerful to motivate others who don't directly experience the pain to transition?
If you ever get a business card from someone at a networking event who calls themselves a startup advisor, consultant, etc...RUN!!!!
This is the counter point to business types saying "I have an idea, all I need is a coder to build it"... "I have an app, all I need is to turn it into a business"
Arguing with everyone who disagrees with you, questioning their motives, and then deleting all your comments is troll behavior. I actually took the time to write the little C crypt(3) loop to make sure I wasn't crazy before making my points; the person who instigated this thread couldn't even bear to stand behind his own words.

On the off chance that anyone thought this was a graceful way to end a pointless argument: no. It's cowardly and rude.
Ok, but I think the point being made is that the artists (ignore the record companies, they're idiots) feel as if they are being stolen from.

Not just in monetary cost.

So; ethical theft?
There was also an attempt by Lego to trademark the blocks. That would have prevented competitors from creating compatible designs. However this was recently struck down by the European Court, http://www.independent.co.uk/news/world/europe/eu-judges-rul...
I think it's more that formatting discussion is _easy_: if you get a merge request, you can start adding comments like “this should be indented differently” or “wrap this here” and spend a lot of time “reviewing” the request without noticing that you missed an error in the logic because you were focused on the most visibly upsetting problem.

Using an automatic formatter also can help reduce diff noise, which is something I've noticed on more active projects. Using Black drives close to zero the amount of time I spend confirming that someone didn't actually change functionality along with formatting. There are other ways to get this, of course, but it's so easy just to enable Black and never spend your time on it again.

> Parentheses placement is dicated by how long words are and not by what logically belongs together, etc..

This is actually a bit more subtle: Black will remove parentheses when they don't have any effect (e.g. `(32)` will become `3 2` because it covers the entire expression) but if you use them for only a subset of the expression they'll be preserved (e.g. `(1(32))` becomes `1 * (3 * 2)`.
They do that when they're concerned about bad actors or want to prove out the API first with a controlled set of people who are willing to experience breakage
I'm more concerned re: police. Is that an American thing?

If the police show up at my door, I'm better off opening it regardless.

Whether they're here to ask questions about something I may have seen, to warn me of a situation, evacuate the building, or to arrest me, I need to know and it's in my interests to cooperate.
We are not in agreement. Girard takes issue with any process where someone is blamed for misfortune, for which they are not actually guilty — ie the process of scapegoating.

You propose that all the individuals involved in scapegoating are always aware. This does not accord with my reading of Girard.

What Girard does believe, in my understanding, is that individuals _can_ become aware of the fact that they scapegoat; he is even perhaps hopeful in that he proposes that some folks even _hide_ the fact that they are scapegoating from themselves; but can become aware of it, with the advantage of truth on the other side.
Shameless plug: For people who like black, I've been working on ssort[0], a python source code sorter that will organize python statements into topological order based on their dependencies. It aims to resolve a similar source of bikeshedding and back and forth commits.

0: https://github.com/bwhmather/ssort
Take HN's hive mind tech bro culture, and apply it to overpriced classes that are basically a youtube video.
Go on google flights and pick a city that sounds dangerous.
Used to do similar with land-line threeway calling. Friend and I each dial a third number, reconnect them to our call, and wait for them both to pick up.
I agree with you, I don't feel that US border agents are uneducated or stupid. But in my experience, they are often rude/unpleasant/hostile. I've traveled to and transited via Japan, Canada and several European countries and never faced anything like it.

> tourist visa does not require a declared itinerary

FWIW, I've recently applied for a visitor visa (B1/B2) and was asked for an itinerary:

"Your travel itinerary and/or other explanation about your planned trip."

http://www.ustraveldocs.com/jp/jp-niv-typeb1b2.asp

And you need to get interviewed at the consulate. Now that I have a multi-entry visa I might be able to enter with less hassle, but I could still be asked for such details at the border.
The second part of what you're saying is:

"Responding to change over following a plan."
Imaging a world with each browser vendor implementing his own incompatible scripting language ... Oh wait it happened in the past and it was so ugly people used a plugin called Flash that ran the same way in every browser ...
agree. when it's 3:42am and you get called in to debug something in a production system in the middle of the night, it's a hell of a lot quicker to visually and mentally parse and digest golang without all these abstractions and "elegant" ways to do things. (than some languages like java)

yes go lends code to be verbose and simple, at times feeling like you must make things too much so, but the rate at which I can understand what someone else is trying to accomplish and vice versa, I keep choosing golang, and it's verbosity.

at the end of the day, for me, verbose and simple is preferred to elegant and clever. to an extent, of course.
I bet he could sell analytics as a premium add-on to customers of WPEngine.
the filesystem is just another datastore. using it like this means you're spreading out the requests per second across each individual server's available IO, however you've also forsaken the "getting data from point a to point b" features of other datastores and therefore have to do it yourself (usually rsync).

to be honest, since there wasn't actually a problem to solve as varnish is setup as both an HA environment and to use the grace/saint features, this is a case of overengineering in my book.
They all look...so...pretentious.
It does indeed suggest that it is a nation state - my problem is with the repeated (evidence-free) assertions that the nation state is(!) Russia - and also that hardly anyone seems to care about what is Actually True, on matters this dangerous.