jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Dynamic and compiled are not mutually exclusive. Objective-C is both a dynamic and compiled (to machine code) language that supports monkey patching. It supports extending classes with new methods and overriding existing methods in existing classes through its category feature.

This does have an unfortunate side effect though. Because Objective-C is a) compiled directly to machine code b) has no way of marking methods final and c) supports monkey patching, essentially no methods can be inlined by the compiler.
lewis thomas. combined solid science and excellent writing.
If you're curious, the math-y term for an operation that is its own inverse is involution. I don't know that I've ever heard the word in a programming context, but there it is! :)
I have similar problems with anxiety and have come to partial terms with them this way: when I'm at work, I'm performing. If part of that performance is dancing around in my chair or putting my head down on the desk or reading irrelevant websites from time to time, so be it. This is my own self-expression. And anyone who gives a shit about it who isn't my boss can get fucked.
That’s a very strange way of thinking about money. Money is valuable but only in the context of an economy. Your example is true only if the economy didn’t grow that year. You could make the opposite example. You have 100 dollars today and 100 dollars tomorrow but the economy shrinks a 6%, what is the real value of your money?

A most interesting way would be see money as infrastructure. In order the economy to work you need money. In order to it work properly you need the proper quantity of money. Of course we can disagree in what is the proper quantity.
I'm glad this article is looking at many factors that are involved in making cities cyclable and walkable. But it seems it is missing one huge factor: the average size of vehicles in the US. It works in Europe because city cars and delivery vans are small (as illustrated in the photos). Of course this is also because of the design and growth of the city predating motor vehicles. In the US, the sunk cost in oversized vehicles, as well as marketing and regulatory capture (CAFE exemptions) mean that everything has to bend to the will of the car culture.
I had Cormen for my Algorithms class (using the CLRS textbook, of course) and he was great (iirc the problem sets were epically long, at least for me).
If you add a background file watcher (like inotify), you can automate the upkeep of the ctags file.

https://unix.stackexchange.com/questions/323901/how-to-use-i...

There are some solutions to be found here (not used any of them myself, just pointing them out).

https://stackoverflow.com/questions/1157410/how-to-automatic...
I don't think this belongs here.
This is hardly the first time this has happened.

In this case their math library didn't do a CPUID feature test, but rather a vendor name test. It would be equivalent to testing website compatibility by doing a user agent check with just the browser name (e.g. navigator.userAgent.indexOf("Netscape"), etc)

ICC also historically generated intentionally bad code for non-intel platforms - deliberately making function loaded depend on intel vs. everyone else rather than by feature set.
It seems like that should be expected. The point is to have a ton of data with possible patterns to find and you have no idea which data links to what other data. You'd expect most data to not correlate. You'd expect strong patterns to emerge between a subset of the parameters. You'd expect to be able to prune off the useless parameters after the fact.
That sounds like a different planet to me. I don't know of any big tech company, let alone startups, that drug test. I wouldn't be surprised if this was the case for dev jobs in older industries but it doesn't seem to be the norm any more.
I could see maybe allowing an app on a locked down tablet provided by the school and wiped before the exam. Still a big hardware and IT burden. And you need to lock the student in the app, not record if they close it, because it's so easy to accidentally switch apps with a stray finger or misplaced muscle memory.

Bring your own device sounds like a mess. Someone would create an app that looks like the locked down app but isn't really, etc. Or students would sneak in a second phone.

You really don't want to give teenagers the temptation to sneak online or into their notes during exams.
They were the #1 product of the day on Product Hunt on December 23rd. They even have a Product Hunt '#1 product of the day' badge featured prominently on their landing page.
No, alsa actually does its most interesting stuff in userland.
Yes! I do know about this! One of the things Mao did which wasn't so bad was bring women into the workplace and breakdown some of the traditional gender barriers in the workplace.

I also know about the hugely chauvanistic social culture, the very traditional "women cook, clean and look after kids, men go out and work" family culture that exists in most places, the huge amount of undocumented domestic violence, a massive prostitution industry and a very weak legal framework through which women can seek redress for pay imbalance, domestic/sexual abuse etc. I also know that there's zero paternity leave, and typically only 3-4 months maternity pay for women, a long history of forced abortions and until 2003 women had to specifically ask permission from their (usually male) boss before they could get married! So yeah, I do know a bit about China's "gender equality" :)
Will be sure to check them out - thank you!
If you want to avoid systemd your choices are apparently: Slack, Crux and Gentoo or switching to *BSD.

http://distrowatch.com/weekly.php?issue=20140908#qa

Here's to hoping that debian at least will reverse their position or that some group will fork it:

https://devuan.org/
You should write an ebook on how to find a fiance and move to a new city while being unemployed and having $100K in debt. This would be more interesting than any of the advice you're going to get about how to find a tech job in Philly. Maybe you could sell enough of them to pay off your credit card. I'm only being about 10% tongue-in-cheek. I'd buy it...
Shouldn't systemd embed a BitTorrent client before it starts downloading things?
We do have a very strong law, the TCPA, that prohibits robocalls to cell phones without prior consent, with a private right of action and a $500-$1,500 _per violation_ (per call at least) penalty. It won't do you much good against scammers, but against actual businesses with assets that could be seized if necessary, it's awesome.

(I personally sued a debt collector in small claims court for wrong number robocalls to my cell phone, and settled for the entire amount I was asking, $500 per call.)
Exactly, doing what this comment describes should not have taken eight months no matter how dysfunctional the organization is.
Blurring it absolutely reduces moire at the expense of distorting detail.

So now you just have another thing that's larger than a pixel (the blur area) that's reducing the effective resolution of your display, and you can't just say "the pixels are too small to be seen at this distance."

There will be a point where increased resolution isn't any use. When that happens they'll stop making higher-resolution TVs because human beings won't go into the store, look at the TV from far away, and say "holy shit, that has so much more detail from this distance than I've seen before."

Hasn't happened yet. We still have further to go before we hit the human visual sampling limit even for far away viewing, let alone close-up detail like reading a page of text in a scene or accurately representing a houndstooth jacket.

A blurry houndstooth is not the same.
If you plan to stop using Apple within 5 years then I agree.
Don't forget windows now has a ssh server too! I run Linux (Ubuntu 20.04) - but certain proprietary vpn clients just don't work right, so on occasion I'll boot a VirtualBox vm, login to VPN there, then use the vm as a ssh jump box to the network on the far side.

I'd prefer not having to deal with crappy, propiatary vpn gateways - but at least this way it works.

https://docs.microsoft.com/en-us/windows-server/administrati...
Protip: If it doesn't have a bootloader, it's probably not an OS.
The problem with this take is that it’s more useful than just to preserve a resource. By allowing people to get away with fraud you are encouraging people to do it again, including ways that transcend whatever system that fraud was originally within. I don’t actually know that chasing pranksters has ever been an efficient use of time, but someone should chase them if we expect the boundaries of normal operation to be known as a society.
Not only is it more efficient, it aligns with a safety principle I like: “make invalid states unrepresentable”.
You are absolutely right! Everyone, from the most hardcore Marxist-Leninist leftists, to "don't tread on me"-style libertarians, would agree there is absolutely no difference how rich rich people are if there is less poverty.

This is precisely the reason why Dengist reforms happened in China -- to foster getting a billion people out of poverty by market reforms that yes, would make a few hundred billionaires.

The thing is, America is getting poorer. And as poor America gets poorer, rich America gets richer -- and, coincidentally, everywhere in the world, rising inequality means higher societal instability, less cohesion, less happiness and, absolutely, more poverty for poor people.

So the question we need to ask ourselves -- is it a coincidence that rich people getting richer and poor people getting poorer go hand in hand? Or is it a law of nature? I'm not sure either way. But you shouldn't so quickly dismiss people that actually do think these are correlated.
Well, any parent who wants his children to learn chess can teach it to 'em. That is, I guess, how most children learn it.

In the opposite case, where chess is compulsory and the parent doesn't want the child to learn... well, big deal. I must have learned to play dozens of games at school, from tunnelball to rugby, and throwing in an extra one isn't gonna do much harm.
Unsurprising. A childish, low-brow response from someone who uses childish, low-brow rhetoric and imagery. A benefit of age is realizing there are very few people who can be won over or convinced with logic and good intentions.
If you're going to submit an idea to HN, it should be accompanied by more than a Launchrock spashpage. I get that your goal is to gague interest, but please, give us a little more effort than a one-liner and a splash page. How about a blog post outlining your idea with some details on how it would work. "Github for X" is a great jumping off point, but it doesn't tell me anything distinctive about your project.
Congrats to the Wufoo team!
I know it was a side thought, but as the son of a kindergarten teacher, you are absolutely right.
Actually the Ford plants were pretty integrated from the beginning. The info I found stated that there were 5000 blacks working for the various car manufacturers in 1910 and that had increased to over 120,000 by 1930.

http://bit.ly/hQVpgp

Here's an early picture showing blacks working on the Ford assembly line: http://bit.ly/gCfdjT
Amazing! This feature was long overdue.
Some of you may have read my post a few weeks ago in which I am looking for a technical co-founder. Well – that search continues, and since raising funding without a technical co-founder isn’t exactly a slam dunk, I decided to do a bit of hustling and raise some money another way. Here are the results: The World’s First Location-Based Alarm. It works as you might expect: you want to remember something in a location. You set the alarm and the distance, and it goes off if you leave that place, reminding you to do whatever it is you need to do. Voila! Anyway – it was a fun project, we’ll see if it makes any money, and in the meantime – if anyone that meets the criteria here http://bit.ly/e3Pvws is up for working with me – give me a shout!
> Operating systems do not enforce valid UTF-8 on filenames.

Should they? There is no difference from a file system perspective. We'd still run into problems even if they did: the line feed is a valid UTF-8 character and is one of the characters with special meaning in many programs.

Dealing with file names properly is a chore even on bash.

https://mywiki.wooledge.org/BashPitfalls
If you write a lot of SQL, writing it in lowercase is OK. That's what I do anyway. If I insert simple prepared statements into code, I usually write keywords with uppercase, but larger code blocks, I write in lowercase. I also tend to write in much fewer lines than the above example, and indent FROM and other clauses further in than the SELECT keyword (so I know they belong to that SELECT statement).
I'm having a hard time thinking of a simple task that is easier on Linux.

Here's an example in the other direction: install a piece of software to a different disk than the OS resides on. This is trivial in most Windows software, but requires recompilation from source for most Linux software.
year 2150, Scientists Confirm Traces of Water in Europe
My (diagnosed) OCD compels me to use leading commas. I also use "WHERE 1=1" so each where constraint begins with AND/OR. I tend to write a lot of "investigatory" SQL that requires frequent commenting. I rarely need to comment out the first column or constraint, so commenting in general is much cleaner & faster.

I did not learn SQL this way. I was shown these tricks and their adoption was near immediate BECAUSE it just made more sense to my brain.

This isn't to devalue/argue against your comment. I just find it interesting that the common denominator for OCD-ish compulsions is that the "right" way for an individual OCD brain is usually specific to that individual brain.
I'm less interested in how vulnerable Bluehost and Dreamhost are (of course they are), and more interested in how good a writeup this is about finding variants of and then weaponizing a handful of vulnerabilities most pros would write off as sev:lo hygiene bugs. The form POST as JSON is particularly cute. This is pretty great.

Here's a quick breakdown:

1. Autogenerating CORS headers based on a regexp that can be tricked into allowing <safe.org>.evil.org.

2. A form POST encoded text/plain that gets interpreted as JSON to bypass CSRF check.

3. Using CORS origin check gaps to do an HTTP downgrade.

4. XSS-ATO by email address changes (this is pretty vanilla).

5. Sending “token[]=” to break PHP CSRF token check through type confusion.

6. Breaking a different CORS generator by smuggling the whitelisted domain into a ?urlparam=safe.org.

7. Setting content-type=text/plain; application/json to fake out browser check for JSON and bypassing CSRF at OVH.

8. Some fiddly and not super interesting CSP bypasses.
Hilarious!

Make sure to click on "I don't get it, explain differently" button at the bottom.
I think it's important to note that 'simple' can be used as an epithet.
I don't know if this is good news or bad news for my secret hobby project: an open-source, crowd-sourced version of Skyhook Wireless' or Google's geolocation services. Currently, all this geolocation data is locked away in proprietary databases behind non-free APIs.

Imagine if hostip.info used Wigle.net's Wi-Fi database instead of IP addresses. This service could be used to implement a Free geolocation provider for Firefox or freedesktop.org's GeoClue library. The Wi-Fi data (raw and "cooked"/pre-triangulated) would be available for download for other applications or data mining research.

Wigle.net has a crowd-sourced database of the GPS locations of 34 million unique Wi-Fi networks, collected over 10 years. Unfortunately, the Wiglers are extremely protective of their data. They do not share a data dump for download. They have a web service, but the API requires every client to register a username and password. The web service API is purposely undocumented and only serves a subset of their Wi-Fi data. Even though the data is crowd-sourced, they sell commercial licenses, but "will not comment on future, past, or hypothetical customers".

Will SimpleGeo post a tarball of 20 million places on a FTP server? Or does "open data" just mean that applications are free to do whatever they want with the place data returned from a SimpleGeo API call? Those 20 million places would provide a big boost to my current database of just 16,000 networks. <:)
Which then proceeds to cut off the first paragraph.

Instapaper's Text view works better here.

http://www.instapaper.com/extras

http://www.instapaper.com/text?u=http%3A%2F%2Fwww.t3.org%2Ft...
What if he administers a fortune 500 with a staff of 33k and a client list in the millions?
My website and e-mail have been down for 12 hours and counting. Alas, my only instance that has survived this is running a website that is still under development.
you want to do some a/b testing ;)
Clickable:

http://www.flickr.com/photos/lindsaygoldner/sets/72157626548...

http://linzlovesyou.com
We're temporarily down with no permanent damage. But we have no way to relay that info to our customers because everything, including our users' email addresses, is inaccessible. Big oversight that I will be fixing as soon as we're back up.

It feels absolutely terrible to only be able to assure customers that their data is safe _after_ they write a panicked email asking if their data is gone.
If you're going to state an opinion, you ought to give some justification. Linus can use as his justification the experience he has gained from running a major open-source project. Someone who has not run a major open-source project cannot use that justification. If pg wants to talk about starting a successful company, he can use as a reference his experience starting that thing he sold to Yahoo! for loadsamoney, et cetera.
To say that a database has to fit entirely in memory to achieve good performance is a ridiculous proposition, and simply shows you have zero actual knowledge of modern database server internals or administration. Countless sites happily serve oodles of pageviews per day with actual memory usage far below the disk space used by their databases. Hint: they're not swapping, either.

In general, if you really believe what you're saying, you either (1) have a very poorly designed application, (2) have a very poorly designed database environment, or (3) are speaking to a specialized application that wouldn't reflect the majority of environments operating in real life. This isn't to say it isn't a combination of these options, mind you. I didn't even start on utilizing caching in applications, because it's clear there are other hurdles to overcome first.
I would argue that they only survived their post IPO valuation because stock markets have been artificially propped up.
Interestingly only 25% of shareholders are retail vs 75% institutional.
Animal-based products have a significantly higher environmental footprint than plant-based ones.

Almonds, for vegan milk substitute, are implicated in drought in California. Soy is responsible for massive tropical deforestation. Meanwhile you can easily farm sheep and goats on land that no crops can grow on.
Not sure it is a recent trend, but I've noticed the prevalence of news articles just before something happens. Like "covid cases soon to hit 1 million" a day or two before it happens but nothing on the actual day the threshold is passed.
So why are you using an RDBMS?
Reliance on OpenSSL's CSPRNG isn't a hair-on-fire problem; if it was, your hair would literally be on fire right now, because lots of things do. I just don't think it's a great idea for new code to perpetuate the habit.
the site is ok !
Yeah, I'm behind a webproxy that gives 400 status codes to websockets it seems.
> why even have a file system? A database seems more natural

Fine, as long as that database is structured so I can arrange my own hierarchical structure of items, and manage them with something with the UI of a file manager.

I've yet to come across any of these "treat my collection of X as a database" tools that have been satisfactory enough for me to maintain that collection only through that tool. Not one.

That makes me doubt we're particularly close to doing away with more traditional databases.

In terms of my own data, I've moved more and more away from databases. E.g. my blog, my personal wiki etc. used to be in databases, but are now plain files because it's far less painful to work with.

Yes, I realise I'm not a regular user, but I've also seen enough "regular people" build deepl, complex hierarchies of files to realise that while some people may be satisfied with databases, many are not.
It helps you solve the problem quicker and more cleanly.
Even though this is a new app, we already have some pretty cool data: http://cdb.io/13gKWDF.
Thanks, it's these sorts of comments that help drive the will to actually go and do something -- I am scared of weights, and for precisely the reasons you and the article said. Especially since in some gyms the weights areas are overrun with really really hefty people... it's very intimidating!
There are several problems I've seen with BP's response:

- My perception (and I doubt I'm alone) is that they reacted extremely slowly. First by playing the blame game, then by (seemingly) choosing responses that have been proven to fail in the past (and in the exact same order) and in order of cost.

- The faces of BP on television (the CEO and various spokespeople) have been evasive and not emotive in their expressions during interviews. The public wants to see that the people in charge care about this, not just hear words.

- The cleanup effort has been ineffectual at best. From incorrectly placing booms to throwing toxic dispersants at the oil, there is no concerted, visible effort (at least compare to what I would expect from a company with the resources that BP has) to solve the problem of environmental damage.

- BP has actively barred the media (both indie and "professional") from documenting the spill beyond the photo ops approved by BP.
Yes, that's a compelling point, but to be clear: he's saying that the asymptotic analysis is itself not useful to programmers. We don't even reach the question of whether the field of complexity theory is relevant to programmers.
True, but Central America is a good place to start.
You might want to look at the discussions from some of the previous occasions this has been posted. Here are just two:

https://news.ycombinator.com/item?id=2911381

https://news.ycombinator.com/item?id=682522

There are more:

https://hn.algolia.com/?query=ask%20questions%20the%20smart%...

More particularly, though, there are alternative documents that get a better response. I've submitted one of them here:

https://news.ycombinator.com/item?id=9258946

It tries to be more aware of the "people issues" involved, and not be so "aggressively nerdish."
Or just fly low and slow :-)
I don't know if it is cool, but I wouldn't be surprised.

The idea that a AWS or Aszure market place with third parties involved is different than say my example, an App store with third parties seems like a good way to think about it.

I'm not justifying the policy, but I am noting the context isn't that different and how we should think about it.
[whois updated.]

"Domain Status" updated to "ok"

> Updated Date: 2021-02-12T15:40:39.103Z

> Renewal Grace Expiry Date: 2021-02-17T14:06:47.556Z

> Domain Status: ok https://icann.org/epp#ok

> Registrant Organization: Notion

---

[whois updated.]

"Domain Status: clientHold" has been removed.

> Updated Date: 2021-02-12T15:11:58.579Z

> Renewal Grace Expiry Date: 2021-02-17T14:06:47.556Z

> Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited

> Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited

> Registrant Organization: Notion
This is a forum, AKA a 'bulletin board', and would have been universally recognised as such in the glory days back before what we now call 'social media' existed in anything like its current form.
If you are into something more modern, and not piano based, this is my favorite Jazz album of 2020 - https://youtu.be/7GYsSqsa3dQ