jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Because people are stupid. And stuck in the 90's. That's the main reason. Other reasons include self-hatred for spending so much time on RoR's/Node's penis. That's definitely the second leading reason. Making less money then "stupid PHP programmers" cause they seriously thought they could develop real applications after learning JavaScript. That's pretty high on the list.

Look the bottom line is PHP has some weird issues (naming inconsistencies, parameter ordering, security issues with deprecated functionality, etc. etc.) but you can find issues on the same level with ANY language. Professional PHP dev's can consistently build large enterprise applications that are readable, scalable, maintainable and performant. Anyone who tells you otherwise is simply not familiar with the transformation that PHP and the community has gone through since version 5.3.
Btw. I wanted to boost my blog post on facebook. Facebook didn't approve it. Reason: "Your ad wasn't approved because it includes an improper reference to Facebook". Wasn't facebook all about free speech? https://twitter.com/mposchenrieder/status/557225783286980608
Cool little walkthrough of a basic Guile program. Guile needs more tutorials and introductory material like this.

To build on that example, it might be cool to show off Guile's pattern matching capabilities when you are checking the list of program arguments:

(use-modules (ice-9 match))

(match (program-arguments)
((_) (display "Not enough arguments\n"))
((_ file-names ...) (for-each do-stuff file-names)))

The 'match' macro is one of the most useful things I have ever learned to use. No more car/cdr/cadadr/etc., just use match!

Edit: The title should be edited to say "(2012)", I think. I wasn't paying attention and thought this was a new blog post.
The only thing I've seen that didn't trust their cert was an old SonyEricsson phone. Might be worth watching if you do retro-mobile.
Probably a good thing. The most complex part of Web SQL amounted to "Whatever SQLite implements", neither Mozilla nor Microsoft supported it making the standard effectively irrelevent, and I remain thoroughly unconvinced that providing an extremely thin JavaScript API to an SQL-driven database is an elegant solution to this particular problem.

Presumably the W3C have decided to favour IndexedDB instead, which solves many of the same problems in a much more elegant, simple and well-specified fashion.
This is one of the most enjoyable ways to learn Ruby/Rails I have found so far. Great idea!
I kind of like material design, but I'm not a designer myself.
So I get that my implementation might be crappy.

I have no problem to disable them ( optionally maybe? ) for whoever thinks they are annoying.
Um. Wow. He's THAT desperate for press these days?

The author of the article (Jill Fehrenbacher) is married to Peter Rohas--formerly of Engadget/Weblogs Inc.

Mr. Rohas is a co-founder of GDGT. Calacanis was an early investor and presently a director at GDGT.
Nim has the advantage of compiling to/through C, for which compilers have been optimized for a long time.
Nimrod is a terrible name for a language. In North America it's synonymous with "idiot".
Something I find quite interesting about Nim is write tracking: http://nim-lang.org/blog/writetracking.html. It uses the language's effect system, and allows not only specifying for instance that a function is referentially transparent, but also specifying how an impure function accesses or modifies global state.

An example from the above link:

var gId = 0

proc genId(): natural {.writes: [gId].} =
gId += 1
return gId

To quote the article: "Here the effect systems shows its strength: Imagine there was a genId2 that writes to some other global variable; then genId and genId2 can be executed in parallel even though they are not free of side effects!"

The effect system can also be used for exception tracking, specifying what kind of exceptions are function may throw. It can moreover be extended to work with user-defined effects.
My kid will turn 4 this spring, so I've been dealing with fragmented time constantly for the past few years. It's been frustrating at times because I have tremendous mental energy, but can't get much done because I can rarely get more than 20-30 minutes of uninterrupted time. I've done a few things to make effective use of the time I have:

- Learn to manage workspaces efficiently on my OS. I can't afford to open all the files for a project and get significant work done, so I keep more projects open at a time. I went from typically using 4 workspaces before I had a kid, to consistently using 12 workspaces these days. It's nice to have 3-4 projects open, spread across 2-3 workspaces each.

- Documentation of my own projects. I keep a text file for each project, with notes about what's been working, where I'm getting stuck, and which resources are helpful. I've used more complicated tools at times such as issue trackers, but simple text files with names such as notes, next, and mental_dump still offer the least friction for recording the little notes that make it easier to pick up wherever I end up having to leave off when I get interrupted.

- Recognizing my mental state, and what I can get done in any given block of time. Sometimes that's moving a project forward, sometimes that's catching up on HN, sometimes it's reading a technical article I've kept open for a while. Sometimes it's recognizing I shouldn't try to get anything done, and I should sit and stretch instead.

I find that I'm using each of these strategies in my day job as well. I've got to go serve some porridge now, but those are a few things I've come up with.
Loading all content and placing overlays are precisely the reasons Addblock plus hogs so much RAM, as opposed to simply not loading the content.
It seems to me that it's not just the extra calories, it's where they come from (sugar and refined flour carbs).

A couple of years ago I stopped eating sugar and bread. I went on a vaguely paleo diet, eating mostly meats, veggies, eggs, some dairy, and nuts, i.e. everything I used to eat minus sugar and bread. I did did not go hard-core paleo by any means. I lost 50 lbs pretty easily though I was not that I could tell eating less or less often. I ate when I was hungry, and stopped when I was full (easier to do, by the way, if you're not eating bread, pasta, or sweet things).

I never counted calories, so maybe I did consume fewer.

Recently I started eating some bread again. I really am a fan of pizza so I thought I would try indulging that every once in a while again. I have the occasional sandwich. Since doing that I gained 10 lbs back. Again I don't feel like I am overall eating more, but in my personal experience those types of carb-heavy foods cause weight gain much more than anything else.
I actually met an ice cutter fairly recently. He made a sizeable portion of his living hacking off chunks of icebergs from tidewater glaciers for fancy cocktails. He sold the ice to upscale Anchorage hotels and bars.
Oh god yeah, the system in rust really got me infuriated a few times lol. But it was at the same time very satisfying to fix things and figure it out. I think it's a neat language, but I am going to wait to use it seriously.

I do want to learn Go at some point though, as i'd like to do some web back end experiments with it.
I use MelonJS personally. Phaser is also pretty good, quite a bit bigger in size. That's for 2d. If you want to look at 3d, checkout three.js or babylonjs. I find three.js has a larger community, and is easier to find stuff on stack overflow. But i had issues with PhysiJS plugin performance on mobile. Babylon's physics works pretty well.
> For example, the conventional wisdom that functions should be less than a page of text and that they should do one thing and as abstracted as possible actually makes it quite hard to understand what a program does when you aren't familiar with it.

It does? Maybe you mean something more extreme when you say "as abstracted as possible" but for /reading code/, I generally find it easier to get the high-level picture and avoid getting bogged down in minute from code that looks like this:

function sendReport(params) {
var dataSource = findDataSource(params);
var data = dataSource.generateData();
var report = reportBuilder.build(params);
sendReportEmail(report, param.recipients, this.template);
}

... versus a flatter one-page implementation with 15 lines of data loading, 20 lines of report, 5 lines of email templating and 15 lines of communicating with the mail server... all sprinkled with variously scoped try..catch blocks. It also helps me focus in on the part of the task I'm really interested in without trying to load the entire system in my head.

For /writing code/, I do agree the reverse is often best: start by doing the simplest thing that works, and then refactor it into something cleaner.
Accounting signature changes - eg, starting a large number of machines - is different than inspecting the VM. That alone could be the source of the fraud signals.

My software works with proprietary chemical structures. I would not want Amazon's scanners looking at it. I want to be able to tell potential customers/clients that it's secure.

A signal for unexpected charges (based on past history), combined with a generous waiver policy, which seems to be the case now, is all I need.
Its not about whether or not he did it, it is simply about the fact that what we as a group are talking about is the actions (or at least accused actions) of a person.

"This sort of event" is an incredibly passive expression of what he is accused of doing. Such language is incredibly common [0] in rape and sexual assault cases, because it removes actors from the conversation. You can say "The actions that Appelbaum people have accused him of" and be much more actively voiced while also respecting your wish to present him as simply the accused.

[0] http://web.stanford.edu/class/linguist156/Bohner_2001.pdf
Quoting: "The language of headlines that participants generated for their reports also re flected judgments of assailant and victim responsibility. Implications for the non-reactive assessment of responsibility attributions and directions for future research are discussed."
Do hydrophobic materials interact differently with gases as well? What would the air flow be like over a wing made out of a superhydrophobic material like this? Would it facilitate or disrupt airflow, or not matter?
Off topic, but I can't believe how many people are using "Laravel". It is probably the most bloated PHP framework in existence. [Serious, Not trolling]
* I've always assumed "frogs are bigger than toads" has "on average" implied, and that obviously some toads are bigger than some frogs.

* If the real goal is to find overlooked, qualified people, we should expect to see more moneyball type thinking, and less lazy diversity-for-diversity's-sake thinking.

* The current trend of hyperfocusing on social causes of behavior and making biological ones taboo seems dangerous. I would argue that a comprehensive, accurate description of how people work makes you better at grounding your compassion in effective results. To that end, overlooking something as big as biology seems an easy way to enact a policy that's well-intentioned but harmful.

* Some people may appeal to biology in a sexist way and maybe history has many examples, but some people really just want to know what the truth is. Another way of making this point: https://twitter.com/clairlemon/status/846520296240693248
That's assuming you respect Jeff Atwood's opinions at all.
I make my days to-do list just before bed at night. Since starting this I have had much more success utilizing to-do lists.
Speaking from my experience, men are responsible for their own emasculation. I know plenty of good guys who'd make great nurses, physical therapists, or home health aids. These are jobs that require a fair amount of physical strength and stamina in addition to individual initiative and focus. (That's what men are supposed to be good at, right?) Unfortunately, they're also jobs that are stereotypically female and somehow that makes them off limits. Instead, they take two paths: 1. spend thousands to train for a declining industry (there are two underemployed airline mechanics on my block) 2. expect that good paying semi-skilled jobs should be widely available for every high school graduate.

One other odd fact: In my neighborhood, this problem really only affects white men. There are quite a few black male medical assistants and nurses and almost no white ones.
Generically: Learn your tools. Whether it's bash (can I recommend this? http://www.catonmat.net/download/bash-history-cheat-sheet.pd... ) with the ability to do very fancy stuff with the command line, vim, emacs, Eclipse, or the MS tools, learn them. Backwards and forwards. You aren't done until you have hundreds of keyboard shortcuts memorized and in daily use. Learn how to use grep, find, less, xargs, and awk. The returns on learning these tools well are amazing.

Also, do less. In order to be good at something, no matter what that is -- programming, math, entrepreneurship -- you need to focus and spend a lot of time on it. In order to do that, you need to find that time, and the easiest way to find time is to prioritize what you are doing and do less. If something isn't important to you, then don't do it. For me that's TV -- I don't own one. South Park, all 14 episodes a year, are available online both legally and illegally.
You have no idea what you are talking about.

That's a small part of automated trading.

Honestly, if you are buying stocks long-term, you probably aren't focusing on short-term pricing changes.

Large institutional investors can and do trade off-market entirely via Posit, block desks, other dark pools, etc.

But yes, you do not make large trades transparently in the marketplace, because people will take advantage of that. There is no way to trade without leaking information as well.

(FWIW, I worked on an automated execution desk.)
Hear hear, fellow-group-person!
May we finally start laying the blame for this on AT&T for their craptastic website vulnerability that enabled this, instead of on Apple who simply provided the hardware?

Also, details are vague... This didn't affect any of the WiFi-Only iPads, right?
Men dominate just two of the 15 job categories projected to grow the most over the next decade: janitor and computer engineer. Women have everything else: nursing, home health assistance, child care, food preparation.

The entire premise of this article is pretty weak, which isn't surprising for The Atlantic. While more women may be employed than men, the jobs they have are associated more with support than with production. As long as our economy doesn't become based on social work and child care, men don't have too much to worry about.

In fact, it seems to hide the real problem of getting more women involved in math and science. Technical skills will be even more important 20 years from now, and women are sorely underrepresented in those fields. I think the society that has the most women involved in tech will be big winner in the long term.
It will run on 8-bit AVRs, however, mainly the the ones with the largest quantities of RAM. I'm not sure if any of the available Arduino platforms meet the requirements.
I think that the issue is that Apple spends the time to make quality products, while other manufacturers might just spend the time to make a product that is 'just good enough.' If someone were to be able to do direct comparisons between a 'good enough' and a 'great' product, they wouldn't even think twice about the 'good enough' product.
> It does make their website feel superfluous to me and more like what what I'd expect from a company of the year 2010.

That is a wonderful feature, not a bug. I wish all websites would go back to 2010 era.

The usability alone of Prisjakt is incredible. It's not in-your-face like the shit that's being invented in 2020s.
If the company comes to you it might. It’s like how a Cuban can move to Miami and have their “productivity go up”, but with remote work the employee can stay where they are and the company can “move to them”. Of course the flip side of this is offshoring where the company can raise someone else’s productivity more cheaply than someone making US wages already.
> I have no reason to believe the Santa Cruz wouldn't be the same without expensive urban infrastructure

Like I said, my neighborhood began as a vacation destination for rich San Franciscans in the late 1800s. It has been affluent for over 100 years, long before Silicon Valley was a thing, in fact, before electricity was a thing. There are rich urban areas and there are poor urban areas, and there are rich rural areas and there are poor rural areas. There is absolutely no correlation in general between housing density and quality of life. There is, however, a strong and obvious correlation between per-capita wealth and quality of life. But housing inflation does absolutely nothing to promote that.
I'm guessing you didn't mean to say "An open discord is needed" but thanks for the humor. :)
Power consumption is irrelevant if we're using green technologies for mining. The fact that the green lobby is staunchly anti-nuclear makes it very hard for me to care, though.
And what right do they have to impose on others to change and take damaging consequences so they can be happier or their life easier without compensating them for it?
i spend a few minutes googling, going through a few SO answers, usually I can find the simplest most elegant solution that way in the fewest lines of code.
Are you actually able to demolish the house?
There's a number of reasons. Anything in a regulated industry like that has to have everything approved by regulators. The whole compiler toolchain, all libraries, blah blah. All have to be certified versions before you can use them. You can't just pick up github latest compiler and expect to ship a safety critical device with it. Coders in regulated industries may have never even heard of github, much less rust. Different mindset.

Second, it's typically not x86 architectures. They'll have a specific CPU or SOC that they use, from a specific vendor, and other specific vendors that provide the (certified) compiler and possibly RTOS that is used to target that CPU. Those vendors have decades of investment in their C code. Some small change in the asm rust produces vs c (and I'd expect the difference to be much more than a small change) could just break everything in a finely tuned RTOS.

Third (and last one I can think of offhand), there are tons of things like static analyzers and such that can be used against C code and have been developed over decades to find many of the things Rust has built in. They're not as good as Rust at some things but better in others.

Oh, fourth, these companies already have huge codebases and libraries they've already written and are used to. Rewrites / refactors are less common in regulated industries because of all the documentation they require.

Okay, fifth, and perhaps the biggest one, at least in my experience, we didn't ever malloc / new in the app code anyway, because of the potential for out of memory errors. We created a couple big buffers up front and used those exclusively. So rust's ownership model wouldn't even help there iiuc. I imagine most safety critical devices are similar?

None of this is to say that Rust will never be useful in a regulated context, but it has a lot of hurdles to jump.
How does that differ from a native app? In any E2E context you have to trust the client code.

Sure, there are a couple extra steps needed here:

- The website author needs to avoid casually throwing in dependencies (unlike perhaps the average JS project)

- HTTPS for loading code resources is crucial; maybe even CDNs need to be avoided

- The user needs to avoid having browser extensions enabled

But the fundamental problem doesn't seem different nor intractable.
I think we should encourage people to turn off their Air Conditioners, especially in indoor places like malls and bars where people gather. ACs reduce both temperature and humidity and make a more favorable environment for the virus.
> I recognize how useful flour is, but I'm surprised so many people actually feel confident enough to do anything with it (not that baking is that uncommon, but I only know a few people who know how to stuff like bake bread).

No offense but you sound incredibly sheltered. No one did any cooking in your house growing up? Most of the uses of raw flour are incredibly basic, straightforward recipes.

Literally add water, some kind of fat or oil, and maybe a leavener to flour and you're in business. Cakes, pastry, bread, roti, whatever. Use it as coating for fried chicken, or to thicken a stew. Make flour tortillas, or yorkshire puddings, or muffins, or all verities of noodles. Hard tack will last forever, if you hate yourself but want to store something for years.

The learning curve is trivial -- my mom made me roll out biscuits when I was 11 -- and flour will last forever as long as it stays dry and bug-free. Old flour isn't as tasty as the freshly ground, but you can still make a fine loaf of bread at home with 8+ month old flour; source: made a high hydration loaf last night.
All readers of these print publications are seeing the same ads. I think what most people mean with targeted advertising is when every reader sees a different ad based on extensive data collection.
Why can't they target content instead of visitors? i.e. articles and videos about X instead of people that showed even minimal interest in X in the past month or so.
Sport was originally a form of discipline and training - not just of the body, but also to be a good loser and a good winner. I think we need to abandon, for the most part, spectator sport, and create a social norm where people actually physically meet up weekly to play the sport of their choice at an incredibly amateur level. Imagine if every Sunday almost everyone in your community turned up to play - some people playing chess, some people playing football, some people swimming. Whatever their mind is interested in and their body can cope with. This would be completely different than the current system of sport, where those who want to do it fit it into their weekly schedule at a suitable time. One person goes to yoga on Thursday afternoon in an office building, another person rides their bike on Tuesday morning, a team meets to play netball on Wednesday. The would, of course, be permitted to do whatever they want. But there would also be an expectation.

Unfortunately I don't know how to get there from here - for the time being, there's no support of anything amateur. We're basically told to be a pro or go home. Not just sport, anything and everything.
Is there an NTP command to see if NTP was informed about the change?
It's thought that Netflix are blocking the IP ranges of VPN providers, though: http://www.cnet.com/news/netflix-vpn-access-lock-down-overse.... Seems like it might end up being a game of cat-and-mouse.

Perhaps someone could set up "FliXchange", a service where people can VPN through your home internet connection in return to VPN access through their foreign home connection ;)
Thanks, that's a good point. I'm tempted to actually just make the "why" section be a link to that guide, because any brief list would be woefully incomplete (as is the guide, but at least we're working on that!)

Edit: I have added a section to try and grab attention with some of the things we can do :)
How do people think google puts software engineers on the phone randomly? That's just an insane idea. I mean, these guys all make what 150k starting with 250k+ salaries not unheard of and you really expect their managers to go, "Oh btw, you're on helpdesk this week. Put on your headset and talk to clueless people for 8 hours today."
It's still impossible to link that to an individual unless they sold it to another company that has more info on the address.
| perl -pe 's/(\w)\w+/\1/g'
Not everyone has a good relationship with their manager and sharing anything out of the ordinary seems like a huge struggle.

Read 5 tips that will help you guide a tough conversation.