skysight-inc/HackerNews huggingface dataset:
As an aside, these people aren't really "honest". They're just the kind of people who, in front of difficult problems and complicated situations, do the exact opposite of assuming good faith: in a textbook case of Dunning-Kruger effect, they think that things are easy to fix and therefore those who haven't fixed them before must have been dishonest.

In fact in their cluelesness and will to always point elsewhere for the source of the problems, they're the same as those who preceded them, just worse.
Small correction: it’s <script type="module">, as distinct from <script> or <script type="text/javascript">.
An alternative to this and Apollo codegen is GraphQL Code Generator[1]. Like codegen it takes the opposite approach by generating typescript from graphql. It's similar to codegen, with the main two differences being 1) it's not centered around queries, it will generate types for all schema parts as well as queries defined client-side. This is useful for getting typescript types for all the individual schema parts without being "wrapped" in the type of a query, and 2) it's template based and relatively easy to extend modify how the code is generated.

[1]: https://github.com/dotansimha/graphql-code-generator
Foundation (where DateFormwtter is defined) does use Unicode’s standard, so this should be language agnostic.
Each Electron app comes with a very specific versions of Chromium and Node.js.

They can't run on native frameworks. If native frameworks are updated old apps would break. If native frameworks aren't updated newer apps would break.

What you're asking was already tried with Adobe AIR and failed. Instead we need lighter alternatives to Node.js and Chromium.
It isn’t SimCity, but I’ve found Pocket City to be a well done city building game on iOS. Similar feel to SimCity 2000.

https://itunes.apple.com/us/app/pocket-city/id1330451888?mt=...
> It is cheap

And so the results look cheap.
It was a wonderful class! When I took it, the class sessions were basically open problem solving sessions involving said advance data structures. Apparently, the class leads to at least 2 or 3 published papers whenever its held.
Ask HN: Good topics for undergrad thesis related to GPU Programming
I am in the final semester of my college and I am looking for a topic for my undergraduate thesis, it must be related to GPU Programming cause I want to explore that area. I would like to work on a problem that involves Image Processing. I have looked at several research papers but I would like to work on something which is untouched.
>most accountants/auditors have no skin in the game

Bit of an ironic comment given that almost all accounting/auditing firms are partnerships. The participants arguably have more skin in the game than any other corporate entity of comparable complexity.
Kvalvika beach and Ryten mountain – Hiking guide
Pruning is a great idea to reduce memory usage. One thing to be careful with is that pruned matrices use irregular memory access and they might be slower as we don't have SIMD support for sparse matrix multiplication on generic CPU's (e.g. ARM) yet.
Isn't the absolute path (not exactly true, since dots are supported) thing just a matter of punting till later? If I recall correctly, they couldn't agree on resolution rules and perhaps more specifically how node-like rules would translate to the web, so they punted and went for an "absolute or bust" kind of approach till someone comes up with a better idea rather than painting everyone into a corner. Mapping identifiers and path resolving functions have been suggested as ways to make identifiers "nicer" I think.

This seems reasonable. I reckon the reason why node's behind on figuring out how to make ESM work is because of all this implicit loading magic, and a reluctance to break existing code. (A commendable goal I think.)
I'm a long time jazz bassist. I don't play in NYC -- that's another world that I know little about. But in a mid sized city, I can keep up with anybody playing standards or written material. I do play with musicians who have paid their dues in the big cities, so I know what they are capable of.

Being able to transpose while sight reading melodic lines or chord charts is pretty rare, and seldom happens. I can play in any key if I know the tune, i.e., most standards, because I've internalized the harmonies. I can make you think that I can transpose because I know more tunes than you'd expect from an amateur. The people who can transpose complicated written lines on the fly are mostly academic classical musicians by day.

But actually, jazz musicians are losing interest in the old game of trying to stump one another on the bandstand. I hold my own when it happens, but it's really not serving the music or the audience, and is something I associate with players who are past their prime. Nobody's forgotten the standards, but the bright young players are doing more with original compositions and arrangements.
Boredom I think is a prerequisite for successful automation. If you're not bored doing a thing, it is likely still too complicated, too poorly-understood, or too fun to automate.
>>We can sum this up with a heuristic: Your odds of being able to apply parallel-computing techniques to a problem are inversely proportional to the degree of irreducible semantic nonlocality in your input data.

That's only true at the very high end, where you have so much data that it's not all physically close and transport time is relevant.

With the reality of stalled clock speeds and multi-core systems, people are finding the parallelism in many applications. Scaling really appears to be coming to an end - if not at 7nm then at 5 (or what they'll call 5). I don't think we're going to meaningfully exhaust our ability to exploit parallelism before then. They're not used in every application but they are used by enough things that we should have them.
Since those big firms are consulting firms, they have less a skin in the game, and more in the meta-game.
Netflix couldn’t predict its load in the early days, so saved a ton of money using pay-as-you-ngo rather than building out datacenters.

Nowadays they are such a good advert for AWS they probably negotiated a deal which is way cheaper than the published price.

Also Netflix’ major cost is content; servers are kind of a rounding error.
Ours is pretty reliable, out here in the 'plains states'. It's blowing pretty much every day, most of the day.

And our 'support' source is nuclear, curiously.
Go to Udemy, type in "web development" and pick any course under $15 that includes the words "for beginners" in the title and has 4+ star ratings.
> Are these date format strings part of ISO-8601 or standardized in some way? They look pretty much identical in JS and Python.

They’re part of Unicode.

> maybe a big help in preventing human error are editor plugins that verbalize what a given string represents

This is a good idea, but it’s easy to get this wrong. There are websites that let you enter a format string and it will format the date for you as a “preview”, and they often have a list of format specifiers that you can pick from. The issue is that it’s easy to pick YYYY because it might end up coming first in the list and have a description like “the year”, which makes it seem no different than the one you’d want to use.
Ask HN: How do you plan to organize your life differently in 2019?
I am a very organized person. I calendar everything. I have goals established at the start of each year and I track them regularly.

But, I'm looking for new ideas. What are you planning to try or do differently? Are you habitually organized or more go-with-the-flow?
Chinese may take over Mombasa port: Ouko
Which countries/cities is your team working from?
Politics aside, this is quite a 7mu turn from a place where weed (and any other drug) would previously net you the death penalty.
It probably would have been better to use entirely different letters (xxxx instead of YYYY) to reduce sources of human error.

Notwithstanding these small issues, iso8601 is a godsend, but even with this spec it's amazing how many times we just get it plain wrong dealing with time. Time is hard! It gets even worse in binary formats, dealing with leap second tables, time zones, daylight savings, different epochs etc, which is why I developed the smalltime [1] format.

[1] https://github.com/kstenerud/smalltime
Thanks a lot for the link. I'll be sure to take a look into it in more detail.

Keyword spotting is one of the modules we run in this demo. That's how we detect "Hey Barista". We also run an engine we can "Speech-to-Intent" that infers user request from follow up command.

One thing I wanted to mention is that there are two challenges when running DNNs on embedded platforms (1) limited compute power (CPU) (2) limited memory (RAM). RPi zero is definitely bound by (1) but not (2) as you get 100 MBs of RAM on it.
Sed 's/docker/containers/g'
> 3. Consequently, most of the processing units now deployed in 4-core-and-up machines are doing nothing most of the time but generating waste heat.

The cores are not being wasted because we don't know how to parallelize computations - as evident by the scientific software run for high performance computing applications, which scales upto million cores.

Business decisions are responsible for these wastages. For example, many engineering software are licensed per core - so if you are using it on 16 cores, it costs A LOT more than using it on 4 cores. In some cases the licensing costs of the engineering software are higher than the cost of the hardware. So no one cares if few cores are wasted.
The web and its technologies are far from stable, cheap and simple to learn. And browser-based UIs are pretty much where native UIs were 30 years ago, just a bit slower.

Cross-platform: yes, if you ignore the fact that there are only 2 browsers left, both being buggy and incomplete (as they've been for many years) and with no other implementation in sight, or even remotely feasibly for small to medium-sized companies or teams. Also they're so bloated and isolated from the native environment that you might just as well install a Linux virtual machine and call it a cross-platform UI.

No, thanks. I'll wait for a better cross-plattform UI solution.
Developers target a runtime with very specific APIs. If the runtime changes developers wouldn't even bother to write the apps.

If Electron apps would specify requirements instead of bundling the whole runtime, you will have to wait for the runtime to be downloaded the first time the app runs. You will still end up with multiple versions of the same runtime running on your system.
I recommend looking into Kitty. It is also GPU accelerated, and comes with its own programmable windowing + tiling system. With some configuring I was able to ditch tmux.

https://sw.kovidgoyal.net/kitty/
Your site took almost a minute to load. I'm from the UK if that helps.
CustServ Holiday Edition – Handling customer support with no support agents?
Show HN: Python PyQT course
The data probably isn't fake but its interpretation could be biased by statistical incompetence. I say this as somebody who (originally) graduated in a field where the majority of studies most likely is not worth the storage used to save the pdf. Let's just say I'm skeptical when strong beliefs and world views are involved in the interpretation of data.
I can't edit my comment but I misread. Death penalty is in other Asian countries, not Thailand.
For me it was board sports in general, including snowboarding and surfing. Both are unique and amazing in their own right.

For surfing, I had always assumed it was a hippie thing bored Californians did. It wasn't until I tried it one summer in Hawaii that I realized the level of physical and mental resilience you need to surf, or the meditative aspects of it. The bulk of my time surfing is not spent standing on a surfboard but rather paddling out or staring at the ocean, waiting for the right wave.

Similarly, after snowboarding in the mountains of Vermont a couple of winters ago, my whole perception of mountain sports changed. While it's physically demanding, there is a zen-like calmness to it as well. That paired with the gorgeous mountain scenery is quite special.
Let's move away from hiding browsers in windows and pretending they're not browsers hiding in a window.

FPC + Lazarus, native executables, cross platform.
Same. There is a tight correlation between my sleep habits and happiness for me. When I’m being a night owl I am typically staying up late videogaming, but I’m rarely happy. Early rising me is both productive & happy.
That is not the case being talked about, and even in your case, this is still not how I would teach my kid to be grateful. I never said I would let them go hungry, I am really not sure from where you got that.

I assume you are only responding to "the kid would not need any reasons to be told if s/he is hungry.". It is true in most cases, I was not accounting for depression and so on, but that in itself might dissipate hunger.

Most toddlers will eat when they are hungry, they will not just go hungry. Power play or power struggles complicates things, I deliberately did not bring it into this. Regardless, I still do not see that it is necessary to come up with reasons that are completely wrong or silly. :)
One day, we're going to have google hangouts or phone calls with "people" that look, act, talk like they're real, but are actually AI. I dread when scammers will get their hands on this tech. I'm already have enough trouble getting 5 calls a day about automated voice scams, imagine getting a call from an AI that acts and talks like a real person.
Google cache version:

https://webcache.googleusercontent.com/search?q=cache:3CnkxG...
Timelapse part 2
For a good experience may I suggest one of these adapters [1], a genuine NES controller [2], a good NES emulator for your platform, the original Tetris NES ROM, a PC that plugs into a TV, and a TV that has "game mode" to minimise latency (critical for any serious Tetrissing).

[1] http://ebay.co.uk/itm/202526513876

[2] https://www.ebay.co.uk/sch/i.html?_from=R40&_nkw=nes+control...
Java versus C# .NET Core fastest programs
News is interesting but site is awful. It's slow and I got an ad with an obvious malware popup. Blech.
Is it possible to stabilize the runtime or is it moving too quickly?
It's funny to hear you say you've completed your family I have an 18 year old, and I feel like I'm just getting into the real parenting.
https://outline.com/xSadBb

TLDR: ww-e-YYYY gives you week number, day in week, and the ISO year in which to count weeks. yyyy-MM-dd gives you the calendar year, month, and day. Using YYYY when you mean yyyy give you unexpected results.

YYYY-MM-dd unexpectedly - or expectedly, depending on what you expect from a programming language and ISO spec combo - gives week zero (you didn't specify ww), day zero (again you didn't specify e), which means it gives you the first day of the last full week of the preceding year. 2019-1-1 parsed with YYYY-MM-dd will return a Date of December 23rd, 2018.
10 Questions to Test Your Aptitude as an Entrepreneur
That's when we'll switch to whitelisting.
There were several stories a few months ago about how China’s Silk Road projects were being given to countries they couldn’t pay them back. I guess it’s true. Look for more of this.
So this is Economic Hitmen 2.0. China watched and learned from what the US did in South America.
When designing a new API, it makes sense to consider this kind of thing: How are people going to use it, and how are people going to screw it up? Kids these days copy and paste everything so bugs tend to multiply if you (god forbid) make a popular API. Date formatter APIs are opaque and anyone trying to use one in the morning or before the 12th day of a month has to check the documentation, so what do we actually gain with this abstraction?

There's a small number of formats you might need that it makes sense to try to enumerate them:

* ISO8601 (and get it right, it's a comma not a dot)

* that weird ISO8601 variant that uses a dot

* kdb's .z.p

* DJB's TAI

* ISO/IEC 9899 asctime/ctime

* IEEE 1003.1 "ls" format

* Yankee-doodle format/other localised formats

* RFC1123/RFC7231

* RFC2109

* RFC822/RFC2822

* Fancy "X units since/until" relative time

Do you really need so many others that you should have "yyyy-MM-dd" anywhere in your code? Each of these are trivial to construct from a struct tm/Date object, that you'll end up with fewer bugs if you stop making up mini-languages for dates and just do it directly. Oh and your code will be faster.
This isn't an actual critique, it's just dismissal. "Buggy" is just an adjective. Don't do this.
The issue with EINTR is pretty standard between most syscall; if you get one you should retry (or, depending on what flags you have set, this can be done for you automatically in some cases). A return value of zero is an EOF, there is no such thing as an “empty read”. Why would you pass in an empty buffer?
I am normally a early to bed early to rise type, and I find myself crashing early and hard when camping the moment the sun goes down.
Thank you. The engine is definitely domain-specific. This would apply to vocabulary and also inference. For example, if you want to use the tech for smart lighting then you would need a different model/context.

The demo is done with some noise and there is some reverberation as well. The speakers are also somewhat accented. That being said we would like to open-source a benchmark for this (similar to other products we have). The comment on accuracy is a bit tricky as it would depend on parameters you mentioned and specific task. I will provide more information when we open source the benchmark in Q1 2019.
The archive.org project is just titled "SimCity NES Prototype Archive" and the archive itself makes no reference to "open source project" so I assume it's just another misguided journalistic edit as well.

The archive does include a directory with disassembled ASM of the original NES ROM (with some added comments) but disassembly falls into a different legal realm than GPL/actual source code/open source remakes. Between that and The Internet Archive being excepted from DCMA, being excepted from copyright protection removal law, and having a long legal history of preserving copyrighted works I'd wager there is nothing to be worried about for that archive.

Also cool work on the original port and particularly Micropolis. I remember having a lot of fun with the code when it first released.
It is a pity that so much effort has been put on writing/designing this booklet. Software Architecture is very hard to 'compress' into a booklet this size. And the concepts explained seem all mixed up. Also, I never understood the difference between Software Architect and Solution Architect, I think they are just marketing tags to specify a bit more what you can do as an architect (install/customize a turn-key solution, networking architecture, software development guidance from scratch, etc).

There is so much noise in the space of Software Architecture. And I think is something natural: building software is not architecture, nor engineering, nor mathematics... still it is all that at the same time. It also has strong social, linguistic and design components. Maybe it is just too new a discipline to define it clearly.

Personally I find these resources more convincing than the booklet or the references mentioned inside it:

For the technical/organizational (Dev teams) part

Architecture without Architects: https://www.youtube.com/watch?v=qVyt3qQ_7TA

Clean Architecture: https://www.youtube.com/watch?v=Nsjsiz2A9mg

https://www.amazon.com/Things-Architect-Knows-About-Transfor...

https://www.enterpriseintegrationpatterns.com

For the Enterprise Architect part:

https://www.amazon.com/Organizational-Culture-Leadership-Edg...

https://www.amazon.com/Chess-Enterprise-Architecture-Gerben-...

https://www.youtube.com/watch?v=ScHG63YmJ2k
> Transposing anything other than that seems silly to me.

You make it sound like it's done out of spite, or because musicians like unnecessarily complicated things.

Reasons for this are given both in the article and in this thread.

So having read those, why do you still think it's silly?
Could the USA or an european nation offer to pay the loan in exchange for taking over the port? Itd be cool to swoop in on this deal.
I guess public clouds are mostly useful when you have a sudden peak in visits, or if you need to scale up very quickly.
Yes, we will publish an article about our speech-to-intent engine and add a link to it on our website. This should happen before the new year.

You can find some information about the wake-word engine here
https://medium.com/@alirezakenarsarianhari/yet-another-wake-...
Or, as jacoblambda wrote several comments above, just use Qt.
> Personally, I'd rather have Vim, but with Emacs-Lisp as a scripting language. That would rock.:x

Spacemacs sounds like it’d fit your needs to a T. Or doom-emacs.
Behind the Market Swoon: The Herdlike Behavior of Computerized Trading
Repost of https://news.ycombinator.com/item?id=18732699 (though linking to the README.md directly)
Thai Cabinet endorses civil partnership bill
Emacs. Vi is awesome — it really is — and vim is neat too, but I prefer an entire operating environment. And Lisp. And man-centuries (man-millennia?) of usability improvements.
If I think "why would China go to Africa instead of poor areas of China?" my first thought is "what they're doing in Africa doesn't help Africa".
Am in the same boat but you put the matter much more succinctly than I could. Thanks.
How a Hungarian community center became an 'enemy of the state'
I love it. I listen to my dads stories and not that long ago you could up and moves states or country and leave your past behind. Then the Internet happened and there was no escaping your past. Speeding tickets could find you. Arrests records were kept online and your identity could catch up to you in an instance. I hope more of this AI stuff takes off and we get some of that deniability anonymity back. I truly do think the Internet was an awesome landscape when people could express themselves openly and feel they were truly anonymous. These fake images may give us back some of that sense anything could be real or fake around us.
Russia swooped in to help Venezuela it’s possible there’s an oligarch out there who might be interested. Suppose it depends on the leverage they could get from their state.
Globalism is not very popular in the West right now.
> But still, "you can’t doctor any image in any way you like with the same fidelity. There are also serious constraints when it comes to expertise and time. It took Nvidia’s researchers a week training their model on eight Tesla GPUs to create these faces."

That doesn't sound like a high hurdle at all. As soon as the algorithm is known, anyone with money to burn will be able to fire up a bunch of AWS GPU instances and create authentic-looking photos of people doing something they actually didn't.

If you have some relevant knowledge and want a job that lets you travel all over the place at no cost to yourself, now is the time to become a forensic expert with a specialty in detecting AI-doctored evidence. Yes, there are already people who make a living testifying in court that a document is typeset in a font that didn't exist when it was purportedly printed, etc.
Glad you liked it! :)

You may well be right about the interplay of what society 'wants' vs technology choices. After all, git and GitHub competed in a market against totally centralised and proprietary version control systems, and won. The decentralised nature of git, making forking easy and so on, was surely a part of that, and is certainly the hard part relative to fairly trivial features like an issue or PR tracker.

I'll copy and paste the comment into Quillette. One might say, I'll fork the conversation. Perhaps we need a git-like mechanism for discussing essays on the internet :)
Ha! If you commute to the city by Caltrain and look out the window it looks like a screne from Children of Men.