jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Perhaps a better way to implement this would be to use Ruby's string interpolation, which I'm pretty sure allows arbitrary expressions and unlimited levels of nesting. For example, this ERB document:

<html>
<%= form_for @stuff do |f| %>
<%= f.text_field :things %>
<% end %>
</html>

would be transformed into this Ruby:

_buffer << "
<html>
#{ form_for @stuff do |f|
_buffer << " #{ f.text_field :things } "
end }
</html>
"

So, ERB goes back to being a very simple transformation with no special cases and you can use any partial syntax in <%= %> blocks that would make sense.

EDIT: Ok, I'm pretty much giving up on this as I can't think of a good enough solution. The two best options I came up with are:

1. Feed the embedded code to Ripper as it comes in and use that to keep track of the lexical context. Ripper is pretty fast so it might not be a significant performance hit, but it only works in Ruby 1.9 and I don't know if a comparable parser for 1.8 exists.

2. Use a setter method like _buf= to append to the output buffer, and don't wrap the embedded expressions in parens. Because the = operator has such low precendence, the generated code will almost always behave as intended, but there are a few lower precendence operators that will break like "and", "or", and postfix "if", "unless", "while" and "until".
Iterate on paper,
Start coding the next bit,
filter email inbox + im
No, I really don't think this is actually cheating. He handed out a test that, while claiming to be original, was actually from a standard bank provided by the publisher. This isn't a SAT or GRE that is standardized by an organization or the U, it is a test in a class that he claimed to be the author of.

What really annoys me about this story is he is covering his laziness / inattentiveness to his class of paying people and having "fun" doing mathematical analysis of his class to prove "cheating" instead of spending time creating a test. If he won't even put effort into original tests what effort does he really put into the class? Are all his class lectures equally canned? Would these students be better off with a video lecture series from the publisher and taking an online test? What value and insights is he bringing to the lectures. He sure isn't testing on those insights.
Post your email in your profile and I will be in touch.
ari
> A gun held against my head will prevent me from thinking about my life, or my future - I can tell you that I wouldn't be thinking about my upcoming physics exam in such an event!

Natural selection is holding a gun to everyone's head, every day of their lives. In order to be able to think of other things, they need to have some time where they're not directly thinking of survival.

No human that has ever lived has had one of their ancestors choose suicide before reproductive age (or without preserving their genetic material, I suppose). This is an enormous weight of genetics. As long as survival is involved there can be no truly freely entered contracts. It's naive to argue that people can just choose to die, instead.

Example: I notice that you are starving. Here's 5 dollars to perform a sex act that you and your society consider degrading. It's your choice. It would be naive to consider that a free choice.

It would also be a mistake to construct a system where this is a common occurrence, because of some inflexible and unrealistic ideology.

> No matter the magnitude, it's bad for your existence

This is a sign that you're engaging in all-or nothing religious thinking, which is shallow at best, and disastrous when implemented in the real world.

Dying is the worst thing for your existence.
It's a police officer's job to violently tie people up and seperate them from family and community. They aren't the nearest solution to any school problem.

Who says educators want the unaccountable police force to assault their students and drag them to jail if there's a bullying problem? Where is this idea coming from?

At a minimum, calling someone in with a state monopoly on violence is unpredictable, and you do not know what the police officer will do or if/ to what extent they will hurt people.
YC has fallen on hard times. HN now runs on a Raspberry Pi.
Then the attacker kidnap your kid, and you go through the entire procedure correctly the next day and give them the data.

However comprehensive your security procedure is, so long as a human can unlock it, your data is not secure. That's the point of the xkcd, not the specific wrench.
I studied abroad in France in 2012--at this time, all European card readers had been chip-based for quite a while and my US credit card didn't have one. I couldn't figure out how to use them and many store clerks had no idea what to do with my magnetic-strip credit card.

I went to England in 2019, at which point cards in the US had been updated to use magnetic stripes, and everyone was using tap-to-pay. It turns out my credit card had tap-to-pay support as well but it wasn't widely used in the US (or at least in my sphere). Now it finally seems common-enough here.

I'm planning another trip to Europe in the next year... Really eager to see what payments look like nowadays.
Yeah, there's not much I can do there unfortunately (since I'm using SVG with the actual U and S emojis to show the flag). I can't comment on whether it's your config or not, but I've tested the SVGs on iOS and Firefox/Chrome on desktop to make sure they rendered nicely for most people. Sorry you aren't getting a great experience there.

Here's how it's rendering for me on Firefox: https://pasteboard.co/rjLtqANVQUIJ.png
Because all the other "good" students are there and all the "bad" students are in the public schools. You don't want your kid to be surrounded by "bad" kids, do you? (I'm not serious)
I think that statement by avighnay is misleading to the readers. Ethnically, South East Asians are definitely not south asian. We can find filipino with mostly western names, malaysian with arabic names, indonesian with old sanskrit names, others with chinese names. however, their ethnicity? hmm

For those who are aware of South East Asian's history, they are influenced by the Indian and Culture culture for the past two millennia, in addition to their own local culture. We can find some traces of Hindu-influence temples AD 800-1500, Chinese trading since Tang Dynasty onwards, even western culture during AD 1500 onwards.
I have to plead ignorance here. Does it have a way of detecting circular events?
I'm a big Adam Curtis fan, but I was pretty disappointed by this one. The first 5 parts are pretty much the exact same content as his older films - he uses all the same music and even a lot of the same interviews - and some of it seems like he's creating a parody of his own films.

That said, I liked part 6, but I think it should have been released by itself.
Show HN:

https://news.ycombinator.com/item?id=26131123
It's not that easy to do in many cases. The human manipulation is often infecting cells in a lab rather than entering a sequence in a computer and synthesising it.

However making it a regulation to keep samples and publish sequences would probably make sense.
Yes. Very much so, my sibling and I went to private school which we both held in low esteem, and I in absolute contempt for the mind prison that they are. They would then send their kids to charter schools to 'get ahead' and they even ended up teaching there, only to send their children to the same horrible HS I went to. And they knew I had started skipping class to go to University lectures by Junior year because of how bad it had gotten.

This is a person I had countless conversations with about how much a determent formal schooling is to actual problem solving to Society's most pressing issues, as she wanted to teach but wasn't sure if University level made sense, and about how Society could benefit from a smaller private specialized tutor system for specific subjects.

We also did our respective undergrads at the same university for a semester and we both realized how absurd it was even during the 'good times' in the bubble era how many people didn't get a job that had anything to do with their degree. Something that was always just brushed under the 'you will make more money with a degree' chart.
But isn't it notable that a major news publication is saying it actually happened in practice, not merely that it could?
There are great schools just as there are great homes. Some would prefer to stay at school, some would prefer to stay at home.

For me, I would have preferred the option to escape both of them, permanently.
If the developer is checking this thread: take a look at the Brave Creators program. If you have an account there I will gladly add you to my list of regular contributions. Brave userbase is growing in and millions of users are receiving BAT which can them be used to support developers and content creators.
Elemental is an open source code editor that I'm developing for Android, Windows Phone, Windows, Mac OS X, Linux and Chrome OS.

The most common question I get asked is why not Atom or Caret. Elemental's goal is to target smartphones, tablets, and Chromebooks. While Caret runs on Chromebooks, Atom doesn't, and neither run on mobile devices.

The idea behind Elemental was to develop a code editor for new developers and students, those who don't want to buy a notebook or desktop to get into coding, but already have a tablet or Chromebook.

While I doubt it, I also hope Elemental will be useful to more experienced developers. I know I'll use it! Tablets and Chromebooks are cheaper and lighter than conventional laptops, not to mention better battery life.

To sum things up, if you like the idea behind Elemental, I'd love it if you backed the project. Thanks!
But are the majority of SF residents owners? Is it really about voting, or about savvy political lobbying by property owners?
The IBM 402 has been at the Computer Museum for several years.
I, too, once wrote a driver for a hardware keyboard which plugged in via the serial port, and I did it the same way you describe. My recollection is that the keyboard/mouse driver system at the time assumed it would only be dealing with ADB devices. There was no abstraction for "a keyboard" or input device in general, there was just a system for interacting with ADB specifically and turning its input into events.
Thanks for posting this!

The paper repository is the core of Papers We Love, but the meetups are where many people connect. All the chapters rely on sponsorships to operate. If your company or organization is interested in sponsoring a chapter, please contact the chapter lead. Whether it's space, food, or AV, sponsorship is much appreciated and helps keep the meetups going. Thank you!
I think one of the things that has to be considered with autonomous cars is the tipping point in terms of their numbers.

It seems to me that that the first, lonely, autonomous cars will/do have a harder time technologically than subsequent versions because they'll have to comprehend/compute more by themselves.

Once 1000s of cars are on the road all communicating with one another ..and pedestrian mobile devices, signs, nearby buildings etc things could get easier. An economy of scale that is a result of ubiquitous mobile devices and sensors.
Signal Messenger
Thanks for the comments.

My competitors (uservoice.com, ideascale.com, and a few others) charge a similar base fee, but they both have a tier-based pricing structure. I'm shooting for more of an a-la-carte model that lets my customers choose which features they want.

If, after a few months or so, I find that my pricing is too high, it's a lot easier to lower prices than raise them:).

Thanks again!
I find your lack of a basic sense of humor disturbing.
I absolutely agree with reading. But I'm surprised no-one's mentioned writing. I find writing (à la pen-and-paper) to be a great way to organize one's own thoughts and opinions. It's so easy to read someone else's opinion and assimilate it implicitly into one's own view. Writing, on the other hand, seems to allow for deeper inquiry into a subject.
To be fair, this creepiness is coming from the Attorney-General's department, so Conroy doesn't necessarily have anything to do with it.
Cool site. I've been looking for something ever since newmogul went down. Markenomics just didn't cut it as a replacement (mainly because there was hardly any good discussion there).

One comment about your design: Maybe use a smaller font so I can see more than 3 stories above the fold.
Moving to the UK in September. Wish I could say this was a motivating factor (experience is the real reason), but I'm scared about what I might return home to at some future point.

Maybe I should list every book I own or have read as part of my packing, and send it to Senator Conroy et al, as a preemptive move against those needing to be recorded as well.
But you can pay a subscription and get no ads, better filters, and extra blah blah blah.
Yup, I bought an Xbox360 bundled with GTA V. Never bought another game for it.
> Black Death in XIV century have invigorated European economy.

So did the spanish flu. Everyone forgets that we had the roaring 20s ( one of the great economic, societal and cultural growths ) right after the spanish flu.
Uhh ... what? What does the word "download" mean in that context?

I mean if you download it once, you have it.
I always wondered if cardiovascular fitness shortened cold and flu durations with the body getting more blood where it needs to be?
The individual countries of the EU have not coordinated on this whatsoever and I can't see it remaining in its current form post-crisis. We're probably looking at a more loosely-defined trade union and a trend away from further integration. I'm not sure if this will be good or bad for the European economy, but it will certainly affect it in the short-term.
American neighborhoods are typically either like Switzerland or Swaziland. Most neighborhoods have low crime, low gun violence, and high income comparable to Switzerland. The other neighborhoods are comparable to Swaziland in terms of violent crimes. Don't be so quick to call someone's fear irrational if you haven't lived in Swaziland neighborhoods.
YC has LPs. As far as I know they're all in the US. (Edit: yup, except one in the UK.)
Pytorch is pretty dominant in research (outside Google) but it's use in production is lagging behind, primary due to tensorflows excellent support for deployment in all kinds of environments.

I would say it's top 3, probably top 2 with potential to get better.
I still can't tell how much of that was planned.
Doesn't that apply to the submission about Atwood, though? It seems to me the "political flamebait" rule is applied rather selectively on HN.
>> in line with what a pattern of being motivated by a fear of being unprepared to defend the greater society from upheaval would look like.

There were, and still are, plenty of horrible people, probably worst ones in the whole of history, that were doing such things with good intentions.

Also American, or commonwealth justice system, from outside perspective looks like a farce - mostly due to jury system. Based on emotions, not facts - although i do have very high respect for some of your judges.

The combination of private prisons, lobbying, police getting slap on the wrist for the abuse of powers and corrupt government makes USA looks absolutely horrible abroad.
I think this is the only answer.
And from my experience, it's virtually none.

Since I first started work in OEM electronics in 2007, I only saw that being requested 3 times.
Not all readers allow annotations or changes, so forms cannot be filled out on the computer. Instead they have to be printed, hand filled in, then scanned again.
Source: https://www.quora.com/How-and-why-did-Amazon-get-into-the-cl...
The interstate highway system was an extremely ambitious and forward-looking plan. This forward-looking component was not always an easy sell. I regularly drive one of the last sections of the original interstate system to be completed, I-25 between Socorro and Truth or Consequences. The existing US Highways serving this area received very little traffic and work on the interstate did not even begin until the late '60s, due to a combination of the state refusing to expend the money and controversy over the bypass issue.

The bypass issue is an extremely important part of the interstate system. Because interstates must be freeways, it was extremely difficult to place them through towns, and so they usually "bypassed" the town. Especially in the west this had a devastating economic impact and lead to a broad trend of urban blight on roads which are former US highways. Late in interstate construction efforts were made to prevent this, but the problem was more or less intractable as not bypassing required a large amount of demolition.

At the same time, in urban areas there was an almost incredible enthusiasm for freeways. Modern Albuquerque has two freeways which more or less divide it into four quadrants. However, controversy around routing of I-40 during initial planning lead to a response of ¿porque no los dos? and at the peak of freeway mania plans included three east-west cross-town freeways (two of them barely more than a mile apart) as well as a beltway. Fortunately these plans were largely abandoned before construction, which is not the case in other cities in which construction was started before cancellation (for example, Portland's "Mt. Hood Freeway," one of the many urban freeway projects designed by Robert Moses who started out hero and ended up villain as the destructive impacts of urban freeways became clear.

Freeways are, as many large things, an epic history to themselves.
Is remote limited to the US only or Europe is also fine?
Postscript.io (YC W19) | REMOTE (PT-ET Timezones) | Full-time Engineers (Full Stack)

Postscript is a fully remote team of 20 looking for help in solving complex problems like real-time streaming data (1000's of events per second) on the back end and beautiful, simple ways of interacting with that data on the front end. We help ecommerce companies stay in touch with their customers (marketing, customer service, order management, and other notifications via text messaging).

We're scrappy hackers searching for similarly hungry individuals. We love LEARNING & BUILDING and we want every one of our engineers to leave us ready to start their own company.

Tech stack: Serverless Python / Flask - React - AWS

Apply here: https://grnh.se/de0ca6d62us or email me at mc@postscript.io
For complex services (maybe as simply defined as need low latency durable high-write-rate storage) - I'm not even sure if you should run it on a k8s pod. K8s offers some "services", notably storage - that afaik don't typically run "on" k8s, but "as part of" k8s.

I think databases (for production use) are better off managed as services? So typically on physical hw next to the hw that runs k8s?

The alternative (as mentioned here) is to guarantee local storage on same hw next to the pod running the DBs - and you'd typically want to dedicate cpu, io and ram to the db - probably dedicate physical hw to the db pod(s).

Maybe k8s can take care of failing over to a follower - but I don't think that's likely to work without a "plug in" in k8s for your db of choice?

Maybe someone running redshift, spanner or azul sql service have some insight?

Ed: for development and testing, that's another matter. But even then I think I'd prefer "provision a new db/schema on my beefy db service" to spinning up a pod that just happens to run a db daemon.
HelloSign, a Dropbox company | Product Security Engineer | San Francisco | Full Time

HelloSign builds e-signature platforms to help businesses execute important agreements on the web, interface with legacy systems via fax, and collaborate more effectively.

We're looking for product security engineers to help our SWEs develop new features securely, and also help write new security features ourselves to keep our customers safe by default. We have a lot of interesting problems to solve and a small, focused team working on them all. Feel free to send a resume my way or see the public posting.

iancarroll [at] dropbox [dot] com / https://www.dropbox.com/jobs/listing/2034313?gh_jid=2034313
I run 4K at 32" in Ubuntu and it's perfect. Gnome allows you to specify the scaling of individual apps (if you edit their launch shortcuts), so depending on the app I can run 1:1, 125% or 150%. Effectively a choice between comfort or density.

I've run 1080p at 14" on previous laptops and had no issues with 1:1 pixel scaling. Sure, things are a little squinty but I never felt the need to zoom the UI. I also never felt like things were too pixelated. So yeah, 1080p/14" really is the sweet spot.
Prescreen | Vienna, Austria | DevOps/BE/QA Engineers & Product Managers | ONSITE | Full Time

Prescreen is one of Europe’s fastest growing HR tech startups. We are a small but highly effective team delivering value to our users fast and in high quality. Working here still feels like in a startup but we do have some of the benefits of being a post-exit company (financial stability, 30 days of yearly paid vacation, all kinds of benefits...)

All our positions are listed on our homepage: https://prescreen.io/en/careers/
Hitmeister - http://www.hitmeister.de/ - Cologne, Germany (Full Time, Local, VISA)

Web developer: full-stack, frontend, or backend. Most of us work at all levels of the web stack, but if your strength lies in just frontend or backend work, that's okay too.

We're a small team (10 people) using PHP, Zend Framework, MySQL, MongoDB, ElasticSearch, RabbitMQ, and memcached. We have a customer-facing site, a JSON API, logistics software, and an internal admin site, all of which we build and maintain internally.

Hitmeister.de is one of the largest online shopping portals in Germany, with over 2 million customers to date. We have a warehouse from which we sell items directly, but we also have a marketplace with over 2,000 sellers running their own shops. We're seeing solid growth and we're looking for more programming talent to grow and improve the site.

Speaking German is helpful, but by no means required. I'm from the US and we have 2 other non-German developers. If you aren't an EU citizen, we are glad to help with visa issues. In particular, if you have a CS degree or several years of experience you probably qualify for an EU Blue Card, and we have lots of experience with those. We don't do remote work, but we'll help you relocate.

Here's the job description in German:

http://company.hitmeister.de/jobs/webentwickler-frontend-bac...

If you have any questions, feel free to get in contact with me (info in my profile), or you can apply directly at jobs@hitmeister.de.