skysight-inc/HackerNews huggingface dataset:
I just picked your post at somewhat random to contribute to this discussion, but it seemed like a relevant spot. Also not an advertisement, just an observation.

I've been adjusting my sleep patterns over the last week or two so that I'm getting up earlier (~5am). I started out just using the iOS Alarm Clock, but through the first week or two, it was pretty hit-and-miss. Some mornings I would get up at 5, some mornings I would apparently hit snooze a bunch of times in my groggy fog and not end up getting up until 7. This was happening on a somewhat subconscious level... I wasn't consciously hitting snooze, it was just that by time an alarm actually woke me up enough to realize what time it was, it was closer to 7.

A couple of years ago I had played with Pillow[1], and started trying it out again this week. The feature where it wakes you within a half hour of your set alarm, when it detects that you're in a lighter phase of sleep... It really seems to be helping. I've nailed the 5am wake up all week and have woken up feeling quite refreshed. And like you suggest, my body is adapting and is now starting to make me feel sleepy earlier and I'm just naturally wanting to go bed.

One other thing I've noticed is that I start to feel a bit of a chill around the time I should be going to bed. It's a nice reminder if I actually pay attention to it. No clue if that has a real physiological basis or not, or if it's just some cue my body gives me.

[1] https://neybox.com/pillow/
Yes, like I said there's a sliding scale of effort/reward & HTML parsing is on the extreme of one end.
So how do you know that your low-level construct is on the path to where you want to be?

Quite often, you can see immediately that you need to represent X, that representing X requires foo() and bar(), and you can confidently make these things with a reasonable expectation of their usefulness. This already depends, however, on having done some sort of preliminary high-level design thinking. How much you need to do to be confident that you can identify an efficient set of primitives depends on what you are trying to do and how familiar you are with its problems. Writing primitives and utilities can simply be a way to avoid tackling the difficult bits.

For a cautionary tale providing a counterpoint to this article, there is this somewhat well-known case involving writing a Sudoku solver:

http://ravimohan.blogspot.in/2007/04/learning-from-sudoku-so...
Credit card fraud warning signs
Absolutely not true for my demographic (18 UK). Everybody is using Snapchat stories still because it's more "personal". Instagram Stories are used mostly by brands.
New diagnostics company Mammoth Biosciences licenses CRISPR tech
At the pricing extreme, Google could make their TPUs free to use and charge elsewhere in their cloud. This shows that literal pricing is pretty irrelevant.
ATi hasn't really competed with Nvidia at the top end of the market for a very long time

They've basically thrown in the towel as far as the datacenter went with CUDA
We do, and I can imagine subsidizing road miles for the needy too. But the price remains the same and we apply the subsidy to the supply side!
> I'm not sure what you mean by google does the entire stack.

Consider that Google has some of the best machine learning researchers, compiler engineers, hardware engineers, and infrastructure in the business working on this.
Yes, because control flow and shared data locking work together. Or should.
We can always return to Feudalism, might makes right.
Ask HN: How to prepare for a technical/coding interview?
Hi HN,

I have been fortunate to get a chance to interview in a company I wanted to work for, more like my dream job. The interview will be coding interview which have typical coding questions. Now, I haven't being doing coding data structures/algos day to day, so I have lost the touch. Its so much information on the net to start with. How do I get back into the solving coding challenges in limited time. I have asked some time to prepare and I wanted to know what could be a better way to do this.

Thanks in advance!
I think that approach is misguided. The resume has background information and my opinion is that interviews do not correctly capture the capabilities of a person.
Dynamic Scope let's you run code portions with their own variable bindings - without the need to pass arguments into the function and without the need to rebind the variables lexically in surrounding code. The scope is dynamic, that means that the bindings are only active while the code is actually active - different from lexical binding, where closures capture bindings even then the closure generating code is no longer active.

Dynamic binding is usually called 'fluids' in Scheme. There are constructs like fluid-let which create dynamic bindings.

In Common Lisp the normal LET creates dynamic bindings when the variable is declared to be special. Variables defined by DEFVAR or DEFVARAMETER are declared special by definition.
You know how messed up SimCity is when you're trying to make a place like Copenhagen or Barcelona but it's always pushing you to make San Jose.
Agreed. Su had the smarts to get a performant chip made and hire the people to make it happen. You don't get market share with an also-ran offering.
Shoebox-Sized Lab Can Diagnose Infectious Diseases from a Drop of Blood
See: virtru

Full disclosure: I work there but I work there because they do this. I left my last place because I wanted to be on this side of the argument.
Man Gets 15-Month Sentence for Selling Windows Restore Discs
Inside AMD's Quest to Build Chips That Can Beat Intel
I had never heard of the substance Atropine before I read this post, so I looked it up and found this chilling bit from the Wikipedia entry:

"Both atropine and the genus name for deadly nightshade derive from Atropos, one of the three Fates who, according to Greek mythology, chose how a person was to die."
Online life faking services exist now
Have we reached a consensus that asking the question "how much would you pay to keep using Google" is an accurate method for deciding how valuable Google is to society?

To me it seems like a flawed and simplistic approach, which will always make Google seem more valuable than it actually is, because it assumes that in the absence of Google, no alternative products and services would have appeared into the world and provided more value than Google ever has. It frames the question as "Google or nothing".
But hasn’t it been that way for many, many years now?
China's big cities today are on their way to becoming just like that. Police presence and surveillance cameras, workers that don't move much past their neighborhood, good public transit, pollution, propaganda.
Most likely, yes. The target value should be directly related to the strength of the security measures though. The information on the laptop might be worth enough for a targeted specialized attack
Reminds me of generatetokens.com (which is another React app I built to generate smart contracts)
Bought the V1s, used them for only 1 trip, then I stopped using them because what I care is sharing with people on facebook not on snapchat. I've got a water oriented trip coming up, and am tempted to buy them, but then, everything is trapped in snapchat, so whats the point?
>There's the default Apple scrolling behavior

Everyone has preferences, but the "apple" behavior makes so much sense. It's the first thing I change when I install a laptop OS.
My Google phone screen circa 2013 went something like this:

for (i=0; i<NUM_QUESTIONS; i++) {
Interviewer: [Technical question]
Me: [Answer]
Interviewer: That's right!
}

Followed by:

Interviewer: You do understand that the position you have applied for is a managerial position, and that you're going to be dealing with schedules and budgets and not anything technical. Is that really what you want to do with your life?

Me: Um, no, not really.

Interviewer: OK, well, have a nice day then. Good bye.
Waking Up at 5AM for a Week – Why I Wake Up at 5AM
XMPP echo bot written in sed
Lattner was fired.
Liking money doesn't map to "best."
Ask HN: Why does my company need to enable IPv6?
We run an ecommerce shop with a large majority of our customers in the US. We currently are IPv4 only but we have CloudFlare proxying our content. Our origin servers only support IPv4 but that is what the CloudFlare "Pseudo IPv4" setting is for.

What benefits could I give to management for why we should click the "IPv6 Compatibility" button. A lack of downside isn't good enough, I need upside.
I also experience this. When I'm actually driving I feel like I'm actually doing something. My blood pressure rises if I'm queued up at a light for 3 cycles. In theory, I want more roundabouts in my area but I don't know if it actually increases flow.
Then why are they recreating the work rather than reverting to that version alphabet?
"If you insist on being able to dress the way you want as a means of self expression then you really dont have anything worth expressing."

My initial reaction was to guffaw at the ridiculousness of such a statement. Expression through fashion and attire is pretty much the entire reason we dont all wear the same thing as each other every day. I feel the exact opposite as you: people who dont dress with the awareness that their appearance is a statement to the world they walk into are missing a massive opportunity to affect their day. How people treat you. How people respond to you. Etc.

But since I'm growing less cynical in my old age, I would care to learn more about your perspective if you care to share.
The Power of Compassion (it's about whales)
Baseball card companies publish the odds of getting certain kinds of cards.
Happy you like the post! The implementations we used are open source (we reference the specific revisions), so reproducing results is possible right now. We haven't thought about publishing our small scripts around that (there's not much to it), but it's a good idea. There's also work towards benchmarking suites like DAWNBench (https://dawn.cs.stanford.edu/benchmark/).

The illustrations are from an artist/designer we contract from time to time. I agree, his work is awesome!
So they should make an effort to compete more.
Oh man this makes me nostalgic.

Had a similar experience while taking a break from studying. Picked a random row of books only to realize it was entirely dedicated to genital reconstruction and sex-changes. Being in college, my curiosity was piqued. I may never unsee some of the pictures in those books.

Edit: Spelling
Thanks for sharing. I would love if SC3K or 2K had some sort of API to allow bots to control the game. Would love to see some AI-generated hellish landscapes (to see what I have to look forward to?).
So could AWS/Nvidia.
I generally prefer LTS-style releases for machines that I'm setting up for other people who I don't expect to do their own maintenance. That way, I'm less nervous about setting up automatic updates (since an update is less likely to break things). I also generally prefer LTS-style releases for business/enterprise use, since the release schedule is more predictable.

For my own use (or for power users and other tech-savvy folks who I'm reasonably sure will be able to maintain their systems themselves), a rolling release is less worrying.
> This, for the majority of IAP, is super untrue, unless you mean selling on a secondary market. If this is what you mean, then Wizards of the Coast better start worrying because anyone buying rares from the local gaming shop is now engaging in gambling and, by your logic, responsible by WotC.

Yes, they do the same thing. Of course they should be hit just the same.
Have they a negative opinion on Tesla? That's obvious.

Have they written this article with the main (or only) objective of letting the world know that they think Tesla is overvalued? That's ridiculous.

They could have used another example, like Netflix. Maybe then you or someone else would come to say it was a hit job against Netflix.
Nothing stops a language runtime from creating a new ABI, and using it within the runtime.If it is much better than C and stable enough, people will adopt it. Compiler developers do not run away from that kind of project.

I'd say the problem is that nobody created anything that is much better and stable enough. That second one is a large problem on non-C languages.
So you advocate for stealth exploitation instead of disclosure?
How did this advocate of e-waste reuse end up behind bars?
> 1. What's wrong with the maximise button? It wasn't broken, it didn't need fixing

Using the maximise button takes more clicks and more aiming.
The Roots of Lisp (2001)
My understanding is marketplace is killing a lot of neighbor garage sale facebook groups.
Ubuntu 18.04 is the first release to include my app, PikoPixel (pixel-art editor), in its repository (universe):
https://packages.ubuntu.com/bionic/gnustep/pikopixel.app

I had to tweak PP's packaging to get it to appear in the Ubuntu Software app, so I can provide a bit of info about this part of the article:

My assumption for now is that the Ubuntu Software application only shows updates for packages that were installed through it. Further, the list of installed applications that it shows is very clearly a subset of those that are actually installed on the system. Color me befuddled.

The Ubuntu Software app (& similar software-center apps, such as GNOME Software, KDE Discover, etc.) only shows distro packages which have valid AppStream metadata:
https://en.wikipedia.org/wiki/AppStream

The AppStream metadata is generated automatically by running appstream-generator (https://github.com/ximion/appstream-generator ) on Ubuntu's repositories. However, on some packages the metadata can't be generated, due to an error - either the package has missing info, incorrect formatting, or possibly it's an issue with appstream-generator.

Here's a list of packages in the Ubuntu Bionic universe repo that have issues (packages with errors are unlikely to appear in Ubuntu Software):
http://appstream.ubuntu.com/bionic/universe/issues/index.htm...

List of packages with successfully generated metadata in Ubuntu Bionic universe (should appear in Ubuntu Software):
http://appstream.ubuntu.com/bionic/universe/metainfo/index.h...
(Package names link to the generated metadata xml file).
That's great! Look forward to having your wife on board
I think that's a great example of implicit bias -- SimCity/Maxis has traditionally been located in northern California, and as such its modeled after cities in that region.
Of course I’m making a few assumptions here, but it sounds like your problem is that you just don’t shut off that part of your brain to allow it to relax, so you can fall asleep. I don’t care how dark or redshifted your screen is, it’s also the content on it and what it is making your mind do.

Try stopping all electronics mid evening, watch the sun set, and read or write (not on electronics!) for an hour or so.
Yes, but I was being naive and thought the Vega/Epyc/ThreadRipper stuff with the Intel Specter/Meltdown and crypto craze would help them more. I know my next machine will be an AMD one, if only just for wishful thinking
> Magnasanti’s water and power needs are supplied by neighboring cities, eliminating the need for much of the related infrastructure.

I call cheating.
Well if and only have a laptop screen to work with trying to adjust windows and have it to do something stupid that hids other windows you want to see.
In college I worked as a janitor and I had access to every room in the building, including the off-limits President's room. It's no wonder that in TV and movies the good guys always infiltrate by dressing up as janitors.
> When you have a website to build, you reach for an existing web framework, because it has already done the bottom-up steps for you.

As I see it, it is from bottom to a greatest common denominator though. The tools you choose are not likely to have everything up to your "up", you still have to build your domain specific (but still abstract) "primitives".
You're absolutely correct... I am making this post from a PowerBook G4 running MacOS 9. The entirety of the OS including the window manager etc. is currently using 80MB. How much RAM are the various Gnome 3 daemons and window manager taking up?

Even accounting for some bloating because of X11's more chatty protocol and network independence, does it make sense to take up 3x of MacOS9 with Finder interface RAM usage?
I think PG's ultimate point was about metaprogramming, which kind of turns your request on its head. Don't bother writing python bindings to the operators you wrote bottom up in lisp or forth: metaprogram in lisp or forth to give yourself the parts of python you find useful for the project.
The top level sketch is bad. They are able to go from a low privilege card to a master key. Preventing that is a pretty obvious design criteria for any multikey lock system.
I wouldn't be surprised if Netflix and YouTube care too, for UX/addiction reasons.
I know Mongolian, and I can read and write Mongolian ancient script, Монгол Босоо Бичиг, and it uses a very similar vowel harmony structure. Mongolian has been seriously bungled by Cyrillic, reducing a natural set of vowels to something impossible to represent in Cyrillic.

I think the ancient Mongolian script possibly worked well because you could write something in a standard way, and the same script worked for any dialect that would read it.

Perhaps modeling your alphabet after the mechanics of a "vowel harmony structure" with a modern facade like Latin characters might work, dunno, I don't know Казак.
You are welcome :)
I personally prefer Slackware's as far as "official" or "semi-official" documentation goes, but I refer to the Arch wiki pretty frequently even though I haven't used Arch at all in the last 5 years.

OpenBSD's manpages are also remarkably comprehensive, and they're available without an Internet connection. Pretty fantastic if you're using OpenBSD for your gateway and fucked up your PF configuration :)
The total sum of all emergency care is less than 2% of healthcare spending in the US. And obviously the majority of that is going to be paid for by the patients, either directly or via insurance. The scenario you're talking about is a rounding error in healthcare spending costs. It certainly doesn't justify forcing people to accept what the likes of Donald Trump considers to be sufficient healthcare.
China Installs Nearly 10 Gigawatts of Solar in First Quarter
Agreed, but didn't Obama use his famously during his presidency?
I swear I read "the TEST man who knew everything". That would make quite a novel.
Matrix and Riot Confirmed as the Basis for France’s Secure Instant Messenger App
I can't do that. For one thing, I work pretty much exclusively on couches and on my back porch, where I can't set up an external keyboard. But I also have a quirk where, if I have a nicer keyboard and monitor in one setup, I won't be able to work as effectively in other setups; I'll just be sad when I don't have the optimal setup. I know that sounds super weird but it is how my brain works. So I try to keep myself to a stable lowest-common-denominator configuration, for my own productivity, and that's the standard laptop keyboard.
There is a fantastic inside-view of Kowloon Walled City from this 20 minute BBC documentary (1980):

https://www.youtube.com/watch?v=ooQjAYJQ-xM
It doesn't sound to me like you did anything wrong. I think what I have in mind is more subtle than just asking questions. I don't have any objection to being asked questions in general. I would prefer you ask questions appropriate to the claims I'm making about myself - that is, I'll feel more insulted if you ask more than a couple of remedial questions. You may suspect I'm a fraud, but beware of communicating to me that you suspect I'm a fraud.
I can understand this sentiment.

To me, it feels like the Facebooks and Googles of the industry (by which I encompass other ad tech firms) are the 'banks' of 10 years ago. A few years ago, and I bet still today, there were/are a lot of new grads and experienced techies saying openly that they'd not want to work for a bank. Hopefully a similar spurning happens here.
No, all his lectures are basically the same, with just a few updates. If an hour is too long, just watch it sped up a little!

If it has to be written, he had a letter to Science on BECCS iirc.
I used to have so much fun with SimCity 2000 and it's money cheat, building ridiculous cities.

Somewhere I've still got a copy of Sim City 2000: Power, Politics and Planning[1], which was really interesting. Some of the elaborate cities featured in there are still available at: http://patcoston.com/sc2k/cities.asp, and you can still load them up and play them.

[1] https://www.amazon.com/SimCity-2000-Politics-Planning-Revise...
One man's cheating is another man's clever use of game mechanics.
I actually think I know why this is, for Simcity 4, at least. The original SC4 traffic model, Simulator Z, spent more effort trying to find alternate transit modes (i.e., mass transit) if private road congestion was high. However, it was also very compute-intensive and wouldn't run decently on the lowest-end Intel PCs at the time. Maxis was concerned about backward compatibility, and so the game was shipped with a simplified traffic model that spent less time considering alternate transit.

If you install the Network Addon Mod (NAM) it includes, among other things, a new traffic model that's closer to the original design.
In the ATL, a common antidote to residential cut-throughs - where drivers also routinely exceed the posted speed limit - is speed bumps. Not the ones normally seen in shopping center parking lots, but ramps that will send a car airborne when they go too fast. They probably don't work on Dukes of Hazzard fans but on most others they at least slow them down.

Another solution would be to ban subdivisions from connecting to two or more larger roads. The downside might be that delivering US Mail - or garbage pick-ups - would become less effcient.
I especially love how down the thread he explains how all of his commit messages start with "cafe", he searches with timestamps, messages, and author combinations for collisions...
At this point you're pretty much reinventing Monads.
Did you read the bug report? The entire problem is that GC isn't working right. See https://feaneron.com/2018/04/20/the-infamous-gnome-shell-mem... for more info.
This site is more intriguing and interactive than the headline suggests.
By design or not: Pain is a useful input.

There are medical conditions that inhibit pain perception. People suffering from such conditions have to be especially careful because their bodies won’t tell them when there’s something amiss (like a hand resting comfortably on a hot plate).
I'm sorry your curiosity declined after college.
Your analogy makes no sense to me. When evaluating applicants, the only metrics used should be how well the applicant can do his or her job.

Giving applicants preference for having some blessed sex or political leanings is generally a recipe for disaster.