jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Whenever I'm trying out a new language, I usually check if lynda.com has a tutorial on it. I happen to know that lynda.com does have one on PHP, and if you learn well with video tutorials, you can get to a pretty good spot with those tutorials in record time. If I remember right (It was a long time ago last time I looked at them), they don't get into OOP much, but if you're coming from C++ and Java, the php docs should probably be enough to help out.
Once you've got the basics down, the best way to learn would be to come up with a simple project and hack away at it. Build a tiny CMS or a blog, php is flexible, so you can come up with your own style pretty quickly, and then learn from your mistakes.
and if you haven't already given up on this one: http://notpron.org/
They can't share any details about the debt or even that there is a debt. All they're allowed to say is "Have your friend contact me." Is that what constitutes threatening a reputation these days?
Python's docs lack a place for comments, which is a shame.
Many people are Facebook friends of their employers, churches, or other organizations. Now imagine you owe (or at least a collector thinks you owe) $362 for an unpaid car loan and your employer gets a call from a known debt collector asking them to tell you to return their call. Immediate privacy violation! That's why the FTC doesn't allow debt collectors to share that information publicly.

Now, unlike a phone call at random, in the case of a Facebook contact, it would be pretty easy to figure out that the stranger who messaged you is trying to collect on a debt.
I have tried conning my friends, as well as getting Mechanical Turk workers, or posting on various sites like here, twitter, etc. Usually less than I hope for, but more than zero!
https://github.com/search?type=Repositories&language=jav...
How is this misleading? Tilted 3d charts may be, but this is not the case there.
Pie chart is a good way to show ratio of few parts.
I don't think so. I'm all for lowering barriers to entry but there is a point where it becomes harmful to the ecosystem and to the developers themselves. Software development is, in my opinion, an engineering discipline, and so it's hugely important to use the right equipment for a specific task. If somebody truly can't learn how to do server-side development properly then they need to pass the job onto someone who can. Software development is hard. Not everyone can do it. This isn't a bad thing. Understanding that software development is hard allows us to move forward and gain a more broad knowledge of our field. Ignore that, and we end up repeating history. See: the templating syntax in node-cgi. There is no reason for that to exist in 2015. This is not how we advance a STEM field.
So global warming will eventually cause an ice age right? That's apropos.
I have started doing that as well this month with CSP

But the disadvantage is the limited upside. If you just buy the stock, you could have unlimited profit if the price goes to the moon, but the option only gives 1%. And you could still lose everything, if the price goes to zero
Not allowing backup as you should be using email for things that are important is really a circular argument. If you can't even choose to backup / analyse with your own tools then you won't ever use chat for anything important. Ever since losing chat history moving phones with Signal I've been less inclined to use it overall.
I wörks!. I have microphone outside soundproof windows and it is very synchronized, within 200 milliseconds. Good enuff for movies methinks.
I think the major problem it solves is to not require multiple binaries to be distributed, one for each OS since them all runs on the same architecture.
By distributing a single binary that really runs anywhere without requiring another solution, like a VM, an emulator or a compatibility layer, it simplifies the installation process, and allows the projects to be available for more users without increase the build complexity.
Plasma & burn-in: I have a '13 Panasonic Viera VT60 with 10,000 hours, no real burn in. I've got a '08 Viera and it's fine, too. I actually bought it with a vertical line malfunctioning, and it's seemingly sorted itself out (looks fine now). No dead pixels, no burn in, tens of thousands hours.

If I watch 24 hours of CS:GO, the white scoreboard text will be visible, but if I turn to max brightness/contrast and play Mad Max for 24 hours, it's always come back to normal.

The panels do get hot, though. That part's always been real.
now they need to setup www.hindsight-is-twentytwen.ty
As someone who has always worked in businesses, with 'organic' growth, producing physical hardware as well that software that runs on it, I find it absolutely mind blowing that there are examples of teams of 5x able to round up 10M in seed rounds.

It really speaks volumes of the difference between SV, Seattle, New York, versus the rest of the world. I mean at that early stage, the amount of assurances and collateral you would need for that kind of funding would be prohibitive anywhere else.
I think Swift has promise, but I don't expect it to replace Cocoa anytime soon.

My main complaint about Swift is the lack of available documentation. In C languages, you have static header files which you can read and learn about APIs & types / classes / whatever. API documentation in Swift is generated on the fly when you search for a specific term that happens to be a function / type / protocol / whatever. But how do I find out what functions / methods are applicable to, e.g. a String? There is no chance to just `grep` existing headers for 'String' or some such trick, to find everything related to that type. This may seem minor to some, but for me it is a major stumbling block making Swift effectively a black box for me.
A larger majority (>80%) of packaged programs in Debian, Ubuntu and redhat is GPL. If you look at what people actually use in their servers or open source desktops, then the majority will be GPL.

One conclusions reached from this is that people tend to not care about licensing when they just want to push this weekends freshly created project into github, which result in the MIT license getting higher statistics in github compared to repositories with some quality requirements. One can also assume that uploading things to github is much easier that SourceForge, and people use github as a development platform instead of a pure publishing platform.
An oscilloscope is a cathode ray tube that has an electron beam that can be moved around by applying varying voltages to its inputs. In this case it works as an XY plotter, i.e., you specify the X co-ordinate by the value of the voltage on one input and the Y co-ordinate by the value of the voltage on the other input.

You can display lines on the oscilloscope screen by giving a specially generated two channel audio as its input; one channel works as the X co-ordinate and the other one as the Y co-ordinate.

The game (Darkplaces which is a source port of Quake) renders a scene that has the lines to be drawn (triangles, in fact) on screen. The output of the game, i.e., the lines to be drawn on screen are sent to an audio synthesizer process(PortAudio). This process uses a sound card to create the audio. The output of the sound card is connected to the inputs of the oscilloscope which draws the lines on its screen.

So it's not the sound in the game that is producing the actual image. The output of the game is converted to an audio signal which when given as input to the oscilloscope creates the actual image.
You can watch the talk here: https://www.youtube.com/watch?v=gweDBQ-9LuQ
> The easiest answer is that HN is frequented by many people whose main (and often only) job activity is software development, so they/we think that our plight is special.

That's unfair (and untrue generally). The article is about software developers because it is written by someone who knows about software development. Does it also apply to civil engineers? Maybe, but I wouldn't know.
That’s not how economies work. Money _circulates_. If you’re a sink, you’re also a source (as long as you don’t sink money into inflating some financial bubble instead of buying actual services)

So in general it’s the opposite, taking money out of bubble sinks and giving to people who will spend it on services will cause more circulation, not less.
Yeah these times seem really high. The app reported that I averaged about 12s for grabbing the same item every morning (boiled eggs) for about 6 months.
This is really cool! It'd be great to have a tool that tracks all editing/curation/censorship on hacker news.
Looks like you have some good questions for [SE.Physics](https://physics.stackexchange.com/)! @knzhou's profile shows that they're a member there.

Short version's probably that we don't quite have enough data to compellingly argue for excessively elaborate descriptions.

I mean, yeah, every time there's any little observation -- even one that's not anywhere near statistically significant -- there's technically a tiny bit of information in it that could, in principle, be used to better inform a model than a model that excludes it. But at current, folks don't tend to care; too much mental/computational overhead for too little payoff.

Cows in Physicsland aren't spherical because physicists couldn't conceive of more precise descriptions, but rather because non-spherical cows were too much work.
I recently evaluated a bunch of static website builders to find the best one to create and manage a website for my app[0] which is hosted on Amazon S3. This was to replace a hand-coded HTML site.

I tried Harp, Wintersmith, Jekyll, Hugo and Gatsby.

After doing a few tests, I found that Jekyll was the best match for my uses. It seemed the most straightforward and flexible without being unnecessarily complex.

Creation of templates with custom content types was straightforward and templating didn't force the site into an overly specific HTML or directory structure.

Would recommend for similar product based or article sites. Personally haven't had any issues since migrating to Jekyll.

[0]: https://www.magiclasso.co/
not at all locations
I have an old 1967 car that I like to drive a couple times a week so I wonder about this as well. I think the bans will start in the cities (they already have) but it will take a while before ICE vehicles are gone from the areas far from large cities.
The reason that "expect" is underappreciated is right there in the text:

> most of the things that you could use expect for, are usually done much better using another method.

Outside of it's very narrow use case (driving un-scriptable CLIs and automated tests for command-line tools, and maybe some exotic CLI-centered workflows), trying to use "expect" will often result in fragile code with surprising failure mode.

In 2nd example, script will fail if user has non-default top's config. It also messes up terminal on exit. Use top's "personal configuration file" instead.

In the 4th example, you are not just trapping Ctrl-D in bash, you are trapping it in all bash-spawned commands (like "cat >file"). I am going to guess that bash's native IGNOREEOF option was what the author wanted.

In the 9th example (md5sum) , expect'll work fine -- but learning standard unix commands like "grep -m1" and/or "tee /dev/stderr" will allow many things that expect cannot, like doing an md5sum on millions of small files.
It isn't a double standard. What's is hypocritical about giving users a choice (an informed one at that)?
We did code ownership, then very important developer left, and we did pair programming for a few weeks and then no code ownership (and people were assigned tasks from different parts of code) for a few months. Then we went back to code owenrship.

I think it was reasonable solution - better productivity, but people know more or less where to search for something, even if John isn't available when the bug hits.

I particulary liked pair programming and would like it to happen every few months for a few days.
In theory, this isn't a million miles away from what Debian aims at. However there's a social pressure on the various teams to include as much as possible, so what curation there is doesn't end up being very opinionated. I personally have some fairly strong opinions on what Debian/Ruby should look like, but have neither the standing nor the time to expend developing it in order to move the needle there.
I would like to make something like that, in the sense of allowing anyone to make their own forks of articles. https://doubly.so, coming soon.
This is exactly what Stacktape does.

For example, the "HTTP API Gateway" resources has 0 required properties you need to configure.

We have sensible defaults for everything. We also try to automatically infer as many things as possible.
Uh. No. It's called sex.
This is simply not true. Could you provide evidence rather than making stuff up.
I have been toying with reactjs a few weeks ago and this would have helped a lot to get going. Great guide!
The vast majority of the games will not run at a playable speed. Heck, a fairly large percentage don't even with the MAME software itself on 4Ghz+ CPUs.

MAME's commitment to accurate emulation is amazing.
Think of it this way: you paid for a Kickstarter project to be delivered in 40 years time, got an early proof of concept showing game play and a nice display box, and the real thing was finished before those 40 years were up.
See my reply here in same thread https://news.ycombinator.com/item?id=8834476

Basically having a http proxy (im not talking about web proxies but forward and reverse ones such as tinyproxy & haproxy) has its uses for example if you have a robot scraping via multiple addresses (to bypass limits for example or scrape different content dependant on location)

and well they are simpler to setup and use that vpns both on client on and server end

a vpn is fine in most cases but there are usecases where a quick and dirty http proxy helps save alot of headaches.
> So your position is that what that person did is OK because you personally don't trust the government?

What do you mean by "OK"? The question I was responding to was whether I would defend him, and I said yes. I'm not making a legal or moral argument, I'm just expressing my personal preference.
Huh? Nobody has noticed anything even without replacing it. So, the existing code is just fine.
Why do people keep reinventing syntax? Quick tell me what the following mean:

struct Digest { digest: ~[u8] } // what's ~ here?

for self.digest.iter().advance |&byte| { acc = acc.append(fmt!("%02x", byte as uint)); }
acc

What does the above mean? acc as a separate line and nothing else

I hate it when people reinvent the same construct that can be found in other languages but differently. I guess they want to do something different in their language, is it?
As Egypt has shown, this is the quickest way to replace one power-hungry sociopath with another.
> Is all of congress tapped? All the governors? Snowden hinted at this. What the fuck is going on in my country?

I'm going to assume the worst, which would be that the NSA is used as a tool of blackmail by nefarious parties whom the NSA relies on. Key House and Senate members put in a good word for the NSA and then they get some "free" information on their opponents, at which point they convince their opponents to "trade" wins with the opposing party's leadership.

Those in on the game get to continue their political career because the party leaderships are coordinating wins between each-other through bipartisan-orchestrated gerrymandering, and "suicide" elections where elected officials intentionally lose their elections in order to boost the profile of their friendly opponents.

Those whom are bucking the chain of command are ostracised and relegated to the fringes (eg: the Pauls).
> I've often wondered why the English name for "München" is "Munich"... it's not even that close and doesn't mean anything in English.

"Its native name, München, is derived from the Old High German Munichen, meaning 'by the monks' place'." [0]

Relatedly, it's "Monaco" in Italian, so Monaco the principality is "Montecarlo."

[0]: http://en.wikipedia.org/wiki/Munich
Sarariman (adapted from the English salary man) is the Japanese term for white collar worker.
Hm, wonder if this reasoning explains the bump in Ethereum, even though it's more legit than some of the other alt coins
You probably mean so-called libertarians or something. No anarchist I know online or in real life accepts hate speech in their community.
Github Repo: https://github.com/SeanPedersen/HyperTag
https://www.latimes.com/archives/la-xpm-1986-03-31-mn-2097-s...

MARCH 31, 1986

"A wealthy San Francisco socialite in her 80s keeps $1 million in a passbook savings account earning a mere 5.5% interest."

A "mere" 5.5% is quite higher than 1%.
It's not available on Android, which has an 85% worldwide market share.
How does one get over the frustration of not having invested?

It’s particularly acute for me because I made a serious plan for my brother and me to put our entire inheritance on one stock intending to level our money up by an order of magnitude (6 figures to 7) and achieve financial independence. I chose TSLA in January 2018 as the stock with the highest probability of going up by an order of magnitude; we were looking for the best time to buy; I said in August 2018 that I thought a low of 200 was plausible, on a time scale of months, before going up to the hoped-for $650B market cap in a decade.

TSLA hit 200 in May 2019, nine months after I made that prediction. I was trying to avoid looking at the stock market to cut the risk of overreacting to trivia, and didn’t see it.

But my brother was watching, he saw TSLA hit 200 — and he didn’t say anything about it. We’d worked on this project for most of 2018, and then in 2019 my prediction, my only low price prediction, happened: and my partner in the project simply took no action. And we missed the whole thing completely.

Today, three years from the inaugural discussion of this strategy in January 2018, we would have $11,500,000 and our lives would be transformed. Putting our inheritance on TSLA aiming for an order-of-magnitude increase was my exact strategy. I made an uncannily perfect call of 200 (split-adjusted 40) as the lowest price we would see. My brother did not help me at all; and now every day I feel anger over this, I feel he lied to me about his support for our joint project, he has no sensible explanation for his lack of action (“I thought you probably already knew” and even less sensible excuses).

Financial losses on the stock market can cause lots of hard feelings, and missed opportunities can too. How does one cope with this?
There's what Satoshi thought Bitcoin was going to be and there's reality 10 years down the road.

Give the man a break: he was a visionary but he could not predict the future exactly, and in hindsight, something that takes 10mn to confirm a transaction was likely never going to be used as a currency, at least not until layer 2 tech (lightning) delivers.
I've been looking at it, it seems they have a "Pocket" feature that lets you transfer funds into separate "pockets" but you can't automate your savings, the only option being "Auto-Save - turn on and off the ability to automatically save 3% of every paycheck."

The other option I'm seeing is SoFi Money, they have "Vaults" but I can't figure out if you can move money there automatically
Do you really think the password is on the device instead of using some sort of revokable token authentication mechanism?
This is cool! We used the word "love" a lot at DigitalOcean as one of the key/core values for how we thought about customers and community. Curious - how do you think of blogs and content marketing w.r.t this? Is that a "big marketing effort" or does it fit into community?
I believe any enforcement Ofcom do these days is reactive, and in response to reports from licensed operators.

A lot of the new "shared" access licenses do not give guarantees of interference protection though, so I imagine Ofcom enforcement would be on a best-effort basis there.
YouTube values the absence of their ads at $12/mo.

If I make $1/mo/per user from adverts, but my conversion rate is 1/12 at $12/mo, then I'm making $23 for every 12 users.

Doesn't mean I make $12/user/month.
So is this some sort of hyperventilation breathwork done in savasana to pop music? I guess as long as the breath retentions aren't super long they should be ok, as long as the practitioner doesn't have underlying health issues, but I've seen videos of people having mini seizures doing Wim Hof breathing. Just be careful with it, there's a reason why pranayama is introduced gently and progressively over a long period of time.

Also, I would maybe drop the references to meditation. It seems more like breathwork in the tradition of a Stanislav Grof, which is totally fine and valid, just maybe misleading for newcomers expecting meditation.
Also the float implementation was chosen to optimize well with SSE, even in presence of NaNs.
>It's so fucking accurate, and explains why the site's content trends towards a very corporate-friendly "safe quirky" that I personally find nauseating.

Haha, all LinkedIn posts do look like if Silicon Valley's Jared Dunn had written them.
@praeclarum What do you know that no one else that let you bet so much on C#, .NET stack for developing with it for macOS, iOS ? That to me seems really risky.
> the Teleport daemon will be installed and will then dial back to a central Teleport Cluster.

Instead of using teleport's pay services to do this, how is this any different really from having something out in the world on a lte connection initiate an openvpn connection back to your own server, and maintain a persistent tunnel to its new tun0 interface, and then ssh to that? The cellular network load of periodic openvpn keepalives is very low.

Or do the same with wireguard.
Actually, in my experience using the default random implementation in games:

* It's not fast enough.
* It has patterns that can be seen if you are using it to, for instance, generate 2d noise.

So for games you'd typically use, say, the Mersenne Twister [1], which is faster (amortized) and is distributed evenly across 623 dimensions. [2]

It's not cryptographic, but it's far better for games. If you're not going to have a crypto default random, better to at least have a really good and really fast one.

[1] https://en.wikipedia.org/wiki/Mersenne_twister

[2] http://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/ARTICLES/mt.p...
Open borders: Far more open than any other region in the world.

Individual responsibility: I'm not shure what this atually means?

Free choice and minimal government: As bad/good as any other democracy.

Banning American troublemakers: They are not banned, but told to follow rules and regulations. Just like airbnb in NYC.
If they are going for a checkup and that kind of inspection is unexpected, uncharacteristic and unreasonable - like perhaps at an eyetest - then the complaint would be valid, otherwise it would be dismissed as asinine.
Get an instance with a lot of memory and the use a tmpfs?
Their layout instantly made me think of OhLife:
http://ohlife.com
I'm 100% with you. This is the #1 reason I have not yet worked at a startup. Unlike some people who are already loaded, I have to pay rent. If you pay me in lottery tickets, and I lose, I'm homeless.

Whenever a startup sends me a job offer, which is quite often, I tell them I accept cash only. I'm still waiting for one to say OK. Maybe you can convince some naive college kids to work for peanuts, but good luck with that.
funny how "iloveyou" and "fuckyou" are right next to each other in ranking :)
Do you do contract work? Or has it been run-of-the-mill full-time employment?

I agree about not living based on what other people think--I guess it's the typical decision between "take a risk" and "comfortable misery"... although put that way, doesn't seem like there's really choice, does it?
Usually gmail and facebook, and one blank tab.

I don't know why, but I like to have a blank tab :/