skysight-inc/HackerNews huggingface dataset:
If you can open it enough to cut the led, why not just wrap the led in tape while you've got it open? That should cut down on the light leakage through the usb ports.
From my current experience, I closely monitor these things:

- loss of agility in finance, HR, product development as you have to check back with the corresponding divisions of the new parent company to get aligment/green light for any kind of investment.

Worse: not being able to make independent strategic decision in these areas, but only follow orders

- restructuring of upper management that creates disquiet/uncertainty with in teams -> productivity sinks

- Parent company's sales force/marketing does not know how to integrate your product into their current portfolio/process. (Example, when a manufacturing company wants to "go digital", buys other company but their Sales has no idea how to sale digital products)

- focus shifts from "working on your product for your customers" to "integrate with their system/ their other divisions" who have no idea of your customer base.

- corporate politics takes over the decision making process

- general much more "process" creaping in, make you develop much slower. (but that does not have to always be a bad thing)
I live with an endless barking dog. It isn't mine, but it wakes me constantly.

If there has been peace for a while and it barks, I can feel my entire body change "mode" to stressed. It is uncanny. Even if mentally it hasn't bothered me, my body still goes into battle mode.
Empty interface perhaps.
Lesson learned from c++ "rule of five"? Where if you implement a destructor you must also carefully implement a copy constructor so that the two copies of the object don't accidentally refer to each others members in any way. Something that is much harder than it sounds like, leading to the now more recommended "rule of zero" saying just don't.
Free Version of HTTP Debugger Tool
I love the edited title of this post. It reflects accurately the reality of the situation. Hey, battre, hi there! You are famous now!
That’s common though for variadic functions, particularly printf! Many printf implementations will blindly do a va_arg (popping the stack pointer by 4 or 8 bytes) if the format string says so. If your call to printf looks like:

printf(“%d %d %d %d”, x, y);

then you’re going to “read” two more ints from the stack at the call site. clang (and later gcc, I think) thus have a semantic analysis pass that understands/parses printf-style formatting strings so it can tell “hey, you didn’t pass enough arguments” or just as frequently “you passed too few”.
There are a lot of "regular people" out there interested in these issues who were too young to have been involved in the '90s. Maybe the tone is off but I certainly appreciated the history lesson.
They should, because otherwise they're just virtue signalling, not making an argument.
Some of those seem to be just online frontends to physical businesses? For example MazeEngineers and Bookblock -- sure they need online to find customers, but that's not how they make money.
This reminded me of https://slatestarcodex.com/2018/08/23/carbon-dioxide-an-open....

After reading it I started leaving either a window or a door cracked, but honestly did not notice a difference.
RevK (who runs a UK ISP) has been looking at this since March:

https://www.revk.uk/2019/03/air-quality-and-co-levels.html

https://www.revk.uk/2019/03/understanding-co2-air-quality-be...

He’s very much an old-school Hacker; it’s worth reading the posts he’s made since those two.
And a C-ism, and a C++-ism, and a Java-ism, and probably at least one other I'm not thinking of at the moment.

There are a variety of things that Perl programmers would consider idiomatic (depending, I would say, on the background of the Perl programmer). Using something like (foo && bar) in this manner is actually quite common in some Perl code bases (although, I suspect it is more commonly used where there are multiple conditions that are chained -- Damian Conway's "Perl Best Practices" book has some examples of those).

In the example given, I suspect the author of that code did it that way to reduce the length and put it on one line. I understand the desire for concise code, but if it were me, I would spread it out more to make it easier to read (mostly, I just wouldn't put it all on one line). I like having concise code also, but there is a fairly definite line that I try not to cross. If I have to work hard at all to keep track of the pieces, it's time to either add some more whitespace (horizontally or vertically, or sometimes both), change some of the constructs, or add some temporary variables to make the intent clear.

I am the person most likely to have to deal with the code a year later, so like many others, I try to not confuse my future self.
Big fan of Postico and Table Tool by Egger Apps. https://eggerapps.at
>> He used to be reviled enough during the 1990s to receive literal pies in the face. [0]

all it takes is one person to do that.
Yeah unless you like unnecessary risk, or have some solid inside knowledge that something amazing is about to happen, you should sell as soon as you can. Ask yourself if you would buy shares at that company if you didn't work there.
I don't believe it as it just gets worse and worse.

I always pity the people who think they are "more productive" with a MBP while our Linux-on-TP users seem to be quite fine with their tools for at least half the price.

On top MBP users seem to need much more money for stupid little apps which happen to be free on linux to be even "more productive".

The newest keyboard is a piece of sht - it feels like no physical feedback at all.

When they need an upgrade they need a fin new MBP! Most of the parts can't be replaced anymore - this is really insane O.o
Performance Testing Using Gatling
> I always want a way to SSH into my home network

Guacamole (sorta) gives me that. If CloudFlare or nginx or Guacamole have problems then I'm hosed... but I work from home so remote access isn't a huge concern.

And I've got nothing terribly "household critical" at home, just the PiHole needs to be running to keep everyone happy. I do wish that PiHole had an HA solution. I've been tempted to set up a pfSense / pfBlockerNG HA pair but that's a lot of overhead just for DNS.
On a Linode instance (OS being Ubuntu Server 18.04):

- mail server in Docker container

- ZNC in Docker container

- Shadowsocks server

- Wekan as a Snap

- My blog, statically generated using Pelican, served from nginx

At home, I only have a Synology NAS that is exposed to the internet.
You can just stay on Mojave. You don't have to update.
Dark castle!
At my current company people will assign meetings during lunch because "that's the only time people are available." I now have that time blocked off so they can't do that to me anymore. But they try. :)
They acted predictably by never updating IE and letting it stagnate. Hard to see how that is better in any meaningful way.
Because the land price is very low.
One CRM webapp I worked on took our frontenders several attempts at different hacks to get Chrome to stop treating the SSN-equiv field as a credit card autofill.
While I'm happy to hear you are a happy MBP user (so am I to be honest), the articles isn't arguing current MBPs are bad, just that they are not the performance power beasts they used to be. He talks about Tim's shift from performance to thinner and lighter (not whether that's good or bad, just that according to him it kind of takes the "pro" out).
This is how to learn to mimic a new language and avoid actually learning it. It’s the difference between carrying around a French phrase book and being able to converse like a native.
Why do you have to pay for your partner’s grad school? Isn’t there NsF scholarship? And it it’s not STEM what’s the point of a 200k grad school when you earn 50k/year after?
Real-estate agents know they can light up the churn-rate in a neighborhood by just moving in one neighbors-from-hell family as it is a self-reinforcing process. This is the reverse of gentrification.

Fanning these waves of uplift and deterioration at the right frequency is what brings home the bacon.
On a bit of a tangent, hopefully not an inappropriate question:

What do you all spend on this sort of thing? Whether hosting remotely or on local hardware, what would you say is the rough monthly/annual cost to move your Netflix/Spotify/etc equiv to a self-hosted setup (excluding own labor)?
If you read the news or forums at any frequency during that time, you'd recall that Gates was the Tall Poppy back then, before Steve Jobs became successful enough for his haters to adopt Gates as the hero figure against Jobs.
I wouldn't be surprised if Bill was blackmailed at
some point, being human and all. Even if the woman was 18 and a day, it would still hurt Bill's reputation, on many counts (why would an old man want to sleep with such a young woman, for one?). And we know that there's no real difference between an 17.5 year old and an 18 year old. But one might send you to jail...

From our chairs it's easy to say how dare he but ...
It should be possible to have a simple rule requiring noise not to cross into a neighbor's residential property, without having a dedicated organization of busybodies collecting dues and micromanaging everything with a constantly changing set of restrictions.
How much you got out of it?
> I always feel bad for my co-workers who have to use Linux on ThinkPads or Windows.

I recently moved from a MacBook Pro 13” i5 to a surface pro 6 i5, and development on Windows with WSL has been such a great experience that I doubt I’ll ever want to develop on a Mac again.

To each their own I guess.
Edit: sorry, I misunderstood the question. The below is referring to software development.

Everything. I keep infrastructure simple as I found as a developer, infrastructure configuration, dependency issues and updates took an extraordinary amount of time while providing zero benefit for products of a small to medium size. I do have a plan in place should I need to scale, but it is not worth maintaining an entirely different stack full of dependencies for the off chance I get a burst in traffic I can't handle.
Just to provide some context, there was a pretty big fire in Southern California[1] the same week as the PG&E blackouts. The humidity across CA was really low, which is just as much as a factor as the wind. On one hand, the blackouts were probably excessive, and possibly politically motivated. On the other, no major wildfires occurred in PG&E territory, but a fairly large one happened in LADWP territory[1]. PG&E is in tough spot, no one will know for certain if the blackouts actually accomplished anything, but if a wildfire occurs and they don't cut the power, then they hold the liability.

https://www.mercurynews.com/2019/10/11/photos-saddleridge-fi...
You just described reader mode!
I suspect this may be why I'm so tired after meetings, but I'm not sure. It would be nice to test the air in the meeting room. There are dozens of different sensors on sale on Amazon, but if I buy one, how do I know if it's correct?
Many years ago, a my landlord’s son had a car alarm that talked. When he locked the car, it would say “System armed”. (The first time I heard that, I nearly freaked out.) And when unlocked, it would say “Alarm deactivated”. Whoever invented this, may have thought it really cool at the time. Fortunately, I never found out what it would say if the alarm went off.
Lead cyclists take turns riding at the front of the pack (the peloton, from which the company took its name), blocking the apparent wind and allowing teammates to ride in their slipstream. The protected riders use less energy to maintain the same pace.
Raspberry PI 3: OpenVPN
Dell Poweredge R720 running VMware ESXi With
- Ubuntu Docker Host
- - Plex
- - Blog Site
- - TeamCity
- - Minecraft Servers (Java and Bedrock)
- - Gitlab
- - ElasticSearch
- - Kibana
- - Resilio Sync
- - PostgreSql
- Manjaro Linux VM
- Windows Server 2019 VM
- 3 Node Kubernetes Cluster
- - Couple of Side Projects Running on It

Basically all the stuff I don't want to pay a cloud provider to host.

Overall the R720 with 48GB of ram has been one of my best buys hands down. down the road I plan on grabbing a second server and a proper NAS or unraid setup.
~80 AUD a month for two VMs. One hosts a Tekkit server.
This article is so loaded with innuendo and written by someone who doesn't know much about the topic. The QAnon part is comically inaccurate. What you can do is more research if you really care.

Better yet, start with the reading the constitution and then progress to why free speech is so important. Because the alt-left is trying to kill the first amendment in the exact same way and for the exact same reason they're trying to kill the second amendment - to control people. That's far more dangerous than any silly image board as evidenced by all the wars and innocents killed for nothing by these people.

Words and weapons don't hurt or kill - it's the people who wield them. And the ones who try to restrict these inherent rights are the worst offenders.
I'm now using MacBook Pro while writing this answer.
My fingers are almost melting

It doesn't matter how good they will do the next Mac

They first of all, have to fix the problem that it gets too freaking hot
It does, it's called configuration groups.
https://cli.dev/docs/tutorial/config_groups

(Assuming I understand your exact meaning).
Karma scores are really, really irrelevant. To paraphrase an old saying, "90,000 karma and five bucks will get you a cup of coffee."

You know that when you get downvoted 200-300 points and you laugh, you have discarded for good the very idea of karma points having value. I did.

When I left left Reddit at the start of this year, I had something like 50,000 karma. To say it like that means I only remember the value to somewhere within 10,000. So that means my actual karma was somewhere between 40,000 and 60,000. 20,000 karma is quite a big range if karma has any value at all, and yet it is just a meaningless and irrelevant number.

Now repeat after me: "Karma is just a random number that has no meaning at all in real life."
Is the electric mini cheaper than the standard 3 door hatch? The only price points I'm seeing are £16195 for petrol [1] and £24400 after UK incentives for the BEV [2].

[1]:https://www.mini.co.uk/en_GB/home/range/mini-3-door-hatch.ht...
[2]:https://www.mini.co.uk/en_GB/home/range/mini-electric.html
CANZUK
I would imagine an IPO is a lot different than another type of exit, like an acquisition. I've been through two acquisitions and both went terribly for just about everyone but the founders.

For an IPO I haven't been through one of those but all of my friends just basically stare at the stock price all day every day and brag to their friends about how much money their stocks are worth.
If I sell it for $0.01 can I write off the difference?
Whenever I try to research Apple products I've nearly always found hit piece articles at the top of search results. There seems to be a robust market for this sort of thing. Usually the authors specialize in it and pump out things like this regularly.
My car (most cars?) just flashes all the turn signals. One long flash on lock, two short ones on unlock.
...which really makes it worse:

1. Our programming language has an attribute called "autocomplete" with two possible values: "on" and "off"

2. We will now (without consultation or announcement) simply start ignoring one of those values when you specify it. (and certainly not document the new behaviour!)

3. Here, I made you a convoluted (and undocumented!) workaround for getting the original behaviour of the attribute back.

I'm not sure which horse these FAANG kids who excel at programming challenges rode in on, but this attitude is RIFE in their product SDK's and API's.

Dijkstra must be spinning in his grave.
All that complaining (hey I agree with all points) but he still doesn't really explain why Apple killed the Macbook Pro other than "iPhone" and doesn't even mention sales figures or anything else at all. "iPhone" is only half the reason anyway - it's App Store. Apple wants that 30% slice of pie and they get far more off iOS users than MacOS users.

Apple just has to update the Mac lineup so its 'good enough' to not let the PC market cause a net growth loss, and to keep iOS developers from leaving.
Bizarre CSS Animations library for eccentric developers
Combine that with sites attempting to block pasting in a "complex, secure" password and I start to see Google's point here, bad as I don't want to. How "auth" is handled, at almost every layer, seems about as badly broken as "security" in the U.S. banking system.

Fortunately, Firefox gives me dom.event.clipboardevents.enabled so I at least need not worry about my workaround being broken.
> The newest keyboard is a piece of sht - it feels like no physical feedback at all.

Maybe it was the plan all along, to get people used to a virtual keyboard once they get rid of the physical one (yes, I'm joking).
It is perfect fine to take by value something that is not Copy to transfer its ownership.

It is a compiler error to use the value after it was moved. And the compiler error is quite explicit about how to solve it

For example you can explicitly clone

let y = add(x.clone());
let z = add(x);
> ... want a way to SSH into my home network ...

IMO, using a Tor hidden service is a (damn near) perfect solution for this.
I’m pretty sure that people who say things like, “if I’d have invested $10k in Apple in 2008 I’d be a millionaire” are so far from right that they aren’t even wrong.

Nobody holds on to a winning lottery ticket that long. You cannot exit at the top and trying to do so will drive you crazy.

I think you and your friends were right. I had a coworker that was selling his stock as fast as he could and it finally dawned on me that he was doing the right thing. When you work at a place, you are investing your time an energy into an idea. If you hold stock in that place, you aren’t diversified.

If the stock tanks, layoffs are more likely to happen. And then you are broke and jobless. There are very few companies you can work for where your own stock is the best bet on the stock market, and second best is often pretty darn good. Gamble on a different income stream.
The EU’s PSD2 (second Payment Services Directive) specifically introduces the concept of Third Party Providers (TPPs) that are allowed to interact with your bank account on your behalf either to collect/aggregate information or to initiate payments. These of course require an API to do so, but unfortunately, within the same piece of legislation, the TLA ‘API’ unfortunately suffers a namespace collision with “Authorised Payment Institution”, a lesser kind of online banking institution a step below the full EMI (Electronic Money Institution).

I’m currently heading a project to set up such an institution so I’m into this stuff up to my neck.
I would identify myself as “ramen rich“. Specifically, my post-tax living expenses (rent, food, gas, entertainment, ...) are ~30X my liquid portfolio, all invested in a bunch of diversified index funds that throw dividends/interest income, as well as increasing their NAV.

It improved my life in the sense that I don’t feel the pressure of having to keep a job I don’t like: I can quit and not work for several months and nothing will happen. Even if I don’t actually quit, just the thought of me being able to do it gives me a lot of comfort. I suffered significantly from this in the past, where I was stuck in non-ideal work situations for financial/immigration reasons.

But it’s far from being truly liberating: I constantly think that a significant drop in the market could jeopardize my position (and I can’t move more than 30% to fixed income investments, since I am young enough that inflation is otherwise going to eat all my capital away), or a crazy medical emergency force me to go bankrupt (and I say this as I have a pretty good health insurance plan covered by my employer).

And, I think it would be nice to have more money for discretionary (e.g. more traveling) or unforeseen expenses.
Virtual Reality: Soon gamers will be the fittest people around
This same author posts almost daily click-baity hit-pieces about Apple on Forbes.

https://www.forbes.com/sites/ewanspence/#2805a79a1089
Not sure how Rust mutexes work but in c++ that wouldn't work. Obvious first example is std::lock_guard which is implemented by locking in constructor and unlocking in destructor. The variable itself never has any "use", it's just created and held alive as a dummy to denote the locking scope.

Now actually this is a quite nasty object with implicit global side effects which you should avoid in the first place, but for the mutex case i don't know of a better option, maybe Rust has a better way to handle this?
> The kicker is the winds never arrived.

Winds over 60mph on the ridges.
https://www.wunderground.com/dashboard/pws/KCALOSGA177/graph...

We had 40+mph winds at our home all night. Based on previous experience the power would have gone out anyhow.

In the spring we had a tree take down the power line in front of the house and continue arcing. Thank goodness it was a day after rain and calm wind. On a night like this recent night, the mountain would have been ash.

For those that live in rural, fire-prone areas power outages are often fairly normal and the big danger is burning. If someone hears 4th of July fireworks being set off where I live there's a real risk of a vigilante mob. The tradeoff of power cuts seems reasonable.

There has been reporting that preventive power cuts are generally a good idea, but highly unpopular unless they are really targeted. This is what San Diego Gas & Electric learned: put in equipment to enable more targeted cuts and monitoring. I expect this is where PG&E will need to invest next.
STOP! This is a 2013 paper. It is 2019.

Climate change is supported by evidence and we humans are the cause. The situation is worse than we ever imagined. It is an existential crisis, which must be mitigated. If we don't do something major and do it soon, extinction of much of life on earth will be the result. In fact, we may already be too late to be able to take actions to avert collapse.

Climate deniers are irresponsible, distracting, and amoral. They don't seem to understand how science is done and how scientific knowledge is created. They are well funded, apparently by the same cabal of folks that protected tobacco companies and blessed clean coal.

It is true that Global Climate and its various drivers is not well understood, yet we persist in under-funding research. We have too little data, too few people working on the problem, and no organization with global reach and global authority coordinating things, setting rules, and running things. Decisions about mitigation need to be based on rational analysis and not on political, economic, or social grounds. Some decisions and actions will necessarily be unpopular.

I too like what Eric Weinstein said about climate change:

">The fact that we do not have much historical data and good verifiable models to understand how the planet climate behaves under large changes in parameters (CO2 emission, etc.) makes it even more important and urgent to act. We never know at what moment the system will cross the threshold, and damage becomes irreversible, and planet destruction accelerates."

We are already in regimes which are outside historical experience and data, that is, in uncharted territory.

Personally, I think it may all be over and that everything will collapse sometime between 2030 and 2050 while everyone is sitting around denying that there is any problem.
You still had a choice, nowadays being a Web Developer is almost a synonym for Chrome Developer and it was the IE hatting crowd that made it happen.
The MacBook Pro isn’t bad or dead. Judging from people’s complaints, it’s more like Apple needs a MacBook Pro Max: bigger, heavier, faster.
nodejs
nginx
apache2
postgresql
mysql
nextcloud
jvm/rhino/ringojs
mattermost
wekan
wikimedia
nextERP
nodejs WebRTC signaling server,
nodejs pushing notification server,
STUN server,
mumble
Asterisk
git
Haraka
etherpad