skysight-inc/HackerNews huggingface dataset:
Habits of Highly Effective Programmers – Inspired by an Ex-Google TechLead
I consider it a highlight of my career to have worked with a few of these folks - they were making stuff more advanced than I am now, before I was born. Makes me want to consider a career change :P
Where I am it costs 37c per kWh. It's no wonder almost everyone has solar.
How do you decide what to wear when you wake up, or when you're planning to go on a romantic weekend getaway?
I made an app for that called Fashion Frog, who gives you the most suitable outfit to wear depending on the current weather condition and the time of the day relevant to you.

I learned a lot while coding this little side project app on Android and iOS, like using the OpenWeather API.

I created the algorithms to propose the suitable outfit for the day anywhere in the world. It took some time to assembly and think about the looks and the illustrations. But I want to talk to you about my biggest pain: the timezone module.

It was very difficult to get the app working on every timezone of the world. Indeed, I wanted to give weather from morning to night but I needed to know what time was at every town of the world (to display only 4 simple informations : morning, afternoon, evening, night). At fist, I wanted to use the Google Timezone API but it was very expensive.

My first solution was to use Kevin Robert module called city-timezone, it covered 80% of the users requests. Sometimes the city is not found, in this case I choose a timezone list from the web that I parsed, then I used another list for the towns of the world with a timezone indication code inside. So I was able to match the town with the timezone when a user select a town. And finally, if the timezone of the town is still not found, I use timezonedb API (link below) who let me cover at the end almost all the town of the world.

I also set things to not call too much the weather API (like if you want to get the weather 8 mins later at the same position, I didn’t call again the API, I save it for 10 mins inside the app).

The app is still in progress, because I want to add an Inspiration section and to create a more complex outfit proposition algorithm (I like it so far, but I think it can be improved). I already got design feedback by a UX/UI designer that helped me to think about the future experience inside this little app. I also used the Humaaans illustration base and recreated clothes on top, it was very creative and fun to do.

Fun fact: I wanted to create this app at the beginning only for Men living in Paris, France because it was my actual pain: what outfit I should prepare to look my best throughout the full day? And now, my biggest users this month (51%) are Women living in US and UK. It took me a huge amount of time to create english speaker and Women version of the app, but it was a great idea to offer the app to as many people as possible from the beginning, because my target users revealed itself.

LINKS :
- Weather API: https://openweathermap.org
- Timezone module: https://github.com/kevinroberts/city-timezones
- Timezone last chance API: http://timezonedb.com
- Humaans illustration library: https://www.humaaans.com/
- Google Timezone API: https://developers.google.com/maps/documentation/timezone/in...
What is going on with a source code of that simple landing page? It's over 11Mb in size. Also you have over 500 declarations of @font-face, and inline css is just bizarre. I would recommend you taking a look into that, it's not good.
It wasn't all marketing. The Amiga was expensive for the day. I had a C64 and wanted one badly, but as a poor college student I could only upgrade to the C128. The Amiga also competed against the cheaper Atari ST.

Businesses buy computers for the software and the Amiga did not have Lotus 123, MS Word, Multiplan, or Excel.

Microsoft after a certain point stopped supporting niche platforms. I had Flight Simulator and Multiplan on the C64, for example. The Amiga did not have either.

The Amiga did eventually find a niche where it was known to be the best solution but it wasn't a large enough market.

https://arstechnica.com/gadgets/2016/03/a-history-of-the-ami...
The Modern Tech Stack
A general purpose operating system. As a business graphical OS it was lovely to develop for. It made sense with a delightful conciseness that Windows and X could only dream of. Executables of equivalent capability could, quite literally, be an order of magnitude smaller.

There were few warts - AmigaDOS because of the BCPL roots as it was an extremely last minute addition when the planned CAOS never materialised, and icons were a pain to work with. Thirty years of working on other things and I still believe they got 95% just so. The plug and play of Win 95 was pathetic compared to AutoConfig (IIRC what it was called), in Zorro 1. MFM and IDE hard drives compared to SCSI on its own DMA channel etc etc. Stuff that took decades to arrive on Win.

As for a reboot - I can imagine an Amiga like OS experience on several platforms, but hardware? I find it difficult to even imagine how something could have the quantum leap that Amiga was compared to everything else on the market under $50k.
The article describes FB being stuck between a rock and a hard place. On one hand:

> [The FBI] is planning to aggressively harvest [publicly available] information from Facebook and Twitter [via third-party vendors].

..and on the other:

> ..the nature of the [$5 billion settlement with the US Federal Trade Commission] requires Facebook to prevent mass data gathering without consent -- whether or not the information is public or set to private.

> [FB's policy includes] a ban imposed on developers for "[using] data obtained from us to provide tools that are used for surveillance."

I'm sure an exception can be made (by legal force) to provide a FaceBook Integration platform for all interested parties. The only loser here is the public.
I actually had a hand-me-down C64 as a kid, so I couldn't agree more. It's a bit bizarre; the C64 and Apple II were around at about the same time, but the C64 had more of, well, everything, for a cheaper price. It sort of baffles the mind to me that Apple even stood a chance to them.
The only reason I knew the answer to this is because a few months ago, the gym I work out at posted it as one of those interesting health facts most people don't know. Looks like they were right.

I'd only ever heard the "burnt as energy" explanation before then. But once you understand protein synthesis, it doesn't add up nearly as easily as that.
It's a devil's bargain. If you opt-out of snippets, it simply means somebody else claims the top spot, and you are left with even less traffic (by a significant amount)
So by having a website, I implicitly agree to Google's search practices?

That doesn't seem right.
Underground Pumped Hydroelectric Storage: A Feasibility Study
As of 2015, one was still running: https://www.popularmechanics.com/technology/infrastructure/a...
Any such radiation would have arrived with the light of the black hole flaring. The fact that you're alive to read this implies that nothing fatal happened.
Have you considered mosh? https://mosh.org/
poptarts, hot dogs, hamburgers spaghetti
7 days ago: https://news.ycombinator.com/item?id=20620102
Try out yunohost. It makes this kind of thing trivial because they have gone and written all the config files and gotten single sign-on working with everything so all you have to do is push a button to install services.
You are vastly more likely to have a long, dependable platform when you use Microsoft than almost anything else. They worship backwards compatibility. Being stranded and all-alone on an open source dependency is very possible. You're vastly more likely to be stranded after using a Google open source product. I say all this having used the linux stack for my entire professional career. I prefer linux by a long shot, but Microsoft backwards compatibility is exemplary compared to almost anyone else, including open source.
about a year ago, everytime I took a panorama picture, right after I took it, xPrivacy would pop up and warn me that google play services was attempting to do something and asking to allow/deny. I always denied and it didnt bother me until one day xPrivacy just went silent. It simply stopped reporting any issues and worse still reinstalling/restarting did not help. I will not detail what evasive actions I took thereafter but suffice it to say anytime I take a picture on the phone, I assume google will have it eventually.
Megatron-LM: Nvidia's 8.3B Parameter GPT-2 Transformer
This was the response from Willy for haproxy:

Yes, just discussed them with Piotr. Not really concerned in practice,
maybe only the 1st one (1-byte window increments) might have a measurable CPU
impact but the rest is irrelevant to haproxy but could
possibly harm some implementations depending how they are implemented of course.

I use haproxy to provide http/2 and ALPN for my site, so if there is a PoC I will test it.
I would hire you. These techniques should be applied pervasively.

Could you write a guide? I would buy it.
Amiga C Tutorial
It may be different these days but it used to be the case that all kinds of things would start or require a GUI message loop behind the scenes. Most notoriously, COM STAs did, and all kinds of APIs would enter a COM "apartment" for you as part of their internal operation.

Also just look at the definition of the PEB and TEB. There's plenty of slots for GUI stuff that's just left empty for headless apps, but the space is still allocated. In the end Windows is GUI first with non GUI apps a second class citizen.

https://en.m.wikipedia.org/wiki/Win32_Thread_Information_Blo...

As you can see the primary OS per thread structure has fields like "GDI pen" and "GDI brush". There's no separation of GUI specific stuff from other kinds of apps. Even the EXE file format distinguishes between "an app that will open a window to run in the background" and "a command line app". There's no notion of a program that could be used as both a GUI or a command line app depending on how it's run.
>If a USB device identifies itself as a keyboard, the system shouldn't accept its keystrokes until either that keyboard has typed the user's login password, or the user uses a different input device to authorize it.

An interesting solution, it would definitely prompt the user to understand what the device is trying to do.

But I'm sure that it's extremely hard to prevent something malicious, once it has physical access to a port on your computer...
ST was only designed as a last minute hack to piss on Amiga's bonfire after Tramiel failed to get the Amiga on the ugly terms he'd offered. MIDI saved ST and gave it a real niche and market.
LogDNA (YC W15) – Logging and Monitoring Is Hiring Software Engineers (SF Bay)
We've also gotten as species rather better at understanding downstream repercussions in terms of erosion control and hatchery/vegetation safety since early 19th/20th century dams, such as Edwards.

It's not entirely an either/or situation, and there are interesting, growing workarounds such as hatchery creeks and salmon cannons. But yes, building new hydro power should always have a strong ecological assessment done before proceeding, and taking the trade-offs into account.

(Disclaimer: I've been working on stream restoration software, but am not a domain expert, don't speak for my employer, and mostly am only commenting because I find it really interesting stuff because I've been working adjacent to it and hearing cool stories about it. Always fun when it comes up on the HN front page.)
Let's chant it together: dark theme, dark theme, DARK THEME.
Because at least 50% of software work doesn’t require knowing them. And of the remaining 50% at least 50% can be done with suboptimal ds/algos. But I agree everyone should know the basics. (Beyond basics is nearly worthless.)
Oh yes, I have heard that too.

Following a bit the same kind of logic, I often hear people complaining "Phew, enough with this bad weather!", when, after a series of 8 dry hot sunny days, it has been raining only for a half-day (and it will not last any longer)...

Concerning farming, I'd rather have a steadily cold winter, than a warmer winter with a 1 or 2 days cold spike a month after crops have started growing, having started early because of a too early and too warm winter period. (We've had that too this winter here.)

Having lived many years above Arctic Circle, would I have wished for warmer winters? Shorter ones, yes, a bit, because it gets a bit monotonous in the end. But warmer, not really.
The Awesomeness of Inlets
Wouldn't time dialation around the black hole be very extreme? As in, from the perspective of just outside the black hole where the flare presumably started, it would have lasted only a very brief amount of time.
> I'm not sure exactly what OP is implying though.

The destruction of Atlantis?
Hey David, I don't export anything that helps with server-side rendering the CRA app. In theory, I could do that if people want it, but my feeling is people that want SSR should probably just use Next.js once we support it. Coming soon!
I have my tinfoil hat on as well.
"Please don't make insinuations about astroturfing. It degrades discussion and is usually mistaken. If you're worried, email us and we'll look at the data."

https://news.ycombinator.com/newsguidelines.html
Is there a reason that these ML models are being hoarded as "secret sauce" when, for these companies, all the rivals they're concerned about also have all the resources required to build one that's nearly as good? It feels strange that we've got six different tech giants that have all independently spent tons of capital building up the training data required to sell people smart speakers/mobile speech control/etc. with these ML models, without any of them entering into cross-licensing agreements.

It seems like it'd make a lot more sense for Apple, Google, Amazon, Facebook, etc. to all pool their training data in an "industry working group" to build and license out one "best" model, the way that IWGs are formed to build and license out e.g. AV codecs.
I can't help thinking Amiga should have been primarily a console from day one. Essentially something like the AmigaCD32.

I still have a Commodore Amiga 1000 in a box somewhere.....
Senior IT (Mis) Management
Anyone else work with people in IT who are too senior to bother with the technical details - like how do I turn it on, even though they get paid £200k+ ?
Ask HN: Alternatives to MVC
I'd like to branch out from MVC for my next webapp. What battle-tested alternatives are others using?

Here's a post from 2014, but there aren't any example code bases. https://blog.ircmaxell.com/2014/11/alternatives-to-mvc.html
(HUMOR) Are you sure it was a mistake? They are politicians...
Side note: they are using Rad Power e-bikes: https://www.radpowerbikes.com/.

They sell and ship in the US and Europe. I own one, it’s one amazing bike.
Sadly your assumption is most often totally wrong.
Milestones and Other Measures
I wonder what point people will want to hold them, and others, accountable. Not just cases seeking recompense for investors, but for larger consequences.
I've long wondered how and why I became a tree hugger. Despite the dominant culture. It wasn't from my family, church, peers, media. Growing up, my father just poured used motor oil into the sewer (ffs).

My best guess is that one teacher slyly taught environmentalism on the down low. It certainly wasn't part of the curriculum. And some how her message stuck with me.

Given my own experience, and my readings about "Language is a virus", Kuhn's Structure of Scientific Revolutions, memetics, Everett Rogers' Diffusion of Innovation, Luntz's Words of Power, etc:

It's mostly a waste of time and effort and goodwill trying to persuade any body of anything. It's better to focus imprinting kids with the values and ideals they'll need to better compete in the future.

For better or for worse.

Mostly for worse.
>whether it happened 26K years in the past for the blackhole is a mystery

Wouldn't it have occurred much less than 26,000 years ago from the perspective of the black hole due to time dilation caused by the difference in gravitational potential of the blackhole compared to us?
if this comment gets 200 replies, will stay up all night and release it this morning.
Thanks for clarifying. I'm deeply ignorant, despite I loved studying Chemistry 20+ years ago.
I bought a pack of three Anker lightning cables because of the praise they got here on HN.

Unfortunately all three weakened near the connector within a few months to the point where they only intermittently charge. Really disappointing.
"Not green by default" might have been a better phrasing? They can still be much more green compared to alternatives. "Green" isn't a binary, and that seems to be the crux of both arguments above.
Bugs Are the Reason Why You Wake Up with Bite Marks on Your Skin
VQ is a very well known technique. For something quick, you might be interested to check this blog post about (unmodified) C64 playing high quality audio at 44.1/48 kHz, VQ compressed down to 96-128 kbit/s: https://brokenbytes.blogspot.com/2018/03/a-48khz-digital-mus...

There's some decoder code there as well.
The Chinese billionaire who prevents your batteries from exploding
> Doctors offices are ill-equipped for this paradigm shift and are collecting less (40%-60% of patient balances are written off)... our pilot partner saw patient collections grow by 30%.

I'm not seeing how a mission of decreasing patient costs fits with these stats.
Apple ][ was the school computer and the upper middle class computer. Commodore, Atari, Sinclair, Radio Shack and TI (when the TI-99/4A went on sale) were the computers that introduce computing to a whole generation of families without the income to afford Apple. Its telling that both Atari and Commodore sold more computers than Apple for a lot of years.

Its a shame that both Commodore and Atari forgot what their niche was.
I think the implications of an open source API-only access method for these services are huge for user privacy. Taking reliance off of company-provided JavaScript will result in truer control over what actually gets sent to their servers. Advertising would have to be fought for through client acceptance at the API level. The tradeoff for users is access to new features and accepting more responsibility for upgrading/maintaining the interface.
SeL4 is a small microkernel, not a complete operating system. It is very, very cool, and deserves more adoption, but a customer would need a load of stuff on top of it for it to be a viable option.
This is true, but Hawking radiation has nothing to do with the observed event. Hawking radiation is incredibly weak, orders of magnitude dimmer than even the cosmic microwave background, never mind visible starlight. The observed event is as the parent poster said, originating from just outside the hole's event horizon.
The original Amiga 1000 was certainly expensive. The later Amiga 500 was a lot more affordable, and that's what my parents got for me when I somehow managed to convince them it was the best choice.

My own impression for why the Amiga and every other machine of the era lost out to the IBM PC was that the PC was what virtually everyone used at work, so that's what they got at home.

Apple managed to grab the art/music creation and education markets, so managed to stay alive that way, while the rest of those early computers never really found their niche outside of games, for which the Amiga was arguably best suited to. The Amiga was an early power gaming machine and had the potential to grab the art/music making market from Apple, but few people other than techies really appreciated it or would make their computer purchasing decisions purely on that.
They could randomize it. Allow everybody to be on the front page an equal number of times.
You don't have to inform anyone about your content not being redistributable, that is not how copyright works.
Is anyone aware of quality forums/email lists/etc. for keeping up to date on AR UI/UX?
A deep fake where Bill Hader *turns into* Tom Cruise *while impersonating him*.
I get the impression your heart is in the right place, and you are genuinely interested in helping people. I respect that you've taken the time to develop a proof concept, and that you're asking for feedback.

>>Don’t worry, we’re not sharing any of your private information with anyboby and not asking for it except for your Email address.

It's good that you're aware of privacy concerns that your users might have, but you're going to have to do a lot more to gain your users trust, especially given that the current site uses 3rd party tracking and you don't mention anything about it.

In addition, nearly all of the additional features proposed by the site are predicated on partnerships for services that are ripe for user data exploitation. Providing them in a manner that is respectful of users data and privacy is the real challenge in this space.
Random delay between 0 and 5s on SSH is nothing new... thanks goodness for mosh.
I conjure you, my HN brothers, reply as thou hast never replied in thine life.
This is fascinating news to me! Could you elaborate on how (legislatively) the banks are required to keep their reserves with the Fed? What would be a good source to read more?

How does what you said mesh with the notion that keeping cash might be riskier / more cumbersome than investing in the "risk-free" treasury bonds?
If removing dams is so beneficial, would elimination of natural waterfalls (e.g. Niagara) be beneficial as well? If not why?
My guess is that these analyses by insurance companies don't properly take into account the risk of theft. All that cash in a bunker makes a very appealing target for thieves, both insiders and outsiders. Also, if it starts happening with any frequency, the central banks will just forbid hording of cash (e.g., by refusing to allow member banks to provide the cash if it exceeds a certain amount).
My understanding is that interest rates were cut originally in order to provide a "safe landing" instead of a "sharp drop" after the last economic crisis (and that they were left low since then). If interest rates are imposed externally by Central Banks instead of by a free market, how do we know what the natural rate would be? Do Central Banks attempt to adjust interest rates towards the natural rate or is it in some sense completely arbitrary/detached?
Yeah, you'd think and thats the easy answer. The free open-source solutions slowly trickle out, but it just could be so much further along.

And yes, the abscense of merchants seriously trying to accept crypto, and the abscence of people seriously trying to spend it does it make a self-fulfilling prophecy.

but fixing these other problems of lack of free library will go a long way to fixing the speculator conundrum
This Danish bank has a -0.5 percent interest rate. Source (in Danish language): https://www.jyskebank.dk/bolig/nyheder/realkredit-med-negati...
It still looks like it'll actually be over 0 percent with fees and costs.
I just got one of those emails for the first time about my personal site that's basically my resume. Apparently my text is small on mobile (it's not...) and some other crap

I don't get why google thinks it's acceptable to critique my site without prompting. It honestly just feels rude. They want me to do a whole bunch of micro-optimizations on a site that already works fine because it doesn't fit their standard of "high quality". I think I've gotten exactly 0 clicks from Google search results ever and I don't really ever want any.

If it were possible to get a human's attention at Google I'd start sending my own criticism their way but of course it doesn't work like that...
We'll look into it. Thanks for the heads up.
They suck. And something about the way they are presented seems to make people believe them.

I think it gives that one-shot answer to questions people have, even when the real answer is nuanced and multi-faceted.
Haha, fair point! I of course meant like summer berries like blueberries or strawberries. :-)