skysight-inc/HackerNews huggingface dataset:
IIUC, most people here are talking about hacking the keyboard itself. Another option is to hack the mapping of key presses to emitted codes, at the OS level. Windows allows you to do this using the SetWindowsHookEx() process. I set this up to do my mapping back in the days of Win3.1, and it's worked more or less unchanged since then.

My mapping resembles the one described in the article, e.g. ^K --> <up arrow>. (And ^U maps to a series of 8 up arrows, for faster movement.) But I have two states, one in which a ^K simply moves the cursor one line up, and one in which it selects while doing that (and the same for the other keys that do <left>, <right>, <down>, <pgup> etc.). I toggle between the two states using ^Q (and ^C, ^X and a few other keys go to the non-selecting state from the selecting state).

The last time I looked, other keyboard mapping techniques I've seen don't have this 2-state possibility, or even in some cases to output a sequence of codes.

One advantage of doing the mapping this way is that it's hardware-independent: I can use it not only on my home desktop, but also on laptops, my office computer, etc., anywhere I can run a tiny .exe + .dll.
It's certainly unappealing to me as an individual, but I am sure plenty of businesses wouldn't even blink at paying an ongoing charge like that (as long as the router in question was getting timely patches etc.)
Agreed but the host of smaller concerns that dominate high school college choice advice (eg pick a place you feel you fit in, yadda yadda) make a lot more sense if your debt is a tiny fraction of your future income.

FWIW I went to CMU (non-CS) for some squishy reason, like it "felt right". I realized I needed a better degree for taking on 30k debt partway through freshman year and transferred to CS.

The education was rock solid. If anything it was too good - I spent so much time learning and working that I did very little else.

Debt has not really been a concern post graduation, compared to cost of buying a house where I want to live it's barely worth mentioning.
Finance is about personal relationships and private information. That’s how investing has always worked. It’s cynical and the public likes to believe in the math geniuses on Wall Street, who don’t get me wrong, they do make money, but the real money is made behind closed doors
Yeah so you could lose music, but you could just restore the iPod and put new music on it. It didn't become a brick at any point unless it literally broke.
They address this very question in one of their updates: http://sampsonboat.co.uk/ep58/
Hi all, author here. I'm not very good at Terraform or ssh or shell scripts. My goal was to ease the creation of a low-bandwidth remote work cloud environment using the VSCode Remote - SSH extension https://code.visualstudio.com/docs/remote/ssh

Thanks for reading!
Why does this feel like a petulant child attempting to redirect blame?
The (C) language spec says that:

x = 5;
int* p = &x;
x = 6; // new binding of x
printf("%i\n",*p);

prints "6". If new bindings lived at different addresses, it would print "5".
I don't quite think you understand how perforce works.

Locking the file is a signal not to work on it because someone else is modifying it. There isn't currently software that supports semantic merging of audio or video, so perforce says "someone is recoloring the asset, don't change the animation until they're done, or you'll just have to do the work again".

In the meantime, perforce prevents you from checking the file out. So you have to explicitly and clearly bypass your source control to do what you suggest, at which point someone rightfully yells at you.
Unfortunately Sonos just seems to work well out of the box.

Since we’re here, does someone have a good opensource alternative? Plug and play multi room audio streaming from Spotify et al?
Honestly, it sounds like you have some kind of local 2.4 GHz interference problem. Try unplugging unnecessary wireless devices or moving them well out of range while troubleshooting, don't run microwave ovens until you've ruled them out, and keep your phones and other gadgets well away from the affected hardware. See if you can make friends with someone who owns a spectrum analyzer.
SCMP was created by "western" anti-chinese propagandists.

"The journal was founded by Australian-born anti-Qing dynasty revolutionary Tse Tsan-tai and British journalist Alfred Cunningham"

https://en.wikipedia.org/wiki/South_China_Morning_Post

It's strange you think it is something to be recommended pre-alibaba, but not something to be recommended post-alibaba.
Worse. If Sonos can do it, eventually so can a hacker. Nothing is unhackable. Sooner or later a consumer(s) or Sonos will be taken hostage.
Once you see Apple Keynote i never went back.

But true for Excel
I would highly recommend the use of the package data.table over tibble or the basic data.frame if you are doing any type of modeling in R with larger datasets. Yes R has many data structures but knowing how to use data.table will blow your mind in term of efficiency. Matt and other contributors have built something extremely fast and flexible.

I get that R is not for everyone but used correctly it is a beast.

Now this is anecdotal, but we have in the insurance industry what we call on level premium calculators. It is basically a program that will rerate all policies with the current set of rates.

Our current R program can rate 41000 policies a second fully vectorized on a user laptop that has a an i5 from 2015.

In contrast, the previous SAS program could do 231 policies a minute on xeon 64 core processor from 2017.

For our workload and type of work, R has been a godsend.

Bonus, we can put what our data scientist develop in R directly in production. (after peer review, testing, etc, not different than any other production code)

Back when I started in 2005, we modeled in some proprietary software like Emblem, used Excel to build a first draft premium calculator, rebuilt the computation in SAS for the onlevel program and sent specs to IT to rebuilt the program again for production. All three had to produce the same results.

I've tried Python, Go, Rust, Julia. I'd say Python could be a good alternative but speed of data.table, RStudio IDE and ease of package management in R makes R an obvious choice for us. I believe Julia to be the future but so far the adoption rate in house has been low.
Maybe "disposable fashion/clothing" is a better term?
Maybe you have a really strong stomach? I've spent weeks in Thailand, often in pretty rural areas, and never got sick there either. But it's not like I'm the only one having problems with Hanoi's food:

https://www.sciencedirect.com/science/article/abs/pii/S09567...

https://www.who.int/features/2015/food-safety-interview/en/
I actually do not want swap, because I don't want paging to disk. Ever. Just let the process crash.

I have been running swapless for two decades without any issue.
One of the great things about those fields is that they don't really require a degree. So one option is let them do it, just without the huge upfront sunk cost.

If it's art, they could live at home, work as a barista, take art classes, and paint as much as they want.

If it's acting they could move to L.A. or new york, wait tables and take lessons while auditioning.

After a few years they'll find a little traction and decide to pursue it a few more or they'll figure accounting isn't so bad. Better to figure that out at 21 than 28.
Apple actually recanted and removed the special rule they had added to make those apps violate the TOS. Their review process didn't enforce that rule for years until after Apple started competing, then the apps were suddenly "abusive" but it was actually platform abuse all along.

> The company estimated that Apple’s move cost it around $3 million, a spokeswoman told the Times.

https://techcrunch.com/2019/06/04/with-antitrust-investigati...
> cancer research still has to ask for donation at local grocery store.

Erm no. Cancer Research has been booming in investment for at least the past 15 years. I will let you ponder on this:

> "Oncology is the area with the largest proportion of clinical development spending with 40% of total pipeline expenditure, with close to 20% market share of pharma sales in 2024"

https://www.evaluate.com/sites/default/files/media/download-...

Also, some of the biggest M&A in Pharma in the recent years have been about Cancer Research and Treatments. A few examples:

- Shire taking over Baxalta.

- BMS taking over Celgene

- Roche taking over Genentech

- Abbvie taking over Pharmacyclics

And there's more coming...
> Why they would market it?

They wouldn't, but American universities do and it works. Thus the answer to GPs conundrum of why don't more students consider school in Europe.
Everyone has credit card data, relying only upon exclusive data for an edge isn't enough.
Brilliant suggestions. Don’t take these lightly. It’s very easy to become inefficient working from home and therefore fall into a cycle of doing “work” by waking up at 8:45 rolling out of bed in pijamas and working till 8pm when you need to stop for dinner. It’s very destructive.

Working from home shouldn’t be about “working comfortably” it should be about working in a “small office somewhere”. Forget you are at home.

You can switch this off for 30-45 minutes during lunch. Then maybe take the rubbish out or deal with screaming kid, etc.
> they are too high and are inhibiting growth and quality of life

If they are making cars more expensive, they are improving quality of life. Less death, less pollution, less huge cost of extra traffic and roads and hospitals.

Turkey has a fantastic bus system with very comfortable buses more like airplanes (they have a host to bring tea, and have tv's in every chair).
Ask HN: Is startup school award possible for abroad startups?
I just got an email contains a list of awarded startups.

To be awarded in the startup school, you have to attend startup school meetups; something not possible for most of Egyptians who can't even get a U.S. visa.

Is there a way to attend the startup school meetups online?

If it's not possible, then this whole process is unfair... just like everything else in life. :)
Yes, but you probably don't make a habit of storing music or video (or weird proprietary binary animation formats) that people are modifying in git.
For the record, the bit about country clue unis is also mentioned in the book The Coddling of the American Mind.

https://www.thecoddling.com/
welcome to :https://github.com/banq/jivejdon, supports forums, articles and blogs, a Domain Driven Design appication with CQRS/ES/Clean/Hexagonal architecture
It's also the direction Microsoft has been slowly moving Windows. You think it'd be bad if your router stopped working when you stopped paying, imagine the same scenario for your operating system.
The CFAA only applies to protected computers and intrusion into those computers. Watching network traffic or modifying network traffic in a MitM possition, without using found credentials doesn't seem to rise to the level of a computer intrusion. Of course, it's unlikely a protected computer is going to be connecting to a public WiFi AP in the first place..

https://en.wikipedia.org/wiki/Protected_computer
Using Metrics to Ensure Quality Applications in Pivotal Platform
Ask HN: What kind of websites do you want to see in 2020?
Far from SOTA.

The money movers buy the "anonymized" location data of the whole US population, de-anonymize the CEO (easier than for a regular person), and then see what his movement says (taken a plane to a competitor office? merger perhaps?)
I now see what's going on...the OP claims to be running an e-recycling center but actually takes "donations" and sells them for a profit instead.
I was one of those people on Wall Street and it doesn't work like that to the extent you're thinking anymore. In my experience, relationships with consultants at big name firms could offer better channel checks, but pretty much no one is straight up hearing from a CEO that they had a blow out quarter with X, Y, Z client wins before that info goes public. Too many people have too much to lose.
You think that deactivating devices with customer consent is something that should land the CEO in prison.
That rather defeats the purpose of buying old kit on the cheap though, since you can get a good modern integrated amp for not much more than a standalone DAC.
How is it screwing over Sonos? The credit can only be spent on new Sonos equipment. Or are you talking about the OP's company, who is cashing on people's desire to recycle?
Sure, many things do get destroyed for branding reasons.

This is an overgeneralization though to say that's definitely what Apple or someone else normally does with electronics. Plenty of the devices Apple gets back (or significant components from them) do end up on the refurbished channel. And the same goes for all their competitors. Tons of phones are refurbished. Go on eBay or Amazon or Groupon etc and there are hundreds of models available in quantity. These come from phone trade-in programs.
Do you have an example of bikeshedding from a FLOSS mailing list?
> The actual metal and plastic is worth hardly anything, so destroying it isn't a big loss. Even the manufacturing cost is near zero because after launch day of a specific model, the marginal cost to produce one more phone is pretty much zero because production lines are rarely still at capacity.

A big loss economically, maybe, but in terms of energy/carbon losses, to say it's more efficient to just crush the thing and make a new one seems false. You've pushed from number 1 on the Reuse->Reduce->Recycle->Recover->Landfill to steps 3 and 4, and then created a new iPhone in its place.

Throughout its life, a single iPhone 11 Pro Max is 86 kg CO2e [1]. The XS Max that existed and is crushed to "preserve brand value" is 77 kg CO2e [2] in footprint. Just in manufacturing costs alone, you are creating more CO2e creating the new one than the XS Max did, and taking the XS Max out-of-life early. We are not taking into account you now get to recycle the XS Max or just dump it in landfill.

Destruction of an existing item for "brand value" is not the correct environmental answer.

[1] https://www.apple.com/environment/pdf/products/iphone/iPhone...

[2] https://www.apple.com/environment/pdf/products/iphone/iPhone...
I use Everything all day every day and it's brilliant at what it does. However, it's not Google Desktop Search, which I sorely miss...
Perpendicular parking on SF’s steep streets usually has huge backouts and is necessary due to the high pitch.
Re: Photoshop in particular, the better question might be "What alternatives are there to Photoshop _for a specific task or workflow_?"

Photoshop does 3D modeling, animation, photo retouching, RAW processing, prepress, vector drawing, typography, and automation _before_ adding functionality that exists only in PS-compatible plugins. The component tasks all have alternatives, but nothing does all of those things in a unified interface, and _that's_ the feature where there's no real OSS alternative.

(Although I'm tempted to say "Blender does" just to see what would happen.)
Three major reasons in combination.

Their new leader performed particularly poorly in electioneering, and associated with this they nailed their election colours to "Bollocks to Brexit", and repealing article 50 legislation. i.e. Under us, Brexit is not happening, regardless of referendum, calls for second referendum or rerun with more honest campaign rules or what have you. Last, I think (I'm guessing) there was a good degree of everyone being beyond sick of this, and vote Tory so we're out and it's over and done with. Of course leaving is just the start of a 10x longer period of trying to negotiate with everyone, and make things like import/export work again, preserve NI peace etc... Brexit will continue to be the story of the coming decade -- all of it. Our famously resilient and politically neutral civil service is already deeply damaged by it.

Minor reasons are a lot of very amateur hour election leaflets with faked graphs, pretend newspapers that made them look like the Liberals in the 1970s once again -- intellectual, worthy, and utterly irrelevant. They also split the anti vote in more than one constituency.
Yeah, EDA (https://en.wikipedia.org/wiki/Electronic_design_automation) is way behind.

There are VHDL and some Verilog but from what (little) I understand, the industry has moved to SystemVerilog and there Free (as in Speech) tools haven't caught up.
My experience is ~4 of productive creative work per day. I can go to 6-8, but that gets drawn out to a 12-14h workday. 4h is where Im happiest and most productive. I dont force it.
CAD is far from just something for civil engineers.

It's used by mechanical engineers. It's what you use to design an engine. Good CAD software hooks up to the inventory system so that parts can be ordered automatically.

It's used by electrical engineers. Special CAD packages exist for integrated circuit design, magnetics, and antennas. For example a motor might contain coils of wire, permanent magnets, air, and various components through which magnetic field lines are directed. Eddy currents must be analysed.

It's used by chemical engineers. Pipes and tanks and pumps get laid out. Stuff like water hammer must be accounted for, except maybe the fluid is poisonous and explosive. Expansion joints for thermal stress and pressure changes might be important. Stress on welds must be calculated.
Not everything.

The lead keel, some of the decking and hardware, some of the side planking, etc. are all being kept. Certainly most of the ship is being replaced, but not all.
Pareidolia Bias
But they're not the median family, sending their median daughter to a median university. They're the Warnick's, considering sending Ella Warnick to Pratt, so the median debt, and median payment isn't relevant.

We know how much the school is,75,000 a year. We know how much they can afford. $15,000 a year. So we know that Ella will probably be in ~ $240,000 worth of debt.
There is a difference between reuse and recycle. A recycling centre won't generally reuse parts of a products it's just separated and new raw material is created from it if possible.
The Biggest Math Breakthroughs of 2019
That isn't accurate. Sonos works perfectly well on an isolated network, reading your music from a local SMB share or getting it from the line-level input of any Sonos on the network.
That really says a lot. I've seen plenty of companies who would have to tell you tough luck, no exceptions if you have a device which is "accidentally" on like a stolen blacklist (take iCloud activation lock for example), since if they have the ability to ever bend the rules, it'll be exploited by thieves -- but the funny part here is that 100% of the devices in "recycled" status are just there because Sonos gave someone a coupon, so the only "reason" for a zero-tolerance policy against reactivation in any circumstances is revenue protection.

Disgusting.
If you are into this, I can suggest you take a look at this gear: https://mobile.twitter.com/amiteque

A boutique outfit from Shenzhen makes that.
Facebook's user interface is at least a few orders of magnitude less complex than a CPU. What would lead you to think otherwise?
But you'll still spend money on PhpStorm (or whatever) and for a good reason. Besides, community edition very much does have open source alternatives: I cannot think of a reason it couldn't be replaces by, say, Eclipse. So it doesn't really mean anything.
Not sure why you are downvoted but this is correct, the name Unix is a joke about Multics, which they felt was a bit unwieldy. Unix is a reaction to what they felt was over-wrought operating system design.

Plan 9 is obviously a joke name too.
As a FreeBSD user that has had root zfs for a while, and used zfs on solaris before that doing the same thing. Explain how it isn't worth it?

Made backing out of patches easy mode, snapshot, patch, reboot, if its effed up, go back to the snapshot with a reboot. The only thing I've seen that comes close is NixOS, but it takes a completely different take on those kinda things. Better in some ways. But zfs root is great, means you can just set compression on for log dirs and don't need to worry about compressing logs. Fs takes care of that for ya, now grep works fine, no zgrep etc... needed.

I honestly can't see why you wouldn't want to boot off it. Hell I just upgraded my FreeBSD nas box at home, took a snapshot of the entire pool before I did just in case things went south. It may not be as performant as some filesystems, but to be honest, with nvme ssd's, its a non issue.

So explain how it isn't worth it in your opinion? Experience for myself has proven otherwise. And made me loathe BTRFS for being so behind zfs of even 10 years ago. (I've had BTFS zero out data for a Makefile I had open while running make, if it wasn't in a git repo I would have been super pissed off)
Wonder how long these apparel companies will keep it up. I remember reading not so long ago that some well-known clothes companies realized that people are interested in buying used high-quality clothes, and so they started manufacturing new clothes using worse materials and process but to the same design as quality ones, and then sell these fake-used clothes as "worn".
This really shouldn't be required. If you are going to build-in anti-features, at least make sure that there aren't equivalent alternatives to your product. Ubuntu lost me when they started bundling all of the Amazon crap.
"In a passage quoted previously in this essay, Milton said that differences of opinion, ‘which though they may be many, yet need not interrupt the unity of spirit, if we could but find among us the bond of peace.’ There is but one kind of unity possible in a world as diverse as ours. It is unity of method, rather than of aim; the unity of the disciplined experiment. There is but one bond of peace that is both permanent and enriching: the increasing knowledge of the world in which experiment occurs. With a common intellectual method and a common area of valid fact, differences may become a form of coöperation and cease to be an irreconcilable antagonism."
Maybe. But are you going to deduct for bugs? Or other flaws due to the metric not being "done right, and complete"?
Apart from underwear, I have never seen anything wrapped at Uniqlo
Ahaaa... I live and learn. About long dead CPUs.
In that case, in my defense, I don’t have the option of downvoting anything, even comments! So I’d do my part but I don’t have that tool
That's the problem right there, for a hardware manufacturer post shipping there shouldn't be a server.
> "I recently wrote a recommendation letter..."

Since when YC asks recommendation letters in its applications?
That's fine as long as the spammers are disincentivised enough.
> covertly.. in a shell script anyone can read.j

Almost every service that phones home tells you that it is going to do so in an EULA that it makes you agree to. It still isn't ok default behavior. Its especially gross when your whole business is built on top of the open source community.
It was one of the pages that inspired me in my journey away from physics into electronic engineering. Such a cool piece of work.
> If there are no correct or incorrect policies then there is no need to vote.

If there were correct or incorrect policies, there wouldn't be any need to vote. If politics was a science or a math, we wouldn't need to vote. We be able to test or prove the correct answer. The reason we vote is precisely because there is no correct answer in politics.

There is a why science and math doesn't work by consensus or a vote.
Not to get too far off topic but is anyone familiar with how Boeing runs their shop? What's management/leadership like? What metrics they use?
Mayan palace at least 1k years old uncovered by archeologists in Mexico