skysight-inc/HackerNews huggingface dataset:
Shameless promotion: MyHDL(Python library for hardware description) is well designed and feature rich. I recently pushed support for using class instances to group together signals/ports. So, class instances can be used as Interfaces. This is really cool since Verilog/VHDL don't support this feature natively but MyHDLs conversion creates synthesizable Verilog/VHDL. Although system verilog has Interfaces, I'm not sure if synthesis tools support it(Quartus doesn't)

Also, I'm currently working on uhdl, which simplifies a lot of things about using MyHDL such as CoSimulating with icarus/modelsim.

links:

http://myhdl.org

https://github.com/jck/uhdl
In Scotland and some of Ireland, not really in England though...
Even if those two devices have radically different architectures?
I'm far too insecure to force my taste in code on others like that. Though I find the Ascetics code utterly unreadable (is that why I still don't grasp Lisp?), and the Purist's code ridiculously over-designed.

But still, if someone writes code like that and I'm not the one reviewing it, my instinct is to assume there's a good reason for it to look like that. If I'm reviewing it, you can bet I'll want them to explain why they do it like that, and more importantly: explain what's so wrong about the original code that it needed to be changed.
right. so there is a bug in linux. gotcha.
Download free stock footage and video backgrounds
ok, got it ;) so, let's hope people like the idea - even if they don't like the name..
Why? All it does is make it go faster.
I'm always annoyed by forms that make "state" a required field. Yes, my country does have provinces, but they're utterly irrelevant to any kind of address or other info.
Without commenting on the Toyota situation, yes, it is common to find embedded code written by an electrical engineer who does not seem to have the necessary skills.

However, the key word there is "seem."

My anecdotal experiences with electrical engineers makes me think otherwise. One engineer I worked closely with was given the assignment to produce the embedded code in a single day. She completed the task including learning the platform and the buggy vendor compiler.

Another engineer didn't care and couldn't be bothered to learn it. When he did code, he hammered it out only until it appeared to work and then signed off on it. Most engineers (any type) would never sign their name to a project finished like that.

The same thing happens all the time with software, but software or hardware, the people I've worked with definitely have the ability and can easily produce great work as long as management is doing their job.

I think firmware (like Toyota's) gets neglected precisely because nobody can see it or improve on it later. I am hopeful that more open hardware initiatives will indirectly result in open-sourced firmware becoming more common, resulting in better code quality.

I realize I'm blaming management here. Effectively managing engineers is hard, and it's a topic I enjoy when it comes up on HN.
The Unfortunate State of App Store Reviews
Instructions for Win7. http://www.tomshardware.com/reviews/ssd-performance-tweak,29... Why not leave it on, though? RAM is still faster than SSD.
Awesome! Made me laugh just looking at the characters.
Good work!
Routers operate on the Internet Protocol layer (level 3), which have no state (or anything considered a duplicate). TCP is a layer above (level 4) and that has sequence ids.
The title of the section is using Java 7 source compatibility, so I don't think it is about compiling to be compatible with 1.6, it's compiling to be compatible with 7. Realistically, Android code doesn't get run on a JVM anyway, so the whole thing is kind of silly. If their translation to DEX byte code supports only 1.6 class files, then it supports only 1.6, but clearly it supports 7 now.
Where do drones fit into this theory? Using the crudest possible measure - deaths - it's hard not to see the US as the "violent people" you describe. It has become a cycle, how do you suggest breaking it?
I like the idea, but you can't deduce name from email address, or at least not often enough to use it even to prefill the field in the form.
What about DBPedia http://dbpedia.org/page/The_Shining_(film) ?

That's available as JSON, and much larger community/effort behind it.
Well, we call ourselves Americans too :) (here in South America), and we call people from the USA "Estadounidenses".

You might see on many left-wing president's speeches, they start with "Hermanos Americanos" ("American Brothers"), which definitely does NOT include the USA :P .
If you're unhappy with our documentation, please let us know what would be helpful -- we know it isn't perfect, but specific requests are always helpful.

As for whether other people in the racket community like typed racket, the answer is clearly yes. if you look at recent work on racket, much of it integrates with or its motivated by, typed racket.

And there are a number of us who work on it currently. Have a look at the list of authors in the documentation.

Sam, creator of Typed Racket
Alas, this is not something I actively research or claim to have expertise regarding.
If you plan to check, I won't bother (I had also planned to investigate later). You should also check on MethodHandles, since (as of the commit I linked) their parser also threw exceptions when it came across them.

If these things don't work, I'm very disappointed in the Android team, as this would be totally fake v51 classfile support.
Sorry to be negative, but ...

I clicked the about link at the bottom:

>"ProjectXpresso is not endorsed by any firms, but rather is a grassroots effort supported by caring professionals donating 15 minutes of their time and a career full of wisdom." //

Which is weird because on the front page you show a handful of "endorsements" as logos of companies who are "participants". If it's only staff from those companies that are involved then this may be a trademark infringement as you're certainly suggesting an endorsement by the companies in using their trademarks; you could use their names IMO [but it's jurisdictional and IANA(TM)L].

On more practical matters; from this page I couldn't return to the "homepage" without reloading, the back link was broken and there was no "home" link evident. Similarly when I looked at the "I'm a student" page I couldn't then return.

Espresso.
The Ruby way is:

1. common (not all) things are simple / elegant.
2. Advanced things are doable, usually require a slightly more complex syntax.

For example, Ruby allows one "block" (anonymous function) per method. Why not 2 or more blocks? Because Matz has studied common lisp (likely, maybe something else) standard library and noticed that in ~97% (maybe not exact number) cases, one anonymous function is enough. But you can use more anonymous functions using a different syntax.

And here is the same case. People call methods much more often than to get the method. Therefore Ruby makes it default to call the method, but not stop you from getting the method object. It's just unfair to say Ruby cannot do these things.
Completely off topic, but if you were going for the coffee vibe it really should be "ProjectEspresso". As a coffee fan, a small part of me dies every time I hear someone order an "expresso".
Wow, I can't believe how many times I've had to explain this to people as they log on to shared VNC servers. "I thought this had 16G of RAM free, I asked for a 16G machine!". "It does, stop trying to read top!"

Now I'll just point them to this website.
So why do they buy them?
Absolutely understandable by me, I am in the exact same situation.

Having kids alters your life dramatically.
Why is that retarded?
In my experience, Etsy has a tendency to do average through questionable work and then spend an above average effort glorifying themselves about it.
but then wouldn't document.getElementById() calls get confused, even though your IDs are nested?

Shouldn't it be the other way around?

#homer .left-eye { ... }
#bart .left-eye { ... }

makes more sense to me than

.homer #left-eye { ... }
.bart #left-eye { ... }
Don't forget the Dutch, it's used by pretty much every smartphone user over here.
OS X does not behave exactly in this manner, but is indeed confusing.

Linux never needs a 'purge' or equivalent. Doing a 'drop_cache' only slows the system slightly because nothing is cached. 'sudo purge' can prevent OS X from using swap – i.e. running out of RAM even though there is RAM it could reclaim. This behavior has been tweaked but not fixed in Mavericks.
I'm glad someone shares my opinion on this. Drawing with CSS is like moving to a new place using a cartwheel instead of a truck.
Ку!
I just disagree with this article in general. Other people have mentioned the same point. I've run online stores for a long time and written a few e commerce platforms. People type their email wrong a lot. They will call and complain if they don't get their confirmation emails and shipping notifications. One quick look at the order inevitably shows a typo in the email field. The confirmation box fixes this 99% of the time. So I will continue to use it.
Secrets of the Deep: The dispute over the biggest sunken treasure ever found.
It's not the best tool for the job, but it's still a hack. Lighten up. Should all CSS demos come with this disclaimer now?
LANs.py: capture and inject traffic on LAN
Cooperation may be hard, but it's also essential. When you see code that hurts your eyes, don't just fix it; discuss it. Set some standards together.

Understand why other people write code like that. If everybody is constantly "fixing" everybody else's code, you're never going to get anything done. Understand the differences and find some common ground. That's the only way to move forward.
> there will always be domains with MX records but without a mailserver.

Ouch, that sounds like a pain to deal with. But I will mention that MX records are not required, so don't forget about the opposite situation where they have a mailserver and no MX.
Towards a More Modular Future for JavaScript Libraries
If you want to treat a number like a string, why not just treat it like a string? When people enter zip codes online they enter 07045, so why not just store that? Even forget about other countries like Canada it seems like the best way...
Decreased download size compared to what?
Awesome, I'm really happy I moved to London recently.
... and Poe's law strikes again.
do you mean that its placement in the sentence is bizarre? or the fact that it's written "11/16"? the month/day format is very common in the US...i'd say it's the default for most people, actually
Then you should http://downloadmoreram.com
Alibaba Breaks Sales Record on China Singles Day Amid Discounts
Collection of web-art by Rafaël Rozendaal
Thanks very much for sharing
This is nothing. In Indonesia nearly half of the population do not have a surname. In Algeria many people have "around 19xx" as their birthday, hand written on their passport. So much for mandatory form fields...
Yep, rather straight forward thought there.

If you are outside, it's late, you maybe had a drink and it's even raining this can happen. You can also accidentally cause a submit while entering your email address.

Of course when you autofill forms that's not a problem, but thinking that people don't mistype, which can be hard to see, depending on the mistake you made is kinda stupid and there is nothing more annoying then realizing your favorite login name is used in unaccessible just because the person programming the system thought it was impossible to ever enter your email address incorrectly.
11/16 is very clear to someone in the U.S., and very confusing to anyone else:

http://en.wikipedia.org/wiki/Date_format_by_country

relevant XKCD: http://xkcd.com/1179/

edit: actually, according to my first link, Belize, Canadian newspapers, the Federated States of Micronesia, the Philippines (when speaking English, although not Filipino), and Palau all also use the month- day- year date system. TIL!
1. install viber

2. check allow install apps from unknown sources

3. get spywares installed.
Yes that was it, thank you makomk!!
What's the balance between digital data and creativity?
When viewed in IE8 or lower, it looks like the animation from season 1!
I like hearing the opinions of guys and gals who have been writing code and supporting users for 10+ years. I want their criticisms. They have earned the right to talk crap about certain ideas.

I only get pissy when someone who does not have experience yet presumes that I need their advice or need them to enlighten me about the latest fad programming technique or language. OK, look... Go do it in the real world for 10 years then come back and give me your opinion, until then, shut the hell up.
No. Well, not technically... There is a UX bug in Linux. Not the only one at that, but they don't count much in Linux-land.
I searched on OPEC as the current or former employer. None of these, as far as I can tell, are actually employed by OPEC. One is a liason from the Iran national oil ministry with a private profile, so the name isn't revealed in the search.
That's just, like, your opinion, maaaaan.

Granted there's a pretty broad spectrum of kinds of projects and kinds of collaboration. But even in the broadest most open of collaborations, fundamentally there are aesthetic, stylistic and design decisions being made about API structure and the usability of a code base's constructs (which is what is so frustrating about watching new communities of new programmers coalesce w/o the benefit of hindsight from previous cultures/systems).

It's just a hop, skip and a jump from those higher level domain concerns down to actual coding style.

Also, buildings and bridges are creative and artistic endeavors.

Edit: To be a little less flippant about it, the broader point is that writing code is always a stylistic endeavor. You can agree with your colleagues or friends explicitly on style conventions, or you can roll with organically created conventions. But to say that you can write code devoid of design decisions and stylistic choices is foolish (again, all buildings and bridges are designed objects, and sure there are best practices for how concrete is poured, but to declare that construction has no craftsmanship is incorrect).

Beyond that, the utility of forcing others to adhere to your style is one that should be more rigorously considered. My vast preference is to ensure that large engineering structures are constructed of compact and well factored components with sane/intuitive APIs, regardless of what their internal stylistic choices are w/r/t formatting.

Having a global style guide across multiple projects might be nice, but it also might be stymieing in terms of iterating towards better practices.
I don't know. Greatly influential hackers such as Torvalds, van Rossum, pg, rms, etc. do not seem to illustrate agnosticism very accurately to me.
Well, there's a preliminary answer!

Though I'm not enamored of the Typed Racket style of wrapping everything at the boundary (even as I appreciate why it's there). Not even hypothetical: we actually began developing Pyret in TR but, with great sadness, ended up having to move it out because of the enormous performance hits.
that's funny, like avery complex or "smart" algorithm, if it works it's cool, but when something doesn't work, it makes it very hard to pinpoint a culprit.

I'm more and more inclined to either use stupider algorithm that at least I can explain to the user, incremental stuff where they can check intermediate results or taking into account the fact that this algorithm has to be conveyed to users in one way or another since inception.

I guess in this case a measure of the swap activity would be a good indicator that the current limiting factor is the RAM, but it also has to be credible. Somehow having 16G written on the box of the ram and 7G written in the "available ram" of a software makes everything more credible that saying "I have a pressure of 1.5madeupunit on the ram front". Human factors, again.
He's totally right that designing microprocessors is hard. However you can design a reasonably decent microprocessor in a modern ASIC. You're only using perhaps 4% of the true power of silicon, but it's great fun, iterative, and you can download working designs already.
At least in the US (which has the largest software industry of anywhere in the world), the title of engineer is not regulated. Only the title "Professional Engineer" is regulated. Accreditation for engineers only applies to areas that have an impact on public safety. This means that civil engineers usually are accredited, but mechanical and electrical engineers usually aren't. So for people located in the US, it is perfectly appropriate to refer to someone as a software engineer.
ODA — The Online Disassembler
There is one point that I completely agree:

"Practice #3: Hiring talent without concern for a college degree"

Getting to a good college should be done because you want a good education, not because you want it shining in your resume.
Hehe, it's not often that you see the comments to an article prove its point so strongly ;-)
Nope. This mostly becomes a problem if you like to be DRY and try to replace generics (type T) kind of functionality with interfaces. For e.g., I have a method, which does the classic, lookup from cache first before hitting the actual db. In C#, you can use

public T Get<T>(int id, string cacheKey) {

}

When I consume it and say Get for User object, I expect an User object as I already know it's type.

In Go, you have to return an interface (and ideally an error)

Here would be the equivalent,

v, err := s.Get(id int, cacheKey string)
if err != nil {
//Handle error here
}
if v == nil || v.(*models.User) == nil {
return nil, http.StatusNotFound
}

Its a bit more code, but on the flip side, it gets you thinking as a client of all the things that can go wrong with your code
Casts are fine as long as you are explicit about them - Scala is about giving the programmer control and visibility over what they're doing, not satisfying some academic notion of purity. My experience is that Scala makes exactly the right tradeoff - in practice, Scala code is substantially less buggy than most other languages (equivalent to Haskell, I'd say), while the complexity of map's implementation doesn't get in the way unless you need it (things that are easy with Haskell's map are still easy with Scala's map, things that are hard but possible with Haskell's map are still hard but possible with Scala's map, and some things that are impossible with Haskell's map are hard but possible with Scala's map).
PS: Fun exchange for me, too!
I recommend the explanations found here: http://pl.barzilay.org/lec10.txt
The calls to JavaScript functions that are ID-based would certainly not work. But there are many ways to access them that wouldn't.

In regard to the selector type, does Homer have more than one left eye? More than likely not, but that's why I suggested using all class selectors as an option. Using all class selectors would enable you to produce (a) as many Homers as you'd like and (b) as many left eyes, right eyes, mouths, etc as you'd like.
Last I checked, food was legal, and yet we have food inspectors (though hardly enough) to check for things like excess levels of e. coli and other charmers, horsemeat crossdressing as beef, melamine playing in dairy products, and the like.

Simply legalizing something doesn't end the need for inspections.

And there's still the matter of stuff you really don't want and cannot reasonably legalize (or expect legalization to magically make all problems go away) which will require inspection. You know, so that your now-legal melamine-tainted, e. coli infested, beef-that's-really-horsemeat isn't, say, someone's science-project hydrogen bomb or smallpox aerosol.
> The best efforts than can be made, unfortunately, are by swinging the terrorism hammer to get dollars.

You seem to be making a virtue of terrorism pimping. One of the biggest problems we have is the oversized security state. You are advocating for more, achieved by the same means that got us to where we are.
Oh Lucky Earth
> - but not paying isn't the same as stealing.

Yes, it is. If you do that with physical items, it's called "shoplifting" :-) You may now argue that taking, say, a loaf of bread deprives somebody of it. But consider that between 14 and 40 percent of perishable supermarket groceries are discarded as waste. Who's to then stop you from saying you took the loaf that was going to be discarded anyway and so you're not depriving anybody?

> I'm not saying that copyright infringement is legal, I'm saying it's not theft.

And I'm saying, colloquially, copyright infringement is equivalent to theft. This is why there are laws against it, it's just that the legal code is different for different crimes. Now, one may insist on using the proper legal terms, but note that this is not a legal forum or a legal debate, so colloquial usage is fine :-)

> And you can also call "a bargain" "a steal". That doesn't mean it's illegal to shop at a fire sale...

And you can say "she stole my heart". That does not mean it's illegal to be attractive either. Obviously the context of how the word "steal" is used matters. But note that it typically has negative connotations, implying that the act is somehow unfair. And when talking about taking without permission, stealing describes the act pretty well.
I might be drinking crazy juice, but I see everything EXCEPT a business model. How does this company make money? How do you attract customers? How do you reach scale? What you've written down is a bunch of ways to spend money - not a business. Most businesses do spend money, and some may even benefit from some of the ideas presented, but please don't call it a business model.
In a similar fashion, "The Evolution of a Haskell Programmer" (I'm sure there are for other langs also)
http://www.willamette.edu/~fruehr/haskell/evolution.html :)
Thank you alexandros for the prompt reply. I will read the blog post tonight at home.

ps. You're Greek?
If there are no MX records for a domain the mail should be delivered to the A-record.

If there are MX records for the domain, but mail delivery to it fails, it should not try to deliver to the A-record.

http://tools.ietf.org/html/rfc2821#section-5
The virgin records story
YouTubeCenter - A cool extension for YouTube lovers
#Hack4Good Aids in Aftermath of Typhoon Haiyan With Disaster Relief Technology
Compared to the bitmap I referred to (i.e. an image file).
As hrjet points out above, using SVG for this would probably be a better choice.
Memory is still an order of magnitude faster than your “very fast SSD”.
It looks to me like they were going for the pun vibe instead.
Start coding from an iPad (using Vim)
Cant load page while.

But Linux RAM problems can be in desktop when something wrong with video systems (X, drivers, compositing, etc...)

Check first: xorg, video drivers, mesa. Sometime java apps makes big swaps. Check your linux distro also. Try learning Gentoo.
Oh I'm sure it is. I've heard it's popular in Southern America as well?

I'm just speaking from my experiance in Australia: WhatsApp is a Chinese thing.
How about instead of two email input fields you do this:

One email field, when it loses focus (or you submit the form) a pop-up displays the email you entered and asks you if this is correct (Y/N). If you hit no then it focuses onto the email field for the user to make changes, and repeat.

The second field is just about forcing a user to be careful so why not make it a bit easier with a simple 'Yes' click instead?