jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> More pollution == “better”. Something is clearly unsustainable with that formula.

Except nobody actually thinks that.

This is only about finding a way to measure if life in China is returning to normal, without having to trust the Chinese authorities.
> Template instantiations are duplicated even for types where the instantiations could have identical code.

compilers and linkers had identical code folding optimizations for a looooong time (20+ years for msvc, a decade or so for GNU gold (--icf option) and GCC (-fipa-icf))
Because I want to be able to install shelves in the garage or put a new oven in the kitchen without having to negotiate with a landlord.
> Hacking a computer could be both fun and useful for a great variety of smart people.

I don't understand. Could you give concrete examples of "hacking a computer" that could be fun and useful for a great variety of smart people?
I tried OnLive in beta phase. For most 3D games, it works just fine, I can jump, turn my head around and everything. But for racing game, the lagging is killing me, I cannot finish one round because the dismatch between my perception and the actually driving. Not a FPS person, have no opinion on that.

Overall, I still think that OnLive is a product born too ahead of time; we just simply don't have that hight quality Internet to support it.
I assume they'll just let it go viral. The communities that grow out of the existing user base will have some overlap with slightly less technical people. This, in turn leads to slightly less technical people being exposed to the platform as users and eventually starting communities that feature people slightly less technical than them.

Repeat until cat pictures show up.
Technically that's the AFTAC.
He did mention there's a certain mouse-lag on cursor based games and Photoshop with mouse-lag would be kinda bad. I don't see how you could solve the problem either. His 14 ms ping is probably as good as it gets and even the smartest software can't circumvent physical limitations.
This actually adds little value to the very good standard jQuery docs. All this information's there, and it's just as easy to follow w/ the benefit of more example code.

By the way, I've found the .chm format docs much, much easier to browse. There isn't an official .chm release but you can find a current version here: http://charupload.wordpress.com/2007/12/07/jquery-documentat...
>When that happens, Facebook changes the key, problem solved.

Only after FB hears that their key is compromised. And that maybe well too late.
I think you meant this link: http://hunternuttall.com/blog/2009/01/lightworkers-darkworke...
haha!

We still hope that creating little app stores with your friends helps to solve the fundamental issue that the App Store is simply becoming too big to find useful apps fast
You watched them appear to accidentally break both side windows then do the rest of the event with shattered windows.
Yeah I was thinking about this. Would such a flub to forget only the windscreen was the new glass though.
Cringe moment of the year when the glass broke
Elon walked off stage to kill the guy who designed the glass.
Hmm... video was just made private while I was scrubbing through it. Strange.
I’m unsure what to think. Kudos for breaking the mold, I guess.
I think it is clear that their target market is mining operations, rail roads, army, etc.
Google seems to be making a habit of that... Closure and Noop are two other examples that come to mind.
neither. I have realized that caffeine dulls my senses (and it makes me care less about things in general). I drink tea once-in-awhile, but generally try to avoid anything with caffeine. I also sleep much better at night.
https://developer.mozilla.org/en/chrome

^ I think Mozilla called their thing Chrome for a long while.
Looks like the Grooveshark UI.
This is very helpful. I would suggest two improvments:

1) If you move a slider bar, it resets the lower-valued slider bars. I don't know if this is intended behavior, but to get to the 8100's, I moved the hundred's bar, then the thousands. But this sequence reset the hundreds to 0, which required me to re-move the hundreds slider bar.

2) Is there a way to have the symbols in each cell as images? Because if I don't have a font install with a particular symbol, those cells display the dreaded empty rectangle.
can we expand this to do drug delivery too?
I keep it simple; Apple contributes to open source projects that could be (and have been) used as direct competitors to their own, while MS sues companies who implement open source software.
Perhaps this is another way out of our problem? We could encourage police to "solve" property crimes rather than drug crimes? In analogy to their awful drug-war asset seizures, perhaps they could get a cut of items recovered/reimbursed? I'm sure they would eventually twist such an incentive structure into something else that's awful and unconscionable, but at least in the meantime they might stop with the SWAT raids?
That does not seem plausible. That would break a million different things. Are you sure you're interpreting your results correctly? Do you have a test case you can share?
Yes I tend to do this as well.

One thing I don't do however, is add commentary without reading TFA first!
Yup, if the "Mother of all Demos" moniker wasn't already (rightfully) taken, 2nd reality would be it.
Unless it links to a big named company / things that I follow, I usually read the comments first. Maybe I'm paranoid to click links or need others opinion first.
You could possibly simplify this into two tips:

- Be concise

- Don't bury the lede
A similar point is made in Gene Weingarten's "Fatal Distraction" (http://www.pulitzer.org/works/2010-Feature-Writing), which was about parents who forget a child in the car. Excerpt: "[British psychologist James Reason] likens the layers to slices of Swiss cheese, piled upon each other, five or six deep. The holes represent small, potentially insignificant weaknesses. Things will totally collapse only rarely, he says, but when they do, it is by coincidence -- when all the holes happen to align so that there is a breach through the entire system."
It is entirely based on their non-compete clauses in their employment contracts. If they are unsure if they are able to help on your project, have them ask HR to clarify it for them.

I know some employers pay for _all_ of their employees time.. Others are a bit more reasonable, and only prevent working on competing products.
Its first editions were in paper format:

http://www.amazon.com/Encyclopedia-Integer-Sequences-N-Sloan...

and the original, from 1973,

http://www.amazon.com/Handbook-Integer-Sequences-N-Sloane/dp...
Javascript is incredibly easy to develop in. Most folks who say that its hard or messy don't understand it and are approaching it the wrong way.

I'm learning Objective-C right now, and it seems to be hard to develop in, at first. Why do I have to put @ in front of strings, or NSLog(@"%@", myVar); to log a string? Why are there so many data types? Wtf is up with all the brackets?

As soon as I actually started at the very basics, this stuff started to make sense. Its a different language with its own ways of solving problems. Its me as the new guy on the team that has to learn the rules before I can start complaining that things don't make sense.
It's by far the most appealing laptop on the market I think. One question I have though is can you get an anti-glare screen on it?
maybe "deauthorize all" and re-auth the computers you still use
We just rolled out our new app - theaterex for searching movie information on Web. It's hosted on Amazon free tier instance and we hope that the instance burns out soon due to high traffic :).

Seeking HN feedback
Not every problem can be solved with the standard library. At some point you need a 3rd party library, which may require your modification to work with your data types.
> The state of WMs on Linux is really, really more complicated than it needs to be.

Choice is always going to be a prominent force in Linux. There will always be folks who are going to write new toolkits and apps and there they will find users who would want to promote it. That is just the nature of Open source.

That being said I think no one really likes to use GTK+ app if they are targeting multiple desktop environment and operating system. Ubuntu's Unity 8 and KDE both are using Qt and Qt is already available on all possible platforms including Android.
I'd love to see a citation for that level of accuracy, I can't believe it's that good, maybe to within +/- 4 cycles? If you watch this:

https://www.youtube.com/watch?v=slDAvewWfrA

This is about how the UK National Grid manage power availability at peak times. Over here we're running 50Hz rather than 60, but one of the key goals is to keep the grid frequency as close to 50Hz as possible.

At around 2m15s into the clip they lose power from a French on-demand provider and the frequency takes a "nose-dive" to 49.6Hz causing the operator to call on backup from a Welsh hydro-station to keep up with demand.

Theoretically in the UK we should get 4,320,000 cycles per day, but I suspect it's probably + or - 3 cycles. Unless of course it eventually balances out over the course of several days.

Happy to be corrected though.
How is this different to corporations?

What would an organisation that serves your interests look like?

Why don't you try to start one - and see how corporate management responds?
That's sort of fascinating- it reminds me of how the ancient romans used to memorize long epic poems etc (walking around and making visual/spatial associations, then recalling their travel to recite it later. I might be butchering that a bit but that's how I understood the method)
You can still get the disease, but not badly enough that you need to be hospitalized, especially if you are younger (old people got the vaccine first). But I think it's probably still an OK indicator of herd immunity.
You're reading more than I intended into what I wrote. When I first read Dune I was too young to know anything about politics besides the simple facts of interactions between nations. Dune helped me understand why a nation might react to a particular situation a particular way; the motivations behind the actions. So when I learned about real international politics later, I was better equipped to understand what was going on.

Obviously I know that Dune politics are not real-life politics.
In marcel this is a command:

ls -l

And this is arithmetic:

(ls -l)

In general, parens delimit arbitrary Python expressions.

https://marceltheshell.org
Looking forward to the day mobile game developers stop their whale-harpooning degeneracy. It's extremely difficult to do discovery of good games on the play store when the top lists are full of games with lootboxes. It is almost always a signal of in-game incentives to push you to pay to advance.
Looks like it's www.faceyourmanga.com.
Movie soundtracks and concerts are quite different than ceremonial songs in intent, obviously. I wonder what their reaction would be to pop song.
Well, if you're worried about transmitting lossless high quality audio, then that TV DAC is probably not the best. Yet it's probably just fine, where you won't notice any difference with those speakers, so you could achieve the same thing with a cheap FM transmitter and a cheap, used stereo.
But by stockpiling vulnerabilities they are making civilians less safe. Offensive digital capabilities should never come at the expense of fixing software.
Hi HN,

r2t2 is a command-line tool for transmitting data through sound using the PC speaker on the motherboard. The name of the tool is a reference to the R2-D2 robot from Star Wars :)

In short, you type some message and it gets FSK modulated and transmitted via sound through the PC speaker. Note that this is the speaker/buzzer that you connect to the motherboard and not the regular speakers that you connect to the sound card.

I also made a simple web page that listens to the sound emitted by r2t2 and decodes the received messages. The page can be used by simply opening it on your phone and placing the phone near a computer/device that emits data with r2t2.

I made this tool mostly for fun, but I think it might have some useful applications too. The advantage of this type of communication is that the hardware is very cheap (~$1/speaker), does not require a sound card and the software is very simple and does not use any 3rd-party audio libraries.
I am excited about Nim because it compiles to C that can run on an ARM microcontroller. I believe this was a possibility at some point, but I don't know if this is a priority for Araq. So (personally) I see it as a (potential) "C replacement for embedded systems".
You can really easily setup alarms on cost, start with a $50 alarm, $100, $200, etc and you'll get notified by email when you've spent that much.
https://github.com/fsharp/fsharp/issues/162#issuecomment-280...

I did a few benchmarks here.

In recent experiences, .NET runtime is faster in most situations, but sometimes Mono can be faster than .NET. It all depends on what you are doing. In extreme cases, .NET is usually ahead. You also have to account for the JIT time. It's after the JIT that should matter.
It depends. I worked on a trading platform that >1M LOC. The overall complexity was lower than another quantitative modelling engine that only had couple of tens of thousands LOC. Complexity, work and LOC are correlated, but the correlation is not 1.

In the case of the former system, 95% of the code was connectivity, GUI, persistence, etc., the actual business logic was maybe 5%. And I'm not even talking about stuff written in kdb/q, where I produced maybe 500 LOC in a month. :)
My thought exactly. And now Go even has a code generator tool bundled with it ... I don't understand Go designers. This goes against everything they said Go was. But 2 problems illustrate in my opinion the Go team mindset.

People want a package manager, the Go team says vendor deps.Well except vendoring has nothing to do with managing lib dependencies.So there will be multiple incompatible package managers.

People want generics(Go has generics,you just can't define your own generics) , the Go team answers use "go generate", so people come up with their own "generate generics from Go source files" tools which of course use incompatible systems.

People want a spec for struct tags, the Go team says no.Why the hell would you want to use struct tags if different libraries parse them different ways ? What if a user wants to use 2 libs that use struct tags in an incompatible way?

So basically the Go team isn't interested in 3rd party input,which is a choice I respect,even if I don't agree.

the reason of all this is that the Go team isn't interested in adding new features to the language, period, so they could care less about user input,which IMHO will lead to language FRAGMENTATION eventually. (source : changelog podcast : https://thechangelog.com/148/ )

It's terrible because Go is this close to be the language most developers would need and has great concurrency primitives unlike D or others.
This crosses into personal attack, which is not acceptable on HN, and particularly breaks the Show HN guidelines. We want people to be able to share their work here without being harangued and disincentivized.

I'm sure you can express your substantive points thoughtfully, so please do that in the future. And if you wouldn't mind reviewing the Show HN rules and the site rules, we'd be grateful:

https://news.ycombinator.com/showhn.html

https://news.ycombinator.com/newsguidelines.html
#2 (and #1) is really important, even if it shouldn't be. When you buy a car, you're plunking down $40,000 (apparently[0]!) and trying to cover every use case you're going to have over the next 5 years. So that trip you make to the beach once each summer, or visiting grandma on her half-mile dirt lane, or the one time you get caught at work when it's snowing too heavily for the plows to keep up... you need 350 mile range, AWD, all-season tires, 6 seats, massive luggage space, perfect map/navigation integration with your phone...

Given my other comment about the massive variety of cars (not just EVs) that people want to buy, people want choice, and right now you do not get great choices when it comes to charging station networks. I believe that mass adoption will not happen until interchangeable charging stations are ubiquitous, even if more than half of car owners could get by on charging overnight at home 363 days a year.

[0] https://www.cnet.com/roadshow/news/average-new-car-price-202...
I think it's more that the tooling has been commoditised. Historically, professional GIS was very much about Esri's tools (and, to a lesser extent, MapInfo). Your employability was directly linked to your ArcGIS proficiency.

Now, there's a massive ecosystem of open-source GIS: PostGIS is probably the standout, but also QGIS, everything around OSM, GDAL/OGR, and a hundred others. For government work and some parts of academia then Esri still dominates, but there's now much more to "geo".
All thanks be to God
I don't doubt that it's genuine. But a deliberately selected subset of true information can still be misleading.
Wow that's ugly, all the bad memories of the netbook era just came flooding back....
That's $99 for the two-year-old first version of the watch. The Pebble Time will likely cost much more at retail.
Previous discussion from 7 hours ago:

https://news.ycombinator.com/item?id=9295487
Non-sense.. A lot of these "smart pills" are more than likely placebos that are not well studied. I take a prescription amphetamine and even that has it limits, and begins to stop working in time. A lot of people notice this, and they up their dosage and become dependent on these kind of pills to do any kind of work at all. Not a bus I would hop on without doing some research first.
> - Anybody know why I heard 50 sirens at 2am last night?

This doesn't seem like the sort of thing that belongs on a wiki, being incredibly transient by nature.

Another user mentioned subreddits - that is a good place to search.
> The problem here is that marketplace momentum is going the other way.

Maybe that momentum is an optical illusion, http://www.theguardian.com/technology/2014/dec/06/ipod-class...

"One of this year’s hottest Christmas presents is no longer available in the shops. Two months after Apple announced the demise of its iPod Classic MP3 player, the model is selling secondhand for up to four times its original price as aficionados clamour to get their hands on one."

The super-expensive Sony single-purpose eink PDF reader/annotator is selling to many outside the original target market of legal professionals, much to Sony's surprise. For a while, there was a 50% markup on the device by reimporters.

Hopefully Project Ara succeeds, allowing users to choose different points on the spectrum between single and multi purpose hardware.
If you're willing to use a lot of bandwidth for something like this, just set up a Tor exit node. Somebody else's actual traffic is going to be a lot more convincing than whatever some algorithm can come up with to fake it.
Melting a candy bar in your pocket is a normal occurrence, "unboiling" an egg was previously impossible. We used to refer to the example of "un-baking" a chicken as an example of a process that was irreversible. I'd think unboiling an egg is of similar ilk.
I agree with the parent when it comes to things like the cold. I seriously don't understand people who take paracetamol and tons of other over the counter stuff for that. When it comes to allergies though (hay fever in my case) I can barely function without antihistamines (and with them I'm still a wreck). I haven't found any of the home remedies to be effective for it whereas in the case of the cold plenty of water and some lemon and ginger tea seems to improve things a bit. In fact I've noticed I feel better with that than over the counter stuff for the cold.
The analog today would be Jeffrey Epstein judging a beauty pageant.
Norvig's code is gold, even back from the times of PAIP (which is still definitely a must read).

His "poker" course (on YouTube) is also golden standard.

Why? The background in math, basic data structures and logic, so one know the range and boundaries of what is possible. Plus careful attention to details, like it is in any art.
You must've confused the sub. Wallstreetbets utilizes automod which will delete any mention of these tickers.
File systems don't come in power of 2 sizes. They come in arbitrary numbers of blocks. Most storage devices have a power of 2 block size. But not all.[1]

[1] https://en.wikipedia.org/wiki/Data_Integrity_Field
I hate light themes so I made one that is actually nice. Opinions?
The $2->$20 bump was entirely the result of WallStreetBets pumping and others bandwagoning, but it's not an unrealistic valuation. It wasn't completely insane like GME. AMC only went up to $20 for one day (near its Oct 2018 price) and is now at $8.28 (roughly where it was at pre-pandemic).

Sadly for me I had it on deck as my next pandemic-recovery bet in January, waffled for a few days, and then those nutjobs at WSB ruined my plans.
What's difficult about this? The law prevents people from doing the wrong thing every day using the threat of jail time or worse.

Claiming laws only punish actions taken so they can't be "preventitive" by preventing others from taking those actions is either naive or just plain intellectually dishonest.
There are a lot of overlapping areas of concern between things like linear/control systems, digital signal processing and information theory.
"Please disable your analytics blocker to view the content on this page"
> Do "successful" people in fact read more? It might be true, it certainly sounds good.

There are also people like myself for whom "success" means getting to read everything that we want. Well, not everything, because at some point in life one gets to acknowledge that death is a thing that actually happens and that will interrupt said reading, but other than that reading and the thought that there will always be interesting books for us to read is one of the main thing that keeps us (as I think I'm not the only one thinking like that) feeling alive.
That works, but it's clunky enough that it defeats the purpose of writing guard statements IMO. It's not hard to understand, but it's also not possible to figure out what it means at-a-glance. I have to stare at it for a few seconds to try to figure out where all control flow is going to go -- it has two levels of nested subexpressions, along with branches that appear similar but do very different things (returning a value from the expression vs. from the function).

The point of a 'guard' clause is to visually distinguish between the "expected" and "unexpected" case. When I see a guard statement:

let input: Option<usize> = Some(1);
guard let Some(value) = input else {
return 0;
}
// use value; such that value: usize = 1

I immediately know that the rest of the function expects input to contain a value, and that whatever is after the 'else' is some kind of error handler. Your match statement might have the same effect functionally, but visually it's confusing because it's not immediately obvious which branch is the happy-path. I'd rather read a function containing ten guard clauses than a function containing ten of those matches.
"If your company provides you with VPN access on your laptop, use it. That's a sure fire way to ensure that everything you send and receive is encrypted, and it makes your surfing much safer."

This should have been the first, and most important line of the entire article. Wireless encryption, IM client, and internet browser simply don't matter as someone who is out to grab your information is going to be doing so by viewing the packets sent between your computer and router.