jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> Ad astra per aspera.

And yet reliance on Bash extensions rather than doing it in pure POSIX shell. ;)

A quick skim suggests the biggest convenience is using local variables to make recursion easier. But it's fairly easy to implement push and pop routines to turn global variables into a stack. You could even name push "local" and keep much the same syntax. Better would be an indirect call function which saves and restores a set of global "registers" across invocations, avoiding the need for explicit pops in each function.

Many of the pattern matching parts can be easily replaced with the canonical "fnmatch" shell implementation[1], which uses a case statement to provide in-shell fnmatch(3) emulation. If that's not powerful enough, expr supports regular expressions, though while usually a built-in it's not necessarily so. In the absence of regular expressions it's usually sufficient to use parameter expansion facilities to split strings and use simpler glob pattern matching on the components.

Still very cool. If I get bored one day I might try refactoring to make it pure POSIX shell.

Because Linux distributions (not to mention containers) are increasingly removing common shell utilities like bc, if this were extended to arbitrary precision arithmetic it might even be legitimately useful! For similar reasons I've implemented a base64 encoder and decoder using mostly pure POSIX shell--still depends on od(1) or dd(1) so it can do proper binary I/O, but the low-level coding is done using shell arithmetic and POSIX looping constructs.

[1] See http://www.etalabs.net/sh_tricks.html
The IS the solution to UK's school program, that kids go back to the BBC in classes instead of dragging pictures on Powerpoint.

That the rest of the world decided it was better to buy PIs instead of BeagleBoards, that is another matter.

Personally I am found of boards with bare metal language runtimes like Arduino, or alternative OSes like the ESP32, so whatever happens to Raspeberry is irrelevant.
picture a rubber band, lying in a circle, on a table

left half band is red rubber

right half is blue

as you stretch the rubber band, it resists more and more

when you pull hard enough, it breaks on the red/blue divide. a new red/blue half spontaneously appears for each.

now you have two rubber bands
I take issue with comparing a single project to a generic relief. A fair comparison would be to only compare a single stimulus effort (say the $1000 one). Or if you want to compare the total covid effort, compare it with the total military budget.

This type of comparison reminds me of how people abuse statistics by comparing a city (or even a neighborhood) to another state (or even a country); say the average New Yorker vs. the average Swede.
> That's definitely how art works in the real world, I don't know why it would change here.

There’s no scarcity. In the physical world, any copies are simply approximations. In the digital world, they’re exactly identical.
Never made a trip to the Valley without a visit to Fry's. Also never failed to buy something. There is no store in the Midwest (except for the Indianapolis Fry's) anything remotely like it.

Fry's joins Computer Literacy Bookstore and Weird Stuff Warehouse as former Valley legends.
Social darwinism is a problem. Darwin warned about it.

The problem is when people reinterpret darwin for their own political interest, and apply it in civilization, in ways that is convenient for them.

Generalizing an idea or theory to different domains is not always virtuous.
You can find the original yacc and lex papers in Google scholar and elsewhere by the way. I haven't checked for m4 yet though. Original ed(1) paper here too [1]

1. http://www.verticalsysadmin.com/vi/a_tutorial_introduction_t...
I'd argue that libraries like GTK were only allowed to become so bloated because dynamic linking masked their true impact on the system. If static linking were the norm, we'd be using much simpler, cleaner libraries because people would think twice about adding 100+ megabytes to their binaries for basic GUIs.
In cities:
40km/h on larger (roads designed to pass traffic through the town) and 30km/h on smaller (streets between blocks and inner-city) is the standard in Norrköping and several other parts of Östergötland. (Sweden)

This, among with _removing_ traffic lights, both in favour of roundabouts, right-side-rule, and raised plaza-crossings (cars have to give way to pedestrians&bikes) have effectively reduced the amount of person damage in collisions.
Walking plazas have an interesting effect in that it can cause an increase in small bumper hits on cars, but they reduce the speed of traffic by a lot, and change the flow of the street.
Scribd (YC '06), San Francisco - VISA, FULL-TIME, and INTERN are all welcome

Scribd ("Netflix for eBooks", top 100 website, 50 people) is hiring talented hackers of all kinds to help us build the library of the 21st century.

We've hired EIGHT full-time people and TONS of interns from these "Who is Hiring" threads ... it really works!

We're looking for people who want to work with:

* Ruby on Rails (we're the #2 largest rails site, after Twitter)

* Javascript (well, we use Coffeescript)

* iOS OR Android (we're a top 10 eBook app with more reviews than Wikipedia, with a small mobile team)

* Machine Learning / data mining / recommendations - think Netflix prize, but for books!

* Big data and web infrastructure - we're big users of hive, impala, and hadoop

* Product manager and design (UI or UX) roles too

* Internships: junior standing or above for all areas of engineering. We hire several interns every summer and year-round.

That said, we care way more about your personality and general hacking skills then what languages you've used so far, so if you haven't used these but want to break into mobile or web development, this could be a good opportunity for you. We've hired people from these threads with everywhere from 0 to 10 years of experience.

We're profitable, very well funded and have a really fun office environment (go-karts + a rock climbing wall!) in the center of the startup world in San Francisco. Scribd alumni have gone on to found 4 other YCombinator companies, more than from any other startup. We think this says something about the kind of people that we like to hire, and we love hiring people with entrepreneur and startup ambitions. We are also always looking for international people interested in moving to the US and can help you secure a visa.

You can read more about our "Netflix for Books" service here http://wrd.cm/1dJquzz or check out our tech blog at http://coding.scribd.com

More info is at http://www.scribd.com/jobs, but as a HN user, feel free to apply directly by emailing me at jared at scribd.com.
Too bad the font isn't exactly the same as the real part (look at the 6, 7, and 9 near the end of the video), or maybe that was intentional...

One thing that still amazes people today is just how tiny a component can be, and yet provide so much functionality. I've been working with electronics for many years and the feeling still doesn't go away. The die of that microcontroller is even smaller than the package, and if he had access to the right equipment he could encapsulate one and make it basically identical to anyone who didn't look inside: http://www.bunniestudios.com/blog/?p=208

On a more serious note, this brings up thoughts of surveillance implants and backdoors: He could've made that "simulated" display driver record data into the EEPROM of the MCU, and play it back at a later time. An external EEPROM, if the internal one isn't big enough, isn't much bigger; you can get a 256KB EEPROM in a 2x1mm package.
Question for the historically minded folks here - Has there ever been a situation where a bunch of states decided that making something legal (or conversely illegal) against the federal government's position, cause a change in federal policy? How did that work? Can lessons from that apply now to the marijuana debate, amongst others, in the US?
> Sadly it looks like OnePlus is moving away from Cyanogenmod (search Google News for `oneplus cyanogen`).

Having done the search you recommended, it sounds like the story is best told in the other direction: CyangenMod signed an exclusive deal with one of OnePlus's competitors for the Indian market, totally screwing them over in India, making them forced to release their device there without CyanogenMod. If they are also now dropping support for Cyanogen everywhere due to this (which isn't clear), I honestly could not blame them: a better telling of the story is "sadly it looks like CyanogenMod is moving away from OnePlus".
Ah, yes, the-gestures-no-one-knows-about-unless-specifically-told.

1. Swiping down with 2 fingers brings you straight to the settings drop-down (vs. the notification drop-down).
2. The WiFi icon and the text beneath it do different things when pressed.
Just FYI you said "equality of opportunity" and went on to describe "equality of outcome".
The interesting thing about Linux is that, since it has focused so much on backwards compatibility, it's a great target for emulation. A few years ago there was a great paper and presentation by Jon Howell et al from Microsoft research that's still worth getting familiar with, even more so now that WebAssembly is solid.
When I did my taxes through them, at the start they offered to transfer my data into Cash App. The wording was a bit shady as it wasn't clear what Cash App is or if it was part of the tax prep process or not. I already knew what Cash App is so I declined but I could see some people getting confused. At the end it also offered to load my refund into a Cash App account "in days instead of weeks", making it essentially a refund anticipation loan. The wording on that one was much more clear and I declined.
They point out the battery life doesn't last that long which I don't doubt. I suspect that power usage and battery optimization is one of the places where Linux could be improved quite a bit still.
> It's a store of value against a government that printed 22% of all dollars ever created last year?

What asset isn't a store of value? Inflation, by definition, is when the price of something inflates. Bitcoin's price is inflating in dollar terms. Someone invested in stocks and real estate is protected from US dollar inflation.

The idea that Bitcoin is the only way to protect against inflation, or even that it's a good way to protect against inflation, is largely a narrative pressed by people who want you to buy more Bitcoin. That is, they want you to inflate Bitcoin via demand-pull inflation. Ironic, isn't it?

> is attractive because it's a global store of value that can be tapped if you ever have to flee?

You really think all those people buying and holding Bitcoin in their Coinbase and Robinhood accounts are doing so because they might flee the country?

Again, the narrative that Bitcoin is a mechanism for fleeing oppressive governments is largely a myth. If someone wanted to get their money out of a country, they don't need to invest in Bitcoin long-term. They just need to transfer in, cross the border, and transfer out.

Let's be honest: Most people are speculating.

> It's quite scarce

It was literally invented out of thin air by programming. The maximum number is finite, but it's ironic to declare a resource scarce when there are thousands of altcoins online, and even multiple forks of Bitcoin.

> I think in the long run it's just a thing that makes a lot of sense to more and more people as part of a well diversified portfolio.

Price goes up because other people buy it because price goes up...
Fair, but there are other existing avenues for enforcement. CHP can already write fix-it tickets for bald tires if they wanted to. We could also require shops to report it as part of a vehicle's history if someone brings a vehicle in with and it doesn't have enough tread depth.
Are they? Never heard of that being forgotten. Sounds like empty brexit fodder.
Inflation is the idea of prices accross the board going up. If you've experienced prices going up that does not indicate inflation. The second statement can only be true if your expereince is unrepresentative of the wider population for which you are discussing inflation. That wider population is usually considered to be people paid in the same currency.

Well I guess wages usually go up for the same kind of job with the same experience when there's considered to be "inflation" and that really hasn't happened. Prices. Yes, they've gone up consistently, haven't we all seen the hard reality of that? And they show no signs of doing anything else. Price indexes used as a proxy measure of inflation may not be capturing that reality. Is it deliberate that the measure is failing to capture the reality? Or is it just poor baskets of goods and services in the index and a lack of will and talent to correct the issue? Anyone arguing about index values and what they mean still has to have a roof over their head quite literally at the end of the day. That has a cost. I haven't noticed the cost going down over any 5 year period. Then look at the cost of eating. Then the captial equipment you need for your job and to be able to pay required bills (some of clothes, vehicle, computing devices). Then look at essential consumables (some of fuel, food, electricity, telecomunications).

I can't see anything other than high inflation and a decrease in disposable income. Note that if you get promoted and get a raise for a new position the reference is how much /that position/ was paid previously not what you were paid fresh out of $whatever.

I don't ever see a measurement that reflects the reality we all see, experience and have to budget in inflation discussions in finance nor do I see a justification of why it's just plain wrong and in so far as these numbers represent anything they represent something else entirely other than the purchasing power of a dollar in your pocket this year as opposed some time in the past.
I suspect such Chinese etc companies are 100% Chinese "owned" for political/regulatory purposes, but have contracts requiring payment of a rather high percentage of their revenue to SiFive as royalties.
We should just reset everyones 401k to what their 2008 values would be after GM, airlines and their suppliers were sent to bankruptcy court. Smash the last unions, wipe out pension funds... quite the libertarian utopia we could all be living in today.
I've had the polar opposite experience. I guess we have very different clients. Clients generally ask questions that don't make a lot of sense or that show a fundamental misunderstanding of how the system works. They may introduce new constraints and requirements on the fly that you've never heard of before. It's generally a lot more difficult. The "universe of potential questions" is basically limitless.

Interviewers aren't going to ask you nonsensical questions about the STL or to use algorithms in contexts that make no sense. The "universe of potential questions" is limited to the reasonable.
> So don't feel bad, people who interview applicants a lot know this.

They do, and they will count it against you. (A few people in this thread have actually said this)
"Wolanyk's attorney said that TSA requested his client put his clothes on so he could be patted down properly...".

If this is true that is the most ridiculous request I have ever heard. If I show up to the airport in a speedo bathing suit are they going to make me put on more clothes to go through security?
The average human lifespan is a relatively fixed sized buffer. Since everyone who is born eventually dies, input matches output, and there's no population increase other than the average lifespan (and thus the buffer size) increasing.
Pets != humans. There is no other perspective.
Upvoted, because from the article you cannot possibly ascertain whether this trivial counterargument would make the article disappear in a puff of smoke.

However, let me assure you that this is absolutely not the case. Food animals have been given large amounts of preventive antibiotics for decades and the resistant results of that have started biting us some time ago.
I'm not arguing that the amount of antibiotics isn't a problem. My father has worked in the industry for over 30 years and has been telling me the same since 1990. That doesn't make a lick of difference, because my point is that this article isn't going to convince anyone. People will read it and may be alarmed by it, but anyone can dispel the alarm, because the people reading it haven't received any real information. That's the weakness of using FUD in your favor.

BTW, your argument isn't very convincing. How many pounds of antibiotics do you think humans were getting 100 years ago?
I don't doubt you think we became healthier since then.
I know about the MDN docs, but:

- No offline version of the documentation.

- No distinction between Firefox-only features. (as others have mentioned)

- No mention of Chrome/Safari/IE-only features.

Are the MDN docs really seen as the 'canonical' reference to JavaScript or are they just the most accessible reference?
It is a tough market to operate on since a lot of dentists are busy people and usually their practice is managed by marketing consultants that do their local marketing/business promotion for them. It's not a straight forward "Let's meet and I build you a kick ass website" business.

We have been trying to crack in to this niche for almost two years with our http://patientboost.com/default.html service but it is a damn challenging market.
Only if you're fortunate enough to have a supported device. :(
Best point -

"you should be able to do so in about the third-time that most competent people think possible"

In a short description is gives exactly the amount of information that a job post needs to give - Work, environment, challenges, co-worker info, compensation.
Requires a Linkedin profile to sign up!? Really!? There are so many reasons that is a stupid idea.
If you're interested in a human mission to Mars, I highly recommend the book "The Case for Mars"
Yes, but you probably used a provided Hugo theme.

For a fair comparison, you'd use a premade pure HTML+CSS template or write a Hugo template from scratch.
Most retailers were rationing TP in 2020. If only customers knew.
All news is biased. Left, Right, Center is a false trichotomy. There is no such thing as objective journalism because the news is a filter. Even if one reports "just the facts", the facts one decides to report impart a bias.

I might report that "a woman is suing McDonalds for spilling hot coffee on herself". That is an unbiased fact. And it implants a story of runaway litigiousness. If I also report that "McDonalds was warned many times about the temperature of its coffee and even sure once already and the woman sustained 3rd degree burns" the story becomes one of corporate malfeasance.

Compound this further. I now state that the woman won millions of dollars, you may be tilting back toward over litigiousness. But if I report that she only sought damages and the jury awarded her punitive damages of its own accord the we're back to corporate malfeasance.
You are the one who asked why it was bad. Why ask a question if you don't want to know or debate it? Was it purely rhetorical?
You've unfortunately broken the site guidelines repeatedly lately. Would you mind reviewing https://news.ycombinator.com/newsguidelines.html and using HN in the intended spirit? If we can't rely on established users like you to do that, this place is really doomed.
No country is in a vacuum... popular movements spread across borders and as the population of one country achieves something, their neighbours start demanding the same and so on... according to Wikipedia, the huge decline in working hours seen in the 20th century was mostly due to unionisation and legislation in response to popular demand.

Today, the US and the UK seem to be pretty typical compared to other countries, which is to be expected:

https://en.wikipedia.org/wiki/Working_time#/media/File:Heure...
That may be a good motivator, but it's not true. The content of the messages are not going to be "sucked up into Facebook." The content of Whatsapp messages aren't accessible by Facebook.
Sarariman is a Japanese word, the original commenter wasn't adopting a false Japanese accent. Here's an article from the economist using the term: https://www.economist.com/special-report/1999/11/25/who-want...
Ah, it's probably a sequential benchmark then. For what it's worth, the London linode feels faster than my desktop (which has an ssd).
Maybe I should go and put in a reference to this thread in yesterday's thread about how you don't really need firewalls...
Where have you people been living? Not in my America where people are groped, fondled, struck, shackled, beaten, stripped, locked up, and worse every day. And these are innocent people guilty of no crime. This has been going every day of this woman's life. Are you living in a bubble? Is this really the first time this woman has been patted down?
SSDs are cheap in terms of $/IOPS. In fact they are about a hundred times cheaper than HDDs (Crucial C300 128GB: $250 for 50k IOPS vs. entry-level 7200RPM HDD: $60 for 120 IOPS or so).

People, stop assuming that $/GB is the only metric that matters.
the people violating our fourth amendment protection against unreasonable searches are willingly creating the first victim, so I'm not too concerned they'll be mislabeled, especially when they refuse to stop after being informed of the impacts of their behavior.
It's easier to keep honest when your business model is "provide great service for a good price".
I thought I should provide a bit of explanation, as the linked thread really doesn't say much. This is a complete functioning CPU, based on a homebrew CPU design, built within the game Minecraft. It's very cool because you can walk around inside a working CPU and inspect the state of every circuit, register, logic gate, etc.

Video demonstration: http://www.youtube.com/watch?v=7sNge0Ywz-M

The CPU design being implemented here comes from the book The Elements of Computer Systems[1], which defines a whole hardware & software platform.

From the linked thread, this is an isometric render of the CPU/game world, done by reddit member 'yonis': http://i.imgur.com/6ithi.png

[1] http://books.google.com/books?id=THie6tt-2z8C&printsec=f...
This means your typical "small" EC2 instance with 1 ECU is on a par with ~700MHz of a single modern Intel core.

Amazon says that "one EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor"[1].

[1] http://aws.amazon.com/ec2/
Isn't this all profiling? The public is subject to taking off their shoes because the powers that be profiled a threat vector from the shoe bomber. Replace shoes with razor blades, liquids, underwear and now toner cartridges.

Since when did "profiling" become a dirty word? Perhaps when "racial" joined the party. I maintain that profiling is essential to ensuring our security when implemented sanely, rationally and with appropriate oversight.

How about UPS and FedEx not shipping from Yemen. The entire country! Isn't that collective punishment?

If we can not expect "agents who are smart/well-trained enough to make judgment calls" to implement security to know the good guys from the bad guys then we are well and truly fucked.
The 1TB SATA non-SSD drive in my server at work clocks in at 105.33MB/s for "hdparm -t"

I doubt they're using SSDs.